* Update to version 2.19.2
[alpine.git] / autom4te.cache / output.0
blobaee355b1d83217efe3bb265e6f404aa363e2c828
1 @%:@! /bin/sh
2 @%:@ From configure.ac Rev:6 by chappa@washington.edu.
3 @%:@ Guess values for system-dependent variables and create Makefiles.
4 @%:@ Generated by GNU Autoconf 2.69 for alpine 2.19.2.
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.19.2'
734 PACKAGE_STRING='alpine 2.19.2'
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
825 LIBTOOL_DEPS
827 OTOOL64
828 OTOOL
829 LIPO
830 NMEDIT
831 DSYMUTIL
832 lt_ECHO
834 OBJDUMP
836 ac_ct_DUMPBIN
837 DUMPBIN
839 FGREP
840 EGREP
841 GREP
843 LIBTOOL
844 RANLIB
845 LN_S
846 am__fastdepCC_FALSE
847 am__fastdepCC_TRUE
848 CCDEPMODE
849 AMDEPBACKSLASH
850 AMDEP_FALSE
851 AMDEP_TRUE
852 am__quote
853 am__include
854 DEPDIR
855 OBJEXT
856 EXEEXT
857 ac_ct_CC
858 CPPFLAGS
859 LDFLAGS
860 CFLAGS
862 host_os
863 host_vendor
864 host_cpu
865 host
866 build_os
867 build_vendor
868 build_cpu
869 build
870 MAINT
871 MAINTAINER_MODE_FALSE
872 MAINTAINER_MODE_TRUE
873 am__untar
874 am__tar
875 AMTAR
876 am__leading_dot
877 SET_MAKE
879 mkdir_p
880 MKDIR_P
881 INSTALL_STRIP_PROGRAM
882 STRIP
883 install_sh
884 MAKEINFO
885 AUTOHEADER
886 AUTOMAKE
887 AUTOCONF
888 ACLOCAL
889 VERSION
890 PACKAGE
891 CYGPATH_W
892 am__isrc
893 INSTALL_DATA
894 INSTALL_SCRIPT
895 INSTALL_PROGRAM
896 target_alias
897 host_alias
898 build_alias
899 LIBS
900 ECHO_T
901 ECHO_N
902 ECHO_C
903 DEFS
904 mandir
905 localedir
906 libdir
907 psdir
908 pdfdir
909 dvidir
910 htmldir
911 infodir
912 docdir
913 oldIncludedir
914 Includedir
915 localstatedir
916 sharedstatedir
917 sysconfdir
918 datadir
919 datarootdir
920 libexecdir
921 sbindir
922 bindir
923 program_transform_name
924 prefix
925 exec_prefix
926 PACKAGE_URL
927 PACKAGE_BUGREPORT
928 PACKAGE_STRING
929 PACKAGE_VERSION
930 PACKAGE_TARNAME
931 PACKAGE_NAME
932 PATH_SEPARATOR
933 SHELL'
934 ac_subst_files=''
935 ac_user_opts='
936 enable_option_checking
937 enable_maintainer_mode
938 enable_dependency_tracking
939 enable_shared
940 enable_static
941 with_pic
942 enable_fast_install
943 with_gnu_ld
944 enable_libtool_lock
945 enable_nls
946 enable_rpath
947 with_libiconv_prefix
948 with_libintl_prefix
949 enable_dmalloc
950 with_dmalloc_dir
951 with_localedir
952 enable_osx_universal_binaries
953 with_include_path
954 with_lib_path
955 with_pubcookie
956 with_web_bin
957 enable_debug
958 enable_optimization
959 enable_mouse
960 enable_quotas
961 enable_from_changing
962 enable_background_post
963 enable_keyboard_lock
964 enable_from_encoding
965 with_smtp_msa
966 with_smtp_msa_flags
967 with_npa
968 with_npa_flags
969 with_password_prog
970 with_simple_spellcheck
971 with_interactive_spellcheck
972 with_system_pinerc
973 with_system_fixed_pinerc
974 with_local_support_info
975 with_mailcheck_interval
976 with_checkpoint_interval
977 with_checkpoint_frequency
978 with_display_rows
979 with_display_columns
980 with_max_display_rows
981 with_max_display_columns
982 with_fill_column
983 with_max_fill_column
984 with_debug_level
985 with_debug_files
986 with_debug_file
987 with_forwarded_keyword
988 with_display_overlap
989 with_display_margin
990 with_default_fcc
991 with_default_save_folder
992 with_default_legacy_postponed_folder
993 with_default_postponed_folder
994 with_default_trash_folder
995 with_default_interrupted_mail
996 with_default_dead_letter_folder
997 with_default_mail_directory
998 with_default_inbox_name
999 with_default_signature_file
1000 with_default_elm_style_save
1001 with_default_header_in_reply
1002 with_default_old_style_reply
1003 with_default_use_only_domain_name
1004 with_default_save_by_sender
1005 with_default_sort_key
1006 with_default_addressbook_sort_rule
1007 with_default_folder_sort_rule
1008 with_default_saved_message_name_rule
1009 with_default_fcc_rule
1010 with_default_standard_printer
1011 with_default_ansi_printer
1012 with_default_addressbook
1013 with_default_local_fullname
1014 with_default_local_address
1015 with_default_keyboard_lock_count
1016 with_default_remote_addressbook_history
1017 with_smime_public_cert_directory
1018 with_smime_private_key_directory
1019 with_smime_cacert_directory
1020 with_default_printer
1021 with_passfile
1022 with_local_password_cache
1023 with_local_password_cache_method
1024 with_default_sshpath
1025 with_default_sshcmd
1026 with_ssl
1027 with_ssl_dir
1028 with_ssl_certs_dir
1029 with_ssl_include_dir
1030 with_ssl_lib_dir
1031 with_krb5
1032 with_krb5_dir
1033 with_krb5_include_dir
1034 with_krb5_lib_dir
1035 with_ldap
1036 with_ldap_dir
1037 with_ldap_include_dir
1038 with_ldap_lib_dir
1039 with_smime
1040 with_tcl
1041 with_tcl_lib
1042 with_tcl_include
1043 with_supplied_regex
1044 with_pthread
1045 with_system_mail_directory
1046 with_c_client_target
1047 with_ipv6
1049       ac_precious_vars='build_alias
1050 host_alias
1051 target_alias
1053 CFLAGS
1054 LDFLAGS
1055 LIBS
1056 CPPFLAGS
1057 CPP'
1060 # Initialize some variables set by options.
1061 ac_init_help=
1062 ac_init_version=false
1063 ac_unrecognized_opts=
1064 ac_unrecognized_sep=
1065 # The variables have the same names as the options, with
1066 # dashes changed to underlines.
1067 cache_file=/dev/null
1068 exec_prefix=NONE
1069 no_create=
1070 no_recursion=
1071 prefix=NONE
1072 program_prefix=NONE
1073 program_suffix=NONE
1074 program_transform_name=s,x,x,
1075 silent=
1076 site=
1077 srcdir=
1078 verbose=
1079 x_includes=NONE
1080 x_libraries=NONE
1082 # Installation directory options.
1083 # These are left unexpanded so users can "make install exec_prefix=/foo"
1084 # and all the variables that are supposed to be based on exec_prefix
1085 # by default will actually change.
1086 # Use braces instead of parens because sh, perl, etc. also accept them.
1087 # (The list follows the same order as the GNU Coding Standards.)
1088 bindir='${exec_prefix}/bin'
1089 sbindir='${exec_prefix}/sbin'
1090 libexecdir='${exec_prefix}/libexec'
1091 datarootdir='${prefix}/share'
1092 datadir='${datarootdir}'
1093 sysconfdir='${prefix}/etc'
1094 sharedstatedir='${prefix}/com'
1095 localstatedir='${prefix}/var'
1096 Includedir='${prefix}/include'
1097 oldIncludedir='/usr/include'
1098 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1099 infodir='${datarootdir}/info'
1100 htmldir='${docdir}'
1101 dvidir='${docdir}'
1102 pdfdir='${docdir}'
1103 psdir='${docdir}'
1104 libdir='${exec_prefix}/lib'
1105 localedir='${datarootdir}/locale'
1106 mandir='${datarootdir}/man'
1108 ac_prev=
1109 ac_dashdash=
1110 for ac_option
1112   # If the previous option needs an argument, assign it.
1113   if test -n "$ac_prev"; then
1114     eval $ac_prev=\$ac_option
1115     ac_prev=
1116     continue
1117   fi
1119   case $ac_option in
1120   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1121   *=)   ac_optarg= ;;
1122   *)    ac_optarg=yes ;;
1123   esac
1125   # Accept the important Cygnus configure options, so we can diagnose typos.
1127   case $ac_dashdash$ac_option in
1128   --)
1129     ac_dashdash=yes ;;
1131   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1132     ac_prev=bindir ;;
1133   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1134     bindir=$ac_optarg ;;
1136   -build | --build | --buil | --bui | --bu)
1137     ac_prev=build_alias ;;
1138   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1139     build_alias=$ac_optarg ;;
1141   -cache-file | --cache-file | --cache-fil | --cache-fi \
1142   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1143     ac_prev=cache_file ;;
1144   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1145   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1146     cache_file=$ac_optarg ;;
1148   --config-cache | -C)
1149     cache_file=config.cache ;;
1151   -datadir | --datadir | --datadi | --datad)
1152     ac_prev=datadir ;;
1153   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1154     datadir=$ac_optarg ;;
1156   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1157   | --dataroo | --dataro | --datar)
1158     ac_prev=datarootdir ;;
1159   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1160   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1161     datarootdir=$ac_optarg ;;
1163   -disable-* | --disable-*)
1164     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1165     # Reject names that are not valid shell variable names.
1166     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1167       as_fn_error $? "invalid feature name: $ac_useropt"
1168     ac_useropt_orig=$ac_useropt
1169     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1170     case $ac_user_opts in
1171       *"
1172 "enable_$ac_useropt"
1173 "*) ;;
1174       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1175          ac_unrecognized_sep=', ';;
1176     esac
1177     eval enable_$ac_useropt=no ;;
1179   -docdir | --docdir | --docdi | --doc | --do)
1180     ac_prev=docdir ;;
1181   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1182     docdir=$ac_optarg ;;
1184   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1185     ac_prev=dvidir ;;
1186   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1187     dvidir=$ac_optarg ;;
1189   -enable-* | --enable-*)
1190     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1191     # Reject names that are not valid shell variable names.
1192     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1193       as_fn_error $? "invalid feature name: $ac_useropt"
1194     ac_useropt_orig=$ac_useropt
1195     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1196     case $ac_user_opts in
1197       *"
1198 "enable_$ac_useropt"
1199 "*) ;;
1200       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1201          ac_unrecognized_sep=', ';;
1202     esac
1203     eval enable_$ac_useropt=\$ac_optarg ;;
1205   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1206   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1207   | --exec | --exe | --ex)
1208     ac_prev=exec_prefix ;;
1209   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1210   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1211   | --exec=* | --exe=* | --ex=*)
1212     exec_prefix=$ac_optarg ;;
1214   -gas | --gas | --ga | --g)
1215     # Obsolete; use --with-gas.
1216     with_gas=yes ;;
1218   -help | --help | --hel | --he | -h)
1219     ac_init_help=long ;;
1220   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1221     ac_init_help=recursive ;;
1222   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1223     ac_init_help=short ;;
1225   -host | --host | --hos | --ho)
1226     ac_prev=host_alias ;;
1227   -host=* | --host=* | --hos=* | --ho=*)
1228     host_alias=$ac_optarg ;;
1230   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1231     ac_prev=htmldir ;;
1232   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1233   | --ht=*)
1234     htmldir=$ac_optarg ;;
1236   -Includedir | --includedir | --includedi | --included | --include \
1237   | --includ | --inclu | --incl | --inc)
1238     ac_prev=Includedir ;;
1239   -Includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1240   | --includ=* | --inclu=* | --incl=* | --inc=*)
1241     Includedir=$ac_optarg ;;
1243   -infodir | --infodir | --infodi | --infod | --info | --inf)
1244     ac_prev=infodir ;;
1245   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1246     infodir=$ac_optarg ;;
1248   -libdir | --libdir | --libdi | --libd)
1249     ac_prev=libdir ;;
1250   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1251     libdir=$ac_optarg ;;
1253   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1254   | --libexe | --libex | --libe)
1255     ac_prev=libexecdir ;;
1256   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1257   | --libexe=* | --libex=* | --libe=*)
1258     libexecdir=$ac_optarg ;;
1260   -localedir | --localedir | --localedi | --localed | --locale)
1261     ac_prev=localedir ;;
1262   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1263     localedir=$ac_optarg ;;
1265   -localstatedir | --localstatedir | --localstatedi | --localstated \
1266   | --localstate | --localstat | --localsta | --localst | --locals)
1267     ac_prev=localstatedir ;;
1268   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1269   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1270     localstatedir=$ac_optarg ;;
1272   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1273     ac_prev=mandir ;;
1274   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1275     mandir=$ac_optarg ;;
1277   -nfp | --nfp | --nf)
1278     # Obsolete; use --without-fp.
1279     with_fp=no ;;
1281   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1282   | --no-cr | --no-c | -n)
1283     no_create=yes ;;
1285   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1286   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1287     no_recursion=yes ;;
1289   -oldIncludedir | --oldincludedir | --oldincludedi | --oldincluded \
1290   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1291   | --oldin | --oldi | --old | --ol | --o)
1292     ac_prev=oldIncludedir ;;
1293   -oldIncludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1294   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1295   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1296     oldIncludedir=$ac_optarg ;;
1298   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1299     ac_prev=prefix ;;
1300   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1301     prefix=$ac_optarg ;;
1303   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1304   | --program-pre | --program-pr | --program-p)
1305     ac_prev=program_prefix ;;
1306   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1307   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1308     program_prefix=$ac_optarg ;;
1310   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1311   | --program-suf | --program-su | --program-s)
1312     ac_prev=program_suffix ;;
1313   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1314   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1315     program_suffix=$ac_optarg ;;
1317   -program-transform-name | --program-transform-name \
1318   | --program-transform-nam | --program-transform-na \
1319   | --program-transform-n | --program-transform- \
1320   | --program-transform | --program-transfor \
1321   | --program-transfo | --program-transf \
1322   | --program-trans | --program-tran \
1323   | --progr-tra | --program-tr | --program-t)
1324     ac_prev=program_transform_name ;;
1325   -program-transform-name=* | --program-transform-name=* \
1326   | --program-transform-nam=* | --program-transform-na=* \
1327   | --program-transform-n=* | --program-transform-=* \
1328   | --program-transform=* | --program-transfor=* \
1329   | --program-transfo=* | --program-transf=* \
1330   | --program-trans=* | --program-tran=* \
1331   | --progr-tra=* | --program-tr=* | --program-t=*)
1332     program_transform_name=$ac_optarg ;;
1334   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1335     ac_prev=pdfdir ;;
1336   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1337     pdfdir=$ac_optarg ;;
1339   -psdir | --psdir | --psdi | --psd | --ps)
1340     ac_prev=psdir ;;
1341   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1342     psdir=$ac_optarg ;;
1344   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1345   | -silent | --silent | --silen | --sile | --sil)
1346     silent=yes ;;
1348   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1349     ac_prev=sbindir ;;
1350   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1351   | --sbi=* | --sb=*)
1352     sbindir=$ac_optarg ;;
1354   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1355   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1356   | --sharedst | --shareds | --shared | --share | --shar \
1357   | --sha | --sh)
1358     ac_prev=sharedstatedir ;;
1359   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1360   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1361   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1362   | --sha=* | --sh=*)
1363     sharedstatedir=$ac_optarg ;;
1365   -site | --site | --sit)
1366     ac_prev=site ;;
1367   -site=* | --site=* | --sit=*)
1368     site=$ac_optarg ;;
1370   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1371     ac_prev=srcdir ;;
1372   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1373     srcdir=$ac_optarg ;;
1375   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1376   | --syscon | --sysco | --sysc | --sys | --sy)
1377     ac_prev=sysconfdir ;;
1378   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1379   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1380     sysconfdir=$ac_optarg ;;
1382   -target | --target | --targe | --targ | --tar | --ta | --t)
1383     ac_prev=target_alias ;;
1384   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1385     target_alias=$ac_optarg ;;
1387   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1388     verbose=yes ;;
1390   -version | --version | --versio | --versi | --vers | -V)
1391     ac_init_version=: ;;
1393   -with-* | --with-*)
1394     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1395     # Reject names that are not valid shell variable names.
1396     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1397       as_fn_error $? "invalid package name: $ac_useropt"
1398     ac_useropt_orig=$ac_useropt
1399     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1400     case $ac_user_opts in
1401       *"
1402 "with_$ac_useropt"
1403 "*) ;;
1404       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1405          ac_unrecognized_sep=', ';;
1406     esac
1407     eval with_$ac_useropt=\$ac_optarg ;;
1409   -without-* | --without-*)
1410     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1411     # Reject names that are not valid shell variable names.
1412     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1413       as_fn_error $? "invalid package name: $ac_useropt"
1414     ac_useropt_orig=$ac_useropt
1415     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1416     case $ac_user_opts in
1417       *"
1418 "with_$ac_useropt"
1419 "*) ;;
1420       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1421          ac_unrecognized_sep=', ';;
1422     esac
1423     eval with_$ac_useropt=no ;;
1425   --x)
1426     # Obsolete; use --with-x.
1427     with_x=yes ;;
1429   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1430   | --x-incl | --x-inc | --x-in | --x-i)
1431     ac_prev=x_includes ;;
1432   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1433   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1434     x_includes=$ac_optarg ;;
1436   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1437   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1438     ac_prev=x_libraries ;;
1439   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1440   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1441     x_libraries=$ac_optarg ;;
1443   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1444 Try \`$0 --help' for more information"
1445     ;;
1447   *=*)
1448     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1449     # Reject names that are not valid shell variable names.
1450     case $ac_envvar in #(
1451       '' | [0-9]* | *[!_$as_cr_alnum]* )
1452       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1453     esac
1454     eval $ac_envvar=\$ac_optarg
1455     export $ac_envvar ;;
1457   *)
1458     # FIXME: should be removed in autoconf 3.0.
1459     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1460     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1461       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1462     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1463     ;;
1465   esac
1466 done
1468 if test -n "$ac_prev"; then
1469   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1470   as_fn_error $? "missing argument to $ac_option"
1473 if test -n "$ac_unrecognized_opts"; then
1474   case $enable_option_checking in
1475     no) ;;
1476     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1477     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1478   esac
1481 # Check all directory arguments for consistency.
1482 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1483                 datadir sysconfdir sharedstatedir localstatedir Includedir \
1484                 oldIncludedir docdir infodir htmldir dvidir pdfdir psdir \
1485                 libdir localedir mandir
1487   eval ac_val=\$$ac_var
1488   # Remove trailing slashes.
1489   case $ac_val in
1490     */ )
1491       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1492       eval $ac_var=\$ac_val;;
1493   esac
1494   # Be sure to have absolute directory names.
1495   case $ac_val in
1496     [\\/$]* | ?:[\\/]* )  continue;;
1497     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1498   esac
1499   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1500 done
1502 # There might be people who depend on the old broken behavior: `$host'
1503 # used to hold the argument of --host etc.
1504 # FIXME: To remove some day.
1505 build=$build_alias
1506 host=$host_alias
1507 target=$target_alias
1509 # FIXME: To remove some day.
1510 if test "x$host_alias" != x; then
1511   if test "x$build_alias" = x; then
1512     cross_compiling=maybe
1513   elif test "x$build_alias" != "x$host_alias"; then
1514     cross_compiling=yes
1515   fi
1518 ac_tool_prefix=
1519 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1521 test "$silent" = yes && exec 6>/dev/null
1524 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1525 ac_ls_di=`ls -di .` &&
1526 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1527   as_fn_error $? "working directory cannot be determined"
1528 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1529   as_fn_error $? "pwd does not report name of working directory"
1532 # Find the source files, if location was not specified.
1533 if test -z "$srcdir"; then
1534   ac_srcdir_defaulted=yes
1535   # Try the directory containing this script, then the parent directory.
1536   ac_confdir=`$as_dirname -- "$as_myself" ||
1537 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1538          X"$as_myself" : 'X\(//\)[^/]' \| \
1539          X"$as_myself" : 'X\(//\)$' \| \
1540          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1541 $as_echo X"$as_myself" |
1542     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1543             s//\1/
1544             q
1545           }
1546           /^X\(\/\/\)[^/].*/{
1547             s//\1/
1548             q
1549           }
1550           /^X\(\/\/\)$/{
1551             s//\1/
1552             q
1553           }
1554           /^X\(\/\).*/{
1555             s//\1/
1556             q
1557           }
1558           s/.*/./; q'`
1559   srcdir=$ac_confdir
1560   if test ! -r "$srcdir/$ac_unique_file"; then
1561     srcdir=..
1562   fi
1563 else
1564   ac_srcdir_defaulted=no
1566 if test ! -r "$srcdir/$ac_unique_file"; then
1567   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1568   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1570 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1571 ac_abs_confdir=`(
1572         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1573         pwd)`
1574 # When building in place, set srcdir=.
1575 if test "$ac_abs_confdir" = "$ac_pwd"; then
1576   srcdir=.
1578 # Remove unnecessary trailing slashes from srcdir.
1579 # Double slashes in file names in object file debugging info
1580 # mess up M-x gdb in Emacs.
1581 case $srcdir in
1582 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1583 esac
1584 for ac_var in $ac_precious_vars; do
1585   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1586   eval ac_env_${ac_var}_value=\$${ac_var}
1587   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1588   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1589 done
1592 # Report the --help message.
1594 if test "$ac_init_help" = "long"; then
1595   # Omit some internal or obsolete options to make the list less imposing.
1596   # This message is too long to be a string in the A/UX 3.1 sh.
1597   cat <<_ACEOF
1598 \`configure' configures alpine 2.19.2 to adapt to many kinds of systems.
1600 Usage: $0 [OPTION]... [VAR=VALUE]...
1602 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1603 VAR=VALUE.  See below for descriptions of some of the useful variables.
1605 Defaults for the options are specified in brackets.
1607 Configuration:
1608   -h, --help              display this help and exit
1609       --help=short        display options specific to this package
1610       --help=recursive    display the short help of all the Included packages
1611   -V, --version           display version information and exit
1612   -q, --quiet, --silent   do not print \`checking ...' messages
1613       --cache-file=FILE   cache test results in FILE [disabled]
1614   -C, --config-cache      alias for \`--cache-file=config.cache'
1615   -n, --no-create         do not create output files
1616       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1618 Installation directories:
1619   --prefix=PREFIX         install architecture-independent files in PREFIX
1620                           @<:@@S|@ac_default_prefix@:>@
1621   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1622                           @<:@PREFIX@:>@
1624 By default, \`make install' will install all the files in
1625 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1626 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1627 for instance \`--prefix=\$HOME'.
1629 For better control, use the options below.
1631 Fine tuning of the installation directories:
1632   --bindir=DIR            user executables [EPREFIX/bin]
1633   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1634   --libexecdir=DIR        program executables [EPREFIX/libexec]
1635   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1636   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1637   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1638   --libdir=DIR            object code libraries [EPREFIX/lib]
1639   --Includedir=DIR        C header files [PREFIX/include]
1640   --oldIncludedir=DIR     C header files for non-gcc [/usr/include]
1641   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1642   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1643   --infodir=DIR           info documentation [DATAROOTDIR/info]
1644   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1645   --mandir=DIR            man documentation [DATAROOTDIR/man]
1646   --docdir=DIR            documentation root @<:@DATAROOTDIR/doc/alpine@:>@
1647   --htmldir=DIR           html documentation [DOCDIR]
1648   --dvidir=DIR            dvi documentation [DOCDIR]
1649   --pdfdir=DIR            pdf documentation [DOCDIR]
1650   --psdir=DIR             ps documentation [DOCDIR]
1651 _ACEOF
1653   cat <<\_ACEOF
1655 Program names:
1656   --program-prefix=PREFIX            prepend PREFIX to installed program names
1657   --program-suffix=SUFFIX            append SUFFIX to installed program names
1658   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1660 System types:
1661   --build=BUILD     configure for building on BUILD [guessed]
1662   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1663 _ACEOF
1666 if test -n "$ac_init_help"; then
1667   case $ac_init_help in
1668      short | recursive ) echo "Configuration of alpine 2.19.2:";;
1669    esac
1670   cat <<\_ACEOF
1672 Optional Features:
1673   --disable-option-checking  ignore unrecognized --enable/--with options
1674   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1675   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1676   --enable-maintainer-mode  enable make rules and dependencies not useful
1677                           (and sometimes confusing) to the casual installer
1678   --disable-dependency-tracking  speeds up one-time build
1679   --enable-dependency-tracking   do not reject slow dependency extractors
1680   --enable-shared@<:@=PKGS@:>@  build shared libraries @<:@default=yes@:>@
1681   --enable-static@<:@=PKGS@:>@  build static libraries @<:@default=yes@:>@
1682   --enable-fast-install@<:@=PKGS@:>@ 
1683                           optimize for fast installation @<:@default=yes@:>@
1684   --disable-libtool-lock  avoid locking (might break parallel builds)
1685   --disable-nls           do not use Native Language Support
1686   --disable-rpath         do not hardcode runtime library paths
1687   --enable-dmalloc        Enable dmalloc debugging
1688   --enable-osx-universal-binaries 
1689                           Produce universal binaries under OS X @<:@@<:@default=no@:>@@:>@
1690   --disable-debug         Exclude debug messages from source
1691   --disable-optimization  Exclude optimizing compiler flags
1692   --disable-mouse         Disable mouse support
1693   --enable-quotas         Enable disk quota checking on startup
1694   --disable-from-changing Disallow users changing From addresss
1695   --disable-background-post 
1696                           Disable background posting
1697   --disable-keyboard-lock Disable keyboard locking
1698   --enable-from-encoding  Enable From encoding in sent messages
1700 Optional Packages:
1701   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1702   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1703   --with-pic              try to use only PIC/non-PIC objects @<:@default=use
1704                           both@:>@
1705   --with-gnu-ld           assume the C compiler uses GNU ld @<:@default=no@:>@
1706   --with-gnu-ld           assume the C compiler uses GNU ld default=no
1707   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1708   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1709   --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
1710   --without-libintl-prefix     don't search for libintl in includedir and libdir
1711   --with-dmalloc-dir=DIR  Root of dmalloc lib/include path
1712   --with-localedir=DIR    Name of gettext locale directory
1713   --with-include-path=PATHS 
1714                           Colon-separated list of directories used for include
1715                           file search
1716   --with-lib-path=PATHS   Colon-separated list of directories used for library
1717                           search
1718   --with-pubcookie        Include support for UW-Pubcookie Web Authentication
1719   --with-web-bin=PATH     Directory to hold Web Alpine component binary files
1720   --with-smtp-msa=PATH    Local Mail Submission Agent (sendmail)
1721   --with-smtp-msa-flags=FLAGS 
1722                           MSA flags for SMTP on stdin/stdout (-bs -odb -oem)
1723   --with-npa=PATH         Posting agent when no nntp-servers defined (inews)
1724   --with-npa-flags=FLAGS  Flags to allow posting via local agent (-h)
1725   --with-password-prog=PATH 
1726                           Password change program (/bin/passwd)
1727   --with-simple-spellcheck=PROG 
1728                           Spellcheck program reads stdin, emits misspellings
1729                           on stdout
1730   --with-interactive-spellcheck=PROG 
1731                           Interactive, filewise spell checker
1732   --with-system-pinerc=VALUE 
1733                           System pinerc (/usr/local/lib/pine.conf)
1734   --with-system-fixed-pinerc=VALUE 
1735                           System fixed pinerc (/usr/local/lib/pine.conf.fixed)
1736   --with-local-support-info=VALUE 
1737                           Local Support Info File (/usr/local/lib/pine.info)
1738   --with-mailcheck-interval=VALUE 
1739                           Specify default mail-check-interval (150)
1740   --with-checkpoint-interval=VALUE 
1741                           Specify default checkpoint-interval (420)
1742   --with-checkpoint-frequency=VALUE 
1743                           State change count before checkpoint (12)
1744   --with-display-rows=VALUE 
1745                           Initial rows on display (24)
1746   --with-display-columns=VALUE 
1747                           Initial columns on display (80)
1748   --with-max-display-rows=VALUE 
1749                           Maximum display rows (200)
1750   --with-max-display-columns=VALUE 
1751                           Maximum display columns (500)
1752   --with-fill-column=VALUE 
1753                           Default fill column (74)
1754   --with-max_fill-column=VALUE 
1755                           Maximum fill column (80)
1756   --with-debug-level=VALUE 
1757                           Specify default debug verbosity level (2)
1758   --with-debug-files=VALUE 
1759                           Specify number of debug files (4)
1760   --with-debug-file=VALUE Specify debug file name (.pine-debug)
1761   --with-forwarded-keyword=VALUE 
1762                           IMAP (c-client) keyword to store forwarded status
1763                           ("\@S|@Forwarded")
1764   --with-display-overlap=VALUE 
1765                           Lines preserved while paging (2)
1766   --with-display-margin=VALUE 
1767                           Lines visible while scrolling (0)
1768   --with-default-fcc=VALUE 
1769                           Default sent mail folder (sent-mail)
1770   --with-default-save-folder=VALUE 
1771                           Default save folder (saved-messages)
1772   --with-default-legacy-postponed-folder=VALUE 
1773                           Pre Pine 3.90 postponed folder (postponed-mail)
1774   --with-default-postponed-folder=VALUE 
1775                           Default postponed folder (postponed-msgs)
1776   --with-default-trash-folder=VALUE 
1777                           Default Trash folder for Web Alpine (Trash)
1778   --with-default-interrupted-mail=VALUE 
1779                           Default folder for interrupted mail
1780                           (.pine-interrupted-mail)
1781   --with-default-dead-letter-folder=VALUE 
1782                           Default dead letter folder (dead.letter)
1783   --with-default-mail-directory=VALUE 
1784                           Default mail directory (mail)
1785   --with-default-inbox-name=VALUE 
1786                           Default inbox name (INBOX)
1787   --with-default-signature-file=VALUE 
1788                           Default signature file (.signature)
1789   --with-default-elm-style-save=VALUE 
1790                           Default to Elm style save (no)
1791   --with-default-header-in-reply=VALUE 
1792                           Include header in reply (no)
1793   --with-default-old-style-reply=VALUE 
1794                           Default to old style reply (no)
1795   --with-default-use-only-domain-name=VALUE 
1796                           Default to using only the domain name (no)
1797   --with-default-save-by-sender=VALUE 
1798                           Default to save by sender (no)
1799   --with-default-sort-key=VALUE 
1800                           Default sort key (arrival)
1801   --with-default-addressbook-sort-rule=VALUE 
1802                           Default addressbook sort rule
1803                           (fullname-with-lists-last)
1804   --with-default-folder-sort-rule=VALUE 
1805                           Default folder sort rule (alphabetical)
1806   --with-default-saved-message-name-rule=VALUE 
1807                           Default saved message name rule (default-folder)
1808   --with-default-fcc-rule=VALUE 
1809                           Default fcc rule (default-fcc)
1810   --with-default-standard-printer=VALUE 
1811                           Default standard printern (lpr)
1812   --with-default-ansi-printer=VALUE 
1813                           ANSI printer definition (attached-to-ansi)
1814   --with-default-addressbook=VALUE 
1815                           Default addressbook name (.addressbook)
1816   --with-default-local-fullname=VALUE 
1817                           Default local support fullname ("Local Support")
1818   --with-default-local-address=VALUE 
1819                           Default local support address (postmaster)
1820   --with-default-keyboard-lock-count=VALUE 
1821                           Default keyboard lock count (1)
1822   --with-default-remote-addressbook-history=VALUE 
1823                           Default address book history count (3)
1824   --with-smime-public-cert-directory=VALUE 
1825                           Default Public Cert Directory (.alpine-smime/public)
1826   --with-smime-private-key-directory=VALUE 
1827                           Default Private Key Directory
1828                           (.alpine-smime/private)
1829   --with-smime-cacert-directory=VALUE 
1830                           Default Cert Authority Directory (.alpine-smime/ca)
1831   --with-default-printer=VALUE 
1832                           Default printer (ANSI_PRINTER)
1833   --with-passfile=FILENAME 
1834                           Password cache file (NOT secure, NOT recommended)
1835   --without-local-password-cache 
1836                           Disable OS-specific password cache, if supported
1837   --with-local-password-cache-method 
1838                           OS-specific credential cache (OSX=APPLEKEYCHAIN,
1839                           Windows=WINCRED)
1840   --with-default-sshpath=FILENAME 
1841                           set default value of ssh command path (defining
1842                           should cause ssh to be preferred to rsh)
1843   --with-default-sshcmd=PERCENT_S_STRING 
1844                           set default value of ssh command string (usually "%s
1845                           %s -l %s exec /etc/r%sd")
1846   --without-ssl           Disable SSL support (OpenSSL)
1847   --with-ssl-dir=DIR      Root of SSL lib/include path
1848   --with-ssl-certs-dir=DIR 
1849                           Path to SSL certificate directory
1850   --with-ssl-include-dir=DIR 
1851                           SSL include file path
1852   --with-ssl-lib-dir=DIR  SSL library path
1853   --without-krb5          Disable Kerberos support
1854   --with-krb5-dir=DIR     Root of Kerberos lib/include path
1855   --with-krb5-include-dir=DIR 
1856                           Kerberos include file path
1857   --with-krb5-lib-dir=DIR Kerberos library path
1858   --without-ldap          Disable LDAP query support
1859   --with-ldap-dir=DIR     Root of LDAP lib/include path
1860   --with-ldap-include-dir=DIR 
1861                           Directory containing LDAP include files
1862   --with-ldap-lib-dir=DIR LDAP library path
1863   --without-smime         Disable S/MIME
1864   --without-tcl           Disable TCL, thus Web Alpine support
1865   --with-tcl-lib=LIBRARY  Specific TCL Library, like \"tcl8.6\"
1866   --with-tcl-include=DIR  Directory containing TCL include files
1867   --with-supplied-regex   Use regex library supplied with alpine
1868   --without-pthread       Do NOT test for nor build with POSIX thread support
1869   --with-system-mail-directory=DIR 
1870                           Directory where local mail is delivered
1871   --with-c-client-target=TARGET 
1872                           IMAP build target (see imap/Makefile)
1873   --without-ipv6          Disable IPv6, primarily to work around resolver
1874                           problems
1876 Some influential environment variables:
1877   CC          C compiler command
1878   CFLAGS      C compiler flags
1879   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1880               nonstandard directory <lib dir>
1881   LIBS        libraries to pass to the linker, e.g. -l<library>
1882   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1883               you have headers in a nonstandard directory <include dir>
1884   CPP         C preprocessor
1886 Use these variables to override the choices made by `configure' or to help
1887 it to find libraries and programs with nonstandard names/locations.
1889 Report bugs to <chappa@washington.edu>.
1890 _ACEOF
1891 ac_status=$?
1894 if test "$ac_init_help" = "recursive"; then
1895   # If there are subdirs, report their specific --help.
1896   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1897     test -d "$ac_dir" ||
1898       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1899       continue
1900     ac_builddir=.
1902 case "$ac_dir" in
1903 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1905   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1906   # A ".." for each directory in $ac_dir_suffix.
1907   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1908   case $ac_top_builddir_sub in
1909   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1910   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1911   esac ;;
1912 esac
1913 ac_abs_top_builddir=$ac_pwd
1914 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1915 # for backward compatibility:
1916 ac_top_builddir=$ac_top_build_prefix
1918 case $srcdir in
1919   .)  # We are building in place.
1920     ac_srcdir=.
1921     ac_top_srcdir=$ac_top_builddir_sub
1922     ac_abs_top_srcdir=$ac_pwd ;;
1923   [\\/]* | ?:[\\/]* )  # Absolute name.
1924     ac_srcdir=$srcdir$ac_dir_suffix;
1925     ac_top_srcdir=$srcdir
1926     ac_abs_top_srcdir=$srcdir ;;
1927   *) # Relative name.
1928     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1929     ac_top_srcdir=$ac_top_build_prefix$srcdir
1930     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1931 esac
1932 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1934     cd "$ac_dir" || { ac_status=$?; continue; }
1935     # Check for guested configure.
1936     if test -f "$ac_srcdir/configure.gnu"; then
1937       echo &&
1938       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1939     elif test -f "$ac_srcdir/configure"; then
1940       echo &&
1941       $SHELL "$ac_srcdir/configure" --help=recursive
1942     else
1943       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1944     fi || ac_status=$?
1945     cd "$ac_pwd" || { ac_status=$?; break; }
1946   done
1949 test -n "$ac_init_help" && exit $ac_status
1950 if $ac_init_version; then
1951   cat <<\_ACEOF
1952 alpine configure 2.19.2
1953 generated by GNU Autoconf 2.69
1955 Copyright (C) 2012 Free Software Foundation, Inc.
1956 This configure script is free software; the Free Software Foundation
1957 gives unlimited permission to copy, distribute and modify it.
1958 _ACEOF
1959   exit
1962 ## ------------------------ ##
1963 ## Autoconf initialization. ##
1964 ## ------------------------ ##
1966 @%:@ ac_fn_c_try_compile LINENO
1967 @%:@ --------------------------
1968 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1969 ac_fn_c_try_compile ()
1971   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1972   rm -f conftest.$ac_objext
1973   if { { ac_try="$ac_compile"
1974 case "(($ac_try" in
1975   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1976   *) ac_try_echo=$ac_try;;
1977 esac
1978 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1979 $as_echo "$ac_try_echo"; } >&5
1980   (eval "$ac_compile") 2>conftest.err
1981   ac_status=$?
1982   if test -s conftest.err; then
1983     grep -v '^ *+' conftest.err >conftest.er1
1984     cat conftest.er1 >&5
1985     mv -f conftest.er1 conftest.err
1986   fi
1987   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1988   test $ac_status = 0; } && {
1989          test -z "$ac_c_werror_flag" ||
1990          test ! -s conftest.err
1991        } && test -s conftest.$ac_objext; then :
1992   ac_retval=0
1993 else
1994   $as_echo "$as_me: failed program was:" >&5
1995 sed 's/^/| /' conftest.$ac_ext >&5
1997         ac_retval=1
1999   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2000   as_fn_set_status $ac_retval
2002 } @%:@ ac_fn_c_try_compile
2004 @%:@ ac_fn_c_try_link LINENO
2005 @%:@ -----------------------
2006 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
2007 ac_fn_c_try_link ()
2009   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2010   rm -f conftest.$ac_objext conftest$ac_exeext
2011   if { { ac_try="$ac_link"
2012 case "(($ac_try" in
2013   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2014   *) ac_try_echo=$ac_try;;
2015 esac
2016 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2017 $as_echo "$ac_try_echo"; } >&5
2018   (eval "$ac_link") 2>conftest.err
2019   ac_status=$?
2020   if test -s conftest.err; then
2021     grep -v '^ *+' conftest.err >conftest.er1
2022     cat conftest.er1 >&5
2023     mv -f conftest.er1 conftest.err
2024   fi
2025   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2026   test $ac_status = 0; } && {
2027          test -z "$ac_c_werror_flag" ||
2028          test ! -s conftest.err
2029        } && test -s conftest$ac_exeext && {
2030          test "$cross_compiling" = yes ||
2031          test -x conftest$ac_exeext
2032        }; then :
2033   ac_retval=0
2034 else
2035   $as_echo "$as_me: failed program was:" >&5
2036 sed 's/^/| /' conftest.$ac_ext >&5
2038         ac_retval=1
2040   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2041   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2042   # interfere with the next link command; also delete a directory that is
2043   # left behind by Apple's compiler.  We do this before executing the actions.
2044   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2045   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2046   as_fn_set_status $ac_retval
2048 } @%:@ ac_fn_c_try_link
2050 @%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2051 @%:@ -------------------------------------------------------
2052 @%:@ Tests whether HEADER exists and can be compiled using the include files in
2053 @%:@ INCLUDES, setting the cache variable VAR accordingly.
2054 ac_fn_c_check_header_compile ()
2056   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2057   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2058 $as_echo_n "checking for $2... " >&6; }
2059 if eval \${$3+:} false; then :
2060   $as_echo_n "(cached) " >&6
2061 else
2062   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2063 /* end confdefs.h.  */
2065 @%:@include <$2>
2066 _ACEOF
2067 if ac_fn_c_try_compile "$LINENO"; then :
2068   eval "$3=yes"
2069 else
2070   eval "$3=no"
2072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2074 eval ac_res=\$$3
2075                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2076 $as_echo "$ac_res" >&6; }
2077   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2079 } @%:@ ac_fn_c_check_header_compile
2081 @%:@ ac_fn_c_try_cpp LINENO
2082 @%:@ ----------------------
2083 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
2084 ac_fn_c_try_cpp ()
2086   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2087   if { { ac_try="$ac_cpp conftest.$ac_ext"
2088 case "(($ac_try" in
2089   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2090   *) ac_try_echo=$ac_try;;
2091 esac
2092 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2093 $as_echo "$ac_try_echo"; } >&5
2094   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2095   ac_status=$?
2096   if test -s conftest.err; then
2097     grep -v '^ *+' conftest.err >conftest.er1
2098     cat conftest.er1 >&5
2099     mv -f conftest.er1 conftest.err
2100   fi
2101   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2102   test $ac_status = 0; } > conftest.i && {
2103          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2104          test ! -s conftest.err
2105        }; then :
2106   ac_retval=0
2107 else
2108   $as_echo "$as_me: failed program was:" >&5
2109 sed 's/^/| /' conftest.$ac_ext >&5
2111     ac_retval=1
2113   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2114   as_fn_set_status $ac_retval
2116 } @%:@ ac_fn_c_try_cpp
2118 @%:@ ac_fn_c_try_run LINENO
2119 @%:@ ----------------------
2120 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
2121 @%:@ that executables *can* be run.
2122 ac_fn_c_try_run ()
2124   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2125   if { { ac_try="$ac_link"
2126 case "(($ac_try" in
2127   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2128   *) ac_try_echo=$ac_try;;
2129 esac
2130 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2131 $as_echo "$ac_try_echo"; } >&5
2132   (eval "$ac_link") 2>&5
2133   ac_status=$?
2134   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2135   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2136   { { case "(($ac_try" in
2137   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2138   *) ac_try_echo=$ac_try;;
2139 esac
2140 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2141 $as_echo "$ac_try_echo"; } >&5
2142   (eval "$ac_try") 2>&5
2143   ac_status=$?
2144   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2145   test $ac_status = 0; }; }; then :
2146   ac_retval=0
2147 else
2148   $as_echo "$as_me: program exited with status $ac_status" >&5
2149        $as_echo "$as_me: failed program was:" >&5
2150 sed 's/^/| /' conftest.$ac_ext >&5
2152        ac_retval=$ac_status
2154   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2155   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2156   as_fn_set_status $ac_retval
2158 } @%:@ ac_fn_c_try_run
2160 @%:@ ac_fn_c_check_func LINENO FUNC VAR
2161 @%:@ ----------------------------------
2162 @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
2163 ac_fn_c_check_func ()
2165   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2166   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2167 $as_echo_n "checking for $2... " >&6; }
2168 if eval \${$3+:} false; then :
2169   $as_echo_n "(cached) " >&6
2170 else
2171   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2172 /* end confdefs.h.  */
2173 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2174    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2175 #define $2 innocuous_$2
2177 /* System header to define __stub macros and hopefully few prototypes,
2178     which can conflict with char $2 (); below.
2179     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2180     <limits.h> exists even on freestanding compilers.  */
2182 #ifdef __STDC__
2183 # include <limits.h>
2184 #else
2185 # include <assert.h>
2186 #endif
2188 #undef $2
2190 /* Override any GCC internal prototype to avoid an error.
2191    Use char because int might match the return type of a GCC
2192    builtin and then its argument prototype would still apply.  */
2193 #ifdef __cplusplus
2194 extern "C"
2195 #endif
2196 char $2 ();
2197 /* The GNU C library defines this for functions which it implements
2198     to always fail with ENOSYS.  Some functions are actually named
2199     something starting with __ and the normal name is an alias.  */
2200 #if defined __stub_$2 || defined __stub___$2
2201 choke me
2202 #endif
2205 main ()
2207 return $2 ();
2208   ;
2209   return 0;
2211 _ACEOF
2212 if ac_fn_c_try_link "$LINENO"; then :
2213   eval "$3=yes"
2214 else
2215   eval "$3=no"
2217 rm -f core conftest.err conftest.$ac_objext \
2218     conftest$ac_exeext conftest.$ac_ext
2220 eval ac_res=\$$3
2221                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2222 $as_echo "$ac_res" >&6; }
2223   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2225 } @%:@ ac_fn_c_check_func
2227 @%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2228 @%:@ -------------------------------------------------------
2229 @%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
2230 @%:@ the include files in INCLUDES and setting the cache variable VAR
2231 @%:@ accordingly.
2232 ac_fn_c_check_header_mongrel ()
2234   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2235   if eval \${$3+:} false; then :
2236   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2237 $as_echo_n "checking for $2... " >&6; }
2238 if eval \${$3+:} false; then :
2239   $as_echo_n "(cached) " >&6
2241 eval ac_res=\$$3
2242                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2243 $as_echo "$ac_res" >&6; }
2244 else
2245   # Is the header compilable?
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2247 $as_echo_n "checking $2 usability... " >&6; }
2248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2249 /* end confdefs.h.  */
2251 @%:@include <$2>
2252 _ACEOF
2253 if ac_fn_c_try_compile "$LINENO"; then :
2254   ac_header_compiler=yes
2255 else
2256   ac_header_compiler=no
2258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2260 $as_echo "$ac_header_compiler" >&6; }
2262 # Is the header present?
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2264 $as_echo_n "checking $2 presence... " >&6; }
2265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2266 /* end confdefs.h.  */
2267 @%:@include <$2>
2268 _ACEOF
2269 if ac_fn_c_try_cpp "$LINENO"; then :
2270   ac_header_preproc=yes
2271 else
2272   ac_header_preproc=no
2274 rm -f conftest.err conftest.i conftest.$ac_ext
2275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2276 $as_echo "$ac_header_preproc" >&6; }
2278 # So?  What about this header?
2279 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2280   yes:no: )
2281     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2282 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2283     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2284 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2285     ;;
2286   no:yes:* )
2287     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2288 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2289     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2290 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2291     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2292 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2293     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2294 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2295     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2296 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2297 ( $as_echo "## ------------------------------------ ##
2298 ## Report this to chappa@washington.edu ##
2299 ## ------------------------------------ ##"
2300      ) | sed "s/^/$as_me: WARNING:     /" >&2
2301     ;;
2302 esac
2303   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2304 $as_echo_n "checking for $2... " >&6; }
2305 if eval \${$3+:} false; then :
2306   $as_echo_n "(cached) " >&6
2307 else
2308   eval "$3=\$ac_header_compiler"
2310 eval ac_res=\$$3
2311                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2312 $as_echo "$ac_res" >&6; }
2314   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2316 } @%:@ ac_fn_c_check_header_mongrel
2318 @%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2319 @%:@ -------------------------------------------
2320 @%:@ Tests whether TYPE exists after having Included INCLUDES, setting cache
2321 @%:@ variable VAR accordingly.
2322 ac_fn_c_check_type ()
2324   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2325   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2326 $as_echo_n "checking for $2... " >&6; }
2327 if eval \${$3+:} false; then :
2328   $as_echo_n "(cached) " >&6
2329 else
2330   eval "$3=no"
2331   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2332 /* end confdefs.h.  */
2335 main ()
2337 if (sizeof ($2))
2338          return 0;
2339   ;
2340   return 0;
2342 _ACEOF
2343 if ac_fn_c_try_compile "$LINENO"; then :
2344   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2345 /* end confdefs.h.  */
2348 main ()
2350 if (sizeof (($2)))
2351             return 0;
2352   ;
2353   return 0;
2355 _ACEOF
2356 if ac_fn_c_try_compile "$LINENO"; then :
2357   
2358 else
2359   eval "$3=yes"
2361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2365 eval ac_res=\$$3
2366                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2367 $as_echo "$ac_res" >&6; }
2368   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2370 } @%:@ ac_fn_c_check_type
2372 @%:@ ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2373 @%:@ --------------------------------------------
2374 @%:@ Tries to find the compile-time value of EXPR in a program that includes
2375 @%:@ INCLUDES, setting VAR accordingly. Returns whether the value could be
2376 @%:@ computed
2377 ac_fn_c_compute_int ()
2379   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2380   if test "$cross_compiling" = yes; then
2381     # Depending upon the size, compute the lo and hi bounds.
2382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2383 /* end confdefs.h.  */
2386 main ()
2388 static int test_array @<:@1 - 2 * !(($2) >= 0)@:>@;
2389 test_array @<:@0@:>@ = 0;
2390 return test_array @<:@0@:>@;
2392   ;
2393   return 0;
2395 _ACEOF
2396 if ac_fn_c_try_compile "$LINENO"; then :
2397   ac_lo=0 ac_mid=0
2398   while :; do
2399     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2400 /* end confdefs.h.  */
2403 main ()
2405 static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@;
2406 test_array @<:@0@:>@ = 0;
2407 return test_array @<:@0@:>@;
2409   ;
2410   return 0;
2412 _ACEOF
2413 if ac_fn_c_try_compile "$LINENO"; then :
2414   ac_hi=$ac_mid; break
2415 else
2416   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2417                         if test $ac_lo -le $ac_mid; then
2418                           ac_lo= ac_hi=
2419                           break
2420                         fi
2421                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2424   done
2425 else
2426   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2427 /* end confdefs.h.  */
2430 main ()
2432 static int test_array @<:@1 - 2 * !(($2) < 0)@:>@;
2433 test_array @<:@0@:>@ = 0;
2434 return test_array @<:@0@:>@;
2436   ;
2437   return 0;
2439 _ACEOF
2440 if ac_fn_c_try_compile "$LINENO"; then :
2441   ac_hi=-1 ac_mid=-1
2442   while :; do
2443     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2444 /* end confdefs.h.  */
2447 main ()
2449 static int test_array @<:@1 - 2 * !(($2) >= $ac_mid)@:>@;
2450 test_array @<:@0@:>@ = 0;
2451 return test_array @<:@0@:>@;
2453   ;
2454   return 0;
2456 _ACEOF
2457 if ac_fn_c_try_compile "$LINENO"; then :
2458   ac_lo=$ac_mid; break
2459 else
2460   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2461                         if test $ac_mid -le $ac_hi; then
2462                           ac_lo= ac_hi=
2463                           break
2464                         fi
2465                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2468   done
2469 else
2470   ac_lo= ac_hi=
2472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2475 # Binary search between lo and hi bounds.
2476 while test "x$ac_lo" != "x$ac_hi"; do
2477   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2479 /* end confdefs.h.  */
2482 main ()
2484 static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@;
2485 test_array @<:@0@:>@ = 0;
2486 return test_array @<:@0@:>@;
2488   ;
2489   return 0;
2491 _ACEOF
2492 if ac_fn_c_try_compile "$LINENO"; then :
2493   ac_hi=$ac_mid
2494 else
2495   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2498 done
2499 case $ac_lo in @%:@((
2500 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2501 '') ac_retval=1 ;;
2502 esac
2503   else
2504     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2505 /* end confdefs.h.  */
2507 static long int longval () { return $2; }
2508 static unsigned long int ulongval () { return $2; }
2509 @%:@include <stdio.h>
2510 @%:@include <stdlib.h>
2512 main ()
2515   FILE *f = fopen ("conftest.val", "w");
2516   if (! f)
2517     return 1;
2518   if (($2) < 0)
2519     {
2520       long int i = longval ();
2521       if (i != ($2))
2522         return 1;
2523       fprintf (f, "%ld", i);
2524     }
2525   else
2526     {
2527       unsigned long int i = ulongval ();
2528       if (i != ($2))
2529         return 1;
2530       fprintf (f, "%lu", i);
2531     }
2532   /* Do not output a trailing newline, as this causes \r\n confusion
2533      on some platforms.  */
2534   return ferror (f) || fclose (f) != 0;
2536   ;
2537   return 0;
2539 _ACEOF
2540 if ac_fn_c_try_run "$LINENO"; then :
2541   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2542 else
2543   ac_retval=1
2545 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2546   conftest.$ac_objext conftest.beam conftest.$ac_ext
2547 rm -f conftest.val
2549   fi
2550   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2551   as_fn_set_status $ac_retval
2553 } @%:@ ac_fn_c_compute_int
2554 cat >config.log <<_ACEOF
2555 This file contains any messages produced by compilers while
2556 running configure, to aid debugging if configure makes a mistake.
2558 It was created by alpine $as_me 2.19.2, which was
2559 generated by GNU Autoconf 2.69.  Invocation command line was
2561   $ $0 $@
2563 _ACEOF
2564 exec 5>>config.log
2566 cat <<_ASUNAME
2567 ## --------- ##
2568 ## Platform. ##
2569 ## --------- ##
2571 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2572 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2573 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2574 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2575 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2577 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2578 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2580 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2581 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2582 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2583 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2584 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2585 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2586 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2588 _ASUNAME
2590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2591 for as_dir in $PATH
2593   IFS=$as_save_IFS
2594   test -z "$as_dir" && as_dir=.
2595     $as_echo "PATH: $as_dir"
2596   done
2597 IFS=$as_save_IFS
2599 } >&5
2601 cat >&5 <<_ACEOF
2604 ## ----------- ##
2605 ## Core tests. ##
2606 ## ----------- ##
2608 _ACEOF
2611 # Keep a trace of the command line.
2612 # Strip out --no-create and --no-recursion so they do not pile up.
2613 # Strip out --silent because we don't want to record it for future runs.
2614 # Also quote any args containing shell meta-characters.
2615 # Make two passes to allow for proper duplicate-argument suppression.
2616 ac_configure_args=
2617 ac_configure_args0=
2618 ac_configure_args1=
2619 ac_must_keep_next=false
2620 for ac_pass in 1 2
2622   for ac_arg
2623   do
2624     case $ac_arg in
2625     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2626     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2627     | -silent | --silent | --silen | --sile | --sil)
2628       continue ;;
2629     *\'*)
2630       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2631     esac
2632     case $ac_pass in
2633     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2634     2)
2635       as_fn_append ac_configure_args1 " '$ac_arg'"
2636       if test $ac_must_keep_next = true; then
2637         ac_must_keep_next=false # Got value, back to normal.
2638       else
2639         case $ac_arg in
2640           *=* | --config-cache | -C | -disable-* | --disable-* \
2641           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2642           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2643           | -with-* | --with-* | -without-* | --without-* | --x)
2644             case "$ac_configure_args0 " in
2645               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2646             esac
2647             ;;
2648           -* ) ac_must_keep_next=true ;;
2649         esac
2650       fi
2651       as_fn_append ac_configure_args " '$ac_arg'"
2652       ;;
2653     esac
2654   done
2655 done
2656 { ac_configure_args0=; unset ac_configure_args0;}
2657 { ac_configure_args1=; unset ac_configure_args1;}
2659 # When interrupted or exit'd, cleanup temporary files, and complete
2660 # config.log.  We remove comments because anyway the quotes in there
2661 # would cause problems or look ugly.
2662 # WARNING: Use '\'' to represent an apostrophe within the trap.
2663 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2664 trap 'exit_status=$?
2665   # Save into config.log some information that might help in debugging.
2666   {
2667     echo
2669     $as_echo "## ---------------- ##
2670 ## Cache variables. ##
2671 ## ---------------- ##"
2672     echo
2673     # The following way of writing the cache mishandles newlines in values,
2675   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2676     eval ac_val=\$$ac_var
2677     case $ac_val in #(
2678     *${as_nl}*)
2679       case $ac_var in #(
2680       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2681 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2682       esac
2683       case $ac_var in #(
2684       _ | IFS | as_nl) ;; #(
2685       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2686       *) { eval $ac_var=; unset $ac_var;} ;;
2687       esac ;;
2688     esac
2689   done
2690   (set) 2>&1 |
2691     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2692     *${as_nl}ac_space=\ *)
2693       sed -n \
2694         "s/'\''/'\''\\\\'\'''\''/g;
2695           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2696       ;; #(
2697     *)
2698       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2699       ;;
2700     esac |
2701     sort
2703     echo
2705     $as_echo "## ----------------- ##
2706 ## Output variables. ##
2707 ## ----------------- ##"
2708     echo
2709     for ac_var in $ac_subst_vars
2710     do
2711       eval ac_val=\$$ac_var
2712       case $ac_val in
2713       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2714       esac
2715       $as_echo "$ac_var='\''$ac_val'\''"
2716     done | sort
2717     echo
2719     if test -n "$ac_subst_files"; then
2720       $as_echo "## ------------------- ##
2721 ## File substitutions. ##
2722 ## ------------------- ##"
2723       echo
2724       for ac_var in $ac_subst_files
2725       do
2726         eval ac_val=\$$ac_var
2727         case $ac_val in
2728         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2729         esac
2730         $as_echo "$ac_var='\''$ac_val'\''"
2731       done | sort
2732       echo
2733     fi
2735     if test -s confdefs.h; then
2736       $as_echo "## ----------- ##
2737 ## confdefs.h. ##
2738 ## ----------- ##"
2739       echo
2740       cat confdefs.h
2741       echo
2742     fi
2743     test "$ac_signal" != 0 &&
2744       $as_echo "$as_me: caught signal $ac_signal"
2745     $as_echo "$as_me: exit $exit_status"
2746   } >&5
2747   rm -f core *.core core.conftest.* &&
2748     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2749     exit $exit_status
2750 ' 0
2751 for ac_signal in 1 2 13 15; do
2752   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2753 done
2754 ac_signal=0
2756 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2757 rm -f -r conftest* confdefs.h
2759 $as_echo "/* confdefs.h */" > confdefs.h
2761 # Predefined preprocessor variables.
2763 cat >>confdefs.h <<_ACEOF
2764 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
2765 _ACEOF
2767 cat >>confdefs.h <<_ACEOF
2768 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2769 _ACEOF
2771 cat >>confdefs.h <<_ACEOF
2772 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
2773 _ACEOF
2775 cat >>confdefs.h <<_ACEOF
2776 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
2777 _ACEOF
2779 cat >>confdefs.h <<_ACEOF
2780 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2781 _ACEOF
2783 cat >>confdefs.h <<_ACEOF
2784 @%:@define PACKAGE_URL "$PACKAGE_URL"
2785 _ACEOF
2788 # Let the site file select an alternate cache file if it wants to.
2789 # Prefer an explicitly selected file to automatically selected ones.
2790 ac_site_file1=NONE
2791 ac_site_file2=NONE
2792 if test -n "$CONFIG_SITE"; then
2793   # We do not want a PATH search for config.site.
2794   case $CONFIG_SITE in @%:@((
2795     -*)  ac_site_file1=./$CONFIG_SITE;;
2796     */*) ac_site_file1=$CONFIG_SITE;;
2797     *)   ac_site_file1=./$CONFIG_SITE;;
2798   esac
2799 elif test "x$prefix" != xNONE; then
2800   ac_site_file1=$prefix/share/config.site
2801   ac_site_file2=$prefix/etc/config.site
2802 else
2803   ac_site_file1=$ac_default_prefix/share/config.site
2804   ac_site_file2=$ac_default_prefix/etc/config.site
2806 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2808   test "x$ac_site_file" = xNONE && continue
2809   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2810     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2811 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2812     sed 's/^/| /' "$ac_site_file" >&5
2813     . "$ac_site_file" \
2814       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2815 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2816 as_fn_error $? "failed to load site script $ac_site_file
2817 See \`config.log' for more details" "$LINENO" 5; }
2818   fi
2819 done
2821 if test -r "$cache_file"; then
2822   # Some versions of bash will fail to source /dev/null (special files
2823   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2824   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2825     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2826 $as_echo "$as_me: loading cache $cache_file" >&6;}
2827     case $cache_file in
2828       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2829       *)                      . "./$cache_file";;
2830     esac
2831   fi
2832 else
2833   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2834 $as_echo "$as_me: creating cache $cache_file" >&6;}
2835   >$cache_file
2838 gt_needs="$gt_needs "
2839 # Check that the precious variables saved in the cache have kept the same
2840 # value.
2841 ac_cache_corrupted=false
2842 for ac_var in $ac_precious_vars; do
2843   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2844   eval ac_new_set=\$ac_env_${ac_var}_set
2845   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2846   eval ac_new_val=\$ac_env_${ac_var}_value
2847   case $ac_old_set,$ac_new_set in
2848     set,)
2849       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2850 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2851       ac_cache_corrupted=: ;;
2852     ,set)
2853       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2854 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2855       ac_cache_corrupted=: ;;
2856     ,);;
2857     *)
2858       if test "x$ac_old_val" != "x$ac_new_val"; then
2859         # differences in whitespace do not lead to failure.
2860         ac_old_val_w=`echo x $ac_old_val`
2861         ac_new_val_w=`echo x $ac_new_val`
2862         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2863           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2864 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2865           ac_cache_corrupted=:
2866         else
2867           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2868 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2869           eval $ac_var=\$ac_old_val
2870         fi
2871         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2872 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2873         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2874 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2875       fi;;
2876   esac
2877   # Pass precious variables to config.status.
2878   if test "$ac_new_set" = set; then
2879     case $ac_new_val in
2880     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2881     *) ac_arg=$ac_var=$ac_new_val ;;
2882     esac
2883     case " $ac_configure_args " in
2884       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2885       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2886     esac
2887   fi
2888 done
2889 if $ac_cache_corrupted; then
2890   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2891 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2892   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2893 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2894   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2896 ## -------------------- ##
2897 ## Main body of script. ##
2898 ## -------------------- ##
2900 ac_ext=c
2901 ac_cpp='$CPP $CPPFLAGS'
2902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2909 ac_config_headers="$ac_config_headers include/config.h"
2912 am__api_version='1.11'
2914 ac_aux_dir=
2915 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2916   if test -f "$ac_dir/install-sh"; then
2917     ac_aux_dir=$ac_dir
2918     ac_install_sh="$ac_aux_dir/install-sh -c"
2919     break
2920   elif test -f "$ac_dir/install.sh"; then
2921     ac_aux_dir=$ac_dir
2922     ac_install_sh="$ac_aux_dir/install.sh -c"
2923     break
2924   elif test -f "$ac_dir/shtool"; then
2925     ac_aux_dir=$ac_dir
2926     ac_install_sh="$ac_aux_dir/shtool install -c"
2927     break
2928   fi
2929 done
2930 if test -z "$ac_aux_dir"; then
2931   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2934 # These three variables are undocumented and unsupported,
2935 # and are intended to be withdrawn in a future Autoconf release.
2936 # They can cause serious problems if a builder's source tree is in a directory
2937 # whose full name contains unusual characters.
2938 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2939 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2940 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2943 # Find a good install program.  We prefer a C program (faster),
2944 # so one script is as good as another.  But avoid the broken or
2945 # incompatible versions:
2946 # SysV /etc/install, /usr/sbin/install
2947 # SunOS /usr/etc/install
2948 # IRIX /sbin/install
2949 # AIX /bin/install
2950 # AmigaOS /C/install, which installs bootblocks on floppy discs
2951 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2952 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2953 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2954 # OS/2's system install, which has a completely different semantic
2955 # ./install, which can be erroneously created by make from ./install.sh.
2956 # Reject install programs that cannot install multiple files.
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2958 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2959 if test -z "$INSTALL"; then
2960 if ${ac_cv_path_install+:} false; then :
2961   $as_echo_n "(cached) " >&6
2962 else
2963   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2964 for as_dir in $PATH
2966   IFS=$as_save_IFS
2967   test -z "$as_dir" && as_dir=.
2968     # Account for people who put trailing slashes in PATH elements.
2969 case $as_dir/ in @%:@((
2970   ./ | .// | /[cC]/* | \
2971   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2972   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2973   /usr/ucb/* ) ;;
2974   *)
2975     # OSF1 and SCO ODT 3.0 have their own names for install.
2976     # Don't use installbsd from OSF since it installs stuff as root
2977     # by default.
2978     for ac_prog in ginstall scoinst install; do
2979       for ac_exec_ext in '' $ac_executable_extensions; do
2980         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2981           if test $ac_prog = install &&
2982             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2983             # AIX install.  It has an incompatible calling convention.
2984             :
2985           elif test $ac_prog = install &&
2986             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2987             # program-specific install script used by HP pwplus--don't use.
2988             :
2989           else
2990             rm -rf conftest.one conftest.two conftest.dir
2991             echo one > conftest.one
2992             echo two > conftest.two
2993             mkdir conftest.dir
2994             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2995               test -s conftest.one && test -s conftest.two &&
2996               test -s conftest.dir/conftest.one &&
2997               test -s conftest.dir/conftest.two
2998             then
2999               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3000               break 3
3001             fi
3002           fi
3003         fi
3004       done
3005     done
3006     ;;
3007 esac
3009   done
3010 IFS=$as_save_IFS
3012 rm -rf conftest.one conftest.two conftest.dir
3015   if test "${ac_cv_path_install+set}" = set; then
3016     INSTALL=$ac_cv_path_install
3017   else
3018     # As a last resort, use the slow shell script.  Don't cache a
3019     # value for INSTALL within a source directory, because that will
3020     # break other packages using the cache if that directory is
3021     # removed, or if the value is a relative name.
3022     INSTALL=$ac_install_sh
3023   fi
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3026 $as_echo "$INSTALL" >&6; }
3028 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3029 # It thinks the first close brace ends the variable substitution.
3030 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3032 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3034 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3037 $as_echo_n "checking whether build environment is sane... " >&6; }
3038 # Just in case
3039 sleep 1
3040 echo timestamp > conftest.file
3041 # Reject unsafe characters in $srcdir or the absolute working directory
3042 # name.  Accept space and tab only in the latter.
3043 am_lf='
3045 case `pwd` in
3046   *[\\\"\#\$\&\'\`$am_lf]*)
3047     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3048 esac
3049 case $srcdir in
3050   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3051     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3052 esac
3054 # Do `set' in a subshell so we don't clobber the current shell's
3055 # arguments.  Must try -L first in case configure is actually a
3056 # symlink; some systems play weird games with the mod time of symlinks
3057 # (eg FreeBSD returns the mod time of the symlink's containing
3058 # directory).
3059 if (
3060    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3061    if test "$*" = "X"; then
3062       # -L didn't work.
3063       set X `ls -t "$srcdir/configure" conftest.file`
3064    fi
3065    rm -f conftest.file
3066    if test "$*" != "X $srcdir/configure conftest.file" \
3067       && test "$*" != "X conftest.file $srcdir/configure"; then
3069       # If neither matched, then we have a broken ls.  This can happen
3070       # if, for instance, CONFIG_SHELL is bash and it inherits a
3071       # broken ls alias from the environment.  This has actually
3072       # happened.  Such a system could not be considered "sane".
3073       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3074 alias in your environment" "$LINENO" 5
3075    fi
3077    test "$2" = conftest.file
3078    )
3079 then
3080    # Ok.
3081    :
3082 else
3083    as_fn_error $? "newly created file is older than distributed files!
3084 Check your system clock" "$LINENO" 5
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3087 $as_echo "yes" >&6; }
3088 test "$program_prefix" != NONE &&
3089   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3090 # Use a double $ so make ignores it.
3091 test "$program_suffix" != NONE &&
3092   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3093 # Double any \ or $.
3094 # By default was `s,x,x', remove it if useless.
3095 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3096 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3098 # expand $ac_aux_dir to an absolute path
3099 am_aux_dir=`cd $ac_aux_dir && pwd`
3101 if test x"${MISSING+set}" != xset; then
3102   case $am_aux_dir in
3103   *\ * | *\     *)
3104     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3105   *)
3106     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3107   esac
3109 # Use eval to expand $SHELL
3110 if eval "$MISSING --run true"; then
3111   am_missing_run="$MISSING --run "
3112 else
3113   am_missing_run=
3114   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3115 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3118 if test x"${install_sh}" != xset; then
3119   case $am_aux_dir in
3120   *\ * | *\     *)
3121     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3122   *)
3123     install_sh="\${SHELL} $am_aux_dir/install-sh"
3124   esac
3127 # Installed binaries are usually stripped using `strip' when the user
3128 # run `make install-strip'.  However `strip' might not be the right
3129 # tool to use in cross-compilation environments, therefore Automake
3130 # will honor the `STRIP' environment variable to overrule this program.
3131 if test "$cross_compiling" != no; then
3132   if test -n "$ac_tool_prefix"; then
3133   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3134 set dummy ${ac_tool_prefix}strip; ac_word=$2
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3136 $as_echo_n "checking for $ac_word... " >&6; }
3137 if ${ac_cv_prog_STRIP+:} false; then :
3138   $as_echo_n "(cached) " >&6
3139 else
3140   if test -n "$STRIP"; then
3141   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3142 else
3143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3144 for as_dir in $PATH
3146   IFS=$as_save_IFS
3147   test -z "$as_dir" && as_dir=.
3148     for ac_exec_ext in '' $ac_executable_extensions; do
3149   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3150     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3151     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3152     break 2
3153   fi
3154 done
3155   done
3156 IFS=$as_save_IFS
3160 STRIP=$ac_cv_prog_STRIP
3161 if test -n "$STRIP"; then
3162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3163 $as_echo "$STRIP" >&6; }
3164 else
3165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3166 $as_echo "no" >&6; }
3171 if test -z "$ac_cv_prog_STRIP"; then
3172   ac_ct_STRIP=$STRIP
3173   # Extract the first word of "strip", so it can be a program name with args.
3174 set dummy strip; ac_word=$2
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3176 $as_echo_n "checking for $ac_word... " >&6; }
3177 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3178   $as_echo_n "(cached) " >&6
3179 else
3180   if test -n "$ac_ct_STRIP"; then
3181   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3182 else
3183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3184 for as_dir in $PATH
3186   IFS=$as_save_IFS
3187   test -z "$as_dir" && as_dir=.
3188     for ac_exec_ext in '' $ac_executable_extensions; do
3189   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3190     ac_cv_prog_ac_ct_STRIP="strip"
3191     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3192     break 2
3193   fi
3194 done
3195   done
3196 IFS=$as_save_IFS
3200 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3201 if test -n "$ac_ct_STRIP"; then
3202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3203 $as_echo "$ac_ct_STRIP" >&6; }
3204 else
3205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3206 $as_echo "no" >&6; }
3209   if test "x$ac_ct_STRIP" = x; then
3210     STRIP=":"
3211   else
3212     case $cross_compiling:$ac_tool_warned in
3213 yes:)
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3215 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3216 ac_tool_warned=yes ;;
3217 esac
3218     STRIP=$ac_ct_STRIP
3219   fi
3220 else
3221   STRIP="$ac_cv_prog_STRIP"
3225 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3228 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3229 if test -z "$MKDIR_P"; then
3230   if ${ac_cv_path_mkdir+:} false; then :
3231   $as_echo_n "(cached) " >&6
3232 else
3233   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3234 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3236   IFS=$as_save_IFS
3237   test -z "$as_dir" && as_dir=.
3238     for ac_prog in mkdir gmkdir; do
3239          for ac_exec_ext in '' $ac_executable_extensions; do
3240            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3241            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3242              'mkdir (GNU coreutils) '* | \
3243              'mkdir (coreutils) '* | \
3244              'mkdir (fileutils) '4.1*)
3245                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3246                break 3;;
3247            esac
3248          done
3249        done
3250   done
3251 IFS=$as_save_IFS
3255   test -d ./--version && rmdir ./--version
3256   if test "${ac_cv_path_mkdir+set}" = set; then
3257     MKDIR_P="$ac_cv_path_mkdir -p"
3258   else
3259     # As a last resort, use the slow shell script.  Don't cache a
3260     # value for MKDIR_P within a source directory, because that will
3261     # break other packages using the cache if that directory is
3262     # removed, or if the value is a relative name.
3263     MKDIR_P="$ac_install_sh -d"
3264   fi
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3267 $as_echo "$MKDIR_P" >&6; }
3269 mkdir_p="$MKDIR_P"
3270 case $mkdir_p in
3271   [\\/$]* | ?:[\\/]*) ;;
3272   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3273 esac
3275 for ac_prog in gawk mawk nawk awk
3277   # Extract the first word of "$ac_prog", so it can be a program name with args.
3278 set dummy $ac_prog; ac_word=$2
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3280 $as_echo_n "checking for $ac_word... " >&6; }
3281 if ${ac_cv_prog_AWK+:} false; then :
3282   $as_echo_n "(cached) " >&6
3283 else
3284   if test -n "$AWK"; then
3285   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3286 else
3287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3288 for as_dir in $PATH
3290   IFS=$as_save_IFS
3291   test -z "$as_dir" && as_dir=.
3292     for ac_exec_ext in '' $ac_executable_extensions; do
3293   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3294     ac_cv_prog_AWK="$ac_prog"
3295     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3296     break 2
3297   fi
3298 done
3299   done
3300 IFS=$as_save_IFS
3304 AWK=$ac_cv_prog_AWK
3305 if test -n "$AWK"; then
3306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3307 $as_echo "$AWK" >&6; }
3308 else
3309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3310 $as_echo "no" >&6; }
3314   test -n "$AWK" && break
3315 done
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3318 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3319 set x ${MAKE-make}
3320 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3321 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3322   $as_echo_n "(cached) " >&6
3323 else
3324   cat >conftest.make <<\_ACEOF
3325 SHELL = /bin/sh
3326 all:
3327         @echo '@@@%%%=$(MAKE)=@@@%%%'
3328 _ACEOF
3329 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3330 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3331   *@@@%%%=?*=@@@%%%*)
3332     eval ac_cv_prog_make_${ac_make}_set=yes;;
3333   *)
3334     eval ac_cv_prog_make_${ac_make}_set=no;;
3335 esac
3336 rm -f conftest.make
3338 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3340 $as_echo "yes" >&6; }
3341   SET_MAKE=
3342 else
3343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3344 $as_echo "no" >&6; }
3345   SET_MAKE="MAKE=${MAKE-make}"
3348 rm -rf .tst 2>/dev/null
3349 mkdir .tst 2>/dev/null
3350 if test -d .tst; then
3351   am__leading_dot=.
3352 else
3353   am__leading_dot=_
3355 rmdir .tst 2>/dev/null
3357 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3358   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3359   # is not polluted with repeated "-I."
3360   am__isrc=' -I$(srcdir)'
3361   # test to see if srcdir already configured
3362   if test -f $srcdir/config.status; then
3363     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3364   fi
3367 # test whether we have cygpath
3368 if test -z "$CYGPATH_W"; then
3369   if (cygpath --version) >/dev/null 2>/dev/null; then
3370     CYGPATH_W='cygpath -w'
3371   else
3372     CYGPATH_W=echo
3373   fi
3377 # Define the identity of the package.
3378  PACKAGE='alpine'
3379  VERSION='2.19.2'
3382 cat >>confdefs.h <<_ACEOF
3383 @%:@define PACKAGE "$PACKAGE"
3384 _ACEOF
3387 cat >>confdefs.h <<_ACEOF
3388 @%:@define VERSION "$VERSION"
3389 _ACEOF
3391 # Some tools Automake needs.
3393 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3396 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3399 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3402 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3405 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3407 # We need awk for the "check" target.  The system "awk" is bad on
3408 # some platforms.
3409 # Always define AMTAR for backward compatibility.
3411 AMTAR=${AMTAR-"${am_missing_run}tar"}
3413 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3422 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3423     @%:@ Check whether --enable-maintainer-mode was given.
3424 if test "${enable_maintainer_mode+set}" = set; then :
3425   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3426 else
3427   USE_MAINTAINER_MODE=no
3430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3431 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3432    if test $USE_MAINTAINER_MODE = yes; then
3433   MAINTAINER_MODE_TRUE=
3434   MAINTAINER_MODE_FALSE='#'
3435 else
3436   MAINTAINER_MODE_TRUE='#'
3437   MAINTAINER_MODE_FALSE=
3440   MAINT=$MAINTAINER_MODE_TRUE
3441   
3444 # Make sure we can run config.sub.
3445 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3446   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3449 $as_echo_n "checking build system type... " >&6; }
3450 if ${ac_cv_build+:} false; then :
3451   $as_echo_n "(cached) " >&6
3452 else
3453   ac_build_alias=$build_alias
3454 test "x$ac_build_alias" = x &&
3455   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3456 test "x$ac_build_alias" = x &&
3457   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3458 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3459   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3463 $as_echo "$ac_cv_build" >&6; }
3464 case $ac_cv_build in
3465 *-*-*) ;;
3466 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3467 esac
3468 build=$ac_cv_build
3469 ac_save_IFS=$IFS; IFS='-'
3470 set x $ac_cv_build
3471 shift
3472 build_cpu=$1
3473 build_vendor=$2
3474 shift; shift
3475 # Remember, the first character of IFS is used to create $*,
3476 # except with old shells:
3477 build_os=$*
3478 IFS=$ac_save_IFS
3479 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3483 $as_echo_n "checking host system type... " >&6; }
3484 if ${ac_cv_host+:} false; then :
3485   $as_echo_n "(cached) " >&6
3486 else
3487   if test "x$host_alias" = x; then
3488   ac_cv_host=$ac_cv_build
3489 else
3490   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3491     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3496 $as_echo "$ac_cv_host" >&6; }
3497 case $ac_cv_host in
3498 *-*-*) ;;
3499 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3500 esac
3501 host=$ac_cv_host
3502 ac_save_IFS=$IFS; IFS='-'
3503 set x $ac_cv_host
3504 shift
3505 host_cpu=$1
3506 host_vendor=$2
3507 shift; shift
3508 # Remember, the first character of IFS is used to create $*,
3509 # except with old shells:
3510 host_os=$*
3511 IFS=$ac_save_IFS
3512 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3516 ac_ext=c
3517 ac_cpp='$CPP $CPPFLAGS'
3518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring for $PACKAGE_STRING ($host))" >&5
3524 $as_echo "$as_me: Configuring for $PACKAGE_STRING ($host))" >&6;}
3526 # start out with intent to build Web Alpine
3527 WEB_BUILD=web/src/alpined.d
3530 ac_ext=c
3531 ac_cpp='$CPP $CPPFLAGS'
3532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3535 if test -n "$ac_tool_prefix"; then
3536   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3537 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3539 $as_echo_n "checking for $ac_word... " >&6; }
3540 if ${ac_cv_prog_CC+:} false; then :
3541   $as_echo_n "(cached) " >&6
3542 else
3543   if test -n "$CC"; then
3544   ac_cv_prog_CC="$CC" # Let the user override the test.
3545 else
3546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3547 for as_dir in $PATH
3549   IFS=$as_save_IFS
3550   test -z "$as_dir" && as_dir=.
3551     for ac_exec_ext in '' $ac_executable_extensions; do
3552   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3553     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3554     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3555     break 2
3556   fi
3557 done
3558   done
3559 IFS=$as_save_IFS
3563 CC=$ac_cv_prog_CC
3564 if test -n "$CC"; then
3565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3566 $as_echo "$CC" >&6; }
3567 else
3568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3569 $as_echo "no" >&6; }
3574 if test -z "$ac_cv_prog_CC"; then
3575   ac_ct_CC=$CC
3576   # Extract the first word of "gcc", so it can be a program name with args.
3577 set dummy gcc; ac_word=$2
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3579 $as_echo_n "checking for $ac_word... " >&6; }
3580 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3581   $as_echo_n "(cached) " >&6
3582 else
3583   if test -n "$ac_ct_CC"; then
3584   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3585 else
3586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3587 for as_dir in $PATH
3589   IFS=$as_save_IFS
3590   test -z "$as_dir" && as_dir=.
3591     for ac_exec_ext in '' $ac_executable_extensions; do
3592   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3593     ac_cv_prog_ac_ct_CC="gcc"
3594     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3595     break 2
3596   fi
3597 done
3598   done
3599 IFS=$as_save_IFS
3603 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3604 if test -n "$ac_ct_CC"; then
3605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3606 $as_echo "$ac_ct_CC" >&6; }
3607 else
3608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3609 $as_echo "no" >&6; }
3612   if test "x$ac_ct_CC" = x; then
3613     CC=""
3614   else
3615     case $cross_compiling:$ac_tool_warned in
3616 yes:)
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3618 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3619 ac_tool_warned=yes ;;
3620 esac
3621     CC=$ac_ct_CC
3622   fi
3623 else
3624   CC="$ac_cv_prog_CC"
3627 if test -z "$CC"; then
3628           if test -n "$ac_tool_prefix"; then
3629     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3630 set dummy ${ac_tool_prefix}cc; ac_word=$2
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3632 $as_echo_n "checking for $ac_word... " >&6; }
3633 if ${ac_cv_prog_CC+:} false; then :
3634   $as_echo_n "(cached) " >&6
3635 else
3636   if test -n "$CC"; then
3637   ac_cv_prog_CC="$CC" # Let the user override the test.
3638 else
3639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3640 for as_dir in $PATH
3642   IFS=$as_save_IFS
3643   test -z "$as_dir" && as_dir=.
3644     for ac_exec_ext in '' $ac_executable_extensions; do
3645   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3646     ac_cv_prog_CC="${ac_tool_prefix}cc"
3647     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3648     break 2
3649   fi
3650 done
3651   done
3652 IFS=$as_save_IFS
3656 CC=$ac_cv_prog_CC
3657 if test -n "$CC"; then
3658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3659 $as_echo "$CC" >&6; }
3660 else
3661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3662 $as_echo "no" >&6; }
3666   fi
3668 if test -z "$CC"; then
3669   # Extract the first word of "cc", so it can be a program name with args.
3670 set dummy cc; ac_word=$2
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3672 $as_echo_n "checking for $ac_word... " >&6; }
3673 if ${ac_cv_prog_CC+:} false; then :
3674   $as_echo_n "(cached) " >&6
3675 else
3676   if test -n "$CC"; then
3677   ac_cv_prog_CC="$CC" # Let the user override the test.
3678 else
3679   ac_prog_rejected=no
3680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3681 for as_dir in $PATH
3683   IFS=$as_save_IFS
3684   test -z "$as_dir" && as_dir=.
3685     for ac_exec_ext in '' $ac_executable_extensions; do
3686   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3687     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3688        ac_prog_rejected=yes
3689        continue
3690      fi
3691     ac_cv_prog_CC="cc"
3692     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3693     break 2
3694   fi
3695 done
3696   done
3697 IFS=$as_save_IFS
3699 if test $ac_prog_rejected = yes; then
3700   # We found a bogon in the path, so make sure we never use it.
3701   set dummy $ac_cv_prog_CC
3702   shift
3703   if test $@%:@ != 0; then
3704     # We chose a different compiler from the bogus one.
3705     # However, it has the same basename, so the bogon will be chosen
3706     # first if we set CC to just the basename; use the full file name.
3707     shift
3708     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3709   fi
3713 CC=$ac_cv_prog_CC
3714 if test -n "$CC"; then
3715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3716 $as_echo "$CC" >&6; }
3717 else
3718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3719 $as_echo "no" >&6; }
3724 if test -z "$CC"; then
3725   if test -n "$ac_tool_prefix"; then
3726   for ac_prog in cl.exe
3727   do
3728     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3729 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3731 $as_echo_n "checking for $ac_word... " >&6; }
3732 if ${ac_cv_prog_CC+:} false; then :
3733   $as_echo_n "(cached) " >&6
3734 else
3735   if test -n "$CC"; then
3736   ac_cv_prog_CC="$CC" # Let the user override the test.
3737 else
3738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3739 for as_dir in $PATH
3741   IFS=$as_save_IFS
3742   test -z "$as_dir" && as_dir=.
3743     for ac_exec_ext in '' $ac_executable_extensions; do
3744   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3745     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3746     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3747     break 2
3748   fi
3749 done
3750   done
3751 IFS=$as_save_IFS
3755 CC=$ac_cv_prog_CC
3756 if test -n "$CC"; then
3757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3758 $as_echo "$CC" >&6; }
3759 else
3760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3761 $as_echo "no" >&6; }
3765     test -n "$CC" && break
3766   done
3768 if test -z "$CC"; then
3769   ac_ct_CC=$CC
3770   for ac_prog in cl.exe
3772   # Extract the first word of "$ac_prog", so it can be a program name with args.
3773 set dummy $ac_prog; ac_word=$2
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3775 $as_echo_n "checking for $ac_word... " >&6; }
3776 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3777   $as_echo_n "(cached) " >&6
3778 else
3779   if test -n "$ac_ct_CC"; then
3780   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3781 else
3782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3783 for as_dir in $PATH
3785   IFS=$as_save_IFS
3786   test -z "$as_dir" && as_dir=.
3787     for ac_exec_ext in '' $ac_executable_extensions; do
3788   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3789     ac_cv_prog_ac_ct_CC="$ac_prog"
3790     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3791     break 2
3792   fi
3793 done
3794   done
3795 IFS=$as_save_IFS
3799 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3800 if test -n "$ac_ct_CC"; then
3801   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3802 $as_echo "$ac_ct_CC" >&6; }
3803 else
3804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3805 $as_echo "no" >&6; }
3809   test -n "$ac_ct_CC" && break
3810 done
3812   if test "x$ac_ct_CC" = x; then
3813     CC=""
3814   else
3815     case $cross_compiling:$ac_tool_warned in
3816 yes:)
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3818 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3819 ac_tool_warned=yes ;;
3820 esac
3821     CC=$ac_ct_CC
3822   fi
3828 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3829 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3830 as_fn_error $? "no acceptable C compiler found in \$PATH
3831 See \`config.log' for more details" "$LINENO" 5; }
3833 # Provide some information about the compiler.
3834 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3835 set X $ac_compile
3836 ac_compiler=$2
3837 for ac_option in --version -v -V -qversion; do
3838   { { ac_try="$ac_compiler $ac_option >&5"
3839 case "(($ac_try" in
3840   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3841   *) ac_try_echo=$ac_try;;
3842 esac
3843 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3844 $as_echo "$ac_try_echo"; } >&5
3845   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3846   ac_status=$?
3847   if test -s conftest.err; then
3848     sed '10a\
3849 ... rest of stderr output deleted ...
3850          10q' conftest.err >conftest.er1
3851     cat conftest.er1 >&5
3852   fi
3853   rm -f conftest.er1 conftest.err
3854   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3855   test $ac_status = 0; }
3856 done
3858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3859 /* end confdefs.h.  */
3862 main ()
3865   ;
3866   return 0;
3868 _ACEOF
3869 ac_clean_files_save=$ac_clean_files
3870 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3871 # Try to create an executable without -o first, disregard a.out.
3872 # It will help us diagnose broken compilers, and finding out an intuition
3873 # of exeext.
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3875 $as_echo_n "checking whether the C compiler works... " >&6; }
3876 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3878 # The possible output files:
3879 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3881 ac_rmfiles=
3882 for ac_file in $ac_files
3884   case $ac_file in
3885     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3886     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3887   esac
3888 done
3889 rm -f $ac_rmfiles
3891 if { { ac_try="$ac_link_default"
3892 case "(($ac_try" in
3893   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3894   *) ac_try_echo=$ac_try;;
3895 esac
3896 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3897 $as_echo "$ac_try_echo"; } >&5
3898   (eval "$ac_link_default") 2>&5
3899   ac_status=$?
3900   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3901   test $ac_status = 0; }; then :
3902   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3903 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3904 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3905 # so that the user can short-circuit this test for compilers unknown to
3906 # Autoconf.
3907 for ac_file in $ac_files ''
3909   test -f "$ac_file" || continue
3910   case $ac_file in
3911     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3912         ;;
3913     [ab].out )
3914         # We found the default executable, but exeext='' is most
3915         # certainly right.
3916         break;;
3917     *.* )
3918         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3919         then :; else
3920            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3921         fi
3922         # We set ac_cv_exeext here because the later test for it is not
3923         # safe: cross compilers may not add the suffix if given an `-o'
3924         # argument, so we may need to know it at that point already.
3925         # Even if this section looks crufty: it has the advantage of
3926         # actually working.
3927         break;;
3928     * )
3929         break;;
3930   esac
3931 done
3932 test "$ac_cv_exeext" = no && ac_cv_exeext=
3934 else
3935   ac_file=''
3937 if test -z "$ac_file"; then :
3938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3939 $as_echo "no" >&6; }
3940 $as_echo "$as_me: failed program was:" >&5
3941 sed 's/^/| /' conftest.$ac_ext >&5
3943 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3944 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3945 as_fn_error 77 "C compiler cannot create executables
3946 See \`config.log' for more details" "$LINENO" 5; }
3947 else
3948   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3949 $as_echo "yes" >&6; }
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3952 $as_echo_n "checking for C compiler default output file name... " >&6; }
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3954 $as_echo "$ac_file" >&6; }
3955 ac_exeext=$ac_cv_exeext
3957 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3958 ac_clean_files=$ac_clean_files_save
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3960 $as_echo_n "checking for suffix of executables... " >&6; }
3961 if { { ac_try="$ac_link"
3962 case "(($ac_try" in
3963   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3964   *) ac_try_echo=$ac_try;;
3965 esac
3966 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3967 $as_echo "$ac_try_echo"; } >&5
3968   (eval "$ac_link") 2>&5
3969   ac_status=$?
3970   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3971   test $ac_status = 0; }; then :
3972   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3973 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3974 # work properly (i.e., refer to `conftest.exe'), while it won't with
3975 # `rm'.
3976 for ac_file in conftest.exe conftest conftest.*; do
3977   test -f "$ac_file" || continue
3978   case $ac_file in
3979     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3980     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3981           break;;
3982     * ) break;;
3983   esac
3984 done
3985 else
3986   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3987 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3988 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3989 See \`config.log' for more details" "$LINENO" 5; }
3991 rm -f conftest conftest$ac_cv_exeext
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3993 $as_echo "$ac_cv_exeext" >&6; }
3995 rm -f conftest.$ac_ext
3996 EXEEXT=$ac_cv_exeext
3997 ac_exeext=$EXEEXT
3998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3999 /* end confdefs.h.  */
4000 @%:@include <stdio.h>
4002 main ()
4004 FILE *f = fopen ("conftest.out", "w");
4005  return ferror (f) || fclose (f) != 0;
4007   ;
4008   return 0;
4010 _ACEOF
4011 ac_clean_files="$ac_clean_files conftest.out"
4012 # Check that the compiler produces executables we can run.  If not, either
4013 # the compiler is broken, or we cross compile.
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4015 $as_echo_n "checking whether we are cross compiling... " >&6; }
4016 if test "$cross_compiling" != yes; then
4017   { { ac_try="$ac_link"
4018 case "(($ac_try" in
4019   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4020   *) ac_try_echo=$ac_try;;
4021 esac
4022 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4023 $as_echo "$ac_try_echo"; } >&5
4024   (eval "$ac_link") 2>&5
4025   ac_status=$?
4026   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4027   test $ac_status = 0; }
4028   if { ac_try='./conftest$ac_cv_exeext'
4029   { { case "(($ac_try" in
4030   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4031   *) ac_try_echo=$ac_try;;
4032 esac
4033 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4034 $as_echo "$ac_try_echo"; } >&5
4035   (eval "$ac_try") 2>&5
4036   ac_status=$?
4037   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4038   test $ac_status = 0; }; }; then
4039     cross_compiling=no
4040   else
4041     if test "$cross_compiling" = maybe; then
4042         cross_compiling=yes
4043     else
4044         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4045 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4046 as_fn_error $? "cannot run C compiled programs.
4047 If you meant to cross compile, use \`--host'.
4048 See \`config.log' for more details" "$LINENO" 5; }
4049     fi
4050   fi
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4053 $as_echo "$cross_compiling" >&6; }
4055 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4056 ac_clean_files=$ac_clean_files_save
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4058 $as_echo_n "checking for suffix of object files... " >&6; }
4059 if ${ac_cv_objext+:} false; then :
4060   $as_echo_n "(cached) " >&6
4061 else
4062   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4063 /* end confdefs.h.  */
4066 main ()
4069   ;
4070   return 0;
4072 _ACEOF
4073 rm -f conftest.o conftest.obj
4074 if { { ac_try="$ac_compile"
4075 case "(($ac_try" in
4076   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4077   *) ac_try_echo=$ac_try;;
4078 esac
4079 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4080 $as_echo "$ac_try_echo"; } >&5
4081   (eval "$ac_compile") 2>&5
4082   ac_status=$?
4083   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4084   test $ac_status = 0; }; then :
4085   for ac_file in conftest.o conftest.obj conftest.*; do
4086   test -f "$ac_file" || continue;
4087   case $ac_file in
4088     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4089     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4090        break;;
4091   esac
4092 done
4093 else
4094   $as_echo "$as_me: failed program was:" >&5
4095 sed 's/^/| /' conftest.$ac_ext >&5
4097 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4098 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4099 as_fn_error $? "cannot compute suffix of object files: cannot compile
4100 See \`config.log' for more details" "$LINENO" 5; }
4102 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4105 $as_echo "$ac_cv_objext" >&6; }
4106 OBJEXT=$ac_cv_objext
4107 ac_objext=$OBJEXT
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4109 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4110 if ${ac_cv_c_compiler_gnu+:} false; then :
4111   $as_echo_n "(cached) " >&6
4112 else
4113   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4114 /* end confdefs.h.  */
4117 main ()
4119 #ifndef __GNUC__
4120        choke me
4121 #endif
4123   ;
4124   return 0;
4126 _ACEOF
4127 if ac_fn_c_try_compile "$LINENO"; then :
4128   ac_compiler_gnu=yes
4129 else
4130   ac_compiler_gnu=no
4132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4133 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4137 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4138 if test $ac_compiler_gnu = yes; then
4139   GCC=yes
4140 else
4141   GCC=
4143 ac_test_CFLAGS=${CFLAGS+set}
4144 ac_save_CFLAGS=$CFLAGS
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4146 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4147 if ${ac_cv_prog_cc_g+:} false; then :
4148   $as_echo_n "(cached) " >&6
4149 else
4150   ac_save_c_werror_flag=$ac_c_werror_flag
4151    ac_c_werror_flag=yes
4152    ac_cv_prog_cc_g=no
4153    CFLAGS="-g"
4154    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4155 /* end confdefs.h.  */
4158 main ()
4161   ;
4162   return 0;
4164 _ACEOF
4165 if ac_fn_c_try_compile "$LINENO"; then :
4166   ac_cv_prog_cc_g=yes
4167 else
4168   CFLAGS=""
4169       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4170 /* end confdefs.h.  */
4173 main ()
4176   ;
4177   return 0;
4179 _ACEOF
4180 if ac_fn_c_try_compile "$LINENO"; then :
4181   
4182 else
4183   ac_c_werror_flag=$ac_save_c_werror_flag
4184          CFLAGS="-g"
4185          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4186 /* end confdefs.h.  */
4189 main ()
4192   ;
4193   return 0;
4195 _ACEOF
4196 if ac_fn_c_try_compile "$LINENO"; then :
4197   ac_cv_prog_cc_g=yes
4199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4204    ac_c_werror_flag=$ac_save_c_werror_flag
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4207 $as_echo "$ac_cv_prog_cc_g" >&6; }
4208 if test "$ac_test_CFLAGS" = set; then
4209   CFLAGS=$ac_save_CFLAGS
4210 elif test $ac_cv_prog_cc_g = yes; then
4211   if test "$GCC" = yes; then
4212     CFLAGS="-g -O2"
4213   else
4214     CFLAGS="-g"
4215   fi
4216 else
4217   if test "$GCC" = yes; then
4218     CFLAGS="-O2"
4219   else
4220     CFLAGS=
4221   fi
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4224 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4225 if ${ac_cv_prog_cc_c89+:} false; then :
4226   $as_echo_n "(cached) " >&6
4227 else
4228   ac_cv_prog_cc_c89=no
4229 ac_save_CC=$CC
4230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4231 /* end confdefs.h.  */
4232 #include <stdarg.h>
4233 #include <stdio.h>
4234 struct stat;
4235 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4236 struct buf { int x; };
4237 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4238 static char *e (p, i)
4239      char **p;
4240      int i;
4242   return p[i];
4244 static char *f (char * (*g) (char **, int), char **p, ...)
4246   char *s;
4247   va_list v;
4248   va_start (v,p);
4249   s = g (p, va_arg (v,int));
4250   va_end (v);
4251   return s;
4254 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4255    function prototypes and stuff, but not '\xHH' hex character constants.
4256    These don't provoke an error unfortunately, instead are silently treated
4257    as 'x'.  The following induces an error, until -std is added to get
4258    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4259    array size at least.  It's necessary to write '\x00'==0 to get something
4260    that's true only with -std.  */
4261 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4263 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4264    inside strings and character constants.  */
4265 #define FOO(x) 'x'
4266 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4268 int test (int i, double x);
4269 struct s1 {int (*f) (int a);};
4270 struct s2 {int (*f) (double a);};
4271 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4272 int argc;
4273 char **argv;
4275 main ()
4277 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4278   ;
4279   return 0;
4281 _ACEOF
4282 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4283         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4285   CC="$ac_save_CC $ac_arg"
4286   if ac_fn_c_try_compile "$LINENO"; then :
4287   ac_cv_prog_cc_c89=$ac_arg
4289 rm -f core conftest.err conftest.$ac_objext
4290   test "x$ac_cv_prog_cc_c89" != "xno" && break
4291 done
4292 rm -f conftest.$ac_ext
4293 CC=$ac_save_CC
4296 # AC_CACHE_VAL
4297 case "x$ac_cv_prog_cc_c89" in
4298   x)
4299     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4300 $as_echo "none needed" >&6; } ;;
4301   xno)
4302     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4303 $as_echo "unsupported" >&6; } ;;
4304   *)
4305     CC="$CC $ac_cv_prog_cc_c89"
4306     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4307 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4308 esac
4309 if test "x$ac_cv_prog_cc_c89" != xno; then :
4310   
4313 ac_ext=c
4314 ac_cpp='$CPP $CPPFLAGS'
4315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4318 DEPDIR="${am__leading_dot}deps"
4320 ac_config_commands="$ac_config_commands depfiles"
4323 am_make=${MAKE-make}
4324 cat > confinc << 'END'
4325 am__doit:
4326         @echo this is the am__doit target
4327 .PHONY: am__doit
4329 # If we don't find an include directive, just comment out the code.
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4331 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4332 am__include="#"
4333 am__quote=
4334 _am_result=none
4335 # First try GNU make style include.
4336 echo "include confinc" > confmf
4337 # Ignore all kinds of additional output from `make'.
4338 case `$am_make -s -f confmf 2> /dev/null` in #(
4339 *the\ am__doit\ target*)
4340   am__include=include
4341   am__quote=
4342   _am_result=GNU
4343   ;;
4344 esac
4345 # Now try BSD make style include.
4346 if test "$am__include" = "#"; then
4347    echo '.include "confinc"' > confmf
4348    case `$am_make -s -f confmf 2> /dev/null` in #(
4349    *the\ am__doit\ target*)
4350      am__include=.include
4351      am__quote="\""
4352      _am_result=BSD
4353      ;;
4354    esac
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4359 $as_echo "$_am_result" >&6; }
4360 rm -f confinc confmf
4362 @%:@ Check whether --enable-dependency-tracking was given.
4363 if test "${enable_dependency_tracking+set}" = set; then :
4364   enableval=$enable_dependency_tracking; 
4367 if test "x$enable_dependency_tracking" != xno; then
4368   am_depcomp="$ac_aux_dir/depcomp"
4369   AMDEPBACKSLASH='\'
4371  if test "x$enable_dependency_tracking" != xno; then
4372   AMDEP_TRUE=
4373   AMDEP_FALSE='#'
4374 else
4375   AMDEP_TRUE='#'
4376   AMDEP_FALSE=
4381 depcc="$CC"   am_compiler_list=
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4384 $as_echo_n "checking dependency style of $depcc... " >&6; }
4385 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4386   $as_echo_n "(cached) " >&6
4387 else
4388   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4389   # We make a subdir and do the tests there.  Otherwise we can end up
4390   # making bogus files that we don't know about and never remove.  For
4391   # instance it was reported that on HP-UX the gcc test will end up
4392   # making a dummy file named `D' -- because `-MD' means `put the output
4393   # in D'.
4394   mkdir conftest.dir
4395   # Copy depcomp to subdir because otherwise we won't find it if we're
4396   # using a relative directory.
4397   cp "$am_depcomp" conftest.dir
4398   cd conftest.dir
4399   # We will build objects and dependencies in a subdirectory because
4400   # it helps to detect inapplicable dependency modes.  For instance
4401   # both Tru64's cc and ICC support -MD to output dependencies as a
4402   # side effect of compilation, but ICC will put the dependencies in
4403   # the current directory while Tru64 will put them in the object
4404   # directory.
4405   mkdir sub
4407   am_cv_CC_dependencies_compiler_type=none
4408   if test "$am_compiler_list" = ""; then
4409      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4410   fi
4411   am__universal=false
4412   case " $depcc " in #(
4413      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4414      esac
4416   for depmode in $am_compiler_list; do
4417     # Setup a source with many dependencies, because some compilers
4418     # like to wrap large dependency lists on column 80 (with \), and
4419     # we should not choose a depcomp mode which is confused by this.
4420     #
4421     # We need to recreate these files for each test, as the compiler may
4422     # overwrite some of them when testing with obscure command lines.
4423     # This happens at least with the AIX C compiler.
4424     : > sub/conftest.c
4425     for i in 1 2 3 4 5 6; do
4426       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4427       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4428       # Solaris 8's {/usr,}/bin/sh.
4429       touch sub/conftst$i.h
4430     done
4431     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4433     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4434     # mode.  It turns out that the SunPro C++ compiler does not properly
4435     # handle `-M -o', and we need to detect this.  Also, some Intel
4436     # versions had trouble with output in subdirs
4437     am__obj=sub/conftest.${OBJEXT-o}
4438     am__minus_obj="-o $am__obj"
4439     case $depmode in
4440     gcc)
4441       # This depmode causes a compiler race in universal mode.
4442       test "$am__universal" = false || continue
4443       ;;
4444     nosideeffect)
4445       # after this tag, mechanisms are not by side-effect, so they'll
4446       # only be used when explicitly requested
4447       if test "x$enable_dependency_tracking" = xyes; then
4448         continue
4449       else
4450         break
4451       fi
4452       ;;
4453     msvisualcpp | msvcmsys)
4454       # This compiler won't grok `-c -o', but also, the minuso test has
4455       # not run yet.  These depmodes are late enough in the game, and
4456       # so weak that their functioning should not be impacted.
4457       am__obj=conftest.${OBJEXT-o}
4458       am__minus_obj=
4459       ;;
4460     none) break ;;
4461     esac
4462     if depmode=$depmode \
4463        source=sub/conftest.c object=$am__obj \
4464        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4465        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4466          >/dev/null 2>conftest.err &&
4467        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4468        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4469        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4470        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4471       # icc doesn't choke on unknown options, it will just issue warnings
4472       # or remarks (even with -Werror).  So we grep stderr for any message
4473       # that says an option was ignored or not supported.
4474       # When given -MP, icc 7.0 and 7.1 complain thusly:
4475       #   icc: Command line warning: ignoring option '-M'; no argument required
4476       # The diagnosis changed in icc 8.0:
4477       #   icc: Command line remark: option '-MP' not supported
4478       if (grep 'ignoring option' conftest.err ||
4479           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4480         am_cv_CC_dependencies_compiler_type=$depmode
4481         break
4482       fi
4483     fi
4484   done
4486   cd ..
4487   rm -rf conftest.dir
4488 else
4489   am_cv_CC_dependencies_compiler_type=none
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4494 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4495 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4497  if 
4498   test "x$enable_dependency_tracking" != xno \
4499   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4500   am__fastdepCC_TRUE=
4501   am__fastdepCC_FALSE='#'
4502 else
4503   am__fastdepCC_TRUE='#'
4504   am__fastdepCC_FALSE=
4508    case $ac_cv_prog_cc_stdc in @%:@(
4509   no) :
4510     ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; @%:@(
4511   *) :
4512     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4513 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4514 if ${ac_cv_prog_cc_c99+:} false; then :
4515   $as_echo_n "(cached) " >&6
4516 else
4517   ac_cv_prog_cc_c99=no
4518 ac_save_CC=$CC
4519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4520 /* end confdefs.h.  */
4521 #include <stdarg.h>
4522 #include <stdbool.h>
4523 #include <stdlib.h>
4524 #include <wchar.h>
4525 #include <stdio.h>
4527 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
4528 #define debug(...) fprintf (stderr, __VA_ARGS__)
4529 #define showlist(...) puts (#__VA_ARGS__)
4530 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4531 static void
4532 test_varargs_macros (void)
4534   int x = 1234;
4535   int y = 5678;
4536   debug ("Flag");
4537   debug ("X = %d\n", x);
4538   showlist (The first, second, and third items.);
4539   report (x>y, "x is %d but y is %d", x, y);
4542 // Check long long types.
4543 #define BIG64 18446744073709551615ull
4544 #define BIG32 4294967295ul
4545 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4546 #if !BIG_OK
4547   your preprocessor is broken;
4548 #endif
4549 #if BIG_OK
4550 #else
4551   your preprocessor is broken;
4552 #endif
4553 static long long int bignum = -9223372036854775807LL;
4554 static unsigned long long int ubignum = BIG64;
4556 struct incomplete_array
4558   int datasize;
4559   double data[];
4562 struct named_init {
4563   int number;
4564   const wchar_t *name;
4565   double average;
4568 typedef const char *ccp;
4570 static inline int
4571 test_restrict (ccp restrict text)
4573   // See if C++-style comments work.
4574   // Iterate through items via the restricted pointer.
4575   // Also check for declarations in for loops.
4576   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4577     continue;
4578   return 0;
4581 // Check varargs and va_copy.
4582 static void
4583 test_varargs (const char *format, ...)
4585   va_list args;
4586   va_start (args, format);
4587   va_list args_copy;
4588   va_copy (args_copy, args);
4590   const char *str;
4591   int number;
4592   float fnumber;
4594   while (*format)
4595     {
4596       switch (*format++)
4597         {
4598         case 's': // string
4599           str = va_arg (args_copy, const char *);
4600           break;
4601         case 'd': // int
4602           number = va_arg (args_copy, int);
4603           break;
4604         case 'f': // float
4605           fnumber = va_arg (args_copy, double);
4606           break;
4607         default:
4608           break;
4609         }
4610     }
4611   va_end (args_copy);
4612   va_end (args);
4616 main ()
4619   // Check bool.
4620   _Bool success = false;
4622   // Check restrict.
4623   if (test_restrict ("String literal") == 0)
4624     success = true;
4625   char *restrict newvar = "Another string";
4627   // Check varargs.
4628   test_varargs ("s, d' f .", "string", 65, 34.234);
4629   test_varargs_macros ();
4631   // Check flexible array members.
4632   struct incomplete_array *ia =
4633     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4634   ia->datasize = 10;
4635   for (int i = 0; i < ia->datasize; ++i)
4636     ia->data[i] = i * 1.234;
4638   // Check named initializers.
4639   struct named_init ni = {
4640     .number = 34,
4641     .name = L"Test wide string",
4642     .average = 543.34343,
4643   };
4645   ni.number = 58;
4647   int dynamic_array[ni.number];
4648   dynamic_array[ni.number - 1] = 543;
4650   // work around unused variable warnings
4651   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4652           || dynamic_array[ni.number - 1] != 543);
4654   ;
4655   return 0;
4657 _ACEOF
4658 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4660   CC="$ac_save_CC $ac_arg"
4661   if ac_fn_c_try_compile "$LINENO"; then :
4662   ac_cv_prog_cc_c99=$ac_arg
4664 rm -f core conftest.err conftest.$ac_objext
4665   test "x$ac_cv_prog_cc_c99" != "xno" && break
4666 done
4667 rm -f conftest.$ac_ext
4668 CC=$ac_save_CC
4671 # AC_CACHE_VAL
4672 case "x$ac_cv_prog_cc_c99" in
4673   x)
4674     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4675 $as_echo "none needed" >&6; } ;;
4676   xno)
4677     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4678 $as_echo "unsupported" >&6; } ;;
4679   *)
4680     CC="$CC $ac_cv_prog_cc_c99"
4681     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4682 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4683 esac
4684 if test "x$ac_cv_prog_cc_c99" != xno; then :
4685   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4686 else
4687   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4688 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4689 if ${ac_cv_prog_cc_c89+:} false; then :
4690   $as_echo_n "(cached) " >&6
4691 else
4692   ac_cv_prog_cc_c89=no
4693 ac_save_CC=$CC
4694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4695 /* end confdefs.h.  */
4696 #include <stdarg.h>
4697 #include <stdio.h>
4698 struct stat;
4699 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4700 struct buf { int x; };
4701 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4702 static char *e (p, i)
4703      char **p;
4704      int i;
4706   return p[i];
4708 static char *f (char * (*g) (char **, int), char **p, ...)
4710   char *s;
4711   va_list v;
4712   va_start (v,p);
4713   s = g (p, va_arg (v,int));
4714   va_end (v);
4715   return s;
4718 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4719    function prototypes and stuff, but not '\xHH' hex character constants.
4720    These don't provoke an error unfortunately, instead are silently treated
4721    as 'x'.  The following induces an error, until -std is added to get
4722    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4723    array size at least.  It's necessary to write '\x00'==0 to get something
4724    that's true only with -std.  */
4725 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4727 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4728    inside strings and character constants.  */
4729 #define FOO(x) 'x'
4730 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4732 int test (int i, double x);
4733 struct s1 {int (*f) (int a);};
4734 struct s2 {int (*f) (double a);};
4735 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4736 int argc;
4737 char **argv;
4739 main ()
4741 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4742   ;
4743   return 0;
4745 _ACEOF
4746 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4747         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4749   CC="$ac_save_CC $ac_arg"
4750   if ac_fn_c_try_compile "$LINENO"; then :
4751   ac_cv_prog_cc_c89=$ac_arg
4753 rm -f core conftest.err conftest.$ac_objext
4754   test "x$ac_cv_prog_cc_c89" != "xno" && break
4755 done
4756 rm -f conftest.$ac_ext
4757 CC=$ac_save_CC
4760 # AC_CACHE_VAL
4761 case "x$ac_cv_prog_cc_c89" in
4762   x)
4763     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4764 $as_echo "none needed" >&6; } ;;
4765   xno)
4766     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4767 $as_echo "unsupported" >&6; } ;;
4768   *)
4769     CC="$CC $ac_cv_prog_cc_c89"
4770     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4771 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4772 esac
4773 if test "x$ac_cv_prog_cc_c89" != xno; then :
4774   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4775 else
4776   ac_cv_prog_cc_stdc=no
4780  ;;
4781 esac
4782   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4783 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4784   if ${ac_cv_prog_cc_stdc+:} false; then :
4785   $as_echo_n "(cached) " >&6
4788   case $ac_cv_prog_cc_stdc in @%:@(
4789   no) :
4790     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4791 $as_echo "unsupported" >&6; } ;; @%:@(
4792   '') :
4793     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4794 $as_echo "none needed" >&6; } ;; @%:@(
4795   *) :
4796     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4797 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4798 esac
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4802 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4803 set x ${MAKE-make}
4804 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4805 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4806   $as_echo_n "(cached) " >&6
4807 else
4808   cat >conftest.make <<\_ACEOF
4809 SHELL = /bin/sh
4810 all:
4811         @echo '@@@%%%=$(MAKE)=@@@%%%'
4812 _ACEOF
4813 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4814 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4815   *@@@%%%=?*=@@@%%%*)
4816     eval ac_cv_prog_make_${ac_make}_set=yes;;
4817   *)
4818     eval ac_cv_prog_make_${ac_make}_set=no;;
4819 esac
4820 rm -f conftest.make
4822 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4824 $as_echo "yes" >&6; }
4825   SET_MAKE=
4826 else
4827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4828 $as_echo "no" >&6; }
4829   SET_MAKE="MAKE=${MAKE-make}"
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4833 $as_echo_n "checking whether ln -s works... " >&6; }
4834 LN_S=$as_ln_s
4835 if test "$LN_S" = "ln -s"; then
4836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4837 $as_echo "yes" >&6; }
4838 else
4839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4840 $as_echo "no, using $LN_S" >&6; }
4843 for ac_prog in gawk mawk nawk awk
4845   # Extract the first word of "$ac_prog", so it can be a program name with args.
4846 set dummy $ac_prog; ac_word=$2
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4848 $as_echo_n "checking for $ac_word... " >&6; }
4849 if ${ac_cv_prog_AWK+:} false; then :
4850   $as_echo_n "(cached) " >&6
4851 else
4852   if test -n "$AWK"; then
4853   ac_cv_prog_AWK="$AWK" # Let the user override the test.
4854 else
4855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4856 for as_dir in $PATH
4858   IFS=$as_save_IFS
4859   test -z "$as_dir" && as_dir=.
4860     for ac_exec_ext in '' $ac_executable_extensions; do
4861   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4862     ac_cv_prog_AWK="$ac_prog"
4863     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4864     break 2
4865   fi
4866 done
4867   done
4868 IFS=$as_save_IFS
4872 AWK=$ac_cv_prog_AWK
4873 if test -n "$AWK"; then
4874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4875 $as_echo "$AWK" >&6; }
4876 else
4877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4878 $as_echo "no" >&6; }
4882   test -n "$AWK" && break
4883 done
4885 if test -n "$ac_tool_prefix"; then
4886   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4887 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4889 $as_echo_n "checking for $ac_word... " >&6; }
4890 if ${ac_cv_prog_RANLIB+:} false; then :
4891   $as_echo_n "(cached) " >&6
4892 else
4893   if test -n "$RANLIB"; then
4894   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4895 else
4896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4897 for as_dir in $PATH
4899   IFS=$as_save_IFS
4900   test -z "$as_dir" && as_dir=.
4901     for ac_exec_ext in '' $ac_executable_extensions; do
4902   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4903     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4904     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4905     break 2
4906   fi
4907 done
4908   done
4909 IFS=$as_save_IFS
4913 RANLIB=$ac_cv_prog_RANLIB
4914 if test -n "$RANLIB"; then
4915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4916 $as_echo "$RANLIB" >&6; }
4917 else
4918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4919 $as_echo "no" >&6; }
4924 if test -z "$ac_cv_prog_RANLIB"; then
4925   ac_ct_RANLIB=$RANLIB
4926   # Extract the first word of "ranlib", so it can be a program name with args.
4927 set dummy ranlib; ac_word=$2
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4929 $as_echo_n "checking for $ac_word... " >&6; }
4930 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4931   $as_echo_n "(cached) " >&6
4932 else
4933   if test -n "$ac_ct_RANLIB"; then
4934   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4935 else
4936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4937 for as_dir in $PATH
4939   IFS=$as_save_IFS
4940   test -z "$as_dir" && as_dir=.
4941     for ac_exec_ext in '' $ac_executable_extensions; do
4942   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4943     ac_cv_prog_ac_ct_RANLIB="ranlib"
4944     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4945     break 2
4946   fi
4947 done
4948   done
4949 IFS=$as_save_IFS
4953 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4954 if test -n "$ac_ct_RANLIB"; then
4955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4956 $as_echo "$ac_ct_RANLIB" >&6; }
4957 else
4958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4959 $as_echo "no" >&6; }
4962   if test "x$ac_ct_RANLIB" = x; then
4963     RANLIB=":"
4964   else
4965     case $cross_compiling:$ac_tool_warned in
4966 yes:)
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4968 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4969 ac_tool_warned=yes ;;
4970 esac
4971     RANLIB=$ac_ct_RANLIB
4972   fi
4973 else
4974   RANLIB="$ac_cv_prog_RANLIB"
4977 case `pwd` in
4978   *\ * | *\     *)
4979     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4980 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4981 esac
4985 macro_version='2.2.6b'
4986 macro_revision='1.3018'
4988     
4989     
4990     
4993     
4994     
4995     
5000 ltmain="$ac_aux_dir/ltmain.sh"
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5003 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5004 if ${ac_cv_path_SED+:} false; then :
5005   $as_echo_n "(cached) " >&6
5006 else
5007             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5008      for ac_i in 1 2 3 4 5 6 7; do
5009        ac_script="$ac_script$as_nl$ac_script"
5010      done
5011      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5012      { ac_script=; unset ac_script;}
5013      if test -z "$SED"; then
5014   ac_path_SED_found=false
5015   # Loop through the user's path and test for each of PROGNAME-LIST
5016   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5017 for as_dir in $PATH
5019   IFS=$as_save_IFS
5020   test -z "$as_dir" && as_dir=.
5021     for ac_prog in sed gsed; do
5022     for ac_exec_ext in '' $ac_executable_extensions; do
5023       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5024       as_fn_executable_p "$ac_path_SED" || continue
5025 # Check for GNU ac_path_SED and select it if it is found.
5026   # Check for GNU $ac_path_SED
5027 case `"$ac_path_SED" --version 2>&1` in
5028 *GNU*)
5029   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5031   ac_count=0
5032   $as_echo_n 0123456789 >"conftest.in"
5033   while :
5034   do
5035     cat "conftest.in" "conftest.in" >"conftest.tmp"
5036     mv "conftest.tmp" "conftest.in"
5037     cp "conftest.in" "conftest.nl"
5038     $as_echo '' >> "conftest.nl"
5039     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5040     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5041     as_fn_arith $ac_count + 1 && ac_count=$as_val
5042     if test $ac_count -gt ${ac_path_SED_max-0}; then
5043       # Best one so far, save it but keep looking for a better one
5044       ac_cv_path_SED="$ac_path_SED"
5045       ac_path_SED_max=$ac_count
5046     fi
5047     # 10*(2^10) chars as input seems more than enough
5048     test $ac_count -gt 10 && break
5049   done
5050   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5051 esac
5053       $ac_path_SED_found && break 3
5054     done
5055   done
5056   done
5057 IFS=$as_save_IFS
5058   if test -z "$ac_cv_path_SED"; then
5059     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5060   fi
5061 else
5062   ac_cv_path_SED=$SED
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5067 $as_echo "$ac_cv_path_SED" >&6; }
5068  SED="$ac_cv_path_SED"
5069   rm -f conftest.sed
5071 test -z "$SED" && SED=sed
5072 Xsed="$SED -e 1s/^X//"
5074     
5075     
5076     
5079     
5080     
5081     
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5085 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5086 if ${ac_cv_path_GREP+:} false; then :
5087   $as_echo_n "(cached) " >&6
5088 else
5089   if test -z "$GREP"; then
5090   ac_path_GREP_found=false
5091   # Loop through the user's path and test for each of PROGNAME-LIST
5092   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5093 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5095   IFS=$as_save_IFS
5096   test -z "$as_dir" && as_dir=.
5097     for ac_prog in grep ggrep; do
5098     for ac_exec_ext in '' $ac_executable_extensions; do
5099       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5100       as_fn_executable_p "$ac_path_GREP" || continue
5101 # Check for GNU ac_path_GREP and select it if it is found.
5102   # Check for GNU $ac_path_GREP
5103 case `"$ac_path_GREP" --version 2>&1` in
5104 *GNU*)
5105   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5107   ac_count=0
5108   $as_echo_n 0123456789 >"conftest.in"
5109   while :
5110   do
5111     cat "conftest.in" "conftest.in" >"conftest.tmp"
5112     mv "conftest.tmp" "conftest.in"
5113     cp "conftest.in" "conftest.nl"
5114     $as_echo 'GREP' >> "conftest.nl"
5115     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5116     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5117     as_fn_arith $ac_count + 1 && ac_count=$as_val
5118     if test $ac_count -gt ${ac_path_GREP_max-0}; then
5119       # Best one so far, save it but keep looking for a better one
5120       ac_cv_path_GREP="$ac_path_GREP"
5121       ac_path_GREP_max=$ac_count
5122     fi
5123     # 10*(2^10) chars as input seems more than enough
5124     test $ac_count -gt 10 && break
5125   done
5126   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5127 esac
5129       $ac_path_GREP_found && break 3
5130     done
5131   done
5132   done
5133 IFS=$as_save_IFS
5134   if test -z "$ac_cv_path_GREP"; then
5135     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5136   fi
5137 else
5138   ac_cv_path_GREP=$GREP
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5143 $as_echo "$ac_cv_path_GREP" >&6; }
5144  GREP="$ac_cv_path_GREP"
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5148 $as_echo_n "checking for egrep... " >&6; }
5149 if ${ac_cv_path_EGREP+:} false; then :
5150   $as_echo_n "(cached) " >&6
5151 else
5152   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5153    then ac_cv_path_EGREP="$GREP -E"
5154    else
5155      if test -z "$EGREP"; then
5156   ac_path_EGREP_found=false
5157   # Loop through the user's path and test for each of PROGNAME-LIST
5158   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5159 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5161   IFS=$as_save_IFS
5162   test -z "$as_dir" && as_dir=.
5163     for ac_prog in egrep; do
5164     for ac_exec_ext in '' $ac_executable_extensions; do
5165       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5166       as_fn_executable_p "$ac_path_EGREP" || continue
5167 # Check for GNU ac_path_EGREP and select it if it is found.
5168   # Check for GNU $ac_path_EGREP
5169 case `"$ac_path_EGREP" --version 2>&1` in
5170 *GNU*)
5171   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5173   ac_count=0
5174   $as_echo_n 0123456789 >"conftest.in"
5175   while :
5176   do
5177     cat "conftest.in" "conftest.in" >"conftest.tmp"
5178     mv "conftest.tmp" "conftest.in"
5179     cp "conftest.in" "conftest.nl"
5180     $as_echo 'EGREP' >> "conftest.nl"
5181     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5182     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5183     as_fn_arith $ac_count + 1 && ac_count=$as_val
5184     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5185       # Best one so far, save it but keep looking for a better one
5186       ac_cv_path_EGREP="$ac_path_EGREP"
5187       ac_path_EGREP_max=$ac_count
5188     fi
5189     # 10*(2^10) chars as input seems more than enough
5190     test $ac_count -gt 10 && break
5191   done
5192   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5193 esac
5195       $ac_path_EGREP_found && break 3
5196     done
5197   done
5198   done
5199 IFS=$as_save_IFS
5200   if test -z "$ac_cv_path_EGREP"; then
5201     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5202   fi
5203 else
5204   ac_cv_path_EGREP=$EGREP
5207    fi
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5210 $as_echo "$ac_cv_path_EGREP" >&6; }
5211  EGREP="$ac_cv_path_EGREP"
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5215 $as_echo_n "checking for fgrep... " >&6; }
5216 if ${ac_cv_path_FGREP+:} false; then :
5217   $as_echo_n "(cached) " >&6
5218 else
5219   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5220    then ac_cv_path_FGREP="$GREP -F"
5221    else
5222      if test -z "$FGREP"; then
5223   ac_path_FGREP_found=false
5224   # Loop through the user's path and test for each of PROGNAME-LIST
5225   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5226 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5228   IFS=$as_save_IFS
5229   test -z "$as_dir" && as_dir=.
5230     for ac_prog in fgrep; do
5231     for ac_exec_ext in '' $ac_executable_extensions; do
5232       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5233       as_fn_executable_p "$ac_path_FGREP" || continue
5234 # Check for GNU ac_path_FGREP and select it if it is found.
5235   # Check for GNU $ac_path_FGREP
5236 case `"$ac_path_FGREP" --version 2>&1` in
5237 *GNU*)
5238   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5240   ac_count=0
5241   $as_echo_n 0123456789 >"conftest.in"
5242   while :
5243   do
5244     cat "conftest.in" "conftest.in" >"conftest.tmp"
5245     mv "conftest.tmp" "conftest.in"
5246     cp "conftest.in" "conftest.nl"
5247     $as_echo 'FGREP' >> "conftest.nl"
5248     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5249     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5250     as_fn_arith $ac_count + 1 && ac_count=$as_val
5251     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5252       # Best one so far, save it but keep looking for a better one
5253       ac_cv_path_FGREP="$ac_path_FGREP"
5254       ac_path_FGREP_max=$ac_count
5255     fi
5256     # 10*(2^10) chars as input seems more than enough
5257     test $ac_count -gt 10 && break
5258   done
5259   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5260 esac
5262       $ac_path_FGREP_found && break 3
5263     done
5264   done
5265   done
5266 IFS=$as_save_IFS
5267   if test -z "$ac_cv_path_FGREP"; then
5268     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5269   fi
5270 else
5271   ac_cv_path_FGREP=$FGREP
5274    fi
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5277 $as_echo "$ac_cv_path_FGREP" >&6; }
5278  FGREP="$ac_cv_path_FGREP"
5281 test -z "$GREP" && GREP=grep
5283     
5284     
5285     
5288     
5289     
5290     
5293     
5294     
5295     
5301 @%:@ Check whether --with-gnu-ld was given.
5302 if test "${with_gnu_ld+set}" = set; then :
5303   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5304 else
5305   with_gnu_ld=no
5308 ac_prog=ld
5309 if test "$GCC" = yes; then
5310   # Check if gcc -print-prog-name=ld gives a path.
5311   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5312 $as_echo_n "checking for ld used by $CC... " >&6; }
5313   case $host in
5314   *-*-mingw*)
5315     # gcc leaves a trailing carriage return which upsets mingw
5316     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5317   *)
5318     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5319   esac
5320   case $ac_prog in
5321     # Accept absolute paths.
5322     [\\/]* | ?:[\\/]*)
5323       re_direlt='/[^/][^/]*/\.\./'
5324       # Canonicalize the pathname of ld
5325       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5326       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5327         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5328       done
5329       test -z "$LD" && LD="$ac_prog"
5330       ;;
5331   "")
5332     # If it fails, then pretend we aren't using GCC.
5333     ac_prog=ld
5334     ;;
5335   *)
5336     # If it is relative, then search for the first ld in PATH.
5337     with_gnu_ld=unknown
5338     ;;
5339   esac
5340 elif test "$with_gnu_ld" = yes; then
5341   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5342 $as_echo_n "checking for GNU ld... " >&6; }
5343 else
5344   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5345 $as_echo_n "checking for non-GNU ld... " >&6; }
5347 if ${lt_cv_path_LD+:} false; then :
5348   $as_echo_n "(cached) " >&6
5349 else
5350   if test -z "$LD"; then
5351   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5352   for ac_dir in $PATH; do
5353     IFS="$lt_save_ifs"
5354     test -z "$ac_dir" && ac_dir=.
5355     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5356       lt_cv_path_LD="$ac_dir/$ac_prog"
5357       # Check to see if the program is GNU ld.  I'd rather use --version,
5358       # but apparently some variants of GNU ld only accept -v.
5359       # Break only if it was the GNU/non-GNU ld that we prefer.
5360       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5361       *GNU* | *'with BFD'*)
5362         test "$with_gnu_ld" != no && break
5363         ;;
5364       *)
5365         test "$with_gnu_ld" != yes && break
5366         ;;
5367       esac
5368     fi
5369   done
5370   IFS="$lt_save_ifs"
5371 else
5372   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5376 LD="$lt_cv_path_LD"
5377 if test -n "$LD"; then
5378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5379 $as_echo "$LD" >&6; }
5380 else
5381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5382 $as_echo "no" >&6; }
5384 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5386 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5387 if ${lt_cv_prog_gnu_ld+:} false; then :
5388   $as_echo_n "(cached) " >&6
5389 else
5390   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5391 case `$LD -v 2>&1 </dev/null` in
5392 *GNU* | *'with BFD'*)
5393   lt_cv_prog_gnu_ld=yes
5394   ;;
5396   lt_cv_prog_gnu_ld=no
5397   ;;
5398 esac
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5401 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5402 with_gnu_ld=$lt_cv_prog_gnu_ld
5407     
5408     
5409     
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5413 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5414 if ${lt_cv_path_NM+:} false; then :
5415   $as_echo_n "(cached) " >&6
5416 else
5417   if test -n "$NM"; then
5418   # Let the user override the test.
5419   lt_cv_path_NM="$NM"
5420 else
5421   lt_nm_to_check="${ac_tool_prefix}nm"
5422   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5423     lt_nm_to_check="$lt_nm_to_check nm"
5424   fi
5425   for lt_tmp_nm in $lt_nm_to_check; do
5426     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5427     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5428       IFS="$lt_save_ifs"
5429       test -z "$ac_dir" && ac_dir=.
5430       tmp_nm="$ac_dir/$lt_tmp_nm"
5431       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5432         # Check to see if the nm accepts a BSD-compat flag.
5433         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5434         #   nm: unknown option "B" ignored
5435         # Tru64's nm complains that /dev/null is an invalid object file
5436         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5437         */dev/null* | *'Invalid file or object type'*)
5438           lt_cv_path_NM="$tmp_nm -B"
5439           break
5440           ;;
5441         *)
5442           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5443           */dev/null*)
5444             lt_cv_path_NM="$tmp_nm -p"
5445             break
5446             ;;
5447           *)
5448             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5449             continue # so that we can try to find one that supports BSD flags
5450             ;;
5451           esac
5452           ;;
5453         esac
5454       fi
5455     done
5456     IFS="$lt_save_ifs"
5457   done
5458   : ${lt_cv_path_NM=no}
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5462 $as_echo "$lt_cv_path_NM" >&6; }
5463 if test "$lt_cv_path_NM" != "no"; then
5464   NM="$lt_cv_path_NM"
5465 else
5466   # Didn't find any BSD compatible name lister, look for dumpbin.
5467   if test -n "$ac_tool_prefix"; then
5468   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5469   do
5470     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5471 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5473 $as_echo_n "checking for $ac_word... " >&6; }
5474 if ${ac_cv_prog_DUMPBIN+:} false; then :
5475   $as_echo_n "(cached) " >&6
5476 else
5477   if test -n "$DUMPBIN"; then
5478   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5479 else
5480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5481 for as_dir in $PATH
5483   IFS=$as_save_IFS
5484   test -z "$as_dir" && as_dir=.
5485     for ac_exec_ext in '' $ac_executable_extensions; do
5486   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5487     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5488     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5489     break 2
5490   fi
5491 done
5492   done
5493 IFS=$as_save_IFS
5497 DUMPBIN=$ac_cv_prog_DUMPBIN
5498 if test -n "$DUMPBIN"; then
5499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5500 $as_echo "$DUMPBIN" >&6; }
5501 else
5502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5503 $as_echo "no" >&6; }
5507     test -n "$DUMPBIN" && break
5508   done
5510 if test -z "$DUMPBIN"; then
5511   ac_ct_DUMPBIN=$DUMPBIN
5512   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5514   # Extract the first word of "$ac_prog", so it can be a program name with args.
5515 set dummy $ac_prog; ac_word=$2
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5517 $as_echo_n "checking for $ac_word... " >&6; }
5518 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5519   $as_echo_n "(cached) " >&6
5520 else
5521   if test -n "$ac_ct_DUMPBIN"; then
5522   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5523 else
5524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5525 for as_dir in $PATH
5527   IFS=$as_save_IFS
5528   test -z "$as_dir" && as_dir=.
5529     for ac_exec_ext in '' $ac_executable_extensions; do
5530   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5531     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5532     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5533     break 2
5534   fi
5535 done
5536   done
5537 IFS=$as_save_IFS
5541 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5542 if test -n "$ac_ct_DUMPBIN"; then
5543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5544 $as_echo "$ac_ct_DUMPBIN" >&6; }
5545 else
5546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5547 $as_echo "no" >&6; }
5551   test -n "$ac_ct_DUMPBIN" && break
5552 done
5554   if test "x$ac_ct_DUMPBIN" = x; then
5555     DUMPBIN=":"
5556   else
5557     case $cross_compiling:$ac_tool_warned in
5558 yes:)
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5560 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5561 ac_tool_warned=yes ;;
5562 esac
5563     DUMPBIN=$ac_ct_DUMPBIN
5564   fi
5567   
5568   if test "$DUMPBIN" != ":"; then
5569     NM="$DUMPBIN"
5570   fi
5572 test -z "$NM" && NM=nm
5575     
5576     
5577     
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5580 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5581 if ${lt_cv_nm_interface+:} false; then :
5582   $as_echo_n "(cached) " >&6
5583 else
5584   lt_cv_nm_interface="BSD nm"
5585   echo "int some_variable = 0;" > conftest.$ac_ext
5586   (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&5)
5587   (eval "$ac_compile" 2>conftest.err)
5588   cat conftest.err >&5
5589   (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5590   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5591   cat conftest.err >&5
5592   (eval echo "\"\$as_me:__oline__: output\"" >&5)
5593   cat conftest.out >&5
5594   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5595     lt_cv_nm_interface="MS dumpbin"
5596   fi
5597   rm -f conftest*
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5600 $as_echo "$lt_cv_nm_interface" >&6; }
5602 # find the maximum length of command line arguments
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5604 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5605 if ${lt_cv_sys_max_cmd_len+:} false; then :
5606   $as_echo_n "(cached) " >&6
5607 else
5608     i=0
5609   teststring="ABCD"
5611   case $build_os in
5612   msdosdjgpp*)
5613     # On DJGPP, this test can blow up pretty badly due to problems in libc
5614     # (any single argument exceeding 2000 bytes causes a buffer overrun
5615     # during glob expansion).  Even if it were fixed, the result of this
5616     # check would be larger than it should be.
5617     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5618     ;;
5620   gnu*)
5621     # Under GNU Hurd, this test is not required because there is
5622     # no limit to the length of command line arguments.
5623     # Libtool will interpret -1 as no limit whatsoever
5624     lt_cv_sys_max_cmd_len=-1;
5625     ;;
5627   cygwin* | mingw* | cegcc*)
5628     # On Win9x/ME, this test blows up -- it succeeds, but takes
5629     # about 5 minutes as the teststring grows exponentially.
5630     # Worse, since 9x/ME are not pre-emptively multitasking,
5631     # you end up with a "frozen" computer, even though with patience
5632     # the test eventually succeeds (with a max line length of 256k).
5633     # Instead, let's just punt: use the minimum linelength reported by
5634     # all of the supported platforms: 8192 (on NT/2K/XP).
5635     lt_cv_sys_max_cmd_len=8192;
5636     ;;
5638   amigaos*)
5639     # On AmigaOS with pdksh, this test takes hours, literally.
5640     # So we just punt and use a minimum line length of 8192.
5641     lt_cv_sys_max_cmd_len=8192;
5642     ;;
5644   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5645     # This has been around since 386BSD, at least.  Likely further.
5646     if test -x /sbin/sysctl; then
5647       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5648     elif test -x /usr/sbin/sysctl; then
5649       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5650     else
5651       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5652     fi
5653     # And add a safety zone
5654     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5655     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5656     ;;
5658   interix*)
5659     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5660     lt_cv_sys_max_cmd_len=196608
5661     ;;
5663   osf*)
5664     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5665     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5666     # nice to cause kernel panics so lets avoid the loop below.
5667     # First set a reasonable default.
5668     lt_cv_sys_max_cmd_len=16384
5669     #
5670     if test -x /sbin/sysconfig; then
5671       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5672         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5673       esac
5674     fi
5675     ;;
5676   sco3.2v5*)
5677     lt_cv_sys_max_cmd_len=102400
5678     ;;
5679   sysv5* | sco5v6* | sysv4.2uw2*)
5680     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5681     if test -n "$kargmax"; then
5682       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5683     else
5684       lt_cv_sys_max_cmd_len=32768
5685     fi
5686     ;;
5687   *)
5688     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5689     if test -n "$lt_cv_sys_max_cmd_len"; then
5690       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5691       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5692     else
5693       # Make teststring a little bigger before we do anything with it.
5694       # a 1K string should be a reasonable start.
5695       for i in 1 2 3 4 5 6 7 8 ; do
5696         teststring=$teststring$teststring
5697       done
5698       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5699       # If test is not a shell built-in, we'll probably end up computing a
5700       # maximum length that is only half of the actual maximum length, but
5701       # we can't tell.
5702       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5703                  = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5704               test $i != 17 # 1/2 MB should be enough
5705       do
5706         i=`expr $i + 1`
5707         teststring=$teststring$teststring
5708       done
5709       # Only check the string length outside the loop.
5710       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5711       teststring=
5712       # Add a significant safety factor because C++ compilers can tack on
5713       # massive amounts of additional arguments before passing them to the
5714       # linker.  It appears as though 1/2 is a usable value.
5715       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5716     fi
5717     ;;
5718   esac
5722 if test -n $lt_cv_sys_max_cmd_len ; then
5723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5724 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5725 else
5726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5727 $as_echo "none" >&6; }
5729 max_cmd_len=$lt_cv_sys_max_cmd_len
5731     
5732     
5733     
5736 : ${CP="cp -f"}
5737 : ${MV="mv -f"}
5738 : ${RM="rm -f"}
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5741 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5742 # Try some XSI features
5743 xsi_shell=no
5744 ( _lt_dummy="a/b/c"
5745   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5746       = c,a/b,, \
5747     && eval 'test $(( 1 + 1 )) -eq 2 \
5748     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5749   && xsi_shell=yes
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5751 $as_echo "$xsi_shell" >&6; }
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5755 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5756 lt_shell_append=no
5757 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5758     >/dev/null 2>&1 \
5759   && lt_shell_append=yes
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5761 $as_echo "$lt_shell_append" >&6; }
5764 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5765   lt_unset=unset
5766 else
5767   lt_unset=false
5770     
5771     
5772     
5774 # test EBCDIC or ASCII
5775 case `echo X|tr X '\101'` in
5776  A) # ASCII based system
5777     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5778   lt_SP2NL='tr \040 \012'
5779   lt_NL2SP='tr \015\012 \040\040'
5780   ;;
5781  *) # EBCDIC based system
5782   lt_SP2NL='tr \100 \n'
5783   lt_NL2SP='tr \r\n \100\100'
5784   ;;
5785 esac
5787     
5788     
5789     
5791     
5792     
5793     
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5796 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5797 if ${lt_cv_ld_reload_flag+:} false; then :
5798   $as_echo_n "(cached) " >&6
5799 else
5800   lt_cv_ld_reload_flag='-r'
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5803 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5804 reload_flag=$lt_cv_ld_reload_flag
5805 case $reload_flag in
5806 "" | " "*) ;;
5807 *) reload_flag=" $reload_flag" ;;
5808 esac
5809 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5810 case $host_os in
5811   darwin*)
5812     if test "$GCC" = yes; then
5813       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5814     else
5815       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5816     fi
5817     ;;
5818 esac
5820     
5821     
5822     
5824     
5825     
5826     
5828 if test -n "$ac_tool_prefix"; then
5829   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5830 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5832 $as_echo_n "checking for $ac_word... " >&6; }
5833 if ${ac_cv_prog_OBJDUMP+:} false; then :
5834   $as_echo_n "(cached) " >&6
5835 else
5836   if test -n "$OBJDUMP"; then
5837   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5838 else
5839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5840 for as_dir in $PATH
5842   IFS=$as_save_IFS
5843   test -z "$as_dir" && as_dir=.
5844     for ac_exec_ext in '' $ac_executable_extensions; do
5845   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5846     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5847     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5848     break 2
5849   fi
5850 done
5851   done
5852 IFS=$as_save_IFS
5856 OBJDUMP=$ac_cv_prog_OBJDUMP
5857 if test -n "$OBJDUMP"; then
5858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5859 $as_echo "$OBJDUMP" >&6; }
5860 else
5861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5862 $as_echo "no" >&6; }
5867 if test -z "$ac_cv_prog_OBJDUMP"; then
5868   ac_ct_OBJDUMP=$OBJDUMP
5869   # Extract the first word of "objdump", so it can be a program name with args.
5870 set dummy objdump; ac_word=$2
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5872 $as_echo_n "checking for $ac_word... " >&6; }
5873 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5874   $as_echo_n "(cached) " >&6
5875 else
5876   if test -n "$ac_ct_OBJDUMP"; then
5877   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5878 else
5879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5880 for as_dir in $PATH
5882   IFS=$as_save_IFS
5883   test -z "$as_dir" && as_dir=.
5884     for ac_exec_ext in '' $ac_executable_extensions; do
5885   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5886     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5887     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5888     break 2
5889   fi
5890 done
5891   done
5892 IFS=$as_save_IFS
5896 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5897 if test -n "$ac_ct_OBJDUMP"; then
5898   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5899 $as_echo "$ac_ct_OBJDUMP" >&6; }
5900 else
5901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5902 $as_echo "no" >&6; }
5905   if test "x$ac_ct_OBJDUMP" = x; then
5906     OBJDUMP="false"
5907   else
5908     case $cross_compiling:$ac_tool_warned in
5909 yes:)
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5911 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5912 ac_tool_warned=yes ;;
5913 esac
5914     OBJDUMP=$ac_ct_OBJDUMP
5915   fi
5916 else
5917   OBJDUMP="$ac_cv_prog_OBJDUMP"
5920 test -z "$OBJDUMP" && OBJDUMP=objdump
5922     
5923     
5924     
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5931 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5932 if ${lt_cv_deplibs_check_method+:} false; then :
5933   $as_echo_n "(cached) " >&6
5934 else
5935   lt_cv_file_magic_cmd='$MAGIC_CMD'
5936 lt_cv_file_magic_test_file=
5937 lt_cv_deplibs_check_method='unknown'
5938 # Need to set the preceding variable on all platforms that support
5939 # interlibrary dependencies.
5940 # 'none' -- dependencies not supported.
5941 # `unknown' -- same as none, but documents that we really don't know.
5942 # 'pass_all' -- all dependencies passed with no checks.
5943 # 'test_compile' -- check by making test program.
5944 # 'file_magic [[regex]]' -- check by looking for files in library path
5945 # which responds to the $file_magic_cmd with a given extended regex.
5946 # If you have `file' or equivalent on your system and you're not sure
5947 # whether `pass_all' will *always* work, you probably want this one.
5949 case $host_os in
5950 aix[4-9]*)
5951   lt_cv_deplibs_check_method=pass_all
5952   ;;
5954 beos*)
5955   lt_cv_deplibs_check_method=pass_all
5956   ;;
5958 bsdi[45]*)
5959   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5960   lt_cv_file_magic_cmd='/usr/bin/file -L'
5961   lt_cv_file_magic_test_file=/shlib/libc.so
5962   ;;
5964 cygwin*)
5965   # func_win32_libid is a shell function defined in ltmain.sh
5966   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5967   lt_cv_file_magic_cmd='func_win32_libid'
5968   ;;
5970 mingw* | pw32*)
5971   # Base MSYS/MinGW do not provide the 'file' command needed by
5972   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5973   # unless we find 'file', for example because we are cross-compiling.
5974   if ( file / ) >/dev/null 2>&1; then
5975     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5976     lt_cv_file_magic_cmd='func_win32_libid'
5977   else
5978     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5979     lt_cv_file_magic_cmd='$OBJDUMP -f'
5980   fi
5981   ;;
5983 cegcc)
5984   # use the weaker test based on 'objdump'. See mingw*.
5985   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5986   lt_cv_file_magic_cmd='$OBJDUMP -f'
5987   ;;
5989 darwin* | rhapsody*)
5990   lt_cv_deplibs_check_method=pass_all
5991   ;;
5993 freebsd* | dragonfly*)
5994   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5995     case $host_cpu in
5996     i*86 )
5997       # Not sure whether the presence of OpenBSD here was a mistake.
5998       # Let's accept both of them until this is cleared up.
5999       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6000       lt_cv_file_magic_cmd=/usr/bin/file
6001       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6002       ;;
6003     esac
6004   else
6005     lt_cv_deplibs_check_method=pass_all
6006   fi
6007   ;;
6009 gnu*)
6010   lt_cv_deplibs_check_method=pass_all
6011   ;;
6013 hpux10.20* | hpux11*)
6014   lt_cv_file_magic_cmd=/usr/bin/file
6015   case $host_cpu in
6016   ia64*)
6017     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6018     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6019     ;;
6020   hppa*64*)
6021     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]'
6022     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6023     ;;
6024   *)
6025     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6026     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6027     ;;
6028   esac
6029   ;;
6031 interix[3-9]*)
6032   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6033   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6034   ;;
6036 irix5* | irix6* | nonstopux*)
6037   case $LD in
6038   *-32|*"-32 ") libmagic=32-bit;;
6039   *-n32|*"-n32 ") libmagic=N32;;
6040   *-64|*"-64 ") libmagic=64-bit;;
6041   *) libmagic=never-match;;
6042   esac
6043   lt_cv_deplibs_check_method=pass_all
6044   ;;
6046 # This must be Linux ELF.
6047 linux* | k*bsd*-gnu)
6048   lt_cv_deplibs_check_method=pass_all
6049   ;;
6051 netbsd*)
6052   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6053     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6054   else
6055     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6056   fi
6057   ;;
6059 newos6*)
6060   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6061   lt_cv_file_magic_cmd=/usr/bin/file
6062   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6063   ;;
6065 *nto* | *qnx*)
6066   lt_cv_deplibs_check_method=pass_all
6067   ;;
6069 openbsd*)
6070   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6071     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6072   else
6073     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6074   fi
6075   ;;
6077 osf3* | osf4* | osf5*)
6078   lt_cv_deplibs_check_method=pass_all
6079   ;;
6081 rdos*)
6082   lt_cv_deplibs_check_method=pass_all
6083   ;;
6085 solaris*)
6086   lt_cv_deplibs_check_method=pass_all
6087   ;;
6089 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6090   lt_cv_deplibs_check_method=pass_all
6091   ;;
6093 sysv4 | sysv4.3*)
6094   case $host_vendor in
6095   motorola)
6096     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]'
6097     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6098     ;;
6099   ncr)
6100     lt_cv_deplibs_check_method=pass_all
6101     ;;
6102   sequent)
6103     lt_cv_file_magic_cmd='/bin/file'
6104     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6105     ;;
6106   sni)
6107     lt_cv_file_magic_cmd='/bin/file'
6108     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6109     lt_cv_file_magic_test_file=/lib/libc.so
6110     ;;
6111   siemens)
6112     lt_cv_deplibs_check_method=pass_all
6113     ;;
6114   pc)
6115     lt_cv_deplibs_check_method=pass_all
6116     ;;
6117   esac
6118   ;;
6120 tpf*)
6121   lt_cv_deplibs_check_method=pass_all
6122   ;;
6123 esac
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6127 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6128 file_magic_cmd=$lt_cv_file_magic_cmd
6129 deplibs_check_method=$lt_cv_deplibs_check_method
6130 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6133     
6134     
6135     
6138     
6139     
6140     
6143 if test -n "$ac_tool_prefix"; then
6144   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6145 set dummy ${ac_tool_prefix}ar; ac_word=$2
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6147 $as_echo_n "checking for $ac_word... " >&6; }
6148 if ${ac_cv_prog_AR+:} false; then :
6149   $as_echo_n "(cached) " >&6
6150 else
6151   if test -n "$AR"; then
6152   ac_cv_prog_AR="$AR" # Let the user override the test.
6153 else
6154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6155 for as_dir in $PATH
6157   IFS=$as_save_IFS
6158   test -z "$as_dir" && as_dir=.
6159     for ac_exec_ext in '' $ac_executable_extensions; do
6160   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6161     ac_cv_prog_AR="${ac_tool_prefix}ar"
6162     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6163     break 2
6164   fi
6165 done
6166   done
6167 IFS=$as_save_IFS
6171 AR=$ac_cv_prog_AR
6172 if test -n "$AR"; then
6173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6174 $as_echo "$AR" >&6; }
6175 else
6176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6177 $as_echo "no" >&6; }
6182 if test -z "$ac_cv_prog_AR"; then
6183   ac_ct_AR=$AR
6184   # Extract the first word of "ar", so it can be a program name with args.
6185 set dummy ar; ac_word=$2
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6187 $as_echo_n "checking for $ac_word... " >&6; }
6188 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6189   $as_echo_n "(cached) " >&6
6190 else
6191   if test -n "$ac_ct_AR"; then
6192   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6193 else
6194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6195 for as_dir in $PATH
6197   IFS=$as_save_IFS
6198   test -z "$as_dir" && as_dir=.
6199     for ac_exec_ext in '' $ac_executable_extensions; do
6200   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6201     ac_cv_prog_ac_ct_AR="ar"
6202     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6203     break 2
6204   fi
6205 done
6206   done
6207 IFS=$as_save_IFS
6211 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6212 if test -n "$ac_ct_AR"; then
6213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6214 $as_echo "$ac_ct_AR" >&6; }
6215 else
6216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6217 $as_echo "no" >&6; }
6220   if test "x$ac_ct_AR" = x; then
6221     AR="false"
6222   else
6223     case $cross_compiling:$ac_tool_warned in
6224 yes:)
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6226 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6227 ac_tool_warned=yes ;;
6228 esac
6229     AR=$ac_ct_AR
6230   fi
6231 else
6232   AR="$ac_cv_prog_AR"
6235 test -z "$AR" && AR=ar
6236 test -z "$AR_FLAGS" && AR_FLAGS=cru
6238     
6239     
6240     
6243     
6244     
6245     
6248 if test -n "$ac_tool_prefix"; then
6249   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6250 set dummy ${ac_tool_prefix}strip; ac_word=$2
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6252 $as_echo_n "checking for $ac_word... " >&6; }
6253 if ${ac_cv_prog_STRIP+:} false; then :
6254   $as_echo_n "(cached) " >&6
6255 else
6256   if test -n "$STRIP"; then
6257   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6258 else
6259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6260 for as_dir in $PATH
6262   IFS=$as_save_IFS
6263   test -z "$as_dir" && as_dir=.
6264     for ac_exec_ext in '' $ac_executable_extensions; do
6265   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6266     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6267     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6268     break 2
6269   fi
6270 done
6271   done
6272 IFS=$as_save_IFS
6276 STRIP=$ac_cv_prog_STRIP
6277 if test -n "$STRIP"; then
6278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6279 $as_echo "$STRIP" >&6; }
6280 else
6281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6282 $as_echo "no" >&6; }
6287 if test -z "$ac_cv_prog_STRIP"; then
6288   ac_ct_STRIP=$STRIP
6289   # Extract the first word of "strip", so it can be a program name with args.
6290 set dummy strip; ac_word=$2
6291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6292 $as_echo_n "checking for $ac_word... " >&6; }
6293 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6294   $as_echo_n "(cached) " >&6
6295 else
6296   if test -n "$ac_ct_STRIP"; then
6297   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6298 else
6299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6300 for as_dir in $PATH
6302   IFS=$as_save_IFS
6303   test -z "$as_dir" && as_dir=.
6304     for ac_exec_ext in '' $ac_executable_extensions; do
6305   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6306     ac_cv_prog_ac_ct_STRIP="strip"
6307     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6308     break 2
6309   fi
6310 done
6311   done
6312 IFS=$as_save_IFS
6316 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6317 if test -n "$ac_ct_STRIP"; then
6318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6319 $as_echo "$ac_ct_STRIP" >&6; }
6320 else
6321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6322 $as_echo "no" >&6; }
6325   if test "x$ac_ct_STRIP" = x; then
6326     STRIP=":"
6327   else
6328     case $cross_compiling:$ac_tool_warned in
6329 yes:)
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6331 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6332 ac_tool_warned=yes ;;
6333 esac
6334     STRIP=$ac_ct_STRIP
6335   fi
6336 else
6337   STRIP="$ac_cv_prog_STRIP"
6340 test -z "$STRIP" && STRIP=:
6342     
6343     
6344     
6347 if test -n "$ac_tool_prefix"; then
6348   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6349 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6351 $as_echo_n "checking for $ac_word... " >&6; }
6352 if ${ac_cv_prog_RANLIB+:} false; then :
6353   $as_echo_n "(cached) " >&6
6354 else
6355   if test -n "$RANLIB"; then
6356   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6357 else
6358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6359 for as_dir in $PATH
6361   IFS=$as_save_IFS
6362   test -z "$as_dir" && as_dir=.
6363     for ac_exec_ext in '' $ac_executable_extensions; do
6364   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6365     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6366     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6367     break 2
6368   fi
6369 done
6370   done
6371 IFS=$as_save_IFS
6375 RANLIB=$ac_cv_prog_RANLIB
6376 if test -n "$RANLIB"; then
6377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6378 $as_echo "$RANLIB" >&6; }
6379 else
6380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6381 $as_echo "no" >&6; }
6386 if test -z "$ac_cv_prog_RANLIB"; then
6387   ac_ct_RANLIB=$RANLIB
6388   # Extract the first word of "ranlib", so it can be a program name with args.
6389 set dummy ranlib; ac_word=$2
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6391 $as_echo_n "checking for $ac_word... " >&6; }
6392 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6393   $as_echo_n "(cached) " >&6
6394 else
6395   if test -n "$ac_ct_RANLIB"; then
6396   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6397 else
6398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6399 for as_dir in $PATH
6401   IFS=$as_save_IFS
6402   test -z "$as_dir" && as_dir=.
6403     for ac_exec_ext in '' $ac_executable_extensions; do
6404   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6405     ac_cv_prog_ac_ct_RANLIB="ranlib"
6406     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6407     break 2
6408   fi
6409 done
6410   done
6411 IFS=$as_save_IFS
6415 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6416 if test -n "$ac_ct_RANLIB"; then
6417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6418 $as_echo "$ac_ct_RANLIB" >&6; }
6419 else
6420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6421 $as_echo "no" >&6; }
6424   if test "x$ac_ct_RANLIB" = x; then
6425     RANLIB=":"
6426   else
6427     case $cross_compiling:$ac_tool_warned in
6428 yes:)
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6430 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6431 ac_tool_warned=yes ;;
6432 esac
6433     RANLIB=$ac_ct_RANLIB
6434   fi
6435 else
6436   RANLIB="$ac_cv_prog_RANLIB"
6439 test -z "$RANLIB" && RANLIB=:
6441     
6442     
6443     
6446 # Determine commands to create old-style static archives.
6447 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6448 old_postinstall_cmds='chmod 644 $oldlib'
6449 old_postuninstall_cmds=
6451 if test -n "$RANLIB"; then
6452   case $host_os in
6453   openbsd*)
6454     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6455     ;;
6456   *)
6457     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6458     ;;
6459   esac
6460   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6463     
6464     
6465     
6468     
6469     
6470     
6473     
6474     
6475     
6480     
6481     
6482     
6484     
6485     
6486     
6488     
6489     
6490     
6492     
6493     
6494     
6496 # If no C compiler was specified, use CC.
6497 LTCC=${LTCC-"$CC"}
6499 # If no C compiler flags were specified, use CFLAGS.
6500 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6502 # Allow CC to be a program name with arguments.
6503 compiler=$CC
6506 # Check for command to grab the raw symbol name followed by C symbol from nm.
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6508 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6509 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6510   $as_echo_n "(cached) " >&6
6511 else
6512   
6513 # These are sane defaults that work on at least a few old systems.
6514 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6516 # Character class describing NM global symbol codes.
6517 symcode='[BCDEGRST]'
6519 # Regexp to match symbols that can be accessed directly from C.
6520 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6522 # Define system-specific variables.
6523 case $host_os in
6524 aix*)
6525   symcode='[BCDT]'
6526   ;;
6527 cygwin* | mingw* | pw32* | cegcc*)
6528   symcode='[ABCDGISTW]'
6529   ;;
6530 hpux*)
6531   if test "$host_cpu" = ia64; then
6532     symcode='[ABCDEGRST]'
6533   fi
6534   ;;
6535 irix* | nonstopux*)
6536   symcode='[BCDEGRST]'
6537   ;;
6538 osf*)
6539   symcode='[BCDEGQRST]'
6540   ;;
6541 solaris*)
6542   symcode='[BDRT]'
6543   ;;
6544 sco3.2v5*)
6545   symcode='[DT]'
6546   ;;
6547 sysv4.2uw2*)
6548   symcode='[DT]'
6549   ;;
6550 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6551   symcode='[ABDT]'
6552   ;;
6553 sysv4)
6554   symcode='[DFNSTU]'
6555   ;;
6556 esac
6558 # If we're using GNU nm, then use its standard symbol codes.
6559 case `$NM -V 2>&1` in
6560 *GNU* | *'with BFD'*)
6561   symcode='[ABCDGIRSTW]' ;;
6562 esac
6564 # Transform an extracted symbol line into a proper C declaration.
6565 # Some systems (esp. on ia64) link data and code symbols differently,
6566 # so use this general approach.
6567 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6569 # Transform an extracted symbol line into symbol name and symbol address
6570 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6571 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'"
6573 # Handle CRLF in mingw tool chain
6574 opt_cr=
6575 case $build_os in
6576 mingw*)
6577   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6578   ;;
6579 esac
6581 # Try without a prefix underscore, then with it.
6582 for ac_symprfx in "" "_"; do
6584   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6585   symxfrm="\\1 $ac_symprfx\\2 \\2"
6587   # Write the raw and C identifiers.
6588   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6589     # Fake it for dumpbin and say T for any non-static function
6590     # and D for any global variable.
6591     # Also find C++ and __fastcall symbols from MSVC++,
6592     # which start with @ or ?.
6593     lt_cv_sys_global_symbol_pipe="$AWK '"\
6594 "     {last_section=section; section=\$ 3};"\
6595 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6596 "     \$ 0!~/External *\|/{next};"\
6597 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6598 "     {if(hide[section]) next};"\
6599 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6600 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6601 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6602 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6603 "     ' prfx=^$ac_symprfx"
6604   else
6605     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6606   fi
6608   # Check to see that the pipe works correctly.
6609   pipe_works=no
6611   rm -f conftest*
6612   cat > conftest.$ac_ext <<_LT_EOF
6613 #ifdef __cplusplus
6614 extern "C" {
6615 #endif
6616 char nm_test_var;
6617 void nm_test_func(void);
6618 void nm_test_func(void){}
6619 #ifdef __cplusplus
6621 #endif
6622 int main(){nm_test_var='a';nm_test_func();return(0);}
6623 _LT_EOF
6625   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6626   (eval $ac_compile) 2>&5
6627   ac_status=$?
6628   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6629   test $ac_status = 0; }; then
6630     # Now try to grab the symbols.
6631     nlist=conftest.nm
6632     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6633   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6634   ac_status=$?
6635   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6636   test $ac_status = 0; } && test -s "$nlist"; then
6637       # Try sorting and uniquifying the output.
6638       if sort "$nlist" | uniq > "$nlist"T; then
6639         mv -f "$nlist"T "$nlist"
6640       else
6641         rm -f "$nlist"T
6642       fi
6644       # Make sure that we snagged all the symbols we need.
6645       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6646         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6647           cat <<_LT_EOF > conftest.$ac_ext
6648 #ifdef __cplusplus
6649 extern "C" {
6650 #endif
6652 _LT_EOF
6653           # Now generate the symbol file.
6654           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6656           cat <<_LT_EOF >> conftest.$ac_ext
6658 /* The mapping between symbol names and symbols.  */
6659 const struct {
6660   const char *name;
6661   void       *address;
6663 lt__PROGRAM__LTX_preloaded_symbols[] =
6665   { "@PROGRAM@", (void *) 0 },
6666 _LT_EOF
6667           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6668           cat <<\_LT_EOF >> conftest.$ac_ext
6669   {0, (void *) 0}
6672 /* This works around a problem in FreeBSD linker */
6673 #ifdef FREEBSD_WORKAROUND
6674 static const void *lt_preloaded_setup() {
6675   return lt__PROGRAM__LTX_preloaded_symbols;
6677 #endif
6679 #ifdef __cplusplus
6681 #endif
6682 _LT_EOF
6683           # Now try linking the two files.
6684           mv conftest.$ac_objext conftstm.$ac_objext
6685           lt_save_LIBS="$LIBS"
6686           lt_save_CFLAGS="$CFLAGS"
6687           LIBS="conftstm.$ac_objext"
6688           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6689           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6690   (eval $ac_link) 2>&5
6691   ac_status=$?
6692   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6693   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6694             pipe_works=yes
6695           fi
6696           LIBS="$lt_save_LIBS"
6697           CFLAGS="$lt_save_CFLAGS"
6698         else
6699           echo "cannot find nm_test_func in $nlist" >&5
6700         fi
6701       else
6702         echo "cannot find nm_test_var in $nlist" >&5
6703       fi
6704     else
6705       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6706     fi
6707   else
6708     echo "$progname: failed program was:" >&5
6709     cat conftest.$ac_ext >&5
6710   fi
6711   rm -rf conftest* conftst*
6713   # Do not use the global_symbol_pipe unless it works.
6714   if test "$pipe_works" = yes; then
6715     break
6716   else
6717     lt_cv_sys_global_symbol_pipe=
6718   fi
6719 done
6723 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6724   lt_cv_sys_global_symbol_to_cdecl=
6726 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6728 $as_echo "failed" >&6; }
6729 else
6730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6731 $as_echo "ok" >&6; }
6735     
6736     
6737     
6740     
6741     
6742     
6745     
6746     
6747     
6750     
6751     
6752     
6756 @%:@ Check whether --enable-libtool-lock was given.
6757 if test "${enable_libtool_lock+set}" = set; then :
6758   enableval=$enable_libtool_lock; 
6761 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6763 # Some flags need to be propagated to the compiler or linker for good
6764 # libtool support.
6765 case $host in
6766 ia64-*-hpux*)
6767   # Find out which ABI we are using.
6768   echo 'int i;' > conftest.$ac_ext
6769   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6770   (eval $ac_compile) 2>&5
6771   ac_status=$?
6772   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6773   test $ac_status = 0; }; then
6774     case `/usr/bin/file conftest.$ac_objext` in
6775       *ELF-32*)
6776         HPUX_IA64_MODE="32"
6777         ;;
6778       *ELF-64*)
6779         HPUX_IA64_MODE="64"
6780         ;;
6781     esac
6782   fi
6783   rm -rf conftest*
6784   ;;
6785 *-*-irix6*)
6786   # Find out which ABI we are using.
6787   echo '#line __oline__ "configure"' > conftest.$ac_ext
6788   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6789   (eval $ac_compile) 2>&5
6790   ac_status=$?
6791   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6792   test $ac_status = 0; }; then
6793     if test "$lt_cv_prog_gnu_ld" = yes; then
6794       case `/usr/bin/file conftest.$ac_objext` in
6795         *32-bit*)
6796           LD="${LD-ld} -melf32bsmip"
6797           ;;
6798         *N32*)
6799           LD="${LD-ld} -melf32bmipn32"
6800           ;;
6801         *64-bit*)
6802           LD="${LD-ld} -melf64bmip"
6803         ;;
6804       esac
6805     else
6806       case `/usr/bin/file conftest.$ac_objext` in
6807         *32-bit*)
6808           LD="${LD-ld} -32"
6809           ;;
6810         *N32*)
6811           LD="${LD-ld} -n32"
6812           ;;
6813         *64-bit*)
6814           LD="${LD-ld} -64"
6815           ;;
6816       esac
6817     fi
6818   fi
6819   rm -rf conftest*
6820   ;;
6822 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6823 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6824   # Find out which ABI we are using.
6825   echo 'int i;' > conftest.$ac_ext
6826   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6827   (eval $ac_compile) 2>&5
6828   ac_status=$?
6829   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6830   test $ac_status = 0; }; then
6831     case `/usr/bin/file conftest.o` in
6832       *32-bit*)
6833         case $host in
6834           x86_64-*kfreebsd*-gnu)
6835             LD="${LD-ld} -m elf_i386_fbsd"
6836             ;;
6837           x86_64-*linux*)
6838             LD="${LD-ld} -m elf_i386"
6839             ;;
6840           ppc64-*linux*|powerpc64-*linux*)
6841             LD="${LD-ld} -m elf32ppclinux"
6842             ;;
6843           s390x-*linux*)
6844             LD="${LD-ld} -m elf_s390"
6845             ;;
6846           sparc64-*linux*)
6847             LD="${LD-ld} -m elf32_sparc"
6848             ;;
6849         esac
6850         ;;
6851       *64-bit*)
6852         case $host in
6853           x86_64-*kfreebsd*-gnu)
6854             LD="${LD-ld} -m elf_x86_64_fbsd"
6855             ;;
6856           x86_64-*linux*)
6857             LD="${LD-ld} -m elf_x86_64"
6858             ;;
6859           ppc*-*linux*|powerpc*-*linux*)
6860             LD="${LD-ld} -m elf64ppc"
6861             ;;
6862           s390*-*linux*|s390*-*tpf*)
6863             LD="${LD-ld} -m elf64_s390"
6864             ;;
6865           sparc*-*linux*)
6866             LD="${LD-ld} -m elf64_sparc"
6867             ;;
6868         esac
6869         ;;
6870     esac
6871   fi
6872   rm -rf conftest*
6873   ;;
6875 *-*-sco3.2v5*)
6876   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6877   SAVE_CFLAGS="$CFLAGS"
6878   CFLAGS="$CFLAGS -belf"
6879   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6880 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6881 if ${lt_cv_cc_needs_belf+:} false; then :
6882   $as_echo_n "(cached) " >&6
6883 else
6884   ac_ext=c
6885 ac_cpp='$CPP $CPPFLAGS'
6886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6890      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6891 /* end confdefs.h.  */
6894 main ()
6897   ;
6898   return 0;
6900 _ACEOF
6901 if ac_fn_c_try_link "$LINENO"; then :
6902   lt_cv_cc_needs_belf=yes
6903 else
6904   lt_cv_cc_needs_belf=no
6906 rm -f core conftest.err conftest.$ac_objext \
6907     conftest$ac_exeext conftest.$ac_ext
6908      ac_ext=c
6909 ac_cpp='$CPP $CPPFLAGS'
6910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6916 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6917   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6918     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6919     CFLAGS="$SAVE_CFLAGS"
6920   fi
6921   ;;
6922 sparc*-*solaris*)
6923   # Find out which ABI we are using.
6924   echo 'int i;' > conftest.$ac_ext
6925   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6926   (eval $ac_compile) 2>&5
6927   ac_status=$?
6928   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6929   test $ac_status = 0; }; then
6930     case `/usr/bin/file conftest.o` in
6931     *64-bit*)
6932       case $lt_cv_prog_gnu_ld in
6933       yes*) LD="${LD-ld} -m elf64_sparc" ;;
6934       *)
6935         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6936           LD="${LD-ld} -64"
6937         fi
6938         ;;
6939       esac
6940       ;;
6941     esac
6942   fi
6943   rm -rf conftest*
6944   ;;
6945 esac
6947 need_locks="$enable_libtool_lock"
6950   case $host_os in
6951     rhapsody* | darwin*)
6952     if test -n "$ac_tool_prefix"; then
6953   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6954 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6956 $as_echo_n "checking for $ac_word... " >&6; }
6957 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6958   $as_echo_n "(cached) " >&6
6959 else
6960   if test -n "$DSYMUTIL"; then
6961   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6962 else
6963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6964 for as_dir in $PATH
6966   IFS=$as_save_IFS
6967   test -z "$as_dir" && as_dir=.
6968     for ac_exec_ext in '' $ac_executable_extensions; do
6969   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6970     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6971     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6972     break 2
6973   fi
6974 done
6975   done
6976 IFS=$as_save_IFS
6980 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6981 if test -n "$DSYMUTIL"; then
6982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6983 $as_echo "$DSYMUTIL" >&6; }
6984 else
6985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6986 $as_echo "no" >&6; }
6991 if test -z "$ac_cv_prog_DSYMUTIL"; then
6992   ac_ct_DSYMUTIL=$DSYMUTIL
6993   # Extract the first word of "dsymutil", so it can be a program name with args.
6994 set dummy dsymutil; ac_word=$2
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6996 $as_echo_n "checking for $ac_word... " >&6; }
6997 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6998   $as_echo_n "(cached) " >&6
6999 else
7000   if test -n "$ac_ct_DSYMUTIL"; then
7001   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7002 else
7003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7004 for as_dir in $PATH
7006   IFS=$as_save_IFS
7007   test -z "$as_dir" && as_dir=.
7008     for ac_exec_ext in '' $ac_executable_extensions; do
7009   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7010     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7011     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7012     break 2
7013   fi
7014 done
7015   done
7016 IFS=$as_save_IFS
7020 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7021 if test -n "$ac_ct_DSYMUTIL"; then
7022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7023 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7024 else
7025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7026 $as_echo "no" >&6; }
7029   if test "x$ac_ct_DSYMUTIL" = x; then
7030     DSYMUTIL=":"
7031   else
7032     case $cross_compiling:$ac_tool_warned in
7033 yes:)
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7035 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7036 ac_tool_warned=yes ;;
7037 esac
7038     DSYMUTIL=$ac_ct_DSYMUTIL
7039   fi
7040 else
7041   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7044     if test -n "$ac_tool_prefix"; then
7045   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7046 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7048 $as_echo_n "checking for $ac_word... " >&6; }
7049 if ${ac_cv_prog_NMEDIT+:} false; then :
7050   $as_echo_n "(cached) " >&6
7051 else
7052   if test -n "$NMEDIT"; then
7053   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7054 else
7055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7056 for as_dir in $PATH
7058   IFS=$as_save_IFS
7059   test -z "$as_dir" && as_dir=.
7060     for ac_exec_ext in '' $ac_executable_extensions; do
7061   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7062     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7063     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7064     break 2
7065   fi
7066 done
7067   done
7068 IFS=$as_save_IFS
7072 NMEDIT=$ac_cv_prog_NMEDIT
7073 if test -n "$NMEDIT"; then
7074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7075 $as_echo "$NMEDIT" >&6; }
7076 else
7077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7078 $as_echo "no" >&6; }
7083 if test -z "$ac_cv_prog_NMEDIT"; then
7084   ac_ct_NMEDIT=$NMEDIT
7085   # Extract the first word of "nmedit", so it can be a program name with args.
7086 set dummy nmedit; ac_word=$2
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7088 $as_echo_n "checking for $ac_word... " >&6; }
7089 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7090   $as_echo_n "(cached) " >&6
7091 else
7092   if test -n "$ac_ct_NMEDIT"; then
7093   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7094 else
7095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7096 for as_dir in $PATH
7098   IFS=$as_save_IFS
7099   test -z "$as_dir" && as_dir=.
7100     for ac_exec_ext in '' $ac_executable_extensions; do
7101   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7102     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7103     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7104     break 2
7105   fi
7106 done
7107   done
7108 IFS=$as_save_IFS
7112 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7113 if test -n "$ac_ct_NMEDIT"; then
7114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7115 $as_echo "$ac_ct_NMEDIT" >&6; }
7116 else
7117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7118 $as_echo "no" >&6; }
7121   if test "x$ac_ct_NMEDIT" = x; then
7122     NMEDIT=":"
7123   else
7124     case $cross_compiling:$ac_tool_warned in
7125 yes:)
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7127 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7128 ac_tool_warned=yes ;;
7129 esac
7130     NMEDIT=$ac_ct_NMEDIT
7131   fi
7132 else
7133   NMEDIT="$ac_cv_prog_NMEDIT"
7136     if test -n "$ac_tool_prefix"; then
7137   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7138 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7140 $as_echo_n "checking for $ac_word... " >&6; }
7141 if ${ac_cv_prog_LIPO+:} false; then :
7142   $as_echo_n "(cached) " >&6
7143 else
7144   if test -n "$LIPO"; then
7145   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7146 else
7147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7148 for as_dir in $PATH
7150   IFS=$as_save_IFS
7151   test -z "$as_dir" && as_dir=.
7152     for ac_exec_ext in '' $ac_executable_extensions; do
7153   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7154     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7155     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7156     break 2
7157   fi
7158 done
7159   done
7160 IFS=$as_save_IFS
7164 LIPO=$ac_cv_prog_LIPO
7165 if test -n "$LIPO"; then
7166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7167 $as_echo "$LIPO" >&6; }
7168 else
7169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7170 $as_echo "no" >&6; }
7175 if test -z "$ac_cv_prog_LIPO"; then
7176   ac_ct_LIPO=$LIPO
7177   # Extract the first word of "lipo", so it can be a program name with args.
7178 set dummy lipo; ac_word=$2
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7180 $as_echo_n "checking for $ac_word... " >&6; }
7181 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7182   $as_echo_n "(cached) " >&6
7183 else
7184   if test -n "$ac_ct_LIPO"; then
7185   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7186 else
7187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7188 for as_dir in $PATH
7190   IFS=$as_save_IFS
7191   test -z "$as_dir" && as_dir=.
7192     for ac_exec_ext in '' $ac_executable_extensions; do
7193   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7194     ac_cv_prog_ac_ct_LIPO="lipo"
7195     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7196     break 2
7197   fi
7198 done
7199   done
7200 IFS=$as_save_IFS
7204 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7205 if test -n "$ac_ct_LIPO"; then
7206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7207 $as_echo "$ac_ct_LIPO" >&6; }
7208 else
7209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7210 $as_echo "no" >&6; }
7213   if test "x$ac_ct_LIPO" = x; then
7214     LIPO=":"
7215   else
7216     case $cross_compiling:$ac_tool_warned in
7217 yes:)
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7220 ac_tool_warned=yes ;;
7221 esac
7222     LIPO=$ac_ct_LIPO
7223   fi
7224 else
7225   LIPO="$ac_cv_prog_LIPO"
7228     if test -n "$ac_tool_prefix"; then
7229   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7230 set dummy ${ac_tool_prefix}otool; ac_word=$2
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7232 $as_echo_n "checking for $ac_word... " >&6; }
7233 if ${ac_cv_prog_OTOOL+:} false; then :
7234   $as_echo_n "(cached) " >&6
7235 else
7236   if test -n "$OTOOL"; then
7237   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7238 else
7239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7240 for as_dir in $PATH
7242   IFS=$as_save_IFS
7243   test -z "$as_dir" && as_dir=.
7244     for ac_exec_ext in '' $ac_executable_extensions; do
7245   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7246     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7247     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7248     break 2
7249   fi
7250 done
7251   done
7252 IFS=$as_save_IFS
7256 OTOOL=$ac_cv_prog_OTOOL
7257 if test -n "$OTOOL"; then
7258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7259 $as_echo "$OTOOL" >&6; }
7260 else
7261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7262 $as_echo "no" >&6; }
7267 if test -z "$ac_cv_prog_OTOOL"; then
7268   ac_ct_OTOOL=$OTOOL
7269   # Extract the first word of "otool", so it can be a program name with args.
7270 set dummy otool; ac_word=$2
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7272 $as_echo_n "checking for $ac_word... " >&6; }
7273 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7274   $as_echo_n "(cached) " >&6
7275 else
7276   if test -n "$ac_ct_OTOOL"; then
7277   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7278 else
7279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7280 for as_dir in $PATH
7282   IFS=$as_save_IFS
7283   test -z "$as_dir" && as_dir=.
7284     for ac_exec_ext in '' $ac_executable_extensions; do
7285   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7286     ac_cv_prog_ac_ct_OTOOL="otool"
7287     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7288     break 2
7289   fi
7290 done
7291   done
7292 IFS=$as_save_IFS
7296 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7297 if test -n "$ac_ct_OTOOL"; then
7298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7299 $as_echo "$ac_ct_OTOOL" >&6; }
7300 else
7301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7302 $as_echo "no" >&6; }
7305   if test "x$ac_ct_OTOOL" = x; then
7306     OTOOL=":"
7307   else
7308     case $cross_compiling:$ac_tool_warned in
7309 yes:)
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7311 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7312 ac_tool_warned=yes ;;
7313 esac
7314     OTOOL=$ac_ct_OTOOL
7315   fi
7316 else
7317   OTOOL="$ac_cv_prog_OTOOL"
7320     if test -n "$ac_tool_prefix"; then
7321   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7322 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7324 $as_echo_n "checking for $ac_word... " >&6; }
7325 if ${ac_cv_prog_OTOOL64+:} false; then :
7326   $as_echo_n "(cached) " >&6
7327 else
7328   if test -n "$OTOOL64"; then
7329   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7330 else
7331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7332 for as_dir in $PATH
7334   IFS=$as_save_IFS
7335   test -z "$as_dir" && as_dir=.
7336     for ac_exec_ext in '' $ac_executable_extensions; do
7337   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7338     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7339     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7340     break 2
7341   fi
7342 done
7343   done
7344 IFS=$as_save_IFS
7348 OTOOL64=$ac_cv_prog_OTOOL64
7349 if test -n "$OTOOL64"; then
7350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7351 $as_echo "$OTOOL64" >&6; }
7352 else
7353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7354 $as_echo "no" >&6; }
7359 if test -z "$ac_cv_prog_OTOOL64"; then
7360   ac_ct_OTOOL64=$OTOOL64
7361   # Extract the first word of "otool64", so it can be a program name with args.
7362 set dummy otool64; ac_word=$2
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7364 $as_echo_n "checking for $ac_word... " >&6; }
7365 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7366   $as_echo_n "(cached) " >&6
7367 else
7368   if test -n "$ac_ct_OTOOL64"; then
7369   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7370 else
7371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7372 for as_dir in $PATH
7374   IFS=$as_save_IFS
7375   test -z "$as_dir" && as_dir=.
7376     for ac_exec_ext in '' $ac_executable_extensions; do
7377   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7378     ac_cv_prog_ac_ct_OTOOL64="otool64"
7379     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7380     break 2
7381   fi
7382 done
7383   done
7384 IFS=$as_save_IFS
7388 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7389 if test -n "$ac_ct_OTOOL64"; then
7390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7391 $as_echo "$ac_ct_OTOOL64" >&6; }
7392 else
7393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7394 $as_echo "no" >&6; }
7397   if test "x$ac_ct_OTOOL64" = x; then
7398     OTOOL64=":"
7399   else
7400     case $cross_compiling:$ac_tool_warned in
7401 yes:)
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7403 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7404 ac_tool_warned=yes ;;
7405 esac
7406     OTOOL64=$ac_ct_OTOOL64
7407   fi
7408 else
7409   OTOOL64="$ac_cv_prog_OTOOL64"
7412     
7413     
7414     
7415     
7417     
7418     
7419     
7420     
7422     
7423     
7424     
7425     
7427     
7428     
7429     
7430     
7432     
7433     
7434     
7435     
7438     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7439 $as_echo_n "checking for -single_module linker flag... " >&6; }
7440 if ${lt_cv_apple_cc_single_mod+:} false; then :
7441   $as_echo_n "(cached) " >&6
7442 else
7443   lt_cv_apple_cc_single_mod=no
7444       if test -z "${LT_MULTI_MODULE}"; then
7445         # By default we will add the -single_module flag. You can override
7446         # by either setting the environment variable LT_MULTI_MODULE
7447         # non-empty at configure time, or by adding -multi_module to the
7448         # link flags.
7449         rm -rf libconftest.dylib*
7450         echo "int foo(void){return 1;}" > conftest.c
7451         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7452 -dynamiclib -Wl,-single_module conftest.c" >&5
7453         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7454           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7455         _lt_result=$?
7456         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7457           lt_cv_apple_cc_single_mod=yes
7458         else
7459           cat conftest.err >&5
7460         fi
7461         rm -rf libconftest.dylib*
7462         rm -f conftest.*
7463       fi
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7466 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7467     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7468 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7469 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7470   $as_echo_n "(cached) " >&6
7471 else
7472   lt_cv_ld_exported_symbols_list=no
7473       save_LDFLAGS=$LDFLAGS
7474       echo "_main" > conftest.sym
7475       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7476       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7477 /* end confdefs.h.  */
7480 main ()
7483   ;
7484   return 0;
7486 _ACEOF
7487 if ac_fn_c_try_link "$LINENO"; then :
7488   lt_cv_ld_exported_symbols_list=yes
7489 else
7490   lt_cv_ld_exported_symbols_list=no
7492 rm -f core conftest.err conftest.$ac_objext \
7493     conftest$ac_exeext conftest.$ac_ext
7494         LDFLAGS="$save_LDFLAGS"
7495     
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7498 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7499     case $host_os in
7500     rhapsody* | darwin1.[012])
7501       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7502     darwin1.*)
7503       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7504     darwin*) # darwin 5.x on
7505       # if running on 10.5 or later, the deployment target defaults
7506       # to the OS version, if on x86, and 10.4, the deployment
7507       # target defaults to 10.4. Don't you love it?
7508       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7509         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7510           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7511         10.[012]*)
7512           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7513         10.*)
7514           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7515       esac
7516     ;;
7517   esac
7518     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7519       _lt_dar_single_mod='$single_module'
7520     fi
7521     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7522       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7523     else
7524       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7525     fi
7526     if test "$DSYMUTIL" != ":"; then
7527       _lt_dsymutil='~$DSYMUTIL $lib || :'
7528     else
7529       _lt_dsymutil=
7530     fi
7531     ;;
7532   esac
7534 ac_ext=c
7535 ac_cpp='$CPP $CPPFLAGS'
7536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7540 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7541 # On Suns, sometimes $CPP names a directory.
7542 if test -n "$CPP" && test -d "$CPP"; then
7543   CPP=
7545 if test -z "$CPP"; then
7546   if ${ac_cv_prog_CPP+:} false; then :
7547   $as_echo_n "(cached) " >&6
7548 else
7549       # Double quotes because CPP needs to be expanded
7550     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7551     do
7552       ac_preproc_ok=false
7553 for ac_c_preproc_warn_flag in '' yes
7555   # Use a header file that comes with gcc, so configuring glibc
7556   # with a fresh cross-compiler works.
7557   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7558   # <limits.h> exists even on freestanding compilers.
7559   # On the NeXT, cc -E runs the code through the compiler's parser,
7560   # not just through cpp. "Syntax error" is here to catch this case.
7561   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7562 /* end confdefs.h.  */
7563 @%:@ifdef __STDC__
7564 @%:@ include <limits.h>
7565 @%:@else
7566 @%:@ include <assert.h>
7567 @%:@endif
7568                      Syntax error
7569 _ACEOF
7570 if ac_fn_c_try_cpp "$LINENO"; then :
7571   
7572 else
7573   # Broken: fails on valid input.
7574 continue
7576 rm -f conftest.err conftest.i conftest.$ac_ext
7578   # OK, works on sane cases.  Now check whether nonexistent headers
7579   # can be detected and how.
7580   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7581 /* end confdefs.h.  */
7582 @%:@include <ac_nonexistent.h>
7583 _ACEOF
7584 if ac_fn_c_try_cpp "$LINENO"; then :
7585   # Broken: success on invalid input.
7586 continue
7587 else
7588   # Passes both tests.
7589 ac_preproc_ok=:
7590 break
7592 rm -f conftest.err conftest.i conftest.$ac_ext
7594 done
7595 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7596 rm -f conftest.i conftest.err conftest.$ac_ext
7597 if $ac_preproc_ok; then :
7598   break
7601     done
7602     ac_cv_prog_CPP=$CPP
7603   
7605   CPP=$ac_cv_prog_CPP
7606 else
7607   ac_cv_prog_CPP=$CPP
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7610 $as_echo "$CPP" >&6; }
7611 ac_preproc_ok=false
7612 for ac_c_preproc_warn_flag in '' yes
7614   # Use a header file that comes with gcc, so configuring glibc
7615   # with a fresh cross-compiler works.
7616   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7617   # <limits.h> exists even on freestanding compilers.
7618   # On the NeXT, cc -E runs the code through the compiler's parser,
7619   # not just through cpp. "Syntax error" is here to catch this case.
7620   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7621 /* end confdefs.h.  */
7622 @%:@ifdef __STDC__
7623 @%:@ include <limits.h>
7624 @%:@else
7625 @%:@ include <assert.h>
7626 @%:@endif
7627                      Syntax error
7628 _ACEOF
7629 if ac_fn_c_try_cpp "$LINENO"; then :
7630   
7631 else
7632   # Broken: fails on valid input.
7633 continue
7635 rm -f conftest.err conftest.i conftest.$ac_ext
7637   # OK, works on sane cases.  Now check whether nonexistent headers
7638   # can be detected and how.
7639   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7640 /* end confdefs.h.  */
7641 @%:@include <ac_nonexistent.h>
7642 _ACEOF
7643 if ac_fn_c_try_cpp "$LINENO"; then :
7644   # Broken: success on invalid input.
7645 continue
7646 else
7647   # Passes both tests.
7648 ac_preproc_ok=:
7649 break
7651 rm -f conftest.err conftest.i conftest.$ac_ext
7653 done
7654 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7655 rm -f conftest.i conftest.err conftest.$ac_ext
7656 if $ac_preproc_ok; then :
7657   
7658 else
7659   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7660 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7661 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7662 See \`config.log' for more details" "$LINENO" 5; }
7665 ac_ext=c
7666 ac_cpp='$CPP $CPPFLAGS'
7667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7673 $as_echo_n "checking for ANSI C header files... " >&6; }
7674 if ${ac_cv_header_stdc+:} false; then :
7675   $as_echo_n "(cached) " >&6
7676 else
7677   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7678 /* end confdefs.h.  */
7679 #include <stdlib.h>
7680 #include <stdarg.h>
7681 #include <string.h>
7682 #include <float.h>
7685 main ()
7688   ;
7689   return 0;
7691 _ACEOF
7692 if ac_fn_c_try_compile "$LINENO"; then :
7693   ac_cv_header_stdc=yes
7694 else
7695   ac_cv_header_stdc=no
7697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7699 if test $ac_cv_header_stdc = yes; then
7700   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7701   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7702 /* end confdefs.h.  */
7703 #include <string.h>
7705 _ACEOF
7706 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7707   $EGREP "memchr" >/dev/null 2>&1; then :
7708   
7709 else
7710   ac_cv_header_stdc=no
7712 rm -f conftest*
7716 if test $ac_cv_header_stdc = yes; then
7717   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7718   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7719 /* end confdefs.h.  */
7720 #include <stdlib.h>
7722 _ACEOF
7723 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7724   $EGREP "free" >/dev/null 2>&1; then :
7725   
7726 else
7727   ac_cv_header_stdc=no
7729 rm -f conftest*
7733 if test $ac_cv_header_stdc = yes; then
7734   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7735   if test "$cross_compiling" = yes; then :
7736   :
7737 else
7738   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7739 /* end confdefs.h.  */
7740 #include <ctype.h>
7741 #include <stdlib.h>
7742 #if ((' ' & 0x0FF) == 0x020)
7743 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7744 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7745 #else
7746 # define ISLOWER(c) \
7747                    (('a' <= (c) && (c) <= 'i') \
7748                      || ('j' <= (c) && (c) <= 'r') \
7749                      || ('s' <= (c) && (c) <= 'z'))
7750 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7751 #endif
7753 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7755 main ()
7757   int i;
7758   for (i = 0; i < 256; i++)
7759     if (XOR (islower (i), ISLOWER (i))
7760         || toupper (i) != TOUPPER (i))
7761       return 2;
7762   return 0;
7764 _ACEOF
7765 if ac_fn_c_try_run "$LINENO"; then :
7766   
7767 else
7768   ac_cv_header_stdc=no
7770 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7771   conftest.$ac_objext conftest.beam conftest.$ac_ext
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7777 $as_echo "$ac_cv_header_stdc" >&6; }
7778 if test $ac_cv_header_stdc = yes; then
7779   
7780 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
7784 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7785 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7786                   inttypes.h stdint.h unistd.h
7787 do :
7788   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7789 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7791 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7792   cat >>confdefs.h <<_ACEOF
7793 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7794 _ACEOF
7798 done
7801 for ac_header in dlfcn.h
7802 do :
7803   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7805 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7806   cat >>confdefs.h <<_ACEOF
7807 @%:@define HAVE_DLFCN_H 1
7808 _ACEOF
7812 done
7816 # Set options
7820         enable_dlopen=no
7821   
7823   enable_win32_dll=no
7824   
7826             @%:@ Check whether --enable-shared was given.
7827 if test "${enable_shared+set}" = set; then :
7828   enableval=$enable_shared; p=${PACKAGE-default}
7829     case $enableval in
7830     yes) enable_shared=yes ;;
7831     no) enable_shared=no ;;
7832     *)
7833       enable_shared=no
7834       # Look at the argument we got.  We use all the common list separators.
7835       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7836       for pkg in $enableval; do
7837         IFS="$lt_save_ifs"
7838         if test "X$pkg" = "X$p"; then
7839           enable_shared=yes
7840         fi
7841       done
7842       IFS="$lt_save_ifs"
7843       ;;
7844     esac
7845 else
7846   enable_shared=yes
7850     
7851     
7852     
7853     
7857   @%:@ Check whether --enable-static was given.
7858 if test "${enable_static+set}" = set; then :
7859   enableval=$enable_static; p=${PACKAGE-default}
7860     case $enableval in
7861     yes) enable_static=yes ;;
7862     no) enable_static=no ;;
7863     *)
7864      enable_static=no
7865       # Look at the argument we got.  We use all the common list separators.
7866       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7867       for pkg in $enableval; do
7868         IFS="$lt_save_ifs"
7869         if test "X$pkg" = "X$p"; then
7870           enable_static=yes
7871         fi
7872       done
7873       IFS="$lt_save_ifs"
7874       ;;
7875     esac
7876 else
7877   enable_static=yes
7881     
7882     
7883     
7884     
7888   
7889 @%:@ Check whether --with-pic was given.
7890 if test "${with_pic+set}" = set; then :
7891   withval=$with_pic; pic_mode="$withval"
7892 else
7893   pic_mode=default
7897 test -z "$pic_mode" && pic_mode=default
7900     
7901     
7902     
7905   @%:@ Check whether --enable-fast-install was given.
7906 if test "${enable_fast_install+set}" = set; then :
7907   enableval=$enable_fast_install; p=${PACKAGE-default}
7908     case $enableval in
7909     yes) enable_fast_install=yes ;;
7910     no) enable_fast_install=no ;;
7911     *)
7912       enable_fast_install=no
7913       # Look at the argument we got.  We use all the common list separators.
7914       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7915       for pkg in $enableval; do
7916         IFS="$lt_save_ifs"
7917         if test "X$pkg" = "X$p"; then
7918           enable_fast_install=yes
7919         fi
7920       done
7921       IFS="$lt_save_ifs"
7922       ;;
7923     esac
7924 else
7925   enable_fast_install=yes
7930     
7931     
7932     
7935   
7938 # This can be used to rebuild libtool when needed
7939 LIBTOOL_DEPS="$ltmain"
7941 # Always use our own libtool.
7942 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7945     
7946     
7947     
7949     
7950     
7951     
7953     
7954     
7955     
7957     
7958     
7959     
7961     
7962     
7963     
7965     
7966     
7967     
7968 test -z "$LN_S" && LN_S="ln -s"
7970     
7971     
7972     
7974     
7975     
7976     
7978     
7979     
7980     
7983 if test -n "${ZSH_VERSION+set}" ; then
7984    setopt NO_GLOB_SUBST
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7988 $as_echo_n "checking for objdir... " >&6; }
7989 if ${lt_cv_objdir+:} false; then :
7990   $as_echo_n "(cached) " >&6
7991 else
7992   rm -f .libs 2>/dev/null
7993 mkdir .libs 2>/dev/null
7994 if test -d .libs; then
7995   lt_cv_objdir=.libs
7996 else
7997   # MS-DOS does not allow filenames that begin with a dot.
7998   lt_cv_objdir=_libs
8000 rmdir .libs 2>/dev/null
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8003 $as_echo "$lt_cv_objdir" >&6; }
8004 objdir=$lt_cv_objdir
8006     
8007     
8008     
8010 cat >>confdefs.h <<_ACEOF
8011 @%:@define LT_OBJDIR "$lt_cv_objdir/"
8012 _ACEOF
8019     
8020     
8021     
8024     
8025     
8026     
8030 case $host_os in
8031 aix3*)
8032   # AIX sometimes has problems with the GCC collect2 program.  For some
8033   # reason, if we set the COLLECT_NAMES environment variable, the problems
8034   # vanish in a puff of smoke.
8035   if test "X${COLLECT_NAMES+set}" != Xset; then
8036     COLLECT_NAMES=
8037     export COLLECT_NAMES
8038   fi
8039   ;;
8040 esac
8042 # Sed substitution that helps us do robust quoting.  It backslashifies
8043 # metacharacters that are still active within double-quoted strings.
8044 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8046 # Same as above, but do not quote variable references.
8047 double_quote_subst='s/\(["`\\]\)/\\\1/g'
8049 # Sed substitution to delay expansion of an escaped shell variable in a
8050 # double_quote_subst'ed string.
8051 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8053 # Sed substitution to delay expansion of an escaped single quote.
8054 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8056 # Sed substitution to avoid accidental globbing in evaled expressions
8057 no_glob_subst='s/\*/\\\*/g'
8059 # Global variables:
8060 ofile=libtool
8061 can_build_shared=yes
8063 # All known linkers require a `.a' archive for static linking (except MSVC,
8064 # which needs '.lib').
8065 libext=a
8067 with_gnu_ld="$lt_cv_prog_gnu_ld"
8069 old_CC="$CC"
8070 old_CFLAGS="$CFLAGS"
8072 # Set sane defaults for various variables
8073 test -z "$CC" && CC=cc
8074 test -z "$LTCC" && LTCC=$CC
8075 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8076 test -z "$LD" && LD=ld
8077 test -z "$ac_objext" && ac_objext=o
8079 for cc_temp in $compiler""; do
8080   case $cc_temp in
8081     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8082     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8083     \-*) ;;
8084     *) break;;
8085   esac
8086 done
8087 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8090 # Only perform the check for file, if the check method requires it
8091 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8092 case $deplibs_check_method in
8093 file_magic*)
8094   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8095     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8096 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8097 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8098   $as_echo_n "(cached) " >&6
8099 else
8100   case $MAGIC_CMD in
8101 [\\/*] |  ?:[\\/]*)
8102   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8103   ;;
8105   lt_save_MAGIC_CMD="$MAGIC_CMD"
8106   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8107   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8108   for ac_dir in $ac_dummy; do
8109     IFS="$lt_save_ifs"
8110     test -z "$ac_dir" && ac_dir=.
8111     if test -f $ac_dir/${ac_tool_prefix}file; then
8112       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8113       if test -n "$file_magic_test_file"; then
8114         case $deplibs_check_method in
8115         "file_magic "*)
8116           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8117           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8118           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8119             $EGREP "$file_magic_regex" > /dev/null; then
8120             :
8121           else
8122             cat <<_LT_EOF 1>&2
8124 *** Warning: the command libtool uses to detect shared libraries,
8125 *** $file_magic_cmd, produces output that libtool cannot recognize.
8126 *** The result is that libtool may fail to recognize shared libraries
8127 *** as such.  This will affect the creation of libtool libraries that
8128 *** depend on shared libraries, but programs linked with such libtool
8129 *** libraries will work regardless of this problem.  Nevertheless, you
8130 *** may want to report the problem to your system manager and/or to
8131 *** bug-libtool@gnu.org
8133 _LT_EOF
8134           fi ;;
8135         esac
8136       fi
8137       break
8138     fi
8139   done
8140   IFS="$lt_save_ifs"
8141   MAGIC_CMD="$lt_save_MAGIC_CMD"
8142   ;;
8143 esac
8146 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8147 if test -n "$MAGIC_CMD"; then
8148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8149 $as_echo "$MAGIC_CMD" >&6; }
8150 else
8151   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8152 $as_echo "no" >&6; }
8155     
8156     
8157     
8159 if test -z "$lt_cv_path_MAGIC_CMD"; then
8160   if test -n "$ac_tool_prefix"; then
8161     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8162 $as_echo_n "checking for file... " >&6; }
8163 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8164   $as_echo_n "(cached) " >&6
8165 else
8166   case $MAGIC_CMD in
8167 [\\/*] |  ?:[\\/]*)
8168   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8169   ;;
8171   lt_save_MAGIC_CMD="$MAGIC_CMD"
8172   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8173   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8174   for ac_dir in $ac_dummy; do
8175     IFS="$lt_save_ifs"
8176     test -z "$ac_dir" && ac_dir=.
8177     if test -f $ac_dir/file; then
8178       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8179       if test -n "$file_magic_test_file"; then
8180         case $deplibs_check_method in
8181         "file_magic "*)
8182           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8183           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8184           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8185             $EGREP "$file_magic_regex" > /dev/null; then
8186             :
8187           else
8188             cat <<_LT_EOF 1>&2
8190 *** Warning: the command libtool uses to detect shared libraries,
8191 *** $file_magic_cmd, produces output that libtool cannot recognize.
8192 *** The result is that libtool may fail to recognize shared libraries
8193 *** as such.  This will affect the creation of libtool libraries that
8194 *** depend on shared libraries, but programs linked with such libtool
8195 *** libraries will work regardless of this problem.  Nevertheless, you
8196 *** may want to report the problem to your system manager and/or to
8197 *** bug-libtool@gnu.org
8199 _LT_EOF
8200           fi ;;
8201         esac
8202       fi
8203       break
8204     fi
8205   done
8206   IFS="$lt_save_ifs"
8207   MAGIC_CMD="$lt_save_MAGIC_CMD"
8208   ;;
8209 esac
8212 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8213 if test -n "$MAGIC_CMD"; then
8214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8215 $as_echo "$MAGIC_CMD" >&6; }
8216 else
8217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8218 $as_echo "no" >&6; }
8222   else
8223     MAGIC_CMD=:
8224   fi
8227   fi
8228   ;;
8229 esac
8231 # Use C for the default configuration in the libtool script
8233 lt_save_CC="$CC"
8234 ac_ext=c
8235 ac_cpp='$CPP $CPPFLAGS'
8236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8241 # Source file extension for C test sources.
8242 ac_ext=c
8244 # Object file extension for compiled C test sources.
8245 objext=o
8246 objext=$objext
8248 # Code to be used in simple compile tests
8249 lt_simple_compile_test_code="int some_variable = 0;"
8251 # Code to be used in simple link tests
8252 lt_simple_link_test_code='int main(){return(0);}'
8260 # If no C compiler was specified, use CC.
8261 LTCC=${LTCC-"$CC"}
8263 # If no C compiler flags were specified, use CFLAGS.
8264 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8266 # Allow CC to be a program name with arguments.
8267 compiler=$CC
8269 # Save the default compiler, since it gets overwritten when the other
8270 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8271 compiler_DEFAULT=$CC
8273 # save warnings/boilerplate of simple test code
8274 ac_outfile=conftest.$ac_objext
8275 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8276 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8277 _lt_compiler_boilerplate=`cat conftest.err`
8278 $RM conftest*
8280 ac_outfile=conftest.$ac_objext
8281 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8282 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8283 _lt_linker_boilerplate=`cat conftest.err`
8284 $RM -r conftest*
8287 ## CAVEAT EMPTOR:
8288 ## There is no encapsulation within the following macros, do not change
8289 ## the running order or otherwise move them around unless you know exactly
8290 ## what you are doing...
8291 if test -n "$compiler"; then
8292   
8293 lt_prog_compiler_no_builtin_flag=
8295 if test "$GCC" = yes; then
8296   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8298   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8299 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8300 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8301   $as_echo_n "(cached) " >&6
8302 else
8303   lt_cv_prog_compiler_rtti_exceptions=no
8304    ac_outfile=conftest.$ac_objext
8305    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8306    lt_compiler_flag="-fno-rtti -fno-exceptions"
8307    # Insert the option either (1) after the last *FLAGS variable, or
8308    # (2) before a word containing "conftest.", or (3) at the end.
8309    # Note that $ac_compile itself does not contain backslashes and begins
8310    # with a dollar sign (not a hyphen), so the echo should work correctly.
8311    # The option is referenced via a variable to avoid confusing sed.
8312    lt_compile=`echo "$ac_compile" | $SED \
8313    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8314    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8315    -e 's:$: $lt_compiler_flag:'`
8316    (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
8317    (eval "$lt_compile" 2>conftest.err)
8318    ac_status=$?
8319    cat conftest.err >&5
8320    echo "$as_me:__oline__: \$? = $ac_status" >&5
8321    if (exit $ac_status) && test -s "$ac_outfile"; then
8322      # The compiler can only warn and ignore the option if not recognized
8323      # So say no if there are warnings other than the usual output.
8324      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8325      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8326      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8327        lt_cv_prog_compiler_rtti_exceptions=yes
8328      fi
8329    fi
8330    $RM conftest*
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8334 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8336 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8337     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8338 else
8339     :
8344     
8345     
8346     
8349   lt_prog_compiler_wl=
8350 lt_prog_compiler_pic=
8351 lt_prog_compiler_static=
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8354 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8356   if test "$GCC" = yes; then
8357     lt_prog_compiler_wl='-Wl,'
8358     lt_prog_compiler_static='-static'
8360     case $host_os in
8361       aix*)
8362       # All AIX code is PIC.
8363       if test "$host_cpu" = ia64; then
8364         # AIX 5 now supports IA64 processor
8365         lt_prog_compiler_static='-Bstatic'
8366       fi
8367       ;;
8369     amigaos*)
8370       case $host_cpu in
8371       powerpc)
8372             # see comment about AmigaOS4 .so support
8373             lt_prog_compiler_pic='-fPIC'
8374         ;;
8375       m68k)
8376             # FIXME: we need at least 68020 code to build shared libraries, but
8377             # adding the `-m68020' flag to GCC prevents building anything better,
8378             # like `-m68040'.
8379             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8380         ;;
8381       esac
8382       ;;
8384     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8385       # PIC is the default for these OSes.
8386       ;;
8388     mingw* | cygwin* | pw32* | os2* | cegcc*)
8389       # This hack is so that the source file can tell whether it is being
8390       # built for inclusion in a dll (and should export symbols for example).
8391       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8392       # (--disable-auto-import) libraries
8393       lt_prog_compiler_pic='-DDLL_EXPORT'
8394       ;;
8396     darwin* | rhapsody*)
8397       # PIC is the default on this platform
8398       # Common symbols not allowed in MH_DYLIB files
8399       lt_prog_compiler_pic='-fno-common'
8400       ;;
8402     hpux*)
8403       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8404       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8405       # sets the default TLS model and affects inlining.
8406       case $host_cpu in
8407       hppa*64*)
8408         # +Z the default
8409         ;;
8410       *)
8411         lt_prog_compiler_pic='-fPIC'
8412         ;;
8413       esac
8414       ;;
8416     interix[3-9]*)
8417       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8418       # Instead, we relocate shared libraries at runtime.
8419       ;;
8421     msdosdjgpp*)
8422       # Just because we use GCC doesn't mean we suddenly get shared libraries
8423       # on systems that don't support them.
8424       lt_prog_compiler_can_build_shared=no
8425       enable_shared=no
8426       ;;
8428     *nto* | *qnx*)
8429       # QNX uses GNU C++, but need to define -shared option too, otherwise
8430       # it will coredump.
8431       lt_prog_compiler_pic='-fPIC -shared'
8432       ;;
8434     sysv4*MP*)
8435       if test -d /usr/nec; then
8436         lt_prog_compiler_pic=-Kconform_pic
8437       fi
8438       ;;
8440     *)
8441       lt_prog_compiler_pic='-fPIC'
8442       ;;
8443     esac
8444   else
8445     # PORTME Check for flag to pass linker flags through the system compiler.
8446     case $host_os in
8447     aix*)
8448       lt_prog_compiler_wl='-Wl,'
8449       if test "$host_cpu" = ia64; then
8450         # AIX 5 now supports IA64 processor
8451         lt_prog_compiler_static='-Bstatic'
8452       else
8453         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8454       fi
8455       ;;
8457     mingw* | cygwin* | pw32* | os2* | cegcc*)
8458       # This hack is so that the source file can tell whether it is being
8459       # built for inclusion in a dll (and should export symbols for example).
8460       lt_prog_compiler_pic='-DDLL_EXPORT'
8461       ;;
8463     hpux9* | hpux10* | hpux11*)
8464       lt_prog_compiler_wl='-Wl,'
8465       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8466       # not for PA HP-UX.
8467       case $host_cpu in
8468       hppa*64*|ia64*)
8469         # +Z the default
8470         ;;
8471       *)
8472         lt_prog_compiler_pic='+Z'
8473         ;;
8474       esac
8475       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8476       lt_prog_compiler_static='${wl}-a ${wl}archive'
8477       ;;
8479     irix5* | irix6* | nonstopux*)
8480       lt_prog_compiler_wl='-Wl,'
8481       # PIC (with -KPIC) is the default.
8482       lt_prog_compiler_static='-non_shared'
8483       ;;
8485     linux* | k*bsd*-gnu)
8486       case $cc_basename in
8487       # old Intel for x86_64 which still supported -KPIC.
8488       ecc*)
8489         lt_prog_compiler_wl='-Wl,'
8490         lt_prog_compiler_pic='-KPIC'
8491         lt_prog_compiler_static='-static'
8492         ;;
8493       # icc used to be incompatible with GCC.
8494       # ICC 10 doesn't accept -KPIC any more.
8495       icc* | ifort*)
8496         lt_prog_compiler_wl='-Wl,'
8497         lt_prog_compiler_pic='-fPIC'
8498         lt_prog_compiler_static='-static'
8499         ;;
8500       # Lahey Fortran 8.1.
8501       lf95*)
8502         lt_prog_compiler_wl='-Wl,'
8503         lt_prog_compiler_pic='--shared'
8504         lt_prog_compiler_static='--static'
8505         ;;
8506       pgcc* | pgf77* | pgf90* | pgf95*)
8507         # Portland Group compilers (*not* the Pentium gcc compiler,
8508         # which looks to be a dead project)
8509         lt_prog_compiler_wl='-Wl,'
8510         lt_prog_compiler_pic='-fpic'
8511         lt_prog_compiler_static='-Bstatic'
8512         ;;
8513       ccc*)
8514         lt_prog_compiler_wl='-Wl,'
8515         # All Alpha code is PIC.
8516         lt_prog_compiler_static='-non_shared'
8517         ;;
8518       xl*)
8519         # IBM XL C 8.0/Fortran 10.1 on PPC
8520         lt_prog_compiler_wl='-Wl,'
8521         lt_prog_compiler_pic='-qpic'
8522         lt_prog_compiler_static='-qstaticlink'
8523         ;;
8524       *)
8525         case `$CC -V 2>&1 | sed 5q` in
8526         *Sun\ C*)
8527           # Sun C 5.9
8528           lt_prog_compiler_pic='-KPIC'
8529           lt_prog_compiler_static='-Bstatic'
8530           lt_prog_compiler_wl='-Wl,'
8531           ;;
8532         *Sun\ F*)
8533           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8534           lt_prog_compiler_pic='-KPIC'
8535           lt_prog_compiler_static='-Bstatic'
8536           lt_prog_compiler_wl=''
8537           ;;
8538         esac
8539         ;;
8540       esac
8541       ;;
8543     newsos6)
8544       lt_prog_compiler_pic='-KPIC'
8545       lt_prog_compiler_static='-Bstatic'
8546       ;;
8548     *nto* | *qnx*)
8549       # QNX uses GNU C++, but need to define -shared option too, otherwise
8550       # it will coredump.
8551       lt_prog_compiler_pic='-fPIC -shared'
8552       ;;
8554     osf3* | osf4* | osf5*)
8555       lt_prog_compiler_wl='-Wl,'
8556       # All OSF/1 code is PIC.
8557       lt_prog_compiler_static='-non_shared'
8558       ;;
8560     rdos*)
8561       lt_prog_compiler_static='-non_shared'
8562       ;;
8564     solaris*)
8565       lt_prog_compiler_pic='-KPIC'
8566       lt_prog_compiler_static='-Bstatic'
8567       case $cc_basename in
8568       f77* | f90* | f95*)
8569         lt_prog_compiler_wl='-Qoption ld ';;
8570       *)
8571         lt_prog_compiler_wl='-Wl,';;
8572       esac
8573       ;;
8575     sunos4*)
8576       lt_prog_compiler_wl='-Qoption ld '
8577       lt_prog_compiler_pic='-PIC'
8578       lt_prog_compiler_static='-Bstatic'
8579       ;;
8581     sysv4 | sysv4.2uw2* | sysv4.3*)
8582       lt_prog_compiler_wl='-Wl,'
8583       lt_prog_compiler_pic='-KPIC'
8584       lt_prog_compiler_static='-Bstatic'
8585       ;;
8587     sysv4*MP*)
8588       if test -d /usr/nec ;then
8589         lt_prog_compiler_pic='-Kconform_pic'
8590         lt_prog_compiler_static='-Bstatic'
8591       fi
8592       ;;
8594     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8595       lt_prog_compiler_wl='-Wl,'
8596       lt_prog_compiler_pic='-KPIC'
8597       lt_prog_compiler_static='-Bstatic'
8598       ;;
8600     unicos*)
8601       lt_prog_compiler_wl='-Wl,'
8602       lt_prog_compiler_can_build_shared=no
8603       ;;
8605     uts4*)
8606       lt_prog_compiler_pic='-pic'
8607       lt_prog_compiler_static='-Bstatic'
8608       ;;
8610     *)
8611       lt_prog_compiler_can_build_shared=no
8612       ;;
8613     esac
8614   fi
8616 case $host_os in
8617   # For platforms which do not support PIC, -DPIC is meaningless:
8618   *djgpp*)
8619     lt_prog_compiler_pic=
8620     ;;
8621   *)
8622     lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
8623     ;;
8624 esac
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8626 $as_echo "$lt_prog_compiler_pic" >&6; }
8628     
8629     
8630     
8634 # Check to make sure the PIC flag actually works.
8636 if test -n "$lt_prog_compiler_pic"; then
8637   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8638 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8639 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8640   $as_echo_n "(cached) " >&6
8641 else
8642   lt_cv_prog_compiler_pic_works=no
8643    ac_outfile=conftest.$ac_objext
8644    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8645    lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
8646    # Insert the option either (1) after the last *FLAGS variable, or
8647    # (2) before a word containing "conftest.", or (3) at the end.
8648    # Note that $ac_compile itself does not contain backslashes and begins
8649    # with a dollar sign (not a hyphen), so the echo should work correctly.
8650    # The option is referenced via a variable to avoid confusing sed.
8651    lt_compile=`echo "$ac_compile" | $SED \
8652    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8653    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8654    -e 's:$: $lt_compiler_flag:'`
8655    (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
8656    (eval "$lt_compile" 2>conftest.err)
8657    ac_status=$?
8658    cat conftest.err >&5
8659    echo "$as_me:__oline__: \$? = $ac_status" >&5
8660    if (exit $ac_status) && test -s "$ac_outfile"; then
8661      # The compiler can only warn and ignore the option if not recognized
8662      # So say no if there are warnings other than the usual output.
8663      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8664      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8665      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8666        lt_cv_prog_compiler_pic_works=yes
8667      fi
8668    fi
8669    $RM conftest*
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8673 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8675 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8676     case $lt_prog_compiler_pic in
8677      "" | " "*) ;;
8678      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8679      esac
8680 else
8681     lt_prog_compiler_pic=
8682      lt_prog_compiler_can_build_shared=no
8687     
8688     
8689     
8693 # Check to make sure the static flag actually works.
8695 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8697 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8698 if ${lt_cv_prog_compiler_static_works+:} false; then :
8699   $as_echo_n "(cached) " >&6
8700 else
8701   lt_cv_prog_compiler_static_works=no
8702    save_LDFLAGS="$LDFLAGS"
8703    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8704    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8705    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8706      # The linker can only warn and ignore the option if not recognized
8707      # So say no if there are warnings
8708      if test -s conftest.err; then
8709        # Append any errors to the config.log.
8710        cat conftest.err 1>&5
8711        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8712        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8713        if diff conftest.exp conftest.er2 >/dev/null; then
8714          lt_cv_prog_compiler_static_works=yes
8715        fi
8716      else
8717        lt_cv_prog_compiler_static_works=yes
8718      fi
8719    fi
8720    $RM -r conftest*
8721    LDFLAGS="$save_LDFLAGS"
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8725 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8727 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8728     :
8729 else
8730     lt_prog_compiler_static=
8734     
8735     
8736     
8739   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8740 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8741 if ${lt_cv_prog_compiler_c_o+:} false; then :
8742   $as_echo_n "(cached) " >&6
8743 else
8744   lt_cv_prog_compiler_c_o=no
8745    $RM -r conftest 2>/dev/null
8746    mkdir conftest
8747    cd conftest
8748    mkdir out
8749    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8751    lt_compiler_flag="-o out/conftest2.$ac_objext"
8752    # Insert the option either (1) after the last *FLAGS variable, or
8753    # (2) before a word containing "conftest.", or (3) at the end.
8754    # Note that $ac_compile itself does not contain backslashes and begins
8755    # with a dollar sign (not a hyphen), so the echo should work correctly.
8756    lt_compile=`echo "$ac_compile" | $SED \
8757    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8758    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8759    -e 's:$: $lt_compiler_flag:'`
8760    (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
8761    (eval "$lt_compile" 2>out/conftest.err)
8762    ac_status=$?
8763    cat out/conftest.err >&5
8764    echo "$as_me:__oline__: \$? = $ac_status" >&5
8765    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8766    then
8767      # The compiler can only warn and ignore the option if not recognized
8768      # So say no if there are warnings
8769      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8770      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8771      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8772        lt_cv_prog_compiler_c_o=yes
8773      fi
8774    fi
8775    chmod u+w . 2>&5
8776    $RM conftest*
8777    # SGI C++ compiler will create directory out/ii_files/ for
8778    # template instantiation
8779    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8780    $RM out/* && rmdir out
8781    cd ..
8782    $RM -r conftest
8783    $RM conftest*
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8787 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8789     
8790     
8791     
8794   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8795 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8796 if ${lt_cv_prog_compiler_c_o+:} false; then :
8797   $as_echo_n "(cached) " >&6
8798 else
8799   lt_cv_prog_compiler_c_o=no
8800    $RM -r conftest 2>/dev/null
8801    mkdir conftest
8802    cd conftest
8803    mkdir out
8804    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8806    lt_compiler_flag="-o out/conftest2.$ac_objext"
8807    # Insert the option either (1) after the last *FLAGS variable, or
8808    # (2) before a word containing "conftest.", or (3) at the end.
8809    # Note that $ac_compile itself does not contain backslashes and begins
8810    # with a dollar sign (not a hyphen), so the echo should work correctly.
8811    lt_compile=`echo "$ac_compile" | $SED \
8812    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8813    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8814    -e 's:$: $lt_compiler_flag:'`
8815    (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
8816    (eval "$lt_compile" 2>out/conftest.err)
8817    ac_status=$?
8818    cat out/conftest.err >&5
8819    echo "$as_me:__oline__: \$? = $ac_status" >&5
8820    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8821    then
8822      # The compiler can only warn and ignore the option if not recognized
8823      # So say no if there are warnings
8824      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8825      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8826      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8827        lt_cv_prog_compiler_c_o=yes
8828      fi
8829    fi
8830    chmod u+w . 2>&5
8831    $RM conftest*
8832    # SGI C++ compiler will create directory out/ii_files/ for
8833    # template instantiation
8834    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8835    $RM out/* && rmdir out
8836    cd ..
8837    $RM -r conftest
8838    $RM conftest*
8841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8842 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8847 hard_links="nottested"
8848 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8849   # do not overwrite the value of need_locks provided by the user
8850   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8851 $as_echo_n "checking if we can lock with hard links... " >&6; }
8852   hard_links=yes
8853   $RM conftest*
8854   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8855   touch conftest.a
8856   ln conftest.a conftest.b 2>&5 || hard_links=no
8857   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8859 $as_echo "$hard_links" >&6; }
8860   if test "$hard_links" = no; then
8861     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8862 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8863     need_locks=warn
8864   fi
8865 else
8866   need_locks=no
8869     
8870     
8871     
8874   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8875 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8877   runpath_var=
8878   allow_undefined_flag=
8879   always_export_symbols=no
8880   archive_cmds=
8881   archive_expsym_cmds=
8882   compiler_needs_object=no
8883   enable_shared_with_static_runtimes=no
8884   export_dynamic_flag_spec=
8885   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8886   hardcode_automatic=no
8887   hardcode_direct=no
8888   hardcode_direct_absolute=no
8889   hardcode_libdir_flag_spec=
8890   hardcode_libdir_flag_spec_ld=
8891   hardcode_libdir_separator=
8892   hardcode_minus_L=no
8893   hardcode_shlibpath_var=unsupported
8894   inherit_rpath=no
8895   link_all_deplibs=unknown
8896   module_cmds=
8897   module_expsym_cmds=
8898   old_archive_from_new_cmds=
8899   old_archive_from_expsyms_cmds=
8900   thread_safe_flag_spec=
8901   whole_archive_flag_spec=
8902   # include_expsyms should be a list of space-separated symbols to be *always*
8903   # included in the symbol list
8904   include_expsyms=
8905   # exclude_expsyms can be an extended regexp of symbols to exclude
8906   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8907   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8908   # as well as any symbol that contains `d'.
8909   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8910   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8911   # platforms (ab)use it in PIC code, but their linkers get confused if
8912   # the symbol is explicitly referenced.  Since portable code cannot
8913   # rely on this symbol name, it's probably fine to never include it in
8914   # preloaded symbol tables.
8915   # Exclude shared library initialization/finalization symbols.
8916   extract_expsyms_cmds=
8918   case $host_os in
8919   cygwin* | mingw* | pw32* | cegcc*)
8920     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8921     # When not using gcc, we currently assume that we are using
8922     # Microsoft Visual C++.
8923     if test "$GCC" != yes; then
8924       with_gnu_ld=no
8925     fi
8926     ;;
8927   interix*)
8928     # we just hope/assume this is gcc and not c89 (= MSVC++)
8929     with_gnu_ld=yes
8930     ;;
8931   openbsd*)
8932     with_gnu_ld=no
8933     ;;
8934   esac
8936   ld_shlibs=yes
8937   if test "$with_gnu_ld" = yes; then
8938     # If archive_cmds runs LD, not CC, wlarc should be empty
8939     wlarc='${wl}'
8941     # Set some defaults for GNU ld with shared library support. These
8942     # are reset later if shared libraries are not supported. Putting them
8943     # here allows them to be overridden if necessary.
8944     runpath_var=LD_RUN_PATH
8945     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8946     export_dynamic_flag_spec='${wl}--export-dynamic'
8947     # ancient GNU ld didn't support --whole-archive et. al.
8948     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8949       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8950     else
8951       whole_archive_flag_spec=
8952     fi
8953     supports_anon_versioning=no
8954     case `$LD -v 2>&1` in
8955       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8956       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8957       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8958       *\ 2.11.*) ;; # other 2.11 versions
8959       *) supports_anon_versioning=yes ;;
8960     esac
8962     # See if GNU ld supports shared libraries.
8963     case $host_os in
8964     aix[3-9]*)
8965       # On AIX/PPC, the GNU linker is very broken
8966       if test "$host_cpu" != ia64; then
8967         ld_shlibs=no
8968         cat <<_LT_EOF 1>&2
8970 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8971 *** to be unable to reliably create shared libraries on AIX.
8972 *** Therefore, libtool is disabling shared libraries support.  If you
8973 *** really care for shared libraries, you may want to modify your PATH
8974 *** so that a non-GNU linker is found, and then restart.
8976 _LT_EOF
8977       fi
8978       ;;
8980     amigaos*)
8981       case $host_cpu in
8982       powerpc)
8983             # see comment about AmigaOS4 .so support
8984             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8985             archive_expsym_cmds=''
8986         ;;
8987       m68k)
8988             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)'
8989             hardcode_libdir_flag_spec='-L$libdir'
8990             hardcode_minus_L=yes
8991         ;;
8992       esac
8993       ;;
8995     beos*)
8996       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8997         allow_undefined_flag=unsupported
8998         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8999         # support --undefined.  This deserves some investigation.  FIXME
9000         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9001       else
9002         ld_shlibs=no
9003       fi
9004       ;;
9006     cygwin* | mingw* | pw32* | cegcc*)
9007       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9008       # as there is no search path for DLLs.
9009       hardcode_libdir_flag_spec='-L$libdir'
9010       allow_undefined_flag=unsupported
9011       always_export_symbols=no
9012       enable_shared_with_static_runtimes=yes
9013       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9015       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9016         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9017         # If the export-symbols file already is a .def file (1st line
9018         # is EXPORTS), use it as is; otherwise, prepend...
9019         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9020           cp $export_symbols $output_objdir/$soname.def;
9021         else
9022           echo EXPORTS > $output_objdir/$soname.def;
9023           cat $export_symbols >> $output_objdir/$soname.def;
9024         fi~
9025         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9026       else
9027         ld_shlibs=no
9028       fi
9029       ;;
9031     interix[3-9]*)
9032       hardcode_direct=no
9033       hardcode_shlibpath_var=no
9034       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9035       export_dynamic_flag_spec='${wl}-E'
9036       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9037       # Instead, shared libraries are loaded at an image base (0x10000000 by
9038       # default) and relocated if they conflict, which is a slow very memory
9039       # consuming and fragmenting process.  To avoid this, we pick a random,
9040       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9041       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9042       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9043       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'
9044       ;;
9046     gnu* | linux* | tpf* | k*bsd*-gnu)
9047       tmp_diet=no
9048       if test "$host_os" = linux-dietlibc; then
9049         case $cc_basename in
9050           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9051         esac
9052       fi
9053       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9054          && test "$tmp_diet" = no
9055       then
9056         tmp_addflag=
9057         tmp_sharedflag='-shared'
9058         case $cc_basename,$host_cpu in
9059         pgcc*)                          # Portland Group C compiler
9060           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'
9061           tmp_addflag=' $pic_flag'
9062           ;;
9063         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9064           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'
9065           tmp_addflag=' $pic_flag -Mnomain' ;;
9066         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9067           tmp_addflag=' -i_dynamic' ;;
9068         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9069           tmp_addflag=' -i_dynamic -nofor_main' ;;
9070         ifc* | ifort*)                  # Intel Fortran compiler
9071           tmp_addflag=' -nofor_main' ;;
9072         lf95*)                          # Lahey Fortran 8.1
9073           whole_archive_flag_spec=
9074           tmp_sharedflag='--shared' ;;
9075         xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
9076           tmp_sharedflag='-qmkshrobj'
9077           tmp_addflag= ;;
9078         esac
9079         case `$CC -V 2>&1 | sed 5q` in
9080         *Sun\ C*)                       # Sun C 5.9
9081           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'
9082           compiler_needs_object=yes
9083           tmp_sharedflag='-G' ;;
9084         *Sun\ F*)                       # Sun Fortran 8.3
9085           tmp_sharedflag='-G' ;;
9086         esac
9087         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9089         if test "x$supports_anon_versioning" = xyes; then
9090           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9091             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9092             echo "local: *; };" >> $output_objdir/$libname.ver~
9093             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9094         fi
9096         case $cc_basename in
9097         xlf*)
9098           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9099           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9100           hardcode_libdir_flag_spec=
9101           hardcode_libdir_flag_spec_ld='-rpath $libdir'
9102           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9103           if test "x$supports_anon_versioning" = xyes; then
9104             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9105               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9106               echo "local: *; };" >> $output_objdir/$libname.ver~
9107               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9108           fi
9109           ;;
9110         esac
9111       else
9112         ld_shlibs=no
9113       fi
9114       ;;
9116     netbsd*)
9117       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9118         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9119         wlarc=
9120       else
9121         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9122         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9123       fi
9124       ;;
9126     solaris*)
9127       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9128         ld_shlibs=no
9129         cat <<_LT_EOF 1>&2
9131 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9132 *** create shared libraries on Solaris systems.  Therefore, libtool
9133 *** is disabling shared libraries support.  We urge you to upgrade GNU
9134 *** binutils to release 2.9.1 or newer.  Another option is to modify
9135 *** your PATH or compiler configuration so that the native linker is
9136 *** used, and then restart.
9138 _LT_EOF
9139       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9140         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9141         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9142       else
9143         ld_shlibs=no
9144       fi
9145       ;;
9147     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9148       case `$LD -v 2>&1` in
9149         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9150         ld_shlibs=no
9151         cat <<_LT_EOF 1>&2
9153 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9154 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9155 *** is disabling shared libraries support.  We urge you to upgrade GNU
9156 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9157 *** your PATH or compiler configuration so that the native linker is
9158 *** used, and then restart.
9160 _LT_EOF
9161         ;;
9162         *)
9163           # For security reasons, it is highly recommended that you always
9164           # use absolute paths for naming shared libraries, and exclude the
9165           # DT_RUNPATH tag from executables and libraries.  But doing so
9166           # requires that you compile everything twice, which is a pain.
9167           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9168             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9169             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9170             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9171           else
9172             ld_shlibs=no
9173           fi
9174         ;;
9175       esac
9176       ;;
9178     sunos4*)
9179       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9180       wlarc=
9181       hardcode_direct=yes
9182       hardcode_shlibpath_var=no
9183       ;;
9185     *)
9186       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9187         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9188         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9189       else
9190         ld_shlibs=no
9191       fi
9192       ;;
9193     esac
9195     if test "$ld_shlibs" = no; then
9196       runpath_var=
9197       hardcode_libdir_flag_spec=
9198       export_dynamic_flag_spec=
9199       whole_archive_flag_spec=
9200     fi
9201   else
9202     # PORTME fill in a description of your system's linker (not GNU ld)
9203     case $host_os in
9204     aix3*)
9205       allow_undefined_flag=unsupported
9206       always_export_symbols=yes
9207       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'
9208       # Note: this linker hardcodes the directories in LIBPATH if there
9209       # are no directories specified by -L.
9210       hardcode_minus_L=yes
9211       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9212         # Neither direct hardcoding nor static linking is supported with a
9213         # broken collect2.
9214         hardcode_direct=unsupported
9215       fi
9216       ;;
9218     aix[4-9]*)
9219       if test "$host_cpu" = ia64; then
9220         # On IA64, the linker does run time linking by default, so we don't
9221         # have to do anything special.
9222         aix_use_runtimelinking=no
9223         exp_sym_flag='-Bexport'
9224         no_entry_flag=""
9225       else
9226         # If we're using GNU nm, then we don't want the "-C" option.
9227         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9228         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9229           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'
9230         else
9231           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'
9232         fi
9233         aix_use_runtimelinking=no
9235         # Test if we are trying to use run time linking or normal
9236         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9237         # need to do runtime linking.
9238         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9239           for ld_flag in $LDFLAGS; do
9240           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9241             aix_use_runtimelinking=yes
9242             break
9243           fi
9244           done
9245           ;;
9246         esac
9248         exp_sym_flag='-bexport'
9249         no_entry_flag='-bnoentry'
9250       fi
9252       # When large executables or shared objects are built, AIX ld can
9253       # have problems creating the table of contents.  If linking a library
9254       # or program results in "error TOC overflow" add -mminimal-toc to
9255       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9256       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9258       archive_cmds=''
9259       hardcode_direct=yes
9260       hardcode_direct_absolute=yes
9261       hardcode_libdir_separator=':'
9262       link_all_deplibs=yes
9263       file_list_spec='${wl}-f,'
9265       if test "$GCC" = yes; then
9266         case $host_os in aix4.[012]|aix4.[012].*)
9267         # We only want to do this on AIX 4.2 and lower, the check
9268         # below for broken collect2 doesn't work under 4.3+
9269           collect2name=`${CC} -print-prog-name=collect2`
9270           if test -f "$collect2name" &&
9271            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9272           then
9273           # We have reworked collect2
9274           :
9275           else
9276           # We have old collect2
9277           hardcode_direct=unsupported
9278           # It fails to find uninstalled libraries when the uninstalled
9279           # path is not listed in the libpath.  Setting hardcode_minus_L
9280           # to unsupported forces relinking
9281           hardcode_minus_L=yes
9282           hardcode_libdir_flag_spec='-L$libdir'
9283           hardcode_libdir_separator=
9284           fi
9285           ;;
9286         esac
9287         shared_flag='-shared'
9288         if test "$aix_use_runtimelinking" = yes; then
9289           shared_flag="$shared_flag "'${wl}-G'
9290         fi
9291       else
9292         # not using gcc
9293         if test "$host_cpu" = ia64; then
9294         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9295         # chokes on -Wl,-G. The following line is correct:
9296           shared_flag='-G'
9297         else
9298           if test "$aix_use_runtimelinking" = yes; then
9299             shared_flag='${wl}-G'
9300           else
9301             shared_flag='${wl}-bM:SRE'
9302           fi
9303         fi
9304       fi
9306       export_dynamic_flag_spec='${wl}-bexpall'
9307       # It seems that -bexpall does not export symbols beginning with
9308       # underscore (_), so it is better to generate a list of symbols to export.
9309       always_export_symbols=yes
9310       if test "$aix_use_runtimelinking" = yes; then
9311         # Warning - without using the other runtime loading flags (-brtl),
9312         # -berok will link without error, but may produce a broken library.
9313         allow_undefined_flag='-berok'
9314         # Determine the default libpath from the value encoded in an
9315         # empty executable.
9316         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9317 /* end confdefs.h.  */
9320 main ()
9323   ;
9324   return 0;
9326 _ACEOF
9327 if ac_fn_c_try_link "$LINENO"; then :
9328   
9329 lt_aix_libpath_sed='
9330     /Import File Strings/,/^$/ {
9331         /^0/ {
9332             s/^0  *\(.*\)$/\1/
9333             p
9334         }
9335     }'
9336 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9337 # Check for a 64-bit object if we didn't find anything.
9338 if test -z "$aix_libpath"; then
9339   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9342 rm -f core conftest.err conftest.$ac_objext \
9343     conftest$ac_exeext conftest.$ac_ext
9344 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9346         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9347         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"
9348       else
9349         if test "$host_cpu" = ia64; then
9350           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9351           allow_undefined_flag="-z nodefs"
9352           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"
9353         else
9354          # Determine the default libpath from the value encoded in an
9355          # empty executable.
9356          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9357 /* end confdefs.h.  */
9360 main ()
9363   ;
9364   return 0;
9366 _ACEOF
9367 if ac_fn_c_try_link "$LINENO"; then :
9368   
9369 lt_aix_libpath_sed='
9370     /Import File Strings/,/^$/ {
9371         /^0/ {
9372             s/^0  *\(.*\)$/\1/
9373             p
9374         }
9375     }'
9376 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9377 # Check for a 64-bit object if we didn't find anything.
9378 if test -z "$aix_libpath"; then
9379   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9382 rm -f core conftest.err conftest.$ac_objext \
9383     conftest$ac_exeext conftest.$ac_ext
9384 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9386          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9387           # Warning - without using the other run time loading flags,
9388           # -berok will link without error, but may produce a broken library.
9389           no_undefined_flag=' ${wl}-bernotok'
9390           allow_undefined_flag=' ${wl}-berok'
9391           # Exported symbols can be pulled into shared objects from archives
9392           whole_archive_flag_spec='$convenience'
9393           archive_cmds_need_lc=yes
9394           # This is similar to how AIX traditionally builds its shared libraries.
9395           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'
9396         fi
9397       fi
9398       ;;
9400     amigaos*)
9401       case $host_cpu in
9402       powerpc)
9403             # see comment about AmigaOS4 .so support
9404             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9405             archive_expsym_cmds=''
9406         ;;
9407       m68k)
9408             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)'
9409             hardcode_libdir_flag_spec='-L$libdir'
9410             hardcode_minus_L=yes
9411         ;;
9412       esac
9413       ;;
9415     bsdi[45]*)
9416       export_dynamic_flag_spec=-rdynamic
9417       ;;
9419     cygwin* | mingw* | pw32* | cegcc*)
9420       # When not using gcc, we currently assume that we are using
9421       # Microsoft Visual C++.
9422       # hardcode_libdir_flag_spec is actually meaningless, as there is
9423       # no search path for DLLs.
9424       hardcode_libdir_flag_spec=' '
9425       allow_undefined_flag=unsupported
9426       # Tell ltmain to make .lib files, not .a files.
9427       libext=lib
9428       # Tell ltmain to make .dll files, not .so files.
9429       shrext_cmds=".dll"
9430       # FIXME: Setting linknames here is a bad hack.
9431       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9432       # The linker will automatically build a .lib file if we build a DLL.
9433       old_archive_from_new_cmds='true'
9434       # FIXME: Should let the user specify the lib program.
9435       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9436       fix_srcfile_path='`cygpath -w "$srcfile"`'
9437       enable_shared_with_static_runtimes=yes
9438       ;;
9440     darwin* | rhapsody*)
9441       
9442   
9443   archive_cmds_need_lc=no
9444   hardcode_direct=no
9445   hardcode_automatic=yes
9446   hardcode_shlibpath_var=unsupported
9447   whole_archive_flag_spec=''
9448   link_all_deplibs=yes
9449   allow_undefined_flag="$_lt_dar_allow_undefined"
9450   case $cc_basename in
9451      ifort*) _lt_dar_can_shared=yes ;;
9452      *) _lt_dar_can_shared=$GCC ;;
9453   esac
9454   if test "$_lt_dar_can_shared" = "yes"; then
9455     output_verbose_link_cmd=echo
9456     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9457     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9458     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}"
9459     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}"
9460     
9461   else
9462   ld_shlibs=no
9463   fi
9465       ;;
9467     dgux*)
9468       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9469       hardcode_libdir_flag_spec='-L$libdir'
9470       hardcode_shlibpath_var=no
9471       ;;
9473     freebsd1*)
9474       ld_shlibs=no
9475       ;;
9477     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9478     # support.  Future versions do this automatically, but an explicit c++rt0.o
9479     # does not break anything, and helps significantly (at the cost of a little
9480     # extra space).
9481     freebsd2.2*)
9482       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9483       hardcode_libdir_flag_spec='-R$libdir'
9484       hardcode_direct=yes
9485       hardcode_shlibpath_var=no
9486       ;;
9488     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9489     freebsd2*)
9490       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9491       hardcode_direct=yes
9492       hardcode_minus_L=yes
9493       hardcode_shlibpath_var=no
9494       ;;
9496     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9497     freebsd* | dragonfly*)
9498       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9499       hardcode_libdir_flag_spec='-R$libdir'
9500       hardcode_direct=yes
9501       hardcode_shlibpath_var=no
9502       ;;
9504     hpux9*)
9505       if test "$GCC" = yes; then
9506         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'
9507       else
9508         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'
9509       fi
9510       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9511       hardcode_libdir_separator=:
9512       hardcode_direct=yes
9514       # hardcode_minus_L: Not really in the search PATH,
9515       # but as the default location of the library.
9516       hardcode_minus_L=yes
9517       export_dynamic_flag_spec='${wl}-E'
9518       ;;
9520     hpux10*)
9521       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9522         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9523       else
9524         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9525       fi
9526       if test "$with_gnu_ld" = no; then
9527         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9528         hardcode_libdir_flag_spec_ld='+b $libdir'
9529         hardcode_libdir_separator=:
9530         hardcode_direct=yes
9531         hardcode_direct_absolute=yes
9532         export_dynamic_flag_spec='${wl}-E'
9533         # hardcode_minus_L: Not really in the search PATH,
9534         # but as the default location of the library.
9535         hardcode_minus_L=yes
9536       fi
9537       ;;
9539     hpux11*)
9540       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9541         case $host_cpu in
9542         hppa*64*)
9543           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9544           ;;
9545         ia64*)
9546           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9547           ;;
9548         *)
9549           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9550           ;;
9551         esac
9552       else
9553         case $host_cpu in
9554         hppa*64*)
9555           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9556           ;;
9557         ia64*)
9558           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9559           ;;
9560         *)
9561           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9562           ;;
9563         esac
9564       fi
9565       if test "$with_gnu_ld" = no; then
9566         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9567         hardcode_libdir_separator=:
9569         case $host_cpu in
9570         hppa*64*|ia64*)
9571           hardcode_direct=no
9572           hardcode_shlibpath_var=no
9573           ;;
9574         *)
9575           hardcode_direct=yes
9576           hardcode_direct_absolute=yes
9577           export_dynamic_flag_spec='${wl}-E'
9579           # hardcode_minus_L: Not really in the search PATH,
9580           # but as the default location of the library.
9581           hardcode_minus_L=yes
9582           ;;
9583         esac
9584       fi
9585       ;;
9587     irix5* | irix6* | nonstopux*)
9588       if test "$GCC" = yes; then
9589         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'
9590         # Try to use the -exported_symbol ld option, if it does not
9591         # work, assume that -exports_file does not work either and
9592         # implicitly export all symbols.
9593         save_LDFLAGS="$LDFLAGS"
9594         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9595         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9596 /* end confdefs.h.  */
9597 int foo (void) { return 0; }
9598 _ACEOF
9599 if ac_fn_c_try_link "$LINENO"; then :
9600   
9601           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'
9602         
9604 rm -f core conftest.err conftest.$ac_objext \
9605     conftest$ac_exeext conftest.$ac_ext
9606         LDFLAGS="$save_LDFLAGS"
9607       else
9608         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'
9609         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'
9610       fi
9611       archive_cmds_need_lc='no'
9612       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9613       hardcode_libdir_separator=:
9614       inherit_rpath=yes
9615       link_all_deplibs=yes
9616       ;;
9618     netbsd*)
9619       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9620         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9621       else
9622         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9623       fi
9624       hardcode_libdir_flag_spec='-R$libdir'
9625       hardcode_direct=yes
9626       hardcode_shlibpath_var=no
9627       ;;
9629     newsos6)
9630       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9631       hardcode_direct=yes
9632       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9633       hardcode_libdir_separator=:
9634       hardcode_shlibpath_var=no
9635       ;;
9637     *nto* | *qnx*)
9638       ;;
9640     openbsd*)
9641       if test -f /usr/libexec/ld.so; then
9642         hardcode_direct=yes
9643         hardcode_shlibpath_var=no
9644         hardcode_direct_absolute=yes
9645         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9646           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9647           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9648           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9649           export_dynamic_flag_spec='${wl}-E'
9650         else
9651           case $host_os in
9652            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9653              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9654              hardcode_libdir_flag_spec='-R$libdir'
9655              ;;
9656            *)
9657              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9658              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9659              ;;
9660           esac
9661         fi
9662       else
9663         ld_shlibs=no
9664       fi
9665       ;;
9667     os2*)
9668       hardcode_libdir_flag_spec='-L$libdir'
9669       hardcode_minus_L=yes
9670       allow_undefined_flag=unsupported
9671       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'
9672       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9673       ;;
9675     osf3*)
9676       if test "$GCC" = yes; then
9677         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9678         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'
9679       else
9680         allow_undefined_flag=' -expect_unresolved \*'
9681         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'
9682       fi
9683       archive_cmds_need_lc='no'
9684       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9685       hardcode_libdir_separator=:
9686       ;;
9688     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9689       if test "$GCC" = yes; then
9690         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9691         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'
9692         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9693       else
9694         allow_undefined_flag=' -expect_unresolved \*'
9695         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'
9696         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~
9697         $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'
9699         # Both c and cxx compiler support -rpath directly
9700         hardcode_libdir_flag_spec='-rpath $libdir'
9701       fi
9702       archive_cmds_need_lc='no'
9703       hardcode_libdir_separator=:
9704       ;;
9706     solaris*)
9707       no_undefined_flag=' -z defs'
9708       if test "$GCC" = yes; then
9709         wlarc='${wl}'
9710         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9711         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9712           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9713       else
9714         case `$CC -V 2>&1` in
9715         *"Compilers 5.0"*)
9716           wlarc=''
9717           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9718           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9719           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9720           ;;
9721         *)
9722           wlarc='${wl}'
9723           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9724           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9725           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9726           ;;
9727         esac
9728       fi
9729       hardcode_libdir_flag_spec='-R$libdir'
9730       hardcode_shlibpath_var=no
9731       case $host_os in
9732       solaris2.[0-5] | solaris2.[0-5].*) ;;
9733       *)
9734         # The compiler driver will combine and reorder linker options,
9735         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9736         # but is careful enough not to reorder.
9737         # Supported since Solaris 2.6 (maybe 2.5.1?)
9738         if test "$GCC" = yes; then
9739           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9740         else
9741           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9742         fi
9743         ;;
9744       esac
9745       link_all_deplibs=yes
9746       ;;
9748     sunos4*)
9749       if test "x$host_vendor" = xsequent; then
9750         # Use $CC to link under sequent, because it throws in some extra .o
9751         # files that make .init and .fini sections work.
9752         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9753       else
9754         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9755       fi
9756       hardcode_libdir_flag_spec='-L$libdir'
9757       hardcode_direct=yes
9758       hardcode_minus_L=yes
9759       hardcode_shlibpath_var=no
9760       ;;
9762     sysv4)
9763       case $host_vendor in
9764         sni)
9765           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9766           hardcode_direct=yes # is this really true???
9767         ;;
9768         siemens)
9769           ## LD is ld it makes a PLAMLIB
9770           ## CC just makes a GrossModule.
9771           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9772           reload_cmds='$CC -r -o $output$reload_objs'
9773           hardcode_direct=no
9774         ;;
9775         motorola)
9776           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9777           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9778         ;;
9779       esac
9780       runpath_var='LD_RUN_PATH'
9781       hardcode_shlibpath_var=no
9782       ;;
9784     sysv4.3*)
9785       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9786       hardcode_shlibpath_var=no
9787       export_dynamic_flag_spec='-Bexport'
9788       ;;
9790     sysv4*MP*)
9791       if test -d /usr/nec; then
9792         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9793         hardcode_shlibpath_var=no
9794         runpath_var=LD_RUN_PATH
9795         hardcode_runpath_var=yes
9796         ld_shlibs=yes
9797       fi
9798       ;;
9800     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9801       no_undefined_flag='${wl}-z,text'
9802       archive_cmds_need_lc=no
9803       hardcode_shlibpath_var=no
9804       runpath_var='LD_RUN_PATH'
9806       if test "$GCC" = yes; then
9807         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9808         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9809       else
9810         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9811         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9812       fi
9813       ;;
9815     sysv5* | sco3.2v5* | sco5v6*)
9816       # Note: We can NOT use -z defs as we might desire, because we do not
9817       # link with -lc, and that would cause any symbols used from libc to
9818       # always be unresolved, which means just about no library would
9819       # ever link correctly.  If we're not using GNU ld we use -z text
9820       # though, which does catch some bad symbols but isn't as heavy-handed
9821       # as -z defs.
9822       no_undefined_flag='${wl}-z,text'
9823       allow_undefined_flag='${wl}-z,nodefs'
9824       archive_cmds_need_lc=no
9825       hardcode_shlibpath_var=no
9826       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9827       hardcode_libdir_separator=':'
9828       link_all_deplibs=yes
9829       export_dynamic_flag_spec='${wl}-Bexport'
9830       runpath_var='LD_RUN_PATH'
9832       if test "$GCC" = yes; then
9833         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9834         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9835       else
9836         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9837         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9838       fi
9839       ;;
9841     uts4*)
9842       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9843       hardcode_libdir_flag_spec='-L$libdir'
9844       hardcode_shlibpath_var=no
9845       ;;
9847     *)
9848       ld_shlibs=no
9849       ;;
9850     esac
9852     if test x$host_vendor = xsni; then
9853       case $host in
9854       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9855         export_dynamic_flag_spec='${wl}-Blargedynsym'
9856         ;;
9857       esac
9858     fi
9859   fi
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9862 $as_echo "$ld_shlibs" >&6; }
9863 test "$ld_shlibs" = no && can_build_shared=no
9865 with_gnu_ld=$with_gnu_ld
9868     
9869     
9870     
9872     
9873     
9874     
9876     
9877     
9878     
9882 # Do we need to explicitly link libc?
9884 case "x$archive_cmds_need_lc" in
9885 x|xyes)
9886   # Assume -lc should be added
9887   archive_cmds_need_lc=yes
9889   if test "$enable_shared" = yes && test "$GCC" = yes; then
9890     case $archive_cmds in
9891     *'~'*)
9892       # FIXME: we may have to deal with multi-command sequences.
9893       ;;
9894     '$CC '*)
9895       # Test whether the compiler implicitly links with -lc since on some
9896       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9897       # to ld, don't add -lc before -lgcc.
9898       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9899 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9900       $RM conftest*
9901       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9903       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9904   (eval $ac_compile) 2>&5
9905   ac_status=$?
9906   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9907   test $ac_status = 0; } 2>conftest.err; then
9908         soname=conftest
9909         lib=conftest
9910         libobjs=conftest.$ac_objext
9911         deplibs=
9912         wl=$lt_prog_compiler_wl
9913         pic_flag=$lt_prog_compiler_pic
9914         compiler_flags=-v
9915         linker_flags=-v
9916         verstring=
9917         output_objdir=.
9918         libname=conftest
9919         lt_save_allow_undefined_flag=$allow_undefined_flag
9920         allow_undefined_flag=
9921         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9922   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9923   ac_status=$?
9924   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9925   test $ac_status = 0; }
9926         then
9927           archive_cmds_need_lc=no
9928         else
9929           archive_cmds_need_lc=yes
9930         fi
9931         allow_undefined_flag=$lt_save_allow_undefined_flag
9932       else
9933         cat conftest.err 1>&5
9934       fi
9935       $RM conftest*
9936       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9937 $as_echo "$archive_cmds_need_lc" >&6; }
9938       ;;
9939     esac
9940   fi
9941   ;;
9942 esac
9945     
9946     
9947     
9950     
9951     
9952     
9955     
9956     
9957     
9960     
9961     
9962     
9965     
9966     
9967     
9970     
9971     
9972     
9975     
9976     
9977     
9980     
9981     
9982     
9985     
9986     
9987     
9990     
9991     
9992     
9995     
9996     
9997     
10000     
10001     
10002     
10005     
10006     
10007     
10010     
10011     
10012     
10015     
10016     
10017     
10020     
10021     
10022     
10025     
10026     
10027     
10030     
10031     
10032     
10035     
10036     
10037     
10040     
10041     
10042     
10045     
10046     
10047     
10050     
10051     
10052     
10055     
10056     
10057     
10060     
10061     
10062     
10065     
10066     
10067     
10070     
10071     
10072     
10075     
10076     
10077     
10080     
10081     
10082     
10085     
10086     
10087     
10090     
10091     
10092     
10095     
10096     
10097     
10100   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10101 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10103 if test "$GCC" = yes; then
10104   case $host_os in
10105     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10106     *) lt_awk_arg="/^libraries:/" ;;
10107   esac
10108   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10109   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10110     # if the path contains ";" then we assume it to be the separator
10111     # otherwise default to the standard path separator (i.e. ":") - it is
10112     # assumed that no part of a normal pathname contains ";" but that should
10113     # okay in the real world where ";" in dirpaths is itself problematic.
10114     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10115   else
10116     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10117   fi
10118   # Ok, now we have the path, separated by spaces, we can step through it
10119   # and add multilib dir if necessary.
10120   lt_tmp_lt_search_path_spec=
10121   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10122   for lt_sys_path in $lt_search_path_spec; do
10123     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10124       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10125     else
10126       test -d "$lt_sys_path" && \
10127         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10128     fi
10129   done
10130   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10131 BEGIN {RS=" "; FS="/|\n";} {
10132   lt_foo="";
10133   lt_count=0;
10134   for (lt_i = NF; lt_i > 0; lt_i--) {
10135     if ($lt_i != "" && $lt_i != ".") {
10136       if ($lt_i == "..") {
10137         lt_count++;
10138       } else {
10139         if (lt_count == 0) {
10140           lt_foo="/" $lt_i lt_foo;
10141         } else {
10142           lt_count--;
10143         }
10144       }
10145     }
10146   }
10147   if (lt_foo != "") { lt_freq[lt_foo]++; }
10148   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10150   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10151 else
10152   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10154 library_names_spec=
10155 libname_spec='lib$name'
10156 soname_spec=
10157 shrext_cmds=".so"
10158 postinstall_cmds=
10159 postuninstall_cmds=
10160 finish_cmds=
10161 finish_eval=
10162 shlibpath_var=
10163 shlibpath_overrides_runpath=unknown
10164 version_type=none
10165 dynamic_linker="$host_os ld.so"
10166 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10167 need_lib_prefix=unknown
10168 hardcode_into_libs=no
10170 # when you set need_version to no, make sure it does not cause -set_version
10171 # flags to be left without arguments
10172 need_version=unknown
10174 case $host_os in
10175 aix3*)
10176   version_type=linux
10177   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10178   shlibpath_var=LIBPATH
10180   # AIX 3 has no versioning support, so we append a major version to the name.
10181   soname_spec='${libname}${release}${shared_ext}$major'
10182   ;;
10184 aix[4-9]*)
10185   version_type=linux
10186   need_lib_prefix=no
10187   need_version=no
10188   hardcode_into_libs=yes
10189   if test "$host_cpu" = ia64; then
10190     # AIX 5 supports IA64
10191     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10192     shlibpath_var=LD_LIBRARY_PATH
10193   else
10194     # With GCC up to 2.95.x, collect2 would create an import file
10195     # for dependence libraries.  The import file would start with
10196     # the line `#! .'.  This would cause the generated library to
10197     # depend on `.', always an invalid library.  This was fixed in
10198     # development snapshots of GCC prior to 3.0.
10199     case $host_os in
10200       aix4 | aix4.[01] | aix4.[01].*)
10201       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10202            echo ' yes '
10203            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10204         :
10205       else
10206         can_build_shared=no
10207       fi
10208       ;;
10209     esac
10210     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10211     # soname into executable. Probably we can add versioning support to
10212     # collect2, so additional links can be useful in future.
10213     if test "$aix_use_runtimelinking" = yes; then
10214       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10215       # instead of lib<name>.a to let people know that these are not
10216       # typical AIX shared libraries.
10217       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10218     else
10219       # We preserve .a as extension for shared libraries through AIX4.2
10220       # and later when we are not doing run time linking.
10221       library_names_spec='${libname}${release}.a $libname.a'
10222       soname_spec='${libname}${release}${shared_ext}$major'
10223     fi
10224     shlibpath_var=LIBPATH
10225   fi
10226   ;;
10228 amigaos*)
10229   case $host_cpu in
10230   powerpc)
10231     # Since July 2007 AmigaOS4 officially supports .so libraries.
10232     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10233     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10234     ;;
10235   m68k)
10236     library_names_spec='$libname.ixlibrary $libname.a'
10237     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10238     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'
10239     ;;
10240   esac
10241   ;;
10243 beos*)
10244   library_names_spec='${libname}${shared_ext}'
10245   dynamic_linker="$host_os ld.so"
10246   shlibpath_var=LIBRARY_PATH
10247   ;;
10249 bsdi[45]*)
10250   version_type=linux
10251   need_version=no
10252   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10253   soname_spec='${libname}${release}${shared_ext}$major'
10254   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10255   shlibpath_var=LD_LIBRARY_PATH
10256   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10257   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10258   # the default ld.so.conf also contains /usr/contrib/lib and
10259   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10260   # libtool to hard-code these into programs
10261   ;;
10263 cygwin* | mingw* | pw32* | cegcc*)
10264   version_type=windows
10265   shrext_cmds=".dll"
10266   need_version=no
10267   need_lib_prefix=no
10269   case $GCC,$host_os in
10270   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10271     library_names_spec='$libname.dll.a'
10272     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10273     postinstall_cmds='base_file=`basename \${file}`~
10274       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10275       dldir=$destdir/`dirname \$dlpath`~
10276       test -d \$dldir || mkdir -p \$dldir~
10277       $install_prog $dir/$dlname \$dldir/$dlname~
10278       chmod a+x \$dldir/$dlname~
10279       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10280         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10281       fi'
10282     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10283       dlpath=$dir/\$dldll~
10284        $RM \$dlpath'
10285     shlibpath_overrides_runpath=yes
10287     case $host_os in
10288     cygwin*)
10289       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10290       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10291       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10292       ;;
10293     mingw* | cegcc*)
10294       # MinGW DLLs use traditional 'lib' prefix
10295       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10296       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10297       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10298         # It is most probably a Windows format PATH printed by
10299         # mingw gcc, but we are running on Cygwin. Gcc prints its search
10300         # path with ; separators, and with drive letters. We can handle the
10301         # drive letters (cygwin fileutils understands them), so leave them,
10302         # especially as we might pass files found there to a mingw objdump,
10303         # which wouldn't understand a cygwinified path. Ahh.
10304         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10305       else
10306         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10307       fi
10308       ;;
10309     pw32*)
10310       # pw32 DLLs use 'pw' prefix rather than 'lib'
10311       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10312       ;;
10313     esac
10314     ;;
10316   *)
10317     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10318     ;;
10319   esac
10320   dynamic_linker='Win32 ld.exe'
10321   # FIXME: first we should search . and the directory the executable is in
10322   shlibpath_var=PATH
10323   ;;
10325 darwin* | rhapsody*)
10326   dynamic_linker="$host_os dyld"
10327   version_type=darwin
10328   need_lib_prefix=no
10329   need_version=no
10330   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10331   soname_spec='${libname}${release}${major}$shared_ext'
10332   shlibpath_overrides_runpath=yes
10333   shlibpath_var=DYLD_LIBRARY_PATH
10334   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10336   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10337   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10338   ;;
10340 dgux*)
10341   version_type=linux
10342   need_lib_prefix=no
10343   need_version=no
10344   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10345   soname_spec='${libname}${release}${shared_ext}$major'
10346   shlibpath_var=LD_LIBRARY_PATH
10347   ;;
10349 freebsd1*)
10350   dynamic_linker=no
10351   ;;
10353 freebsd* | dragonfly*)
10354   # DragonFly does not have aout.  When/if they implement a new
10355   # versioning mechanism, adjust this.
10356   if test -x /usr/bin/objformat; then
10357     objformat=`/usr/bin/objformat`
10358   else
10359     case $host_os in
10360     freebsd[123]*) objformat=aout ;;
10361     *) objformat=elf ;;
10362     esac
10363   fi
10364   version_type=freebsd-$objformat
10365   case $version_type in
10366     freebsd-elf*)
10367       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10368       need_version=no
10369       need_lib_prefix=no
10370       ;;
10371     freebsd-*)
10372       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10373       need_version=yes
10374       ;;
10375   esac
10376   shlibpath_var=LD_LIBRARY_PATH
10377   case $host_os in
10378   freebsd2*)
10379     shlibpath_overrides_runpath=yes
10380     ;;
10381   freebsd3.[01]* | freebsdelf3.[01]*)
10382     shlibpath_overrides_runpath=yes
10383     hardcode_into_libs=yes
10384     ;;
10385   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10386   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10387     shlibpath_overrides_runpath=no
10388     hardcode_into_libs=yes
10389     ;;
10390   *) # from 4.6 on, and DragonFly
10391     shlibpath_overrides_runpath=yes
10392     hardcode_into_libs=yes
10393     ;;
10394   esac
10395   ;;
10397 gnu*)
10398   version_type=linux
10399   need_lib_prefix=no
10400   need_version=no
10401   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10402   soname_spec='${libname}${release}${shared_ext}$major'
10403   shlibpath_var=LD_LIBRARY_PATH
10404   hardcode_into_libs=yes
10405   ;;
10407 hpux9* | hpux10* | hpux11*)
10408   # Give a soname corresponding to the major version so that dld.sl refuses to
10409   # link against other versions.
10410   version_type=sunos
10411   need_lib_prefix=no
10412   need_version=no
10413   case $host_cpu in
10414   ia64*)
10415     shrext_cmds='.so'
10416     hardcode_into_libs=yes
10417     dynamic_linker="$host_os dld.so"
10418     shlibpath_var=LD_LIBRARY_PATH
10419     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10420     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10421     soname_spec='${libname}${release}${shared_ext}$major'
10422     if test "X$HPUX_IA64_MODE" = X32; then
10423       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10424     else
10425       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10426     fi
10427     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10428     ;;
10429   hppa*64*)
10430     shrext_cmds='.sl'
10431     hardcode_into_libs=yes
10432     dynamic_linker="$host_os dld.sl"
10433     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10434     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10435     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10436     soname_spec='${libname}${release}${shared_ext}$major'
10437     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10438     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10439     ;;
10440   *)
10441     shrext_cmds='.sl'
10442     dynamic_linker="$host_os dld.sl"
10443     shlibpath_var=SHLIB_PATH
10444     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10445     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10446     soname_spec='${libname}${release}${shared_ext}$major'
10447     ;;
10448   esac
10449   # HP-UX runs *really* slowly unless shared libraries are mode 555.
10450   postinstall_cmds='chmod 555 $lib'
10451   ;;
10453 interix[3-9]*)
10454   version_type=linux
10455   need_lib_prefix=no
10456   need_version=no
10457   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10458   soname_spec='${libname}${release}${shared_ext}$major'
10459   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10460   shlibpath_var=LD_LIBRARY_PATH
10461   shlibpath_overrides_runpath=no
10462   hardcode_into_libs=yes
10463   ;;
10465 irix5* | irix6* | nonstopux*)
10466   case $host_os in
10467     nonstopux*) version_type=nonstopux ;;
10468     *)
10469         if test "$lt_cv_prog_gnu_ld" = yes; then
10470                 version_type=linux
10471         else
10472                 version_type=irix
10473         fi ;;
10474   esac
10475   need_lib_prefix=no
10476   need_version=no
10477   soname_spec='${libname}${release}${shared_ext}$major'
10478   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10479   case $host_os in
10480   irix5* | nonstopux*)
10481     libsuff= shlibsuff=
10482     ;;
10483   *)
10484     case $LD in # libtool.m4 will add one of these switches to LD
10485     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10486       libsuff= shlibsuff= libmagic=32-bit;;
10487     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10488       libsuff=32 shlibsuff=N32 libmagic=N32;;
10489     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10490       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10491     *) libsuff= shlibsuff= libmagic=never-match;;
10492     esac
10493     ;;
10494   esac
10495   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10496   shlibpath_overrides_runpath=no
10497   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10498   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10499   hardcode_into_libs=yes
10500   ;;
10502 # No shared lib support for Linux oldld, aout, or coff.
10503 linux*oldld* | linux*aout* | linux*coff*)
10504   dynamic_linker=no
10505   ;;
10507 # This must be Linux ELF.
10508 linux* | k*bsd*-gnu)
10509   version_type=linux
10510   need_lib_prefix=no
10511   need_version=no
10512   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10513   soname_spec='${libname}${release}${shared_ext}$major'
10514   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10515   shlibpath_var=LD_LIBRARY_PATH
10516   shlibpath_overrides_runpath=no
10517   # Some binutils ld are patched to set DT_RUNPATH
10518   save_LDFLAGS=$LDFLAGS
10519   save_libdir=$libdir
10520   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10521        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10522   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10523 /* end confdefs.h.  */
10526 main ()
10529   ;
10530   return 0;
10532 _ACEOF
10533 if ac_fn_c_try_link "$LINENO"; then :
10534   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10535   shlibpath_overrides_runpath=yes
10538 rm -f core conftest.err conftest.$ac_objext \
10539     conftest$ac_exeext conftest.$ac_ext
10540   LDFLAGS=$save_LDFLAGS
10541   libdir=$save_libdir
10543   # This implies no fast_install, which is unacceptable.
10544   # Some rework will be needed to allow for fast_install
10545   # before this can be enabled.
10546   hardcode_into_libs=yes
10548   # Append ld.so.conf contents to the search path
10549   if test -f /etc/ld.so.conf; then
10550     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' ' '`
10551     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10552   fi
10554   # We used to test for /lib/ld.so.1 and disable shared libraries on
10555   # powerpc, because MkLinux only supported shared libraries with the
10556   # GNU dynamic linker.  Since this was broken with cross compilers,
10557   # most powerpc-linux boxes support dynamic linking these days and
10558   # people can always --disable-shared, the test was removed, and we
10559   # assume the GNU/Linux dynamic linker is in use.
10560   dynamic_linker='GNU/Linux ld.so'
10561   ;;
10563 netbsd*)
10564   version_type=sunos
10565   need_lib_prefix=no
10566   need_version=no
10567   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10568     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10569     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10570     dynamic_linker='NetBSD (a.out) ld.so'
10571   else
10572     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10573     soname_spec='${libname}${release}${shared_ext}$major'
10574     dynamic_linker='NetBSD ld.elf_so'
10575   fi
10576   shlibpath_var=LD_LIBRARY_PATH
10577   shlibpath_overrides_runpath=yes
10578   hardcode_into_libs=yes
10579   ;;
10581 newsos6)
10582   version_type=linux
10583   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10584   shlibpath_var=LD_LIBRARY_PATH
10585   shlibpath_overrides_runpath=yes
10586   ;;
10588 *nto* | *qnx*)
10589   version_type=qnx
10590   need_lib_prefix=no
10591   need_version=no
10592   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10593   soname_spec='${libname}${release}${shared_ext}$major'
10594   shlibpath_var=LD_LIBRARY_PATH
10595   shlibpath_overrides_runpath=no
10596   hardcode_into_libs=yes
10597   dynamic_linker='ldqnx.so'
10598   ;;
10600 openbsd*)
10601   version_type=sunos
10602   sys_lib_dlsearch_path_spec="/usr/lib"
10603   need_lib_prefix=no
10604   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10605   case $host_os in
10606     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10607     *)                          need_version=no  ;;
10608   esac
10609   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10610   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10611   shlibpath_var=LD_LIBRARY_PATH
10612   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10613     case $host_os in
10614       openbsd2.[89] | openbsd2.[89].*)
10615         shlibpath_overrides_runpath=no
10616         ;;
10617       *)
10618         shlibpath_overrides_runpath=yes
10619         ;;
10620       esac
10621   else
10622     shlibpath_overrides_runpath=yes
10623   fi
10624   ;;
10626 os2*)
10627   libname_spec='$name'
10628   shrext_cmds=".dll"
10629   need_lib_prefix=no
10630   library_names_spec='$libname${shared_ext} $libname.a'
10631   dynamic_linker='OS/2 ld.exe'
10632   shlibpath_var=LIBPATH
10633   ;;
10635 osf3* | osf4* | osf5*)
10636   version_type=osf
10637   need_lib_prefix=no
10638   need_version=no
10639   soname_spec='${libname}${release}${shared_ext}$major'
10640   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10641   shlibpath_var=LD_LIBRARY_PATH
10642   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10643   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10644   ;;
10646 rdos*)
10647   dynamic_linker=no
10648   ;;
10650 solaris*)
10651   version_type=linux
10652   need_lib_prefix=no
10653   need_version=no
10654   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10655   soname_spec='${libname}${release}${shared_ext}$major'
10656   shlibpath_var=LD_LIBRARY_PATH
10657   shlibpath_overrides_runpath=yes
10658   hardcode_into_libs=yes
10659   # ldd complains unless libraries are executable
10660   postinstall_cmds='chmod +x $lib'
10661   ;;
10663 sunos4*)
10664   version_type=sunos
10665   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10666   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10667   shlibpath_var=LD_LIBRARY_PATH
10668   shlibpath_overrides_runpath=yes
10669   if test "$with_gnu_ld" = yes; then
10670     need_lib_prefix=no
10671   fi
10672   need_version=yes
10673   ;;
10675 sysv4 | sysv4.3*)
10676   version_type=linux
10677   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10678   soname_spec='${libname}${release}${shared_ext}$major'
10679   shlibpath_var=LD_LIBRARY_PATH
10680   case $host_vendor in
10681     sni)
10682       shlibpath_overrides_runpath=no
10683       need_lib_prefix=no
10684       runpath_var=LD_RUN_PATH
10685       ;;
10686     siemens)
10687       need_lib_prefix=no
10688       ;;
10689     motorola)
10690       need_lib_prefix=no
10691       need_version=no
10692       shlibpath_overrides_runpath=no
10693       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10694       ;;
10695   esac
10696   ;;
10698 sysv4*MP*)
10699   if test -d /usr/nec ;then
10700     version_type=linux
10701     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10702     soname_spec='$libname${shared_ext}.$major'
10703     shlibpath_var=LD_LIBRARY_PATH
10704   fi
10705   ;;
10707 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10708   version_type=freebsd-elf
10709   need_lib_prefix=no
10710   need_version=no
10711   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10712   soname_spec='${libname}${release}${shared_ext}$major'
10713   shlibpath_var=LD_LIBRARY_PATH
10714   shlibpath_overrides_runpath=yes
10715   hardcode_into_libs=yes
10716   if test "$with_gnu_ld" = yes; then
10717     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10718   else
10719     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10720     case $host_os in
10721       sco3.2v5*)
10722         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10723         ;;
10724     esac
10725   fi
10726   sys_lib_dlsearch_path_spec='/usr/lib'
10727   ;;
10729 tpf*)
10730   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10731   version_type=linux
10732   need_lib_prefix=no
10733   need_version=no
10734   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10735   shlibpath_var=LD_LIBRARY_PATH
10736   shlibpath_overrides_runpath=no
10737   hardcode_into_libs=yes
10738   ;;
10740 uts4*)
10741   version_type=linux
10742   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10743   soname_spec='${libname}${release}${shared_ext}$major'
10744   shlibpath_var=LD_LIBRARY_PATH
10745   ;;
10748   dynamic_linker=no
10749   ;;
10750 esac
10751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10752 $as_echo "$dynamic_linker" >&6; }
10753 test "$dynamic_linker" = no && can_build_shared=no
10755 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10756 if test "$GCC" = yes; then
10757   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10760 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10761   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10763 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10764   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10768     
10769     
10770     
10773     
10774     
10775     
10778     
10779     
10780     
10783     
10784     
10785     
10788     
10789     
10790     
10793     
10794     
10795     
10798     
10799     
10800     
10803     
10804     
10805     
10808     
10809     
10810     
10813     
10814     
10815     
10818     
10819     
10820     
10823     
10824     
10825     
10828     
10829     
10830     
10833     
10834     
10835     
10838     
10839     
10840     
10843     
10844     
10845     
10848     
10849     
10850     
10853   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10854 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10855 hardcode_action=
10856 if test -n "$hardcode_libdir_flag_spec" ||
10857    test -n "$runpath_var" ||
10858    test "X$hardcode_automatic" = "Xyes" ; then
10860   # We can hardcode non-existent directories.
10861   if test "$hardcode_direct" != no &&
10862      # If the only mechanism to avoid hardcoding is shlibpath_var, we
10863      # have to relink, otherwise we might link with an installed library
10864      # when we should be linking with a yet-to-be-installed one
10865      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10866      test "$hardcode_minus_L" != no; then
10867     # Linking always hardcodes the temporary library directory.
10868     hardcode_action=relink
10869   else
10870     # We can link without hardcoding, and we can hardcode nonexisting dirs.
10871     hardcode_action=immediate
10872   fi
10873 else
10874   # We cannot hardcode anything, or else we can only hardcode existing
10875   # directories.
10876   hardcode_action=unsupported
10878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10879 $as_echo "$hardcode_action" >&6; }
10881 if test "$hardcode_action" = relink ||
10882    test "$inherit_rpath" = yes; then
10883   # Fast installation is not supported
10884   enable_fast_install=no
10885 elif test "$shlibpath_overrides_runpath" = yes ||
10886      test "$enable_shared" = no; then
10887   # Fast installation is not necessary
10888   enable_fast_install=needless
10891     
10892     
10893     
10896   if test "x$enable_dlopen" != xyes; then
10897   enable_dlopen=unknown
10898   enable_dlopen_self=unknown
10899   enable_dlopen_self_static=unknown
10900 else
10901   lt_cv_dlopen=no
10902   lt_cv_dlopen_libs=
10904   case $host_os in
10905   beos*)
10906     lt_cv_dlopen="load_add_on"
10907     lt_cv_dlopen_libs=
10908     lt_cv_dlopen_self=yes
10909     ;;
10911   mingw* | pw32* | cegcc*)
10912     lt_cv_dlopen="LoadLibrary"
10913     lt_cv_dlopen_libs=
10914     ;;
10916   cygwin*)
10917     lt_cv_dlopen="dlopen"
10918     lt_cv_dlopen_libs=
10919     ;;
10921   darwin*)
10922   # if libdl is installed we need to link against it
10923     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10924 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10925 if ${ac_cv_lib_dl_dlopen+:} false; then :
10926   $as_echo_n "(cached) " >&6
10927 else
10928   ac_check_lib_save_LIBS=$LIBS
10929 LIBS="-ldl  $LIBS"
10930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10931 /* end confdefs.h.  */
10933 /* Override any GCC internal prototype to avoid an error.
10934    Use char because int might match the return type of a GCC
10935    builtin and then its argument prototype would still apply.  */
10936 #ifdef __cplusplus
10937 extern "C"
10938 #endif
10939 char dlopen ();
10941 main ()
10943 return dlopen ();
10944   ;
10945   return 0;
10947 _ACEOF
10948 if ac_fn_c_try_link "$LINENO"; then :
10949   ac_cv_lib_dl_dlopen=yes
10950 else
10951   ac_cv_lib_dl_dlopen=no
10953 rm -f core conftest.err conftest.$ac_objext \
10954     conftest$ac_exeext conftest.$ac_ext
10955 LIBS=$ac_check_lib_save_LIBS
10957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10958 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10959 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10960   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10961 else
10962   
10963     lt_cv_dlopen="dyld"
10964     lt_cv_dlopen_libs=
10965     lt_cv_dlopen_self=yes
10966     
10969     ;;
10971   *)
10972     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10973 if test "x$ac_cv_func_shl_load" = xyes; then :
10974   lt_cv_dlopen="shl_load"
10975 else
10976   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10977 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10978 if ${ac_cv_lib_dld_shl_load+:} false; then :
10979   $as_echo_n "(cached) " >&6
10980 else
10981   ac_check_lib_save_LIBS=$LIBS
10982 LIBS="-ldld  $LIBS"
10983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10984 /* end confdefs.h.  */
10986 /* Override any GCC internal prototype to avoid an error.
10987    Use char because int might match the return type of a GCC
10988    builtin and then its argument prototype would still apply.  */
10989 #ifdef __cplusplus
10990 extern "C"
10991 #endif
10992 char shl_load ();
10994 main ()
10996 return shl_load ();
10997   ;
10998   return 0;
11000 _ACEOF
11001 if ac_fn_c_try_link "$LINENO"; then :
11002   ac_cv_lib_dld_shl_load=yes
11003 else
11004   ac_cv_lib_dld_shl_load=no
11006 rm -f core conftest.err conftest.$ac_objext \
11007     conftest$ac_exeext conftest.$ac_ext
11008 LIBS=$ac_check_lib_save_LIBS
11010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11011 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11012 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11013   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11014 else
11015   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11016 if test "x$ac_cv_func_dlopen" = xyes; then :
11017   lt_cv_dlopen="dlopen"
11018 else
11019   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11020 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11021 if ${ac_cv_lib_dl_dlopen+:} false; then :
11022   $as_echo_n "(cached) " >&6
11023 else
11024   ac_check_lib_save_LIBS=$LIBS
11025 LIBS="-ldl  $LIBS"
11026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11027 /* end confdefs.h.  */
11029 /* Override any GCC internal prototype to avoid an error.
11030    Use char because int might match the return type of a GCC
11031    builtin and then its argument prototype would still apply.  */
11032 #ifdef __cplusplus
11033 extern "C"
11034 #endif
11035 char dlopen ();
11037 main ()
11039 return dlopen ();
11040   ;
11041   return 0;
11043 _ACEOF
11044 if ac_fn_c_try_link "$LINENO"; then :
11045   ac_cv_lib_dl_dlopen=yes
11046 else
11047   ac_cv_lib_dl_dlopen=no
11049 rm -f core conftest.err conftest.$ac_objext \
11050     conftest$ac_exeext conftest.$ac_ext
11051 LIBS=$ac_check_lib_save_LIBS
11053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11054 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11055 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11056   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11057 else
11058   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11059 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11060 if ${ac_cv_lib_svld_dlopen+:} false; then :
11061   $as_echo_n "(cached) " >&6
11062 else
11063   ac_check_lib_save_LIBS=$LIBS
11064 LIBS="-lsvld  $LIBS"
11065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11066 /* end confdefs.h.  */
11068 /* Override any GCC internal prototype to avoid an error.
11069    Use char because int might match the return type of a GCC
11070    builtin and then its argument prototype would still apply.  */
11071 #ifdef __cplusplus
11072 extern "C"
11073 #endif
11074 char dlopen ();
11076 main ()
11078 return dlopen ();
11079   ;
11080   return 0;
11082 _ACEOF
11083 if ac_fn_c_try_link "$LINENO"; then :
11084   ac_cv_lib_svld_dlopen=yes
11085 else
11086   ac_cv_lib_svld_dlopen=no
11088 rm -f core conftest.err conftest.$ac_objext \
11089     conftest$ac_exeext conftest.$ac_ext
11090 LIBS=$ac_check_lib_save_LIBS
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11093 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11094 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11095   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11096 else
11097   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11098 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11099 if ${ac_cv_lib_dld_dld_link+:} false; then :
11100   $as_echo_n "(cached) " >&6
11101 else
11102   ac_check_lib_save_LIBS=$LIBS
11103 LIBS="-ldld  $LIBS"
11104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11105 /* end confdefs.h.  */
11107 /* Override any GCC internal prototype to avoid an error.
11108    Use char because int might match the return type of a GCC
11109    builtin and then its argument prototype would still apply.  */
11110 #ifdef __cplusplus
11111 extern "C"
11112 #endif
11113 char dld_link ();
11115 main ()
11117 return dld_link ();
11118   ;
11119   return 0;
11121 _ACEOF
11122 if ac_fn_c_try_link "$LINENO"; then :
11123   ac_cv_lib_dld_dld_link=yes
11124 else
11125   ac_cv_lib_dld_dld_link=no
11127 rm -f core conftest.err conftest.$ac_objext \
11128     conftest$ac_exeext conftest.$ac_ext
11129 LIBS=$ac_check_lib_save_LIBS
11131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11132 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11133 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11134   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11137               
11140             
11143           
11146         
11149       
11152     ;;
11153   esac
11155   if test "x$lt_cv_dlopen" != xno; then
11156     enable_dlopen=yes
11157   else
11158     enable_dlopen=no
11159   fi
11161   case $lt_cv_dlopen in
11162   dlopen)
11163     save_CPPFLAGS="$CPPFLAGS"
11164     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11166     save_LDFLAGS="$LDFLAGS"
11167     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11169     save_LIBS="$LIBS"
11170     LIBS="$lt_cv_dlopen_libs $LIBS"
11172     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11173 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11174 if ${lt_cv_dlopen_self+:} false; then :
11175   $as_echo_n "(cached) " >&6
11176 else
11177           if test "$cross_compiling" = yes; then :
11178   lt_cv_dlopen_self=cross
11179 else
11180   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11181   lt_status=$lt_dlunknown
11182   cat > conftest.$ac_ext <<_LT_EOF
11183 #line __oline__ "configure"
11184 #include "confdefs.h"
11186 #if HAVE_DLFCN_H
11187 #include <dlfcn.h>
11188 #endif
11190 #include <stdio.h>
11192 #ifdef RTLD_GLOBAL
11193 #  define LT_DLGLOBAL           RTLD_GLOBAL
11194 #else
11195 #  ifdef DL_GLOBAL
11196 #    define LT_DLGLOBAL         DL_GLOBAL
11197 #  else
11198 #    define LT_DLGLOBAL         0
11199 #  endif
11200 #endif
11202 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11203    find out it does not work in some platform. */
11204 #ifndef LT_DLLAZY_OR_NOW
11205 #  ifdef RTLD_LAZY
11206 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11207 #  else
11208 #    ifdef DL_LAZY
11209 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11210 #    else
11211 #      ifdef RTLD_NOW
11212 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11213 #      else
11214 #        ifdef DL_NOW
11215 #          define LT_DLLAZY_OR_NOW      DL_NOW
11216 #        else
11217 #          define LT_DLLAZY_OR_NOW      0
11218 #        endif
11219 #      endif
11220 #    endif
11221 #  endif
11222 #endif
11224 void fnord() { int i=42;}
11225 int main ()
11227   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11228   int status = $lt_dlunknown;
11230   if (self)
11231     {
11232       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11233       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11234       /* dlclose (self); */
11235     }
11236   else
11237     puts (dlerror ());
11239   return status;
11241 _LT_EOF
11242   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11243   (eval $ac_link) 2>&5
11244   ac_status=$?
11245   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11246   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11247     (./conftest; exit; ) >&5 2>/dev/null
11248     lt_status=$?
11249     case x$lt_status in
11250       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11251       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11252       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11253     esac
11254   else :
11255     # compilation failed
11256     lt_cv_dlopen_self=no
11257   fi
11259 rm -fr conftest*
11261     
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11264 $as_echo "$lt_cv_dlopen_self" >&6; }
11266     if test "x$lt_cv_dlopen_self" = xyes; then
11267       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11268       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11269 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11270 if ${lt_cv_dlopen_self_static+:} false; then :
11271   $as_echo_n "(cached) " >&6
11272 else
11273           if test "$cross_compiling" = yes; then :
11274   lt_cv_dlopen_self_static=cross
11275 else
11276   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11277   lt_status=$lt_dlunknown
11278   cat > conftest.$ac_ext <<_LT_EOF
11279 #line __oline__ "configure"
11280 #include "confdefs.h"
11282 #if HAVE_DLFCN_H
11283 #include <dlfcn.h>
11284 #endif
11286 #include <stdio.h>
11288 #ifdef RTLD_GLOBAL
11289 #  define LT_DLGLOBAL           RTLD_GLOBAL
11290 #else
11291 #  ifdef DL_GLOBAL
11292 #    define LT_DLGLOBAL         DL_GLOBAL
11293 #  else
11294 #    define LT_DLGLOBAL         0
11295 #  endif
11296 #endif
11298 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11299    find out it does not work in some platform. */
11300 #ifndef LT_DLLAZY_OR_NOW
11301 #  ifdef RTLD_LAZY
11302 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11303 #  else
11304 #    ifdef DL_LAZY
11305 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11306 #    else
11307 #      ifdef RTLD_NOW
11308 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11309 #      else
11310 #        ifdef DL_NOW
11311 #          define LT_DLLAZY_OR_NOW      DL_NOW
11312 #        else
11313 #          define LT_DLLAZY_OR_NOW      0
11314 #        endif
11315 #      endif
11316 #    endif
11317 #  endif
11318 #endif
11320 void fnord() { int i=42;}
11321 int main ()
11323   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11324   int status = $lt_dlunknown;
11326   if (self)
11327     {
11328       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11329       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11330       /* dlclose (self); */
11331     }
11332   else
11333     puts (dlerror ());
11335   return status;
11337 _LT_EOF
11338   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11339   (eval $ac_link) 2>&5
11340   ac_status=$?
11341   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11342   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11343     (./conftest; exit; ) >&5 2>/dev/null
11344     lt_status=$?
11345     case x$lt_status in
11346       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11347       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11348       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11349     esac
11350   else :
11351     # compilation failed
11352     lt_cv_dlopen_self_static=no
11353   fi
11355 rm -fr conftest*
11357       
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11360 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11361     fi
11363     CPPFLAGS="$save_CPPFLAGS"
11364     LDFLAGS="$save_LDFLAGS"
11365     LIBS="$save_LIBS"
11366     ;;
11367   esac
11369   case $lt_cv_dlopen_self in
11370   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11371   *) enable_dlopen_self=unknown ;;
11372   esac
11374   case $lt_cv_dlopen_self_static in
11375   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11376   *) enable_dlopen_self_static=unknown ;;
11377   esac
11380     
11381     
11382     
11385     
11386     
11387     
11390     
11391     
11392     
11395   
11396 striplib=
11397 old_striplib=
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11399 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11400 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11401   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11402   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11404 $as_echo "yes" >&6; }
11405 else
11406 # FIXME - insert some real tests, host_os isn't really good enough
11407   case $host_os in
11408   darwin*)
11409     if test -n "$STRIP" ; then
11410       striplib="$STRIP -x"
11411       old_striplib="$STRIP -S"
11412       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11413 $as_echo "yes" >&6; }
11414     else
11415       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11416 $as_echo "no" >&6; }
11417     fi
11418     ;;
11419   *)
11420     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11421 $as_echo "no" >&6; }
11422     ;;
11423   esac
11426     
11427     
11428     
11431     
11432     
11433     
11437   # Report which library types will actually be built
11438   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11439 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11441 $as_echo "$can_build_shared" >&6; }
11443   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11444 $as_echo_n "checking whether to build shared libraries... " >&6; }
11445   test "$can_build_shared" = "no" && enable_shared=no
11447   # On AIX, shared libraries and static libraries use the same namespace, and
11448   # are all built from PIC.
11449   case $host_os in
11450   aix3*)
11451     test "$enable_shared" = yes && enable_static=no
11452     if test -n "$RANLIB"; then
11453       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11454       postinstall_cmds='$RANLIB $lib'
11455     fi
11456     ;;
11458   aix[4-9]*)
11459     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11460       test "$enable_shared" = yes && enable_static=no
11461     fi
11462     ;;
11463   esac
11464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11465 $as_echo "$enable_shared" >&6; }
11467   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11468 $as_echo_n "checking whether to build static libraries... " >&6; }
11469   # Make sure either enable_shared or enable_static is yes.
11470   test "$enable_shared" = yes || enable_static=yes
11471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11472 $as_echo "$enable_static" >&6; }
11474   
11478 ac_ext=c
11479 ac_cpp='$CPP $CPPFLAGS'
11480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11484 CC="$lt_save_CC"
11493        
11494        
11498         ac_config_commands="$ac_config_commands libtool"
11503 # Only expand once:
11508 # Extract the first word of "ar", so it can be a program name with args.
11509 set dummy ar; ac_word=$2
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11511 $as_echo_n "checking for $ac_word... " >&6; }
11512 if ${ac_cv_path_AR+:} false; then :
11513   $as_echo_n "(cached) " >&6
11514 else
11515   case $AR in
11516   [\\/]* | ?:[\\/]*)
11517   ac_cv_path_AR="$AR" # Let the user override the test with a path.
11518   ;;
11519   *)
11520   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11521 for as_dir in $PATH
11523   IFS=$as_save_IFS
11524   test -z "$as_dir" && as_dir=.
11525     for ac_exec_ext in '' $ac_executable_extensions; do
11526   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11527     ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
11528     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11529     break 2
11530   fi
11531 done
11532   done
11533 IFS=$as_save_IFS
11535   test -z "$ac_cv_path_AR" && ac_cv_path_AR="ar"
11536   ;;
11537 esac
11539 AR=$ac_cv_path_AR
11540 if test -n "$AR"; then
11541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
11542 $as_echo "$AR" >&6; }
11543 else
11544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11545 $as_echo "no" >&6; }
11549 # Extract the first word of "rm", so it can be a program name with args.
11550 set dummy rm; ac_word=$2
11551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11552 $as_echo_n "checking for $ac_word... " >&6; }
11553 if ${ac_cv_path_RM+:} false; then :
11554   $as_echo_n "(cached) " >&6
11555 else
11556   case $RM in
11557   [\\/]* | ?:[\\/]*)
11558   ac_cv_path_RM="$RM" # Let the user override the test with a path.
11559   ;;
11560   *)
11561   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11562 for as_dir in $PATH
11564   IFS=$as_save_IFS
11565   test -z "$as_dir" && as_dir=.
11566     for ac_exec_ext in '' $ac_executable_extensions; do
11567   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11568     ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
11569     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11570     break 2
11571   fi
11572 done
11573   done
11574 IFS=$as_save_IFS
11576   test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm"
11577   ;;
11578 esac
11580 RM=$ac_cv_path_RM
11581 if test -n "$RM"; then
11582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
11583 $as_echo "$RM" >&6; }
11584 else
11585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11586 $as_echo "no" >&6; }
11590 # Extract the first word of "cp", so it can be a program name with args.
11591 set dummy cp; ac_word=$2
11592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11593 $as_echo_n "checking for $ac_word... " >&6; }
11594 if ${ac_cv_path_CP+:} false; then :
11595   $as_echo_n "(cached) " >&6
11596 else
11597   case $CP in
11598   [\\/]* | ?:[\\/]*)
11599   ac_cv_path_CP="$CP" # Let the user override the test with a path.
11600   ;;
11601   *)
11602   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11603 for as_dir in $PATH
11605   IFS=$as_save_IFS
11606   test -z "$as_dir" && as_dir=.
11607     for ac_exec_ext in '' $ac_executable_extensions; do
11608   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11609     ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
11610     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11611     break 2
11612   fi
11613 done
11614   done
11615 IFS=$as_save_IFS
11617   test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp"
11618   ;;
11619 esac
11621 CP=$ac_cv_path_CP
11622 if test -n "$CP"; then
11623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
11624 $as_echo "$CP" >&6; }
11625 else
11626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11627 $as_echo "no" >&6; }
11631 # Extract the first word of "ln", so it can be a program name with args.
11632 set dummy ln; ac_word=$2
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11634 $as_echo_n "checking for $ac_word... " >&6; }
11635 if ${ac_cv_path_LN+:} false; then :
11636   $as_echo_n "(cached) " >&6
11637 else
11638   case $LN in
11639   [\\/]* | ?:[\\/]*)
11640   ac_cv_path_LN="$LN" # Let the user override the test with a path.
11641   ;;
11642   *)
11643   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11644 for as_dir in $PATH
11646   IFS=$as_save_IFS
11647   test -z "$as_dir" && as_dir=.
11648     for ac_exec_ext in '' $ac_executable_extensions; do
11649   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11650     ac_cv_path_LN="$as_dir/$ac_word$ac_exec_ext"
11651     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11652     break 2
11653   fi
11654 done
11655   done
11656 IFS=$as_save_IFS
11658   test -z "$ac_cv_path_LN" && ac_cv_path_LN="ln"
11659   ;;
11660 esac
11662 LN=$ac_cv_path_LN
11663 if test -n "$LN"; then
11664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LN" >&5
11665 $as_echo "$LN" >&6; }
11666 else
11667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11668 $as_echo "no" >&6; }
11672 # Extract the first word of "ls", so it can be a program name with args.
11673 set dummy ls; ac_word=$2
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11675 $as_echo_n "checking for $ac_word... " >&6; }
11676 if ${ac_cv_path_LS+:} false; then :
11677   $as_echo_n "(cached) " >&6
11678 else
11679   case $LS in
11680   [\\/]* | ?:[\\/]*)
11681   ac_cv_path_LS="$LS" # Let the user override the test with a path.
11682   ;;
11683   *)
11684   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11685 for as_dir in $PATH
11687   IFS=$as_save_IFS
11688   test -z "$as_dir" && as_dir=.
11689     for ac_exec_ext in '' $ac_executable_extensions; do
11690   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11691     ac_cv_path_LS="$as_dir/$ac_word$ac_exec_ext"
11692     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11693     break 2
11694   fi
11695 done
11696   done
11697 IFS=$as_save_IFS
11699   test -z "$ac_cv_path_LS" && ac_cv_path_LS="ls"
11700   ;;
11701 esac
11703 LS=$ac_cv_path_LS
11704 if test -n "$LS"; then
11705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LS" >&5
11706 $as_echo "$LS" >&6; }
11707 else
11708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11709 $as_echo "no" >&6; }
11713 # Extract the first word of "sed", so it can be a program name with args.
11714 set dummy sed; ac_word=$2
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11716 $as_echo_n "checking for $ac_word... " >&6; }
11717 if ${ac_cv_path_SED+:} false; then :
11718   $as_echo_n "(cached) " >&6
11719 else
11720   case $SED in
11721   [\\/]* | ?:[\\/]*)
11722   ac_cv_path_SED="$SED" # Let the user override the test with a path.
11723   ;;
11724   *)
11725   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11726 for as_dir in $PATH
11728   IFS=$as_save_IFS
11729   test -z "$as_dir" && as_dir=.
11730     for ac_exec_ext in '' $ac_executable_extensions; do
11731   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11732     ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
11733     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11734     break 2
11735   fi
11736 done
11737   done
11738 IFS=$as_save_IFS
11740   test -z "$ac_cv_path_SED" && ac_cv_path_SED="sed"
11741   ;;
11742 esac
11744 SED=$ac_cv_path_SED
11745 if test -n "$SED"; then
11746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
11747 $as_echo "$SED" >&6; }
11748 else
11749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11750 $as_echo "no" >&6; }
11754 # Extract the first word of "make", so it can be a program name with args.
11755 set dummy make; ac_word=$2
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11757 $as_echo_n "checking for $ac_word... " >&6; }
11758 if ${ac_cv_path_MAKE+:} false; then :
11759   $as_echo_n "(cached) " >&6
11760 else
11761   case $MAKE in
11762   [\\/]* | ?:[\\/]*)
11763   ac_cv_path_MAKE="$MAKE" # Let the user override the test with a path.
11764   ;;
11765   *)
11766   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11767 for as_dir in $PATH
11769   IFS=$as_save_IFS
11770   test -z "$as_dir" && as_dir=.
11771     for ac_exec_ext in '' $ac_executable_extensions; do
11772   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11773     ac_cv_path_MAKE="$as_dir/$ac_word$ac_exec_ext"
11774     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11775     break 2
11776   fi
11777 done
11778   done
11779 IFS=$as_save_IFS
11781   ;;
11782 esac
11784 MAKE=$ac_cv_path_MAKE
11785 if test -n "$MAKE"; then
11786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
11787 $as_echo "$MAKE" >&6; }
11788 else
11789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11790 $as_echo "no" >&6; }
11798   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11799 $as_echo_n "checking whether NLS is requested... " >&6; }
11800     @%:@ Check whether --enable-nls was given.
11801 if test "${enable_nls+set}" = set; then :
11802   enableval=$enable_nls; USE_NLS=$enableval
11803 else
11804   USE_NLS=yes
11807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
11808 $as_echo "$USE_NLS" >&6; }
11809   
11812         
11813     
11814         
11815 # Prepare PATH_SEPARATOR.
11816 # The user is always right.
11817 if test "${PATH_SEPARATOR+set}" != set; then
11818   echo "#! /bin/sh" >conf$$.sh
11819   echo  "exit 0"   >>conf$$.sh
11820   chmod +x conf$$.sh
11821   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11822     PATH_SEPARATOR=';'
11823   else
11824     PATH_SEPARATOR=:
11825   fi
11826   rm -f conf$$.sh
11829 # Find out how to test for executable files. Don't use a zero-byte file,
11830 # as systems may use methods other than mode bits to determine executability.
11831 cat >conf$$.file <<_ASEOF
11832 #! /bin/sh
11833 exit 0
11834 _ASEOF
11835 chmod +x conf$$.file
11836 if test -x conf$$.file >/dev/null 2>&1; then
11837   ac_executable_p="test -x"
11838 else
11839   ac_executable_p="test -f"
11841 rm -f conf$$.file
11843 # Extract the first word of "msgfmt", so it can be a program name with args.
11844 set dummy msgfmt; ac_word=$2
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11846 $as_echo_n "checking for $ac_word... " >&6; }
11847 if ${ac_cv_path_MSGFMT+:} false; then :
11848   $as_echo_n "(cached) " >&6
11849 else
11850   case "$MSGFMT" in
11851   [\\/]* | ?:[\\/]*)
11852     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
11853     ;;
11854   *)
11855     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11856     for ac_dir in $PATH; do
11857       IFS="$ac_save_IFS"
11858       test -z "$ac_dir" && ac_dir=.
11859       for ac_exec_ext in '' $ac_executable_extensions; do
11860         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11861           echo "$as_me: trying $ac_dir/$ac_word..." >&5
11862           if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
11863      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
11864             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
11865             break 2
11866           fi
11867         fi
11868       done
11869     done
11870     IFS="$ac_save_IFS"
11871   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
11872     ;;
11873 esac
11875 MSGFMT="$ac_cv_path_MSGFMT"
11876 if test "$MSGFMT" != ":"; then
11877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
11878 $as_echo "$MSGFMT" >&6; }
11879 else
11880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11881 $as_echo "no" >&6; }
11884   # Extract the first word of "gmsgfmt", so it can be a program name with args.
11885 set dummy gmsgfmt; ac_word=$2
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11887 $as_echo_n "checking for $ac_word... " >&6; }
11888 if ${ac_cv_path_GMSGFMT+:} false; then :
11889   $as_echo_n "(cached) " >&6
11890 else
11891   case $GMSGFMT in
11892   [\\/]* | ?:[\\/]*)
11893   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
11894   ;;
11895   *)
11896   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11897 for as_dir in $PATH
11899   IFS=$as_save_IFS
11900   test -z "$as_dir" && as_dir=.
11901     for ac_exec_ext in '' $ac_executable_extensions; do
11902   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11903     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
11904     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11905     break 2
11906   fi
11907 done
11908   done
11909 IFS=$as_save_IFS
11911   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
11912   ;;
11913 esac
11915 GMSGFMT=$ac_cv_path_GMSGFMT
11916 if test -n "$GMSGFMT"; then
11917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
11918 $as_echo "$GMSGFMT" >&6; }
11919 else
11920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11921 $as_echo "no" >&6; }
11926     case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
11927     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
11928     *) MSGFMT_015=$MSGFMT ;;
11929   esac
11930   
11931   case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
11932     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
11933     *) GMSGFMT_015=$GMSGFMT ;;
11934   esac
11935   
11937         
11938 # Prepare PATH_SEPARATOR.
11939 # The user is always right.
11940 if test "${PATH_SEPARATOR+set}" != set; then
11941   echo "#! /bin/sh" >conf$$.sh
11942   echo  "exit 0"   >>conf$$.sh
11943   chmod +x conf$$.sh
11944   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11945     PATH_SEPARATOR=';'
11946   else
11947     PATH_SEPARATOR=:
11948   fi
11949   rm -f conf$$.sh
11952 # Find out how to test for executable files. Don't use a zero-byte file,
11953 # as systems may use methods other than mode bits to determine executability.
11954 cat >conf$$.file <<_ASEOF
11955 #! /bin/sh
11956 exit 0
11957 _ASEOF
11958 chmod +x conf$$.file
11959 if test -x conf$$.file >/dev/null 2>&1; then
11960   ac_executable_p="test -x"
11961 else
11962   ac_executable_p="test -f"
11964 rm -f conf$$.file
11966 # Extract the first word of "xgettext", so it can be a program name with args.
11967 set dummy xgettext; ac_word=$2
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11969 $as_echo_n "checking for $ac_word... " >&6; }
11970 if ${ac_cv_path_XGETTEXT+:} false; then :
11971   $as_echo_n "(cached) " >&6
11972 else
11973   case "$XGETTEXT" in
11974   [\\/]* | ?:[\\/]*)
11975     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
11976     ;;
11977   *)
11978     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11979     for ac_dir in $PATH; do
11980       IFS="$ac_save_IFS"
11981       test -z "$ac_dir" && ac_dir=.
11982       for ac_exec_ext in '' $ac_executable_extensions; do
11983         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11984           echo "$as_me: trying $ac_dir/$ac_word..." >&5
11985           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
11986      (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
11987             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
11988             break 2
11989           fi
11990         fi
11991       done
11992     done
11993     IFS="$ac_save_IFS"
11994   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
11995     ;;
11996 esac
11998 XGETTEXT="$ac_cv_path_XGETTEXT"
11999 if test "$XGETTEXT" != ":"; then
12000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12001 $as_echo "$XGETTEXT" >&6; }
12002 else
12003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12004 $as_echo "no" >&6; }
12007     rm -f messages.po
12009     case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12010     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
12011     *) XGETTEXT_015=$XGETTEXT ;;
12012   esac
12013   
12015     
12016 # Prepare PATH_SEPARATOR.
12017 # The user is always right.
12018 if test "${PATH_SEPARATOR+set}" != set; then
12019   echo "#! /bin/sh" >conf$$.sh
12020   echo  "exit 0"   >>conf$$.sh
12021   chmod +x conf$$.sh
12022   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12023     PATH_SEPARATOR=';'
12024   else
12025     PATH_SEPARATOR=:
12026   fi
12027   rm -f conf$$.sh
12030 # Find out how to test for executable files. Don't use a zero-byte file,
12031 # as systems may use methods other than mode bits to determine executability.
12032 cat >conf$$.file <<_ASEOF
12033 #! /bin/sh
12034 exit 0
12035 _ASEOF
12036 chmod +x conf$$.file
12037 if test -x conf$$.file >/dev/null 2>&1; then
12038   ac_executable_p="test -x"
12039 else
12040   ac_executable_p="test -f"
12042 rm -f conf$$.file
12044 # Extract the first word of "msgmerge", so it can be a program name with args.
12045 set dummy msgmerge; ac_word=$2
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12047 $as_echo_n "checking for $ac_word... " >&6; }
12048 if ${ac_cv_path_MSGMERGE+:} false; then :
12049   $as_echo_n "(cached) " >&6
12050 else
12051   case "$MSGMERGE" in
12052   [\\/]* | ?:[\\/]*)
12053     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
12054     ;;
12055   *)
12056     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12057     for ac_dir in $PATH; do
12058       IFS="$ac_save_IFS"
12059       test -z "$ac_dir" && ac_dir=.
12060       for ac_exec_ext in '' $ac_executable_extensions; do
12061         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12062           echo "$as_me: trying $ac_dir/$ac_word..." >&5
12063           if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
12064             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
12065             break 2
12066           fi
12067         fi
12068       done
12069     done
12070     IFS="$ac_save_IFS"
12071   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
12072     ;;
12073 esac
12075 MSGMERGE="$ac_cv_path_MSGMERGE"
12076 if test "$MSGMERGE" != ":"; then
12077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12078 $as_echo "$MSGMERGE" >&6; }
12079 else
12080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12081 $as_echo "no" >&6; }
12085         test -n "$localedir" || localedir='${datadir}/locale'
12086   
12088   ac_config_commands="$ac_config_commands po-directories"
12092       if test "X$prefix" = "XNONE"; then
12093     acl_final_prefix="$ac_default_prefix"
12094   else
12095     acl_final_prefix="$prefix"
12096   fi
12097   if test "X$exec_prefix" = "XNONE"; then
12098     acl_final_exec_prefix='${prefix}'
12099   else
12100     acl_final_exec_prefix="$exec_prefix"
12101   fi
12102   acl_save_prefix="$prefix"
12103   prefix="$acl_final_prefix"
12104   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
12105   prefix="$acl_save_prefix"
12108 @%:@ Check whether --with-gnu-ld was given.
12109 if test "${with_gnu_ld+set}" = set; then :
12110   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12111 else
12112   with_gnu_ld=no
12115 # Prepare PATH_SEPARATOR.
12116 # The user is always right.
12117 if test "${PATH_SEPARATOR+set}" != set; then
12118   echo "#! /bin/sh" >conf$$.sh
12119   echo  "exit 0"   >>conf$$.sh
12120   chmod +x conf$$.sh
12121   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12122     PATH_SEPARATOR=';'
12123   else
12124     PATH_SEPARATOR=:
12125   fi
12126   rm -f conf$$.sh
12128 ac_prog=ld
12129 if test "$GCC" = yes; then
12130   # Check if gcc -print-prog-name=ld gives a path.
12131   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
12132 $as_echo_n "checking for ld used by GCC... " >&6; }
12133   case $host in
12134   *-*-mingw*)
12135     # gcc leaves a trailing carriage return which upsets mingw
12136     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12137   *)
12138     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12139   esac
12140   case $ac_prog in
12141     # Accept absolute paths.
12142     [\\/]* | [A-Za-z]:[\\/]*)
12143       re_direlt='/[^/][^/]*/\.\./'
12144       # Canonicalize the path of ld
12145       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
12146       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12147         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
12148       done
12149       test -z "$LD" && LD="$ac_prog"
12150       ;;
12151   "")
12152     # If it fails, then pretend we aren't using GCC.
12153     ac_prog=ld
12154     ;;
12155   *)
12156     # If it is relative, then search for the first ld in PATH.
12157     with_gnu_ld=unknown
12158     ;;
12159   esac
12160 elif test "$with_gnu_ld" = yes; then
12161   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12162 $as_echo_n "checking for GNU ld... " >&6; }
12163 else
12164   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12165 $as_echo_n "checking for non-GNU ld... " >&6; }
12167 if ${acl_cv_path_LD+:} false; then :
12168   $as_echo_n "(cached) " >&6
12169 else
12170   if test -z "$LD"; then
12171   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
12172   for ac_dir in $PATH; do
12173     test -z "$ac_dir" && ac_dir=.
12174     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12175       acl_cv_path_LD="$ac_dir/$ac_prog"
12176       # Check to see if the program is GNU ld.  I'd rather use --version,
12177       # but apparently some GNU ld's only accept -v.
12178       # Break only if it was the GNU/non-GNU ld that we prefer.
12179       case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
12180       *GNU* | *'with BFD'*)
12181         test "$with_gnu_ld" != no && break ;;
12182       *)
12183         test "$with_gnu_ld" != yes && break ;;
12184       esac
12185     fi
12186   done
12187   IFS="$ac_save_ifs"
12188 else
12189   acl_cv_path_LD="$LD" # Let the user override the test with a path.
12193 LD="$acl_cv_path_LD"
12194 if test -n "$LD"; then
12195   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12196 $as_echo "$LD" >&6; }
12197 else
12198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12199 $as_echo "no" >&6; }
12201 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12203 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12204 if ${acl_cv_prog_gnu_ld+:} false; then :
12205   $as_echo_n "(cached) " >&6
12206 else
12207   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
12208 case `$LD -v 2>&1 </dev/null` in
12209 *GNU* | *'with BFD'*)
12210   acl_cv_prog_gnu_ld=yes ;;
12212   acl_cv_prog_gnu_ld=no ;;
12213 esac
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
12216 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
12217 with_gnu_ld=$acl_cv_prog_gnu_ld
12221     
12222                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
12223 $as_echo_n "checking for shared library run path origin... " >&6; }
12224 if ${acl_cv_rpath+:} false; then :
12225   $as_echo_n "(cached) " >&6
12226 else
12227   
12228     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
12229     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
12230     . ./conftest.sh
12231     rm -f ./conftest.sh
12232     acl_cv_rpath=done
12233   
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
12236 $as_echo "$acl_cv_rpath" >&6; }
12237   wl="$acl_cv_wl"
12238   libext="$acl_cv_libext"
12239   shlibext="$acl_cv_shlibext"
12240   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
12241   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
12242   hardcode_direct="$acl_cv_hardcode_direct"
12243   hardcode_minus_L="$acl_cv_hardcode_minus_L"
12244     @%:@ Check whether --enable-rpath was given.
12245 if test "${enable_rpath+set}" = set; then :
12246   enableval=$enable_rpath; :
12247 else
12248   enable_rpath=yes
12253                   acl_libdirstem=lib
12254   searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
12255   if test -n "$searchpath"; then
12256     acl_save_IFS="${IFS=        }"; IFS=":"
12257     for searchdir in $searchpath; do
12258       if test -d "$searchdir"; then
12259         case "$searchdir" in
12260           */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
12261           *) searchdir=`cd "$searchdir" && pwd`
12262              case "$searchdir" in
12263                */lib64 ) acl_libdirstem=lib64 ;;
12264              esac ;;
12265         esac
12266       fi
12267     done
12268     IFS="$acl_save_IFS"
12269   fi
12272     
12273   
12275       
12276   
12277   
12278     use_additional=yes
12279   
12280   acl_save_prefix="$prefix"
12281   prefix="$acl_final_prefix"
12282   acl_save_exec_prefix="$exec_prefix"
12283   exec_prefix="$acl_final_exec_prefix"
12284   
12285     eval additional_includedir=\"$includedir\"
12286     eval additional_libdir=\"$libdir\"
12287   
12288   exec_prefix="$acl_save_exec_prefix"
12289   prefix="$acl_save_prefix"
12291   
12292 @%:@ Check whether --with-libiconv-prefix was given.
12293 if test "${with_libiconv_prefix+set}" = set; then :
12294   withval=$with_libiconv_prefix; 
12295     if test "X$withval" = "Xno"; then
12296       use_additional=no
12297     else
12298       if test "X$withval" = "X"; then
12299         
12300   acl_save_prefix="$prefix"
12301   prefix="$acl_final_prefix"
12302   acl_save_exec_prefix="$exec_prefix"
12303   exec_prefix="$acl_final_exec_prefix"
12304   
12305           eval additional_includedir=\"$includedir\"
12306           eval additional_libdir=\"$libdir\"
12307         
12308   exec_prefix="$acl_save_exec_prefix"
12309   prefix="$acl_save_prefix"
12311       else
12312         additional_includedir="$withval/include"
12313         additional_libdir="$withval/$acl_libdirstem"
12314       fi
12315     fi
12319       LIBICONV=
12320   LTLIBICONV=
12321   INCICONV=
12322   rpathdirs=
12323   ltrpathdirs=
12324   names_already_handled=
12325   names_next_round='iconv '
12326   while test -n "$names_next_round"; do
12327     names_this_round="$names_next_round"
12328     names_next_round=
12329     for name in $names_this_round; do
12330       already_handled=
12331       for n in $names_already_handled; do
12332         if test "$n" = "$name"; then
12333           already_handled=yes
12334           break
12335         fi
12336       done
12337       if test -z "$already_handled"; then
12338         names_already_handled="$names_already_handled $name"
12339                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
12340         eval value=\"\$HAVE_LIB$uppername\"
12341         if test -n "$value"; then
12342           if test "$value" = yes; then
12343             eval value=\"\$LIB$uppername\"
12344             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
12345             eval value=\"\$LTLIB$uppername\"
12346             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
12347           else
12348                                     :
12349           fi
12350         else
12351                               found_dir=
12352           found_la=
12353           found_so=
12354           found_a=
12355           if test $use_additional = yes; then
12356             if test -n "$shlibext" \
12357                && { test -f "$additional_libdir/lib$name.$shlibext" \
12358                     || { test "$shlibext" = dll \
12359                          && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
12360               found_dir="$additional_libdir"
12361               if test -f "$additional_libdir/lib$name.$shlibext"; then
12362                 found_so="$additional_libdir/lib$name.$shlibext"
12363               else
12364                 found_so="$additional_libdir/lib$name.dll.a"
12365               fi
12366               if test -f "$additional_libdir/lib$name.la"; then
12367                 found_la="$additional_libdir/lib$name.la"
12368               fi
12369             else
12370               if test -f "$additional_libdir/lib$name.$libext"; then
12371                 found_dir="$additional_libdir"
12372                 found_a="$additional_libdir/lib$name.$libext"
12373                 if test -f "$additional_libdir/lib$name.la"; then
12374                   found_la="$additional_libdir/lib$name.la"
12375                 fi
12376               fi
12377             fi
12378           fi
12379           if test "X$found_dir" = "X"; then
12380             for x in $LDFLAGS $LTLIBICONV; do
12381               
12382   acl_save_prefix="$prefix"
12383   prefix="$acl_final_prefix"
12384   acl_save_exec_prefix="$exec_prefix"
12385   exec_prefix="$acl_final_exec_prefix"
12386   eval x=\"$x\"
12387   exec_prefix="$acl_save_exec_prefix"
12388   prefix="$acl_save_prefix"
12390               case "$x" in
12391                 -L*)
12392                   dir=`echo "X$x" | sed -e 's/^X-L//'`
12393                   if test -n "$shlibext" \
12394                      && { test -f "$dir/lib$name.$shlibext" \
12395                           || { test "$shlibext" = dll \
12396                                && test -f "$dir/lib$name.dll.a"; }; }; then
12397                     found_dir="$dir"
12398                     if test -f "$dir/lib$name.$shlibext"; then
12399                       found_so="$dir/lib$name.$shlibext"
12400                     else
12401                       found_so="$dir/lib$name.dll.a"
12402                     fi
12403                     if test -f "$dir/lib$name.la"; then
12404                       found_la="$dir/lib$name.la"
12405                     fi
12406                   else
12407                     if test -f "$dir/lib$name.$libext"; then
12408                       found_dir="$dir"
12409                       found_a="$dir/lib$name.$libext"
12410                       if test -f "$dir/lib$name.la"; then
12411                         found_la="$dir/lib$name.la"
12412                       fi
12413                     fi
12414                   fi
12415                   ;;
12416               esac
12417               if test "X$found_dir" != "X"; then
12418                 break
12419               fi
12420             done
12421           fi
12422           if test "X$found_dir" != "X"; then
12423                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
12424             if test "X$found_so" != "X"; then
12425                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
12426                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12427               else
12428                                                                                 haveit=
12429                 for x in $ltrpathdirs; do
12430                   if test "X$x" = "X$found_dir"; then
12431                     haveit=yes
12432                     break
12433                   fi
12434                 done
12435                 if test -z "$haveit"; then
12436                   ltrpathdirs="$ltrpathdirs $found_dir"
12437                 fi
12438                                 if test "$hardcode_direct" = yes; then
12439                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12440                 else
12441                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
12442                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12443                                                             haveit=
12444                     for x in $rpathdirs; do
12445                       if test "X$x" = "X$found_dir"; then
12446                         haveit=yes
12447                         break
12448                       fi
12449                     done
12450                     if test -z "$haveit"; then
12451                       rpathdirs="$rpathdirs $found_dir"
12452                     fi
12453                   else
12454                                                                                 haveit=
12455                     for x in $LDFLAGS $LIBICONV; do
12456                       
12457   acl_save_prefix="$prefix"
12458   prefix="$acl_final_prefix"
12459   acl_save_exec_prefix="$exec_prefix"
12460   exec_prefix="$acl_final_exec_prefix"
12461   eval x=\"$x\"
12462   exec_prefix="$acl_save_exec_prefix"
12463   prefix="$acl_save_prefix"
12465                       if test "X$x" = "X-L$found_dir"; then
12466                         haveit=yes
12467                         break
12468                       fi
12469                     done
12470                     if test -z "$haveit"; then
12471                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
12472                     fi
12473                     if test "$hardcode_minus_L" != no; then
12474                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12475                     else
12476                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
12477                     fi
12478                   fi
12479                 fi
12480               fi
12481             else
12482               if test "X$found_a" != "X"; then
12483                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
12484               else
12485                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
12486               fi
12487             fi
12488                         additional_includedir=
12489             case "$found_dir" in
12490               */$acl_libdirstem | */$acl_libdirstem/)
12491                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
12492                 additional_includedir="$basedir/include"
12493                 ;;
12494             esac
12495             if test "X$additional_includedir" != "X"; then
12496                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
12497                 haveit=
12498                 if test "X$additional_includedir" = "X/usr/local/include"; then
12499                   if test -n "$GCC"; then
12500                     case $host_os in
12501                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
12502                     esac
12503                   fi
12504                 fi
12505                 if test -z "$haveit"; then
12506                   for x in $CPPFLAGS $INCICONV; do
12507                     
12508   acl_save_prefix="$prefix"
12509   prefix="$acl_final_prefix"
12510   acl_save_exec_prefix="$exec_prefix"
12511   exec_prefix="$acl_final_exec_prefix"
12512   eval x=\"$x\"
12513   exec_prefix="$acl_save_exec_prefix"
12514   prefix="$acl_save_prefix"
12516                     if test "X$x" = "X-I$additional_includedir"; then
12517                       haveit=yes
12518                       break
12519                     fi
12520                   done
12521                   if test -z "$haveit"; then
12522                     if test -d "$additional_includedir"; then
12523                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
12524                     fi
12525                   fi
12526                 fi
12527               fi
12528             fi
12529                         if test -n "$found_la"; then
12530                                                         save_libdir="$libdir"
12531               case "$found_la" in
12532                 */* | *\\*) . "$found_la" ;;
12533                 *) . "./$found_la" ;;
12534               esac
12535               libdir="$save_libdir"
12536                             for dep in $dependency_libs; do
12537                 case "$dep" in
12538                   -L*)
12539                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
12540                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
12541                       haveit=
12542                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
12543                         if test -n "$GCC"; then
12544                           case $host_os in
12545                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
12546                           esac
12547                         fi
12548                       fi
12549                       if test -z "$haveit"; then
12550                         haveit=
12551                         for x in $LDFLAGS $LIBICONV; do
12552                           
12553   acl_save_prefix="$prefix"
12554   prefix="$acl_final_prefix"
12555   acl_save_exec_prefix="$exec_prefix"
12556   exec_prefix="$acl_final_exec_prefix"
12557   eval x=\"$x\"
12558   exec_prefix="$acl_save_exec_prefix"
12559   prefix="$acl_save_prefix"
12561                           if test "X$x" = "X-L$additional_libdir"; then
12562                             haveit=yes
12563                             break
12564                           fi
12565                         done
12566                         if test -z "$haveit"; then
12567                           if test -d "$additional_libdir"; then
12568                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
12569                           fi
12570                         fi
12571                         haveit=
12572                         for x in $LDFLAGS $LTLIBICONV; do
12573                           
12574   acl_save_prefix="$prefix"
12575   prefix="$acl_final_prefix"
12576   acl_save_exec_prefix="$exec_prefix"
12577   exec_prefix="$acl_final_exec_prefix"
12578   eval x=\"$x\"
12579   exec_prefix="$acl_save_exec_prefix"
12580   prefix="$acl_save_prefix"
12582                           if test "X$x" = "X-L$additional_libdir"; then
12583                             haveit=yes
12584                             break
12585                           fi
12586                         done
12587                         if test -z "$haveit"; then
12588                           if test -d "$additional_libdir"; then
12589                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
12590                           fi
12591                         fi
12592                       fi
12593                     fi
12594                     ;;
12595                   -R*)
12596                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
12597                     if test "$enable_rpath" != no; then
12598                                                                   haveit=
12599                       for x in $rpathdirs; do
12600                         if test "X$x" = "X$dir"; then
12601                           haveit=yes
12602                           break
12603                         fi
12604                       done
12605                       if test -z "$haveit"; then
12606                         rpathdirs="$rpathdirs $dir"
12607                       fi
12608                                                                   haveit=
12609                       for x in $ltrpathdirs; do
12610                         if test "X$x" = "X$dir"; then
12611                           haveit=yes
12612                           break
12613                         fi
12614                       done
12615                       if test -z "$haveit"; then
12616                         ltrpathdirs="$ltrpathdirs $dir"
12617                       fi
12618                     fi
12619                     ;;
12620                   -l*)
12621                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
12622                     ;;
12623                   *.la)
12624                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
12625                     ;;
12626                   *)
12627                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
12628                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
12629                     ;;
12630                 esac
12631               done
12632             fi
12633           else
12634                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
12635             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
12636           fi
12637         fi
12638       fi
12639     done
12640   done
12641   if test "X$rpathdirs" != "X"; then
12642     if test -n "$hardcode_libdir_separator"; then
12643                         alldirs=
12644       for found_dir in $rpathdirs; do
12645         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
12646       done
12647             acl_save_libdir="$libdir"
12648       libdir="$alldirs"
12649       eval flag=\"$hardcode_libdir_flag_spec\"
12650       libdir="$acl_save_libdir"
12651       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
12652     else
12653             for found_dir in $rpathdirs; do
12654         acl_save_libdir="$libdir"
12655         libdir="$found_dir"
12656         eval flag=\"$hardcode_libdir_flag_spec\"
12657         libdir="$acl_save_libdir"
12658         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
12659       done
12660     fi
12661   fi
12662   if test "X$ltrpathdirs" != "X"; then
12663             for found_dir in $ltrpathdirs; do
12664       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
12665     done
12666   fi
12670     
12671   
12672   
12673   
12674   
12675   
12676   
12678   
12679   
12682     
12684     
12685   
12687                         
12688     
12689   
12691     
12692     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
12693 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
12694 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
12695   $as_echo_n "(cached) " >&6
12696 else
12697   gt_save_LIBS="$LIBS"
12698      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
12699      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12700 /* end confdefs.h.  */
12701 #include <CoreFoundation/CFPreferences.h>
12703 main ()
12705 CFPreferencesCopyAppValue(NULL, NULL)
12706   ;
12707   return 0;
12709 _ACEOF
12710 if ac_fn_c_try_link "$LINENO"; then :
12711   gt_cv_func_CFPreferencesCopyAppValue=yes
12712 else
12713   gt_cv_func_CFPreferencesCopyAppValue=no
12715 rm -f core conftest.err conftest.$ac_objext \
12716     conftest$ac_exeext conftest.$ac_ext
12717      LIBS="$gt_save_LIBS"
12719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
12720 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
12721   if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
12722     
12723 $as_echo "@%:@define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
12725   fi
12726     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
12727 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
12728 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
12729   $as_echo_n "(cached) " >&6
12730 else
12731   gt_save_LIBS="$LIBS"
12732      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
12733      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12734 /* end confdefs.h.  */
12735 #include <CoreFoundation/CFLocale.h>
12737 main ()
12739 CFLocaleCopyCurrent();
12740   ;
12741   return 0;
12743 _ACEOF
12744 if ac_fn_c_try_link "$LINENO"; then :
12745   gt_cv_func_CFLocaleCopyCurrent=yes
12746 else
12747   gt_cv_func_CFLocaleCopyCurrent=no
12749 rm -f core conftest.err conftest.$ac_objext \
12750     conftest$ac_exeext conftest.$ac_ext
12751      LIBS="$gt_save_LIBS"
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
12754 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
12755   if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
12756     
12757 $as_echo "@%:@define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
12759   fi
12760   INTL_MACOSX_LIBS=
12761   if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
12762     INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
12763   fi
12764   
12767     
12769   
12770   LIBINTL=
12771   LTLIBINTL=
12772   POSUB=
12774     case " $gt_needs " in
12775     *" need-formatstring-macros "*) gt_api_version=3 ;;
12776     *" need-ngettext "*) gt_api_version=2 ;;
12777     *) gt_api_version=1 ;;
12778   esac
12779   gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
12780   gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
12782     if test "$USE_NLS" = "yes"; then
12783     gt_use_preinstalled_gnugettext=no
12784     
12785                         
12786         if test $gt_api_version -ge 3; then
12787           gt_revision_test_code='
12788 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
12789 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
12790 #endif
12791 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
12793         else
12794           gt_revision_test_code=
12795         fi
12796         if test $gt_api_version -ge 2; then
12797           gt_expression_test_code=' + * ngettext ("", "", 0)'
12798         else
12799           gt_expression_test_code=
12800         fi
12802         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
12803 $as_echo_n "checking for GNU gettext in libc... " >&6; }
12804 if eval \${$gt_func_gnugettext_libc+:} false; then :
12805   $as_echo_n "(cached) " >&6
12806 else
12807   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12808 /* end confdefs.h.  */
12809 #include <libintl.h>
12810 $gt_revision_test_code
12811 extern int _nl_msg_cat_cntr;
12812 extern int *_nl_domain_bindings;
12814 main ()
12816 bindtextdomain ("", "");
12817 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
12818   ;
12819   return 0;
12821 _ACEOF
12822 if ac_fn_c_try_link "$LINENO"; then :
12823   eval "$gt_func_gnugettext_libc=yes"
12824 else
12825   eval "$gt_func_gnugettext_libc=no"
12827 rm -f core conftest.err conftest.$ac_objext \
12828     conftest$ac_exeext conftest.$ac_ext
12830 eval ac_res=\$$gt_func_gnugettext_libc
12831                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12832 $as_echo "$ac_res" >&6; }
12834         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
12835                     
12836             
12837     
12838       
12840           am_save_CPPFLAGS="$CPPFLAGS"
12841   
12842   for element in $INCICONV; do
12843     haveit=
12844     for x in $CPPFLAGS; do
12845       
12846   acl_save_prefix="$prefix"
12847   prefix="$acl_final_prefix"
12848   acl_save_exec_prefix="$exec_prefix"
12849   exec_prefix="$acl_final_exec_prefix"
12850   eval x=\"$x\"
12851   exec_prefix="$acl_save_exec_prefix"
12852   prefix="$acl_save_prefix"
12854       if test "X$x" = "X$element"; then
12855         haveit=yes
12856         break
12857       fi
12858     done
12859     if test -z "$haveit"; then
12860       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
12861     fi
12862   done
12865   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
12866 $as_echo_n "checking for iconv... " >&6; }
12867 if ${am_cv_func_iconv+:} false; then :
12868   $as_echo_n "(cached) " >&6
12869 else
12870   
12871     am_cv_func_iconv="no, consider installing GNU libiconv"
12872     am_cv_lib_iconv=no
12873     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12874 /* end confdefs.h.  */
12875 #include <stdlib.h>
12876 #include <iconv.h>
12878 main ()
12880 iconv_t cd = iconv_open("","");
12881        iconv(cd,NULL,NULL,NULL,NULL);
12882        iconv_close(cd);
12883   ;
12884   return 0;
12886 _ACEOF
12887 if ac_fn_c_try_link "$LINENO"; then :
12888   am_cv_func_iconv=yes
12890 rm -f core conftest.err conftest.$ac_objext \
12891     conftest$ac_exeext conftest.$ac_ext
12892     if test "$am_cv_func_iconv" != yes; then
12893       am_save_LIBS="$LIBS"
12894       LIBS="$LIBS $LIBICONV"
12895       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12896 /* end confdefs.h.  */
12897 #include <stdlib.h>
12898 #include <iconv.h>
12900 main ()
12902 iconv_t cd = iconv_open("","");
12903          iconv(cd,NULL,NULL,NULL,NULL);
12904          iconv_close(cd);
12905   ;
12906   return 0;
12908 _ACEOF
12909 if ac_fn_c_try_link "$LINENO"; then :
12910   am_cv_lib_iconv=yes
12911         am_cv_func_iconv=yes
12913 rm -f core conftest.err conftest.$ac_objext \
12914     conftest$ac_exeext conftest.$ac_ext
12915       LIBS="$am_save_LIBS"
12916     fi
12917   
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
12920 $as_echo "$am_cv_func_iconv" >&6; }
12921   if test "$am_cv_func_iconv" = yes; then
12922     
12923 $as_echo "@%:@define HAVE_ICONV 1" >>confdefs.h
12925   fi
12926   if test "$am_cv_lib_iconv" = yes; then
12927     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
12928 $as_echo_n "checking how to link with libiconv... " >&6; }
12929     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
12930 $as_echo "$LIBICONV" >&6; }
12931   else
12932             CPPFLAGS="$am_save_CPPFLAGS"
12933     LIBICONV=
12934     LTLIBICONV=
12935   fi
12936   
12937   
12939           
12940                                                   
12941   
12942   
12943     use_additional=yes
12944   
12945   acl_save_prefix="$prefix"
12946   prefix="$acl_final_prefix"
12947   acl_save_exec_prefix="$exec_prefix"
12948   exec_prefix="$acl_final_exec_prefix"
12949   
12950     eval additional_includedir=\"$includedir\"
12951     eval additional_libdir=\"$libdir\"
12952   
12953   exec_prefix="$acl_save_exec_prefix"
12954   prefix="$acl_save_prefix"
12956   
12957 @%:@ Check whether --with-libintl-prefix was given.
12958 if test "${with_libintl_prefix+set}" = set; then :
12959   withval=$with_libintl_prefix; 
12960     if test "X$withval" = "Xno"; then
12961       use_additional=no
12962     else
12963       if test "X$withval" = "X"; then
12964         
12965   acl_save_prefix="$prefix"
12966   prefix="$acl_final_prefix"
12967   acl_save_exec_prefix="$exec_prefix"
12968   exec_prefix="$acl_final_exec_prefix"
12969   
12970           eval additional_includedir=\"$includedir\"
12971           eval additional_libdir=\"$libdir\"
12972         
12973   exec_prefix="$acl_save_exec_prefix"
12974   prefix="$acl_save_prefix"
12976       else
12977         additional_includedir="$withval/include"
12978         additional_libdir="$withval/$acl_libdirstem"
12979       fi
12980     fi
12984       LIBINTL=
12985   LTLIBINTL=
12986   INCINTL=
12987   rpathdirs=
12988   ltrpathdirs=
12989   names_already_handled=
12990   names_next_round='intl '
12991   while test -n "$names_next_round"; do
12992     names_this_round="$names_next_round"
12993     names_next_round=
12994     for name in $names_this_round; do
12995       already_handled=
12996       for n in $names_already_handled; do
12997         if test "$n" = "$name"; then
12998           already_handled=yes
12999           break
13000         fi
13001       done
13002       if test -z "$already_handled"; then
13003         names_already_handled="$names_already_handled $name"
13004                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13005         eval value=\"\$HAVE_LIB$uppername\"
13006         if test -n "$value"; then
13007           if test "$value" = yes; then
13008             eval value=\"\$LIB$uppername\"
13009             test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
13010             eval value=\"\$LTLIB$uppername\"
13011             test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
13012           else
13013                                     :
13014           fi
13015         else
13016                               found_dir=
13017           found_la=
13018           found_so=
13019           found_a=
13020           if test $use_additional = yes; then
13021             if test -n "$shlibext" \
13022                && { test -f "$additional_libdir/lib$name.$shlibext" \
13023                     || { test "$shlibext" = dll \
13024                          && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
13025               found_dir="$additional_libdir"
13026               if test -f "$additional_libdir/lib$name.$shlibext"; then
13027                 found_so="$additional_libdir/lib$name.$shlibext"
13028               else
13029                 found_so="$additional_libdir/lib$name.dll.a"
13030               fi
13031               if test -f "$additional_libdir/lib$name.la"; then
13032                 found_la="$additional_libdir/lib$name.la"
13033               fi
13034             else
13035               if test -f "$additional_libdir/lib$name.$libext"; then
13036                 found_dir="$additional_libdir"
13037                 found_a="$additional_libdir/lib$name.$libext"
13038                 if test -f "$additional_libdir/lib$name.la"; then
13039                   found_la="$additional_libdir/lib$name.la"
13040                 fi
13041               fi
13042             fi
13043           fi
13044           if test "X$found_dir" = "X"; then
13045             for x in $LDFLAGS $LTLIBINTL; do
13046               
13047   acl_save_prefix="$prefix"
13048   prefix="$acl_final_prefix"
13049   acl_save_exec_prefix="$exec_prefix"
13050   exec_prefix="$acl_final_exec_prefix"
13051   eval x=\"$x\"
13052   exec_prefix="$acl_save_exec_prefix"
13053   prefix="$acl_save_prefix"
13055               case "$x" in
13056                 -L*)
13057                   dir=`echo "X$x" | sed -e 's/^X-L//'`
13058                   if test -n "$shlibext" \
13059                      && { test -f "$dir/lib$name.$shlibext" \
13060                           || { test "$shlibext" = dll \
13061                                && test -f "$dir/lib$name.dll.a"; }; }; then
13062                     found_dir="$dir"
13063                     if test -f "$dir/lib$name.$shlibext"; then
13064                       found_so="$dir/lib$name.$shlibext"
13065                     else
13066                       found_so="$dir/lib$name.dll.a"
13067                     fi
13068                     if test -f "$dir/lib$name.la"; then
13069                       found_la="$dir/lib$name.la"
13070                     fi
13071                   else
13072                     if test -f "$dir/lib$name.$libext"; then
13073                       found_dir="$dir"
13074                       found_a="$dir/lib$name.$libext"
13075                       if test -f "$dir/lib$name.la"; then
13076                         found_la="$dir/lib$name.la"
13077                       fi
13078                     fi
13079                   fi
13080                   ;;
13081               esac
13082               if test "X$found_dir" != "X"; then
13083                 break
13084               fi
13085             done
13086           fi
13087           if test "X$found_dir" != "X"; then
13088                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
13089             if test "X$found_so" != "X"; then
13090                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
13091                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13092               else
13093                                                                                 haveit=
13094                 for x in $ltrpathdirs; do
13095                   if test "X$x" = "X$found_dir"; then
13096                     haveit=yes
13097                     break
13098                   fi
13099                 done
13100                 if test -z "$haveit"; then
13101                   ltrpathdirs="$ltrpathdirs $found_dir"
13102                 fi
13103                                 if test "$hardcode_direct" = yes; then
13104                                                       LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13105                 else
13106                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
13107                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13108                                                             haveit=
13109                     for x in $rpathdirs; do
13110                       if test "X$x" = "X$found_dir"; then
13111                         haveit=yes
13112                         break
13113                       fi
13114                     done
13115                     if test -z "$haveit"; then
13116                       rpathdirs="$rpathdirs $found_dir"
13117                     fi
13118                   else
13119                                                                                 haveit=
13120                     for x in $LDFLAGS $LIBINTL; do
13121                       
13122   acl_save_prefix="$prefix"
13123   prefix="$acl_final_prefix"
13124   acl_save_exec_prefix="$exec_prefix"
13125   exec_prefix="$acl_final_exec_prefix"
13126   eval x=\"$x\"
13127   exec_prefix="$acl_save_exec_prefix"
13128   prefix="$acl_save_prefix"
13130                       if test "X$x" = "X-L$found_dir"; then
13131                         haveit=yes
13132                         break
13133                       fi
13134                     done
13135                     if test -z "$haveit"; then
13136                       LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
13137                     fi
13138                     if test "$hardcode_minus_L" != no; then
13139                                                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13140                     else
13141                                                                                                                                                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
13142                     fi
13143                   fi
13144                 fi
13145               fi
13146             else
13147               if test "X$found_a" != "X"; then
13148                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
13149               else
13150                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
13151               fi
13152             fi
13153                         additional_includedir=
13154             case "$found_dir" in
13155               */$acl_libdirstem | */$acl_libdirstem/)
13156                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
13157                 additional_includedir="$basedir/include"
13158                 ;;
13159             esac
13160             if test "X$additional_includedir" != "X"; then
13161                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
13162                 haveit=
13163                 if test "X$additional_includedir" = "X/usr/local/include"; then
13164                   if test -n "$GCC"; then
13165                     case $host_os in
13166                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13167                     esac
13168                   fi
13169                 fi
13170                 if test -z "$haveit"; then
13171                   for x in $CPPFLAGS $INCINTL; do
13172                     
13173   acl_save_prefix="$prefix"
13174   prefix="$acl_final_prefix"
13175   acl_save_exec_prefix="$exec_prefix"
13176   exec_prefix="$acl_final_exec_prefix"
13177   eval x=\"$x\"
13178   exec_prefix="$acl_save_exec_prefix"
13179   prefix="$acl_save_prefix"
13181                     if test "X$x" = "X-I$additional_includedir"; then
13182                       haveit=yes
13183                       break
13184                     fi
13185                   done
13186                   if test -z "$haveit"; then
13187                     if test -d "$additional_includedir"; then
13188                                             INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
13189                     fi
13190                   fi
13191                 fi
13192               fi
13193             fi
13194                         if test -n "$found_la"; then
13195                                                         save_libdir="$libdir"
13196               case "$found_la" in
13197                 */* | *\\*) . "$found_la" ;;
13198                 *) . "./$found_la" ;;
13199               esac
13200               libdir="$save_libdir"
13201                             for dep in $dependency_libs; do
13202                 case "$dep" in
13203                   -L*)
13204                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
13205                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
13206                       haveit=
13207                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
13208                         if test -n "$GCC"; then
13209                           case $host_os in
13210                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13211                           esac
13212                         fi
13213                       fi
13214                       if test -z "$haveit"; then
13215                         haveit=
13216                         for x in $LDFLAGS $LIBINTL; do
13217                           
13218   acl_save_prefix="$prefix"
13219   prefix="$acl_final_prefix"
13220   acl_save_exec_prefix="$exec_prefix"
13221   exec_prefix="$acl_final_exec_prefix"
13222   eval x=\"$x\"
13223   exec_prefix="$acl_save_exec_prefix"
13224   prefix="$acl_save_prefix"
13226                           if test "X$x" = "X-L$additional_libdir"; then
13227                             haveit=yes
13228                             break
13229                           fi
13230                         done
13231                         if test -z "$haveit"; then
13232                           if test -d "$additional_libdir"; then
13233                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
13234                           fi
13235                         fi
13236                         haveit=
13237                         for x in $LDFLAGS $LTLIBINTL; do
13238                           
13239   acl_save_prefix="$prefix"
13240   prefix="$acl_final_prefix"
13241   acl_save_exec_prefix="$exec_prefix"
13242   exec_prefix="$acl_final_exec_prefix"
13243   eval x=\"$x\"
13244   exec_prefix="$acl_save_exec_prefix"
13245   prefix="$acl_save_prefix"
13247                           if test "X$x" = "X-L$additional_libdir"; then
13248                             haveit=yes
13249                             break
13250                           fi
13251                         done
13252                         if test -z "$haveit"; then
13253                           if test -d "$additional_libdir"; then
13254                                                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
13255                           fi
13256                         fi
13257                       fi
13258                     fi
13259                     ;;
13260                   -R*)
13261                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
13262                     if test "$enable_rpath" != no; then
13263                                                                   haveit=
13264                       for x in $rpathdirs; do
13265                         if test "X$x" = "X$dir"; then
13266                           haveit=yes
13267                           break
13268                         fi
13269                       done
13270                       if test -z "$haveit"; then
13271                         rpathdirs="$rpathdirs $dir"
13272                       fi
13273                                                                   haveit=
13274                       for x in $ltrpathdirs; do
13275                         if test "X$x" = "X$dir"; then
13276                           haveit=yes
13277                           break
13278                         fi
13279                       done
13280                       if test -z "$haveit"; then
13281                         ltrpathdirs="$ltrpathdirs $dir"
13282                       fi
13283                     fi
13284                     ;;
13285                   -l*)
13286                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13287                     ;;
13288                   *.la)
13289                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13290                     ;;
13291                   *)
13292                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
13293                     LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
13294                     ;;
13295                 esac
13296               done
13297             fi
13298           else
13299                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
13300             LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
13301           fi
13302         fi
13303       fi
13304     done
13305   done
13306   if test "X$rpathdirs" != "X"; then
13307     if test -n "$hardcode_libdir_separator"; then
13308                         alldirs=
13309       for found_dir in $rpathdirs; do
13310         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
13311       done
13312             acl_save_libdir="$libdir"
13313       libdir="$alldirs"
13314       eval flag=\"$hardcode_libdir_flag_spec\"
13315       libdir="$acl_save_libdir"
13316       LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
13317     else
13318             for found_dir in $rpathdirs; do
13319         acl_save_libdir="$libdir"
13320         libdir="$found_dir"
13321         eval flag=\"$hardcode_libdir_flag_spec\"
13322         libdir="$acl_save_libdir"
13323         LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
13324       done
13325     fi
13326   fi
13327   if test "X$ltrpathdirs" != "X"; then
13328             for found_dir in $ltrpathdirs; do
13329       LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
13330     done
13331   fi
13333           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
13334 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
13335 if eval \${$gt_func_gnugettext_libintl+:} false; then :
13336   $as_echo_n "(cached) " >&6
13337 else
13338   gt_save_CPPFLAGS="$CPPFLAGS"
13339             CPPFLAGS="$CPPFLAGS $INCINTL"
13340             gt_save_LIBS="$LIBS"
13341             LIBS="$LIBS $LIBINTL"
13342                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13343 /* end confdefs.h.  */
13344 #include <libintl.h>
13345 $gt_revision_test_code
13346 extern int _nl_msg_cat_cntr;
13347 extern
13348 #ifdef __cplusplus
13350 #endif
13351 const char *_nl_expand_alias (const char *);
13353 main ()
13355 bindtextdomain ("", "");
13356 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
13357   ;
13358   return 0;
13360 _ACEOF
13361 if ac_fn_c_try_link "$LINENO"; then :
13362   eval "$gt_func_gnugettext_libintl=yes"
13363 else
13364   eval "$gt_func_gnugettext_libintl=no"
13366 rm -f core conftest.err conftest.$ac_objext \
13367     conftest$ac_exeext conftest.$ac_ext
13368                         if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
13369               LIBS="$LIBS $LIBICONV"
13370               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13371 /* end confdefs.h.  */
13372 #include <libintl.h>
13373 $gt_revision_test_code
13374 extern int _nl_msg_cat_cntr;
13375 extern
13376 #ifdef __cplusplus
13378 #endif
13379 const char *_nl_expand_alias (const char *);
13381 main ()
13383 bindtextdomain ("", "");
13384 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
13385   ;
13386   return 0;
13388 _ACEOF
13389 if ac_fn_c_try_link "$LINENO"; then :
13390   LIBINTL="$LIBINTL $LIBICONV"
13391                 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
13392                 eval "$gt_func_gnugettext_libintl=yes"
13393                
13395 rm -f core conftest.err conftest.$ac_objext \
13396     conftest$ac_exeext conftest.$ac_ext
13397             fi
13398             CPPFLAGS="$gt_save_CPPFLAGS"
13399             LIBS="$gt_save_LIBS"
13401 eval ac_res=\$$gt_func_gnugettext_libintl
13402                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13403 $as_echo "$ac_res" >&6; }
13404         fi
13406                                         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
13407            || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
13408                 && test "$PACKAGE" != gettext-runtime \
13409                 && test "$PACKAGE" != gettext-tools; }; then
13410           gt_use_preinstalled_gnugettext=yes
13411         else
13412                     LIBINTL=
13413           LTLIBINTL=
13414           INCINTL=
13415         fi
13417     
13419     if test -n "$INTL_MACOSX_LIBS"; then
13420       if test "$gt_use_preinstalled_gnugettext" = "yes" \
13421          || test "$nls_cv_use_gnu_gettext" = "yes"; then
13422                 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
13423         LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
13424       fi
13425     fi
13427     if test "$gt_use_preinstalled_gnugettext" = "yes" \
13428        || test "$nls_cv_use_gnu_gettext" = "yes"; then
13429       
13430 $as_echo "@%:@define ENABLE_NLS 1" >>confdefs.h
13432     else
13433       USE_NLS=no
13434     fi
13435   fi
13437   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
13438 $as_echo_n "checking whether to use NLS... " >&6; }
13439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13440 $as_echo "$USE_NLS" >&6; }
13441   if test "$USE_NLS" = "yes"; then
13442     { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
13443 $as_echo_n "checking where the gettext function comes from... " >&6; }
13444     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13445       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
13446         gt_source="external libintl"
13447       else
13448         gt_source="libc"
13449       fi
13450     else
13451       gt_source="included intl directory"
13452     fi
13453     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
13454 $as_echo "$gt_source" >&6; }
13455   fi
13457   if test "$USE_NLS" = "yes"; then
13459     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13460       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
13461         { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
13462 $as_echo_n "checking how to link with libintl... " >&6; }
13463         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
13464 $as_echo "$LIBINTL" >&6; }
13465         
13466   for element in $INCINTL; do
13467     haveit=
13468     for x in $CPPFLAGS; do
13469       
13470   acl_save_prefix="$prefix"
13471   prefix="$acl_final_prefix"
13472   acl_save_exec_prefix="$exec_prefix"
13473   exec_prefix="$acl_final_exec_prefix"
13474   eval x=\"$x\"
13475   exec_prefix="$acl_save_exec_prefix"
13476   prefix="$acl_save_prefix"
13478       if test "X$x" = "X$element"; then
13479         haveit=yes
13480         break
13481       fi
13482     done
13483     if test -z "$haveit"; then
13484       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
13485     fi
13486   done
13488       fi
13490             
13491 $as_echo "@%:@define HAVE_GETTEXT 1" >>confdefs.h
13493       
13494 $as_echo "@%:@define HAVE_DCGETTEXT 1" >>confdefs.h
13496     fi
13498         POSUB=po
13499   fi
13501   
13503     INTLLIBS="$LIBINTL"
13504   
13506     
13507   
13508   
13511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: dmalloc enabled" >&5
13512 $as_echo_n "checking option: dmalloc enabled... " >&6; }
13513 @%:@ Check whether --enable-dmalloc was given.
13514 if test "${enable_dmalloc+set}" = set; then :
13515   enableval=$enable_dmalloc; 
13518 if test x$enable_dmalloc = "xyes" ; then
13519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13520 $as_echo "yes" >&6; }
13521 else
13522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13523 $as_echo "no" >&6; }
13527 @%:@ Check whether --with-dmalloc-dir was given.
13528 if test "${with_dmalloc_dir+set}" = set; then :
13529   withval=$with_dmalloc_dir; 
13530     if test "x$withval" != "xno" ; then
13531       enable_dmalloc = "yes"
13532       CPPFLAGS="$CPPFLAGS -I${withval}"
13533       LDFLAGS="$LDFLAGS -L${withval}"
13534     fi
13535   
13539 if test x$enable_dmalloc = "xyes" ; then
13540   
13541 $as_echo "@%:@define ENABLE_DMALLOC 1" >>confdefs.h
13545 case $host in
13546     *apple-darwin*)
13547       if test -d /opt/local ; then
13548         localedir="/opt/local/share/locale"
13549       else
13550         localedir="\${datadir}/locale"
13551       fi
13552       ;;
13553     *)  
13554       localedir="\${datadir}/locale"
13555       ;;
13556 esac
13558 @%:@ Check whether --with-localedir was given.
13559 if test "${with_localedir+set}" = set; then :
13560   withval=$with_localedir; 
13561     case $withval in
13562       yes)
13563         ;;
13564       no)
13565         ;;
13566       *)
13567         localedir=$withval
13568         ;;
13569     esac
13570   
13573 localedir="$localedir"
13576 # Setup OS-Specific features
13577 case "$host" in
13578   *darwin*)
13579         @%:@ Check whether --enable-osx-universal-binaries was given.
13580 if test "${enable_osx_universal_binaries+set}" = set; then :
13581   enableval=$enable_osx_universal_binaries; 
13584     if test "x$enable_osx_universal_binaries" = "xyes" ; then
13585       if test "x$enable_dependency_tracking" != xno ; then
13586         as_fn_error $? "--enable-osx-universal-binary requires --disable-dependency-tracking.
13587 Please re-run configure with these options:
13588     --disable-dependency-tracking --enable-osx-universal-binary" "$LINENO" 5
13589       fi
13590       if test -d /Developer/SDKs/MacOSX10.5.sdk ; then
13591         alpine_sysroot=/Developer/SDKs/MacOSX10.5.sdk
13592       elif test -d /Developer/SDKs/MacOSX10.4u.sdk ; then
13593         alpine_sysroot=/Developer/SDKs/MacOSX10.4u.sdk
13594       else
13595         as_fn_error $? "No suitable MacOSX SDK found.  Make sure Xcode tools are installed" "$LINENO" 5
13596       fi
13597       ub_cflags="-isysroot $alpine_sysroot -arch ppc -arch i386"
13598       ub_ldflags="-Wl,-syslibroot,$alpine_sysroot -arch ppc -arch i386"
13599       AM_CFLAGS="$AM_CFLAGS $ub_cflags"
13600       AM_LDFLAGS="$AM_LDFLAGS $ub_ldflags"
13601       alpine_c_client_cflags="$alpine_c_client_cflags $ub_cflags"
13602       alpine_c_client_ldflags="$alpine_c_client_ldflags $ub_ldflags"
13603     fi
13604     ;;
13605 esac
13608 @%:@ Check whether --with-include-path was given.
13609 if test "${with_include_path+set}" = set; then :
13610   withval=$with_include_path; 
13611     case $withval in
13612       no)
13613         ;;
13614       yes)
13615         ;;
13616       *)
13617         new_cppflags="-I`echo ${withval} | ${SED} 's/:/ -I/g'`"
13618         CPPFLAGS="$CPPFLAGS ${new_cppflags}"
13619         alpine_c_client_cflags="$alpine_c_client_cflags ${new_cppflags}"
13620         ;;
13621     esac
13622   
13627 @%:@ Check whether --with-lib-path was given.
13628 if test "${with_lib_path+set}" = set; then :
13629   withval=$with_lib_path; 
13630     case $withval in
13631       no)
13632         ;;
13633       yes)
13634         ;;
13635       *)
13636         new_ldflags="-L`echo ${withval} | ${SED} 's/:/ -L/g'`"
13637         LDFLAGS="$LDFLAGS $new_ldflags"
13638         alpine_c_client_ldflags="$alpine_c_client_ldflags ${new_ldflags}"
13639         ;;
13640     esac
13641   
13646 @%:@ Check whether --with-pubcookie was given.
13647 if test "${with_pubcookie+set}" = set; then :
13648   withval=$with_pubcookie; 
13649     if test "x$withval" != "xno" ; then
13650       WEB_PUBCOOKIE_BUILD=web/src/pubcookie
13651     fi
13652   
13658 @%:@ Check whether --with-web-bin was given.
13659 if test "${with_web_bin+set}" = set; then :
13660   withval=$with_web_bin; 
13661     case "$withval" in
13662       no)
13663         ;;
13664       yes)
13665         ;;
13666       *)
13667         WEB_BINDIR=$withval
13668         ;;
13669     esac
13670   
13674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: debugging is enabled" >&5
13675 $as_echo_n "checking option: debugging is enabled... " >&6; }
13676 @%:@ Check whether --enable-debug was given.
13677 if test "${enable_debug+set}" = set; then :
13678   enableval=$enable_debug; 
13681 if test x$enable_debug != "xno" ; then
13682   AM_CFLAGS="$AM_CFLAGS -g"
13683   
13684 $as_echo "@%:@define DEBUG 1" >>confdefs.h
13686   
13687 $as_echo "@%:@define DEBUGJOURNAL 1" >>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: optimization is enabled" >&5
13697 $as_echo_n "checking option: optimization is enabled... " >&6; }
13698 @%:@ Check whether --enable-optimization was given.
13699 if test "${enable_optimization+set}" = set; then :
13700   enableval=$enable_optimization; 
13703 if test x$enable_optimization != "xno" ; then
13704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13705 $as_echo "yes" >&6; }
13706 else
13707   CFLAGS="`echo $AM_CFLAGS | ${SED} 's/-O2//'`"
13708   alpine_c_client_gccoptlevel="-O0"
13709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13710 $as_echo "no" >&6; }
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: mouse support enabled" >&5
13714 $as_echo_n "checking option: mouse support enabled... " >&6; }
13715 @%:@ Check whether --enable-mouse was given.
13716 if test "${enable_mouse+set}" = set; then :
13717   enableval=$enable_mouse; 
13720 if test x$enable_mouse != "xno" ; then
13721   
13722 $as_echo "@%:@define MOUSE /**/" >>confdefs.h
13724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13725 $as_echo "yes" >&6; }
13726 else
13727    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13728 $as_echo "no" >&6; }
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: quotas enabled" >&5
13732 $as_echo_n "checking option: quotas enabled... " >&6; }
13733 @%:@ Check whether --enable-quotas was given.
13734 if test "${enable_quotas+set}" = set; then :
13735   enableval=$enable_quotas; 
13738 if test x$enable_quotas = "xyes" ; then
13739   
13740 $as_echo "@%:@define USE_QUOTAS /**/" >>confdefs.h
13742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13743 $as_echo "yes" >&6; }
13744 else
13745    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13746 $as_echo "no" >&6; }
13749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: From changing enabled" >&5
13750 $as_echo_n "checking option: From changing enabled... " >&6; }
13751 @%:@ Check whether --enable-from_changing was given.
13752 if test "${enable_from_changing+set}" = set; then :
13753   enableval=$enable_from_changing; 
13756 if test x$enable_from_changing != "xno" ; then
13757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13758 $as_echo "yes" >&6; }
13759 else
13760   
13761 $as_echo "@%:@define NEVER_ALLOW_CHANGING_FROM /**/" >>confdefs.h
13763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13764 $as_echo "no" >&6; }
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: background post enabled" >&5
13768 $as_echo_n "checking option: background post enabled... " >&6; }
13769 @%:@ Check whether --enable-background-post was given.
13770 if test "${enable_background_post+set}" = set; then :
13771   enableval=$enable_background_post; 
13774 if test x$enable_background_post != "xno" ; then
13775   
13776 $as_echo "@%:@define BACKGROUND_POST /**/" >>confdefs.h
13778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13779 $as_echo "yes" >&6; }
13780 else
13781     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13782 $as_echo "no" >&6; }
13785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: keyboard lock enabled" >&5
13786 $as_echo_n "checking option: keyboard lock enabled... " >&6; }
13787 @%:@ Check whether --enable-keyboard-lock was given.
13788 if test "${enable_keyboard_lock+set}" = set; then :
13789   enableval=$enable_keyboard_lock; 
13792 if test x$enable_keyboard_lock != "xno" ; then
13793   
13794 $as_echo "@%:@define KEYBOARD_LOCK /**/" >>confdefs.h
13796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13797 $as_echo "yes" >&6; }
13798 else
13799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13800 $as_echo "no" >&6; }
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: from encoding enabled" >&5
13804 $as_echo_n "checking option: from encoding enabled... " >&6; }
13805 @%:@ Check whether --enable-from-encoding was given.
13806 if test "${enable_from_encoding+set}" = set; then :
13807   enableval=$enable_from_encoding; 
13810 if test x$enable_from_encoding = "xyes" ; then
13811   
13812 $as_echo "@%:@define ENCODE_FROMS /**/" >>confdefs.h
13814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13815 $as_echo "yes" >&6; }
13816 else
13817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13818 $as_echo "no" >&6; }
13822 @%:@ Check whether --with-smtp-msa was given.
13823 if test "${with_smtp_msa+set}" = set; then :
13824   withval=$with_smtp_msa; 
13825       case "$withval" in
13826         no)
13827           ;;
13828         yes)
13829           # Extract the first word of "sendmail", so it can be a program name with args.
13830 set dummy sendmail; ac_word=$2
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13832 $as_echo_n "checking for $ac_word... " >&6; }
13833 if ${ac_cv_path_SENDMAIL+:} false; then :
13834   $as_echo_n "(cached) " >&6
13835 else
13836   case $SENDMAIL in
13837   [\\/]* | ?:[\\/]*)
13838   ac_cv_path_SENDMAIL="$SENDMAIL" # Let the user override the test with a path.
13839   ;;
13840   *)
13841   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13842 as_dummy="$PATH:/usr/sbin:/usr/lib"
13843 for as_dir in $as_dummy
13845   IFS=$as_save_IFS
13846   test -z "$as_dir" && as_dir=.
13847     for ac_exec_ext in '' $ac_executable_extensions; do
13848   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13849     ac_cv_path_SENDMAIL="$as_dir/$ac_word$ac_exec_ext"
13850     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13851     break 2
13852   fi
13853 done
13854   done
13855 IFS=$as_save_IFS
13857   test -z "$ac_cv_path_SENDMAIL" && ac_cv_path_SENDMAIL=""""
13858   ;;
13859 esac
13861 SENDMAIL=$ac_cv_path_SENDMAIL
13862 if test -n "$SENDMAIL"; then
13863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENDMAIL" >&5
13864 $as_echo "$SENDMAIL" >&6; }
13865 else
13866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13867 $as_echo "no" >&6; }
13871           ;;
13872         *)
13873           SENDMAIL=$withval
13874           ;;
13875       esac
13876     
13877 else
13878   
13879           # Extract the first word of "sendmail", so it can be a program name with args.
13880 set dummy sendmail; ac_word=$2
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13882 $as_echo_n "checking for $ac_word... " >&6; }
13883 if ${ac_cv_path_SENDMAIL+:} false; then :
13884   $as_echo_n "(cached) " >&6
13885 else
13886   case $SENDMAIL in
13887   [\\/]* | ?:[\\/]*)
13888   ac_cv_path_SENDMAIL="$SENDMAIL" # Let the user override the test with a path.
13889   ;;
13890   *)
13891   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13892 as_dummy="$PATH:/usr/sbin:/usr/lib"
13893 for as_dir in $as_dummy
13895   IFS=$as_save_IFS
13896   test -z "$as_dir" && as_dir=.
13897     for ac_exec_ext in '' $ac_executable_extensions; do
13898   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13899     ac_cv_path_SENDMAIL="$as_dir/$ac_word$ac_exec_ext"
13900     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13901     break 2
13902   fi
13903 done
13904   done
13905 IFS=$as_save_IFS
13907   test -z "$ac_cv_path_SENDMAIL" && ac_cv_path_SENDMAIL=""""
13908   ;;
13909 esac
13911 SENDMAIL=$ac_cv_path_SENDMAIL
13912 if test -n "$SENDMAIL"; then
13913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENDMAIL" >&5
13914 $as_echo "$SENDMAIL" >&6; }
13915 else
13916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13917 $as_echo "no" >&6; }
13921     
13924 if test -n "$SENDMAIL" ; then
13925     
13926 cat >>confdefs.h <<_ACEOF
13927 @%:@define SENDMAIL "$SENDMAIL"
13928 _ACEOF
13932 smtp_msa_flags="-bs -odb -oem"
13934 @%:@ Check whether --with-smtp-msa-flags was given.
13935 if test "${with_smtp_msa_flags+set}" = set; then :
13936   withval=$with_smtp_msa_flags; 
13937     if test "x$withval" != "xno" ; then
13938       smtp_msa_flags=$withval
13939     fi
13940   
13944 cat >>confdefs.h <<_ACEOF
13945 @%:@define SENDMAILFLAGS "$smtp_msa_flags"
13946 _ACEOF
13949 npa="inews"
13951 @%:@ Check whether --with-npa was given.
13952 if test "${with_npa+set}" = set; then :
13953   withval=$with_npa; 
13954       case "$withval" in
13955         no)
13956           ;;
13957         yes)
13958           # Extract the first word of "inews", so it can be a program name with args.
13959 set dummy inews; ac_word=$2
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13961 $as_echo_n "checking for $ac_word... " >&6; }
13962 if ${ac_cv_path_NPA_PROG+:} false; then :
13963   $as_echo_n "(cached) " >&6
13964 else
13965   case $NPA_PROG in
13966   [\\/]* | ?:[\\/]*)
13967   ac_cv_path_NPA_PROG="$NPA_PROG" # Let the user override the test with a path.
13968   ;;
13969   *)
13970   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13971 as_dummy="$PATH:/usr/sbin:/usr/lib"
13972 for as_dir in $as_dummy
13974   IFS=$as_save_IFS
13975   test -z "$as_dir" && as_dir=.
13976     for ac_exec_ext in '' $ac_executable_extensions; do
13977   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13978     ac_cv_path_NPA_PROG="$as_dir/$ac_word$ac_exec_ext"
13979     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13980     break 2
13981   fi
13982 done
13983   done
13984 IFS=$as_save_IFS
13986   test -z "$ac_cv_path_NPA_PROG" && ac_cv_path_NPA_PROG=""""
13987   ;;
13988 esac
13990 NPA_PROG=$ac_cv_path_NPA_PROG
13991 if test -n "$NPA_PROG"; then
13992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NPA_PROG" >&5
13993 $as_echo "$NPA_PROG" >&6; }
13994 else
13995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13996 $as_echo "no" >&6; }
14000           ;;
14001         *)
14002           NPA_PROG=$withval
14003           ;;
14004       esac
14005     
14006 else
14007   
14008           # Extract the first word of "inews", so it can be a program name with args.
14009 set dummy inews; ac_word=$2
14010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14011 $as_echo_n "checking for $ac_word... " >&6; }
14012 if ${ac_cv_path_NPA_PROG+:} false; then :
14013   $as_echo_n "(cached) " >&6
14014 else
14015   case $NPA_PROG in
14016   [\\/]* | ?:[\\/]*)
14017   ac_cv_path_NPA_PROG="$NPA_PROG" # Let the user override the test with a path.
14018   ;;
14019   *)
14020   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14021 as_dummy="$PATH:/usr/sbin:/usr/lib"
14022 for as_dir in $as_dummy
14024   IFS=$as_save_IFS
14025   test -z "$as_dir" && as_dir=.
14026     for ac_exec_ext in '' $ac_executable_extensions; do
14027   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14028     ac_cv_path_NPA_PROG="$as_dir/$ac_word$ac_exec_ext"
14029     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14030     break 2
14031   fi
14032 done
14033   done
14034 IFS=$as_save_IFS
14036   test -z "$ac_cv_path_NPA_PROG" && ac_cv_path_NPA_PROG=""""
14037   ;;
14038 esac
14040 NPA_PROG=$ac_cv_path_NPA_PROG
14041 if test -n "$NPA_PROG"; then
14042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NPA_PROG" >&5
14043 $as_echo "$NPA_PROG" >&6; }
14044 else
14045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14046 $as_echo "no" >&6; }
14050     
14054 npa_flags="-h"
14056 @%:@ Check whether --with-npa-flags was given.
14057 if test "${with_npa_flags+set}" = set; then :
14058   withval=$with_npa_flags; 
14059     if test "x$withval" != "xno" ; then
14060       npa_flags=$withval
14061     fi
14062   
14065 if test -n "$NPA_PROG" ; then
14066   
14067 cat >>confdefs.h <<_ACEOF
14068 @%:@define SENDNEWS "$NPA_PROG $npa_flags"
14069 _ACEOF
14074 @%:@ Check whether --with-password-prog was given.
14075 if test "${with_password_prog+set}" = set; then :
14076   withval=$with_password_prog; 
14077       case "$withval" in
14078         no)
14079           ;;
14080         yes)
14081           # Extract the first word of "passwd", so it can be a program name with args.
14082 set dummy passwd; ac_word=$2
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14084 $as_echo_n "checking for $ac_word... " >&6; }
14085 if ${ac_cv_path_PWPROG+:} false; then :
14086   $as_echo_n "(cached) " >&6
14087 else
14088   case $PWPROG in
14089   [\\/]* | ?:[\\/]*)
14090   ac_cv_path_PWPROG="$PWPROG" # Let the user override the test with a path.
14091   ;;
14092   *)
14093   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14094 as_dummy="$PATH:/usr/sbin:/usr/lib"
14095 for as_dir in $as_dummy
14097   IFS=$as_save_IFS
14098   test -z "$as_dir" && as_dir=.
14099     for ac_exec_ext in '' $ac_executable_extensions; do
14100   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14101     ac_cv_path_PWPROG="$as_dir/$ac_word$ac_exec_ext"
14102     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14103     break 2
14104   fi
14105 done
14106   done
14107 IFS=$as_save_IFS
14109   test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG=""""
14110   ;;
14111 esac
14113 PWPROG=$ac_cv_path_PWPROG
14114 if test -n "$PWPROG"; then
14115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
14116 $as_echo "$PWPROG" >&6; }
14117 else
14118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14119 $as_echo "no" >&6; }
14123           ;;
14124         *)
14125           # Extract the first word of "$withval", so it can be a program name with args.
14126 set dummy $withval; ac_word=$2
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14128 $as_echo_n "checking for $ac_word... " >&6; }
14129 if ${ac_cv_path_PWPROG+:} false; then :
14130   $as_echo_n "(cached) " >&6
14131 else
14132   case $PWPROG in
14133   [\\/]* | ?:[\\/]*)
14134   ac_cv_path_PWPROG="$PWPROG" # Let the user override the test with a path.
14135   ;;
14136   *)
14137   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14138 as_dummy="$PATH:/usr/sbin:/usr/lib"
14139 for as_dir in $as_dummy
14141   IFS=$as_save_IFS
14142   test -z "$as_dir" && as_dir=.
14143     for ac_exec_ext in '' $ac_executable_extensions; do
14144   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14145     ac_cv_path_PWPROG="$as_dir/$ac_word$ac_exec_ext"
14146     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14147     break 2
14148   fi
14149 done
14150   done
14151 IFS=$as_save_IFS
14153   test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG=""""
14154   ;;
14155 esac
14157 PWPROG=$ac_cv_path_PWPROG
14158 if test -n "$PWPROG"; then
14159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
14160 $as_echo "$PWPROG" >&6; }
14161 else
14162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14163 $as_echo "no" >&6; }
14167           ;;
14168       esac
14169     
14170 else
14171   
14172           # Extract the first word of "passwd", so it can be a program name with args.
14173 set dummy passwd; ac_word=$2
14174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14175 $as_echo_n "checking for $ac_word... " >&6; }
14176 if ${ac_cv_path_PWPROG+:} false; then :
14177   $as_echo_n "(cached) " >&6
14178 else
14179   case $PWPROG in
14180   [\\/]* | ?:[\\/]*)
14181   ac_cv_path_PWPROG="$PWPROG" # Let the user override the test with a path.
14182   ;;
14183   *)
14184   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14185 as_dummy="$PATH:/usr/sbin:/usr/lib"
14186 for as_dir in $as_dummy
14188   IFS=$as_save_IFS
14189   test -z "$as_dir" && as_dir=.
14190     for ac_exec_ext in '' $ac_executable_extensions; do
14191   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14192     ac_cv_path_PWPROG="$as_dir/$ac_word$ac_exec_ext"
14193     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14194     break 2
14195   fi
14196 done
14197   done
14198 IFS=$as_save_IFS
14200   test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG=""""
14201   ;;
14202 esac
14204 PWPROG=$ac_cv_path_PWPROG
14205 if test -n "$PWPROG"; then
14206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
14207 $as_echo "$PWPROG" >&6; }
14208 else
14209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14210 $as_echo "no" >&6; }
14214     
14217 if test -n "$PWPROG" ; then
14218     
14219 cat >>confdefs.h <<_ACEOF
14220 @%:@define PASSWD_PROG "$PWPROG"
14221 _ACEOF
14226 @%:@ Check whether --with-simple-spellcheck was given.
14227 if test "${with_simple_spellcheck+set}" = set; then :
14228   withval=$with_simple_spellcheck; 
14229       if test "x$withval" != "xno" ; then
14230         SPELLPROG=$withval
14231       fi
14232     
14233 else
14234   
14235       # Extract the first word of "hunspell", so it can be a program name with args.
14236 set dummy hunspell; ac_word=$2
14237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14238 $as_echo_n "checking for $ac_word... " >&6; }
14239 if ${ac_cv_prog_SPELLPROG+:} false; then :
14240   $as_echo_n "(cached) " >&6
14241 else
14242   if test -n "$SPELLPROG"; then
14243   ac_cv_prog_SPELLPROG="$SPELLPROG" # Let the user override the test.
14244 else
14245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14246 for as_dir in $PATH
14248   IFS=$as_save_IFS
14249   test -z "$as_dir" && as_dir=.
14250     for ac_exec_ext in '' $ac_executable_extensions; do
14251   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14252     ac_cv_prog_SPELLPROG="hunspell"
14253     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14254     break 2
14255   fi
14256 done
14257   done
14258 IFS=$as_save_IFS
14262 SPELLPROG=$ac_cv_prog_SPELLPROG
14263 if test -n "$SPELLPROG"; then
14264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
14265 $as_echo "$SPELLPROG" >&6; }
14266 else
14267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14268 $as_echo "no" >&6; }
14272       if test -z "$SPELLPROG" ; then
14273         # Extract the first word of "aspell", so it can be a program name with args.
14274 set dummy aspell; ac_word=$2
14275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14276 $as_echo_n "checking for $ac_word... " >&6; }
14277 if ${ac_cv_prog_SPELLPROG+:} false; then :
14278   $as_echo_n "(cached) " >&6
14279 else
14280   if test -n "$SPELLPROG"; then
14281   ac_cv_prog_SPELLPROG="$SPELLPROG" # Let the user override the test.
14282 else
14283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14284 for as_dir in $PATH
14286   IFS=$as_save_IFS
14287   test -z "$as_dir" && as_dir=.
14288     for ac_exec_ext in '' $ac_executable_extensions; do
14289   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14290     ac_cv_prog_SPELLPROG="aspell"
14291     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14292     break 2
14293   fi
14294 done
14295   done
14296 IFS=$as_save_IFS
14300 SPELLPROG=$ac_cv_prog_SPELLPROG
14301 if test -n "$SPELLPROG"; then
14302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
14303 $as_echo "$SPELLPROG" >&6; }
14304 else
14305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14306 $as_echo "no" >&6; }
14310         if test -z "$SPELLPROG" ; then
14311           # Extract the first word of "ispell", so it can be a program name with args.
14312 set dummy ispell; ac_word=$2
14313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14314 $as_echo_n "checking for $ac_word... " >&6; }
14315 if ${ac_cv_prog_SPELLPROG+:} false; then :
14316   $as_echo_n "(cached) " >&6
14317 else
14318   if test -n "$SPELLPROG"; then
14319   ac_cv_prog_SPELLPROG="$SPELLPROG" # Let the user override the test.
14320 else
14321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14322 for as_dir in $PATH
14324   IFS=$as_save_IFS
14325   test -z "$as_dir" && as_dir=.
14326     for ac_exec_ext in '' $ac_executable_extensions; do
14327   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14328     ac_cv_prog_SPELLPROG="ispell"
14329     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14330     break 2
14331   fi
14332 done
14333   done
14334 IFS=$as_save_IFS
14338 SPELLPROG=$ac_cv_prog_SPELLPROG
14339 if test -n "$SPELLPROG"; then
14340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
14341 $as_echo "$SPELLPROG" >&6; }
14342 else
14343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14344 $as_echo "no" >&6; }
14348           if test -z "$SPELLPROG" ; then
14349            SPELLPROG="spell"
14350           fi
14351         fi
14352       fi
14353     
14357 if test "x$SPELLPROG" != "xno" ; then
14358   # Extract the first word of "$SPELLPROG", so it can be a program name with args.
14359 set dummy $SPELLPROG; ac_word=$2
14360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14361 $as_echo_n "checking for $ac_word... " >&6; }
14362 if ${ac_cv_path_alpine_simple_spellcheck+:} false; then :
14363   $as_echo_n "(cached) " >&6
14364 else
14365   case $alpine_simple_spellcheck in
14366   [\\/]* | ?:[\\/]*)
14367   ac_cv_path_alpine_simple_spellcheck="$alpine_simple_spellcheck" # Let the user override the test with a path.
14368   ;;
14369   *)
14370   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14371 for as_dir in $PATH
14373   IFS=$as_save_IFS
14374   test -z "$as_dir" && as_dir=.
14375     for ac_exec_ext in '' $ac_executable_extensions; do
14376   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14377     ac_cv_path_alpine_simple_spellcheck="$as_dir/$ac_word$ac_exec_ext"
14378     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14379     break 2
14380   fi
14381 done
14382   done
14383 IFS=$as_save_IFS
14385   ;;
14386 esac
14388 alpine_simple_spellcheck=$ac_cv_path_alpine_simple_spellcheck
14389 if test -n "$alpine_simple_spellcheck"; then
14390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $alpine_simple_spellcheck" >&5
14391 $as_echo "$alpine_simple_spellcheck" >&6; }
14392 else
14393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14394 $as_echo "no" >&6; }
14398   if test -n "$alpine_simple_spellcheck" ; then
14399     case "$SPELLPROG" in
14400       hunspell)
14401         alpine_simple_spellcheck="$alpine_simple_spellcheck -l"
14402         ;;
14403       aspell)
14404         alpine_simple_spellcheck="$alpine_simple_spellcheck --dont-backup --mode=email list"
14405         ;;
14406       ispell)
14407         alpine_simple_spellcheck="$alpine_simple_spellcheck -l"
14408         ;;
14409       *)
14410         ;;
14411     esac
14412   fi
14416 @%:@ Check whether --with-interactive-spellcheck was given.
14417 if test "${with_interactive_spellcheck+set}" = set; then :
14418   withval=$with_interactive_spellcheck; 
14419       if test "x$withval" != "xno" ; then
14420         ISPELLPROG=$withval
14421       fi
14422     
14423 else
14424   
14425       # Extract the first word of "hunspell", so it can be a program name with args.
14426 set dummy hunspell; ac_word=$2
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14428 $as_echo_n "checking for $ac_word... " >&6; }
14429 if ${ac_cv_prog_ISPELLPROG+:} false; then :
14430   $as_echo_n "(cached) " >&6
14431 else
14432   if test -n "$ISPELLPROG"; then
14433   ac_cv_prog_ISPELLPROG="$ISPELLPROG" # Let the user override the test.
14434 else
14435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14436 for as_dir in $PATH
14438   IFS=$as_save_IFS
14439   test -z "$as_dir" && as_dir=.
14440     for ac_exec_ext in '' $ac_executable_extensions; do
14441   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14442     ac_cv_prog_ISPELLPROG="hunspell"
14443     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14444     break 2
14445   fi
14446 done
14447   done
14448 IFS=$as_save_IFS
14452 ISPELLPROG=$ac_cv_prog_ISPELLPROG
14453 if test -n "$ISPELLPROG"; then
14454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISPELLPROG" >&5
14455 $as_echo "$ISPELLPROG" >&6; }
14456 else
14457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14458 $as_echo "no" >&6; }
14462       if test -z "$ISPELLPROG" ; then
14463         # Extract the first word of "aspell", so it can be a program name with args.
14464 set dummy aspell; ac_word=$2
14465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14466 $as_echo_n "checking for $ac_word... " >&6; }
14467 if ${ac_cv_prog_ISPELLPROG+:} false; then :
14468   $as_echo_n "(cached) " >&6
14469 else
14470   if test -n "$ISPELLPROG"; then
14471   ac_cv_prog_ISPELLPROG="$ISPELLPROG" # Let the user override the test.
14472 else
14473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14474 for as_dir in $PATH
14476   IFS=$as_save_IFS
14477   test -z "$as_dir" && as_dir=.
14478     for ac_exec_ext in '' $ac_executable_extensions; do
14479   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14480     ac_cv_prog_ISPELLPROG="aspell"
14481     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14482     break 2
14483   fi
14484 done
14485   done
14486 IFS=$as_save_IFS
14490 ISPELLPROG=$ac_cv_prog_ISPELLPROG
14491 if test -n "$ISPELLPROG"; then
14492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISPELLPROG" >&5
14493 $as_echo "$ISPELLPROG" >&6; }
14494 else
14495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14496 $as_echo "no" >&6; }
14500         if test -z "$SPELLPROG" ; then
14501           ISPELLPROG="ispell"
14502         fi
14503       fi
14504     
14508 if test "x$ISPELLPROG" != "xno" ; then
14509   # Extract the first word of "$ISPELLPROG", so it can be a program name with args.
14510 set dummy $ISPELLPROG; ac_word=$2
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14512 $as_echo_n "checking for $ac_word... " >&6; }
14513 if ${ac_cv_path_alpine_interactive_spellcheck+:} false; then :
14514   $as_echo_n "(cached) " >&6
14515 else
14516   case $alpine_interactive_spellcheck in
14517   [\\/]* | ?:[\\/]*)
14518   ac_cv_path_alpine_interactive_spellcheck="$alpine_interactive_spellcheck" # Let the user override the test with a path.
14519   ;;
14520   *)
14521   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14522 for as_dir in $PATH
14524   IFS=$as_save_IFS
14525   test -z "$as_dir" && as_dir=.
14526     for ac_exec_ext in '' $ac_executable_extensions; do
14527   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14528     ac_cv_path_alpine_interactive_spellcheck="$as_dir/$ac_word$ac_exec_ext"
14529     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14530     break 2
14531   fi
14532 done
14533   done
14534 IFS=$as_save_IFS
14536   ;;
14537 esac
14539 alpine_interactive_spellcheck=$ac_cv_path_alpine_interactive_spellcheck
14540 if test -n "$alpine_interactive_spellcheck"; then
14541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $alpine_interactive_spellcheck" >&5
14542 $as_echo "$alpine_interactive_spellcheck" >&6; }
14543 else
14544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14545 $as_echo "no" >&6; }
14549   if test -n "$alpine_interactive_spellcheck" ; then
14550     case "$ISPELLPROG" in
14551       aspell)
14552         alpine_interactive_spellcheck="$alpine_interactive_spellcheck --dont-backup --mode=email check"
14553         ;;
14554       *)
14555         ;;
14556     esac
14557   fi
14560 if test -n "$alpine_interactive_spellcheck" ; then
14561     
14562 cat >>confdefs.h <<_ACEOF
14563 @%:@define DF_VAR_SPELLER "$alpine_interactive_spellcheck"
14564 _ACEOF
14568 if test -z "$alpine_simple_spellcheck" -a -n "$alpine_interactive_spellcheck" ; then
14569   alpine_simple_spellcheck=test
14572 cat >>confdefs.h <<_ACEOF
14573 @%:@define SPELLER "$alpine_simple_spellcheck"
14574 _ACEOF
14577 case "$prefix" in
14578   NONE) dpv=/usr/local/lib/pine.conf ;;
14579   *) dpv=${prefix}/lib/pine.conf ;;
14580 esac
14582 @%:@ Check whether --with-system-pinerc was given.
14583 if test "${with_system_pinerc+set}" = set; then :
14584   withval=$with_system_pinerc; 
14585       case "$withval" in
14586         no)
14587           ;;
14588         yes)
14589           ;;
14590         *)
14591           dpv=$withval
14592           ;;
14593       esac
14594     
14598 cat >>confdefs.h <<_ACEOF
14599 @%:@define SYSTEM_PINERC "$dpv"
14600 _ACEOF
14603 case "$prefix" in
14604   NONE) dpv=/usr/local/lib/pine.conf.fixed ;;
14605   *) dpv=${prefix}/lib/pine.conf.fixed ;;
14606 esac
14608 @%:@ Check whether --with-system-fixed-pinerc was given.
14609 if test "${with_system_fixed_pinerc+set}" = set; then :
14610   withval=$with_system_fixed_pinerc; 
14611       case "$withval" in
14612         no)
14613           ;;
14614         yes)
14615           ;;
14616         *)
14617           dpv=$withval
14618           ;;
14619       esac
14620     
14624 cat >>confdefs.h <<_ACEOF
14625 @%:@define SYSTEM_PINERC_FIXED "$dpv"
14626 _ACEOF
14629 case "$prefix" in
14630   NONE) dpv=/usr/local/lib/pine.info ;;
14631   *) dpv=${prefix}/lib/pine.info ;;
14632 esac
14634 @%:@ Check whether --with-local-support-info was given.
14635 if test "${with_local_support_info+set}" = set; then :
14636   withval=$with_local_support_info; 
14637       case "$withval" in
14638         no)
14639           ;;
14640         yes)
14641           ;;
14642         *)
14643           dpv=$withval
14644           ;;
14645       esac
14646     
14650 cat >>confdefs.h <<_ACEOF
14651 @%:@define SYSTEM_PINE_INFO_PATH "$dpv"
14652 _ACEOF
14660     dpv=150
14661     
14662 @%:@ Check whether --with-mailcheck-interval was given.
14663 if test "${with_mailcheck_interval+set}" = set; then :
14664   withval=$with_mailcheck_interval; 
14665         if test "x$withval" != "xno" ; then
14666           dpv=$withval
14667         fi
14668       
14671     
14672 cat >>confdefs.h <<_ACEOF
14673 @%:@define DF_MAILCHECK "$dpv"
14674 _ACEOF
14676   
14678     dpv=420
14679     
14680 @%:@ Check whether --with-checkpoint-interval was given.
14681 if test "${with_checkpoint_interval+set}" = set; then :
14682   withval=$with_checkpoint_interval; 
14683         if test "x$withval" != "xno" ; then
14684           dpv=$withval
14685         fi
14686       
14689     
14690 cat >>confdefs.h <<_ACEOF
14691 @%:@define CHECK_POINT_TIME $dpv
14692 _ACEOF
14694   
14696     dpv=12
14697     
14698 @%:@ Check whether --with-checkpoint-frequency was given.
14699 if test "${with_checkpoint_frequency+set}" = set; then :
14700   withval=$with_checkpoint_frequency; 
14701         if test "x$withval" != "xno" ; then
14702           dpv=$withval
14703         fi
14704       
14707     
14708 cat >>confdefs.h <<_ACEOF
14709 @%:@define CHECK_POINT_FREQ $dpv
14710 _ACEOF
14712   
14714     dpv=24
14715     
14716 @%:@ Check whether --with-display-rows was given.
14717 if test "${with_display_rows+set}" = set; then :
14718   withval=$with_display_rows; 
14719         if test "x$withval" != "xno" ; then
14720           dpv=$withval
14721         fi
14722       
14725     
14726 cat >>confdefs.h <<_ACEOF
14727 @%:@define DEFAULT_LINES_ON_TERMINAL $dpv
14728 _ACEOF
14730   
14732     dpv=80
14733     
14734 @%:@ Check whether --with-display-columns was given.
14735 if test "${with_display_columns+set}" = set; then :
14736   withval=$with_display_columns; 
14737         if test "x$withval" != "xno" ; then
14738           dpv=$withval
14739         fi
14740       
14743     
14744 cat >>confdefs.h <<_ACEOF
14745 @%:@define DEFAULT_COLUMNS_ON_TERMINAL $dpv
14746 _ACEOF
14748   
14750     dpv=200
14751     
14752 @%:@ Check whether --with-max-display-rows was given.
14753 if test "${with_max_display_rows+set}" = set; then :
14754   withval=$with_max_display_rows; 
14755         if test "x$withval" != "xno" ; then
14756           dpv=$withval
14757         fi
14758       
14761     
14762 cat >>confdefs.h <<_ACEOF
14763 @%:@define MAX_SCREEN_ROWS $dpv
14764 _ACEOF
14766   
14768     dpv=500
14769     
14770 @%:@ Check whether --with-max-display-columns was given.
14771 if test "${with_max_display_columns+set}" = set; then :
14772   withval=$with_max_display_columns; 
14773         if test "x$withval" != "xno" ; then
14774           dpv=$withval
14775         fi
14776       
14779     
14780 cat >>confdefs.h <<_ACEOF
14781 @%:@define MAX_SCREEN_COLS $dpv
14782 _ACEOF
14784   
14786     dpv=74
14787     
14788 @%:@ Check whether --with-fill-column was given.
14789 if test "${with_fill_column+set}" = set; then :
14790   withval=$with_fill_column; 
14791         if test "x$withval" != "xno" ; then
14792           dpv=$withval
14793         fi
14794       
14797     
14798 cat >>confdefs.h <<_ACEOF
14799 @%:@define DF_FILLCOL "$dpv"
14800 _ACEOF
14802   
14804     dpv=80
14805     
14806 @%:@ Check whether --with-max_fill-column was given.
14807 if test "${with_max_fill_column+set}" = set; then :
14808   withval=$with_max_fill_column; 
14809         if test "x$withval" != "xno" ; then
14810           dpv=$withval
14811         fi
14812       
14815     
14816 cat >>confdefs.h <<_ACEOF
14817 @%:@define MAX_FILLCOL $dpv
14818 _ACEOF
14820   
14822     dpv=2
14823     
14824 @%:@ Check whether --with-debug-level was given.
14825 if test "${with_debug_level+set}" = set; then :
14826   withval=$with_debug_level; 
14827         if test "x$withval" != "xno" ; then
14828           dpv=$withval
14829         fi
14830       
14833     
14834 cat >>confdefs.h <<_ACEOF
14835 @%:@define DEFAULT_DEBUG $dpv
14836 _ACEOF
14838   
14840     dpv=4
14841     
14842 @%:@ Check whether --with-debug-files was given.
14843 if test "${with_debug_files+set}" = set; then :
14844   withval=$with_debug_files; 
14845         if test "x$withval" != "xno" ; then
14846           dpv=$withval
14847         fi
14848       
14851     
14852 cat >>confdefs.h <<_ACEOF
14853 @%:@define NUMDEBUGFILES $dpv
14854 _ACEOF
14856   
14858     dpv=.pine-debug
14859     
14860 @%:@ Check whether --with-debug-file was given.
14861 if test "${with_debug_file+set}" = set; then :
14862   withval=$with_debug_file; 
14863         if test "x$withval" != "xno" ; then
14864           dpv=$withval
14865         fi
14866       
14869     
14870 cat >>confdefs.h <<_ACEOF
14871 @%:@define DEBUGFILE "$dpv"
14872 _ACEOF
14874   
14876     dpv="\$Forwarded"
14877     
14878 @%:@ Check whether --with-forwarded-keyword was given.
14879 if test "${with_forwarded_keyword+set}" = set; then :
14880   withval=$with_forwarded_keyword; 
14881         if test "x$withval" != "xno" ; then
14882           dpv=$withval
14883         fi
14884       
14887     
14888 cat >>confdefs.h <<_ACEOF
14889 @%:@define FORWARDED_FLAG "$dpv"
14890 _ACEOF
14892   
14894     dpv=2
14895     
14896 @%:@ Check whether --with-display-overlap was given.
14897 if test "${with_display_overlap+set}" = set; then :
14898   withval=$with_display_overlap; 
14899         if test "x$withval" != "xno" ; then
14900           dpv=$withval
14901         fi
14902       
14905     
14906 cat >>confdefs.h <<_ACEOF
14907 @%:@define DF_OVERLAP "$dpv"
14908 _ACEOF
14910   
14912     dpv=0
14913     
14914 @%:@ Check whether --with-display-margin was given.
14915 if test "${with_display_margin+set}" = set; then :
14916   withval=$with_display_margin; 
14917         if test "x$withval" != "xno" ; then
14918           dpv=$withval
14919         fi
14920       
14923     
14924 cat >>confdefs.h <<_ACEOF
14925 @%:@define DF_MARGIN "$dpv"
14926 _ACEOF
14928   
14930     dpv=sent-mail
14931     
14932 @%:@ Check whether --with-default-fcc was given.
14933 if test "${with_default_fcc+set}" = set; then :
14934   withval=$with_default_fcc; 
14935         if test "x$withval" != "xno" ; then
14936           dpv=$withval
14937         fi
14938       
14941     
14942 cat >>confdefs.h <<_ACEOF
14943 @%:@define DF_DEFAULT_FCC "$dpv"
14944 _ACEOF
14946   
14948     dpv=saved-messages
14949     
14950 @%:@ Check whether --with-default-save-folder was given.
14951 if test "${with_default_save_folder+set}" = set; then :
14952   withval=$with_default_save_folder; 
14953         if test "x$withval" != "xno" ; then
14954           dpv=$withval
14955         fi
14956       
14959     
14960 cat >>confdefs.h <<_ACEOF
14961 @%:@define DEFAULT_SAVE "$dpv"
14962 _ACEOF
14964   
14966     dpv=postponed-mail
14967     
14968 @%:@ Check whether --with-default-legacy-postponed-folder was given.
14969 if test "${with_default_legacy_postponed_folder+set}" = set; then :
14970   withval=$with_default_legacy_postponed_folder; 
14971         if test "x$withval" != "xno" ; then
14972           dpv=$withval
14973         fi
14974       
14977     
14978 cat >>confdefs.h <<_ACEOF
14979 @%:@define POSTPONED_MAIL "$dpv"
14980 _ACEOF
14982   
14984     dpv=postponed-msgs
14985     
14986 @%:@ Check whether --with-default-postponed-folder was given.
14987 if test "${with_default_postponed_folder+set}" = set; then :
14988   withval=$with_default_postponed_folder; 
14989         if test "x$withval" != "xno" ; then
14990           dpv=$withval
14991         fi
14992       
14995     
14996 cat >>confdefs.h <<_ACEOF
14997 @%:@define POSTPONED_MSGS "$dpv"
14998 _ACEOF
15000   
15002     dpv=Trash
15003     
15004 @%:@ Check whether --with-default-trash-folder was given.
15005 if test "${with_default_trash_folder+set}" = set; then :
15006   withval=$with_default_trash_folder; 
15007         if test "x$withval" != "xno" ; then
15008           dpv=$withval
15009         fi
15010       
15013     
15014 cat >>confdefs.h <<_ACEOF
15015 @%:@define TRASH_FOLDER "$dpv"
15016 _ACEOF
15018   
15020     dpv=.pine-interrupted-mail
15021     
15022 @%:@ Check whether --with-default-interrupted-mail was given.
15023 if test "${with_default_interrupted_mail+set}" = set; then :
15024   withval=$with_default_interrupted_mail; 
15025         if test "x$withval" != "xno" ; then
15026           dpv=$withval
15027         fi
15028       
15031     
15032 cat >>confdefs.h <<_ACEOF
15033 @%:@define INTERRUPTED_MAIL "$dpv"
15034 _ACEOF
15036   
15038     dpv=dead.letter
15039     
15040 @%:@ Check whether --with-default-dead-letter-folder was given.
15041 if test "${with_default_dead_letter_folder+set}" = set; then :
15042   withval=$with_default_dead_letter_folder; 
15043         if test "x$withval" != "xno" ; then
15044           dpv=$withval
15045         fi
15046       
15049     
15050 cat >>confdefs.h <<_ACEOF
15051 @%:@define DEADLETTER "$dpv"
15052 _ACEOF
15054   
15056     dpv=mail
15057     
15058 @%:@ Check whether --with-default-mail-directory was given.
15059 if test "${with_default_mail_directory+set}" = set; then :
15060   withval=$with_default_mail_directory; 
15061         if test "x$withval" != "xno" ; then
15062           dpv=$withval
15063         fi
15064       
15067     
15068 cat >>confdefs.h <<_ACEOF
15069 @%:@define DF_MAIL_DIRECTORY "$dpv"
15070 _ACEOF
15072   
15074     dpv=INBOX
15075     
15076 @%:@ Check whether --with-default-inbox-name was given.
15077 if test "${with_default_inbox_name+set}" = set; then :
15078   withval=$with_default_inbox_name; 
15079         if test "x$withval" != "xno" ; then
15080           dpv=$withval
15081         fi
15082       
15085     
15086 cat >>confdefs.h <<_ACEOF
15087 @%:@define INBOX_NAME "$dpv"
15088 _ACEOF
15090   
15092     dpv=.signature
15093     
15094 @%:@ Check whether --with-default-signature-file was given.
15095 if test "${with_default_signature_file+set}" = set; then :
15096   withval=$with_default_signature_file; 
15097         if test "x$withval" != "xno" ; then
15098           dpv=$withval
15099         fi
15100       
15103     
15104 cat >>confdefs.h <<_ACEOF
15105 @%:@define DF_SIGNATURE_FILE "$dpv"
15106 _ACEOF
15108   
15110     dpv=no
15111     
15112 @%:@ Check whether --with-default-elm-style-save was given.
15113 if test "${with_default_elm_style_save+set}" = set; then :
15114   withval=$with_default_elm_style_save; 
15115         if test "x$withval" != "xno" ; then
15116           dpv=$withval
15117         fi
15118       
15121     
15122 cat >>confdefs.h <<_ACEOF
15123 @%:@define DF_ELM_STYLE_SAVE "$dpv"
15124 _ACEOF
15126   
15128     dpv=no
15129     
15130 @%:@ Check whether --with-default-header-in-reply was given.
15131 if test "${with_default_header_in_reply+set}" = set; then :
15132   withval=$with_default_header_in_reply; 
15133         if test "x$withval" != "xno" ; then
15134           dpv=$withval
15135         fi
15136       
15139     
15140 cat >>confdefs.h <<_ACEOF
15141 @%:@define DF_HEADER_IN_REPLY "$dpv"
15142 _ACEOF
15144   
15146     dpv=no
15147     
15148 @%:@ Check whether --with-default-old-style-reply was given.
15149 if test "${with_default_old_style_reply+set}" = set; then :
15150   withval=$with_default_old_style_reply; 
15151         if test "x$withval" != "xno" ; then
15152           dpv=$withval
15153         fi
15154       
15157     
15158 cat >>confdefs.h <<_ACEOF
15159 @%:@define DF_OLD_STYLE_REPLY "$dpv"
15160 _ACEOF
15162   
15164     dpv=no
15165     
15166 @%:@ Check whether --with-default-use-only-domain-name was given.
15167 if test "${with_default_use_only_domain_name+set}" = set; then :
15168   withval=$with_default_use_only_domain_name; 
15169         if test "x$withval" != "xno" ; then
15170           dpv=$withval
15171         fi
15172       
15175     
15176 cat >>confdefs.h <<_ACEOF
15177 @%:@define DF_USE_ONLY_DOMAIN_NAME "$dpv"
15178 _ACEOF
15180   
15182     dpv=no
15183     
15184 @%:@ Check whether --with-default-save-by-sender was given.
15185 if test "${with_default_save_by_sender+set}" = set; then :
15186   withval=$with_default_save_by_sender; 
15187         if test "x$withval" != "xno" ; then
15188           dpv=$withval
15189         fi
15190       
15193     
15194 cat >>confdefs.h <<_ACEOF
15195 @%:@define DF_SAVE_BY_SENDER "$dpv"
15196 _ACEOF
15198   
15200     dpv=arrival
15201     
15202 @%:@ Check whether --with-default-sort-key was given.
15203 if test "${with_default_sort_key+set}" = set; then :
15204   withval=$with_default_sort_key; 
15205         if test "x$withval" != "xno" ; then
15206           dpv=$withval
15207         fi
15208       
15211     
15212 cat >>confdefs.h <<_ACEOF
15213 @%:@define DF_SORT_KEY "$dpv"
15214 _ACEOF
15216   
15218     dpv=fullname-with-lists-last
15219     
15220 @%:@ Check whether --with-default-addressbook-sort-rule was given.
15221 if test "${with_default_addressbook_sort_rule+set}" = set; then :
15222   withval=$with_default_addressbook_sort_rule; 
15223         if test "x$withval" != "xno" ; then
15224           dpv=$withval
15225         fi
15226       
15229     
15230 cat >>confdefs.h <<_ACEOF
15231 @%:@define DF_AB_SORT_RULE "$dpv"
15232 _ACEOF
15234   
15236     dpv=alphabetical
15237     
15238 @%:@ Check whether --with-default-folder-sort-rule was given.
15239 if test "${with_default_folder_sort_rule+set}" = set; then :
15240   withval=$with_default_folder_sort_rule; 
15241         if test "x$withval" != "xno" ; then
15242           dpv=$withval
15243         fi
15244       
15247     
15248 cat >>confdefs.h <<_ACEOF
15249 @%:@define DF_FLD_SORT_RULE "$dpv"
15250 _ACEOF
15252   
15254     dpv=default-folder
15255     
15256 @%:@ Check whether --with-default-saved-message-name-rule was given.
15257 if test "${with_default_saved_message_name_rule+set}" = set; then :
15258   withval=$with_default_saved_message_name_rule; 
15259         if test "x$withval" != "xno" ; then
15260           dpv=$withval
15261         fi
15262       
15265     
15266 cat >>confdefs.h <<_ACEOF
15267 @%:@define DF_SAVED_MSG_NAME_RULE "$dpv"
15268 _ACEOF
15270   
15272     dpv=default-fcc
15273     
15274 @%:@ Check whether --with-default-fcc-rule was given.
15275 if test "${with_default_fcc_rule+set}" = set; then :
15276   withval=$with_default_fcc_rule; 
15277         if test "x$withval" != "xno" ; then
15278           dpv=$withval
15279         fi
15280       
15283     
15284 cat >>confdefs.h <<_ACEOF
15285 @%:@define DF_FCC_RULE "$dpv"
15286 _ACEOF
15288   
15290     dpv=lpr
15291     
15292 @%:@ Check whether --with-default-standard-printer was given.
15293 if test "${with_default_standard_printer+set}" = set; then :
15294   withval=$with_default_standard_printer; 
15295         if test "x$withval" != "xno" ; then
15296           dpv=$withval
15297         fi
15298       
15301     
15302 cat >>confdefs.h <<_ACEOF
15303 @%:@define DF_STANDARD_PRINTER "$dpv"
15304 _ACEOF
15306   
15308     dpv=attached-to-ansi
15309     
15310 @%:@ Check whether --with-default-ansi-printer was given.
15311 if test "${with_default_ansi_printer+set}" = set; then :
15312   withval=$with_default_ansi_printer; 
15313         if test "x$withval" != "xno" ; then
15314           dpv=$withval
15315         fi
15316       
15319     
15320 cat >>confdefs.h <<_ACEOF
15321 @%:@define ANSI_PRINTER "$dpv"
15322 _ACEOF
15324   
15326     dpv=.addressbook
15327     
15328 @%:@ Check whether --with-default-addressbook was given.
15329 if test "${with_default_addressbook+set}" = set; then :
15330   withval=$with_default_addressbook; 
15331         if test "x$withval" != "xno" ; then
15332           dpv=$withval
15333         fi
15334       
15337     
15338 cat >>confdefs.h <<_ACEOF
15339 @%:@define DF_ADDRESSBOOK "$dpv"
15340 _ACEOF
15342   
15344     dpv="Local Support"
15345     
15346 @%:@ Check whether --with-default-local-fullname was given.
15347 if test "${with_default_local_fullname+set}" = set; then :
15348   withval=$with_default_local_fullname; 
15349         if test "x$withval" != "xno" ; then
15350           dpv=$withval
15351         fi
15352       
15355     
15356 cat >>confdefs.h <<_ACEOF
15357 @%:@define DF_LOCAL_FULLNAME "$dpv"
15358 _ACEOF
15360   
15362     dpv=postmaster
15363     
15364 @%:@ Check whether --with-default-local-address was given.
15365 if test "${with_default_local_address+set}" = set; then :
15366   withval=$with_default_local_address; 
15367         if test "x$withval" != "xno" ; then
15368           dpv=$withval
15369         fi
15370       
15373     
15374 cat >>confdefs.h <<_ACEOF
15375 @%:@define DF_LOCAL_ADDRESS "$dpv"
15376 _ACEOF
15378   
15380     dpv=1
15381     
15382 @%:@ Check whether --with-default-keyboard-lock-count was given.
15383 if test "${with_default_keyboard_lock_count+set}" = set; then :
15384   withval=$with_default_keyboard_lock_count; 
15385         if test "x$withval" != "xno" ; then
15386           dpv=$withval
15387         fi
15388       
15391     
15392 cat >>confdefs.h <<_ACEOF
15393 @%:@define DF_KBLOCK_PASSWD_COUNT "$dpv"
15394 _ACEOF
15396   
15398     dpv=3
15399     
15400 @%:@ Check whether --with-default-remote-addressbook-history was given.
15401 if test "${with_default_remote_addressbook_history+set}" = set; then :
15402   withval=$with_default_remote_addressbook_history; 
15403         if test "x$withval" != "xno" ; then
15404           dpv=$withval
15405         fi
15406       
15409     
15410 cat >>confdefs.h <<_ACEOF
15411 @%:@define DF_REMOTE_ABOOK_HISTORY "$dpv"
15412 _ACEOF
15414   
15416     dpv=.alpine-smime/public
15417     
15418 @%:@ Check whether --with-smime-public-cert-directory was given.
15419 if test "${with_smime_public_cert_directory+set}" = set; then :
15420   withval=$with_smime_public_cert_directory; 
15421         if test "x$withval" != "xno" ; then
15422           dpv=$withval
15423         fi
15424       
15427     
15428 cat >>confdefs.h <<_ACEOF
15429 @%:@define DF_PUBLICCERT_DIR "$dpv"
15430 _ACEOF
15432   
15434     dpv=.alpine-smime/private
15435     
15436 @%:@ Check whether --with-smime-private-key-directory was given.
15437 if test "${with_smime_private_key_directory+set}" = set; then :
15438   withval=$with_smime_private_key_directory; 
15439         if test "x$withval" != "xno" ; then
15440           dpv=$withval
15441         fi
15442       
15445     
15446 cat >>confdefs.h <<_ACEOF
15447 @%:@define DF_PRIVATEKEY_DIR "$dpv"
15448 _ACEOF
15450   
15452     dpv=.alpine-smime/ca
15453     
15454 @%:@ Check whether --with-smime-cacert-directory was given.
15455 if test "${with_smime_cacert_directory+set}" = set; then :
15456   withval=$with_smime_cacert_directory; 
15457         if test "x$withval" != "xno" ; then
15458           dpv=$withval
15459         fi
15460       
15463     
15464 cat >>confdefs.h <<_ACEOF
15465 @%:@define DF_CACERT_DIR "$dpv"
15466 _ACEOF
15468   
15470     dpv=ANSI_PRINTER
15471     
15472 @%:@ Check whether --with-default-printer was given.
15473 if test "${with_default_printer+set}" = set; then :
15474   withval=$with_default_printer; 
15475         if test "x$withval" != "xno" ; then
15476           dpv=$withval
15477         fi
15478       
15481     
15482 cat >>confdefs.h <<_ACEOF
15483 @%:@define DF_DEFAULT_PRINTER $dpv
15484 _ACEOF
15486   
15489 @%:@ Check whether --with-passfile was given.
15490 if test "${with_passfile+set}" = set; then :
15491   withval=$with_passfile; 
15492       case "$withval" in
15493         no)
15494           ;;
15495         yes)
15496           ;;
15497         *)
15498           alpine_PASSFILE=$withval
15499           ;;
15500       esac
15501     
15506 @%:@ Check whether --with-local-password-cache was given.
15507 if test "${with_local_password_cache+set}" = set; then :
15508   withval=$with_local_password_cache; 
15509      alpine_os_credential_cache=$withval
15510    
15515 @%:@ Check whether --with-local-password-cache-method was given.
15516 if test "${with_local_password_cache_method+set}" = set; then :
15517   withval=$with_local_password_cache_method; 
15518      alpine_os_credential_cache_method=$withval
15519    
15523 if test -n "$alpine_PASSFILE" ; then
15524   case $alpine_os_credential_cache in
15525     no)
15526       ;;
15527     *)
15528       alpine_os_credential_cache="no"
15529       { $as_echo "$as_me:${as_lineno-$LINENO}: --with-passfile definition overrides OS-Specific password caching" >&5
15530 $as_echo "$as_me: --with-passfile definition overrides OS-Specific password caching" >&6;}
15531       ;;
15532   esac
15533   
15534 cat >>confdefs.h <<_ACEOF
15535 @%:@define PASSFILE "$alpine_PASSFILE"
15536 _ACEOF
15541 @%:@ Check whether --with-default-sshpath was given.
15542 if test "${with_default_sshpath+set}" = set; then :
15543   withval=$with_default_sshpath; 
15544       case "$withval" in
15545         no)
15546           ;;
15547         yes)
15548           ;;
15549         *)
15550           
15551 cat >>confdefs.h <<_ACEOF
15552 @%:@define DF_SSHPATH "$withval"
15553 _ACEOF
15555           ;;
15556       esac
15557     
15562 @%:@ Check whether --with-default-sshcmd was given.
15563 if test "${with_default_sshcmd+set}" = set; then :
15564   withval=$with_default_sshcmd; 
15565       case "$withval" in
15566         no)
15567           ;;
15568         yes)
15569           ;;
15570         *)
15571           
15572 cat >>confdefs.h <<_ACEOF
15573 @%:@define DF_SSHCMD "$withval"
15574 _ACEOF
15576           ;;
15577       esac
15578     
15583 @%:@ Check whether --with-ssl was given.
15584 if test "${with_ssl+set}" = set; then :
15585   withval=$with_ssl;  with_ssl=$withval 
15589 if test "x$with_ssl" = "xno" ; then
15590   alpine_SSLTYPE="none"
15591 else
15592     case $host in
15593     *-linux-gnu*)
15594       if test -f /etc/fedora-release -o -f /etc/redhat-release -o -f /etc/redhat_version ; then  
15595         alpine_SSLTYPE="nopwd"
15596         if test -d /etc/pki/tls ; then  
15597           alpine_SSLDIR="/etc/pki/tls"
15598         else
15599           alpine_SSLDIR="/usr/share/ssl"
15600         fi
15601         alpine_SSLCERTS="$alpine_SSLDIR/certs"
15602         alpine_SSLKEYS="$alpine_SSLDIR/private"
15603         alpine_SSLINCLUDE="/usr/include/openssl" 
15604         alpine_SSLLIB="/usr/lib"
15605       elif test -f /etc/mandrake-release ; then
15606         alpine_SSLDIR="/usr/lib/ssl"
15607         alpine_SSLCERTS="$alpine_SSLDIR/certs" 
15608         alpine_SSLKEYS="$alpine_SSLDIR/private"
15609         alpine_SSLINCLUDE="/usr/include/openssl" 
15610         alpine_SSLLIB="/usr/lib"
15611       elif test -f /etc/SuSE-release ; then
15612         alpine_SSLTYPE="nopwd"
15613         alpine_SSLDIR="/etc/ssl"
15614         alpine_SSLCERTS="$alpine_SSLDIR/certs"
15615         alpine_SSLKEYS="$alpine_SSLDIR/private"
15616         alpine_SSLINCLUDE="/usr/include/openssl" 
15617         alpine_SSLLIB="/usr/lib"
15618       elif test -d /etc/osso-af-init ; then
15619         alpine_SSLTYPE="nopwd"
15620         alpine_SSLDIR="/usr"
15621         alpine_SSLCERTS="/usr/share/certs"
15622         alpine_SSLINCLUDE="/usr/include/openssl"
15623         alpine_SSLLIB="/usr/lib"
15624       elif test -f /etc/debian_release -o -f /etc/debian_version ; then
15625         if test ! -d /etc/osso-af-init ; then
15626            alpine_SSLDIR="/etc/ssl"
15627            alpine_SSLCERTS="$alpine_SSLDIR/certs"
15628            alpine_SSLKEYS="$alpine_SSLDIR/private"
15629            alpine_SSLINCLUDE="/usr/include/openssl" 
15630            alpine_SSLLIB="/usr/lib"
15631         fi
15632       else
15633         alpine_SSLTYPE="nopwd"
15634         alpine_SSLDIR="/usr"
15635         alpine_SSLCERTS="/etc/ssl/certs"
15636       fi
15637       ;;
15638     *-apple-darwin*)
15639       alpine_SSLTYPE="nopwd"
15640       if test -d /usr/local/Cellar/openssl ; then
15641         alpine_SSLVERSION=""
15642         if test -x /usr/local/bin/openssl ; then
15643            alpine_SSLVERSION="`/usr/local/bin/openssl version | ${AWK} '{ printf $2 }'`"
15644         else
15645            alpine_TEST="`${LS} /usr/local/Cellar/openssl`"
15646            for dir in ${alpine_TEST} ; do
15647               if test -d "/usr/local/Cellar/openssl/${alpine_TEST}" ; then
15648                 if test -z "$alpine_SSLVERSION" -o test "/usr/local/Cellar/openssl/${alpine_TEST}" -nt "/usr/local/Cellar/openssl/${alpine_SSLVERSION}" ; then
15649                    alpine_SSLVERSION="${alpine_TEST}"
15650                 fi
15651               fi
15652            done
15653         fi
15654         if test -z "${alpine_SSLVERSION}" ; then
15655           as_fn_error $? "Did not find suitable SSL version, use --with-ssl-dir to specify one" "$LINENO" 5
15656         else
15657           alpine_SSLDIR="/usr/local/Cellar/openssl/$alpine_SSLVERSION"
15658           alpine_SSLINCLUDE="$alpine_SSLDIR/include"
15659           alpine_SSLLIB="$alpine_SSLDIR/lib"
15660           alpine_SSLCERTS="/usr/local/etc/openssl/certs"
15661           alpine_SSLKEYS="/usr/local/etc/openssl/private"
15662         fi
15663       elif test -d /opt/local/etc/openssl ; then
15664         alpine_SSLDIR="/opt/local"
15665         alpine_SSLINCLUDE="$alpine_SSLDIR/include"
15666         alpine_SSLLIB="$alpine_SSLDIR/lib"
15667         alpine_SSLCERTS="/opt/local/etc/openssl/certs"
15668         alpine_SSLKEYS="/opt/local/etc/openssl/private"
15669       elif test -d /System/Library/OpenSSL ; then
15670         alpine_SSLDIR="/System/Library/OpenSSL"
15671         alpine_SSLCERTS="$alpine_SSLDIR/certs"
15672         alpine_SSLKEYS="$alpine_SSLDIR/private"
15673         alpine_SSLLIB="/usr/lib"
15674         alpine_SSLINCLUDE="/usr/include/openssl"
15675       fi
15676       ;;
15677     *-*-netbsd*)
15678         alpine_SSLDIR="/etc/openssl"
15679         alpine_SSLCERTS="$alpine_SSLDIR/certs"
15680         alpine_SSLKEYS="$alpine_SSLDIR/private"
15681         alpine_SSLINCLUDE="/usr/include/openssl"
15682         alpine_SSLLIB="/usr/lib"
15683       ;;
15684     *-*-dragonfly*)
15685         alpine_SSLDIR="/etc/openssl"
15686         alpine_SSLCERTS="$alpine_SSLDIR/certs"
15687         alpine_SSLKEYS="$alpine_SSLDIR/private"
15688         alpine_SSLINCLUDE="/usr/include/openssl"
15689         alpine_SSLLIB="/usr/lib"
15690       ;;
15691     *-openbsd*)
15692         alpine_SSLTYPE="nopwd"
15693         alpine_SSLDIR="/usr"
15694         alpine_SSLCERTS="/etc/ssl/certs"
15695       ;;
15696     *-*-freebsd*)
15697         alpine_SSLDIR="/etc/ssl"
15698         alpine_SSLCERTS="$alpine_SSLDIR/certs"
15699         alpine_SSLKEYS="$alpine_SSLDIR/private"
15700         alpine_SSLINCLUDE="/usr/include/openssl" 
15701         alpine_SSLLIB="/usr/lib"
15702       ;;
15703     *-*-openbsd*)
15704         alpine_SSLDIR="/etc/ssl"
15705         alpine_SSLINCLUDE="/usr/include/openssl"
15706         alpine_SSLLIB="/usr/lib"
15707         alpine_SSLCERTS="/etc/ssl" 
15708         alpine_SSLKEYS="/etc/ssl/private"
15709       ;;
15710     *-*-cygwin)
15711         alpine_SSLDIR="/usr/ssl"
15712         alpine_SSLCERTS="$alpine_SSLDIR/certs" 
15713         alpine_SSLKEYS="$alpine_SSLDIR/certs"
15714         alpine_SSLINCLUDE="/usr/include/openssl" 
15715         alpine_SSLLIB="/usr/lib"
15716       ;;
15717     *-sco-sysv* | *-sysv*UnixWare | *-sysv*OpenUNIX)
15718         alpine_SSLTYPE="sco.nopwd"
15719         alpine_SSLDIR="/usr/local/ssl"
15720       ;;
15721     *-*-solaris*)
15722       if test -d /usr/sfw/include/openssl ; then
15723         alpine_SSLDIR="/usr/sfw"
15724       elif test -d /opt/csw/include/openssl ; then
15725         alpine_SSLDIR="/opt/csw"
15726         if test -d /opt/csw/ssl/certs ; then
15727           alpine_SSLCERTS="/opt/csw/ssl/certs"
15728         fi
15729       fi
15730       if test -z "$alpine_SSLCERTS" -a -d /etc/certs ; then
15731         alpine_SSLCERTS="/etc/certs"
15732       fi
15733       ;;
15734     *)
15735       alpine_SSLTYPE="nopwd"
15736       alpine_SSLDIR="/usr/local/ssl"
15737       ;;
15738   esac
15740   
15741 @%:@ Check whether --with-ssl-dir was given.
15742 if test "${with_ssl_dir+set}" = set; then :
15743   withval=$with_ssl_dir; 
15744       if test "x$withval" != "xno" ; then
15745         alpine_SSLDIR=$withval
15746         alpine_SSLINCLUDE=$alpine_SSLDIR/include
15747         alpine_SSLLIB=$alpine_SSLDIR/lib
15748       fi
15749     
15753   
15754 @%:@ Check whether --with-ssl-certs-dir was given.
15755 if test "${with_ssl_certs_dir+set}" = set; then :
15756   withval=$with_ssl_certs_dir; 
15757       if test "x$withval" != "xno" ; then
15758         alpine_SSLCERTS=$withval
15759       fi
15760     
15764   
15765 @%:@ Check whether --with-ssl-include-dir was given.
15766 if test "${with_ssl_include_dir+set}" = set; then :
15767   withval=$with_ssl_include_dir; 
15768       if test "x$withval" != "xno" ; then
15769         alpine_SSLINCLUDE=$withval
15770       fi
15771     
15775   
15776 @%:@ Check whether --with-ssl-lib-dir was given.
15777 if test "${with_ssl_lib_dir+set}" = set; then :
15778   withval=$with_ssl_lib_dir; 
15779       if test "x$withval" != "xno" ; then
15780         alpine_SSLLIB=$withval
15781       fi
15782     
15785     if test -n "$alpine_SSLINCLUDE" ; then
15786     CPPFLAGS="-I$alpine_SSLINCLUDE $CPPFLAGS"
15787   elif test -n "$alpine_SSLDIR" ; then
15788     CPPFLAGS="-I${alpine_SSLDIR}/include $CPPFLAGS"
15789   fi
15790   if test -n "$alpine_SSLLIB" ; then
15791     LDFLAGS="-L$alpine_SSLLIB $LDFLAGS"
15792   elif test -n "$alpine_SSLDIR" ; then
15793     LDFLAGS="-L${alpine_SSLDIR}/lib $LDFLAGS"
15794   fi
15798 @%:@ Check whether --with-krb5 was given.
15799 if test "${with_krb5+set}" = set; then :
15800   withval=$with_krb5;  with_krb5=$withval 
15804 if test "x$with_krb5" = "xno" ; then
15805   alpine_GSSTYPE="none"
15806 else
15807   alpine_GSSTYPE=
15809   
15810 @%:@ Check whether --with-krb5-dir was given.
15811 if test "${with_krb5_dir+set}" = set; then :
15812   withval=$with_krb5_dir; 
15813       if test "x$withval" != "xno" ; then
15814         CPPFLAGS="$CPPFLAGS -I${withval}/include"
15815         LDFLAGS="$LDFLAGS -L${withval}/lib"
15816       fi
15817     
15821   
15822 @%:@ Check whether --with-krb5-include-dir was given.
15823 if test "${with_krb5_include_dir+set}" = set; then :
15824   withval=$with_krb5_include_dir; 
15825       if test "x$withval" != "xno" ; then
15826         CPPFLAGS="$CPPFLAGS -I$withval"
15827       fi
15828     
15832   
15833 @%:@ Check whether --with-krb5-lib-dir was given.
15834 if test "${with_krb5_lib_dir+set}" = set; then :
15835   withval=$with_krb5_lib_dir; 
15836       if test "x$withval" != "xno" ; then
15837         LDFLAGS="$LDFLAGS -L$withval"
15838       fi
15839     
15845 @%:@ Check whether --with-ldap was given.
15846 if test "${with_ldap+set}" = set; then :
15847   withval=$with_ldap;  with_ldap=$withval 
15851 if test "x$with_ldap" = "xno" ; then
15852   alpine_with_ldap=
15853   { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding LDAP Support" >&5
15854 $as_echo "$as_me: Excluding LDAP Support" >&6;}
15855 else
15856   
15857   alpine_with_ldap=yes
15858   
15859 @%:@ Check whether --with-ldap-dir was given.
15860 if test "${with_ldap_dir+set}" = set; then :
15861   withval=$with_ldap_dir; 
15862       if test "x$withval" != "xno" ; then 
15863         CPPFLAGS="$CPPFLAGS -I${withval}/include"
15864         LDFLAGS="$LDFLAGS -L${withval}/lib"
15865       fi
15866     
15870   
15871 @%:@ Check whether --with-ldap-include-dir was given.
15872 if test "${with_ldap_include_dir+set}" = set; then :
15873   withval=$with_ldap_include_dir; 
15874       if test "x$withval" != "xno" ; then
15875         CPPFLAGS="$CPPFLAGS -I$withval"
15876       fi
15877     
15881   
15882 @%:@ Check whether --with-ldap-lib-dir was given.
15883 if test "${with_ldap_lib_dir+set}" = set; then :
15884   withval=$with_ldap_lib_dir; 
15885       if test "x$withval" != "xno" ; then
15886         LDFLAGS="$LDFLAGS -L$withval"
15887       fi
15888     
15894 @%:@ Check whether --with-smime was given.
15895 if test "${with_smime+set}" = set; then :
15896   withval=$with_smime;  with_smime=$withval 
15901 @%:@ Check whether --with-tcl was given.
15902 if test "${with_tcl+set}" = set; then :
15903   withval=$with_tcl;  with_tcl=$withval 
15907 if test "x$with_tcl" = "xno" ; then
15908   WEB_BUILD=
15909   { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding TCL Support, and thus Web Alpine Support" >&5
15910 $as_echo "$as_me: Excluding TCL Support, and thus Web Alpine Support" >&6;}
15911 else
15912   
15913 @%:@ Check whether --with-tcl-lib was given.
15914 if test "${with_tcl_lib+set}" = set; then :
15915   withval=$with_tcl_lib; 
15916       if test "x$withval" != "xno" ; then 
15917         alpine_TCLLIB=$withval
15918       fi
15919     
15922   
15923 @%:@ Check whether --with-tcl-include was given.
15924 if test "${with_tcl_include+set}" = set; then :
15925   withval=$with_tcl_include; 
15926       if test "x$withval" != "xno" ; then
15927         CPPFLAGS="$CPPFLAGS -I$withval"
15928         alpine_TCLINC=$withval
15929       fi
15930     
15936 @%:@ Check whether --with-supplied-regex was given.
15937 if test "${with_supplied_regex+set}" = set; then :
15938   withval=$with_supplied_regex;  alpine_REGEX=$withval 
15943 @%:@ Check whether --with-pthread was given.
15944 if test "${with_pthread+set}" = set; then :
15945   withval=$with_pthread;  with_pthread=$withval 
15950 @%:@ Check whether --with-system-mail-directory was given.
15951 if test "${with_system_mail_directory+set}" = set; then :
15952   withval=$with_system_mail_directory; 
15953     if test "x$withval" != "xno" ; then
15954       alpine_with_local_maildir="$withval"
15955     fi
15956   
15961 @%:@ Check whether --with-c-client-target was given.
15962 if test "${with_c_client_target+set}" = set; then :
15963   withval=$with_c_client_target; 
15964     if test "x$withval" != "xno" ;then
15965       alpine_with_c_client_target="$withval"
15966     fi
15967   
15972 alpine_PAM="none"
15974 case "$host" in
15975   *-linux-gnu*|*-k*bsd*-gnu*)
15976     alpine_path_delim="/"
15977     alpine_mode_readonly="(0600)"
15978     if test -f /etc/fedora-release ; then  
15979       systype="LFD"
15980       alpine_PAM="yes"
15981       if test -d /etc/pki/tls ; then  
15982         alpine_c_client_target="lfd"
15983       else
15984         alpine_c_client_target="lrh"
15985       fi
15986     elif test -f /etc/mandrake-release ; then
15987       systype="LMD"
15988       alpine_c_client_target="lmd"
15989       alpine_PAM="yes"
15990     elif test -f /etc/redhat-release -o -f /etc/redhat_version ; then
15991       systype="LRH"
15992       alpine_PAM="yes"
15993       if test -d /etc/pki/tls ; then  
15994         alpine_c_client_target="lr5"
15995       else
15996         alpine_c_client_target="lrh"
15997       fi
15998     elif test -f /etc/debian_release -o -f /etc/debian_version ; then
15999       if test -d /etc/osso-af-init ; then
16000         systype="LN8"
16001         alpine_c_client_target="ln8"
16002       else
16003         systype="DEB"
16004         alpine_c_client_target="ldb"
16005         alpine_PAM="yes"
16006       fi
16007     elif test -f /etc/SuSE-release ; then
16008       systype="LSU"
16009       alpine_c_client_target="lsu"
16010       alpine_PAM="yes"
16011     else
16012       systype="LNX"
16013       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
16014 $as_echo_n "checking for pam_start in -lpam... " >&6; }
16015 if ${ac_cv_lib_pam_pam_start+:} false; then :
16016   $as_echo_n "(cached) " >&6
16017 else
16018   ac_check_lib_save_LIBS=$LIBS
16019 LIBS="-lpam  $LIBS"
16020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16021 /* end confdefs.h.  */
16023 /* Override any GCC internal prototype to avoid an error.
16024    Use char because int might match the return type of a GCC
16025    builtin and then its argument prototype would still apply.  */
16026 #ifdef __cplusplus
16027 extern "C"
16028 #endif
16029 char pam_start ();
16031 main ()
16033 return pam_start ();
16034   ;
16035   return 0;
16037 _ACEOF
16038 if ac_fn_c_try_link "$LINENO"; then :
16039   ac_cv_lib_pam_pam_start=yes
16040 else
16041   ac_cv_lib_pam_pam_start=no
16043 rm -f core conftest.err conftest.$ac_objext \
16044     conftest$ac_exeext conftest.$ac_ext
16045 LIBS=$ac_check_lib_save_LIBS
16047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5
16048 $as_echo "$ac_cv_lib_pam_pam_start" >&6; }
16049 if test "x$ac_cv_lib_pam_pam_start" = xyes; then :
16050   
16051           alpine_c_client_target="lnp"
16052           alpine_PAM="yes"
16053         
16054 else
16055   
16056           if test -f /etc/shadow ; then
16057             alpine_c_client_target="slx"
16058           else
16059             alpine_c_client_target="lnx"
16060           fi
16061         
16064     fi
16065     ;;
16066   *-apple-darwin*)
16067     systype="OSX"
16068     alpine_path_delim="/"
16069     alpine_mode_readonly="(0600)"
16070     LIBS="$LIBS -framework Carbon -framework ApplicationServices -framework Security"
16071     AM_CFLAGS="$AM_CFLAGS -Dbsd"
16072         
16073 $as_echo "@%:@define OSX_TARGET 1" >>confdefs.h
16075     case "$alpine_os_credential_cache" in
16076       no)
16077         ;;
16078       *)
16079         
16080 $as_echo "@%:@define APPLEKEYCHAIN 1" >>confdefs.h
16082         ;;
16083     esac
16084     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
16085 $as_echo_n "checking for pam_start in -lpam... " >&6; }
16086 if ${ac_cv_lib_pam_pam_start+:} false; then :
16087   $as_echo_n "(cached) " >&6
16088 else
16089   ac_check_lib_save_LIBS=$LIBS
16090 LIBS="-lpam  $LIBS"
16091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16092 /* end confdefs.h.  */
16094 /* Override any GCC internal prototype to avoid an error.
16095    Use char because int might match the return type of a GCC
16096    builtin and then its argument prototype would still apply.  */
16097 #ifdef __cplusplus
16098 extern "C"
16099 #endif
16100 char pam_start ();
16102 main ()
16104 return pam_start ();
16105   ;
16106   return 0;
16108 _ACEOF
16109 if ac_fn_c_try_link "$LINENO"; then :
16110   ac_cv_lib_pam_pam_start=yes
16111 else
16112   ac_cv_lib_pam_pam_start=no
16114 rm -f core conftest.err conftest.$ac_objext \
16115     conftest$ac_exeext conftest.$ac_ext
16116 LIBS=$ac_check_lib_save_LIBS
16118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5
16119 $as_echo "$ac_cv_lib_pam_pam_start" >&6; }
16120 if test "x$ac_cv_lib_pam_pam_start" = xyes; then :
16121   
16122         ac_fn_c_check_header_mongrel "$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
16123 if test "x$ac_cv_header_security_pam_appl_h" = xyes; then :
16124   
16125           alpine_PAM="yes"
16126           alpine_c_client_target="oxs"
16127         
16128 else
16129         ac_fn_c_check_header_mongrel "$LINENO" "pam/pam_appl.h" "ac_cv_header_pam_pam_appl_h" "$ac_includes_default"
16130 if test "x$ac_cv_header_pam_pam_appl_h" = xyes; then :
16131   
16132                    alpine_PAM="yes"
16133                    alpine_c_client_target="oxp" 
16134                 
16135 else
16136   
16137                   alpine_PAM="none"
16138                   alpine_pam_none_reason="header files not found"
16139                 
16143         
16147       
16148 else
16149   
16150         alpine_c_client_target="osx"
16151       
16154     ;;
16155   *-*-solaris*)
16156     if test x$GCC = "xyes" ; then
16157       systype="GSO"
16158       alpine_c_client_target="gso"
16159     else
16160       systype="SOC"
16161       alpine_c_client_target="soc"
16162       
16163 $as_echo "@%:@define __EXTENSIONS__ 1" >>confdefs.h
16165     fi
16166     alpine_path_delim="/"
16167     alpine_mode_readonly="(0600)"
16168             ;;
16169   *-*-sunos4*)
16170     systype="SUN"
16171     alpine_path_delim="/"
16172     alpine_mode_readonly="(0600)"
16173     alpine_c_client_target="s40"
16174     ;;
16175   *-*-sco3.2v5*)
16176     if test x$GCC = "xyes" ; then
16177       systype="GO5"
16178       alpine_c_client_target="go5"
16179     else
16180       systype="SC5"
16181       alpine_c_client_target="sc5"
16182     fi
16183     alpine_path_delim="/"
16184     alpine_mode_readonly="(0600)"
16185             ;;
16186   *-next-*)
16187     systype="NXT"
16188     alpine_path_delim="/"
16189     alpine_mode_readonly="(0600)"
16190     alpine_c_client_target="nx3"
16191     ;;
16192   *-*-netbsd*)
16193     systype="NEB"
16194     alpine_path_delim="/"
16195     alpine_mode_readonly="(0600)"
16196     alpine_c_client_target="neb"
16197     ;;
16198   *-*-dragonfly*)
16199     systype="DFB"
16200     alpine_path_delim="/"
16201     alpine_mode_readonly="(0600)"
16202     alpine_c_client_target="neb"
16203     ;;
16204   *-*-bsdi*)
16205     systype="BSI"
16206     alpine_path_delim="/"
16207     alpine_mode_readonly="(0600)"
16208     alpine_c_client_target="bsi"
16209     ;;
16210   *-*-freebsd*)
16211     systype="BSF"
16212     alpine_path_delim="/"
16213     alpine_mode_readonly="(0600)"
16214     alpine_c_client_target="bsf"
16215     LIBS="$LIBS $LIBINTL"
16216     ;;
16217   *-*-openbsd*)
16218     systype="BSO"
16219     alpine_path_delim="/"
16220     alpine_mode_readonly="(0600)"
16221     alpine_c_client_target="bso"
16222     LIBS="$LIBS $LIBINTL"
16223     ;;
16224   *-*-aix5*)
16225     systype="A52"
16226     alpine_path_delim="/"
16227     alpine_mode_readonly="(0600)"
16228     alpine_c_client_target="a52"
16229     ;;
16230   *-*-aix4*)
16231     systype="A41"
16232     alpine_path_delim="/"
16233     alpine_mode_readonly="(0600)"
16234     alpine_c_client_target="a41"
16235     ;;
16236   *-*-aix3*)
16237     systype="A32"
16238     alpine_path_delim="/"
16239     alpine_mode_readonly="(0600)"
16240     alpine_c_client_target="a32"
16241     ;;
16242   *-*UNIX_SV | *-*-sysv5UnixWare7* | *-*OpenUNIX*)
16243     systype="UW2"
16244     alpine_path_delim="/"
16245     alpine_mode_readonly="(0600)"
16246     alpine_c_client_target="uw2"
16247     ;;
16248   *-*-osf5*)
16249     systype="OSF"
16250     alpine_path_delim="/"
16251     alpine_mode_readonly="(0600)"
16252     alpine_c_client_target="osf"
16253     ;;
16254   *-*-cygwin)
16255     systype="CYG"
16256     alpine_path_delim="/"
16257     alpine_mode_readonly="(S_IREAD | S_IWRITE)"
16258     alpine_c_client_target="cyg"
16259     LIBS="$LIBS $LIBINTL"
16260     ;;
16261   windows* | *-*-pw32*)
16262     systype="WNT"
16263     alpine_path_delim="\\"
16264     alpine_mode_readonly="(S_IREAD | S_IWRITE)"
16265     alpine_c_client_target="wnt"
16266     
16267 $as_echo "@%:@define _WINDOWS 1" >>confdefs.h
16269     ;;
16270   *)
16271     as_fn_error $? "Unrecognized system: $host" "$LINENO" 5
16272     ;;
16273 esac
16276 @%:@ Check whether --with-ipv6 was given.
16277 if test "${with_ipv6+set}" = set; then :
16278   withval=$with_ipv6;  with_ipv6=$withval 
16282 if test "x$with_ipv6" = "xno" ; then
16283   { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding IPv6 Support" >&5
16284 $as_echo "$as_me: Excluding IPv6 Support" >&6;}
16285   c_client_specials="${c_client_specials}IP6=4 "
16286   c_client_ip6="true"
16287 else
16288   c_client_ip6="touch imap/ip6"
16293 if test x$enable_dmalloc = "xyes" ; then
16294   if test "x$with_pthread" = "xyes" ; then
16295     dmalloc_lib=dmallocth
16296   else
16297     dmalloc_lib=dmalloc
16298   fi
16300   as_ac_Lib=`$as_echo "ac_cv_lib_$dmalloc_lib''_dmalloc_shutdown" | $as_tr_sh`
16301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dmalloc_shutdown in -l$dmalloc_lib" >&5
16302 $as_echo_n "checking for dmalloc_shutdown in -l$dmalloc_lib... " >&6; }
16303 if eval \${$as_ac_Lib+:} false; then :
16304   $as_echo_n "(cached) " >&6
16305 else
16306   ac_check_lib_save_LIBS=$LIBS
16307 LIBS="-l$dmalloc_lib  $LIBS"
16308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16309 /* end confdefs.h.  */
16311 /* Override any GCC internal prototype to avoid an error.
16312    Use char because int might match the return type of a GCC
16313    builtin and then its argument prototype would still apply.  */
16314 #ifdef __cplusplus
16315 extern "C"
16316 #endif
16317 char dmalloc_shutdown ();
16319 main ()
16321 return dmalloc_shutdown ();
16322   ;
16323   return 0;
16325 _ACEOF
16326 if ac_fn_c_try_link "$LINENO"; then :
16327   eval "$as_ac_Lib=yes"
16328 else
16329   eval "$as_ac_Lib=no"
16331 rm -f core conftest.err conftest.$ac_objext \
16332     conftest$ac_exeext conftest.$ac_ext
16333 LIBS=$ac_check_lib_save_LIBS
16335 eval ac_res=\$$as_ac_Lib
16336                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16337 $as_echo "$ac_res" >&6; }
16338 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
16339   cat >>confdefs.h <<_ACEOF
16340 @%:@define `$as_echo "HAVE_LIB$dmalloc_lib" | $as_tr_cpp` 1
16341 _ACEOF
16343   LIBS="-l$dmalloc_lib $LIBS"
16345 else
16346   
16347       as_fn_error but -ldmalloc not found "$dmalloc_lib requested" "$LINENO" 5
16348     
16353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -ltinfo" >&5
16354 $as_echo_n "checking for setupterm in -ltinfo... " >&6; }
16355 if ${ac_cv_lib_tinfo_setupterm+:} false; then :
16356   $as_echo_n "(cached) " >&6
16357 else
16358   ac_check_lib_save_LIBS=$LIBS
16359 LIBS="-ltinfo  $LIBS"
16360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16361 /* end confdefs.h.  */
16363 /* Override any GCC internal prototype to avoid an error.
16364    Use char because int might match the return type of a GCC
16365    builtin and then its argument prototype would still apply.  */
16366 #ifdef __cplusplus
16367 extern "C"
16368 #endif
16369 char setupterm ();
16371 main ()
16373 return setupterm ();
16374   ;
16375   return 0;
16377 _ACEOF
16378 if ac_fn_c_try_link "$LINENO"; then :
16379   ac_cv_lib_tinfo_setupterm=yes
16380 else
16381   ac_cv_lib_tinfo_setupterm=no
16383 rm -f core conftest.err conftest.$ac_objext \
16384     conftest$ac_exeext conftest.$ac_ext
16385 LIBS=$ac_check_lib_save_LIBS
16387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tinfo_setupterm" >&5
16388 $as_echo "$ac_cv_lib_tinfo_setupterm" >&6; }
16389 if test "x$ac_cv_lib_tinfo_setupterm" = xyes; then :
16390   
16391     alpine_termdata=info
16392     LIBS="$LIBS -ltinfo"
16393   
16394 else
16395   
16396     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -lncurses" >&5
16397 $as_echo_n "checking for setupterm in -lncurses... " >&6; }
16398 if ${ac_cv_lib_ncurses_setupterm+:} false; then :
16399   $as_echo_n "(cached) " >&6
16400 else
16401   ac_check_lib_save_LIBS=$LIBS
16402 LIBS="-lncurses  $LIBS"
16403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16404 /* end confdefs.h.  */
16406 /* Override any GCC internal prototype to avoid an error.
16407    Use char because int might match the return type of a GCC
16408    builtin and then its argument prototype would still apply.  */
16409 #ifdef __cplusplus
16410 extern "C"
16411 #endif
16412 char setupterm ();
16414 main ()
16416 return setupterm ();
16417   ;
16418   return 0;
16420 _ACEOF
16421 if ac_fn_c_try_link "$LINENO"; then :
16422   ac_cv_lib_ncurses_setupterm=yes
16423 else
16424   ac_cv_lib_ncurses_setupterm=no
16426 rm -f core conftest.err conftest.$ac_objext \
16427     conftest$ac_exeext conftest.$ac_ext
16428 LIBS=$ac_check_lib_save_LIBS
16430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_setupterm" >&5
16431 $as_echo "$ac_cv_lib_ncurses_setupterm" >&6; }
16432 if test "x$ac_cv_lib_ncurses_setupterm" = xyes; then :
16433   
16434         alpine_termdata=info
16435         LIBS="$LIBS -lncurses"
16436       
16437 else
16438   
16439         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -lcurses" >&5
16440 $as_echo_n "checking for setupterm in -lcurses... " >&6; }
16441 if ${ac_cv_lib_curses_setupterm+:} false; then :
16442   $as_echo_n "(cached) " >&6
16443 else
16444   ac_check_lib_save_LIBS=$LIBS
16445 LIBS="-lcurses  $LIBS"
16446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16447 /* end confdefs.h.  */
16449 /* Override any GCC internal prototype to avoid an error.
16450    Use char because int might match the return type of a GCC
16451    builtin and then its argument prototype would still apply.  */
16452 #ifdef __cplusplus
16453 extern "C"
16454 #endif
16455 char setupterm ();
16457 main ()
16459 return setupterm ();
16460   ;
16461   return 0;
16463 _ACEOF
16464 if ac_fn_c_try_link "$LINENO"; then :
16465   ac_cv_lib_curses_setupterm=yes
16466 else
16467   ac_cv_lib_curses_setupterm=no
16469 rm -f core conftest.err conftest.$ac_objext \
16470     conftest$ac_exeext conftest.$ac_ext
16471 LIBS=$ac_check_lib_save_LIBS
16473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_setupterm" >&5
16474 $as_echo "$ac_cv_lib_curses_setupterm" >&6; }
16475 if test "x$ac_cv_lib_curses_setupterm" = xyes; then :
16476   
16477             alpine_termdata=info
16478             LIBS="$LIBS -lcurses"
16479           
16480 else
16481   
16482             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermlib" >&5
16483 $as_echo_n "checking for tgetent in -ltermlib... " >&6; }
16484 if ${ac_cv_lib_termlib_tgetent+:} false; then :
16485   $as_echo_n "(cached) " >&6
16486 else
16487   ac_check_lib_save_LIBS=$LIBS
16488 LIBS="-ltermlib  $LIBS"
16489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16490 /* end confdefs.h.  */
16492 /* Override any GCC internal prototype to avoid an error.
16493    Use char because int might match the return type of a GCC
16494    builtin and then its argument prototype would still apply.  */
16495 #ifdef __cplusplus
16496 extern "C"
16497 #endif
16498 char tgetent ();
16500 main ()
16502 return tgetent ();
16503   ;
16504   return 0;
16506 _ACEOF
16507 if ac_fn_c_try_link "$LINENO"; then :
16508   ac_cv_lib_termlib_tgetent=yes
16509 else
16510   ac_cv_lib_termlib_tgetent=no
16512 rm -f core conftest.err conftest.$ac_objext \
16513     conftest$ac_exeext conftest.$ac_ext
16514 LIBS=$ac_check_lib_save_LIBS
16516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termlib_tgetent" >&5
16517 $as_echo "$ac_cv_lib_termlib_tgetent" >&6; }
16518 if test "x$ac_cv_lib_termlib_tgetent" = xyes; then :
16519   
16520                 alpine_termdata=cap
16521                 LIBS="$LIBS -ltermlib"
16522               
16523 else
16524   
16525                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermcap" >&5
16526 $as_echo_n "checking for tgetent in -ltermcap... " >&6; }
16527 if ${ac_cv_lib_termcap_tgetent+:} false; then :
16528   $as_echo_n "(cached) " >&6
16529 else
16530   ac_check_lib_save_LIBS=$LIBS
16531 LIBS="-ltermcap  $LIBS"
16532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16533 /* end confdefs.h.  */
16535 /* Override any GCC internal prototype to avoid an error.
16536    Use char because int might match the return type of a GCC
16537    builtin and then its argument prototype would still apply.  */
16538 #ifdef __cplusplus
16539 extern "C"
16540 #endif
16541 char tgetent ();
16543 main ()
16545 return tgetent ();
16546   ;
16547   return 0;
16549 _ACEOF
16550 if ac_fn_c_try_link "$LINENO"; then :
16551   ac_cv_lib_termcap_tgetent=yes
16552 else
16553   ac_cv_lib_termcap_tgetent=no
16555 rm -f core conftest.err conftest.$ac_objext \
16556     conftest$ac_exeext conftest.$ac_ext
16557 LIBS=$ac_check_lib_save_LIBS
16559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termcap_tgetent" >&5
16560 $as_echo "$ac_cv_lib_termcap_tgetent" >&6; }
16561 if test "x$ac_cv_lib_termcap_tgetent" = xyes; then :
16562   
16563                     alpine_termdata=cap
16564                     LIBS="$LIBS -ltermcap"
16565                   
16566 else
16567   
16568                     as_fn_error $? "Terminfo/termcap not found" "$LINENO" 5
16569                   
16572               
16575           
16578       
16581   
16584 case $alpine_termdata in
16585   info)
16586     
16587 $as_echo "@%:@define HAS_TERMINFO 1" >>confdefs.h
16589     ;;
16590   cap)
16591     
16592 $as_echo "@%:@define HAS_TERMCAP 1" >>confdefs.h
16594     ;;
16595 esac
16597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
16598 $as_echo_n "checking for library containing dlopen... " >&6; }
16599 if ${ac_cv_search_dlopen+:} false; then :
16600   $as_echo_n "(cached) " >&6
16601 else
16602   ac_func_search_save_LIBS=$LIBS
16603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16604 /* end confdefs.h.  */
16606 /* Override any GCC internal prototype to avoid an error.
16607    Use char because int might match the return type of a GCC
16608    builtin and then its argument prototype would still apply.  */
16609 #ifdef __cplusplus
16610 extern "C"
16611 #endif
16612 char dlopen ();
16614 main ()
16616 return dlopen ();
16617   ;
16618   return 0;
16620 _ACEOF
16621 for ac_lib in '' dl dld; do
16622   if test -z "$ac_lib"; then
16623     ac_res="none required"
16624   else
16625     ac_res=-l$ac_lib
16626     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16627   fi
16628   if ac_fn_c_try_link "$LINENO"; then :
16629   ac_cv_search_dlopen=$ac_res
16631 rm -f core conftest.err conftest.$ac_objext \
16632     conftest$ac_exeext
16633   if ${ac_cv_search_dlopen+:} false; then :
16634   break
16636 done
16637 if ${ac_cv_search_dlopen+:} false; then :
16638   
16639 else
16640   ac_cv_search_dlopen=no
16642 rm conftest.$ac_ext
16643 LIBS=$ac_func_search_save_LIBS
16645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
16646 $as_echo "$ac_cv_search_dlopen" >&6; }
16647 ac_res=$ac_cv_search_dlopen
16648 if test "$ac_res" != no; then :
16649   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16650   
16651 else
16652    alpine_DL="none" 
16655 if test "x$alpine_DL" = "xnone" ; then
16656     as_fn_error $? "No library containing dlopen found" "$LINENO" 5
16657     exit 1      
16660 if test "x$alpine_SSLTYPE" != "xnone" ; then
16661   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing SSLeay" >&5
16662 $as_echo_n "checking for library containing SSLeay... " >&6; }
16663 if ${ac_cv_search_SSLeay+:} false; then :
16664   $as_echo_n "(cached) " >&6
16665 else
16666   ac_func_search_save_LIBS=$LIBS
16667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16668 /* end confdefs.h.  */
16670 /* Override any GCC internal prototype to avoid an error.
16671    Use char because int might match the return type of a GCC
16672    builtin and then its argument prototype would still apply.  */
16673 #ifdef __cplusplus
16674 extern "C"
16675 #endif
16676 char SSLeay ();
16678 main ()
16680 return SSLeay ();
16681   ;
16682   return 0;
16684 _ACEOF
16685 for ac_lib in '' crypto; do
16686   if test -z "$ac_lib"; then
16687     ac_res="none required"
16688   else
16689     ac_res=-l$ac_lib
16690     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16691   fi
16692   if ac_fn_c_try_link "$LINENO"; then :
16693   ac_cv_search_SSLeay=$ac_res
16695 rm -f core conftest.err conftest.$ac_objext \
16696     conftest$ac_exeext
16697   if ${ac_cv_search_SSLeay+:} false; then :
16698   break
16700 done
16701 if ${ac_cv_search_SSLeay+:} false; then :
16702   
16703 else
16704   ac_cv_search_SSLeay=no
16706 rm conftest.$ac_ext
16707 LIBS=$ac_func_search_save_LIBS
16709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_SSLeay" >&5
16710 $as_echo "$ac_cv_search_SSLeay" >&6; }
16711 ac_res=$ac_cv_search_SSLeay
16712 if test "$ac_res" != no; then :
16713   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16714   
16715 else
16716    alpine_CRYPTO="none" 
16719   if test "x$alpine_CRYPTO" = "xnone" ; then
16720      as_fn_error $? "crypto library NOT found" "$LINENO" 5
16721      exit 1
16722   fi
16725 if test "x$alpine_SSLTYPE" != "xnone" ; then
16726    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing SSL_library_init" >&5
16727 $as_echo_n "checking for library containing SSL_library_init... " >&6; }
16728 if ${ac_cv_search_SSL_library_init+:} false; then :
16729   $as_echo_n "(cached) " >&6
16730 else
16731   ac_func_search_save_LIBS=$LIBS
16732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16733 /* end confdefs.h.  */
16735 /* Override any GCC internal prototype to avoid an error.
16736    Use char because int might match the return type of a GCC
16737    builtin and then its argument prototype would still apply.  */
16738 #ifdef __cplusplus
16739 extern "C"
16740 #endif
16741 char SSL_library_init ();
16743 main ()
16745 return SSL_library_init ();
16746   ;
16747   return 0;
16749 _ACEOF
16750 for ac_lib in '' ssl; do
16751   if test -z "$ac_lib"; then
16752     ac_res="none required"
16753   else
16754     ac_res=-l$ac_lib
16755     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16756   fi
16757   if ac_fn_c_try_link "$LINENO"; then :
16758   ac_cv_search_SSL_library_init=$ac_res
16760 rm -f core conftest.err conftest.$ac_objext \
16761     conftest$ac_exeext
16762   if ${ac_cv_search_SSL_library_init+:} false; then :
16763   break
16765 done
16766 if ${ac_cv_search_SSL_library_init+:} false; then :
16767   
16768 else
16769   ac_cv_search_SSL_library_init=no
16771 rm conftest.$ac_ext
16772 LIBS=$ac_func_search_save_LIBS
16774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_SSL_library_init" >&5
16775 $as_echo "$ac_cv_search_SSL_library_init" >&6; }
16776 ac_res=$ac_cv_search_SSL_library_init
16777 if test "$ac_res" != no; then :
16778   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16779   
16780 else
16781    alpine_SSLTYPE="none" 
16785   if test "x$alpine_SSLTYPE" = "xnone" ; then
16786      as_fn_error $? "No library containing SSL_library_init found in your path" "$LINENO" 5
16787      exit 1
16788   fi
16790   { $as_echo "$as_me:${as_lineno-$LINENO}: checking Openssl library version >= 1.0.0c" >&5
16791 $as_echo_n "checking Openssl library version >= 1.0.0c... " >&6; }
16792   if test "$cross_compiling" = yes; then :
16793   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16794 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16795 as_fn_error $? "cannot run test program while cross compiling
16796 See \`config.log' for more details" "$LINENO" 5; }
16797 else
16798   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16799 /* end confdefs.h.  */
16801 #include <stdio.h>
16802 #include <stdlib.h>
16803 #include <openssl/ssl.h>
16804 int main(void) {
16806         if (OPENSSL_VERSION_NUMBER >= 0x1000003f)
16807                 exit(0);
16809         exit(2);
16811         
16812 _ACEOF
16813 if ac_fn_c_try_run "$LINENO"; then :
16814    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16815 $as_echo "yes" >&6; } 
16816 else
16817    alpine_SSLTYPE="none" 
16819 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16820   conftest.$ac_objext conftest.beam conftest.$ac_ext
16824     if test "x$alpine_SSLTYPE" = "xnone" ; then
16825         as_fn_error $? "Install openssl version >= 1.0.0c" "$LINENO" 5
16826         exit 1
16827     fi
16828     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing TLSv1_2_client_method" >&5
16829 $as_echo_n "checking for library containing TLSv1_2_client_method... " >&6; }
16830 if ${ac_cv_search_TLSv1_2_client_method+:} false; then :
16831   $as_echo_n "(cached) " >&6
16832 else
16833   ac_func_search_save_LIBS=$LIBS
16834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16835 /* end confdefs.h.  */
16837 /* Override any GCC internal prototype to avoid an error.
16838    Use char because int might match the return type of a GCC
16839    builtin and then its argument prototype would still apply.  */
16840 #ifdef __cplusplus
16841 extern "C"
16842 #endif
16843 char TLSv1_2_client_method ();
16845 main ()
16847 return TLSv1_2_client_method ();
16848   ;
16849   return 0;
16851 _ACEOF
16852 for ac_lib in '' ssl; do
16853   if test -z "$ac_lib"; then
16854     ac_res="none required"
16855   else
16856     ac_res=-l$ac_lib
16857     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16858   fi
16859   if ac_fn_c_try_link "$LINENO"; then :
16860   ac_cv_search_TLSv1_2_client_method=$ac_res
16862 rm -f core conftest.err conftest.$ac_objext \
16863     conftest$ac_exeext
16864   if ${ac_cv_search_TLSv1_2_client_method+:} false; then :
16865   break
16867 done
16868 if ${ac_cv_search_TLSv1_2_client_method+:} false; then :
16869   
16870 else
16871   ac_cv_search_TLSv1_2_client_method=no
16873 rm conftest.$ac_ext
16874 LIBS=$ac_func_search_save_LIBS
16876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_TLSv1_2_client_method" >&5
16877 $as_echo "$ac_cv_search_TLSv1_2_client_method" >&6; }
16878 ac_res=$ac_cv_search_TLSv1_2_client_method
16879 if test "$ac_res" != no; then :
16880   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16881    alpine_c_client_cflags="$alpine_c_client_cflags -DTLSV1_2"
16882           
16883 $as_echo "@%:@define SSL_SUPPORTS_TLSV1_2 1" >>confdefs.h
16885         
16890 if test "$alpine_with_ldap" = "yes" ; then
16891   alpine_has_ldap=
16892   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_alloc in -llber" >&5
16893 $as_echo_n "checking for ber_alloc in -llber... " >&6; }
16894 if ${ac_cv_lib_lber_ber_alloc+:} false; then :
16895   $as_echo_n "(cached) " >&6
16896 else
16897   ac_check_lib_save_LIBS=$LIBS
16898 LIBS="-llber  $LIBS"
16899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16900 /* end confdefs.h.  */
16902 /* Override any GCC internal prototype to avoid an error.
16903    Use char because int might match the return type of a GCC
16904    builtin and then its argument prototype would still apply.  */
16905 #ifdef __cplusplus
16906 extern "C"
16907 #endif
16908 char ber_alloc ();
16910 main ()
16912 return ber_alloc ();
16913   ;
16914   return 0;
16916 _ACEOF
16917 if ac_fn_c_try_link "$LINENO"; then :
16918   ac_cv_lib_lber_ber_alloc=yes
16919 else
16920   ac_cv_lib_lber_ber_alloc=no
16922 rm -f core conftest.err conftest.$ac_objext \
16923     conftest$ac_exeext conftest.$ac_ext
16924 LIBS=$ac_check_lib_save_LIBS
16926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_alloc" >&5
16927 $as_echo "$ac_cv_lib_lber_ber_alloc" >&6; }
16928 if test "x$ac_cv_lib_lber_ber_alloc" = xyes; then :
16929   
16930       LIBS="$LIBS -llber"
16931     
16934   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ldap_init" >&5
16935 $as_echo_n "checking for library containing ldap_init... " >&6; }
16936 if ${ac_cv_search_ldap_init+:} false; then :
16937   $as_echo_n "(cached) " >&6
16938 else
16939   ac_func_search_save_LIBS=$LIBS
16940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16941 /* end confdefs.h.  */
16943 /* Override any GCC internal prototype to avoid an error.
16944    Use char because int might match the return type of a GCC
16945    builtin and then its argument prototype would still apply.  */
16946 #ifdef __cplusplus
16947 extern "C"
16948 #endif
16949 char ldap_init ();
16951 main ()
16953 return ldap_init ();
16954   ;
16955   return 0;
16957 _ACEOF
16958 for ac_lib in '' ldap; do
16959   if test -z "$ac_lib"; then
16960     ac_res="none required"
16961   else
16962     ac_res=-l$ac_lib
16963     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16964   fi
16965   if ac_fn_c_try_link "$LINENO"; then :
16966   ac_cv_search_ldap_init=$ac_res
16968 rm -f core conftest.err conftest.$ac_objext \
16969     conftest$ac_exeext
16970   if ${ac_cv_search_ldap_init+:} false; then :
16971   break
16973 done
16974 if ${ac_cv_search_ldap_init+:} false; then :
16975   
16976 else
16977   ac_cv_search_ldap_init=no
16979 rm conftest.$ac_ext
16980 LIBS=$ac_func_search_save_LIBS
16982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ldap_init" >&5
16983 $as_echo "$ac_cv_search_ldap_init" >&6; }
16984 ac_res=$ac_cv_search_ldap_init
16985 if test "$ac_res" != no; then :
16986   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16987   
16988       alpine_has_ldap=yes
16989     
16990 else
16991   
16992       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ldap_open" >&5
16993 $as_echo_n "checking for library containing ldap_open... " >&6; }
16994 if ${ac_cv_search_ldap_open+:} false; then :
16995   $as_echo_n "(cached) " >&6
16996 else
16997   ac_func_search_save_LIBS=$LIBS
16998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16999 /* end confdefs.h.  */
17001 /* Override any GCC internal prototype to avoid an error.
17002    Use char because int might match the return type of a GCC
17003    builtin and then its argument prototype would still apply.  */
17004 #ifdef __cplusplus
17005 extern "C"
17006 #endif
17007 char ldap_open ();
17009 main ()
17011 return ldap_open ();
17012   ;
17013   return 0;
17015 _ACEOF
17016 for ac_lib in '' ldap; do
17017   if test -z "$ac_lib"; then
17018     ac_res="none required"
17019   else
17020     ac_res=-l$ac_lib
17021     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
17022   fi
17023   if ac_fn_c_try_link "$LINENO"; then :
17024   ac_cv_search_ldap_open=$ac_res
17026 rm -f core conftest.err conftest.$ac_objext \
17027     conftest$ac_exeext
17028   if ${ac_cv_search_ldap_open+:} false; then :
17029   break
17031 done
17032 if ${ac_cv_search_ldap_open+:} false; then :
17033   
17034 else
17035   ac_cv_search_ldap_open=no
17037 rm conftest.$ac_ext
17038 LIBS=$ac_func_search_save_LIBS
17040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ldap_open" >&5
17041 $as_echo "$ac_cv_search_ldap_open" >&6; }
17042 ac_res=$ac_cv_search_ldap_open
17043 if test "$ac_res" != no; then :
17044   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17045   
17046           alpine_has_ldap=yes
17047         
17050     
17054   if test "$alpine_has_ldap" = "yes" ; then
17055     { $as_echo "$as_me:${as_lineno-$LINENO}: Including LDAP Support" >&5
17056 $as_echo "$as_me: Including LDAP Support" >&6;}
17057     
17058 $as_echo "@%:@define ENABLE_LDAP /**/" >>confdefs.h
17061             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we should define LDAP_DEPRECATED" >&5
17062 $as_echo_n "checking if we should define LDAP_DEPRECATED... " >&6; }
17063     if test "$cross_compiling" = yes; then :
17064   
17065                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: not checking" >&5
17066 $as_echo "$as_me: WARNING: cross compiling: not checking" >&2;}
17067         
17068     
17069 else
17070   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17071 /* end confdefs.h.  */
17073 #include <stdio.h>
17074 #include <stdlib.h>
17075 #include <ldap.h>
17076 int main(void) {
17078         if (LDAP_VENDOR_VERSION >= 20300)
17079                 exit(0);
17081         exit(2);
17083         
17084 _ACEOF
17085 if ac_fn_c_try_run "$LINENO"; then :
17086   
17087                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17088 $as_echo "yes" >&6; }
17089                 
17090 $as_echo "@%:@define LDAP_DEPRECATED 1" >>confdefs.h
17093         
17094 else
17095   
17096                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17097 $as_echo "no" >&6; }
17098         
17100 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17101   conftest.$ac_objext conftest.beam conftest.$ac_ext
17105   else
17106     { $as_echo "$as_me:${as_lineno-$LINENO}: Cannot find LDAP functions!  Excluding LDAP support." >&5
17107 $as_echo "$as_me: Cannot find LDAP functions!  Excluding LDAP support." >&6;}
17108   fi
17111 if test "x$alpine_PAM" != "xnone" ; then
17112   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pam_start" >&5
17113 $as_echo_n "checking for library containing pam_start... " >&6; }
17114 if ${ac_cv_search_pam_start+:} false; then :
17115   $as_echo_n "(cached) " >&6
17116 else
17117   ac_func_search_save_LIBS=$LIBS
17118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17119 /* end confdefs.h.  */
17121 /* Override any GCC internal prototype to avoid an error.
17122    Use char because int might match the return type of a GCC
17123    builtin and then its argument prototype would still apply.  */
17124 #ifdef __cplusplus
17125 extern "C"
17126 #endif
17127 char pam_start ();
17129 main ()
17131 return pam_start ();
17132   ;
17133   return 0;
17135 _ACEOF
17136 for ac_lib in '' pam; do
17137   if test -z "$ac_lib"; then
17138     ac_res="none required"
17139   else
17140     ac_res=-l$ac_lib
17141     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
17142   fi
17143   if ac_fn_c_try_link "$LINENO"; then :
17144   ac_cv_search_pam_start=$ac_res
17146 rm -f core conftest.err conftest.$ac_objext \
17147     conftest$ac_exeext
17148   if ${ac_cv_search_pam_start+:} false; then :
17149   break
17151 done
17152 if ${ac_cv_search_pam_start+:} false; then :
17153   
17154 else
17155   ac_cv_search_pam_start=no
17157 rm conftest.$ac_ext
17158 LIBS=$ac_func_search_save_LIBS
17160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pam_start" >&5
17161 $as_echo "$ac_cv_search_pam_start" >&6; }
17162 ac_res=$ac_cv_search_pam_start
17163 if test "$ac_res" != no; then :
17164   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17165   
17166         LIBS="$LIBS -lpam"
17167         ac_fn_c_check_header_mongrel "$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
17168 if test "x$ac_cv_header_security_pam_appl_h" = xyes; then :
17169   
17170           alpine_PAM="yes"
17171         
17172 else
17173          ac_fn_c_check_header_mongrel "$LINENO" "pam/pam_appl.h" "ac_cv_header_pam_pam_appl_h" "$ac_includes_default"
17174 if test "x$ac_cv_header_pam_pam_appl_h" = xyes; then :
17175   
17176                 alpine_PAM="yes"
17177                 if test "x$alpine_c_client_target" != "xoxp" ; then
17178                    alpine_PAM="none"
17179                    alpine_pam_none_reason="header files not in security/ directory"
17180                 fi
17181           
17182 else
17183   
17184                 alpine_PAM="none"
17185                 alpine_pam_none_reason="header files not found"
17186           
17190         
17194       
17195 else
17196   
17197         alpine_PAM="none"
17198         alpine_pam_none_reason="library files not found"
17199       
17202     if test -n "$alpine_pam_none_reason" ; then
17203       as_fn_error $? "No PAM support: $alpine_pam_none_reason" "$LINENO" 5
17204   fi
17208 if test "x$alpine_GSSTYPE" != "xnone" ; then
17209   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gss_init_sec_context" >&5
17210 $as_echo_n "checking for library containing gss_init_sec_context... " >&6; }
17211 if ${ac_cv_search_gss_init_sec_context+:} false; then :
17212   $as_echo_n "(cached) " >&6
17213 else
17214   ac_func_search_save_LIBS=$LIBS
17215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17216 /* end confdefs.h.  */
17218 /* Override any GCC internal prototype to avoid an error.
17219    Use char because int might match the return type of a GCC
17220    builtin and then its argument prototype would still apply.  */
17221 #ifdef __cplusplus
17222 extern "C"
17223 #endif
17224 char gss_init_sec_context ();
17226 main ()
17228 return gss_init_sec_context ();
17229   ;
17230   return 0;
17232 _ACEOF
17233 for ac_lib in '' gss gssapi gssapi_krb5; do
17234   if test -z "$ac_lib"; then
17235     ac_res="none required"
17236   else
17237     ac_res=-l$ac_lib
17238     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
17239   fi
17240   if ac_fn_c_try_link "$LINENO"; then :
17241   ac_cv_search_gss_init_sec_context=$ac_res
17243 rm -f core conftest.err conftest.$ac_objext \
17244     conftest$ac_exeext
17245   if ${ac_cv_search_gss_init_sec_context+:} false; then :
17246   break
17248 done
17249 if ${ac_cv_search_gss_init_sec_context+:} false; then :
17250   
17251 else
17252   ac_cv_search_gss_init_sec_context=no
17254 rm conftest.$ac_ext
17255 LIBS=$ac_func_search_save_LIBS
17257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gss_init_sec_context" >&5
17258 $as_echo "$ac_cv_search_gss_init_sec_context" >&6; }
17259 ac_res=$ac_cv_search_gss_init_sec_context
17260 if test "$ac_res" != no; then :
17261   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17262   
17263             LIBS="$LIBS -lkrb5"
17264       ac_fn_c_check_header_mongrel "$LINENO" "gssapi/gssapi_generic.h" "ac_cv_header_gssapi_gssapi_generic_h" "$ac_includes_default"
17265 if test "x$ac_cv_header_gssapi_gssapi_generic_h" = xyes; then :
17266   
17267 else
17268   
17269           if test ! -d /usr/kerberos/include ; then
17270             alpine_GSSTYPE="none"
17271             alpine_gss_none_reason="header files not found"
17272           fi
17273         
17277     
17278 else
17279   
17280       alpine_GSSTYPE="none"
17281       alpine_gss_none_reason="libraries not found"
17282     
17285   if test -n "$alpine_gss_none_reason" ; then
17286     { $as_echo "$as_me:${as_lineno-$LINENO}: NOT including Kerberos Support: $alpine_gss_none_reason" >&5
17287 $as_echo "$as_me: NOT including Kerberos Support: $alpine_gss_none_reason" >&6;}
17288   fi
17291 if test -n "$WEB_BUILD" ; then
17292 TCL_VERSIONS_DOT="tcl8.6 tcl8.5 tcl8.4 tcl8.3"
17293 TCL_VERSIONS_NODOT="`echo ${TCL_VERSIONS_DOT} | ${SED} 's/\.//g'`"
17294 TCL_VERSIONS="${TCL_VERSIONS_DOT} ${TCL_VERSIONS_NODOT} tcl"
17295   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing Tcl_Eval" >&5
17296 $as_echo_n "checking for library containing Tcl_Eval... " >&6; }
17297 if ${ac_cv_search_Tcl_Eval+:} false; then :
17298   $as_echo_n "(cached) " >&6
17299 else
17300   ac_func_search_save_LIBS=$LIBS
17301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17302 /* end confdefs.h.  */
17304 /* Override any GCC internal prototype to avoid an error.
17305    Use char because int might match the return type of a GCC
17306    builtin and then its argument prototype would still apply.  */
17307 #ifdef __cplusplus
17308 extern "C"
17309 #endif
17310 char Tcl_Eval ();
17312 main ()
17314 return Tcl_Eval ();
17315   ;
17316   return 0;
17318 _ACEOF
17319 for ac_lib in '' $alpine_TCLLIB ${TCL_VERSIONS}; do
17320   if test -z "$ac_lib"; then
17321     ac_res="none required"
17322   else
17323     ac_res=-l$ac_lib
17324     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
17325   fi
17326   if ac_fn_c_try_link "$LINENO"; then :
17327   ac_cv_search_Tcl_Eval=$ac_res
17329 rm -f core conftest.err conftest.$ac_objext \
17330     conftest$ac_exeext
17331   if ${ac_cv_search_Tcl_Eval+:} false; then :
17332   break
17334 done
17335 if ${ac_cv_search_Tcl_Eval+:} false; then :
17336   
17337 else
17338   ac_cv_search_Tcl_Eval=no
17340 rm conftest.$ac_ext
17341 LIBS=$ac_func_search_save_LIBS
17343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_Tcl_Eval" >&5
17344 $as_echo "$ac_cv_search_Tcl_Eval" >&6; }
17345 ac_res=$ac_cv_search_Tcl_Eval
17346 if test "$ac_res" != no; then :
17347   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17348   
17349 else
17350   
17351       WEB_BUILD=
17352     
17356     if test -n "$alpine_TCLINC" ; then
17357     as_ac_Header=`$as_echo "ac_cv_header_$alpine_TCLINC/tcl.h" | $as_tr_sh`
17358 ac_fn_c_check_header_mongrel "$LINENO" "$alpine_TCLINC/tcl.h" "$as_ac_Header" "$ac_includes_default"
17359 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17360   
17361 else
17362   
17363         WEB_BUILD=
17364       
17368     if test -z "$WEB_BUILD" ; then
17369       { $as_echo "$as_me:${as_lineno-$LINENO}: Tcl Include file NOT found" >&5
17370 $as_echo "$as_me: Tcl Include file NOT found" >&6;}
17371     fi
17372   else
17373     ac_fn_c_check_header_mongrel "$LINENO" "tcl.h" "ac_cv_header_tcl_h" "$ac_includes_default"
17374 if test "x$ac_cv_header_tcl_h" = xyes; then :
17375   
17376 else
17377   
17378         for base in /usr /usr/local ; do
17379          for dir in ${TCL_VERSIONS} ; do
17380           as_ac_File=`$as_echo "ac_cv_file_$base/include/$dir/tcl.h" | $as_tr_sh`
17381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $base/include/$dir/tcl.h" >&5
17382 $as_echo_n "checking for $base/include/$dir/tcl.h... " >&6; }
17383 if eval \${$as_ac_File+:} false; then :
17384   $as_echo_n "(cached) " >&6
17385 else
17386   test "$cross_compiling" = yes &&
17387   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
17388 if test -r "$base/include/$dir/tcl.h"; then
17389   eval "$as_ac_File=yes"
17390 else
17391   eval "$as_ac_File=no"
17394 eval ac_res=\$$as_ac_File
17395                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17396 $as_echo "$ac_res" >&6; }
17397 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
17398   
17399               found=yes
17400             
17403           if test "$found" = "yes" ; then
17404             CPPFLAGS="$CPPFLAGS -I$base/include/$dir"
17405             break
17406           fi
17407          done
17408          if test "$found" = "yes" ; then
17409             break
17410          fi
17411         done
17412         if test "$found" != "yes" ; then
17413             WEB_BUILD=
17414             { $as_echo "$as_me:${as_lineno-$LINENO}: header file tcl.h NOT found: Web Alpine will not be built" >&5
17415 $as_echo "$as_me: header file tcl.h NOT found: Web Alpine will not be built" >&6;}
17416         fi
17417       
17421   fi
17424 if test "x$alpine_REGEX" != "xyes" ; then
17425   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing regcomp" >&5
17426 $as_echo_n "checking for library containing regcomp... " >&6; }
17427 if ${ac_cv_search_regcomp+:} false; then :
17428   $as_echo_n "(cached) " >&6
17429 else
17430   ac_func_search_save_LIBS=$LIBS
17431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17432 /* end confdefs.h.  */
17434 /* Override any GCC internal prototype to avoid an error.
17435    Use char because int might match the return type of a GCC
17436    builtin and then its argument prototype would still apply.  */
17437 #ifdef __cplusplus
17438 extern "C"
17439 #endif
17440 char regcomp ();
17442 main ()
17444 return regcomp ();
17445   ;
17446   return 0;
17448 _ACEOF
17449 for ac_lib in '' posix regexp regex re; do
17450   if test -z "$ac_lib"; then
17451     ac_res="none required"
17452   else
17453     ac_res=-l$ac_lib
17454     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
17455   fi
17456   if ac_fn_c_try_link "$LINENO"; then :
17457   ac_cv_search_regcomp=$ac_res
17459 rm -f core conftest.err conftest.$ac_objext \
17460     conftest$ac_exeext
17461   if ${ac_cv_search_regcomp+:} false; then :
17462   break
17464 done
17465 if ${ac_cv_search_regcomp+:} false; then :
17466   
17467 else
17468   ac_cv_search_regcomp=no
17470 rm conftest.$ac_ext
17471 LIBS=$ac_func_search_save_LIBS
17473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_regcomp" >&5
17474 $as_echo "$ac_cv_search_regcomp" >&6; }
17475 ac_res=$ac_cv_search_regcomp
17476 if test "$ac_res" != no; then :
17477   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17478   
17479 else
17480   
17481       if test x$alpine_REGEX = "xno" ; then
17482         as_fn_error $? "Unable to find system regex library" "$LINENO" 5
17483       else
17484         alpine_REGEX=yes
17485       fi
17486     
17490 if test "x$alpine_REGEX" != "xyes" ; then
17491   ac_fn_c_check_header_mongrel "$LINENO" "regex.h" "ac_cv_header_regex_h" "$ac_includes_default"
17492 if test "x$ac_cv_header_regex_h" = xyes; then :
17493   
17494 else
17495   
17496       if test x$alpine_REGEX = "xno" ; then
17497         as_fn_error $? "Unable to find system regex include file" "$LINENO" 5
17498       else
17499         alpine_REGEX=yes
17500       fi
17501     
17507 $as_echo "@%:@define HAVE_REGEX_H 1" >>confdefs.h
17509 if test "x$alpine_REGEX" = "xyes" ; then
17510   CPPFLAGS="$CPPFLAGS -I${top_builddir}/regex"
17511   LDFLAGS="$LDFLAGS -L${top_builddir}/regex -lregex"
17512   REGEX_BUILD=regex
17513   REGEX_MAKEFILE="$REGEX_BUILD/Makefile"
17516 if test "x$with_pthread" != "xno" ; then
17517   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread support" >&5
17518 $as_echo_n "checking for pthread support... " >&6; }
17519   
17522 ac_ext=c
17523 ac_cpp='$CPP $CPPFLAGS'
17524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17528 acx_pthread_ok=no
17530 # We used to check for pthread.h first, but this fails if pthread.h
17531 # requires special compiler flags (e.g. on True64 or Sequent).
17532 # It gets checked for in the link test anyway.
17534 # First of all, check if the user has set any of the PTHREAD_LIBS,
17535 # etcetera environment variables, and if threads linking works using
17536 # them:
17537 if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
17538         save_CFLAGS="$CFLAGS"
17539         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
17540         save_LIBS="$LIBS"
17541         LIBS="$PTHREAD_LIBS $LIBS"
17542         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
17543 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
17544         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17545 /* end confdefs.h.  */
17547 /* Override any GCC internal prototype to avoid an error.
17548    Use char because int might match the return type of a GCC
17549    builtin and then its argument prototype would still apply.  */
17550 #ifdef __cplusplus
17551 extern "C"
17552 #endif
17553 char pthread_join ();
17555 main ()
17557 return pthread_join ();
17558   ;
17559   return 0;
17561 _ACEOF
17562 if ac_fn_c_try_link "$LINENO"; then :
17563   acx_pthread_ok=yes
17565 rm -f core conftest.err conftest.$ac_objext \
17566     conftest$ac_exeext conftest.$ac_ext
17567         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
17568 $as_echo "$acx_pthread_ok" >&6; }
17569         if test x"$acx_pthread_ok" = xno; then
17570                 PTHREAD_LIBS=""
17571                 PTHREAD_CFLAGS=""
17572         fi
17573         LIBS="$save_LIBS"
17574         CFLAGS="$save_CFLAGS"
17577 # We must check for the threads library under a number of different
17578 # names; the ordering is very important because some systems
17579 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
17580 # libraries is broken (non-POSIX).
17582 # Create a list of thread flags to try.  Items starting with a "-" are
17583 # C compiler flags, and other items are library names, except for "none"
17584 # which indicates that we try without any flags at all, and "pthread-config"
17585 # which is a program returning the flags for the Pth emulation library.
17587 acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
17589 # The ordering *is* (sometimes) important.  Some notes on the
17590 # individual items follow:
17592 # pthreads: AIX (must check this before -lpthread)
17593 # none: in case threads are in libc; should be tried before -Kthread and
17594 #       other compiler flags to prevent continual compiler warnings
17595 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
17596 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
17597 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
17598 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
17599 # -pthreads: Solaris/gcc
17600 # -mthreads: Mingw32/gcc, Lynx/gcc
17601 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
17602 #      doesn't hurt to check since this sometimes defines pthreads too;
17603 #      also defines -D_REENTRANT)
17604 #      ... -mt is also the pthreads flag for HP/aCC
17605 # pthread: Linux, etcetera
17606 # --thread-safe: KAI C++
17607 # pthread-config: use pthread-config program (for GNU Pth library)
17609 case "${host_cpu}-${host_os}" in
17610         *solaris*)
17612         # On Solaris (at least, for some versions), libc contains stubbed
17613         # (non-functional) versions of the pthreads routines, so link-based
17614         # tests will erroneously succeed.  (We need to link with -pthreads/-mt/
17615         # -lpthread.)  (The stubs are missing pthread_cleanup_push, or rather
17616         # a function called by this macro, so we could check for that, but
17617         # who knows whether they'll stub that too in a future libc.)  So,
17618         # we'll just look for -pthreads and -lpthread first:
17620         acx_pthread_flags="-pthreads pthread -mt -pthread $acx_pthread_flags"
17621         ;;
17622 esac
17624 if test x"$acx_pthread_ok" = xno; then
17625 for flag in $acx_pthread_flags; do
17627         case $flag in
17628                 none)
17629                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
17630 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
17631                 ;;
17633                 -*)
17634                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
17635 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
17636                 PTHREAD_CFLAGS="$flag"
17637                 ;;
17639                 pthread-config)
17640                 # Extract the first word of "pthread-config", so it can be a program name with args.
17641 set dummy pthread-config; ac_word=$2
17642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17643 $as_echo_n "checking for $ac_word... " >&6; }
17644 if ${ac_cv_prog_acx_pthread_config+:} false; then :
17645   $as_echo_n "(cached) " >&6
17646 else
17647   if test -n "$acx_pthread_config"; then
17648   ac_cv_prog_acx_pthread_config="$acx_pthread_config" # Let the user override the test.
17649 else
17650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17651 for as_dir in $PATH
17653   IFS=$as_save_IFS
17654   test -z "$as_dir" && as_dir=.
17655     for ac_exec_ext in '' $ac_executable_extensions; do
17656   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17657     ac_cv_prog_acx_pthread_config="yes"
17658     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17659     break 2
17660   fi
17661 done
17662   done
17663 IFS=$as_save_IFS
17665   test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no"
17668 acx_pthread_config=$ac_cv_prog_acx_pthread_config
17669 if test -n "$acx_pthread_config"; then
17670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5
17671 $as_echo "$acx_pthread_config" >&6; }
17672 else
17673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17674 $as_echo "no" >&6; }
17678                 if test x"$acx_pthread_config" = xno; then continue; fi
17679                 PTHREAD_CFLAGS="`pthread-config --cflags`"
17680                 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
17681                 ;;
17683                 *)
17684                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
17685 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
17686                 PTHREAD_LIBS="-l$flag"
17687                 ;;
17688         esac
17690         save_LIBS="$LIBS"
17691         save_CFLAGS="$CFLAGS"
17692         LIBS="$PTHREAD_LIBS $LIBS"
17693         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
17695         # Check for various functions.  We must include pthread.h,
17696         # since some functions may be macros.  (On the Sequent, we
17697         # need a special flag -Kthread to make this header compile.)
17698         # We check for pthread_join because it is in -lpthread on IRIX
17699         # while pthread_create is in libc.  We check for pthread_attr_init
17700         # due to DEC craziness with -lpthreads.  We check for
17701         # pthread_cleanup_push because it is one of the few pthread
17702         # functions on Solaris that doesn't have a non-functional libc stub.
17703         # We try pthread_create on general principles.
17704         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17705 /* end confdefs.h.  */
17706 #include <pthread.h>
17708 main ()
17710 pthread_t th; pthread_join(th, 0);
17711                      pthread_attr_init(0); pthread_cleanup_push(0, 0);
17712                      pthread_create(0,0,0,0); pthread_cleanup_pop(0); 
17713   ;
17714   return 0;
17716 _ACEOF
17717 if ac_fn_c_try_link "$LINENO"; then :
17718   acx_pthread_ok=yes
17720 rm -f core conftest.err conftest.$ac_objext \
17721     conftest$ac_exeext conftest.$ac_ext
17723         LIBS="$save_LIBS"
17724         CFLAGS="$save_CFLAGS"
17726         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
17727 $as_echo "$acx_pthread_ok" >&6; }
17728         if test "x$acx_pthread_ok" = xyes; then
17729                 break;
17730         fi
17732         PTHREAD_LIBS=""
17733         PTHREAD_CFLAGS=""
17734 done
17737 # Various other checks:
17738 if test "x$acx_pthread_ok" = xyes; then
17739         save_LIBS="$LIBS"
17740         LIBS="$PTHREAD_LIBS $LIBS"
17741         save_CFLAGS="$CFLAGS"
17742         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
17744         # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
17745         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
17746 $as_echo_n "checking for joinable pthread attribute... " >&6; }
17747         attr_name=unknown
17748         for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
17749             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17750 /* end confdefs.h.  */
17751 #include <pthread.h>
17753 main ()
17755 int attr=$attr; return attr;
17756   ;
17757   return 0;
17759 _ACEOF
17760 if ac_fn_c_try_link "$LINENO"; then :
17761   attr_name=$attr; break
17763 rm -f core conftest.err conftest.$ac_objext \
17764     conftest$ac_exeext conftest.$ac_ext
17765         done
17766         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
17767 $as_echo "$attr_name" >&6; }
17768         if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
17769             
17770 cat >>confdefs.h <<_ACEOF
17771 @%:@define PTHREAD_CREATE_JOINABLE $attr_name
17772 _ACEOF
17774         fi
17776         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
17777 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
17778         flag=no
17779         case "${host_cpu}-${host_os}" in
17780             *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";;
17781             *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
17782         esac
17783         { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
17784 $as_echo "${flag}" >&6; }
17785         if test "x$flag" != xno; then
17786             PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
17787         fi
17789         LIBS="$save_LIBS"
17790         CFLAGS="$save_CFLAGS"
17792         # More AIX lossage: must compile with xlc_r or cc_r
17793         if test x"$GCC" != xyes; then
17794           for ac_prog in xlc_r cc_r
17796   # Extract the first word of "$ac_prog", so it can be a program name with args.
17797 set dummy $ac_prog; ac_word=$2
17798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17799 $as_echo_n "checking for $ac_word... " >&6; }
17800 if ${ac_cv_prog_PTHREAD_CC+:} false; then :
17801   $as_echo_n "(cached) " >&6
17802 else
17803   if test -n "$PTHREAD_CC"; then
17804   ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
17805 else
17806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17807 for as_dir in $PATH
17809   IFS=$as_save_IFS
17810   test -z "$as_dir" && as_dir=.
17811     for ac_exec_ext in '' $ac_executable_extensions; do
17812   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17813     ac_cv_prog_PTHREAD_CC="$ac_prog"
17814     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17815     break 2
17816   fi
17817 done
17818   done
17819 IFS=$as_save_IFS
17823 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
17824 if test -n "$PTHREAD_CC"; then
17825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
17826 $as_echo "$PTHREAD_CC" >&6; }
17827 else
17828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17829 $as_echo "no" >&6; }
17833   test -n "$PTHREAD_CC" && break
17834 done
17835 test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
17837         else
17838           PTHREAD_CC=$CC
17839         fi
17840 else
17841         PTHREAD_CC="$CC"
17848 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
17849 if test x"$acx_pthread_ok" = xyes; then
17850         
17851       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17852 $as_echo "yes" >&6; }
17853       case "$target" in
17854           *openbsd*)
17855             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pthread support on OpenBSD is unstable!" >&5
17856 $as_echo "$as_me: WARNING: pthread support on OpenBSD is unstable!" >&6;}
17857             AM_CFLAGS="$AM_CFLAGS -pthread"
17858             ;;
17859       esac
17860       LIBS="$PTHREAD_LIBS $LIBS"
17861       AM_CFLAGS="$AM_CFLAGS $PTHREAD_CFLAGS"
17862       CC="$PTHREAD_CC"
17863       
17864 $as_echo "@%:@define HAVE_PTHREAD 1" >>confdefs.h
17866     
17867         :
17868 else
17869         acx_pthread_ok=no
17870         
17871       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17872 $as_echo "no" >&6; }
17873     
17875 ac_ext=c
17876 ac_cpp='$CPP $CPPFLAGS'
17877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17883   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
17884 $as_echo_n "checking for library containing nanosleep... " >&6; }
17885 if ${ac_cv_search_nanosleep+:} false; then :
17886   $as_echo_n "(cached) " >&6
17887 else
17888   ac_func_search_save_LIBS=$LIBS
17889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17890 /* end confdefs.h.  */
17892 /* Override any GCC internal prototype to avoid an error.
17893    Use char because int might match the return type of a GCC
17894    builtin and then its argument prototype would still apply.  */
17895 #ifdef __cplusplus
17896 extern "C"
17897 #endif
17898 char nanosleep ();
17900 main ()
17902 return nanosleep ();
17903   ;
17904   return 0;
17906 _ACEOF
17907 for ac_lib in '' rt posix4; do
17908   if test -z "$ac_lib"; then
17909     ac_res="none required"
17910   else
17911     ac_res=-l$ac_lib
17912     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
17913   fi
17914   if ac_fn_c_try_link "$LINENO"; then :
17915   ac_cv_search_nanosleep=$ac_res
17917 rm -f core conftest.err conftest.$ac_objext \
17918     conftest$ac_exeext
17919   if ${ac_cv_search_nanosleep+:} false; then :
17920   break
17922 done
17923 if ${ac_cv_search_nanosleep+:} false; then :
17924   
17925 else
17926   ac_cv_search_nanosleep=no
17928 rm conftest.$ac_ext
17929 LIBS=$ac_func_search_save_LIBS
17931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
17932 $as_echo "$ac_cv_search_nanosleep" >&6; }
17933 ac_res=$ac_cv_search_nanosleep
17934 if test "$ac_res" != no; then :
17935   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17936   
17937       
17938 $as_echo "@%:@define HAVE_NANOSLEEP 1" >>confdefs.h
17940     
17948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
17949 $as_echo_n "checking for ANSI C header files... " >&6; }
17950 if ${ac_cv_header_stdc+:} false; then :
17951   $as_echo_n "(cached) " >&6
17952 else
17953   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17954 /* end confdefs.h.  */
17955 #include <stdlib.h>
17956 #include <stdarg.h>
17957 #include <string.h>
17958 #include <float.h>
17961 main ()
17964   ;
17965   return 0;
17967 _ACEOF
17968 if ac_fn_c_try_compile "$LINENO"; then :
17969   ac_cv_header_stdc=yes
17970 else
17971   ac_cv_header_stdc=no
17973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17975 if test $ac_cv_header_stdc = yes; then
17976   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17977   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17978 /* end confdefs.h.  */
17979 #include <string.h>
17981 _ACEOF
17982 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17983   $EGREP "memchr" >/dev/null 2>&1; then :
17984   
17985 else
17986   ac_cv_header_stdc=no
17988 rm -f conftest*
17992 if test $ac_cv_header_stdc = yes; then
17993   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17994   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17995 /* end confdefs.h.  */
17996 #include <stdlib.h>
17998 _ACEOF
17999 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18000   $EGREP "free" >/dev/null 2>&1; then :
18001   
18002 else
18003   ac_cv_header_stdc=no
18005 rm -f conftest*
18009 if test $ac_cv_header_stdc = yes; then
18010   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18011   if test "$cross_compiling" = yes; then :
18012   :
18013 else
18014   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18015 /* end confdefs.h.  */
18016 #include <ctype.h>
18017 #include <stdlib.h>
18018 #if ((' ' & 0x0FF) == 0x020)
18019 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18020 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18021 #else
18022 # define ISLOWER(c) \
18023                    (('a' <= (c) && (c) <= 'i') \
18024                      || ('j' <= (c) && (c) <= 'r') \
18025                      || ('s' <= (c) && (c) <= 'z'))
18026 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18027 #endif
18029 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18031 main ()
18033   int i;
18034   for (i = 0; i < 256; i++)
18035     if (XOR (islower (i), ISLOWER (i))
18036         || toupper (i) != TOUPPER (i))
18037       return 2;
18038   return 0;
18040 _ACEOF
18041 if ac_fn_c_try_run "$LINENO"; then :
18042   
18043 else
18044   ac_cv_header_stdc=no
18046 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18047   conftest.$ac_objext conftest.beam conftest.$ac_ext
18052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
18053 $as_echo "$ac_cv_header_stdc" >&6; }
18054 if test $ac_cv_header_stdc = yes; then
18055   
18056 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
18060 ac_header_dirent=no
18061 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
18062   as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
18063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
18064 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
18065 if eval \${$as_ac_Header+:} false; then :
18066   $as_echo_n "(cached) " >&6
18067 else
18068   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18069 /* end confdefs.h.  */
18070 #include <sys/types.h>
18071 #include <$ac_hdr>
18074 main ()
18076 if ((DIR *) 0)
18077 return 0;
18078   ;
18079   return 0;
18081 _ACEOF
18082 if ac_fn_c_try_compile "$LINENO"; then :
18083   eval "$as_ac_Header=yes"
18084 else
18085   eval "$as_ac_Header=no"
18087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18089 eval ac_res=\$$as_ac_Header
18090                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18091 $as_echo "$ac_res" >&6; }
18092 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18093   cat >>confdefs.h <<_ACEOF
18094 @%:@define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
18095 _ACEOF
18097 ac_header_dirent=$ac_hdr; break
18100 done
18101 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
18102 if test $ac_header_dirent = dirent.h; then
18103   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
18104 $as_echo_n "checking for library containing opendir... " >&6; }
18105 if ${ac_cv_search_opendir+:} false; then :
18106   $as_echo_n "(cached) " >&6
18107 else
18108   ac_func_search_save_LIBS=$LIBS
18109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18110 /* end confdefs.h.  */
18112 /* Override any GCC internal prototype to avoid an error.
18113    Use char because int might match the return type of a GCC
18114    builtin and then its argument prototype would still apply.  */
18115 #ifdef __cplusplus
18116 extern "C"
18117 #endif
18118 char opendir ();
18120 main ()
18122 return opendir ();
18123   ;
18124   return 0;
18126 _ACEOF
18127 for ac_lib in '' dir; do
18128   if test -z "$ac_lib"; then
18129     ac_res="none required"
18130   else
18131     ac_res=-l$ac_lib
18132     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
18133   fi
18134   if ac_fn_c_try_link "$LINENO"; then :
18135   ac_cv_search_opendir=$ac_res
18137 rm -f core conftest.err conftest.$ac_objext \
18138     conftest$ac_exeext
18139   if ${ac_cv_search_opendir+:} false; then :
18140   break
18142 done
18143 if ${ac_cv_search_opendir+:} false; then :
18144   
18145 else
18146   ac_cv_search_opendir=no
18148 rm conftest.$ac_ext
18149 LIBS=$ac_func_search_save_LIBS
18151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
18152 $as_echo "$ac_cv_search_opendir" >&6; }
18153 ac_res=$ac_cv_search_opendir
18154 if test "$ac_res" != no; then :
18155   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18156   
18159 else
18160   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
18161 $as_echo_n "checking for library containing opendir... " >&6; }
18162 if ${ac_cv_search_opendir+:} false; then :
18163   $as_echo_n "(cached) " >&6
18164 else
18165   ac_func_search_save_LIBS=$LIBS
18166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18167 /* end confdefs.h.  */
18169 /* Override any GCC internal prototype to avoid an error.
18170    Use char because int might match the return type of a GCC
18171    builtin and then its argument prototype would still apply.  */
18172 #ifdef __cplusplus
18173 extern "C"
18174 #endif
18175 char opendir ();
18177 main ()
18179 return opendir ();
18180   ;
18181   return 0;
18183 _ACEOF
18184 for ac_lib in '' x; do
18185   if test -z "$ac_lib"; then
18186     ac_res="none required"
18187   else
18188     ac_res=-l$ac_lib
18189     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
18190   fi
18191   if ac_fn_c_try_link "$LINENO"; then :
18192   ac_cv_search_opendir=$ac_res
18194 rm -f core conftest.err conftest.$ac_objext \
18195     conftest$ac_exeext
18196   if ${ac_cv_search_opendir+:} false; then :
18197   break
18199 done
18200 if ${ac_cv_search_opendir+:} false; then :
18201   
18202 else
18203   ac_cv_search_opendir=no
18205 rm conftest.$ac_ext
18206 LIBS=$ac_func_search_save_LIBS
18208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
18209 $as_echo "$ac_cv_search_opendir" >&6; }
18210 ac_res=$ac_cv_search_opendir
18211 if test "$ac_res" != no; then :
18212   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18213   
18218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
18219 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
18220 if ${ac_cv_header_stat_broken+:} false; then :
18221   $as_echo_n "(cached) " >&6
18222 else
18223   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18224 /* end confdefs.h.  */
18225 #include <sys/types.h>
18226 #include <sys/stat.h>
18228 #if defined S_ISBLK && defined S_IFDIR
18229 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
18230 #endif
18232 #if defined S_ISBLK && defined S_IFCHR
18233 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
18234 #endif
18236 #if defined S_ISLNK && defined S_IFREG
18237 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
18238 #endif
18240 #if defined S_ISSOCK && defined S_IFREG
18241 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
18242 #endif
18244 _ACEOF
18245 if ac_fn_c_try_compile "$LINENO"; then :
18246   ac_cv_header_stat_broken=no
18247 else
18248   ac_cv_header_stat_broken=yes
18250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
18253 $as_echo "$ac_cv_header_stat_broken" >&6; }
18254 if test $ac_cv_header_stat_broken = yes; then
18255   
18256 $as_echo "@%:@define STAT_MACROS_BROKEN 1" >>confdefs.h
18260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
18261 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
18262 if ${ac_cv_header_sys_wait_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 <sys/wait.h>
18269 #ifndef WEXITSTATUS
18270 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
18271 #endif
18272 #ifndef WIFEXITED
18273 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
18274 #endif
18277 main ()
18279   int s;
18280   wait (&s);
18281   s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
18282   ;
18283   return 0;
18285 _ACEOF
18286 if ac_fn_c_try_compile "$LINENO"; then :
18287   ac_cv_header_sys_wait_h=yes
18288 else
18289   ac_cv_header_sys_wait_h=no
18291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
18294 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
18295 if test $ac_cv_header_sys_wait_h = yes; then
18296   
18297 $as_echo "@%:@define HAVE_SYS_WAIT_H 1" >>confdefs.h
18301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be Included" >&5
18302 $as_echo_n "checking whether time.h and sys/time.h may both be Included... " >&6; }
18303 if ${ac_cv_header_time+:} false; then :
18304   $as_echo_n "(cached) " >&6
18305 else
18306   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18307 /* end confdefs.h.  */
18308 #include <sys/types.h>
18309 #include <sys/time.h>
18310 #include <time.h>
18313 main ()
18315 if ((struct tm *) 0)
18316 return 0;
18317   ;
18318   return 0;
18320 _ACEOF
18321 if ac_fn_c_try_compile "$LINENO"; then :
18322   ac_cv_header_time=yes
18323 else
18324   ac_cv_header_time=no
18326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
18329 $as_echo "$ac_cv_header_time" >&6; }
18330 if test $ac_cv_header_time = yes; then
18331   
18332 $as_echo "@%:@define TIME_WITH_SYS_TIME 1" >>confdefs.h
18336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether termios.h defines TIOCGWINSZ" >&5
18337 $as_echo_n "checking whether termios.h defines TIOCGWINSZ... " >&6; }
18338 if ${ac_cv_sys_tiocgwinsz_in_termios_h+:} false; then :
18339   $as_echo_n "(cached) " >&6
18340 else
18341   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18342 /* end confdefs.h.  */
18343 #include <sys/types.h>
18344 #include <termios.h>
18345 #ifdef TIOCGWINSZ
18346   yes
18347 #endif
18349 _ACEOF
18350 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18351   $EGREP "yes" >/dev/null 2>&1; then :
18352   ac_cv_sys_tiocgwinsz_in_termios_h=yes
18353 else
18354   ac_cv_sys_tiocgwinsz_in_termios_h=no
18356 rm -f conftest*
18359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_termios_h" >&5
18360 $as_echo "$ac_cv_sys_tiocgwinsz_in_termios_h" >&6; }
18362 if test $ac_cv_sys_tiocgwinsz_in_termios_h != yes; then
18363   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/ioctl.h defines TIOCGWINSZ" >&5
18364 $as_echo_n "checking whether sys/ioctl.h defines TIOCGWINSZ... " >&6; }
18365 if ${ac_cv_sys_tiocgwinsz_in_sys_ioctl_h+:} false; then :
18366   $as_echo_n "(cached) " >&6
18367 else
18368   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18369 /* end confdefs.h.  */
18370 #include <sys/types.h>
18371 #include <sys/ioctl.h>
18372 #ifdef TIOCGWINSZ
18373   yes
18374 #endif
18376 _ACEOF
18377 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18378   $EGREP "yes" >/dev/null 2>&1; then :
18379   ac_cv_sys_tiocgwinsz_in_sys_ioctl_h=yes
18380 else
18381   ac_cv_sys_tiocgwinsz_in_sys_ioctl_h=no
18383 rm -f conftest*
18386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&5
18387 $as_echo "$ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&6; }
18389   if test $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h = yes; then
18390     
18391 $as_echo "@%:@define GWINSZ_IN_SYS_IOCTL 1" >>confdefs.h
18393   fi
18397 for ac_header in unistd.h
18398 do :
18399   ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
18400 if test "x$ac_cv_header_unistd_h" = xyes; then :
18401   cat >>confdefs.h <<_ACEOF
18402 @%:@define HAVE_UNISTD_H 1
18403 _ACEOF
18407 done
18410 for ac_header in errno.h \
18411                   ctype.h \
18412                   fcntl.h \
18413                   signal.h \
18414                   setjmp.h \
18415                   memory.h \
18416                   sys/param.h \
18417                   sys/socket.h \
18418                   sys/uio.h \
18419                   sys/un.h \
18420                   limits.h \
18421                   wchar.h \
18422                   sys/poll.h \
18423                   stropts.h \
18424                   netdb.h \
18425                   syslog.h \
18426                   sys/syslog.h \
18427                   locale.h \
18428                   langinfo.h \
18429                   utime.h \
18430                   sys/utime.h \
18431                   pthread.h \
18432                   pwd.h \
18433                   assert.h
18434 do :
18435   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18436 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18437 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18438   cat >>confdefs.h <<_ACEOF
18439 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18440 _ACEOF
18444 done
18447 ac_fn_c_check_header_mongrel "$LINENO" "termios.h" "ac_cv_header_termios_h" "$ac_includes_default"
18448 if test "x$ac_cv_header_termios_h" = xyes; then :
18449   
18450 $as_echo "@%:@define HAS_TERMIOS 1" >>confdefs.h
18452 else
18453   
18454     ac_fn_c_check_header_mongrel "$LINENO" "termio.h" "ac_cv_header_termio_h" "$ac_includes_default"
18455 if test "x$ac_cv_header_termio_h" = xyes; then :
18456   
18457 $as_echo "@%:@define HAS_TERMIO 1" >>confdefs.h
18459 else
18460   
18461         ac_fn_c_check_header_mongrel "$LINENO" "sgtty.h" "ac_cv_header_sgtty_h" "$ac_includes_default"
18462 if test "x$ac_cv_header_sgtty_h" = xyes; then :
18463   
18464 $as_echo "@%:@define HAS_SGTTY 1" >>confdefs.h
18466 else
18467   
18468           as_fn_error $? "Unable to figure out terminal control method" "$LINENO" 5
18469         
18473       
18477   
18484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
18485 $as_echo_n "checking return type of signal handlers... " >&6; }
18486 if ${ac_cv_type_signal+:} false; then :
18487   $as_echo_n "(cached) " >&6
18488 else
18489   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18490 /* end confdefs.h.  */
18491 #include <sys/types.h>
18492 #include <signal.h>
18495 main ()
18497 return *(signal (0, 0)) (0) == 1;
18498   ;
18499   return 0;
18501 _ACEOF
18502 if ac_fn_c_try_compile "$LINENO"; then :
18503   ac_cv_type_signal=int
18504 else
18505   ac_cv_type_signal=void
18507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
18510 $as_echo "$ac_cv_type_signal" >&6; }
18512 cat >>confdefs.h <<_ACEOF
18513 @%:@define RETSIGTYPE $ac_cv_type_signal
18514 _ACEOF
18517 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
18518 if test "x$ac_cv_type_size_t" = xyes; then :
18519   
18520 else
18521   
18522 cat >>confdefs.h <<_ACEOF
18523 @%:@define size_t unsigned int
18524 _ACEOF
18528 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
18529 if test "x$ac_cv_type_mode_t" = xyes; then :
18530   
18531 else
18532   
18533 cat >>confdefs.h <<_ACEOF
18534 @%:@define mode_t int
18535 _ACEOF
18539 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
18540 if test "x$ac_cv_type_pid_t" = xyes; then :
18541   
18542 else
18543   
18544 cat >>confdefs.h <<_ACEOF
18545 @%:@define pid_t int
18546 _ACEOF
18550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
18551 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
18552 if ${ac_cv_type_uid_t+:} false; then :
18553   $as_echo_n "(cached) " >&6
18554 else
18555   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18556 /* end confdefs.h.  */
18557 #include <sys/types.h>
18559 _ACEOF
18560 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18561   $EGREP "uid_t" >/dev/null 2>&1; then :
18562   ac_cv_type_uid_t=yes
18563 else
18564   ac_cv_type_uid_t=no
18566 rm -f conftest*
18569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
18570 $as_echo "$ac_cv_type_uid_t" >&6; }
18571 if test $ac_cv_type_uid_t = no; then
18572   
18573 $as_echo "@%:@define uid_t int" >>confdefs.h
18575   
18576 $as_echo "@%:@define gid_t int" >>confdefs.h
18580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
18581 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
18582 if ${ac_cv_struct_tm+:} false; then :
18583   $as_echo_n "(cached) " >&6
18584 else
18585   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18586 /* end confdefs.h.  */
18587 #include <sys/types.h>
18588 #include <time.h>
18591 main ()
18593 struct tm tm;
18594                                      int *p = &tm.tm_sec;
18595                                      return !p;
18596   ;
18597   return 0;
18599 _ACEOF
18600 if ac_fn_c_try_compile "$LINENO"; then :
18601   ac_cv_struct_tm=time.h
18602 else
18603   ac_cv_struct_tm=sys/time.h
18605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
18608 $as_echo "$ac_cv_struct_tm" >&6; }
18609 if test $ac_cv_struct_tm = sys/time.h; then
18610   
18611 $as_echo "@%:@define TM_IN_SYS_TIME 1" >>confdefs.h
18616 ac_fn_c_check_type "$LINENO" "union wait" "ac_cv_type_union_wait" "$ac_includes_default"
18617 if test "x$ac_cv_type_union_wait" = xyes; then :
18618   
18619 cat >>confdefs.h <<_ACEOF
18620 @%:@define HAVE_UNION_WAIT 1
18621 _ACEOF
18627 for ac_header in stdint.h
18628 do :
18629   ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
18630 if test "x$ac_cv_header_stdint_h" = xyes; then :
18631   cat >>confdefs.h <<_ACEOF
18632 @%:@define HAVE_STDINT_H 1
18633 _ACEOF
18634  uint16=uint16_t
18635 else
18636   
18637   for ac_header in inttypes.h
18638 do :
18639   ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
18640 if test "x$ac_cv_header_inttypes_h" = xyes; then :
18641   cat >>confdefs.h <<_ACEOF
18642 @%:@define HAVE_INTTYPES_H 1
18643 _ACEOF
18644  uint16=uint16_t
18645 else
18646   
18647     for ac_header in sys/types.h
18648 do :
18649   ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
18650 if test "x$ac_cv_header_sys_types_h" = xyes; then :
18651   cat >>confdefs.h <<_ACEOF
18652 @%:@define HAVE_SYS_TYPES_H 1
18653 _ACEOF
18654  uint16=u_int16_t
18655 else
18656   
18657       # The cast to long int works around a bug in the HP C Compiler
18658 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18659 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18660 # This bug is HP SR number 8606223364.
18661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned short" >&5
18662 $as_echo_n "checking size of unsigned short... " >&6; }
18663 if ${ac_cv_sizeof_unsigned_short+:} false; then :
18664   $as_echo_n "(cached) " >&6
18665 else
18666   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned short))" "ac_cv_sizeof_unsigned_short"        "$ac_includes_default"; then :
18667   
18668 else
18669   if test "$ac_cv_type_unsigned_short" = yes; then
18670      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18671 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18672 as_fn_error 77 "cannot compute sizeof (unsigned short)
18673 See \`config.log' for more details" "$LINENO" 5; }
18674    else
18675      ac_cv_sizeof_unsigned_short=0
18676    fi
18680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_short" >&5
18681 $as_echo "$ac_cv_sizeof_unsigned_short" >&6; }
18685 cat >>confdefs.h <<_ACEOF
18686 @%:@define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
18687 _ACEOF
18690       if test $ac_cv_sizeof_unsigned_short -eq 2 ; then
18691         uint16="unsigned short"
18692       else
18693         # The cast to long int works around a bug in the HP C Compiler
18694 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18695 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18696 # This bug is HP SR number 8606223364.
18697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
18698 $as_echo_n "checking size of unsigned int... " >&6; }
18699 if ${ac_cv_sizeof_unsigned_int+:} false; then :
18700   $as_echo_n "(cached) " >&6
18701 else
18702   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int"        "$ac_includes_default"; then :
18703   
18704 else
18705   if test "$ac_cv_type_unsigned_int" = yes; then
18706      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18707 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18708 as_fn_error 77 "cannot compute sizeof (unsigned int)
18709 See \`config.log' for more details" "$LINENO" 5; }
18710    else
18711      ac_cv_sizeof_unsigned_int=0
18712    fi
18716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
18717 $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
18721 cat >>confdefs.h <<_ACEOF
18722 @%:@define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
18723 _ACEOF
18726         if $ac_cv_sizeof_unsigned_int -eq 2 ; then
18727           uint16="unsigned int"
18728         else
18729           as_fn_error $? "Unable to determine 16 bit integer type" "$LINENO" 5
18730         fi
18731       fi
18732     
18735 done
18737   
18740 done
18745 done
18748 cat >>confdefs.h <<_ACEOF
18749 @%:@define UINT16 $uint16
18750 _ACEOF
18753 for ac_header in stdint.h
18754 do :
18755   ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
18756 if test "x$ac_cv_header_stdint_h" = xyes; then :
18757   cat >>confdefs.h <<_ACEOF
18758 @%:@define HAVE_STDINT_H 1
18759 _ACEOF
18760  uint32=uint32_t
18761 else
18762   
18763   for ac_header in inttypes.h
18764 do :
18765   ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
18766 if test "x$ac_cv_header_inttypes_h" = xyes; then :
18767   cat >>confdefs.h <<_ACEOF
18768 @%:@define HAVE_INTTYPES_H 1
18769 _ACEOF
18770  uint32=uint32_t
18771 else
18772   
18773     for ac_header in sys/types.h
18774 do :
18775   ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
18776 if test "x$ac_cv_header_sys_types_h" = xyes; then :
18777   cat >>confdefs.h <<_ACEOF
18778 @%:@define HAVE_SYS_TYPES_H 1
18779 _ACEOF
18780  uint32=u_int32_t
18781 else
18782   
18783       # The cast to long int works around a bug in the HP C Compiler
18784 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18785 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18786 # This bug is HP SR number 8606223364.
18787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
18788 $as_echo_n "checking size of unsigned int... " >&6; }
18789 if ${ac_cv_sizeof_unsigned_int+:} false; then :
18790   $as_echo_n "(cached) " >&6
18791 else
18792   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int"        "$ac_includes_default"; then :
18793   
18794 else
18795   if test "$ac_cv_type_unsigned_int" = yes; then
18796      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18797 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18798 as_fn_error 77 "cannot compute sizeof (unsigned int)
18799 See \`config.log' for more details" "$LINENO" 5; }
18800    else
18801      ac_cv_sizeof_unsigned_int=0
18802    fi
18806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
18807 $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
18811 cat >>confdefs.h <<_ACEOF
18812 @%:@define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
18813 _ACEOF
18816       if test $ac_cv_sizeof_unsigned_int -eq 4 ; then
18817         uint32="unsigned int"
18818       else
18819         # The cast to long int works around a bug in the HP C Compiler
18820 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18821 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18822 # This bug is HP SR number 8606223364.
18823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5
18824 $as_echo_n "checking size of unsigned long... " >&6; }
18825 if ${ac_cv_sizeof_unsigned_long+:} false; then :
18826   $as_echo_n "(cached) " >&6
18827 else
18828   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long"        "$ac_includes_default"; then :
18829   
18830 else
18831   if test "$ac_cv_type_unsigned_long" = yes; then
18832      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18833 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18834 as_fn_error 77 "cannot compute sizeof (unsigned long)
18835 See \`config.log' for more details" "$LINENO" 5; }
18836    else
18837      ac_cv_sizeof_unsigned_long=0
18838    fi
18842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5
18843 $as_echo "$ac_cv_sizeof_unsigned_long" >&6; }
18847 cat >>confdefs.h <<_ACEOF
18848 @%:@define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
18849 _ACEOF
18852         if $ac_cv_sizeof_unsigned_long -eq 4 ; then
18853           uint32="unsigned long"
18854         else
18855           as_fn_error $? "Unable to determine 32 bit integer type" "$LINENO" 5
18856         fi
18857       fi
18858     
18861 done
18863   
18866 done
18871 done
18874 cat >>confdefs.h <<_ACEOF
18875 @%:@define UINT32 $uint32
18876 _ACEOF
18879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking argument pointer type of qsort compare function and base" >&5
18880 $as_echo_n "checking argument pointer type of qsort compare function and base... " >&6; }
18881 if ${ac_cv_func_qsort_argtype+:} false; then :
18882   $as_echo_n "(cached) " >&6
18883 else
18884   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18885 /* end confdefs.h.  */
18887 #if     HAVE_STDLIB_H
18888 #include "stdlib.h"
18889 #endif
18891 extern void *base;
18892 extern sortf(const void *, const void *);
18893 int sortf(a, b)
18894   const void *a;
18895   const void *b; { return 0; }
18898 main ()
18901 qsort(base, 2, sizeof(char *), sortf);
18903   ;
18904   return 0;
18906 _ACEOF
18907 if ac_fn_c_try_compile "$LINENO"; then :
18908   ac_cv_func_qsort_argtype=void
18909 else
18910   ac_cv_func_qsort_argtype=char
18912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_qsort_argtype" >&5
18916 $as_echo "$ac_cv_func_qsort_argtype" >&6; }
18918 cat >>confdefs.h <<_ACEOF
18919 @%:@define qsort_t $ac_cv_func_qsort_argtype
18920 _ACEOF
18924 for ac_header in sys/select.h sys/socket.h
18925 do :
18926   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18927 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18928 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18929   cat >>confdefs.h <<_ACEOF
18930 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18931 _ACEOF
18935 done
18937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
18938 $as_echo_n "checking types of arguments for select... " >&6; }
18939 if ${ac_cv_func_select_args+:} false; then :
18940   $as_echo_n "(cached) " >&6
18941 else
18942   for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
18943  for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
18944   for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
18945    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18946 /* end confdefs.h.  */
18947 $ac_includes_default
18948 #ifdef HAVE_SYS_SELECT_H
18949 # include <sys/select.h>
18950 #endif
18951 #ifdef HAVE_SYS_SOCKET_H
18952 # include <sys/socket.h>
18953 #endif
18956 main ()
18958 extern int select ($ac_arg1,
18959                                             $ac_arg234, $ac_arg234, $ac_arg234,
18960                                             $ac_arg5);
18961   ;
18962   return 0;
18964 _ACEOF
18965 if ac_fn_c_try_compile "$LINENO"; then :
18966   ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
18968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18969   done
18970  done
18971 done
18972 # Provide a safe default value.
18973 : "${ac_cv_func_select_args=int,int *,struct timeval *}"
18976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
18977 $as_echo "$ac_cv_func_select_args" >&6; }
18978 ac_save_IFS=$IFS; IFS=','
18979 set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
18980 IFS=$ac_save_IFS
18981 shift
18983 cat >>confdefs.h <<_ACEOF
18984 @%:@define SELECT_TYPE_ARG1 $1
18985 _ACEOF
18988 cat >>confdefs.h <<_ACEOF
18989 @%:@define SELECT_TYPE_ARG234 ($2)
18990 _ACEOF
18993 cat >>confdefs.h <<_ACEOF
18994 @%:@define SELECT_TYPE_ARG5 ($3)
18995 _ACEOF
18997 rm -f conftest*
19000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5
19001 $as_echo_n "checking for working strcoll... " >&6; }
19002 if ${ac_cv_func_strcoll_works+:} false; then :
19003   $as_echo_n "(cached) " >&6
19004 else
19005   if test "$cross_compiling" = yes; then :
19006   ac_cv_func_strcoll_works=no
19007 else
19008   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19009 /* end confdefs.h.  */
19010 $ac_includes_default
19012 main ()
19014 return (strcoll ("abc", "def") >= 0 ||
19015          strcoll ("ABC", "DEF") >= 0 ||
19016          strcoll ("123", "456") >= 0)
19017   ;
19018   return 0;
19020 _ACEOF
19021 if ac_fn_c_try_run "$LINENO"; then :
19022   ac_cv_func_strcoll_works=yes
19023 else
19024   ac_cv_func_strcoll_works=no
19026 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19027   conftest.$ac_objext conftest.beam conftest.$ac_ext
19031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strcoll_works" >&5
19032 $as_echo "$ac_cv_func_strcoll_works" >&6; }
19033 if test $ac_cv_func_strcoll_works = yes; then
19034   
19035 $as_echo "@%:@define HAVE_STRCOLL 1" >>confdefs.h
19041 for ac_header in vfork.h
19042 do :
19043   ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
19044 if test "x$ac_cv_header_vfork_h" = xyes; then :
19045   cat >>confdefs.h <<_ACEOF
19046 @%:@define HAVE_VFORK_H 1
19047 _ACEOF
19051 done
19053 for ac_func in fork vfork
19054 do :
19055   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19056 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19057 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19058   cat >>confdefs.h <<_ACEOF
19059 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19060 _ACEOF
19063 done
19065 if test "x$ac_cv_func_fork" = xyes; then
19066   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
19067 $as_echo_n "checking for working fork... " >&6; }
19068 if ${ac_cv_func_fork_works+:} false; then :
19069   $as_echo_n "(cached) " >&6
19070 else
19071   if test "$cross_compiling" = yes; then :
19072   ac_cv_func_fork_works=cross
19073 else
19074   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19075 /* end confdefs.h.  */
19076 $ac_includes_default
19078 main ()
19081           /* By Ruediger Kuhlmann. */
19082           return fork () < 0;
19083         
19084   ;
19085   return 0;
19087 _ACEOF
19088 if ac_fn_c_try_run "$LINENO"; then :
19089   ac_cv_func_fork_works=yes
19090 else
19091   ac_cv_func_fork_works=no
19093 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19094   conftest.$ac_objext conftest.beam conftest.$ac_ext
19098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
19099 $as_echo "$ac_cv_func_fork_works" >&6; }
19101 else
19102   ac_cv_func_fork_works=$ac_cv_func_fork
19104 if test "x$ac_cv_func_fork_works" = xcross; then
19105   case $host in
19106     *-*-amigaos* | *-*-msdosdjgpp*)
19107       # Override, as these systems have only a dummy fork() stub
19108       ac_cv_func_fork_works=no
19109       ;;
19110     *)
19111       ac_cv_func_fork_works=yes
19112       ;;
19113   esac
19114   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
19115 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
19117 ac_cv_func_vfork_works=$ac_cv_func_vfork
19118 if test "x$ac_cv_func_vfork" = xyes; then
19119   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
19120 $as_echo_n "checking for working vfork... " >&6; }
19121 if ${ac_cv_func_vfork_works+:} false; then :
19122   $as_echo_n "(cached) " >&6
19123 else
19124   if test "$cross_compiling" = yes; then :
19125   ac_cv_func_vfork_works=cross
19126 else
19127   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19128 /* end confdefs.h.  */
19129 /* Thanks to Paul Eggert for this test.  */
19130 $ac_includes_default
19131 #include <sys/wait.h>
19132 #ifdef HAVE_VFORK_H
19133 # include <vfork.h>
19134 #endif
19135 /* On some sparc systems, changes by the child to local and incoming
19136    argument registers are propagated back to the parent.  The compiler
19137    is told about this with #include <vfork.h>, but some compilers
19138    (e.g. gcc -O) don't grok <vfork.h>.  Test for this by using a
19139    static variable whose address is put into a register that is
19140    clobbered by the vfork.  */
19141 static void
19142 #ifdef __cplusplus
19143 sparc_address_test (int arg)
19144 # else
19145 sparc_address_test (arg) int arg;
19146 #endif
19148   static pid_t child;
19149   if (!child) {
19150     child = vfork ();
19151     if (child < 0) {
19152       perror ("vfork");
19153       _exit(2);
19154     }
19155     if (!child) {
19156       arg = getpid();
19157       write(-1, "", 0);
19158       _exit (arg);
19159     }
19160   }
19164 main ()
19166   pid_t parent = getpid ();
19167   pid_t child;
19169   sparc_address_test (0);
19171   child = vfork ();
19173   if (child == 0) {
19174     /* Here is another test for sparc vfork register problems.  This
19175        test uses lots of local variables, at least as many local
19176        variables as main has allocated so far including compiler
19177        temporaries.  4 locals are enough for gcc 1.40.3 on a Solaris
19178        4.1.3 sparc, but we use 8 to be safe.  A buggy compiler should
19179        reuse the register of parent for one of the local variables,
19180        since it will think that parent can't possibly be used any more
19181        in this routine.  Assigning to the local variable will thus
19182        munge parent in the parent process.  */
19183     pid_t
19184       p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
19185       p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
19186     /* Convince the compiler that p..p7 are live; otherwise, it might
19187        use the same hardware register for all 8 local variables.  */
19188     if (p != p1 || p != p2 || p != p3 || p != p4
19189         || p != p5 || p != p6 || p != p7)
19190       _exit(1);
19192     /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
19193        from child file descriptors.  If the child closes a descriptor
19194        before it execs or exits, this munges the parent's descriptor
19195        as well.  Test for this by closing stdout in the child.  */
19196     _exit(close(fileno(stdout)) != 0);
19197   } else {
19198     int status;
19199     struct stat st;
19201     while (wait(&status) != child)
19202       ;
19203     return (
19204          /* Was there some problem with vforking?  */
19205          child < 0
19207          /* Did the child fail?  (This shouldn't happen.)  */
19208          || status
19210          /* Did the vfork/compiler bug occur?  */
19211          || parent != getpid()
19213          /* Did the file descriptor bug occur?  */
19214          || fstat(fileno(stdout), &st) != 0
19215          );
19216   }
19218 _ACEOF
19219 if ac_fn_c_try_run "$LINENO"; then :
19220   ac_cv_func_vfork_works=yes
19221 else
19222   ac_cv_func_vfork_works=no
19224 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19225   conftest.$ac_objext conftest.beam conftest.$ac_ext
19229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
19230 $as_echo "$ac_cv_func_vfork_works" >&6; }
19233 if test "x$ac_cv_func_fork_works" = xcross; then
19234   ac_cv_func_vfork_works=$ac_cv_func_vfork
19235   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
19236 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
19239 if test "x$ac_cv_func_vfork_works" = xyes; then
19240   
19241 $as_echo "@%:@define HAVE_WORKING_VFORK 1" >>confdefs.h
19243 else
19244   
19245 $as_echo "@%:@define vfork fork" >>confdefs.h
19248 if test "x$ac_cv_func_fork_works" = xyes; then
19249   
19250 $as_echo "@%:@define HAVE_WORKING_FORK 1" >>confdefs.h
19254 for ac_func in strchr \
19255                 memcpy \
19256                 strtol \
19257                 strtoul \
19258                 select \
19259                 poll \
19260                 qsort \
19261                 getuid \
19262                 getpwuid \
19263                 getpwnam \
19264                 gettimeofday \
19265                 tmpfile \
19266                 uname \
19267                 rename \
19268                 read \
19269                 signal \
19270                 setjmp \
19271                 chown \
19272                 wait4 \
19273                 waitpid \
19274                 wait \
19275                 srandom \
19276                 popen \
19277                 pclose \
19278                 fsync \
19279                 truncate \
19280                 listen \
19281                 wcwidth \
19282                 mbstowcs \
19283                 wcrtomb \
19284                 putenv \
19285                 setenv
19286 do :
19287   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19288 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19289 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19290   cat >>confdefs.h <<_ACEOF
19291 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19292 _ACEOF
19295 done
19298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostname" >&5
19299 $as_echo_n "checking for library containing gethostname... " >&6; }
19300 if ${ac_cv_search_gethostname+:} false; then :
19301   $as_echo_n "(cached) " >&6
19302 else
19303   ac_func_search_save_LIBS=$LIBS
19304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19305 /* end confdefs.h.  */
19307 /* Override any GCC internal prototype to avoid an error.
19308    Use char because int might match the return type of a GCC
19309    builtin and then its argument prototype would still apply.  */
19310 #ifdef __cplusplus
19311 extern "C"
19312 #endif
19313 char gethostname ();
19315 main ()
19317 return gethostname ();
19318   ;
19319   return 0;
19321 _ACEOF
19322 for ac_lib in '' nsl; do
19323   if test -z "$ac_lib"; then
19324     ac_res="none required"
19325   else
19326     ac_res=-l$ac_lib
19327     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19328   fi
19329   if ac_fn_c_try_link "$LINENO"; then :
19330   ac_cv_search_gethostname=$ac_res
19332 rm -f core conftest.err conftest.$ac_objext \
19333     conftest$ac_exeext
19334   if ${ac_cv_search_gethostname+:} false; then :
19335   break
19337 done
19338 if ${ac_cv_search_gethostname+:} false; then :
19339   
19340 else
19341   ac_cv_search_gethostname=no
19343 rm conftest.$ac_ext
19344 LIBS=$ac_func_search_save_LIBS
19346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostname" >&5
19347 $as_echo "$ac_cv_search_gethostname" >&6; }
19348 ac_res=$ac_cv_search_gethostname
19349 if test "$ac_res" != no; then :
19350   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19351   
19355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
19356 $as_echo_n "checking for library containing socket... " >&6; }
19357 if ${ac_cv_search_socket+:} false; then :
19358   $as_echo_n "(cached) " >&6
19359 else
19360   ac_func_search_save_LIBS=$LIBS
19361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19362 /* end confdefs.h.  */
19364 /* Override any GCC internal prototype to avoid an error.
19365    Use char because int might match the return type of a GCC
19366    builtin and then its argument prototype would still apply.  */
19367 #ifdef __cplusplus
19368 extern "C"
19369 #endif
19370 char socket ();
19372 main ()
19374 return socket ();
19375   ;
19376   return 0;
19378 _ACEOF
19379 for ac_lib in '' socket; do
19380   if test -z "$ac_lib"; then
19381     ac_res="none required"
19382   else
19383     ac_res=-l$ac_lib
19384     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19385   fi
19386   if ac_fn_c_try_link "$LINENO"; then :
19387   ac_cv_search_socket=$ac_res
19389 rm -f core conftest.err conftest.$ac_objext \
19390     conftest$ac_exeext
19391   if ${ac_cv_search_socket+:} false; then :
19392   break
19394 done
19395 if ${ac_cv_search_socket+:} false; then :
19396   
19397 else
19398   ac_cv_search_socket=no
19400 rm conftest.$ac_ext
19401 LIBS=$ac_func_search_save_LIBS
19403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
19404 $as_echo "$ac_cv_search_socket" >&6; }
19405 ac_res=$ac_cv_search_socket
19406 if test "$ac_res" != no; then :
19407   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19408   
19409 else
19410   
19411     WEB_BUILD=
19412   
19416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing bind" >&5
19417 $as_echo_n "checking for library containing bind... " >&6; }
19418 if ${ac_cv_search_bind+:} false; then :
19419   $as_echo_n "(cached) " >&6
19420 else
19421   ac_func_search_save_LIBS=$LIBS
19422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19423 /* end confdefs.h.  */
19425 /* Override any GCC internal prototype to avoid an error.
19426    Use char because int might match the return type of a GCC
19427    builtin and then its argument prototype would still apply.  */
19428 #ifdef __cplusplus
19429 extern "C"
19430 #endif
19431 char bind ();
19433 main ()
19435 return bind ();
19436   ;
19437   return 0;
19439 _ACEOF
19440 for ac_lib in '' bind; do
19441   if test -z "$ac_lib"; then
19442     ac_res="none required"
19443   else
19444     ac_res=-l$ac_lib
19445     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19446   fi
19447   if ac_fn_c_try_link "$LINENO"; then :
19448   ac_cv_search_bind=$ac_res
19450 rm -f core conftest.err conftest.$ac_objext \
19451     conftest$ac_exeext
19452   if ${ac_cv_search_bind+:} false; then :
19453   break
19455 done
19456 if ${ac_cv_search_bind+:} false; then :
19457   
19458 else
19459   ac_cv_search_bind=no
19461 rm conftest.$ac_ext
19462 LIBS=$ac_func_search_save_LIBS
19464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_bind" >&5
19465 $as_echo "$ac_cv_search_bind" >&6; }
19466 ac_res=$ac_cv_search_bind
19467 if test "$ac_res" != no; then :
19468   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19469   
19470 else
19471   
19472     WEB_BUILD=
19473   
19477 for ac_func in sigaction sigemptyset sigaddset sigprocmask
19478 do :
19479   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19480 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19481 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19482   cat >>confdefs.h <<_ACEOF
19483 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19484 _ACEOF
19486     
19487 $as_echo "@%:@define POSIX_SIGNALS /**/" >>confdefs.h
19489   
19490 else
19491   
19492     for ac_func in sigset sigrelse
19493 do :
19494   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19495 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19496 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19497   cat >>confdefs.h <<_ACEOF
19498 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19499 _ACEOF
19501         
19502 $as_echo "@%:@define SYSV_SIGNALS /**/" >>confdefs.h
19504       
19506 done
19508   
19510 done
19513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing syslog" >&5
19514 $as_echo_n "checking for library containing syslog... " >&6; }
19515 if ${ac_cv_search_syslog+:} false; then :
19516   $as_echo_n "(cached) " >&6
19517 else
19518   ac_func_search_save_LIBS=$LIBS
19519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19520 /* end confdefs.h.  */
19522 /* Override any GCC internal prototype to avoid an error.
19523    Use char because int might match the return type of a GCC
19524    builtin and then its argument prototype would still apply.  */
19525 #ifdef __cplusplus
19526 extern "C"
19527 #endif
19528 char syslog ();
19530 main ()
19532 return syslog ();
19533   ;
19534   return 0;
19536 _ACEOF
19537 for ac_lib in '' bsd socket inet; do
19538   if test -z "$ac_lib"; then
19539     ac_res="none required"
19540   else
19541     ac_res=-l$ac_lib
19542     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19543   fi
19544   if ac_fn_c_try_link "$LINENO"; then :
19545   ac_cv_search_syslog=$ac_res
19547 rm -f core conftest.err conftest.$ac_objext \
19548     conftest$ac_exeext
19549   if ${ac_cv_search_syslog+:} false; then :
19550   break
19552 done
19553 if ${ac_cv_search_syslog+:} false; then :
19554   
19555 else
19556   ac_cv_search_syslog=no
19558 rm conftest.$ac_ext
19559 LIBS=$ac_func_search_save_LIBS
19561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_syslog" >&5
19562 $as_echo "$ac_cv_search_syslog" >&6; }
19563 ac_res=$ac_cv_search_syslog
19564 if test "$ac_res" != no; then :
19565   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19566   
19567     
19568 $as_echo "@%:@define HAVE_SYSLOG 1" >>confdefs.h
19570   
19575 if test -n "$alpine_with_local_maildir" ; then
19576     alpine_local_maildir=$alpine_with_local_maildir
19577 elif test -d /var/spool/mail ; then
19578     alpine_local_maildir="/var/spool/mail"
19579 elif test -d /var/mail ; then
19580     alpine_local_maildir="/var/mail"
19581 else
19582     alpine_local_maildir="/usr/spool/mail"
19585 if test -n "$alpine_with_c_client_target" ; then
19586     alpine_c_client_target=$alpine_with_c_client_target
19590 cat >>confdefs.h <<_ACEOF
19591 @%:@define SYSTYPE "$systype"
19592 _ACEOF
19595 cat >>confdefs.h <<_ACEOF
19596 @%:@define C_FILESEP '$alpine_path_delim'
19597 _ACEOF
19600 cat >>confdefs.h <<_ACEOF
19601 @%:@define S_FILESEP "$alpine_path_delim"
19602 _ACEOF
19605 cat >>confdefs.h <<_ACEOF
19606 @%:@define MAILDIR "$alpine_local_maildir"
19607 _ACEOF
19610 cat >>confdefs.h <<_ACEOF
19611 @%:@define MODE_READONLY $alpine_mode_readonly
19612 _ACEOF
19615 C_CLIENT_TARGET=$alpine_c_client_target
19617 C_CLIENT_WITH_IPV6=$c_client_ip6
19619 if test "x$alpine_SSLTYPE" = "xnone" ; then 
19620   { $as_echo "$as_me:${as_lineno-$LINENO}: * * *  NOT Including SSL Support" >&5
19621 $as_echo "$as_me: * * *  NOT Including SSL Support" >&6;}
19622   c_client_specials="${c_client_specials}SSLTYPE=none "
19623 else
19624   
19625   if test -n "$alpine_SSLCERTS" -a -d "$alpine_SSLCERTS" ; then
19626     certdir="$alpine_SSLCERTS"
19627   elif test -n "$alpine_SSLDIR" -a -d "${alpine_SSLDIR}/certs" ; then
19628     certdir="${alpine_SSLDIR}/certs"
19629   elif test -n "$alpine_SSLDIR" -a -d "${alpine_SSLDIR}/ssl/certs" ; then
19630     certdir="${alpine_SSLDIR}/ssl/certs"
19631   else
19632     { $as_echo "$as_me:${as_lineno-$LINENO}: SSL Problem: certificate directory not found" >&5
19633 $as_echo "$as_me: SSL Problem: certificate directory not found" >&6;}
19634   fi
19636   if test "x$with_smime" != "xno" ; then
19637     if test -n "$certdir" ; then
19638       
19639 $as_echo "@%:@define SMIME /**/" >>confdefs.h
19641       
19642 cat >>confdefs.h <<_ACEOF
19643 @%:@define SMIME_SSLCERTS "$certdir"
19644 _ACEOF
19646     fi
19647   fi
19649   if test ! -f ${certdir}/factory.pem ; then
19650     { $as_echo "$as_me:${as_lineno-$LINENO}: * * * SSL file \"${certdir}/factory.pem\" is missing." >&5
19651 $as_echo "$as_me: * * * SSL file \"${certdir}/factory.pem\" is missing." >&6;}
19652     { $as_echo "$as_me:${as_lineno-$LINENO}: * * *   This might indicate that CA certs did not get properly" >&5
19653 $as_echo "$as_me: * * *   This might indicate that CA certs did not get properly" >&6;}
19654     { $as_echo "$as_me:${as_lineno-$LINENO}: * * *   installed.  If you get certificate validation failures" >&5
19655 $as_echo "$as_me: * * *   installed.  If you get certificate validation failures" >&6;}
19656     { $as_echo "$as_me:${as_lineno-$LINENO}: * * *   in Alpine, this might be the reason for them." >&5
19657 $as_echo "$as_me: * * *   in Alpine, this might be the reason for them." >&6;}
19658   fi
19660   if test -z "`ls ${certdir} | $EGREP '^@<:@0-9A-Fa-f@:>@{8}\.@<:@0-9@:>@'`" ; then
19661     { $as_echo "$as_me:${as_lineno-$LINENO}: * * * No 8-hexdigit symlinks in certificate directory \"${certdir}\"." >&5
19662 $as_echo "$as_me: * * * No 8-hexdigit symlinks in certificate directory \"${certdir}\"." >&6;}
19663     { $as_echo "$as_me:${as_lineno-$LINENO}: * * *   This might indicate that CA certs did not get properly" >&5
19664 $as_echo "$as_me: * * *   This might indicate that CA certs did not get properly" >&6;}
19665     { $as_echo "$as_me:${as_lineno-$LINENO}: * * *   installed.  If you get certificate validation failures" >&5
19666 $as_echo "$as_me: * * *   installed.  If you get certificate validation failures" >&6;}
19667     { $as_echo "$as_me:${as_lineno-$LINENO}: * * *   in Alpine, this might be the reason for them." >&5
19668 $as_echo "$as_me: * * *   in Alpine, this might be the reason for them." >&6;}
19669   fi
19671   if test -n "$alpine_SSLINCLUDE" ; then
19672     c_client_specials="${c_client_specials}SSLINCLUDE=$alpine_SSLINCLUDE "
19673   fi
19675   if test -n "$alpine_SSLLIB" ; then
19676     c_client_specials="${c_client_specials}SSLLIB=$alpine_SSLLIB "
19677   fi
19679   if test -n "$alpine_SSLDIR" ; then
19680     c_client_specials="${c_client_specials}SSLDIR=$alpine_SSLDIR "
19681   fi
19683   if test -n "$alpine_SSLCERTS" ; then
19684     c_client_specials="${c_client_specials}SSLCERTS=$alpine_SSLCERTS "
19685   fi
19687   if test -n "$alpine_SSLKEYS" ; then
19688       c_client_specials="${c_client_specials}SSLKEYS=$alpine_SSLKEYS "
19689   fi
19692 if test "x$alpine_GSSTYPE" != "xnone" ; then
19693   c_client_specials="${c_client_specials}EXTRAAUTHENTICATORS=gss "
19694   { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Including Kerberos5 functionality" >&5
19695 $as_echo "$as_me: * * * Including Kerberos5 functionality" >&6;}
19698 if test -n "$CPPFLAGS" ; then
19699   alpine_c_client_cflags="$alpine_c_client_cflags ${CPPFLAGS}"
19701 if test -n "$CFLAGS" ; then
19702   alpine_c_client_cflags="$alpine_c_client_cflags ${CFLAGS}"
19705 if test -n "$alpine_c_client_cflags" ; then
19706   C_CLIENT_CFLAGS=EXTRACFLAGS=\"$alpine_c_client_cflags\"
19710 if test -n "$LDFLAGS" ; then
19711   alpine_c_client_ldflags="$alpine_c_client_ldflags ${LDFLAGS}"
19713 if test -n "$LIBS" ; then
19714   alpine_c_client_ldflags="$alpine_c_client_ldflags ${LIBS}"
19717 if test -n "$alpine_c_client_ldflags" ; then
19718   C_CLIENT_LDFLAGS=EXTRALDFLAGS=\"$alpine_c_client_ldflags\"
19722 if test -n "$alpine_c_client_gccoptlevel" ; then
19723   C_CLIENT_GCCOPTLEVEL=GCCOPTLEVEL=\"$alpine_c_client_gccoptlevel\"
19727 C_CLIENT_SPECIALS=$c_client_specials
19730 if test -z "$WEB_BUILD" ; then
19731   WEB_PUBCOOKIE_BUILD=
19732   { $as_echo "$as_me:${as_lineno-$LINENO}: * * * TCL libraries could not be found." >&5
19733 $as_echo "$as_me: * * * TCL libraries could not be found." >&6;}
19734   { $as_echo "$as_me:${as_lineno-$LINENO}: * * * WEB ALPINE COMPONENT WILL NOT BE BUILT." >&5
19735 $as_echo "$as_me: * * * WEB ALPINE COMPONENT WILL NOT BE BUILT." >&6;}
19736 else
19737   if test -n "$WEB_PUBCOOKIE_BUILD" ; then
19738     if test "x$alpine_GSSTYPE" = "xnone" ; then
19739       WEB_PUBCOOKIE_BUILD=
19740       { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Kerberos5 support not found." >&5
19741 $as_echo "$as_me: * * * Kerberos5 support not found." >&6;}
19742       { $as_echo "$as_me:${as_lineno-$LINENO}: * * * WEB ALPINE PUBCOOKIE COMPONENT WILL NOT BE BUILT." >&5
19743 $as_echo "$as_me: * * * WEB ALPINE PUBCOOKIE COMPONENT WILL NOT BE BUILT." >&6;}
19744     elif test -z "$WEB_BINDIR" ; then
19745       WEB_PUBCOOKIE_BUILD=
19746       { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Web Alpine binary directory not provided." >&5
19747 $as_echo "$as_me: * * * Web Alpine binary directory not provided." >&6;}
19748         as_fn_error $? "* * * --with-pubcookie requires --with-web-bin=PATH.
19749         Please re-run configure with these options:
19750         --with-pubcookie --with-web-bin=/usr/local/libexec/alpine/bin" "$LINENO" 5
19751     else
19752       
19753 $as_echo "@%:@define PUBCOOKIE 1" >>confdefs.h
19755       WEB_PUBCOOKIE_LIB=../pubcookie/libauthgssproxy.a
19756       WEB_PUBCOOKIE_LINK=gssapi_proxy.l
19757     fi
19758   fi
19772 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"
19774 cat >confcache <<\_ACEOF
19775 # This file is a shell script that caches the results of configure
19776 # tests run on this system so they can be shared between configure
19777 # scripts and configure runs, see configure's option --config-cache.
19778 # It is not useful on other systems.  If it contains results you don't
19779 # want to keep, you may remove or edit it.
19781 # config.status only pays attention to the cache file if you give it
19782 # the --recheck option to rerun configure.
19784 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19785 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19786 # following values.
19788 _ACEOF
19790 # The following way of writing the cache mishandles newlines in values,
19791 # but we know of no workaround that is simple, portable, and efficient.
19792 # So, we kill variables containing newlines.
19793 # Ultrix sh set writes to stderr and can't be redirected directly,
19794 # and sets the high bit in the cache file unless we assign to the vars.
19796   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19797     eval ac_val=\$$ac_var
19798     case $ac_val in #(
19799     *${as_nl}*)
19800       case $ac_var in #(
19801       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19802 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19803       esac
19804       case $ac_var in #(
19805       _ | IFS | as_nl) ;; #(
19806       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19807       *) { eval $ac_var=; unset $ac_var;} ;;
19808       esac ;;
19809     esac
19810   done
19812   (set) 2>&1 |
19813     case $as_nl`(ac_space=' '; set) 2>&1` in #(
19814     *${as_nl}ac_space=\ *)
19815       # `set' does not quote correctly, so add quotes: double-quote
19816       # substitution turns \\\\ into \\, and sed turns \\ into \.
19817       sed -n \
19818         "s/'/'\\\\''/g;
19819           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19820       ;; #(
19821     *)
19822       # `set' quotes correctly as required by POSIX, so do not add quotes.
19823       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19824       ;;
19825     esac |
19826     sort
19827 ) |
19828   sed '
19829      /^ac_cv_env_/b end
19830      t clear
19831      :clear
19832      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19833      t end
19834      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19835      :end' >>confcache
19836 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19837   if test -w "$cache_file"; then
19838     if test "x$cache_file" != "x/dev/null"; then
19839       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19840 $as_echo "$as_me: updating cache $cache_file" >&6;}
19841       if test ! -f "$cache_file" || test -h "$cache_file"; then
19842         cat confcache >"$cache_file"
19843       else
19844         case $cache_file in #(
19845         */* | ?:*)
19846           mv -f confcache "$cache_file"$$ &&
19847           mv -f "$cache_file"$$ "$cache_file" ;; #(
19848         *)
19849           mv -f confcache "$cache_file" ;;
19850         esac
19851       fi
19852     fi
19853   else
19854     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19855 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19856   fi
19858 rm -f confcache
19860 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19861 # Let make expand exec_prefix.
19862 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19864 DEFS=-DHAVE_CONFIG_H
19866 ac_libobjs=
19867 ac_ltlibobjs=
19869 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
19870   # 1. Remove the extension, and $U if already installed.
19871   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19872   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19873   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
19874   #    will be set to the directory where LIBOBJS objects are built.
19875   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19876   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19877 done
19878 LIB@&t@OBJS=$ac_libobjs
19880 LTLIBOBJS=$ac_ltlibobjs
19883  if test -n "$EXEEXT"; then
19884   am__EXEEXT_TRUE=
19885   am__EXEEXT_FALSE='#'
19886 else
19887   am__EXEEXT_TRUE='#'
19888   am__EXEEXT_FALSE=
19891 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
19892   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
19893 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19895 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19896   as_fn_error $? "conditional \"AMDEP\" was never defined.
19897 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19899 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19900   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19901 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19904 : "${CONFIG_STATUS=./config.status}"
19905 ac_write_fail=0
19906 ac_clean_files_save=$ac_clean_files
19907 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19908 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19909 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19910 as_write_fail=0
19911 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19912 #! $SHELL
19913 # Generated by $as_me.
19914 # Run this file to recreate the current configuration.
19915 # Compiler output produced by configure, useful for debugging
19916 # configure, is in config.log if it exists.
19918 debug=false
19919 ac_cs_recheck=false
19920 ac_cs_silent=false
19922 SHELL=\${CONFIG_SHELL-$SHELL}
19923 export SHELL
19924 _ASEOF
19925 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19926 ## -------------------- ##
19927 ## M4sh Initialization. ##
19928 ## -------------------- ##
19930 # Be more Bourne compatible
19931 DUALCASE=1; export DUALCASE # for MKS sh
19932 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19933   emulate sh
19934   NULLCMD=:
19935   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19936   # is contrary to our usage.  Disable this feature.
19937   alias -g '${1+"$@"}'='"$@"'
19938   setopt NO_GLOB_SUBST
19939 else
19940   case `(set -o) 2>/dev/null` in @%:@(
19941   *posix*) :
19942     set -o posix ;; @%:@(
19943   *) :
19944      ;;
19945 esac
19949 as_nl='
19951 export as_nl
19952 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19953 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19954 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19955 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19956 # Prefer a ksh shell builtin over an external printf program on Solaris,
19957 # but without wasting forks for bash or zsh.
19958 if test -z "$BASH_VERSION$ZSH_VERSION" \
19959     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19960   as_echo='print -r --'
19961   as_echo_n='print -rn --'
19962 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19963   as_echo='printf %s\n'
19964   as_echo_n='printf %s'
19965 else
19966   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19967     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19968     as_echo_n='/usr/ucb/echo -n'
19969   else
19970     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19971     as_echo_n_body='eval
19972       arg=$1;
19973       case $arg in @%:@(
19974       *"$as_nl"*)
19975         expr "X$arg" : "X\\(.*\\)$as_nl";
19976         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19977       esac;
19978       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19979     '
19980     export as_echo_n_body
19981     as_echo_n='sh -c $as_echo_n_body as_echo'
19982   fi
19983   export as_echo_body
19984   as_echo='sh -c $as_echo_body as_echo'
19987 # The user is always right.
19988 if test "${PATH_SEPARATOR+set}" != set; then
19989   PATH_SEPARATOR=:
19990   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19991     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19992       PATH_SEPARATOR=';'
19993   }
19997 # IFS
19998 # We need space, tab and new line, in precisely that order.  Quoting is
19999 # there to prevent editors from complaining about space-tab.
20000 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20001 # splitting by setting IFS to empty value.)
20002 IFS=" ""        $as_nl"
20004 # Find who we are.  Look in the path if we contain no directory separator.
20005 as_myself=
20006 case $0 in @%:@((
20007   *[\\/]* ) as_myself=$0 ;;
20008   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20009 for as_dir in $PATH
20011   IFS=$as_save_IFS
20012   test -z "$as_dir" && as_dir=.
20013     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20014   done
20015 IFS=$as_save_IFS
20017      ;;
20018 esac
20019 # We did not find ourselves, most probably we were run as `sh COMMAND'
20020 # in which case we are not to be found in the path.
20021 if test "x$as_myself" = x; then
20022   as_myself=$0
20024 if test ! -f "$as_myself"; then
20025   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20026   exit 1
20029 # Unset variables that we do not need and which cause bugs (e.g. in
20030 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
20031 # suppresses any "Segmentation fault" message there.  '((' could
20032 # trigger a bug in pdksh 5.2.14.
20033 for as_var in BASH_ENV ENV MAIL MAILPATH
20034 do eval test x\${$as_var+set} = xset \
20035   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
20036 done
20037 PS1='$ '
20038 PS2='> '
20039 PS4='+ '
20041 # NLS nuisances.
20042 LC_ALL=C
20043 export LC_ALL
20044 LANGUAGE=C
20045 export LANGUAGE
20047 # CDPATH.
20048 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20051 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
20052 @%:@ ----------------------------------------
20053 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20054 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20055 @%:@ script with STATUS, using 1 if that was 0.
20056 as_fn_error ()
20058   as_status=$1; test $as_status -eq 0 && as_status=1
20059   if test "$4"; then
20060     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
20061     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20062   fi
20063   $as_echo "$as_me: error: $2" >&2
20064   as_fn_exit $as_status
20065 } @%:@ as_fn_error
20068 @%:@ as_fn_set_status STATUS
20069 @%:@ -----------------------
20070 @%:@ Set @S|@? to STATUS, without forking.
20071 as_fn_set_status ()
20073   return $1
20074 } @%:@ as_fn_set_status
20076 @%:@ as_fn_exit STATUS
20077 @%:@ -----------------
20078 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20079 as_fn_exit ()
20081   set +e
20082   as_fn_set_status $1
20083   exit $1
20084 } @%:@ as_fn_exit
20086 @%:@ as_fn_unset VAR
20087 @%:@ ---------------
20088 @%:@ Portably unset VAR.
20089 as_fn_unset ()
20091   { eval $1=; unset $1;}
20093 as_unset=as_fn_unset
20094 @%:@ as_fn_append VAR VALUE
20095 @%:@ ----------------------
20096 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
20097 @%:@ advantage of any shell optimizations that allow amortized linear growth over
20098 @%:@ repeated appends, instead of the typical quadratic growth present in naive
20099 @%:@ implementations.
20100 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
20101   eval 'as_fn_append ()
20102   {
20103     eval $1+=\$2
20104   }'
20105 else
20106   as_fn_append ()
20107   {
20108     eval $1=\$$1\$2
20109   }
20110 fi # as_fn_append
20112 @%:@ as_fn_arith ARG...
20113 @%:@ ------------------
20114 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
20115 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
20116 @%:@ must be portable across @S|@(()) and expr.
20117 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
20118   eval 'as_fn_arith ()
20119   {
20120     as_val=$(( $* ))
20121   }'
20122 else
20123   as_fn_arith ()
20124   {
20125     as_val=`expr "$@" || test $? -eq 1`
20126   }
20127 fi # as_fn_arith
20130 if expr a : '\(a\)' >/dev/null 2>&1 &&
20131    test "X`expr 00001 : '.*\(...\)'`" = X001; then
20132   as_expr=expr
20133 else
20134   as_expr=false
20137 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20138   as_basename=basename
20139 else
20140   as_basename=false
20143 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20144   as_dirname=dirname
20145 else
20146   as_dirname=false
20149 as_me=`$as_basename -- "$0" ||
20150 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20151          X"$0" : 'X\(//\)$' \| \
20152          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20153 $as_echo X/"$0" |
20154     sed '/^.*\/\([^/][^/]*\)\/*$/{
20155             s//\1/
20156             q
20157           }
20158           /^X\/\(\/\/\)$/{
20159             s//\1/
20160             q
20161           }
20162           /^X\/\(\/\).*/{
20163             s//\1/
20164             q
20165           }
20166           s/.*/./; q'`
20168 # Avoid depending upon Character Ranges.
20169 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20170 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20171 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20172 as_cr_digits='0123456789'
20173 as_cr_alnum=$as_cr_Letters$as_cr_digits
20175 ECHO_C= ECHO_N= ECHO_T=
20176 case `echo -n x` in @%:@(((((
20177 -n*)
20178   case `echo 'xy\c'` in
20179   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
20180   xy)  ECHO_C='\c';;
20181   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
20182        ECHO_T=' ';;
20183   esac;;
20185   ECHO_N='-n';;
20186 esac
20188 rm -f conf$$ conf$$.exe conf$$.file
20189 if test -d conf$$.dir; then
20190   rm -f conf$$.dir/conf$$.file
20191 else
20192   rm -f conf$$.dir
20193   mkdir conf$$.dir 2>/dev/null
20195 if (echo >conf$$.file) 2>/dev/null; then
20196   if ln -s conf$$.file conf$$ 2>/dev/null; then
20197     as_ln_s='ln -s'
20198     # ... but there are two gotchas:
20199     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20200     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20201     # In both cases, we have to default to `cp -pR'.
20202     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20203       as_ln_s='cp -pR'
20204   elif ln conf$$.file conf$$ 2>/dev/null; then
20205     as_ln_s=ln
20206   else
20207     as_ln_s='cp -pR'
20208   fi
20209 else
20210   as_ln_s='cp -pR'
20212 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20213 rmdir conf$$.dir 2>/dev/null
20216 @%:@ as_fn_mkdir_p
20217 @%:@ -------------
20218 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
20219 as_fn_mkdir_p ()
20222   case $as_dir in #(
20223   -*) as_dir=./$as_dir;;
20224   esac
20225   test -d "$as_dir" || eval $as_mkdir_p || {
20226     as_dirs=
20227     while :; do
20228       case $as_dir in #(
20229       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20230       *) as_qdir=$as_dir;;
20231       esac
20232       as_dirs="'$as_qdir' $as_dirs"
20233       as_dir=`$as_dirname -- "$as_dir" ||
20234 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20235          X"$as_dir" : 'X\(//\)[^/]' \| \
20236          X"$as_dir" : 'X\(//\)$' \| \
20237          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20238 $as_echo X"$as_dir" |
20239     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20240             s//\1/
20241             q
20242           }
20243           /^X\(\/\/\)[^/].*/{
20244             s//\1/
20245             q
20246           }
20247           /^X\(\/\/\)$/{
20248             s//\1/
20249             q
20250           }
20251           /^X\(\/\).*/{
20252             s//\1/
20253             q
20254           }
20255           s/.*/./; q'`
20256       test -d "$as_dir" && break
20257     done
20258     test -z "$as_dirs" || eval "mkdir $as_dirs"
20259   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20262 } @%:@ as_fn_mkdir_p
20263 if mkdir -p . 2>/dev/null; then
20264   as_mkdir_p='mkdir -p "$as_dir"'
20265 else
20266   test -d ./-p && rmdir ./-p
20267   as_mkdir_p=false
20271 @%:@ as_fn_executable_p FILE
20272 @%:@ -----------------------
20273 @%:@ Test if FILE is an executable regular file.
20274 as_fn_executable_p ()
20276   test -f "$1" && test -x "$1"
20277 } @%:@ as_fn_executable_p
20278 as_test_x='test -x'
20279 as_executable_p=as_fn_executable_p
20281 # Sed expression to map a string onto a valid CPP name.
20282 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20284 # Sed expression to map a string onto a valid variable name.
20285 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20288 exec 6>&1
20289 ## ----------------------------------- ##
20290 ## Main body of $CONFIG_STATUS script. ##
20291 ## ----------------------------------- ##
20292 _ASEOF
20293 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20295 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20296 # Save the log message, to keep $0 and so on meaningful, and to
20297 # report actual input values of CONFIG_FILES etc. instead of their
20298 # values after options handling.
20299 ac_log="
20300 This file was extended by alpine $as_me 2.19.2, which was
20301 generated by GNU Autoconf 2.69.  Invocation command line was
20303   CONFIG_FILES    = $CONFIG_FILES
20304   CONFIG_HEADERS  = $CONFIG_HEADERS
20305   CONFIG_LINKS    = $CONFIG_LINKS
20306   CONFIG_COMMANDS = $CONFIG_COMMANDS
20307   $ $0 $@
20309 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20312 _ACEOF
20314 case $ac_config_files in *"
20315 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20316 esac
20318 case $ac_config_headers in *"
20319 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20320 esac
20323 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20324 # Files that config.status was made for.
20325 config_files="$ac_config_files"
20326 config_headers="$ac_config_headers"
20327 config_commands="$ac_config_commands"
20329 _ACEOF
20331 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20332 ac_cs_usage="\
20333 \`$as_me' instantiates files and other configuration actions
20334 from templates according to the current configuration.  Unless the files
20335 and actions are specified as TAGs, all are instantiated by default.
20337 Usage: $0 [OPTION]... [TAG]...
20339   -h, --help       print this help, then exit
20340   -V, --version    print version number and configuration settings, then exit
20341       --config     print configuration, then exit
20342   -q, --quiet, --silent
20343                    do not print progress messages
20344   -d, --debug      don't remove temporary files
20345       --recheck    update $as_me by reconfiguring in the same conditions
20346       --file=FILE[:TEMPLATE] 
20347                    instantiate the configuration file FILE
20348       --header=FILE[:TEMPLATE] 
20349                    instantiate the configuration header FILE
20351 Configuration files:
20352 $config_files
20354 Configuration headers:
20355 $config_headers
20357 Configuration commands:
20358 $config_commands
20360 Report bugs to <chappa@washington.edu>."
20362 _ACEOF
20363 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20364 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20365 ac_cs_version="\\
20366 alpine config.status 2.19.2
20367 configured by $0, generated by GNU Autoconf 2.69,
20368   with options \\"\$ac_cs_config\\"
20370 Copyright (C) 2012 Free Software Foundation, Inc.
20371 This config.status script is free software; the Free Software Foundation
20372 gives unlimited permission to copy, distribute and modify it."
20374 ac_pwd='$ac_pwd'
20375 srcdir='$srcdir'
20376 INSTALL='$INSTALL'
20377 MKDIR_P='$MKDIR_P'
20378 AWK='$AWK'
20379 test -n "\$AWK" || AWK=awk
20380 _ACEOF
20382 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20383 # The default lists apply if the user does not specify any file.
20384 ac_need_defaults=:
20385 while test $# != 0
20387   case $1 in
20388   --*=?*)
20389     ac_option=`expr "X$1" : 'X\([^=]*\)='`
20390     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20391     ac_shift=:
20392     ;;
20393   --*=)
20394     ac_option=`expr "X$1" : 'X\([^=]*\)='`
20395     ac_optarg=
20396     ac_shift=:
20397     ;;
20398   *)
20399     ac_option=$1
20400     ac_optarg=$2
20401     ac_shift=shift
20402     ;;
20403   esac
20405   case $ac_option in
20406   # Handling of the options.
20407   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20408     ac_cs_recheck=: ;;
20409   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20410     $as_echo "$ac_cs_version"; exit ;;
20411   --config | --confi | --conf | --con | --co | --c )
20412     $as_echo "$ac_cs_config"; exit ;;
20413   --debug | --debu | --deb | --de | --d | -d )
20414     debug=: ;;
20415   --file | --fil | --fi | --f )
20416     $ac_shift
20417     case $ac_optarg in
20418     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20419     '') as_fn_error $? "missing file argument" ;;
20420     esac
20421     as_fn_append CONFIG_FILES " '$ac_optarg'"
20422     ac_need_defaults=false;;
20423   --header | --heade | --head | --hea )
20424     $ac_shift
20425     case $ac_optarg in
20426     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20427     esac
20428     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20429     ac_need_defaults=false;;
20430   --he | --h)
20431     # Conflict between --help and --header
20432     as_fn_error $? "ambiguous option: \`$1'
20433 Try \`$0 --help' for more information.";;
20434   --help | --hel | -h )
20435     $as_echo "$ac_cs_usage"; exit ;;
20436   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20437   | -silent | --silent | --silen | --sile | --sil | --si | --s)
20438     ac_cs_silent=: ;;
20440   # This is an error.
20441   -*) as_fn_error $? "unrecognized option: \`$1'
20442 Try \`$0 --help' for more information." ;;
20444   *) as_fn_append ac_config_targets " $1"
20445      ac_need_defaults=false ;;
20447   esac
20448   shift
20449 done
20451 ac_configure_extra_args=
20453 if $ac_cs_silent; then
20454   exec 6>/dev/null
20455   ac_configure_extra_args="$ac_configure_extra_args --silent"
20458 _ACEOF
20459 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20460 if \$ac_cs_recheck; then
20461   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20462   shift
20463   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20464   CONFIG_SHELL='$SHELL'
20465   export CONFIG_SHELL
20466   exec "\$@"
20469 _ACEOF
20470 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20471 exec 5>>config.log
20473   echo
20474   sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
20475 @%:@@%:@ Running $as_me. @%:@@%:@
20476 _ASBOX
20477   $as_echo "$ac_log"
20478 } >&5
20480 _ACEOF
20481 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20483 # INIT-COMMANDS
20485 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20488 # The HP-UX ksh and POSIX shell print the target directory to stdout
20489 # if CDPATH is set.
20490 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20492 sed_quote_subst='$sed_quote_subst'
20493 double_quote_subst='$double_quote_subst'
20494 delay_variable_subst='$delay_variable_subst'
20495 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
20496 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
20497 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
20498 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
20499 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
20500 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
20501 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
20502 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
20503 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
20504 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
20505 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
20506 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
20507 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
20508 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
20509 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
20510 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
20511 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
20512 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
20513 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
20514 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
20515 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
20516 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
20517 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
20518 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
20519 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
20520 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
20521 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
20522 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20523 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
20524 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
20525 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
20526 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
20527 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
20528 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
20529 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
20530 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20531 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20532 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20533 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
20534 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
20535 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
20536 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
20537 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
20538 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
20539 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"`'
20540 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"`'
20541 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
20542 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
20543 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
20544 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
20545 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
20546 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
20547 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
20548 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
20549 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
20550 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
20551 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
20552 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
20553 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
20554 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
20555 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
20556 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
20557 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20558 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20559 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
20560 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
20561 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20562 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20563 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
20564 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20565 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20566 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20567 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20568 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20569 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20570 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
20571 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
20572 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
20573 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20574 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
20575 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
20576 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
20577 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
20578 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
20579 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20580 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
20581 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
20582 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
20583 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
20584 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
20585 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20586 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
20587 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
20588 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20589 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
20590 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
20591 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
20592 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
20593 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
20594 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20595 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20596 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
20597 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
20598 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
20599 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
20600 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20601 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20602 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20603 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
20604 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
20605 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
20606 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
20607 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
20608 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
20609 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
20610 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
20611 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
20612 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
20614 LTCC='$LTCC'
20615 LTCFLAGS='$LTCFLAGS'
20616 compiler='$compiler_DEFAULT'
20618 # Quote evaled strings.
20619 for var in SED \
20620 GREP \
20621 EGREP \
20622 FGREP \
20623 LD \
20624 NM \
20625 LN_S \
20626 lt_SP2NL \
20627 lt_NL2SP \
20628 reload_flag \
20629 OBJDUMP \
20630 deplibs_check_method \
20631 file_magic_cmd \
20632 AR \
20633 AR_FLAGS \
20634 STRIP \
20635 RANLIB \
20636 CC \
20637 CFLAGS \
20638 compiler \
20639 lt_cv_sys_global_symbol_pipe \
20640 lt_cv_sys_global_symbol_to_cdecl \
20641 lt_cv_sys_global_symbol_to_c_name_address \
20642 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20643 SHELL \
20644 ECHO \
20645 lt_prog_compiler_no_builtin_flag \
20646 lt_prog_compiler_wl \
20647 lt_prog_compiler_pic \
20648 lt_prog_compiler_static \
20649 lt_cv_prog_compiler_c_o \
20650 need_locks \
20651 DSYMUTIL \
20652 NMEDIT \
20653 LIPO \
20654 OTOOL \
20655 OTOOL64 \
20656 shrext_cmds \
20657 export_dynamic_flag_spec \
20658 whole_archive_flag_spec \
20659 compiler_needs_object \
20660 with_gnu_ld \
20661 allow_undefined_flag \
20662 no_undefined_flag \
20663 hardcode_libdir_flag_spec \
20664 hardcode_libdir_flag_spec_ld \
20665 hardcode_libdir_separator \
20666 fix_srcfile_path \
20667 exclude_expsyms \
20668 include_expsyms \
20669 file_list_spec \
20670 variables_saved_for_relink \
20671 libname_spec \
20672 library_names_spec \
20673 soname_spec \
20674 finish_eval \
20675 old_striplib \
20676 striplib; do
20677     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
20678     *[\\\\\\\`\\"\\\$]*)
20679       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20680       ;;
20681     *)
20682       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20683       ;;
20684     esac
20685 done
20687 # Double-quote double-evaled strings.
20688 for var in reload_cmds \
20689 old_postinstall_cmds \
20690 old_postuninstall_cmds \
20691 old_archive_cmds \
20692 extract_expsyms_cmds \
20693 old_archive_from_new_cmds \
20694 old_archive_from_expsyms_cmds \
20695 archive_cmds \
20696 archive_expsym_cmds \
20697 module_cmds \
20698 module_expsym_cmds \
20699 export_symbols_cmds \
20700 prelink_cmds \
20701 postinstall_cmds \
20702 postuninstall_cmds \
20703 finish_cmds \
20704 sys_lib_search_path_spec \
20705 sys_lib_dlsearch_path_spec; do
20706     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
20707     *[\\\\\\\`\\"\\\$]*)
20708       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20709       ;;
20710     *)
20711       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20712       ;;
20713     esac
20714 done
20716 # Fix-up fallback echo if it was mangled by the above quoting rules.
20717 case \$lt_ECHO in
20718 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
20719   ;;
20720 esac
20722 ac_aux_dir='$ac_aux_dir'
20723 xsi_shell='$xsi_shell'
20724 lt_shell_append='$lt_shell_append'
20726 # See if we are running on zsh, and set the options which allow our
20727 # commands through without removal of \ escapes INIT.
20728 if test -n "\${ZSH_VERSION+set}" ; then
20729    setopt NO_GLOB_SUBST
20733     PACKAGE='$PACKAGE'
20734     VERSION='$VERSION'
20735     TIMESTAMP='$TIMESTAMP'
20736     RM='$RM'
20737     ofile='$ofile'
20741 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
20742     # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
20743     # from automake < 1.5.
20744     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
20745     # Capture the value of LINGUAS because we need it to compute CATALOGS.
20746     LINGUAS="${LINGUAS-%UNSET%}"
20747    
20749 _ACEOF
20751 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20753 # Handling of arguments.
20754 for ac_config_target in $ac_config_targets
20756   case $ac_config_target in
20757     "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20758     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20759     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
20760     "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
20761     "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
20762     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
20763     "$REGEX_MAKEFILE") CONFIG_FILES="$CONFIG_FILES $REGEX_MAKEFILE" ;;
20764     "pith/osdep/Makefile") CONFIG_FILES="$CONFIG_FILES pith/osdep/Makefile" ;;
20765     "pith/charconv/Makefile") CONFIG_FILES="$CONFIG_FILES pith/charconv/Makefile" ;;
20766     "pith/Makefile") CONFIG_FILES="$CONFIG_FILES pith/Makefile" ;;
20767     "pico/osdep/Makefile") CONFIG_FILES="$CONFIG_FILES pico/osdep/Makefile" ;;
20768     "pico/Makefile") CONFIG_FILES="$CONFIG_FILES pico/Makefile" ;;
20769     "alpine/osdep/Makefile") CONFIG_FILES="$CONFIG_FILES alpine/osdep/Makefile" ;;
20770     "alpine/Makefile") CONFIG_FILES="$CONFIG_FILES alpine/Makefile" ;;
20771     "web/src/Makefile") CONFIG_FILES="$CONFIG_FILES web/src/Makefile" ;;
20772     "web/src/pubcookie/Makefile") CONFIG_FILES="$CONFIG_FILES web/src/pubcookie/Makefile" ;;
20773     "web/src/alpined.d/Makefile") CONFIG_FILES="$CONFIG_FILES web/src/alpined.d/Makefile" ;;
20774     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20776   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20777   esac
20778 done
20781 # If the user did not use the arguments to specify the items to instantiate,
20782 # then the envvar interface is used.  Set only those that are not.
20783 # We use the long form for the default assignment because of an extremely
20784 # bizarre bug on SunOS 4.1.3.
20785 if $ac_need_defaults; then
20786   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20787   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20788   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20791 # Have a temporary directory for convenience.  Make it in the build tree
20792 # simply because there is no reason against having it here, and in addition,
20793 # creating and moving files from /tmp can sometimes cause problems.
20794 # Hook for its removal unless debugging.
20795 # Note that there is a small window in which the directory will not be cleaned:
20796 # after its creation but before its name has been assigned to `$tmp'.
20797 $debug ||
20799   tmp= ac_tmp=
20800   trap 'exit_status=$?
20801   : "${ac_tmp:=$tmp}"
20802   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20803 ' 0
20804   trap 'as_fn_exit 1' 1 2 13 15
20806 # Create a (secure) tmp directory for tmp files.
20809   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20810   test -d "$tmp"
20811 }  ||
20813   tmp=./conf$$-$RANDOM
20814   (umask 077 && mkdir "$tmp")
20815 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20816 ac_tmp=$tmp
20818 # Set up the scripts for CONFIG_FILES section.
20819 # No need to generate them if there are no CONFIG_FILES.
20820 # This happens for instance with `./config.status config.h'.
20821 if test -n "$CONFIG_FILES"; then
20824 ac_cr=`echo X | tr X '\015'`
20825 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20826 # But we know of no other shell where ac_cr would be empty at this
20827 # point, so we can use a bashism as a fallback.
20828 if test "x$ac_cr" = x; then
20829   eval ac_cr=\$\'\\r\'
20831 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20832 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20833   ac_cs_awk_cr='\\r'
20834 else
20835   ac_cs_awk_cr=$ac_cr
20838 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20839 _ACEOF
20843   echo "cat >conf$$subs.awk <<_ACEOF" &&
20844   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20845   echo "_ACEOF"
20846 } >conf$$subs.sh ||
20847   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20848 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20849 ac_delim='%!_!# '
20850 for ac_last_try in false false false false false :; do
20851   . ./conf$$subs.sh ||
20852     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20854   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20855   if test $ac_delim_n = $ac_delim_num; then
20856     break
20857   elif $ac_last_try; then
20858     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20859   else
20860     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20861   fi
20862 done
20863 rm -f conf$$subs.sh
20865 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20866 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20867 _ACEOF
20868 sed -n '
20870 s/^/S["/; s/!.*/"]=/
20873 s/^[^!]*!//
20874 :repl
20875 t repl
20876 s/'"$ac_delim"'$//
20877 t delim
20880 s/\(.\{148\}\)..*/\1/
20881 t more1
20882 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20885 b repl
20886 :more1
20887 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20890 s/.\{148\}//
20891 t nl
20892 :delim
20894 s/\(.\{148\}\)..*/\1/
20895 t more2
20896 s/["\\]/\\&/g; s/^/"/; s/$/"/
20899 :more2
20900 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20903 s/.\{148\}//
20904 t delim
20905 ' <conf$$subs.awk | sed '
20906 /^[^""]/{
20907   N
20908   s/\n//
20910 ' >>$CONFIG_STATUS || ac_write_fail=1
20911 rm -f conf$$subs.awk
20912 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20913 _ACAWK
20914 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20915   for (key in S) S_is_set[key] = 1
20916   FS = "\a"
20920   line = $ 0
20921   nfields = split(line, field, "@")
20922   substed = 0
20923   len = length(field[1])
20924   for (i = 2; i < nfields; i++) {
20925     key = field[i]
20926     keylen = length(key)
20927     if (S_is_set[key]) {
20928       value = S[key]
20929       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20930       len += length(value) + length(field[++i])
20931       substed = 1
20932     } else
20933       len += 1 + keylen
20934   }
20936   print line
20939 _ACAWK
20940 _ACEOF
20941 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20942 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20943   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20944 else
20945   cat
20946 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20947   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20948 _ACEOF
20950 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20951 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20952 # trailing colons and then remove the whole line if VPATH becomes empty
20953 # (actually we leave an empty line to preserve line numbers).
20954 if test "x$srcdir" = x.; then
20955   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
20957 s///
20958 s/^/:/
20959 s/[      ]*$/:/
20960 s/:\$(srcdir):/:/g
20961 s/:\${srcdir}:/:/g
20962 s/:@srcdir@:/:/g
20963 s/^:*//
20964 s/:*$//
20966 s/\(=[   ]*\).*/\1/
20968 s/\n//
20969 s/^[^=]*=[       ]*$//
20973 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20974 fi # test -n "$CONFIG_FILES"
20976 # Set up the scripts for CONFIG_HEADERS section.
20977 # No need to generate them if there are no CONFIG_HEADERS.
20978 # This happens for instance with `./config.status Makefile'.
20979 if test -n "$CONFIG_HEADERS"; then
20980 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20981 BEGIN {
20982 _ACEOF
20984 # Transform confdefs.h into an awk script `defines.awk', embedded as
20985 # here-document in config.status, that substitutes the proper values into
20986 # config.h.in to produce config.h.
20988 # Create a delimiter string that does not exist in confdefs.h, to ease
20989 # handling of long lines.
20990 ac_delim='%!_!# '
20991 for ac_last_try in false false :; do
20992   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20993   if test -z "$ac_tt"; then
20994     break
20995   elif $ac_last_try; then
20996     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20997   else
20998     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20999   fi
21000 done
21002 # For the awk script, D is an array of macro values keyed by name,
21003 # likewise P contains macro parameters if any.  Preserve backslash
21004 # newline sequences.
21006 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21007 sed -n '
21008 s/.\{148\}/&'"$ac_delim"'/g
21009 t rset
21010 :rset
21011 s/^[     ]*#[    ]*define[       ][      ]*/ /
21012 t def
21014 :def
21015 s/\\$//
21016 t bsnl
21017 s/["\\]/\\&/g
21018 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
21019 D["\1"]=" \3"/p
21020 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
21022 :bsnl
21023 s/["\\]/\\&/g
21024 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
21025 D["\1"]=" \3\\\\\\n"\\/p
21026 t cont
21027 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
21028 t cont
21030 :cont
21032 s/.\{148\}/&'"$ac_delim"'/g
21033 t clear
21034 :clear
21035 s/\\$//
21036 t bsnlc
21037 s/["\\]/\\&/g; s/^/"/; s/$/"/p
21039 :bsnlc
21040 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21041 b cont
21042 ' <confdefs.h | sed '
21043 s/'"$ac_delim"'/"\\\
21044 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21046 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21047   for (key in D) D_is_set[key] = 1
21048   FS = "\a"
21050 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21051   line = \$ 0
21052   split(line, arg, " ")
21053   if (arg[1] == "#") {
21054     defundef = arg[2]
21055     mac1 = arg[3]
21056   } else {
21057     defundef = substr(arg[1], 2)
21058     mac1 = arg[2]
21059   }
21060   split(mac1, mac2, "(") #)
21061   macro = mac2[1]
21062   prefix = substr(line, 1, index(line, defundef) - 1)
21063   if (D_is_set[macro]) {
21064     # Preserve the white space surrounding the "#".
21065     print prefix "define", macro P[macro] D[macro]
21066     next
21067   } else {
21068     # Replace #undef with comments.  This is necessary, for example,
21069     # in the case of _POSIX_SOURCE, which is predefined and required
21070     # on some systems where configure will not decide to define it.
21071     if (defundef == "undef") {
21072       print "/*", prefix defundef, macro, "*/"
21073       next
21074     }
21075   }
21077 { print }
21078 _ACAWK
21079 _ACEOF
21080 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21081   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21082 fi # test -n "$CONFIG_HEADERS"
21085 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
21086 shift
21087 for ac_tag
21089   case $ac_tag in
21090   :[FHLC]) ac_mode=$ac_tag; continue;;
21091   esac
21092   case $ac_mode$ac_tag in
21093   :[FHL]*:*);;
21094   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
21095   :[FH]-) ac_tag=-:-;;
21096   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21097   esac
21098   ac_save_IFS=$IFS
21099   IFS=:
21100   set x $ac_tag
21101   IFS=$ac_save_IFS
21102   shift
21103   ac_file=$1
21104   shift
21106   case $ac_mode in
21107   :L) ac_source=$1;;
21108   :[FH])
21109     ac_file_inputs=
21110     for ac_f
21111     do
21112       case $ac_f in
21113       -) ac_f="$ac_tmp/stdin";;
21114       *) # Look for the file first in the build tree, then in the source tree
21115          # (if the path is not absolute).  The absolute path cannot be DOS-style,
21116          # because $ac_f cannot contain `:'.
21117          test -f "$ac_f" ||
21118            case $ac_f in
21119            [\\/$]*) false;;
21120            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21121            esac ||
21122            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21123       esac
21124       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21125       as_fn_append ac_file_inputs " '$ac_f'"
21126     done
21128     # Let's still pretend it is `configure' which instantiates (i.e., don't
21129     # use $as_me), people would be surprised to read:
21130     #    /* config.h.  Generated by config.status.  */
21131     configure_input='Generated from '`
21132           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21133         `' by configure.'
21134     if test x"$ac_file" != x-; then
21135       configure_input="$ac_file.  $configure_input"
21136       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21137 $as_echo "$as_me: creating $ac_file" >&6;}
21138     fi
21139     # Neutralize special characters interpreted by sed in replacement strings.
21140     case $configure_input in #(
21141     *\&* | *\|* | *\\* )
21142        ac_sed_conf_input=`$as_echo "$configure_input" |
21143        sed 's/[\\\\&|]/\\\\&/g'`;; #(
21144     *) ac_sed_conf_input=$configure_input;;
21145     esac
21147     case $ac_tag in
21148     *:-:* | *:-) cat >"$ac_tmp/stdin" \
21149       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21150     esac
21151     ;;
21152   esac
21154   ac_dir=`$as_dirname -- "$ac_file" ||
21155 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21156          X"$ac_file" : 'X\(//\)[^/]' \| \
21157          X"$ac_file" : 'X\(//\)$' \| \
21158          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21159 $as_echo X"$ac_file" |
21160     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21161             s//\1/
21162             q
21163           }
21164           /^X\(\/\/\)[^/].*/{
21165             s//\1/
21166             q
21167           }
21168           /^X\(\/\/\)$/{
21169             s//\1/
21170             q
21171           }
21172           /^X\(\/\).*/{
21173             s//\1/
21174             q
21175           }
21176           s/.*/./; q'`
21177   as_dir="$ac_dir"; as_fn_mkdir_p
21178   ac_builddir=.
21180 case "$ac_dir" in
21181 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21183   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21184   # A ".." for each directory in $ac_dir_suffix.
21185   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21186   case $ac_top_builddir_sub in
21187   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21188   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21189   esac ;;
21190 esac
21191 ac_abs_top_builddir=$ac_pwd
21192 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21193 # for backward compatibility:
21194 ac_top_builddir=$ac_top_build_prefix
21196 case $srcdir in
21197   .)  # We are building in place.
21198     ac_srcdir=.
21199     ac_top_srcdir=$ac_top_builddir_sub
21200     ac_abs_top_srcdir=$ac_pwd ;;
21201   [\\/]* | ?:[\\/]* )  # Absolute name.
21202     ac_srcdir=$srcdir$ac_dir_suffix;
21203     ac_top_srcdir=$srcdir
21204     ac_abs_top_srcdir=$srcdir ;;
21205   *) # Relative name.
21206     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21207     ac_top_srcdir=$ac_top_build_prefix$srcdir
21208     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21209 esac
21210 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21213   case $ac_mode in
21214   :F)
21215   #
21216   # CONFIG_FILE
21217   #
21219   case $INSTALL in
21220   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21221   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21222   esac
21223   ac_MKDIR_P=$MKDIR_P
21224   case $MKDIR_P in
21225   [\\/$]* | ?:[\\/]* ) ;;
21226   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
21227   esac
21228 _ACEOF
21230 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21231 # If the template does not know about datarootdir, expand it.
21232 # FIXME: This hack should be removed a few years after 2.60.
21233 ac_datarootdir_hack=; ac_datarootdir_seen=
21234 ac_sed_dataroot='
21235 /datarootdir/ {
21236   p
21237   q
21239 /@datadir@/p
21240 /@docdir@/p
21241 /@infodir@/p
21242 /@localedir@/p
21243 /@mandir@/p'
21244 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21245 *datarootdir*) ac_datarootdir_seen=yes;;
21246 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21247   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21248 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21249 _ACEOF
21250 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21251   ac_datarootdir_hack='
21252   s&@datadir@&$datadir&g
21253   s&@docdir@&$docdir&g
21254   s&@infodir@&$infodir&g
21255   s&@localedir@&$localedir&g
21256   s&@mandir@&$mandir&g
21257   s&\\\${datarootdir}&$datarootdir&g' ;;
21258 esac
21259 _ACEOF
21261 # Neutralize VPATH when `$srcdir' = `.'.
21262 # Shell code in configure.ac might set extrasub.
21263 # FIXME: do we really want to maintain this feature?
21264 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21265 ac_sed_extra="$ac_vpsub
21266 $extrasub
21267 _ACEOF
21268 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21270 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21271 s|@configure_input@|$ac_sed_conf_input|;t t
21272 s&@top_builddir@&$ac_top_builddir_sub&;t t
21273 s&@top_build_prefix@&$ac_top_build_prefix&;t t
21274 s&@srcdir@&$ac_srcdir&;t t
21275 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21276 s&@top_srcdir@&$ac_top_srcdir&;t t
21277 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21278 s&@builddir@&$ac_builddir&;t t
21279 s&@abs_builddir@&$ac_abs_builddir&;t t
21280 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21281 s&@INSTALL@&$ac_INSTALL&;t t
21282 s&@MKDIR_P@&$ac_MKDIR_P&;t t
21283 $ac_datarootdir_hack
21285 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
21286   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21288 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21289   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
21290   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
21291       "$ac_tmp/out"`; test -z "$ac_out"; } &&
21292   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21293 which seems to be undefined.  Please make sure it is defined" >&5
21294 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21295 which seems to be undefined.  Please make sure it is defined" >&2;}
21297   rm -f "$ac_tmp/stdin"
21298   case $ac_file in
21299   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21300   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21301   esac \
21302   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21303  ;;
21304   :H)
21305   #
21306   # CONFIG_HEADER
21307   #
21308   if test x"$ac_file" != x-; then
21309     {
21310       $as_echo "/* $configure_input  */" \
21311       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21312     } >"$ac_tmp/config.h" \
21313       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21314     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21315       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21316 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21317     else
21318       rm -f "$ac_file"
21319       mv "$ac_tmp/config.h" "$ac_file" \
21320         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21321     fi
21322   else
21323     $as_echo "/* $configure_input  */" \
21324       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21325       || as_fn_error $? "could not create -" "$LINENO" 5
21326   fi
21327 # Compute "$ac_file"'s index in $config_headers.
21328 _am_arg="$ac_file"
21329 _am_stamp_count=1
21330 for _am_header in $config_headers :; do
21331   case $_am_header in
21332     $_am_arg | $_am_arg:* )
21333       break ;;
21334     * )
21335       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
21336   esac
21337 done
21338 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21339 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21340          X"$_am_arg" : 'X\(//\)[^/]' \| \
21341          X"$_am_arg" : 'X\(//\)$' \| \
21342          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21343 $as_echo X"$_am_arg" |
21344     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21345             s//\1/
21346             q
21347           }
21348           /^X\(\/\/\)[^/].*/{
21349             s//\1/
21350             q
21351           }
21352           /^X\(\/\/\)$/{
21353             s//\1/
21354             q
21355           }
21356           /^X\(\/\).*/{
21357             s//\1/
21358             q
21359           }
21360           s/.*/./; q'`/stamp-h$_am_stamp_count
21361  ;;
21362   
21363   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21364 $as_echo "$as_me: executing $ac_file commands" >&6;}
21365  ;;
21366   esac
21369   case $ac_file$ac_mode in
21370     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
21371   # Autoconf 2.62 quotes --file arguments for eval, but not when files
21372   # are listed without --file.  Let's play safe and only enable the eval
21373   # if we detect the quoting.
21374   case $CONFIG_FILES in
21375   *\'*) eval set x "$CONFIG_FILES" ;;
21376   *)   set x $CONFIG_FILES ;;
21377   esac
21378   shift
21379   for mf
21380   do
21381     # Strip MF so we end up with the name of the file.
21382     mf=`echo "$mf" | sed -e 's/:.*$//'`
21383     # Check whether this is an Automake generated Makefile or not.
21384     # We used to match only the files named `Makefile.in', but
21385     # some people rename them; so instead we look at the file content.
21386     # Grep'ing the first line is not enough: some people post-process
21387     # each Makefile.in and add a new line on top of each file to say so.
21388     # Grep'ing the whole file is not good either: AIX grep has a line
21389     # limit of 2048, but all sed's we know have understand at least 4000.
21390     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
21391       dirpart=`$as_dirname -- "$mf" ||
21392 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21393          X"$mf" : 'X\(//\)[^/]' \| \
21394          X"$mf" : 'X\(//\)$' \| \
21395          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21396 $as_echo X"$mf" |
21397     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21398             s//\1/
21399             q
21400           }
21401           /^X\(\/\/\)[^/].*/{
21402             s//\1/
21403             q
21404           }
21405           /^X\(\/\/\)$/{
21406             s//\1/
21407             q
21408           }
21409           /^X\(\/\).*/{
21410             s//\1/
21411             q
21412           }
21413           s/.*/./; q'`
21414     else
21415       continue
21416     fi
21417     # Extract the definition of DEPDIR, am__include, and am__quote
21418     # from the Makefile without running `make'.
21419     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
21420     test -z "$DEPDIR" && continue
21421     am__include=`sed -n 's/^am__include = //p' < "$mf"`
21422     test -z "am__include" && continue
21423     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
21424     # When using ansi2knr, U may be empty or an underscore; expand it
21425     U=`sed -n 's/^U = //p' < "$mf"`
21426     # Find all dependency output files, they are included files with
21427     # $(DEPDIR) in their names.  We invoke sed twice because it is the
21428     # simplest approach to changing $(DEPDIR) to its actual value in the
21429     # expansion.
21430     for file in `sed -n "
21431       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21432          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21433       # Make sure the directory exists.
21434       test -f "$dirpart/$file" && continue
21435       fdir=`$as_dirname -- "$file" ||
21436 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21437          X"$file" : 'X\(//\)[^/]' \| \
21438          X"$file" : 'X\(//\)$' \| \
21439          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21440 $as_echo X"$file" |
21441     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21442             s//\1/
21443             q
21444           }
21445           /^X\(\/\/\)[^/].*/{
21446             s//\1/
21447             q
21448           }
21449           /^X\(\/\/\)$/{
21450             s//\1/
21451             q
21452           }
21453           /^X\(\/\).*/{
21454             s//\1/
21455             q
21456           }
21457           s/.*/./; q'`
21458       as_dir=$dirpart/$fdir; as_fn_mkdir_p
21459       # echo "creating $dirpart/$file"
21460       echo '# dummy' > "$dirpart/$file"
21461     done
21462   done
21464  ;;
21465     "libtool":C) 
21466     
21467     # See if we are running on zsh, and set the options which allow our
21468     # commands through without removal of \ escapes.
21469     if test -n "${ZSH_VERSION+set}" ; then
21470       setopt NO_GLOB_SUBST
21471     fi
21473     cfgfile="${ofile}T"
21474     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21475     $RM "$cfgfile"
21477     cat <<_LT_EOF >> "$cfgfile"
21478 #! $SHELL
21480 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21481 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21482 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21484 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21485 #                 2006, 2007, 2008 Free Software Foundation, Inc.
21486 #   Written by Gordon Matzigkeit, 1996
21488 #   This file is part of GNU Libtool.
21490 # GNU Libtool is free software; you can redistribute it and/or
21491 # modify it under the terms of the GNU General Public License as
21492 # published by the Free Software Foundation; either version 2 of
21493 # the License, or (at your option) any later version.
21495 # As a special exception to the GNU General Public License,
21496 # if you distribute this file as part of a program or library that
21497 # is built using GNU Libtool, you may include this file under the
21498 # same distribution terms that you use for the rest of that program.
21500 # GNU Libtool is distributed in the hope that it will be useful,
21501 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21502 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21503 # GNU General Public License for more details.
21505 # You should have received a copy of the GNU General Public License
21506 # along with GNU Libtool; see the file COPYING.  If not, a copy
21507 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21508 # obtained by writing to the Free Software Foundation, Inc.,
21509 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21512 # The names of the tagged configurations supported by this script.
21513 available_tags=""
21515 # ### BEGIN LIBTOOL CONFIG
21517 # Which release of libtool.m4 was used?
21518 macro_version=$macro_version
21519 macro_revision=$macro_revision
21521 # Whether or not to build shared libraries.
21522 build_libtool_libs=$enable_shared
21524 # Whether or not to build static libraries.
21525 build_old_libs=$enable_static
21527 # What type of objects to build.
21528 pic_mode=$pic_mode
21530 # Whether or not to optimize for fast installation.
21531 fast_install=$enable_fast_install
21533 # The host system.
21534 host_alias=$host_alias
21535 host=$host
21536 host_os=$host_os
21538 # The build system.
21539 build_alias=$build_alias
21540 build=$build
21541 build_os=$build_os
21543 # A sed program that does not truncate output.
21544 SED=$lt_SED
21546 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21547 Xsed="\$SED -e 1s/^X//"
21549 # A grep program that handles long lines.
21550 GREP=$lt_GREP
21552 # An ERE matcher.
21553 EGREP=$lt_EGREP
21555 # A literal string matcher.
21556 FGREP=$lt_FGREP
21558 # A BSD- or MS-compatible name lister.
21559 NM=$lt_NM
21561 # Whether we need soft or hard links.
21562 LN_S=$lt_LN_S
21564 # What is the maximum length of a command?
21565 max_cmd_len=$max_cmd_len
21567 # Object file suffix (normally "o").
21568 objext=$ac_objext
21570 # Executable file suffix (normally "").
21571 exeext=$exeext
21573 # whether the shell understands "unset".
21574 lt_unset=$lt_unset
21576 # turn spaces into newlines.
21577 SP2NL=$lt_lt_SP2NL
21579 # turn newlines into spaces.
21580 NL2SP=$lt_lt_NL2SP
21582 # How to create reloadable object files.
21583 reload_flag=$lt_reload_flag
21584 reload_cmds=$lt_reload_cmds
21586 # An object symbol dumper.
21587 OBJDUMP=$lt_OBJDUMP
21589 # Method to check whether dependent libraries are shared objects.
21590 deplibs_check_method=$lt_deplibs_check_method
21592 # Command to use when deplibs_check_method == "file_magic".
21593 file_magic_cmd=$lt_file_magic_cmd
21595 # The archiver.
21596 AR=$lt_AR
21597 AR_FLAGS=$lt_AR_FLAGS
21599 # A symbol stripping program.
21600 STRIP=$lt_STRIP
21602 # Commands used to install an old-style archive.
21603 RANLIB=$lt_RANLIB
21604 old_postinstall_cmds=$lt_old_postinstall_cmds
21605 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21607 # A C compiler.
21608 LTCC=$lt_CC
21610 # LTCC compiler flags.
21611 LTCFLAGS=$lt_CFLAGS
21613 # Take the output of nm and produce a listing of raw symbols and C names.
21614 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21616 # Transform the output of nm in a proper C declaration.
21617 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21619 # Transform the output of nm in a C name address pair.
21620 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21622 # Transform the output of nm in a C name address pair when lib prefix is needed.
21623 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21625 # The name of the directory that contains temporary libtool files.
21626 objdir=$objdir
21628 # Shell to use when invoking shell scripts.
21629 SHELL=$lt_SHELL
21631 # An echo program that does not interpret backslashes.
21632 ECHO=$lt_ECHO
21634 # Used to examine libraries when file_magic_cmd begins with "file".
21635 MAGIC_CMD=$MAGIC_CMD
21637 # Must we lock files when doing compilation?
21638 need_locks=$lt_need_locks
21640 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21641 DSYMUTIL=$lt_DSYMUTIL
21643 # Tool to change global to local symbols on Mac OS X.
21644 NMEDIT=$lt_NMEDIT
21646 # Tool to manipulate fat objects and archives on Mac OS X.
21647 LIPO=$lt_LIPO
21649 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21650 OTOOL=$lt_OTOOL
21652 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21653 OTOOL64=$lt_OTOOL64
21655 # Old archive suffix (normally "a").
21656 libext=$libext
21658 # Shared library suffix (normally ".so").
21659 shrext_cmds=$lt_shrext_cmds
21661 # The commands to extract the exported symbol list from a shared archive.
21662 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21664 # Variables whose values should be saved in libtool wrapper scripts and
21665 # restored at link time.
21666 variables_saved_for_relink=$lt_variables_saved_for_relink
21668 # Do we need the "lib" prefix for modules?
21669 need_lib_prefix=$need_lib_prefix
21671 # Do we need a version for libraries?
21672 need_version=$need_version
21674 # Library versioning type.
21675 version_type=$version_type
21677 # Shared library runtime path variable.
21678 runpath_var=$runpath_var
21680 # Shared library path variable.
21681 shlibpath_var=$shlibpath_var
21683 # Is shlibpath searched before the hard-coded library search path?
21684 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21686 # Format of library name prefix.
21687 libname_spec=$lt_libname_spec
21689 # List of archive names.  First name is the real one, the rest are links.
21690 # The last name is the one that the linker finds with -lNAME
21691 library_names_spec=$lt_library_names_spec
21693 # The coded name of the library, if different from the real name.
21694 soname_spec=$lt_soname_spec
21696 # Command to use after installation of a shared archive.
21697 postinstall_cmds=$lt_postinstall_cmds
21699 # Command to use after uninstallation of a shared archive.
21700 postuninstall_cmds=$lt_postuninstall_cmds
21702 # Commands used to finish a libtool library installation in a directory.
21703 finish_cmds=$lt_finish_cmds
21705 # As "finish_cmds", except a single script fragment to be evaled but
21706 # not shown.
21707 finish_eval=$lt_finish_eval
21709 # Whether we should hardcode library paths into libraries.
21710 hardcode_into_libs=$hardcode_into_libs
21712 # Compile-time system search path for libraries.
21713 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21715 # Run-time system search path for libraries.
21716 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21718 # Whether dlopen is supported.
21719 dlopen_support=$enable_dlopen
21721 # Whether dlopen of programs is supported.
21722 dlopen_self=$enable_dlopen_self
21724 # Whether dlopen of statically linked programs is supported.
21725 dlopen_self_static=$enable_dlopen_self_static
21727 # Commands to strip libraries.
21728 old_striplib=$lt_old_striplib
21729 striplib=$lt_striplib
21732 # The linker used to build libraries.
21733 LD=$lt_LD
21735 # Commands used to build an old-style archive.
21736 old_archive_cmds=$lt_old_archive_cmds
21738 # A language specific compiler.
21739 CC=$lt_compiler
21741 # Is the compiler the GNU compiler?
21742 with_gcc=$GCC
21744 # Compiler flag to turn off builtin functions.
21745 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21747 # How to pass a linker flag through the compiler.
21748 wl=$lt_lt_prog_compiler_wl
21750 # Additional compiler flags for building library objects.
21751 pic_flag=$lt_lt_prog_compiler_pic
21753 # Compiler flag to prevent dynamic linking.
21754 link_static_flag=$lt_lt_prog_compiler_static
21756 # Does compiler simultaneously support -c and -o options?
21757 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21759 # Whether or not to add -lc for building shared libraries.
21760 build_libtool_need_lc=$archive_cmds_need_lc
21762 # Whether or not to disallow shared libs when runtime libs are static.
21763 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21765 # Compiler flag to allow reflexive dlopens.
21766 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21768 # Compiler flag to generate shared objects directly from archives.
21769 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21771 # Whether the compiler copes with passing no objects directly.
21772 compiler_needs_object=$lt_compiler_needs_object
21774 # Create an old-style archive from a shared archive.
21775 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21777 # Create a temporary old-style archive to link instead of a shared archive.
21778 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21780 # Commands used to build a shared archive.
21781 archive_cmds=$lt_archive_cmds
21782 archive_expsym_cmds=$lt_archive_expsym_cmds
21784 # Commands used to build a loadable module if different from building
21785 # a shared archive.
21786 module_cmds=$lt_module_cmds
21787 module_expsym_cmds=$lt_module_expsym_cmds
21789 # Whether we are building with GNU ld or not.
21790 with_gnu_ld=$lt_with_gnu_ld
21792 # Flag that allows shared libraries with undefined symbols to be built.
21793 allow_undefined_flag=$lt_allow_undefined_flag
21795 # Flag that enforces no undefined symbols.
21796 no_undefined_flag=$lt_no_undefined_flag
21798 # Flag to hardcode \$libdir into a binary during linking.
21799 # This must work even if \$libdir does not exist
21800 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21802 # If ld is used when linking, flag to hardcode \$libdir into a binary
21803 # during linking.  This must work even if \$libdir does not exist.
21804 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
21806 # Whether we need a single "-rpath" flag with a separated argument.
21807 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21809 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21810 # DIR into the resulting binary.
21811 hardcode_direct=$hardcode_direct
21813 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21814 # DIR into the resulting binary and the resulting library dependency is
21815 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21816 # library is relocated.
21817 hardcode_direct_absolute=$hardcode_direct_absolute
21819 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21820 # into the resulting binary.
21821 hardcode_minus_L=$hardcode_minus_L
21823 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21824 # into the resulting binary.
21825 hardcode_shlibpath_var=$hardcode_shlibpath_var
21827 # Set to "yes" if building a shared library automatically hardcodes DIR
21828 # into the library and all subsequent libraries and executables linked
21829 # against it.
21830 hardcode_automatic=$hardcode_automatic
21832 # Set to yes if linker adds runtime paths of dependent libraries
21833 # to runtime path list.
21834 inherit_rpath=$inherit_rpath
21836 # Whether libtool must link a program against all its dependency libraries.
21837 link_all_deplibs=$link_all_deplibs
21839 # Fix the shell variable \$srcfile for the compiler.
21840 fix_srcfile_path=$lt_fix_srcfile_path
21842 # Set to "yes" if exported symbols are required.
21843 always_export_symbols=$always_export_symbols
21845 # The commands to list exported symbols.
21846 export_symbols_cmds=$lt_export_symbols_cmds
21848 # Symbols that should not be listed in the preloaded symbols.
21849 exclude_expsyms=$lt_exclude_expsyms
21851 # Symbols that must always be exported.
21852 include_expsyms=$lt_include_expsyms
21854 # Commands necessary for linking programs (against libraries) with templates.
21855 prelink_cmds=$lt_prelink_cmds
21857 # Specify filename containing input files.
21858 file_list_spec=$lt_file_list_spec
21860 # How to hardcode a shared library path into an executable.
21861 hardcode_action=$hardcode_action
21863 # ### END LIBTOOL CONFIG
21865 _LT_EOF
21867   case $host_os in
21868   aix3*)
21869     cat <<\_LT_EOF >> "$cfgfile"
21870 # AIX sometimes has problems with the GCC collect2 program.  For some
21871 # reason, if we set the COLLECT_NAMES environment variable, the problems
21872 # vanish in a puff of smoke.
21873 if test "X${COLLECT_NAMES+set}" != Xset; then
21874   COLLECT_NAMES=
21875   export COLLECT_NAMES
21877 _LT_EOF
21878     ;;
21879   esac
21881   
21882 ltmain="$ac_aux_dir/ltmain.sh"
21885   # We use sed instead of cat because bash on DJGPP gets confused if
21886   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
21887   # text mode, it properly converts lines to CR/LF.  This bash problem
21888   # is reportedly fixed, but why not run on old versions too?
21889   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
21890     || (rm -f "$cfgfile"; exit 1)
21892   case $xsi_shell in
21893   yes)
21894     cat << \_LT_EOF >> "$cfgfile"
21896 # func_dirname file append nondir_replacement
21897 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
21898 # otherwise set result to NONDIR_REPLACEMENT.
21899 func_dirname ()
21901   case ${1} in
21902     */*) func_dirname_result="${1%/*}${2}" ;;
21903     *  ) func_dirname_result="${3}" ;;
21904   esac
21907 # func_basename file
21908 func_basename ()
21910   func_basename_result="${1##*/}"
21913 # func_dirname_and_basename file append nondir_replacement
21914 # perform func_basename and func_dirname in a single function
21915 # call:
21916 #   dirname:  Compute the dirname of FILE.  If nonempty,
21917 #             add APPEND to the result, otherwise set result
21918 #             to NONDIR_REPLACEMENT.
21919 #             value returned in "$func_dirname_result"
21920 #   basename: Compute filename of FILE.
21921 #             value retuned in "$func_basename_result"
21922 # Implementation must be kept synchronized with func_dirname
21923 # and func_basename. For efficiency, we do not delegate to
21924 # those functions but instead duplicate the functionality here.
21925 func_dirname_and_basename ()
21927   case ${1} in
21928     */*) func_dirname_result="${1%/*}${2}" ;;
21929     *  ) func_dirname_result="${3}" ;;
21930   esac
21931   func_basename_result="${1##*/}"
21934 # func_stripname prefix suffix name
21935 # strip PREFIX and SUFFIX off of NAME.
21936 # PREFIX and SUFFIX must not contain globbing or regex special
21937 # characters, hashes, percent signs, but SUFFIX may contain a leading
21938 # dot (in which case that matches only a dot).
21939 func_stripname ()
21941   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
21942   # positional parameters, so assign one to ordinary parameter first.
21943   func_stripname_result=${3}
21944   func_stripname_result=${func_stripname_result#"${1}"}
21945   func_stripname_result=${func_stripname_result%"${2}"}
21948 # func_opt_split
21949 func_opt_split ()
21951   func_opt_split_opt=${1%%=*}
21952   func_opt_split_arg=${1#*=}
21955 # func_lo2o object
21956 func_lo2o ()
21958   case ${1} in
21959     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
21960     *)    func_lo2o_result=${1} ;;
21961   esac
21964 # func_xform libobj-or-source
21965 func_xform ()
21967   func_xform_result=${1%.*}.lo
21970 # func_arith arithmetic-term...
21971 func_arith ()
21973   func_arith_result=$(( $* ))
21976 # func_len string
21977 # STRING may not start with a hyphen.
21978 func_len ()
21980   func_len_result=${#1}
21983 _LT_EOF
21984     ;;
21985   *) # Bourne compatible functions.
21986     cat << \_LT_EOF >> "$cfgfile"
21988 # func_dirname file append nondir_replacement
21989 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
21990 # otherwise set result to NONDIR_REPLACEMENT.
21991 func_dirname ()
21993   # Extract subdirectory from the argument.
21994   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
21995   if test "X$func_dirname_result" = "X${1}"; then
21996     func_dirname_result="${3}"
21997   else
21998     func_dirname_result="$func_dirname_result${2}"
21999   fi
22002 # func_basename file
22003 func_basename ()
22005   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
22009 # func_stripname prefix suffix name
22010 # strip PREFIX and SUFFIX off of NAME.
22011 # PREFIX and SUFFIX must not contain globbing or regex special
22012 # characters, hashes, percent signs, but SUFFIX may contain a leading
22013 # dot (in which case that matches only a dot).
22014 # func_strip_suffix prefix name
22015 func_stripname ()
22017   case ${2} in
22018     .*) func_stripname_result=`$ECHO "X${3}" \
22019            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
22020     *)  func_stripname_result=`$ECHO "X${3}" \
22021            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
22022   esac
22025 # sed scripts:
22026 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
22027 my_sed_long_arg='1s/^-[^=]*=//'
22029 # func_opt_split
22030 func_opt_split ()
22032   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
22033   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
22036 # func_lo2o object
22037 func_lo2o ()
22039   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
22042 # func_xform libobj-or-source
22043 func_xform ()
22045   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
22048 # func_arith arithmetic-term...
22049 func_arith ()
22051   func_arith_result=`expr "$@"`
22054 # func_len string
22055 # STRING may not start with a hyphen.
22056 func_len ()
22058   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
22061 _LT_EOF
22062 esac
22064 case $lt_shell_append in
22065   yes)
22066     cat << \_LT_EOF >> "$cfgfile"
22068 # func_append var value
22069 # Append VALUE to the end of shell variable VAR.
22070 func_append ()
22072   eval "$1+=\$2"
22074 _LT_EOF
22075     ;;
22076   *)
22077     cat << \_LT_EOF >> "$cfgfile"
22079 # func_append var value
22080 # Append VALUE to the end of shell variable VAR.
22081 func_append ()
22083   eval "$1=\$$1\$2"
22086 _LT_EOF
22087     ;;
22088   esac
22091   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
22092     || (rm -f "$cfgfile"; exit 1)
22094   mv -f "$cfgfile" "$ofile" ||
22095     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22096   chmod +x "$ofile"
22098  ;;
22099     "po-directories":C) 
22100     for ac_file in $CONFIG_FILES; do
22101       # Support "outfile[:infile[:infile...]]"
22102       case "$ac_file" in
22103         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
22104       esac
22105       # PO directories have a Makefile.in generated from Makefile.in.in.
22106       case "$ac_file" in */Makefile.in)
22107         # Adjust a relative srcdir.
22108         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
22109         ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
22110         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
22111         # In autoconf-2.13 it is called $ac_given_srcdir.
22112         # In autoconf-2.50 it is called $srcdir.
22113         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
22114         case "$ac_given_srcdir" in
22115           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
22116           /*) top_srcdir="$ac_given_srcdir" ;;
22117           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
22118         esac
22119         # Treat a directory as a PO directory if and only if it has a
22120         # POTFILES.in file. This allows packages to have multiple PO
22121         # directories under different names or in different locations.
22122         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
22123           rm -f "$ac_dir/POTFILES"
22124           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
22125           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
22126           POMAKEFILEDEPS="POTFILES.in"
22127           # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
22128           # on $ac_dir but don't depend on user-specified configuration
22129           # parameters.
22130           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
22131             # The LINGUAS file contains the set of available languages.
22132             if test -n "$OBSOLETE_ALL_LINGUAS"; then
22133               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
22134             fi
22135             ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
22136             # Hide the ALL_LINGUAS assigment from automake < 1.5.
22137             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
22138             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
22139           else
22140             # The set of available languages was given in configure.in.
22141             # Hide the ALL_LINGUAS assigment from automake < 1.5.
22142             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
22143           fi
22144           # Compute POFILES
22145           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
22146           # Compute UPDATEPOFILES
22147           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
22148           # Compute DUMMYPOFILES
22149           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
22150           # Compute GMOFILES
22151           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
22152           case "$ac_given_srcdir" in
22153             .) srcdirpre= ;;
22154             *) srcdirpre='$(srcdir)/' ;;
22155           esac
22156           POFILES=
22157           UPDATEPOFILES=
22158           DUMMYPOFILES=
22159           GMOFILES=
22160           for lang in $ALL_LINGUAS; do
22161             POFILES="$POFILES $srcdirpre$lang.po"
22162             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
22163             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
22164             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
22165           done
22166           # CATALOGS depends on both $ac_dir and the user's LINGUAS
22167           # environment variable.
22168           INST_LINGUAS=
22169           if test -n "$ALL_LINGUAS"; then
22170             for presentlang in $ALL_LINGUAS; do
22171               useit=no
22172               if test "%UNSET%" != "$LINGUAS"; then
22173                 desiredlanguages="$LINGUAS"
22174               else
22175                 desiredlanguages="$ALL_LINGUAS"
22176               fi
22177               for desiredlang in $desiredlanguages; do
22178                 # Use the presentlang catalog if desiredlang is
22179                 #   a. equal to presentlang, or
22180                 #   b. a variant of presentlang (because in this case,
22181                 #      presentlang can be used as a fallback for messages
22182                 #      which are not translated in the desiredlang catalog).
22183                 case "$desiredlang" in
22184                   "$presentlang"*) useit=yes;;
22185                 esac
22186               done
22187               if test $useit = yes; then
22188                 INST_LINGUAS="$INST_LINGUAS $presentlang"
22189               fi
22190             done
22191           fi
22192           CATALOGS=
22193           if test -n "$INST_LINGUAS"; then
22194             for lang in $INST_LINGUAS; do
22195               CATALOGS="$CATALOGS $lang.gmo"
22196             done
22197           fi
22198           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
22199           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"
22200           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
22201             if test -f "$f"; then
22202               case "$f" in
22203                 *.orig | *.bak | *~) ;;
22204                 *) cat "$f" >> "$ac_dir/Makefile" ;;
22205               esac
22206             fi
22207           done
22208         fi
22209         ;;
22210       esac
22211     done ;;
22213   esac
22214 done # for ac_tag
22217 as_fn_exit 0
22218 _ACEOF
22219 ac_clean_files=$ac_clean_files_save
22221 test $ac_write_fail = 0 ||
22222   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22225 # configure is writing to config.log, and then calls config.status.
22226 # config.status does its own redirection, appending to config.log.
22227 # Unfortunately, on DOS this fails, as config.log is still kept open
22228 # by configure, so config.status won't be able to write to it; its
22229 # output is simply discarded.  So we exec the FD to /dev/null,
22230 # effectively closing config.log, so it can be properly (re)opened and
22231 # appended to by config.status.  When coming back to configure, we
22232 # need to make the FD available again.
22233 if test "$no_create" != yes; then
22234   ac_cs_success=:
22235   ac_config_status_args=
22236   test "$silent" = yes &&
22237     ac_config_status_args="$ac_config_status_args --quiet"
22238   exec 5>/dev/null
22239   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22240   exec 5>>config.log
22241   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22242   # would make configure fail if this is the last instruction.
22243   $ac_cs_success || as_fn_exit 1
22245 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22246   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22247 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}