Imported Upstream version 106
[platform/upstream/ecryptfs-utils.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for ecryptfs-utils 106.
4 #
5 #
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7 #
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18   emulate sh
19   NULLCMD=:
20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21   # is contrary to our usage.  Disable this feature.
22   alias -g '${1+"$@"}'='"$@"'
23   setopt NO_GLOB_SUBST
24 else
25   case `(set -o) 2>/dev/null` in #(
26   *posix*) :
27     set -o posix ;; #(
28   *) :
29      ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45   as_echo='print -r --'
46   as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48   as_echo='printf %s\n'
49   as_echo_n='printf %s'
50 else
51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53     as_echo_n='/usr/ucb/echo -n'
54   else
55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56     as_echo_n_body='eval
57       arg=$1;
58       case $arg in #(
59       *"$as_nl"*)
60         expr "X$arg" : "X\\(.*\\)$as_nl";
61         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62       esac;
63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64     '
65     export as_echo_n_body
66     as_echo_n='sh -c $as_echo_n_body as_echo'
67   fi
68   export as_echo_body
69   as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74   PATH_SEPARATOR=:
75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77       PATH_SEPARATOR=';'
78   }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order.  Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" ""        $as_nl"
88
89 # Find who we are.  Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92   *[\\/]* ) as_myself=$0 ;;
93   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
95 do
96   IFS=$as_save_IFS
97   test -z "$as_dir" && as_dir=.
98     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99   done
100 IFS=$as_save_IFS
101
102      ;;
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107   as_myself=$0
108 fi
109 if test ! -f "$as_myself"; then
110   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111   exit 1
112 fi
113
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there.  '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
125
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
131
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135 # Use a proper internal environment variable to ensure we don't fall
136   # into an infinite loop, continuously re-executing ourselves.
137   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138     _as_can_reexec=no; export _as_can_reexec;
139     # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147   *v*x* | *x*v* ) as_opts=-vx ;;
148   *v* ) as_opts=-v ;;
149   *x* ) as_opts=-x ;;
150   * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
157   fi
158   # We don't want this to propagate to other subprocesses.
159           { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162   emulate sh
163   NULLCMD=:
164   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165   # is contrary to our usage.  Disable this feature.
166   alias -g '\${1+\"\$@\"}'='\"\$@\"'
167   setopt NO_GLOB_SUBST
168 else
169   case \`(set -o) 2>/dev/null\` in #(
170   *posix*) :
171     set -o posix ;; #(
172   *) :
173      ;;
174 esac
175 fi
176 "
177   as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
182
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190 else
191   exitcode=1; echo positional parameters were not saved.
192 fi
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1
200
201   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205     PATH=/empty FPATH=/empty; export PATH FPATH
206     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208   if (eval "$as_required") 2>/dev/null; then :
209   as_have_required=yes
210 else
211   as_have_required=no
212 fi
213   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
214
215 else
216   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217 as_found=false
218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
219 do
220   IFS=$as_save_IFS
221   test -z "$as_dir" && as_dir=.
222   as_found=:
223   case $as_dir in #(
224          /*)
225            for as_base in sh bash ksh sh5; do
226              # Try only shells that exist, to save several forks.
227              as_shell=$as_dir/$as_base
228              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230   CONFIG_SHELL=$as_shell as_have_required=yes
231                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232   break 2
233 fi
234 fi
235            done;;
236        esac
237   as_found=false
238 done
239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241   CONFIG_SHELL=$SHELL as_have_required=yes
242 fi; }
243 IFS=$as_save_IFS
244
245
246       if test "x$CONFIG_SHELL" != x; then :
247   export CONFIG_SHELL
248              # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
252 BASH_ENV=/dev/null
253 ENV=/dev/null
254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255 case $- in # ((((
256   *v*x* | *x*v* ) as_opts=-vx ;;
257   *v* ) as_opts=-v ;;
258   *x* ) as_opts=-x ;;
259   * ) as_opts= ;;
260 esac
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265 exit 255
266 fi
267
268     if test x$as_have_required = xno; then :
269   $as_echo "$0: This script requires a shell more modern than all"
270   $as_echo "$0: the shells that I found on your system."
271   if test x${ZSH_VERSION+set} = xset ; then
272     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
274   else
275     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
279   fi
280   exit 1
281 fi
282 fi
283 fi
284 SHELL=${CONFIG_SHELL-/bin/sh}
285 export SHELL
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE= GREP_OPTIONS=
288 unset CLICOLOR_FORCE GREP_OPTIONS
289
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
293 # as_fn_unset VAR
294 # ---------------
295 # Portably unset VAR.
296 as_fn_unset ()
297 {
298   { eval $1=; unset $1;}
299 }
300 as_unset=as_fn_unset
301
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
305 as_fn_set_status ()
306 {
307   return $1
308 } # as_fn_set_status
309
310 # as_fn_exit STATUS
311 # -----------------
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313 as_fn_exit ()
314 {
315   set +e
316   as_fn_set_status $1
317   exit $1
318 } # as_fn_exit
319
320 # as_fn_mkdir_p
321 # -------------
322 # Create "$as_dir" as a directory, including parents if necessary.
323 as_fn_mkdir_p ()
324 {
325
326   case $as_dir in #(
327   -*) as_dir=./$as_dir;;
328   esac
329   test -d "$as_dir" || eval $as_mkdir_p || {
330     as_dirs=
331     while :; do
332       case $as_dir in #(
333       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334       *) as_qdir=$as_dir;;
335       esac
336       as_dirs="'$as_qdir' $as_dirs"
337       as_dir=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339          X"$as_dir" : 'X\(//\)[^/]' \| \
340          X"$as_dir" : 'X\(//\)$' \| \
341          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344             s//\1/
345             q
346           }
347           /^X\(\/\/\)[^/].*/{
348             s//\1/
349             q
350           }
351           /^X\(\/\/\)$/{
352             s//\1/
353             q
354           }
355           /^X\(\/\).*/{
356             s//\1/
357             q
358           }
359           s/.*/./; q'`
360       test -d "$as_dir" && break
361     done
362     test -z "$as_dirs" || eval "mkdir $as_dirs"
363   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
364
365
366 } # as_fn_mkdir_p
367
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p ()
372 {
373   test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
380 # implementations.
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382   eval 'as_fn_append ()
383   {
384     eval $1+=\$2
385   }'
386 else
387   as_fn_append ()
388   {
389     eval $1=\$$1\$2
390   }
391 fi # as_fn_append
392
393 # as_fn_arith ARG...
394 # ------------------
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399   eval 'as_fn_arith ()
400   {
401     as_val=$(( $* ))
402   }'
403 else
404   as_fn_arith ()
405   {
406     as_val=`expr "$@" || test $? -eq 1`
407   }
408 fi # as_fn_arith
409
410
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
416 as_fn_error ()
417 {
418   as_status=$1; test $as_status -eq 0 && as_status=1
419   if test "$4"; then
420     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
422   fi
423   $as_echo "$as_me: error: $2" >&2
424   as_fn_exit $as_status
425 } # as_fn_error
426
427 if expr a : '\(a\)' >/dev/null 2>&1 &&
428    test "X`expr 00001 : '.*\(...\)'`" = X001; then
429   as_expr=expr
430 else
431   as_expr=false
432 fi
433
434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435   as_basename=basename
436 else
437   as_basename=false
438 fi
439
440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441   as_dirname=dirname
442 else
443   as_dirname=false
444 fi
445
446 as_me=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448          X"$0" : 'X\(//\)$' \| \
449          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
450 $as_echo X/"$0" |
451     sed '/^.*\/\([^/][^/]*\)\/*$/{
452             s//\1/
453             q
454           }
455           /^X\/\(\/\/\)$/{
456             s//\1/
457             q
458           }
459           /^X\/\(\/\).*/{
460             s//\1/
461             q
462           }
463           s/.*/./; q'`
464
465 # Avoid depending upon Character Ranges.
466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits='0123456789'
470 as_cr_alnum=$as_cr_Letters$as_cr_digits
471
472
473   as_lineno_1=$LINENO as_lineno_1a=$LINENO
474   as_lineno_2=$LINENO as_lineno_2a=$LINENO
475   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
478   sed -n '
479     p
480     /[$]LINENO/=
481   ' <$as_myself |
482     sed '
483       s/[$]LINENO.*/&-/
484       t lineno
485       b
486       :lineno
487       N
488       :loop
489       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490       t loop
491       s/-\n.*//
492     ' >$as_me.lineno &&
493   chmod +x "$as_me.lineno" ||
494     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
495
496   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497   # already done that, so ensure we don't try to do so again and fall
498   # in an infinite loop.  This has already happened in practice.
499   _as_can_reexec=no; export _as_can_reexec
500   # Don't try to exec as it changes $[0], causing all sort of problems
501   # (the dirname of $[0] is not the place where we might find the
502   # original and so on.  Autoconf is especially sensitive to this).
503   . "./$as_me.lineno"
504   # Exit status is that of the last command.
505   exit
506 }
507
508 ECHO_C= ECHO_N= ECHO_T=
509 case `echo -n x` in #(((((
510 -n*)
511   case `echo 'xy\c'` in
512   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
513   xy)  ECHO_C='\c';;
514   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
515        ECHO_T=' ';;
516   esac;;
517 *)
518   ECHO_N='-n';;
519 esac
520
521 rm -f conf$$ conf$$.exe conf$$.file
522 if test -d conf$$.dir; then
523   rm -f conf$$.dir/conf$$.file
524 else
525   rm -f conf$$.dir
526   mkdir conf$$.dir 2>/dev/null
527 fi
528 if (echo >conf$$.file) 2>/dev/null; then
529   if ln -s conf$$.file conf$$ 2>/dev/null; then
530     as_ln_s='ln -s'
531     # ... but there are two gotchas:
532     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534     # In both cases, we have to default to `cp -pR'.
535     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536       as_ln_s='cp -pR'
537   elif ln conf$$.file conf$$ 2>/dev/null; then
538     as_ln_s=ln
539   else
540     as_ln_s='cp -pR'
541   fi
542 else
543   as_ln_s='cp -pR'
544 fi
545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546 rmdir conf$$.dir 2>/dev/null
547
548 if mkdir -p . 2>/dev/null; then
549   as_mkdir_p='mkdir -p "$as_dir"'
550 else
551   test -d ./-p && rmdir ./-p
552   as_mkdir_p=false
553 fi
554
555 as_test_x='test -x'
556 as_executable_p=as_fn_executable_p
557
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
560
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
563
564 SHELL=${CONFIG_SHELL-/bin/sh}
565
566
567 test -n "$DJDIR" || exec 7<&0 </dev/null
568 exec 6>&1
569
570 # Name of the host.
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
574
575 #
576 # Initializations.
577 #
578 ac_default_prefix=/usr/local
579 ac_clean_files=
580 ac_config_libobj_dir=.
581 LIBOBJS=
582 cross_compiling=no
583 subdirs=
584 MFLAGS=
585 MAKEFLAGS=
586
587 # Identity of this package.
588 PACKAGE_NAME='ecryptfs-utils'
589 PACKAGE_TARNAME='ecryptfs-utils'
590 PACKAGE_VERSION='106'
591 PACKAGE_STRING='ecryptfs-utils 106'
592 PACKAGE_BUGREPORT=''
593 PACKAGE_URL=''
594
595 ac_unique_file="src/libecryptfs"
596 # Factoring default headers for most tests.
597 ac_includes_default="\
598 #include <stdio.h>
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
601 #endif
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
604 #endif
605 #ifdef STDC_HEADERS
606 # include <stdlib.h>
607 # include <stddef.h>
608 #else
609 # ifdef HAVE_STDLIB_H
610 #  include <stdlib.h>
611 # endif
612 #endif
613 #ifdef HAVE_STRING_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
615 #  include <memory.h>
616 # endif
617 # include <string.h>
618 #endif
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
621 #endif
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
624 #endif
625 #ifdef HAVE_STDINT_H
626 # include <stdint.h>
627 #endif
628 #ifdef HAVE_UNISTD_H
629 # include <unistd.h>
630 #endif"
631
632 ac_subst_vars='am__EXEEXT_FALSE
633 am__EXEEXT_TRUE
634 LTLIBOBJS
635 LIBOBJS
636 ENABLE_TESTS_FALSE
637 ENABLE_TESTS_TRUE
638 BUILD_DOCS_GEN_FALSE
639 BUILD_DOCS_GEN_TRUE
640 BUILD_DOCS_FALSE
641 BUILD_DOCS_TRUE
642 BUILD_GUI_FALSE
643 BUILD_GUI_TRUE
644 BUILD_NSS_FALSE
645 BUILD_NSS_TRUE
646 BUILD_PYWRAP_FALSE
647 BUILD_PYWRAP_TRUE
648 BUILD_PAM_FALSE
649 BUILD_PAM_TRUE
650 BUILD_GPG_FALSE
651 BUILD_GPG_TRUE
652 BUILD_TSPI_FALSE
653 BUILD_TSPI_TRUE
654 BUILD_PKCS11_HELPER_FALSE
655 BUILD_PKCS11_HELPER_TRUE
656 BUILD_OPENSSL_FALSE
657 BUILD_OPENSSL_TRUE
658 CRYPTO_LIBS
659 CRYPTO_CFLAGS
660 GPGME_LIBS
661 GPGME_CFLAGS
662 ecryptfskeymoddir
663 rootsbindir
664 pkgconfigdir
665 pamlibdir
666 pamdir
667 LOCALEDIR
668 ALL_LINGUAS
669 INTLTOOL_PERL
670 MSGMERGE
671 INTLTOOL_POLICY_RULE
672 INTLTOOL_SERVICE_RULE
673 INTLTOOL_THEME_RULE
674 INTLTOOL_SCHEMAS_RULE
675 INTLTOOL_CAVES_RULE
676 INTLTOOL_XML_NOMERGE_RULE
677 INTLTOOL_XML_RULE
678 INTLTOOL_KBD_RULE
679 INTLTOOL_XAM_RULE
680 INTLTOOL_UI_RULE
681 INTLTOOL_SOUNDLIST_RULE
682 INTLTOOL_SHEET_RULE
683 INTLTOOL_SERVER_RULE
684 INTLTOOL_PONG_RULE
685 INTLTOOL_OAF_RULE
686 INTLTOOL_PROP_RULE
687 INTLTOOL_KEYS_RULE
688 INTLTOOL_DIRECTORY_RULE
689 INTLTOOL_DESKTOP_RULE
690 intltool__v_merge_options_0
691 intltool__v_merge_options_
692 INTLTOOL_V_MERGE_OPTIONS
693 INTLTOOL__v_MERGE_0
694 INTLTOOL__v_MERGE_
695 INTLTOOL_V_MERGE
696 INTLTOOL_EXTRACT
697 INTLTOOL_MERGE
698 INTLTOOL_UPDATE
699 MKINSTALLDIRS
700 POSUB
701 POFILES
702 PO_IN_DATADIR_FALSE
703 PO_IN_DATADIR_TRUE
704 INTLLIBS
705 INSTOBJEXT
706 GMOFILES
707 DATADIRNAME
708 CATOBJEXT
709 CATALOGS
710 XGETTEXT
711 GMSGFMT
712 MSGFMT_OPTS
713 MSGFMT
714 USE_NLS
715 GETTEXT_PACKAGE
716 GTK_LIBS
717 GTK_CFLAGS
718 PAM_LIBS
719 PAM_CFLAGS
720 TSPI_LIBS
721 TSPI_CFLAGS
722 PKCS11_HELPER_LIBS
723 PKCS11_HELPER_CFLAGS
724 SWIG_PYTHON_CPPFLAGS
725 SWIG_PYTHON_OPT
726 PYTHON_EXTRA_LDFLAGS
727 PYTHON_EXTRA_LIBS
728 PYTHON_SITE_PKG
729 PYTHON_LDFLAGS
730 PYTHON_CPPFLAGS
731 SWIG_LIB
732 SWIG
733 pkgpyexecdir
734 pyexecdir
735 pkgpythondir
736 pythondir
737 PYTHON_PLATFORM
738 PYTHON_EXEC_PREFIX
739 PYTHON_PREFIX
740 PYTHON_VERSION
741 PYTHON
742 NSS_LIBS
743 NSS_CFLAGS
744 OPENSSL_LIBS
745 OPENSSL_CFLAGS
746 KEYUTILS_LIBS
747 KEYUTILS_CFLAGS
748 LATEX
749 LATEX2HTML
750 DVIPS
751 PS2PDF
752 TAR
753 POD2MAN
754 OTOOL64
755 OTOOL
756 LIPO
757 NMEDIT
758 DSYMUTIL
759 MANIFEST_TOOL
760 RANLIB
761 ac_ct_AR
762 AR
763 DLLTOOL
764 OBJDUMP
765 NM
766 ac_ct_DUMPBIN
767 DUMPBIN
768 LD
769 FGREP
770 SED
771 LIBTOOL
772 PKG_CONFIG_LIBDIR
773 PKG_CONFIG_PATH
774 PKG_CONFIG
775 LN_S
776 EGREP
777 GREP
778 CPP
779 am__fastdepCC_FALSE
780 am__fastdepCC_TRUE
781 CCDEPMODE
782 am__nodep
783 AMDEPBACKSLASH
784 AMDEP_FALSE
785 AMDEP_TRUE
786 am__quote
787 am__include
788 DEPDIR
789 OBJEXT
790 EXEEXT
791 ac_ct_CC
792 CPPFLAGS
793 LDFLAGS
794 CFLAGS
795 CC
796 LIBECRYPTFS_LT_AGE
797 LIBECRYPTFS_LT_REVISION
798 LIBECRYPTFS_LT_CURRENT
799 AM_CPPFLAGS
800 AM_BACKSLASH
801 AM_DEFAULT_VERBOSITY
802 AM_DEFAULT_V
803 AM_V
804 am__untar
805 am__tar
806 AMTAR
807 am__leading_dot
808 SET_MAKE
809 AWK
810 mkdir_p
811 MKDIR_P
812 INSTALL_STRIP_PROGRAM
813 STRIP
814 install_sh
815 MAKEINFO
816 AUTOHEADER
817 AUTOMAKE
818 AUTOCONF
819 ACLOCAL
820 VERSION
821 PACKAGE
822 CYGPATH_W
823 am__isrc
824 INSTALL_DATA
825 INSTALL_SCRIPT
826 INSTALL_PROGRAM
827 target_os
828 target_vendor
829 target_cpu
830 target
831 host_os
832 host_vendor
833 host_cpu
834 host
835 build_os
836 build_vendor
837 build_cpu
838 build
839 target_alias
840 host_alias
841 build_alias
842 LIBS
843 ECHO_T
844 ECHO_N
845 ECHO_C
846 DEFS
847 mandir
848 localedir
849 libdir
850 psdir
851 pdfdir
852 dvidir
853 htmldir
854 infodir
855 docdir
856 oldincludedir
857 includedir
858 localstatedir
859 sharedstatedir
860 sysconfdir
861 datadir
862 datarootdir
863 libexecdir
864 sbindir
865 bindir
866 program_transform_name
867 prefix
868 exec_prefix
869 PACKAGE_URL
870 PACKAGE_BUGREPORT
871 PACKAGE_STRING
872 PACKAGE_VERSION
873 PACKAGE_TARNAME
874 PACKAGE_NAME
875 PATH_SEPARATOR
876 SHELL'
877 ac_subst_files=''
878 ac_user_opts='
879 enable_option_checking
880 enable_silent_rules
881 enable_static
882 enable_nss
883 enable_pywrap
884 enable_openssl
885 enable_pkcs11_helper
886 enable_tspi
887 enable_gpg
888 enable_pam
889 enable_gui
890 enable_docs
891 enable_docs_gen
892 enable_tests
893 enable_mudflap
894 with_gpgme_prefix
895 with_pamdir
896 with_ecryptfskeymoddir
897 enable_dependency_tracking
898 enable_shared
899 with_pic
900 enable_fast_install
901 with_gnu_ld
902 with_sysroot
903 enable_libtool_lock
904 enable_largefile
905 enable_nls
906 '
907       ac_precious_vars='build_alias
908 host_alias
909 target_alias
910 CC
911 CFLAGS
912 LDFLAGS
913 LIBS
914 CPPFLAGS
915 CPP
916 PKG_CONFIG
917 PKG_CONFIG_PATH
918 PKG_CONFIG_LIBDIR
919 KEYUTILS_CFLAGS
920 KEYUTILS_LIBS
921 OPENSSL_CFLAGS
922 OPENSSL_LIBS
923 NSS_CFLAGS
924 NSS_LIBS
925 PYTHON
926 PYTHON_VERSION
927 PKCS11_HELPER_CFLAGS
928 PKCS11_HELPER_LIBS
929 TSPI_CFLAGS
930 TSPI_LIBS
931 PAM_CFLAGS
932 PAM_LIBS
933 GTK_CFLAGS
934 GTK_LIBS'
935
936
937 # Initialize some variables set by options.
938 ac_init_help=
939 ac_init_version=false
940 ac_unrecognized_opts=
941 ac_unrecognized_sep=
942 # The variables have the same names as the options, with
943 # dashes changed to underlines.
944 cache_file=/dev/null
945 exec_prefix=NONE
946 no_create=
947 no_recursion=
948 prefix=NONE
949 program_prefix=NONE
950 program_suffix=NONE
951 program_transform_name=s,x,x,
952 silent=
953 site=
954 srcdir=
955 verbose=
956 x_includes=NONE
957 x_libraries=NONE
958
959 # Installation directory options.
960 # These are left unexpanded so users can "make install exec_prefix=/foo"
961 # and all the variables that are supposed to be based on exec_prefix
962 # by default will actually change.
963 # Use braces instead of parens because sh, perl, etc. also accept them.
964 # (The list follows the same order as the GNU Coding Standards.)
965 bindir='${exec_prefix}/bin'
966 sbindir='${exec_prefix}/sbin'
967 libexecdir='${exec_prefix}/libexec'
968 datarootdir='${prefix}/share'
969 datadir='${datarootdir}'
970 sysconfdir='${prefix}/etc'
971 sharedstatedir='${prefix}/com'
972 localstatedir='${prefix}/var'
973 includedir='${prefix}/include'
974 oldincludedir='/usr/include'
975 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
976 infodir='${datarootdir}/info'
977 htmldir='${docdir}'
978 dvidir='${docdir}'
979 pdfdir='${docdir}'
980 psdir='${docdir}'
981 libdir='${exec_prefix}/lib'
982 localedir='${datarootdir}/locale'
983 mandir='${datarootdir}/man'
984
985 ac_prev=
986 ac_dashdash=
987 for ac_option
988 do
989   # If the previous option needs an argument, assign it.
990   if test -n "$ac_prev"; then
991     eval $ac_prev=\$ac_option
992     ac_prev=
993     continue
994   fi
995
996   case $ac_option in
997   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
998   *=)   ac_optarg= ;;
999   *)    ac_optarg=yes ;;
1000   esac
1001
1002   # Accept the important Cygnus configure options, so we can diagnose typos.
1003
1004   case $ac_dashdash$ac_option in
1005   --)
1006     ac_dashdash=yes ;;
1007
1008   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1009     ac_prev=bindir ;;
1010   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1011     bindir=$ac_optarg ;;
1012
1013   -build | --build | --buil | --bui | --bu)
1014     ac_prev=build_alias ;;
1015   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1016     build_alias=$ac_optarg ;;
1017
1018   -cache-file | --cache-file | --cache-fil | --cache-fi \
1019   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1020     ac_prev=cache_file ;;
1021   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1022   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1023     cache_file=$ac_optarg ;;
1024
1025   --config-cache | -C)
1026     cache_file=config.cache ;;
1027
1028   -datadir | --datadir | --datadi | --datad)
1029     ac_prev=datadir ;;
1030   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1031     datadir=$ac_optarg ;;
1032
1033   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1034   | --dataroo | --dataro | --datar)
1035     ac_prev=datarootdir ;;
1036   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1037   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1038     datarootdir=$ac_optarg ;;
1039
1040   -disable-* | --disable-*)
1041     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1042     # Reject names that are not valid shell variable names.
1043     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1044       as_fn_error $? "invalid feature name: $ac_useropt"
1045     ac_useropt_orig=$ac_useropt
1046     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1047     case $ac_user_opts in
1048       *"
1049 "enable_$ac_useropt"
1050 "*) ;;
1051       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1052          ac_unrecognized_sep=', ';;
1053     esac
1054     eval enable_$ac_useropt=no ;;
1055
1056   -docdir | --docdir | --docdi | --doc | --do)
1057     ac_prev=docdir ;;
1058   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1059     docdir=$ac_optarg ;;
1060
1061   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1062     ac_prev=dvidir ;;
1063   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1064     dvidir=$ac_optarg ;;
1065
1066   -enable-* | --enable-*)
1067     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1068     # Reject names that are not valid shell variable names.
1069     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1070       as_fn_error $? "invalid feature name: $ac_useropt"
1071     ac_useropt_orig=$ac_useropt
1072     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1073     case $ac_user_opts in
1074       *"
1075 "enable_$ac_useropt"
1076 "*) ;;
1077       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1078          ac_unrecognized_sep=', ';;
1079     esac
1080     eval enable_$ac_useropt=\$ac_optarg ;;
1081
1082   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1083   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1084   | --exec | --exe | --ex)
1085     ac_prev=exec_prefix ;;
1086   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1087   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1088   | --exec=* | --exe=* | --ex=*)
1089     exec_prefix=$ac_optarg ;;
1090
1091   -gas | --gas | --ga | --g)
1092     # Obsolete; use --with-gas.
1093     with_gas=yes ;;
1094
1095   -help | --help | --hel | --he | -h)
1096     ac_init_help=long ;;
1097   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1098     ac_init_help=recursive ;;
1099   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1100     ac_init_help=short ;;
1101
1102   -host | --host | --hos | --ho)
1103     ac_prev=host_alias ;;
1104   -host=* | --host=* | --hos=* | --ho=*)
1105     host_alias=$ac_optarg ;;
1106
1107   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1108     ac_prev=htmldir ;;
1109   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1110   | --ht=*)
1111     htmldir=$ac_optarg ;;
1112
1113   -includedir | --includedir | --includedi | --included | --include \
1114   | --includ | --inclu | --incl | --inc)
1115     ac_prev=includedir ;;
1116   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1117   | --includ=* | --inclu=* | --incl=* | --inc=*)
1118     includedir=$ac_optarg ;;
1119
1120   -infodir | --infodir | --infodi | --infod | --info | --inf)
1121     ac_prev=infodir ;;
1122   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1123     infodir=$ac_optarg ;;
1124
1125   -libdir | --libdir | --libdi | --libd)
1126     ac_prev=libdir ;;
1127   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1128     libdir=$ac_optarg ;;
1129
1130   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1131   | --libexe | --libex | --libe)
1132     ac_prev=libexecdir ;;
1133   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1134   | --libexe=* | --libex=* | --libe=*)
1135     libexecdir=$ac_optarg ;;
1136
1137   -localedir | --localedir | --localedi | --localed | --locale)
1138     ac_prev=localedir ;;
1139   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1140     localedir=$ac_optarg ;;
1141
1142   -localstatedir | --localstatedir | --localstatedi | --localstated \
1143   | --localstate | --localstat | --localsta | --localst | --locals)
1144     ac_prev=localstatedir ;;
1145   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1146   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1147     localstatedir=$ac_optarg ;;
1148
1149   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1150     ac_prev=mandir ;;
1151   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1152     mandir=$ac_optarg ;;
1153
1154   -nfp | --nfp | --nf)
1155     # Obsolete; use --without-fp.
1156     with_fp=no ;;
1157
1158   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1159   | --no-cr | --no-c | -n)
1160     no_create=yes ;;
1161
1162   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1163   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1164     no_recursion=yes ;;
1165
1166   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1167   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1168   | --oldin | --oldi | --old | --ol | --o)
1169     ac_prev=oldincludedir ;;
1170   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1171   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1172   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1173     oldincludedir=$ac_optarg ;;
1174
1175   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1176     ac_prev=prefix ;;
1177   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1178     prefix=$ac_optarg ;;
1179
1180   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1181   | --program-pre | --program-pr | --program-p)
1182     ac_prev=program_prefix ;;
1183   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1184   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1185     program_prefix=$ac_optarg ;;
1186
1187   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1188   | --program-suf | --program-su | --program-s)
1189     ac_prev=program_suffix ;;
1190   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1191   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1192     program_suffix=$ac_optarg ;;
1193
1194   -program-transform-name | --program-transform-name \
1195   | --program-transform-nam | --program-transform-na \
1196   | --program-transform-n | --program-transform- \
1197   | --program-transform | --program-transfor \
1198   | --program-transfo | --program-transf \
1199   | --program-trans | --program-tran \
1200   | --progr-tra | --program-tr | --program-t)
1201     ac_prev=program_transform_name ;;
1202   -program-transform-name=* | --program-transform-name=* \
1203   | --program-transform-nam=* | --program-transform-na=* \
1204   | --program-transform-n=* | --program-transform-=* \
1205   | --program-transform=* | --program-transfor=* \
1206   | --program-transfo=* | --program-transf=* \
1207   | --program-trans=* | --program-tran=* \
1208   | --progr-tra=* | --program-tr=* | --program-t=*)
1209     program_transform_name=$ac_optarg ;;
1210
1211   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1212     ac_prev=pdfdir ;;
1213   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1214     pdfdir=$ac_optarg ;;
1215
1216   -psdir | --psdir | --psdi | --psd | --ps)
1217     ac_prev=psdir ;;
1218   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1219     psdir=$ac_optarg ;;
1220
1221   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1222   | -silent | --silent | --silen | --sile | --sil)
1223     silent=yes ;;
1224
1225   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1226     ac_prev=sbindir ;;
1227   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1228   | --sbi=* | --sb=*)
1229     sbindir=$ac_optarg ;;
1230
1231   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1232   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1233   | --sharedst | --shareds | --shared | --share | --shar \
1234   | --sha | --sh)
1235     ac_prev=sharedstatedir ;;
1236   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1237   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1238   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1239   | --sha=* | --sh=*)
1240     sharedstatedir=$ac_optarg ;;
1241
1242   -site | --site | --sit)
1243     ac_prev=site ;;
1244   -site=* | --site=* | --sit=*)
1245     site=$ac_optarg ;;
1246
1247   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1248     ac_prev=srcdir ;;
1249   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1250     srcdir=$ac_optarg ;;
1251
1252   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1253   | --syscon | --sysco | --sysc | --sys | --sy)
1254     ac_prev=sysconfdir ;;
1255   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1256   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1257     sysconfdir=$ac_optarg ;;
1258
1259   -target | --target | --targe | --targ | --tar | --ta | --t)
1260     ac_prev=target_alias ;;
1261   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1262     target_alias=$ac_optarg ;;
1263
1264   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1265     verbose=yes ;;
1266
1267   -version | --version | --versio | --versi | --vers | -V)
1268     ac_init_version=: ;;
1269
1270   -with-* | --with-*)
1271     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1272     # Reject names that are not valid shell variable names.
1273     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1274       as_fn_error $? "invalid package name: $ac_useropt"
1275     ac_useropt_orig=$ac_useropt
1276     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1277     case $ac_user_opts in
1278       *"
1279 "with_$ac_useropt"
1280 "*) ;;
1281       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1282          ac_unrecognized_sep=', ';;
1283     esac
1284     eval with_$ac_useropt=\$ac_optarg ;;
1285
1286   -without-* | --without-*)
1287     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1288     # Reject names that are not valid shell variable names.
1289     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1290       as_fn_error $? "invalid package name: $ac_useropt"
1291     ac_useropt_orig=$ac_useropt
1292     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1293     case $ac_user_opts in
1294       *"
1295 "with_$ac_useropt"
1296 "*) ;;
1297       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1298          ac_unrecognized_sep=', ';;
1299     esac
1300     eval with_$ac_useropt=no ;;
1301
1302   --x)
1303     # Obsolete; use --with-x.
1304     with_x=yes ;;
1305
1306   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1307   | --x-incl | --x-inc | --x-in | --x-i)
1308     ac_prev=x_includes ;;
1309   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1310   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1311     x_includes=$ac_optarg ;;
1312
1313   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1314   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1315     ac_prev=x_libraries ;;
1316   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1317   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1318     x_libraries=$ac_optarg ;;
1319
1320   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1321 Try \`$0 --help' for more information"
1322     ;;
1323
1324   *=*)
1325     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1326     # Reject names that are not valid shell variable names.
1327     case $ac_envvar in #(
1328       '' | [0-9]* | *[!_$as_cr_alnum]* )
1329       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1330     esac
1331     eval $ac_envvar=\$ac_optarg
1332     export $ac_envvar ;;
1333
1334   *)
1335     # FIXME: should be removed in autoconf 3.0.
1336     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1337     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1338       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1339     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1340     ;;
1341
1342   esac
1343 done
1344
1345 if test -n "$ac_prev"; then
1346   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1347   as_fn_error $? "missing argument to $ac_option"
1348 fi
1349
1350 if test -n "$ac_unrecognized_opts"; then
1351   case $enable_option_checking in
1352     no) ;;
1353     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1354     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1355   esac
1356 fi
1357
1358 # Check all directory arguments for consistency.
1359 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1360                 datadir sysconfdir sharedstatedir localstatedir includedir \
1361                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1362                 libdir localedir mandir
1363 do
1364   eval ac_val=\$$ac_var
1365   # Remove trailing slashes.
1366   case $ac_val in
1367     */ )
1368       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1369       eval $ac_var=\$ac_val;;
1370   esac
1371   # Be sure to have absolute directory names.
1372   case $ac_val in
1373     [\\/$]* | ?:[\\/]* )  continue;;
1374     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1375   esac
1376   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1377 done
1378
1379 # There might be people who depend on the old broken behavior: `$host'
1380 # used to hold the argument of --host etc.
1381 # FIXME: To remove some day.
1382 build=$build_alias
1383 host=$host_alias
1384 target=$target_alias
1385
1386 # FIXME: To remove some day.
1387 if test "x$host_alias" != x; then
1388   if test "x$build_alias" = x; then
1389     cross_compiling=maybe
1390   elif test "x$build_alias" != "x$host_alias"; then
1391     cross_compiling=yes
1392   fi
1393 fi
1394
1395 ac_tool_prefix=
1396 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1397
1398 test "$silent" = yes && exec 6>/dev/null
1399
1400
1401 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1402 ac_ls_di=`ls -di .` &&
1403 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1404   as_fn_error $? "working directory cannot be determined"
1405 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1406   as_fn_error $? "pwd does not report name of working directory"
1407
1408
1409 # Find the source files, if location was not specified.
1410 if test -z "$srcdir"; then
1411   ac_srcdir_defaulted=yes
1412   # Try the directory containing this script, then the parent directory.
1413   ac_confdir=`$as_dirname -- "$as_myself" ||
1414 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1415          X"$as_myself" : 'X\(//\)[^/]' \| \
1416          X"$as_myself" : 'X\(//\)$' \| \
1417          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1418 $as_echo X"$as_myself" |
1419     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1420             s//\1/
1421             q
1422           }
1423           /^X\(\/\/\)[^/].*/{
1424             s//\1/
1425             q
1426           }
1427           /^X\(\/\/\)$/{
1428             s//\1/
1429             q
1430           }
1431           /^X\(\/\).*/{
1432             s//\1/
1433             q
1434           }
1435           s/.*/./; q'`
1436   srcdir=$ac_confdir
1437   if test ! -r "$srcdir/$ac_unique_file"; then
1438     srcdir=..
1439   fi
1440 else
1441   ac_srcdir_defaulted=no
1442 fi
1443 if test ! -r "$srcdir/$ac_unique_file"; then
1444   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1445   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1446 fi
1447 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1448 ac_abs_confdir=`(
1449         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1450         pwd)`
1451 # When building in place, set srcdir=.
1452 if test "$ac_abs_confdir" = "$ac_pwd"; then
1453   srcdir=.
1454 fi
1455 # Remove unnecessary trailing slashes from srcdir.
1456 # Double slashes in file names in object file debugging info
1457 # mess up M-x gdb in Emacs.
1458 case $srcdir in
1459 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1460 esac
1461 for ac_var in $ac_precious_vars; do
1462   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1463   eval ac_env_${ac_var}_value=\$${ac_var}
1464   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1465   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1466 done
1467
1468 #
1469 # Report the --help message.
1470 #
1471 if test "$ac_init_help" = "long"; then
1472   # Omit some internal or obsolete options to make the list less imposing.
1473   # This message is too long to be a string in the A/UX 3.1 sh.
1474   cat <<_ACEOF
1475 \`configure' configures ecryptfs-utils 106 to adapt to many kinds of systems.
1476
1477 Usage: $0 [OPTION]... [VAR=VALUE]...
1478
1479 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1480 VAR=VALUE.  See below for descriptions of some of the useful variables.
1481
1482 Defaults for the options are specified in brackets.
1483
1484 Configuration:
1485   -h, --help              display this help and exit
1486       --help=short        display options specific to this package
1487       --help=recursive    display the short help of all the included packages
1488   -V, --version           display version information and exit
1489   -q, --quiet, --silent   do not print \`checking ...' messages
1490       --cache-file=FILE   cache test results in FILE [disabled]
1491   -C, --config-cache      alias for \`--cache-file=config.cache'
1492   -n, --no-create         do not create output files
1493       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1494
1495 Installation directories:
1496   --prefix=PREFIX         install architecture-independent files in PREFIX
1497                           [$ac_default_prefix]
1498   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1499                           [PREFIX]
1500
1501 By default, \`make install' will install all the files in
1502 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1503 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1504 for instance \`--prefix=\$HOME'.
1505
1506 For better control, use the options below.
1507
1508 Fine tuning of the installation directories:
1509   --bindir=DIR            user executables [EPREFIX/bin]
1510   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1511   --libexecdir=DIR        program executables [EPREFIX/libexec]
1512   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1513   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1514   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1515   --libdir=DIR            object code libraries [EPREFIX/lib]
1516   --includedir=DIR        C header files [PREFIX/include]
1517   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1518   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1519   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1520   --infodir=DIR           info documentation [DATAROOTDIR/info]
1521   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1522   --mandir=DIR            man documentation [DATAROOTDIR/man]
1523   --docdir=DIR            documentation root [DATAROOTDIR/doc/ecryptfs-utils]
1524   --htmldir=DIR           html documentation [DOCDIR]
1525   --dvidir=DIR            dvi documentation [DOCDIR]
1526   --pdfdir=DIR            pdf documentation [DOCDIR]
1527   --psdir=DIR             ps documentation [DOCDIR]
1528 _ACEOF
1529
1530   cat <<\_ACEOF
1531
1532 Program names:
1533   --program-prefix=PREFIX            prepend PREFIX to installed program names
1534   --program-suffix=SUFFIX            append SUFFIX to installed program names
1535   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1536
1537 System types:
1538   --build=BUILD     configure for building on BUILD [guessed]
1539   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1540   --target=TARGET   configure for building compilers for TARGET [HOST]
1541 _ACEOF
1542 fi
1543
1544 if test -n "$ac_init_help"; then
1545   case $ac_init_help in
1546      short | recursive ) echo "Configuration of ecryptfs-utils 106:";;
1547    esac
1548   cat <<\_ACEOF
1549
1550 Optional Features:
1551   --disable-option-checking  ignore unrecognized --enable/--with options
1552   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1553   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1554   --enable-silent-rules   less verbose build output (undo: "make V=1")
1555   --disable-silent-rules  verbose build output (undo: "make V=0")
1556   --enable-static[=PKGS]  build static libraries [default=no]
1557   --disable-nss           Build against gcrypt rather than NSS
1558   --disable-pywrap        Disable build of libecryptfs Python wrappers
1559   --disable-openssl       Disable build of OpenSSL key module
1560   --enable-pkcs11-helper  Build pkcs11-helper key module
1561   --enable-tspi           Build TrouSerS key module
1562   --enable-gpg            Build GnuPG key module
1563   --disable-pam           Disable build of PAM module
1564   --enable-gui            Enable building of GUI components
1565   --enable-docs           Enable installing document
1566   --enable-docs-gen       Enable generating documents
1567   --enable-tests          Enable system specific tests
1568   --enable-mudflap        Build with -fmudflap gcc option
1569   --enable-dependency-tracking
1570                           do not reject slow dependency extractors
1571   --disable-dependency-tracking
1572                           speeds up one-time build
1573   --enable-shared[=PKGS]  build shared libraries [default=yes]
1574   --enable-fast-install[=PKGS]
1575                           optimize for fast installation [default=yes]
1576   --disable-libtool-lock  avoid locking (might break parallel builds)
1577   --disable-largefile     omit support for large files
1578   --disable-nls           do not use Native Language Support
1579
1580 Optional Packages:
1581   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1582   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1583   --with-gpgme-prefix=PATH
1584                           Specify the directory where gpgme install, default
1585                           /usr
1586   --with-pamdir=PATH      Specify the directory where PAM modules are stored
1587   --with-ecryptfskeymoddir=PATH
1588                           Specify the directory where key modules are stored
1589   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1590                           both]
1591   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1592   --with-sysroot=DIR Search for dependent libraries within DIR
1593                         (or the compiler's sysroot if not specified).
1594
1595 Some influential environment variables:
1596   CC          C compiler command
1597   CFLAGS      C compiler flags
1598   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1599               nonstandard directory <lib dir>
1600   LIBS        libraries to pass to the linker, e.g. -l<library>
1601   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1602               you have headers in a nonstandard directory <include dir>
1603   CPP         C preprocessor
1604   PKG_CONFIG  path to pkg-config utility
1605   PKG_CONFIG_PATH
1606               directories to add to pkg-config's search path
1607   PKG_CONFIG_LIBDIR
1608               path overriding pkg-config's built-in search path
1609   KEYUTILS_CFLAGS
1610               C compiler flags for keyutils
1611   KEYUTILS_LIBS
1612               linker flags for keyutils
1613   OPENSSL_CFLAGS
1614               C compiler flags for OPENSSL, overriding pkg-config
1615   OPENSSL_LIBS
1616               linker flags for OPENSSL, overriding pkg-config
1617   NSS_CFLAGS  C compiler flags for NSS, overriding pkg-config
1618   NSS_LIBS    linker flags for NSS, overriding pkg-config
1619   PYTHON      the Python interpreter
1620   PYTHON_VERSION
1621               The installed Python version to use, for example '2.3'. This
1622               string will be appended to the Python interpreter canonical
1623               name.
1624   PKCS11_HELPER_CFLAGS
1625               C compiler flags for PKCS11_HELPER, overriding pkg-config
1626   PKCS11_HELPER_LIBS
1627               linker flags for PKCS11_HELPER, overriding pkg-config
1628   TSPI_CFLAGS C compiler flags for tspi
1629   TSPI_LIBS   linker flags for tspi
1630   PAM_CFLAGS  C compiler flags for pam
1631   PAM_LIBS    linker flags for pam
1632
1633 Use these variables to override the choices made by `configure' or to help
1634 it to find libraries and programs with nonstandard names/locations.
1635
1636 Report bugs to the package provider.
1637 _ACEOF
1638 ac_status=$?
1639 fi
1640
1641 if test "$ac_init_help" = "recursive"; then
1642   # If there are subdirs, report their specific --help.
1643   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1644     test -d "$ac_dir" ||
1645       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1646       continue
1647     ac_builddir=.
1648
1649 case "$ac_dir" in
1650 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1651 *)
1652   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1653   # A ".." for each directory in $ac_dir_suffix.
1654   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1655   case $ac_top_builddir_sub in
1656   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1657   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1658   esac ;;
1659 esac
1660 ac_abs_top_builddir=$ac_pwd
1661 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1662 # for backward compatibility:
1663 ac_top_builddir=$ac_top_build_prefix
1664
1665 case $srcdir in
1666   .)  # We are building in place.
1667     ac_srcdir=.
1668     ac_top_srcdir=$ac_top_builddir_sub
1669     ac_abs_top_srcdir=$ac_pwd ;;
1670   [\\/]* | ?:[\\/]* )  # Absolute name.
1671     ac_srcdir=$srcdir$ac_dir_suffix;
1672     ac_top_srcdir=$srcdir
1673     ac_abs_top_srcdir=$srcdir ;;
1674   *) # Relative name.
1675     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1676     ac_top_srcdir=$ac_top_build_prefix$srcdir
1677     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1678 esac
1679 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1680
1681     cd "$ac_dir" || { ac_status=$?; continue; }
1682     # Check for guested configure.
1683     if test -f "$ac_srcdir/configure.gnu"; then
1684       echo &&
1685       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1686     elif test -f "$ac_srcdir/configure"; then
1687       echo &&
1688       $SHELL "$ac_srcdir/configure" --help=recursive
1689     else
1690       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1691     fi || ac_status=$?
1692     cd "$ac_pwd" || { ac_status=$?; break; }
1693   done
1694 fi
1695
1696 test -n "$ac_init_help" && exit $ac_status
1697 if $ac_init_version; then
1698   cat <<\_ACEOF
1699 ecryptfs-utils configure 106
1700 generated by GNU Autoconf 2.69
1701
1702 Copyright (C) 2012 Free Software Foundation, Inc.
1703 This configure script is free software; the Free Software Foundation
1704 gives unlimited permission to copy, distribute and modify it.
1705 _ACEOF
1706   exit
1707 fi
1708
1709 ## ------------------------ ##
1710 ## Autoconf initialization. ##
1711 ## ------------------------ ##
1712
1713 # ac_fn_c_try_compile LINENO
1714 # --------------------------
1715 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1716 ac_fn_c_try_compile ()
1717 {
1718   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1719   rm -f conftest.$ac_objext
1720   if { { ac_try="$ac_compile"
1721 case "(($ac_try" in
1722   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1723   *) ac_try_echo=$ac_try;;
1724 esac
1725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1726 $as_echo "$ac_try_echo"; } >&5
1727   (eval "$ac_compile") 2>conftest.err
1728   ac_status=$?
1729   if test -s conftest.err; then
1730     grep -v '^ *+' conftest.err >conftest.er1
1731     cat conftest.er1 >&5
1732     mv -f conftest.er1 conftest.err
1733   fi
1734   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1735   test $ac_status = 0; } && {
1736          test -z "$ac_c_werror_flag" ||
1737          test ! -s conftest.err
1738        } && test -s conftest.$ac_objext; then :
1739   ac_retval=0
1740 else
1741   $as_echo "$as_me: failed program was:" >&5
1742 sed 's/^/| /' conftest.$ac_ext >&5
1743
1744         ac_retval=1
1745 fi
1746   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1747   as_fn_set_status $ac_retval
1748
1749 } # ac_fn_c_try_compile
1750
1751 # ac_fn_c_try_cpp LINENO
1752 # ----------------------
1753 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1754 ac_fn_c_try_cpp ()
1755 {
1756   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1757   if { { ac_try="$ac_cpp conftest.$ac_ext"
1758 case "(($ac_try" in
1759   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1760   *) ac_try_echo=$ac_try;;
1761 esac
1762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1763 $as_echo "$ac_try_echo"; } >&5
1764   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1765   ac_status=$?
1766   if test -s conftest.err; then
1767     grep -v '^ *+' conftest.err >conftest.er1
1768     cat conftest.er1 >&5
1769     mv -f conftest.er1 conftest.err
1770   fi
1771   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1772   test $ac_status = 0; } > conftest.i && {
1773          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1774          test ! -s conftest.err
1775        }; then :
1776   ac_retval=0
1777 else
1778   $as_echo "$as_me: failed program was:" >&5
1779 sed 's/^/| /' conftest.$ac_ext >&5
1780
1781     ac_retval=1
1782 fi
1783   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1784   as_fn_set_status $ac_retval
1785
1786 } # ac_fn_c_try_cpp
1787
1788 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1789 # -------------------------------------------------------
1790 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1791 # the include files in INCLUDES and setting the cache variable VAR
1792 # accordingly.
1793 ac_fn_c_check_header_mongrel ()
1794 {
1795   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1796   if eval \${$3+:} false; then :
1797   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1798 $as_echo_n "checking for $2... " >&6; }
1799 if eval \${$3+:} false; then :
1800   $as_echo_n "(cached) " >&6
1801 fi
1802 eval ac_res=\$$3
1803                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1804 $as_echo "$ac_res" >&6; }
1805 else
1806   # Is the header compilable?
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1808 $as_echo_n "checking $2 usability... " >&6; }
1809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1810 /* end confdefs.h.  */
1811 $4
1812 #include <$2>
1813 _ACEOF
1814 if ac_fn_c_try_compile "$LINENO"; then :
1815   ac_header_compiler=yes
1816 else
1817   ac_header_compiler=no
1818 fi
1819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1821 $as_echo "$ac_header_compiler" >&6; }
1822
1823 # Is the header present?
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1825 $as_echo_n "checking $2 presence... " >&6; }
1826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1827 /* end confdefs.h.  */
1828 #include <$2>
1829 _ACEOF
1830 if ac_fn_c_try_cpp "$LINENO"; then :
1831   ac_header_preproc=yes
1832 else
1833   ac_header_preproc=no
1834 fi
1835 rm -f conftest.err conftest.i conftest.$ac_ext
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1837 $as_echo "$ac_header_preproc" >&6; }
1838
1839 # So?  What about this header?
1840 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1841   yes:no: )
1842     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1843 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1844     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1845 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1846     ;;
1847   no:yes:* )
1848     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1849 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1850     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1851 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1852     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1853 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1854     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1855 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1856     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1857 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1858     ;;
1859 esac
1860   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1861 $as_echo_n "checking for $2... " >&6; }
1862 if eval \${$3+:} false; then :
1863   $as_echo_n "(cached) " >&6
1864 else
1865   eval "$3=\$ac_header_compiler"
1866 fi
1867 eval ac_res=\$$3
1868                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1869 $as_echo "$ac_res" >&6; }
1870 fi
1871   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1872
1873 } # ac_fn_c_check_header_mongrel
1874
1875 # ac_fn_c_try_run LINENO
1876 # ----------------------
1877 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1878 # that executables *can* be run.
1879 ac_fn_c_try_run ()
1880 {
1881   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1882   if { { ac_try="$ac_link"
1883 case "(($ac_try" in
1884   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1885   *) ac_try_echo=$ac_try;;
1886 esac
1887 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1888 $as_echo "$ac_try_echo"; } >&5
1889   (eval "$ac_link") 2>&5
1890   ac_status=$?
1891   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1892   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1893   { { case "(($ac_try" in
1894   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1895   *) ac_try_echo=$ac_try;;
1896 esac
1897 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1898 $as_echo "$ac_try_echo"; } >&5
1899   (eval "$ac_try") 2>&5
1900   ac_status=$?
1901   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1902   test $ac_status = 0; }; }; then :
1903   ac_retval=0
1904 else
1905   $as_echo "$as_me: program exited with status $ac_status" >&5
1906        $as_echo "$as_me: failed program was:" >&5
1907 sed 's/^/| /' conftest.$ac_ext >&5
1908
1909        ac_retval=$ac_status
1910 fi
1911   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1912   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1913   as_fn_set_status $ac_retval
1914
1915 } # ac_fn_c_try_run
1916
1917 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1918 # -------------------------------------------------------
1919 # Tests whether HEADER exists and can be compiled using the include files in
1920 # INCLUDES, setting the cache variable VAR accordingly.
1921 ac_fn_c_check_header_compile ()
1922 {
1923   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1924   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1925 $as_echo_n "checking for $2... " >&6; }
1926 if eval \${$3+:} false; then :
1927   $as_echo_n "(cached) " >&6
1928 else
1929   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1930 /* end confdefs.h.  */
1931 $4
1932 #include <$2>
1933 _ACEOF
1934 if ac_fn_c_try_compile "$LINENO"; then :
1935   eval "$3=yes"
1936 else
1937   eval "$3=no"
1938 fi
1939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1940 fi
1941 eval ac_res=\$$3
1942                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1943 $as_echo "$ac_res" >&6; }
1944   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1945
1946 } # ac_fn_c_check_header_compile
1947
1948 # ac_fn_c_try_link LINENO
1949 # -----------------------
1950 # Try to link conftest.$ac_ext, and return whether this succeeded.
1951 ac_fn_c_try_link ()
1952 {
1953   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1954   rm -f conftest.$ac_objext conftest$ac_exeext
1955   if { { ac_try="$ac_link"
1956 case "(($ac_try" in
1957   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1958   *) ac_try_echo=$ac_try;;
1959 esac
1960 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1961 $as_echo "$ac_try_echo"; } >&5
1962   (eval "$ac_link") 2>conftest.err
1963   ac_status=$?
1964   if test -s conftest.err; then
1965     grep -v '^ *+' conftest.err >conftest.er1
1966     cat conftest.er1 >&5
1967     mv -f conftest.er1 conftest.err
1968   fi
1969   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1970   test $ac_status = 0; } && {
1971          test -z "$ac_c_werror_flag" ||
1972          test ! -s conftest.err
1973        } && test -s conftest$ac_exeext && {
1974          test "$cross_compiling" = yes ||
1975          test -x conftest$ac_exeext
1976        }; then :
1977   ac_retval=0
1978 else
1979   $as_echo "$as_me: failed program was:" >&5
1980 sed 's/^/| /' conftest.$ac_ext >&5
1981
1982         ac_retval=1
1983 fi
1984   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1985   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1986   # interfere with the next link command; also delete a directory that is
1987   # left behind by Apple's compiler.  We do this before executing the actions.
1988   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1989   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1990   as_fn_set_status $ac_retval
1991
1992 } # ac_fn_c_try_link
1993
1994 # ac_fn_c_check_func LINENO FUNC VAR
1995 # ----------------------------------
1996 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1997 ac_fn_c_check_func ()
1998 {
1999   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2000   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2001 $as_echo_n "checking for $2... " >&6; }
2002 if eval \${$3+:} false; then :
2003   $as_echo_n "(cached) " >&6
2004 else
2005   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2006 /* end confdefs.h.  */
2007 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2008    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2009 #define $2 innocuous_$2
2010
2011 /* System header to define __stub macros and hopefully few prototypes,
2012     which can conflict with char $2 (); below.
2013     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2014     <limits.h> exists even on freestanding compilers.  */
2015
2016 #ifdef __STDC__
2017 # include <limits.h>
2018 #else
2019 # include <assert.h>
2020 #endif
2021
2022 #undef $2
2023
2024 /* Override any GCC internal prototype to avoid an error.
2025    Use char because int might match the return type of a GCC
2026    builtin and then its argument prototype would still apply.  */
2027 #ifdef __cplusplus
2028 extern "C"
2029 #endif
2030 char $2 ();
2031 /* The GNU C library defines this for functions which it implements
2032     to always fail with ENOSYS.  Some functions are actually named
2033     something starting with __ and the normal name is an alias.  */
2034 #if defined __stub_$2 || defined __stub___$2
2035 choke me
2036 #endif
2037
2038 int
2039 main ()
2040 {
2041 return $2 ();
2042   ;
2043   return 0;
2044 }
2045 _ACEOF
2046 if ac_fn_c_try_link "$LINENO"; then :
2047   eval "$3=yes"
2048 else
2049   eval "$3=no"
2050 fi
2051 rm -f core conftest.err conftest.$ac_objext \
2052     conftest$ac_exeext conftest.$ac_ext
2053 fi
2054 eval ac_res=\$$3
2055                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2056 $as_echo "$ac_res" >&6; }
2057   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2058
2059 } # ac_fn_c_check_func
2060 cat >config.log <<_ACEOF
2061 This file contains any messages produced by compilers while
2062 running configure, to aid debugging if configure makes a mistake.
2063
2064 It was created by ecryptfs-utils $as_me 106, which was
2065 generated by GNU Autoconf 2.69.  Invocation command line was
2066
2067   $ $0 $@
2068
2069 _ACEOF
2070 exec 5>>config.log
2071 {
2072 cat <<_ASUNAME
2073 ## --------- ##
2074 ## Platform. ##
2075 ## --------- ##
2076
2077 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2078 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2079 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2080 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2081 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2082
2083 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2084 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2085
2086 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2087 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2088 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2089 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2090 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2091 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2092 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2093
2094 _ASUNAME
2095
2096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2097 for as_dir in $PATH
2098 do
2099   IFS=$as_save_IFS
2100   test -z "$as_dir" && as_dir=.
2101     $as_echo "PATH: $as_dir"
2102   done
2103 IFS=$as_save_IFS
2104
2105 } >&5
2106
2107 cat >&5 <<_ACEOF
2108
2109
2110 ## ----------- ##
2111 ## Core tests. ##
2112 ## ----------- ##
2113
2114 _ACEOF
2115
2116
2117 # Keep a trace of the command line.
2118 # Strip out --no-create and --no-recursion so they do not pile up.
2119 # Strip out --silent because we don't want to record it for future runs.
2120 # Also quote any args containing shell meta-characters.
2121 # Make two passes to allow for proper duplicate-argument suppression.
2122 ac_configure_args=
2123 ac_configure_args0=
2124 ac_configure_args1=
2125 ac_must_keep_next=false
2126 for ac_pass in 1 2
2127 do
2128   for ac_arg
2129   do
2130     case $ac_arg in
2131     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2132     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2133     | -silent | --silent | --silen | --sile | --sil)
2134       continue ;;
2135     *\'*)
2136       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2137     esac
2138     case $ac_pass in
2139     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2140     2)
2141       as_fn_append ac_configure_args1 " '$ac_arg'"
2142       if test $ac_must_keep_next = true; then
2143         ac_must_keep_next=false # Got value, back to normal.
2144       else
2145         case $ac_arg in
2146           *=* | --config-cache | -C | -disable-* | --disable-* \
2147           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2148           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2149           | -with-* | --with-* | -without-* | --without-* | --x)
2150             case "$ac_configure_args0 " in
2151               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2152             esac
2153             ;;
2154           -* ) ac_must_keep_next=true ;;
2155         esac
2156       fi
2157       as_fn_append ac_configure_args " '$ac_arg'"
2158       ;;
2159     esac
2160   done
2161 done
2162 { ac_configure_args0=; unset ac_configure_args0;}
2163 { ac_configure_args1=; unset ac_configure_args1;}
2164
2165 # When interrupted or exit'd, cleanup temporary files, and complete
2166 # config.log.  We remove comments because anyway the quotes in there
2167 # would cause problems or look ugly.
2168 # WARNING: Use '\'' to represent an apostrophe within the trap.
2169 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2170 trap 'exit_status=$?
2171   # Save into config.log some information that might help in debugging.
2172   {
2173     echo
2174
2175     $as_echo "## ---------------- ##
2176 ## Cache variables. ##
2177 ## ---------------- ##"
2178     echo
2179     # The following way of writing the cache mishandles newlines in values,
2180 (
2181   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2182     eval ac_val=\$$ac_var
2183     case $ac_val in #(
2184     *${as_nl}*)
2185       case $ac_var in #(
2186       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2187 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2188       esac
2189       case $ac_var in #(
2190       _ | IFS | as_nl) ;; #(
2191       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2192       *) { eval $ac_var=; unset $ac_var;} ;;
2193       esac ;;
2194     esac
2195   done
2196   (set) 2>&1 |
2197     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2198     *${as_nl}ac_space=\ *)
2199       sed -n \
2200         "s/'\''/'\''\\\\'\'''\''/g;
2201           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2202       ;; #(
2203     *)
2204       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2205       ;;
2206     esac |
2207     sort
2208 )
2209     echo
2210
2211     $as_echo "## ----------------- ##
2212 ## Output variables. ##
2213 ## ----------------- ##"
2214     echo
2215     for ac_var in $ac_subst_vars
2216     do
2217       eval ac_val=\$$ac_var
2218       case $ac_val in
2219       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2220       esac
2221       $as_echo "$ac_var='\''$ac_val'\''"
2222     done | sort
2223     echo
2224
2225     if test -n "$ac_subst_files"; then
2226       $as_echo "## ------------------- ##
2227 ## File substitutions. ##
2228 ## ------------------- ##"
2229       echo
2230       for ac_var in $ac_subst_files
2231       do
2232         eval ac_val=\$$ac_var
2233         case $ac_val in
2234         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2235         esac
2236         $as_echo "$ac_var='\''$ac_val'\''"
2237       done | sort
2238       echo
2239     fi
2240
2241     if test -s confdefs.h; then
2242       $as_echo "## ----------- ##
2243 ## confdefs.h. ##
2244 ## ----------- ##"
2245       echo
2246       cat confdefs.h
2247       echo
2248     fi
2249     test "$ac_signal" != 0 &&
2250       $as_echo "$as_me: caught signal $ac_signal"
2251     $as_echo "$as_me: exit $exit_status"
2252   } >&5
2253   rm -f core *.core core.conftest.* &&
2254     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2255     exit $exit_status
2256 ' 0
2257 for ac_signal in 1 2 13 15; do
2258   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2259 done
2260 ac_signal=0
2261
2262 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2263 rm -f -r conftest* confdefs.h
2264
2265 $as_echo "/* confdefs.h */" > confdefs.h
2266
2267 # Predefined preprocessor variables.
2268
2269 cat >>confdefs.h <<_ACEOF
2270 #define PACKAGE_NAME "$PACKAGE_NAME"
2271 _ACEOF
2272
2273 cat >>confdefs.h <<_ACEOF
2274 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2275 _ACEOF
2276
2277 cat >>confdefs.h <<_ACEOF
2278 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2279 _ACEOF
2280
2281 cat >>confdefs.h <<_ACEOF
2282 #define PACKAGE_STRING "$PACKAGE_STRING"
2283 _ACEOF
2284
2285 cat >>confdefs.h <<_ACEOF
2286 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2287 _ACEOF
2288
2289 cat >>confdefs.h <<_ACEOF
2290 #define PACKAGE_URL "$PACKAGE_URL"
2291 _ACEOF
2292
2293
2294 # Let the site file select an alternate cache file if it wants to.
2295 # Prefer an explicitly selected file to automatically selected ones.
2296 ac_site_file1=NONE
2297 ac_site_file2=NONE
2298 if test -n "$CONFIG_SITE"; then
2299   # We do not want a PATH search for config.site.
2300   case $CONFIG_SITE in #((
2301     -*)  ac_site_file1=./$CONFIG_SITE;;
2302     */*) ac_site_file1=$CONFIG_SITE;;
2303     *)   ac_site_file1=./$CONFIG_SITE;;
2304   esac
2305 elif test "x$prefix" != xNONE; then
2306   ac_site_file1=$prefix/share/config.site
2307   ac_site_file2=$prefix/etc/config.site
2308 else
2309   ac_site_file1=$ac_default_prefix/share/config.site
2310   ac_site_file2=$ac_default_prefix/etc/config.site
2311 fi
2312 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2313 do
2314   test "x$ac_site_file" = xNONE && continue
2315   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2316     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2317 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2318     sed 's/^/| /' "$ac_site_file" >&5
2319     . "$ac_site_file" \
2320       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2321 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2322 as_fn_error $? "failed to load site script $ac_site_file
2323 See \`config.log' for more details" "$LINENO" 5; }
2324   fi
2325 done
2326
2327 if test -r "$cache_file"; then
2328   # Some versions of bash will fail to source /dev/null (special files
2329   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2330   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2331     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2332 $as_echo "$as_me: loading cache $cache_file" >&6;}
2333     case $cache_file in
2334       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2335       *)                      . "./$cache_file";;
2336     esac
2337   fi
2338 else
2339   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2340 $as_echo "$as_me: creating cache $cache_file" >&6;}
2341   >$cache_file
2342 fi
2343
2344 # Check that the precious variables saved in the cache have kept the same
2345 # value.
2346 ac_cache_corrupted=false
2347 for ac_var in $ac_precious_vars; do
2348   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2349   eval ac_new_set=\$ac_env_${ac_var}_set
2350   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2351   eval ac_new_val=\$ac_env_${ac_var}_value
2352   case $ac_old_set,$ac_new_set in
2353     set,)
2354       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2355 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2356       ac_cache_corrupted=: ;;
2357     ,set)
2358       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2359 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2360       ac_cache_corrupted=: ;;
2361     ,);;
2362     *)
2363       if test "x$ac_old_val" != "x$ac_new_val"; then
2364         # differences in whitespace do not lead to failure.
2365         ac_old_val_w=`echo x $ac_old_val`
2366         ac_new_val_w=`echo x $ac_new_val`
2367         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2368           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2369 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2370           ac_cache_corrupted=:
2371         else
2372           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2373 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2374           eval $ac_var=\$ac_old_val
2375         fi
2376         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2377 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2378         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2379 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2380       fi;;
2381   esac
2382   # Pass precious variables to config.status.
2383   if test "$ac_new_set" = set; then
2384     case $ac_new_val in
2385     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2386     *) ac_arg=$ac_var=$ac_new_val ;;
2387     esac
2388     case " $ac_configure_args " in
2389       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2390       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2391     esac
2392   fi
2393 done
2394 if $ac_cache_corrupted; then
2395   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2396 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2397   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2398 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2399   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2400 fi
2401 ## -------------------- ##
2402 ## Main body of script. ##
2403 ## -------------------- ##
2404
2405 ac_ext=c
2406 ac_cpp='$CPP $CPPFLAGS'
2407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2410
2411
2412 ac_aux_dir=
2413 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2414   if test -f "$ac_dir/install-sh"; then
2415     ac_aux_dir=$ac_dir
2416     ac_install_sh="$ac_aux_dir/install-sh -c"
2417     break
2418   elif test -f "$ac_dir/install.sh"; then
2419     ac_aux_dir=$ac_dir
2420     ac_install_sh="$ac_aux_dir/install.sh -c"
2421     break
2422   elif test -f "$ac_dir/shtool"; then
2423     ac_aux_dir=$ac_dir
2424     ac_install_sh="$ac_aux_dir/shtool install -c"
2425     break
2426   fi
2427 done
2428 if test -z "$ac_aux_dir"; then
2429   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2430 fi
2431
2432 # These three variables are undocumented and unsupported,
2433 # and are intended to be withdrawn in a future Autoconf release.
2434 # They can cause serious problems if a builder's source tree is in a directory
2435 # whose full name contains unusual characters.
2436 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2437 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2438 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2439
2440
2441 # Make sure we can run config.sub.
2442 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2443   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2444
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2446 $as_echo_n "checking build system type... " >&6; }
2447 if ${ac_cv_build+:} false; then :
2448   $as_echo_n "(cached) " >&6
2449 else
2450   ac_build_alias=$build_alias
2451 test "x$ac_build_alias" = x &&
2452   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2453 test "x$ac_build_alias" = x &&
2454   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2455 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2456   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2457
2458 fi
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2460 $as_echo "$ac_cv_build" >&6; }
2461 case $ac_cv_build in
2462 *-*-*) ;;
2463 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2464 esac
2465 build=$ac_cv_build
2466 ac_save_IFS=$IFS; IFS='-'
2467 set x $ac_cv_build
2468 shift
2469 build_cpu=$1
2470 build_vendor=$2
2471 shift; shift
2472 # Remember, the first character of IFS is used to create $*,
2473 # except with old shells:
2474 build_os=$*
2475 IFS=$ac_save_IFS
2476 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2477
2478
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2480 $as_echo_n "checking host system type... " >&6; }
2481 if ${ac_cv_host+:} false; then :
2482   $as_echo_n "(cached) " >&6
2483 else
2484   if test "x$host_alias" = x; then
2485   ac_cv_host=$ac_cv_build
2486 else
2487   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2488     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2489 fi
2490
2491 fi
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2493 $as_echo "$ac_cv_host" >&6; }
2494 case $ac_cv_host in
2495 *-*-*) ;;
2496 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2497 esac
2498 host=$ac_cv_host
2499 ac_save_IFS=$IFS; IFS='-'
2500 set x $ac_cv_host
2501 shift
2502 host_cpu=$1
2503 host_vendor=$2
2504 shift; shift
2505 # Remember, the first character of IFS is used to create $*,
2506 # except with old shells:
2507 host_os=$*
2508 IFS=$ac_save_IFS
2509 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2510
2511
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2513 $as_echo_n "checking target system type... " >&6; }
2514 if ${ac_cv_target+:} false; then :
2515   $as_echo_n "(cached) " >&6
2516 else
2517   if test "x$target_alias" = x; then
2518   ac_cv_target=$ac_cv_host
2519 else
2520   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2521     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2522 fi
2523
2524 fi
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2526 $as_echo "$ac_cv_target" >&6; }
2527 case $ac_cv_target in
2528 *-*-*) ;;
2529 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2530 esac
2531 target=$ac_cv_target
2532 ac_save_IFS=$IFS; IFS='-'
2533 set x $ac_cv_target
2534 shift
2535 target_cpu=$1
2536 target_vendor=$2
2537 shift; shift
2538 # Remember, the first character of IFS is used to create $*,
2539 # except with old shells:
2540 target_os=$*
2541 IFS=$ac_save_IFS
2542 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2543
2544
2545 # The aliases save the names the user supplied, while $host etc.
2546 # will get canonicalized.
2547 test -n "$target_alias" &&
2548   test "$program_prefix$program_suffix$program_transform_name" = \
2549     NONENONEs,x,x, &&
2550   program_prefix=${target_alias}-
2551 am__api_version='1.14'
2552
2553 # Find a good install program.  We prefer a C program (faster),
2554 # so one script is as good as another.  But avoid the broken or
2555 # incompatible versions:
2556 # SysV /etc/install, /usr/sbin/install
2557 # SunOS /usr/etc/install
2558 # IRIX /sbin/install
2559 # AIX /bin/install
2560 # AmigaOS /C/install, which installs bootblocks on floppy discs
2561 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2562 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2563 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2564 # OS/2's system install, which has a completely different semantic
2565 # ./install, which can be erroneously created by make from ./install.sh.
2566 # Reject install programs that cannot install multiple files.
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2568 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2569 if test -z "$INSTALL"; then
2570 if ${ac_cv_path_install+:} false; then :
2571   $as_echo_n "(cached) " >&6
2572 else
2573   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2574 for as_dir in $PATH
2575 do
2576   IFS=$as_save_IFS
2577   test -z "$as_dir" && as_dir=.
2578     # Account for people who put trailing slashes in PATH elements.
2579 case $as_dir/ in #((
2580   ./ | .// | /[cC]/* | \
2581   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2582   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2583   /usr/ucb/* ) ;;
2584   *)
2585     # OSF1 and SCO ODT 3.0 have their own names for install.
2586     # Don't use installbsd from OSF since it installs stuff as root
2587     # by default.
2588     for ac_prog in ginstall scoinst install; do
2589       for ac_exec_ext in '' $ac_executable_extensions; do
2590         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2591           if test $ac_prog = install &&
2592             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2593             # AIX install.  It has an incompatible calling convention.
2594             :
2595           elif test $ac_prog = install &&
2596             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2597             # program-specific install script used by HP pwplus--don't use.
2598             :
2599           else
2600             rm -rf conftest.one conftest.two conftest.dir
2601             echo one > conftest.one
2602             echo two > conftest.two
2603             mkdir conftest.dir
2604             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2605               test -s conftest.one && test -s conftest.two &&
2606               test -s conftest.dir/conftest.one &&
2607               test -s conftest.dir/conftest.two
2608             then
2609               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2610               break 3
2611             fi
2612           fi
2613         fi
2614       done
2615     done
2616     ;;
2617 esac
2618
2619   done
2620 IFS=$as_save_IFS
2621
2622 rm -rf conftest.one conftest.two conftest.dir
2623
2624 fi
2625   if test "${ac_cv_path_install+set}" = set; then
2626     INSTALL=$ac_cv_path_install
2627   else
2628     # As a last resort, use the slow shell script.  Don't cache a
2629     # value for INSTALL within a source directory, because that will
2630     # break other packages using the cache if that directory is
2631     # removed, or if the value is a relative name.
2632     INSTALL=$ac_install_sh
2633   fi
2634 fi
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2636 $as_echo "$INSTALL" >&6; }
2637
2638 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2639 # It thinks the first close brace ends the variable substitution.
2640 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2641
2642 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2643
2644 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2645
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2647 $as_echo_n "checking whether build environment is sane... " >&6; }
2648 # Reject unsafe characters in $srcdir or the absolute working directory
2649 # name.  Accept space and tab only in the latter.
2650 am_lf='
2651 '
2652 case `pwd` in
2653   *[\\\"\#\$\&\'\`$am_lf]*)
2654     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2655 esac
2656 case $srcdir in
2657   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2658     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2659 esac
2660
2661 # Do 'set' in a subshell so we don't clobber the current shell's
2662 # arguments.  Must try -L first in case configure is actually a
2663 # symlink; some systems play weird games with the mod time of symlinks
2664 # (eg FreeBSD returns the mod time of the symlink's containing
2665 # directory).
2666 if (
2667    am_has_slept=no
2668    for am_try in 1 2; do
2669      echo "timestamp, slept: $am_has_slept" > conftest.file
2670      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2671      if test "$*" = "X"; then
2672         # -L didn't work.
2673         set X `ls -t "$srcdir/configure" conftest.file`
2674      fi
2675      if test "$*" != "X $srcdir/configure conftest.file" \
2676         && test "$*" != "X conftest.file $srcdir/configure"; then
2677
2678         # If neither matched, then we have a broken ls.  This can happen
2679         # if, for instance, CONFIG_SHELL is bash and it inherits a
2680         # broken ls alias from the environment.  This has actually
2681         # happened.  Such a system could not be considered "sane".
2682         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2683   alias in your environment" "$LINENO" 5
2684      fi
2685      if test "$2" = conftest.file || test $am_try -eq 2; then
2686        break
2687      fi
2688      # Just in case.
2689      sleep 1
2690      am_has_slept=yes
2691    done
2692    test "$2" = conftest.file
2693    )
2694 then
2695    # Ok.
2696    :
2697 else
2698    as_fn_error $? "newly created file is older than distributed files!
2699 Check your system clock" "$LINENO" 5
2700 fi
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2702 $as_echo "yes" >&6; }
2703 # If we didn't sleep, we still need to ensure time stamps of config.status and
2704 # generated files are strictly newer.
2705 am_sleep_pid=
2706 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2707   ( sleep 1 ) &
2708   am_sleep_pid=$!
2709 fi
2710
2711 rm -f conftest.file
2712
2713 test "$program_prefix" != NONE &&
2714   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2715 # Use a double $ so make ignores it.
2716 test "$program_suffix" != NONE &&
2717   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2718 # Double any \ or $.
2719 # By default was `s,x,x', remove it if useless.
2720 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2721 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2722
2723 # expand $ac_aux_dir to an absolute path
2724 am_aux_dir=`cd $ac_aux_dir && pwd`
2725
2726 if test x"${MISSING+set}" != xset; then
2727   case $am_aux_dir in
2728   *\ * | *\     *)
2729     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2730   *)
2731     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2732   esac
2733 fi
2734 # Use eval to expand $SHELL
2735 if eval "$MISSING --is-lightweight"; then
2736   am_missing_run="$MISSING "
2737 else
2738   am_missing_run=
2739   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2740 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2741 fi
2742
2743 if test x"${install_sh}" != xset; then
2744   case $am_aux_dir in
2745   *\ * | *\     *)
2746     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2747   *)
2748     install_sh="\${SHELL} $am_aux_dir/install-sh"
2749   esac
2750 fi
2751
2752 # Installed binaries are usually stripped using 'strip' when the user
2753 # run "make install-strip".  However 'strip' might not be the right
2754 # tool to use in cross-compilation environments, therefore Automake
2755 # will honor the 'STRIP' environment variable to overrule this program.
2756 if test "$cross_compiling" != no; then
2757   if test -n "$ac_tool_prefix"; then
2758   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2759 set dummy ${ac_tool_prefix}strip; ac_word=$2
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2761 $as_echo_n "checking for $ac_word... " >&6; }
2762 if ${ac_cv_prog_STRIP+:} false; then :
2763   $as_echo_n "(cached) " >&6
2764 else
2765   if test -n "$STRIP"; then
2766   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2767 else
2768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2769 for as_dir in $PATH
2770 do
2771   IFS=$as_save_IFS
2772   test -z "$as_dir" && as_dir=.
2773     for ac_exec_ext in '' $ac_executable_extensions; do
2774   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2775     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2776     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2777     break 2
2778   fi
2779 done
2780   done
2781 IFS=$as_save_IFS
2782
2783 fi
2784 fi
2785 STRIP=$ac_cv_prog_STRIP
2786 if test -n "$STRIP"; then
2787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2788 $as_echo "$STRIP" >&6; }
2789 else
2790   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2791 $as_echo "no" >&6; }
2792 fi
2793
2794
2795 fi
2796 if test -z "$ac_cv_prog_STRIP"; then
2797   ac_ct_STRIP=$STRIP
2798   # Extract the first word of "strip", so it can be a program name with args.
2799 set dummy strip; ac_word=$2
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2801 $as_echo_n "checking for $ac_word... " >&6; }
2802 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2803   $as_echo_n "(cached) " >&6
2804 else
2805   if test -n "$ac_ct_STRIP"; then
2806   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2807 else
2808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2809 for as_dir in $PATH
2810 do
2811   IFS=$as_save_IFS
2812   test -z "$as_dir" && as_dir=.
2813     for ac_exec_ext in '' $ac_executable_extensions; do
2814   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2815     ac_cv_prog_ac_ct_STRIP="strip"
2816     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2817     break 2
2818   fi
2819 done
2820   done
2821 IFS=$as_save_IFS
2822
2823 fi
2824 fi
2825 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2826 if test -n "$ac_ct_STRIP"; then
2827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2828 $as_echo "$ac_ct_STRIP" >&6; }
2829 else
2830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2831 $as_echo "no" >&6; }
2832 fi
2833
2834   if test "x$ac_ct_STRIP" = x; then
2835     STRIP=":"
2836   else
2837     case $cross_compiling:$ac_tool_warned in
2838 yes:)
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2840 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2841 ac_tool_warned=yes ;;
2842 esac
2843     STRIP=$ac_ct_STRIP
2844   fi
2845 else
2846   STRIP="$ac_cv_prog_STRIP"
2847 fi
2848
2849 fi
2850 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2851
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2853 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2854 if test -z "$MKDIR_P"; then
2855   if ${ac_cv_path_mkdir+:} false; then :
2856   $as_echo_n "(cached) " >&6
2857 else
2858   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2859 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2860 do
2861   IFS=$as_save_IFS
2862   test -z "$as_dir" && as_dir=.
2863     for ac_prog in mkdir gmkdir; do
2864          for ac_exec_ext in '' $ac_executable_extensions; do
2865            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2866            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2867              'mkdir (GNU coreutils) '* | \
2868              'mkdir (coreutils) '* | \
2869              'mkdir (fileutils) '4.1*)
2870                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2871                break 3;;
2872            esac
2873          done
2874        done
2875   done
2876 IFS=$as_save_IFS
2877
2878 fi
2879
2880   test -d ./--version && rmdir ./--version
2881   if test "${ac_cv_path_mkdir+set}" = set; then
2882     MKDIR_P="$ac_cv_path_mkdir -p"
2883   else
2884     # As a last resort, use the slow shell script.  Don't cache a
2885     # value for MKDIR_P within a source directory, because that will
2886     # break other packages using the cache if that directory is
2887     # removed, or if the value is a relative name.
2888     MKDIR_P="$ac_install_sh -d"
2889   fi
2890 fi
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2892 $as_echo "$MKDIR_P" >&6; }
2893
2894 for ac_prog in gawk mawk nawk awk
2895 do
2896   # Extract the first word of "$ac_prog", so it can be a program name with args.
2897 set dummy $ac_prog; ac_word=$2
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2899 $as_echo_n "checking for $ac_word... " >&6; }
2900 if ${ac_cv_prog_AWK+:} false; then :
2901   $as_echo_n "(cached) " >&6
2902 else
2903   if test -n "$AWK"; then
2904   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2905 else
2906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2907 for as_dir in $PATH
2908 do
2909   IFS=$as_save_IFS
2910   test -z "$as_dir" && as_dir=.
2911     for ac_exec_ext in '' $ac_executable_extensions; do
2912   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2913     ac_cv_prog_AWK="$ac_prog"
2914     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2915     break 2
2916   fi
2917 done
2918   done
2919 IFS=$as_save_IFS
2920
2921 fi
2922 fi
2923 AWK=$ac_cv_prog_AWK
2924 if test -n "$AWK"; then
2925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2926 $as_echo "$AWK" >&6; }
2927 else
2928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2929 $as_echo "no" >&6; }
2930 fi
2931
2932
2933   test -n "$AWK" && break
2934 done
2935
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2937 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2938 set x ${MAKE-make}
2939 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2940 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2941   $as_echo_n "(cached) " >&6
2942 else
2943   cat >conftest.make <<\_ACEOF
2944 SHELL = /bin/sh
2945 all:
2946         @echo '@@@%%%=$(MAKE)=@@@%%%'
2947 _ACEOF
2948 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2949 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2950   *@@@%%%=?*=@@@%%%*)
2951     eval ac_cv_prog_make_${ac_make}_set=yes;;
2952   *)
2953     eval ac_cv_prog_make_${ac_make}_set=no;;
2954 esac
2955 rm -f conftest.make
2956 fi
2957 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2959 $as_echo "yes" >&6; }
2960   SET_MAKE=
2961 else
2962   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2963 $as_echo "no" >&6; }
2964   SET_MAKE="MAKE=${MAKE-make}"
2965 fi
2966
2967 rm -rf .tst 2>/dev/null
2968 mkdir .tst 2>/dev/null
2969 if test -d .tst; then
2970   am__leading_dot=.
2971 else
2972   am__leading_dot=_
2973 fi
2974 rmdir .tst 2>/dev/null
2975
2976 # Check whether --enable-silent-rules was given.
2977 if test "${enable_silent_rules+set}" = set; then :
2978   enableval=$enable_silent_rules;
2979 fi
2980
2981 case $enable_silent_rules in # (((
2982   yes) AM_DEFAULT_VERBOSITY=0;;
2983    no) AM_DEFAULT_VERBOSITY=1;;
2984     *) AM_DEFAULT_VERBOSITY=1;;
2985 esac
2986 am_make=${MAKE-make}
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2988 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2989 if ${am_cv_make_support_nested_variables+:} false; then :
2990   $as_echo_n "(cached) " >&6
2991 else
2992   if $as_echo 'TRUE=$(BAR$(V))
2993 BAR0=false
2994 BAR1=true
2995 V=1
2996 am__doit:
2997         @$(TRUE)
2998 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2999   am_cv_make_support_nested_variables=yes
3000 else
3001   am_cv_make_support_nested_variables=no
3002 fi
3003 fi
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3005 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3006 if test $am_cv_make_support_nested_variables = yes; then
3007     AM_V='$(V)'
3008   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3009 else
3010   AM_V=$AM_DEFAULT_VERBOSITY
3011   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3012 fi
3013 AM_BACKSLASH='\'
3014
3015 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3016   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3017   # is not polluted with repeated "-I."
3018   am__isrc=' -I$(srcdir)'
3019   # test to see if srcdir already configured
3020   if test -f $srcdir/config.status; then
3021     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3022   fi
3023 fi
3024
3025 # test whether we have cygpath
3026 if test -z "$CYGPATH_W"; then
3027   if (cygpath --version) >/dev/null 2>/dev/null; then
3028     CYGPATH_W='cygpath -w'
3029   else
3030     CYGPATH_W=echo
3031   fi
3032 fi
3033
3034
3035 # Define the identity of the package.
3036
3037  PACKAGE=${PACKAGE_NAME}
3038  VERSION=${PACKAGE_VERSION}
3039
3040
3041 cat >>confdefs.h <<_ACEOF
3042 #define PACKAGE "$PACKAGE"
3043 _ACEOF
3044
3045
3046 cat >>confdefs.h <<_ACEOF
3047 #define VERSION "$VERSION"
3048 _ACEOF
3049
3050 # Some tools Automake needs.
3051
3052 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3053
3054
3055 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3056
3057
3058 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3059
3060
3061 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3062
3063
3064 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3065
3066 # For better backward compatibility.  To be removed once Automake 1.9.x
3067 # dies out for good.  For more background, see:
3068 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3069 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3070 mkdir_p='$(MKDIR_P)'
3071
3072 # We need awk for the "check" target.  The system "awk" is bad on
3073 # some platforms.
3074 # Always define AMTAR for backward compatibility.  Yes, it's still used
3075 # in the wild :-(  We should find a proper way to deprecate it ...
3076 AMTAR='$${TAR-tar}'
3077
3078
3079 # We'll loop over all known methods to create a tar archive until one works.
3080 _am_tools='gnutar  pax cpio none'
3081
3082 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3083
3084
3085
3086
3087
3088
3089 # POSIX will say in a future version that running "rm -f" with no argument
3090 # is OK; and we want to be able to make that assumption in our Makefile
3091 # recipes.  So use an aggressive probe to check that the usage we want is
3092 # actually supported "in the wild" to an acceptable degree.
3093 # See automake bug#10828.
3094 # To make any issue more visible, cause the running configure to be aborted
3095 # by default if the 'rm' program in use doesn't match our expectations; the
3096 # user can still override this though.
3097 if rm -f && rm -fr && rm -rf; then : OK; else
3098   cat >&2 <<'END'
3099 Oops!
3100
3101 Your 'rm' program seems unable to run without file operands specified
3102 on the command line, even when the '-f' option is present.  This is contrary
3103 to the behaviour of most rm programs out there, and not conforming with
3104 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3105
3106 Please tell bug-automake@gnu.org about your system, including the value
3107 of your $PATH and any error possibly output before this message.  This
3108 can help us improve future automake versions.
3109
3110 END
3111   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3112     echo 'Configuration will proceed anyway, since you have set the' >&2
3113     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3114     echo >&2
3115   else
3116     cat >&2 <<'END'
3117 Aborting the configuration process, to ensure you take notice of the issue.
3118
3119 You can download and install GNU coreutils to get an 'rm' implementation
3120 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3121
3122 If you want to complete the configuration process using your problematic
3123 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3124 to "yes", and re-run configure.
3125
3126 END
3127     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3128   fi
3129 fi
3130
3131
3132 ac_config_headers="$ac_config_headers config.h"
3133
3134 AM_CPPFLAGS='-include $(top_builddir)/config.h'
3135
3136
3137
3138 # Check whether --enable-static was given.
3139 if test "${enable_static+set}" = set; then :
3140   enableval=$enable_static; p=${PACKAGE-default}
3141     case $enableval in
3142     yes) enable_static=yes ;;
3143     no) enable_static=no ;;
3144     *)
3145      enable_static=no
3146       # Look at the argument we got.  We use all the common list separators.
3147       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3148       for pkg in $enableval; do
3149         IFS="$lt_save_ifs"
3150         if test "X$pkg" = "X$p"; then
3151           enable_static=yes
3152         fi
3153       done
3154       IFS="$lt_save_ifs"
3155       ;;
3156     esac
3157 else
3158   enable_static=no
3159 fi
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170 # libecryptfs versioning instructions
3171 #
3172 # Update the version information only once per public release of
3173 # ecryptfs-utils. More frequent updates are unnecessary, and only guarantee
3174 # that the current interface number gets larger faster.
3175 #
3176 # 1. If the library source code has changed at all since the last update, then
3177 #    increment LIBECRYPTFS_LT_REVISION.
3178 # 2. If any interfaces have been added, removed, or changed since the last
3179 #    update, increment LIBECRYPTFS_LT_CURRENT, and set LIBECRYPTFS_LT_REVISION to 0.
3180 # 3. If any interfaces have been added since the last public release, then
3181 #    increment LIBECRYPTFS_LT_AGE.
3182 # 4. If any interfaces have been removed or changed since the last public
3183 #    release, then set LIBECRYPTFS_LT_AGE to 0.
3184 #
3185 # For more details:
3186 # http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
3187 LIBECRYPTFS_LT_CURRENT="1"
3188 LIBECRYPTFS_LT_REVISION="0"
3189 LIBECRYPTFS_LT_AGE="0"
3190
3191
3192
3193
3194 # Check whether --enable-nss was given.
3195 if test "${enable_nss+set}" = set; then :
3196   enableval=$enable_nss;
3197 else
3198   enable_nss="detect"
3199
3200 fi
3201
3202
3203 # Check whether --enable-pywrap was given.
3204 if test "${enable_pywrap+set}" = set; then :
3205   enableval=$enable_pywrap;
3206 else
3207   enable_pywrap="detect"
3208
3209 fi
3210
3211
3212 # Check whether --enable-openssl was given.
3213 if test "${enable_openssl+set}" = set; then :
3214   enableval=$enable_openssl;
3215 else
3216   enable_openssl="detect"
3217
3218 fi
3219
3220
3221 # Check whether --enable-pkcs11-helper was given.
3222 if test "${enable_pkcs11_helper+set}" = set; then :
3223   enableval=$enable_pkcs11_helper;
3224 else
3225   enable_pkcs11_helper="no"
3226
3227 fi
3228
3229
3230 # Check whether --enable-tspi was given.
3231 if test "${enable_tspi+set}" = set; then :
3232   enableval=$enable_tspi;
3233 else
3234   enable_tspi="no"
3235
3236 fi
3237
3238
3239 # Check whether --enable-gpg was given.
3240 if test "${enable_gpg+set}" = set; then :
3241   enableval=$enable_gpg;
3242 else
3243   enable_gpg="no"
3244
3245 fi
3246
3247
3248 # Check whether --enable-pam was given.
3249 if test "${enable_pam+set}" = set; then :
3250   enableval=$enable_pam;
3251 else
3252   enable_pam="yes"
3253
3254 fi
3255
3256
3257 # Check whether --enable-gui was given.
3258 if test "${enable_gui+set}" = set; then :
3259   enableval=$enable_gui;
3260 else
3261   enable_gui="no"
3262
3263 fi
3264
3265
3266 # Check whether --enable-docs was given.
3267 if test "${enable_docs+set}" = set; then :
3268   enableval=$enable_docs;
3269 else
3270   enable_docs="no"
3271
3272 fi
3273
3274
3275 # Check whether --enable-docs-gen was given.
3276 if test "${enable_docs_gen+set}" = set; then :
3277   enableval=$enable_docs_gen;
3278 else
3279   enable_docs_gen="no"
3280
3281 fi
3282
3283 test "${enable_docs_gen}" = "yes" && enable_docs="yes"
3284
3285 # Check whether --enable-tests was given.
3286 if test "${enable_tests+set}" = set; then :
3287   enableval=$enable_tests;
3288 else
3289   enable_tests="no"
3290
3291 fi
3292
3293
3294 # Check whether --enable-mudflap was given.
3295 if test "${enable_mudflap+set}" = set; then :
3296   enableval=$enable_mudflap;
3297                 if "${enableval}" = "yes"; then
3298                         CFLAGS="$CFLAGS -fmudflap"
3299                         LDFLAGS="$LDFLAGS -lmudflap"
3300                 fi
3301
3302
3303 fi
3304
3305
3306
3307 # Check whether --with-gpgme-prefix was given.
3308 if test "${with_gpgme_prefix+set}" = set; then :
3309   withval=$with_gpgme_prefix;
3310 else
3311   with_gpgme_prefix="/usr"
3312
3313 fi
3314
3315
3316
3317 # Check whether --with-pamdir was given.
3318 if test "${with_pamdir+set}" = set; then :
3319   withval=$with_pamdir; pamdir="${withval}"
3320 else
3321
3322                 if test "${prefix}" = "/usr"; then
3323                         pamdir="/lib${libdir##*/lib}/security"
3324                 else
3325                         pamdir="\$(libdir)/security"
3326                 fi
3327
3328
3329 fi
3330
3331
3332
3333 # Check whether --with-ecryptfskeymoddir was given.
3334 if test "${with_ecryptfskeymoddir+set}" = set; then :
3335   withval=$with_ecryptfskeymoddir;
3336                 ecryptfskeymoddir="${withval}"
3337                 full_ecryptfskeymoddir="${ecryptfskeymoddir}"
3338
3339 else
3340
3341                 full_ecryptfskeymoddir=`eval eval eval eval eval echo "${libdir}/ecryptfs" | sed "s#NONE#${prefix}#" | sed "s#NONE#${ac_default_prefix}#"`
3342                 ecryptfskeymoddir="\$(libdir)/ecryptfs"
3343
3344
3345 fi
3346
3347
3348 cat >>confdefs.h <<_ACEOF
3349 #define ECRYPTFS_DEFAULT_KEY_MOD_DIR "$full_ecryptfskeymoddir"
3350 _ACEOF
3351
3352
3353 DEPDIR="${am__leading_dot}deps"
3354
3355 ac_config_commands="$ac_config_commands depfiles"
3356
3357
3358 am_make=${MAKE-make}
3359 cat > confinc << 'END'
3360 am__doit:
3361         @echo this is the am__doit target
3362 .PHONY: am__doit
3363 END
3364 # If we don't find an include directive, just comment out the code.
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3366 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3367 am__include="#"
3368 am__quote=
3369 _am_result=none
3370 # First try GNU make style include.
3371 echo "include confinc" > confmf
3372 # Ignore all kinds of additional output from 'make'.
3373 case `$am_make -s -f confmf 2> /dev/null` in #(
3374 *the\ am__doit\ target*)
3375   am__include=include
3376   am__quote=
3377   _am_result=GNU
3378   ;;
3379 esac
3380 # Now try BSD make style include.
3381 if test "$am__include" = "#"; then
3382    echo '.include "confinc"' > confmf
3383    case `$am_make -s -f confmf 2> /dev/null` in #(
3384    *the\ am__doit\ target*)
3385      am__include=.include
3386      am__quote="\""
3387      _am_result=BSD
3388      ;;
3389    esac
3390 fi
3391
3392
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3394 $as_echo "$_am_result" >&6; }
3395 rm -f confinc confmf
3396
3397 # Check whether --enable-dependency-tracking was given.
3398 if test "${enable_dependency_tracking+set}" = set; then :
3399   enableval=$enable_dependency_tracking;
3400 fi
3401
3402 if test "x$enable_dependency_tracking" != xno; then
3403   am_depcomp="$ac_aux_dir/depcomp"
3404   AMDEPBACKSLASH='\'
3405   am__nodep='_no'
3406 fi
3407  if test "x$enable_dependency_tracking" != xno; then
3408   AMDEP_TRUE=
3409   AMDEP_FALSE='#'
3410 else
3411   AMDEP_TRUE='#'
3412   AMDEP_FALSE=
3413 fi
3414
3415
3416 ac_ext=c
3417 ac_cpp='$CPP $CPPFLAGS'
3418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3421 if test -n "$ac_tool_prefix"; then
3422   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3423 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3425 $as_echo_n "checking for $ac_word... " >&6; }
3426 if ${ac_cv_prog_CC+:} false; then :
3427   $as_echo_n "(cached) " >&6
3428 else
3429   if test -n "$CC"; then
3430   ac_cv_prog_CC="$CC" # Let the user override the test.
3431 else
3432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3433 for as_dir in $PATH
3434 do
3435   IFS=$as_save_IFS
3436   test -z "$as_dir" && as_dir=.
3437     for ac_exec_ext in '' $ac_executable_extensions; do
3438   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3439     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3440     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3441     break 2
3442   fi
3443 done
3444   done
3445 IFS=$as_save_IFS
3446
3447 fi
3448 fi
3449 CC=$ac_cv_prog_CC
3450 if test -n "$CC"; then
3451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3452 $as_echo "$CC" >&6; }
3453 else
3454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3455 $as_echo "no" >&6; }
3456 fi
3457
3458
3459 fi
3460 if test -z "$ac_cv_prog_CC"; then
3461   ac_ct_CC=$CC
3462   # Extract the first word of "gcc", so it can be a program name with args.
3463 set dummy gcc; ac_word=$2
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3465 $as_echo_n "checking for $ac_word... " >&6; }
3466 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3467   $as_echo_n "(cached) " >&6
3468 else
3469   if test -n "$ac_ct_CC"; then
3470   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3471 else
3472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3473 for as_dir in $PATH
3474 do
3475   IFS=$as_save_IFS
3476   test -z "$as_dir" && as_dir=.
3477     for ac_exec_ext in '' $ac_executable_extensions; do
3478   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3479     ac_cv_prog_ac_ct_CC="gcc"
3480     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3481     break 2
3482   fi
3483 done
3484   done
3485 IFS=$as_save_IFS
3486
3487 fi
3488 fi
3489 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3490 if test -n "$ac_ct_CC"; then
3491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3492 $as_echo "$ac_ct_CC" >&6; }
3493 else
3494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3495 $as_echo "no" >&6; }
3496 fi
3497
3498   if test "x$ac_ct_CC" = x; then
3499     CC=""
3500   else
3501     case $cross_compiling:$ac_tool_warned in
3502 yes:)
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3504 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3505 ac_tool_warned=yes ;;
3506 esac
3507     CC=$ac_ct_CC
3508   fi
3509 else
3510   CC="$ac_cv_prog_CC"
3511 fi
3512
3513 if test -z "$CC"; then
3514           if test -n "$ac_tool_prefix"; then
3515     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3516 set dummy ${ac_tool_prefix}cc; ac_word=$2
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3518 $as_echo_n "checking for $ac_word... " >&6; }
3519 if ${ac_cv_prog_CC+:} false; then :
3520   $as_echo_n "(cached) " >&6
3521 else
3522   if test -n "$CC"; then
3523   ac_cv_prog_CC="$CC" # Let the user override the test.
3524 else
3525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3526 for as_dir in $PATH
3527 do
3528   IFS=$as_save_IFS
3529   test -z "$as_dir" && as_dir=.
3530     for ac_exec_ext in '' $ac_executable_extensions; do
3531   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3532     ac_cv_prog_CC="${ac_tool_prefix}cc"
3533     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3534     break 2
3535   fi
3536 done
3537   done
3538 IFS=$as_save_IFS
3539
3540 fi
3541 fi
3542 CC=$ac_cv_prog_CC
3543 if test -n "$CC"; then
3544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3545 $as_echo "$CC" >&6; }
3546 else
3547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3548 $as_echo "no" >&6; }
3549 fi
3550
3551
3552   fi
3553 fi
3554 if test -z "$CC"; then
3555   # Extract the first word of "cc", so it can be a program name with args.
3556 set dummy cc; ac_word=$2
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3558 $as_echo_n "checking for $ac_word... " >&6; }
3559 if ${ac_cv_prog_CC+:} false; then :
3560   $as_echo_n "(cached) " >&6
3561 else
3562   if test -n "$CC"; then
3563   ac_cv_prog_CC="$CC" # Let the user override the test.
3564 else
3565   ac_prog_rejected=no
3566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3567 for as_dir in $PATH
3568 do
3569   IFS=$as_save_IFS
3570   test -z "$as_dir" && as_dir=.
3571     for ac_exec_ext in '' $ac_executable_extensions; do
3572   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3573     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3574        ac_prog_rejected=yes
3575        continue
3576      fi
3577     ac_cv_prog_CC="cc"
3578     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3579     break 2
3580   fi
3581 done
3582   done
3583 IFS=$as_save_IFS
3584
3585 if test $ac_prog_rejected = yes; then
3586   # We found a bogon in the path, so make sure we never use it.
3587   set dummy $ac_cv_prog_CC
3588   shift
3589   if test $# != 0; then
3590     # We chose a different compiler from the bogus one.
3591     # However, it has the same basename, so the bogon will be chosen
3592     # first if we set CC to just the basename; use the full file name.
3593     shift
3594     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3595   fi
3596 fi
3597 fi
3598 fi
3599 CC=$ac_cv_prog_CC
3600 if test -n "$CC"; then
3601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3602 $as_echo "$CC" >&6; }
3603 else
3604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3605 $as_echo "no" >&6; }
3606 fi
3607
3608
3609 fi
3610 if test -z "$CC"; then
3611   if test -n "$ac_tool_prefix"; then
3612   for ac_prog in cl.exe
3613   do
3614     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3615 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3617 $as_echo_n "checking for $ac_word... " >&6; }
3618 if ${ac_cv_prog_CC+:} false; then :
3619   $as_echo_n "(cached) " >&6
3620 else
3621   if test -n "$CC"; then
3622   ac_cv_prog_CC="$CC" # Let the user override the test.
3623 else
3624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3625 for as_dir in $PATH
3626 do
3627   IFS=$as_save_IFS
3628   test -z "$as_dir" && as_dir=.
3629     for ac_exec_ext in '' $ac_executable_extensions; do
3630   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3631     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3632     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3633     break 2
3634   fi
3635 done
3636   done
3637 IFS=$as_save_IFS
3638
3639 fi
3640 fi
3641 CC=$ac_cv_prog_CC
3642 if test -n "$CC"; then
3643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3644 $as_echo "$CC" >&6; }
3645 else
3646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3647 $as_echo "no" >&6; }
3648 fi
3649
3650
3651     test -n "$CC" && break
3652   done
3653 fi
3654 if test -z "$CC"; then
3655   ac_ct_CC=$CC
3656   for ac_prog in cl.exe
3657 do
3658   # Extract the first word of "$ac_prog", so it can be a program name with args.
3659 set dummy $ac_prog; ac_word=$2
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3661 $as_echo_n "checking for $ac_word... " >&6; }
3662 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3663   $as_echo_n "(cached) " >&6
3664 else
3665   if test -n "$ac_ct_CC"; then
3666   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3667 else
3668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3669 for as_dir in $PATH
3670 do
3671   IFS=$as_save_IFS
3672   test -z "$as_dir" && as_dir=.
3673     for ac_exec_ext in '' $ac_executable_extensions; do
3674   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3675     ac_cv_prog_ac_ct_CC="$ac_prog"
3676     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3677     break 2
3678   fi
3679 done
3680   done
3681 IFS=$as_save_IFS
3682
3683 fi
3684 fi
3685 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3686 if test -n "$ac_ct_CC"; then
3687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3688 $as_echo "$ac_ct_CC" >&6; }
3689 else
3690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3691 $as_echo "no" >&6; }
3692 fi
3693
3694
3695   test -n "$ac_ct_CC" && break
3696 done
3697
3698   if test "x$ac_ct_CC" = x; then
3699     CC=""
3700   else
3701     case $cross_compiling:$ac_tool_warned in
3702 yes:)
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3704 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3705 ac_tool_warned=yes ;;
3706 esac
3707     CC=$ac_ct_CC
3708   fi
3709 fi
3710
3711 fi
3712
3713
3714 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3715 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3716 as_fn_error $? "no acceptable C compiler found in \$PATH
3717 See \`config.log' for more details" "$LINENO" 5; }
3718
3719 # Provide some information about the compiler.
3720 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3721 set X $ac_compile
3722 ac_compiler=$2
3723 for ac_option in --version -v -V -qversion; do
3724   { { ac_try="$ac_compiler $ac_option >&5"
3725 case "(($ac_try" in
3726   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3727   *) ac_try_echo=$ac_try;;
3728 esac
3729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3730 $as_echo "$ac_try_echo"; } >&5
3731   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3732   ac_status=$?
3733   if test -s conftest.err; then
3734     sed '10a\
3735 ... rest of stderr output deleted ...
3736          10q' conftest.err >conftest.er1
3737     cat conftest.er1 >&5
3738   fi
3739   rm -f conftest.er1 conftest.err
3740   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3741   test $ac_status = 0; }
3742 done
3743
3744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3745 /* end confdefs.h.  */
3746
3747 int
3748 main ()
3749 {
3750
3751   ;
3752   return 0;
3753 }
3754 _ACEOF
3755 ac_clean_files_save=$ac_clean_files
3756 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3757 # Try to create an executable without -o first, disregard a.out.
3758 # It will help us diagnose broken compilers, and finding out an intuition
3759 # of exeext.
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3761 $as_echo_n "checking whether the C compiler works... " >&6; }
3762 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3763
3764 # The possible output files:
3765 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3766
3767 ac_rmfiles=
3768 for ac_file in $ac_files
3769 do
3770   case $ac_file in
3771     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3772     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3773   esac
3774 done
3775 rm -f $ac_rmfiles
3776
3777 if { { ac_try="$ac_link_default"
3778 case "(($ac_try" in
3779   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3780   *) ac_try_echo=$ac_try;;
3781 esac
3782 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3783 $as_echo "$ac_try_echo"; } >&5
3784   (eval "$ac_link_default") 2>&5
3785   ac_status=$?
3786   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3787   test $ac_status = 0; }; then :
3788   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3789 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3790 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3791 # so that the user can short-circuit this test for compilers unknown to
3792 # Autoconf.
3793 for ac_file in $ac_files ''
3794 do
3795   test -f "$ac_file" || continue
3796   case $ac_file in
3797     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3798         ;;
3799     [ab].out )
3800         # We found the default executable, but exeext='' is most
3801         # certainly right.
3802         break;;
3803     *.* )
3804         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3805         then :; else
3806            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3807         fi
3808         # We set ac_cv_exeext here because the later test for it is not
3809         # safe: cross compilers may not add the suffix if given an `-o'
3810         # argument, so we may need to know it at that point already.
3811         # Even if this section looks crufty: it has the advantage of
3812         # actually working.
3813         break;;
3814     * )
3815         break;;
3816   esac
3817 done
3818 test "$ac_cv_exeext" = no && ac_cv_exeext=
3819
3820 else
3821   ac_file=''
3822 fi
3823 if test -z "$ac_file"; then :
3824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3825 $as_echo "no" >&6; }
3826 $as_echo "$as_me: failed program was:" >&5
3827 sed 's/^/| /' conftest.$ac_ext >&5
3828
3829 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3830 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3831 as_fn_error 77 "C compiler cannot create executables
3832 See \`config.log' for more details" "$LINENO" 5; }
3833 else
3834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3835 $as_echo "yes" >&6; }
3836 fi
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3838 $as_echo_n "checking for C compiler default output file name... " >&6; }
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3840 $as_echo "$ac_file" >&6; }
3841 ac_exeext=$ac_cv_exeext
3842
3843 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3844 ac_clean_files=$ac_clean_files_save
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3846 $as_echo_n "checking for suffix of executables... " >&6; }
3847 if { { ac_try="$ac_link"
3848 case "(($ac_try" in
3849   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3850   *) ac_try_echo=$ac_try;;
3851 esac
3852 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3853 $as_echo "$ac_try_echo"; } >&5
3854   (eval "$ac_link") 2>&5
3855   ac_status=$?
3856   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3857   test $ac_status = 0; }; then :
3858   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3859 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3860 # work properly (i.e., refer to `conftest.exe'), while it won't with
3861 # `rm'.
3862 for ac_file in conftest.exe conftest conftest.*; do
3863   test -f "$ac_file" || continue
3864   case $ac_file in
3865     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3866     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3867           break;;
3868     * ) break;;
3869   esac
3870 done
3871 else
3872   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3873 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3874 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3875 See \`config.log' for more details" "$LINENO" 5; }
3876 fi
3877 rm -f conftest conftest$ac_cv_exeext
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3879 $as_echo "$ac_cv_exeext" >&6; }
3880
3881 rm -f conftest.$ac_ext
3882 EXEEXT=$ac_cv_exeext
3883 ac_exeext=$EXEEXT
3884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3885 /* end confdefs.h.  */
3886 #include <stdio.h>
3887 int
3888 main ()
3889 {
3890 FILE *f = fopen ("conftest.out", "w");
3891  return ferror (f) || fclose (f) != 0;
3892
3893   ;
3894   return 0;
3895 }
3896 _ACEOF
3897 ac_clean_files="$ac_clean_files conftest.out"
3898 # Check that the compiler produces executables we can run.  If not, either
3899 # the compiler is broken, or we cross compile.
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3901 $as_echo_n "checking whether we are cross compiling... " >&6; }
3902 if test "$cross_compiling" != yes; then
3903   { { ac_try="$ac_link"
3904 case "(($ac_try" in
3905   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3906   *) ac_try_echo=$ac_try;;
3907 esac
3908 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3909 $as_echo "$ac_try_echo"; } >&5
3910   (eval "$ac_link") 2>&5
3911   ac_status=$?
3912   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3913   test $ac_status = 0; }
3914   if { ac_try='./conftest$ac_cv_exeext'
3915   { { case "(($ac_try" in
3916   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3917   *) ac_try_echo=$ac_try;;
3918 esac
3919 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3920 $as_echo "$ac_try_echo"; } >&5
3921   (eval "$ac_try") 2>&5
3922   ac_status=$?
3923   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3924   test $ac_status = 0; }; }; then
3925     cross_compiling=no
3926   else
3927     if test "$cross_compiling" = maybe; then
3928         cross_compiling=yes
3929     else
3930         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3931 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3932 as_fn_error $? "cannot run C compiled programs.
3933 If you meant to cross compile, use \`--host'.
3934 See \`config.log' for more details" "$LINENO" 5; }
3935     fi
3936   fi
3937 fi
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3939 $as_echo "$cross_compiling" >&6; }
3940
3941 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3942 ac_clean_files=$ac_clean_files_save
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3944 $as_echo_n "checking for suffix of object files... " >&6; }
3945 if ${ac_cv_objext+:} false; then :
3946   $as_echo_n "(cached) " >&6
3947 else
3948   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3949 /* end confdefs.h.  */
3950
3951 int
3952 main ()
3953 {
3954
3955   ;
3956   return 0;
3957 }
3958 _ACEOF
3959 rm -f conftest.o conftest.obj
3960 if { { ac_try="$ac_compile"
3961 case "(($ac_try" in
3962   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3963   *) ac_try_echo=$ac_try;;
3964 esac
3965 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3966 $as_echo "$ac_try_echo"; } >&5
3967   (eval "$ac_compile") 2>&5
3968   ac_status=$?
3969   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3970   test $ac_status = 0; }; then :
3971   for ac_file in conftest.o conftest.obj conftest.*; do
3972   test -f "$ac_file" || continue;
3973   case $ac_file in
3974     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3975     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3976        break;;
3977   esac
3978 done
3979 else
3980   $as_echo "$as_me: failed program was:" >&5
3981 sed 's/^/| /' conftest.$ac_ext >&5
3982
3983 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3984 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3985 as_fn_error $? "cannot compute suffix of object files: cannot compile
3986 See \`config.log' for more details" "$LINENO" 5; }
3987 fi
3988 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3989 fi
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3991 $as_echo "$ac_cv_objext" >&6; }
3992 OBJEXT=$ac_cv_objext
3993 ac_objext=$OBJEXT
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3995 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3996 if ${ac_cv_c_compiler_gnu+:} false; then :
3997   $as_echo_n "(cached) " >&6
3998 else
3999   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4000 /* end confdefs.h.  */
4001
4002 int
4003 main ()
4004 {
4005 #ifndef __GNUC__
4006        choke me
4007 #endif
4008
4009   ;
4010   return 0;
4011 }
4012 _ACEOF
4013 if ac_fn_c_try_compile "$LINENO"; then :
4014   ac_compiler_gnu=yes
4015 else
4016   ac_compiler_gnu=no
4017 fi
4018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4019 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4020
4021 fi
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4023 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4024 if test $ac_compiler_gnu = yes; then
4025   GCC=yes
4026 else
4027   GCC=
4028 fi
4029 ac_test_CFLAGS=${CFLAGS+set}
4030 ac_save_CFLAGS=$CFLAGS
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4032 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4033 if ${ac_cv_prog_cc_g+:} false; then :
4034   $as_echo_n "(cached) " >&6
4035 else
4036   ac_save_c_werror_flag=$ac_c_werror_flag
4037    ac_c_werror_flag=yes
4038    ac_cv_prog_cc_g=no
4039    CFLAGS="-g"
4040    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4041 /* end confdefs.h.  */
4042
4043 int
4044 main ()
4045 {
4046
4047   ;
4048   return 0;
4049 }
4050 _ACEOF
4051 if ac_fn_c_try_compile "$LINENO"; then :
4052   ac_cv_prog_cc_g=yes
4053 else
4054   CFLAGS=""
4055       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4056 /* end confdefs.h.  */
4057
4058 int
4059 main ()
4060 {
4061
4062   ;
4063   return 0;
4064 }
4065 _ACEOF
4066 if ac_fn_c_try_compile "$LINENO"; then :
4067
4068 else
4069   ac_c_werror_flag=$ac_save_c_werror_flag
4070          CFLAGS="-g"
4071          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4072 /* end confdefs.h.  */
4073
4074 int
4075 main ()
4076 {
4077
4078   ;
4079   return 0;
4080 }
4081 _ACEOF
4082 if ac_fn_c_try_compile "$LINENO"; then :
4083   ac_cv_prog_cc_g=yes
4084 fi
4085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4086 fi
4087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4088 fi
4089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4090    ac_c_werror_flag=$ac_save_c_werror_flag
4091 fi
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4093 $as_echo "$ac_cv_prog_cc_g" >&6; }
4094 if test "$ac_test_CFLAGS" = set; then
4095   CFLAGS=$ac_save_CFLAGS
4096 elif test $ac_cv_prog_cc_g = yes; then
4097   if test "$GCC" = yes; then
4098     CFLAGS="-g -O2"
4099   else
4100     CFLAGS="-g"
4101   fi
4102 else
4103   if test "$GCC" = yes; then
4104     CFLAGS="-O2"
4105   else
4106     CFLAGS=
4107   fi
4108 fi
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4110 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4111 if ${ac_cv_prog_cc_c89+:} false; then :
4112   $as_echo_n "(cached) " >&6
4113 else
4114   ac_cv_prog_cc_c89=no
4115 ac_save_CC=$CC
4116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4117 /* end confdefs.h.  */
4118 #include <stdarg.h>
4119 #include <stdio.h>
4120 struct stat;
4121 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4122 struct buf { int x; };
4123 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4124 static char *e (p, i)
4125      char **p;
4126      int i;
4127 {
4128   return p[i];
4129 }
4130 static char *f (char * (*g) (char **, int), char **p, ...)
4131 {
4132   char *s;
4133   va_list v;
4134   va_start (v,p);
4135   s = g (p, va_arg (v,int));
4136   va_end (v);
4137   return s;
4138 }
4139
4140 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4141    function prototypes and stuff, but not '\xHH' hex character constants.
4142    These don't provoke an error unfortunately, instead are silently treated
4143    as 'x'.  The following induces an error, until -std is added to get
4144    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4145    array size at least.  It's necessary to write '\x00'==0 to get something
4146    that's true only with -std.  */
4147 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4148
4149 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4150    inside strings and character constants.  */
4151 #define FOO(x) 'x'
4152 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4153
4154 int test (int i, double x);
4155 struct s1 {int (*f) (int a);};
4156 struct s2 {int (*f) (double a);};
4157 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4158 int argc;
4159 char **argv;
4160 int
4161 main ()
4162 {
4163 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4164   ;
4165   return 0;
4166 }
4167 _ACEOF
4168 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4169         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4170 do
4171   CC="$ac_save_CC $ac_arg"
4172   if ac_fn_c_try_compile "$LINENO"; then :
4173   ac_cv_prog_cc_c89=$ac_arg
4174 fi
4175 rm -f core conftest.err conftest.$ac_objext
4176   test "x$ac_cv_prog_cc_c89" != "xno" && break
4177 done
4178 rm -f conftest.$ac_ext
4179 CC=$ac_save_CC
4180
4181 fi
4182 # AC_CACHE_VAL
4183 case "x$ac_cv_prog_cc_c89" in
4184   x)
4185     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4186 $as_echo "none needed" >&6; } ;;
4187   xno)
4188     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4189 $as_echo "unsupported" >&6; } ;;
4190   *)
4191     CC="$CC $ac_cv_prog_cc_c89"
4192     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4193 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4194 esac
4195 if test "x$ac_cv_prog_cc_c89" != xno; then :
4196
4197 fi
4198
4199 ac_ext=c
4200 ac_cpp='$CPP $CPPFLAGS'
4201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4204
4205 ac_ext=c
4206 ac_cpp='$CPP $CPPFLAGS'
4207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4211 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4212 if ${am_cv_prog_cc_c_o+:} false; then :
4213   $as_echo_n "(cached) " >&6
4214 else
4215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4216 /* end confdefs.h.  */
4217
4218 int
4219 main ()
4220 {
4221
4222   ;
4223   return 0;
4224 }
4225 _ACEOF
4226   # Make sure it works both with $CC and with simple cc.
4227   # Following AC_PROG_CC_C_O, we do the test twice because some
4228   # compilers refuse to overwrite an existing .o file with -o,
4229   # though they will create one.
4230   am_cv_prog_cc_c_o=yes
4231   for am_i in 1 2; do
4232     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4233    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4234    ac_status=$?
4235    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4236    (exit $ac_status); } \
4237          && test -f conftest2.$ac_objext; then
4238       : OK
4239     else
4240       am_cv_prog_cc_c_o=no
4241       break
4242     fi
4243   done
4244   rm -f core conftest*
4245   unset am_i
4246 fi
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4248 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4249 if test "$am_cv_prog_cc_c_o" != yes; then
4250    # Losing compiler, so override with the script.
4251    # FIXME: It is wrong to rewrite CC.
4252    # But if we don't then we get into trouble of one sort or another.
4253    # A longer-term fix would be to have automake use am__CC in this case,
4254    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4255    CC="$am_aux_dir/compile $CC"
4256 fi
4257 ac_ext=c
4258 ac_cpp='$CPP $CPPFLAGS'
4259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4262
4263
4264 depcc="$CC"   am_compiler_list=
4265
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4267 $as_echo_n "checking dependency style of $depcc... " >&6; }
4268 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4269   $as_echo_n "(cached) " >&6
4270 else
4271   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4272   # We make a subdir and do the tests there.  Otherwise we can end up
4273   # making bogus files that we don't know about and never remove.  For
4274   # instance it was reported that on HP-UX the gcc test will end up
4275   # making a dummy file named 'D' -- because '-MD' means "put the output
4276   # in D".
4277   rm -rf conftest.dir
4278   mkdir conftest.dir
4279   # Copy depcomp to subdir because otherwise we won't find it if we're
4280   # using a relative directory.
4281   cp "$am_depcomp" conftest.dir
4282   cd conftest.dir
4283   # We will build objects and dependencies in a subdirectory because
4284   # it helps to detect inapplicable dependency modes.  For instance
4285   # both Tru64's cc and ICC support -MD to output dependencies as a
4286   # side effect of compilation, but ICC will put the dependencies in
4287   # the current directory while Tru64 will put them in the object
4288   # directory.
4289   mkdir sub
4290
4291   am_cv_CC_dependencies_compiler_type=none
4292   if test "$am_compiler_list" = ""; then
4293      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4294   fi
4295   am__universal=false
4296   case " $depcc " in #(
4297      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4298      esac
4299
4300   for depmode in $am_compiler_list; do
4301     # Setup a source with many dependencies, because some compilers
4302     # like to wrap large dependency lists on column 80 (with \), and
4303     # we should not choose a depcomp mode which is confused by this.
4304     #
4305     # We need to recreate these files for each test, as the compiler may
4306     # overwrite some of them when testing with obscure command lines.
4307     # This happens at least with the AIX C compiler.
4308     : > sub/conftest.c
4309     for i in 1 2 3 4 5 6; do
4310       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4311       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4312       # Solaris 10 /bin/sh.
4313       echo '/* dummy */' > sub/conftst$i.h
4314     done
4315     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4316
4317     # We check with '-c' and '-o' for the sake of the "dashmstdout"
4318     # mode.  It turns out that the SunPro C++ compiler does not properly
4319     # handle '-M -o', and we need to detect this.  Also, some Intel
4320     # versions had trouble with output in subdirs.
4321     am__obj=sub/conftest.${OBJEXT-o}
4322     am__minus_obj="-o $am__obj"
4323     case $depmode in
4324     gcc)
4325       # This depmode causes a compiler race in universal mode.
4326       test "$am__universal" = false || continue
4327       ;;
4328     nosideeffect)
4329       # After this tag, mechanisms are not by side-effect, so they'll
4330       # only be used when explicitly requested.
4331       if test "x$enable_dependency_tracking" = xyes; then
4332         continue
4333       else
4334         break
4335       fi
4336       ;;
4337     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4338       # This compiler won't grok '-c -o', but also, the minuso test has
4339       # not run yet.  These depmodes are late enough in the game, and
4340       # so weak that their functioning should not be impacted.
4341       am__obj=conftest.${OBJEXT-o}
4342       am__minus_obj=
4343       ;;
4344     none) break ;;
4345     esac
4346     if depmode=$depmode \
4347        source=sub/conftest.c object=$am__obj \
4348        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4349        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4350          >/dev/null 2>conftest.err &&
4351        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4352        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4353        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4354        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4355       # icc doesn't choke on unknown options, it will just issue warnings
4356       # or remarks (even with -Werror).  So we grep stderr for any message
4357       # that says an option was ignored or not supported.
4358       # When given -MP, icc 7.0 and 7.1 complain thusly:
4359       #   icc: Command line warning: ignoring option '-M'; no argument required
4360       # The diagnosis changed in icc 8.0:
4361       #   icc: Command line remark: option '-MP' not supported
4362       if (grep 'ignoring option' conftest.err ||
4363           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4364         am_cv_CC_dependencies_compiler_type=$depmode
4365         break
4366       fi
4367     fi
4368   done
4369
4370   cd ..
4371   rm -rf conftest.dir
4372 else
4373   am_cv_CC_dependencies_compiler_type=none
4374 fi
4375
4376 fi
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4378 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4379 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4380
4381  if
4382   test "x$enable_dependency_tracking" != xno \
4383   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4384   am__fastdepCC_TRUE=
4385   am__fastdepCC_FALSE='#'
4386 else
4387   am__fastdepCC_TRUE='#'
4388   am__fastdepCC_FALSE=
4389 fi
4390
4391
4392
4393 ac_ext=c
4394 ac_cpp='$CPP $CPPFLAGS'
4395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4399 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4400 # On Suns, sometimes $CPP names a directory.
4401 if test -n "$CPP" && test -d "$CPP"; then
4402   CPP=
4403 fi
4404 if test -z "$CPP"; then
4405   if ${ac_cv_prog_CPP+:} false; then :
4406   $as_echo_n "(cached) " >&6
4407 else
4408       # Double quotes because CPP needs to be expanded
4409     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4410     do
4411       ac_preproc_ok=false
4412 for ac_c_preproc_warn_flag in '' yes
4413 do
4414   # Use a header file that comes with gcc, so configuring glibc
4415   # with a fresh cross-compiler works.
4416   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4417   # <limits.h> exists even on freestanding compilers.
4418   # On the NeXT, cc -E runs the code through the compiler's parser,
4419   # not just through cpp. "Syntax error" is here to catch this case.
4420   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4421 /* end confdefs.h.  */
4422 #ifdef __STDC__
4423 # include <limits.h>
4424 #else
4425 # include <assert.h>
4426 #endif
4427                      Syntax error
4428 _ACEOF
4429 if ac_fn_c_try_cpp "$LINENO"; then :
4430
4431 else
4432   # Broken: fails on valid input.
4433 continue
4434 fi
4435 rm -f conftest.err conftest.i conftest.$ac_ext
4436
4437   # OK, works on sane cases.  Now check whether nonexistent headers
4438   # can be detected and how.
4439   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4440 /* end confdefs.h.  */
4441 #include <ac_nonexistent.h>
4442 _ACEOF
4443 if ac_fn_c_try_cpp "$LINENO"; then :
4444   # Broken: success on invalid input.
4445 continue
4446 else
4447   # Passes both tests.
4448 ac_preproc_ok=:
4449 break
4450 fi
4451 rm -f conftest.err conftest.i conftest.$ac_ext
4452
4453 done
4454 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4455 rm -f conftest.i conftest.err conftest.$ac_ext
4456 if $ac_preproc_ok; then :
4457   break
4458 fi
4459
4460     done
4461     ac_cv_prog_CPP=$CPP
4462
4463 fi
4464   CPP=$ac_cv_prog_CPP
4465 else
4466   ac_cv_prog_CPP=$CPP
4467 fi
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4469 $as_echo "$CPP" >&6; }
4470 ac_preproc_ok=false
4471 for ac_c_preproc_warn_flag in '' yes
4472 do
4473   # Use a header file that comes with gcc, so configuring glibc
4474   # with a fresh cross-compiler works.
4475   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4476   # <limits.h> exists even on freestanding compilers.
4477   # On the NeXT, cc -E runs the code through the compiler's parser,
4478   # not just through cpp. "Syntax error" is here to catch this case.
4479   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4480 /* end confdefs.h.  */
4481 #ifdef __STDC__
4482 # include <limits.h>
4483 #else
4484 # include <assert.h>
4485 #endif
4486                      Syntax error
4487 _ACEOF
4488 if ac_fn_c_try_cpp "$LINENO"; then :
4489
4490 else
4491   # Broken: fails on valid input.
4492 continue
4493 fi
4494 rm -f conftest.err conftest.i conftest.$ac_ext
4495
4496   # OK, works on sane cases.  Now check whether nonexistent headers
4497   # can be detected and how.
4498   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4499 /* end confdefs.h.  */
4500 #include <ac_nonexistent.h>
4501 _ACEOF
4502 if ac_fn_c_try_cpp "$LINENO"; then :
4503   # Broken: success on invalid input.
4504 continue
4505 else
4506   # Passes both tests.
4507 ac_preproc_ok=:
4508 break
4509 fi
4510 rm -f conftest.err conftest.i conftest.$ac_ext
4511
4512 done
4513 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4514 rm -f conftest.i conftest.err conftest.$ac_ext
4515 if $ac_preproc_ok; then :
4516
4517 else
4518   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4519 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4520 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4521 See \`config.log' for more details" "$LINENO" 5; }
4522 fi
4523
4524 ac_ext=c
4525 ac_cpp='$CPP $CPPFLAGS'
4526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4529
4530
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4532 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4533 if ${ac_cv_path_GREP+:} false; then :
4534   $as_echo_n "(cached) " >&6
4535 else
4536   if test -z "$GREP"; then
4537   ac_path_GREP_found=false
4538   # Loop through the user's path and test for each of PROGNAME-LIST
4539   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4540 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4541 do
4542   IFS=$as_save_IFS
4543   test -z "$as_dir" && as_dir=.
4544     for ac_prog in grep ggrep; do
4545     for ac_exec_ext in '' $ac_executable_extensions; do
4546       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4547       as_fn_executable_p "$ac_path_GREP" || continue
4548 # Check for GNU ac_path_GREP and select it if it is found.
4549   # Check for GNU $ac_path_GREP
4550 case `"$ac_path_GREP" --version 2>&1` in
4551 *GNU*)
4552   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4553 *)
4554   ac_count=0
4555   $as_echo_n 0123456789 >"conftest.in"
4556   while :
4557   do
4558     cat "conftest.in" "conftest.in" >"conftest.tmp"
4559     mv "conftest.tmp" "conftest.in"
4560     cp "conftest.in" "conftest.nl"
4561     $as_echo 'GREP' >> "conftest.nl"
4562     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4563     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4564     as_fn_arith $ac_count + 1 && ac_count=$as_val
4565     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4566       # Best one so far, save it but keep looking for a better one
4567       ac_cv_path_GREP="$ac_path_GREP"
4568       ac_path_GREP_max=$ac_count
4569     fi
4570     # 10*(2^10) chars as input seems more than enough
4571     test $ac_count -gt 10 && break
4572   done
4573   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4574 esac
4575
4576       $ac_path_GREP_found && break 3
4577     done
4578   done
4579   done
4580 IFS=$as_save_IFS
4581   if test -z "$ac_cv_path_GREP"; then
4582     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4583   fi
4584 else
4585   ac_cv_path_GREP=$GREP
4586 fi
4587
4588 fi
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4590 $as_echo "$ac_cv_path_GREP" >&6; }
4591  GREP="$ac_cv_path_GREP"
4592
4593
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4595 $as_echo_n "checking for egrep... " >&6; }
4596 if ${ac_cv_path_EGREP+:} false; then :
4597   $as_echo_n "(cached) " >&6
4598 else
4599   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4600    then ac_cv_path_EGREP="$GREP -E"
4601    else
4602      if test -z "$EGREP"; then
4603   ac_path_EGREP_found=false
4604   # Loop through the user's path and test for each of PROGNAME-LIST
4605   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4606 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4607 do
4608   IFS=$as_save_IFS
4609   test -z "$as_dir" && as_dir=.
4610     for ac_prog in egrep; do
4611     for ac_exec_ext in '' $ac_executable_extensions; do
4612       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4613       as_fn_executable_p "$ac_path_EGREP" || continue
4614 # Check for GNU ac_path_EGREP and select it if it is found.
4615   # Check for GNU $ac_path_EGREP
4616 case `"$ac_path_EGREP" --version 2>&1` in
4617 *GNU*)
4618   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4619 *)
4620   ac_count=0
4621   $as_echo_n 0123456789 >"conftest.in"
4622   while :
4623   do
4624     cat "conftest.in" "conftest.in" >"conftest.tmp"
4625     mv "conftest.tmp" "conftest.in"
4626     cp "conftest.in" "conftest.nl"
4627     $as_echo 'EGREP' >> "conftest.nl"
4628     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4629     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4630     as_fn_arith $ac_count + 1 && ac_count=$as_val
4631     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4632       # Best one so far, save it but keep looking for a better one
4633       ac_cv_path_EGREP="$ac_path_EGREP"
4634       ac_path_EGREP_max=$ac_count
4635     fi
4636     # 10*(2^10) chars as input seems more than enough
4637     test $ac_count -gt 10 && break
4638   done
4639   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4640 esac
4641
4642       $ac_path_EGREP_found && break 3
4643     done
4644   done
4645   done
4646 IFS=$as_save_IFS
4647   if test -z "$ac_cv_path_EGREP"; then
4648     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4649   fi
4650 else
4651   ac_cv_path_EGREP=$EGREP
4652 fi
4653
4654    fi
4655 fi
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4657 $as_echo "$ac_cv_path_EGREP" >&6; }
4658  EGREP="$ac_cv_path_EGREP"
4659
4660
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4662 $as_echo_n "checking for ANSI C header files... " >&6; }
4663 if ${ac_cv_header_stdc+:} false; then :
4664   $as_echo_n "(cached) " >&6
4665 else
4666   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4667 /* end confdefs.h.  */
4668 #include <stdlib.h>
4669 #include <stdarg.h>
4670 #include <string.h>
4671 #include <float.h>
4672
4673 int
4674 main ()
4675 {
4676
4677   ;
4678   return 0;
4679 }
4680 _ACEOF
4681 if ac_fn_c_try_compile "$LINENO"; then :
4682   ac_cv_header_stdc=yes
4683 else
4684   ac_cv_header_stdc=no
4685 fi
4686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4687
4688 if test $ac_cv_header_stdc = yes; then
4689   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4690   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4691 /* end confdefs.h.  */
4692 #include <string.h>
4693
4694 _ACEOF
4695 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4696   $EGREP "memchr" >/dev/null 2>&1; then :
4697
4698 else
4699   ac_cv_header_stdc=no
4700 fi
4701 rm -f conftest*
4702
4703 fi
4704
4705 if test $ac_cv_header_stdc = yes; then
4706   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4707   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4708 /* end confdefs.h.  */
4709 #include <stdlib.h>
4710
4711 _ACEOF
4712 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4713   $EGREP "free" >/dev/null 2>&1; then :
4714
4715 else
4716   ac_cv_header_stdc=no
4717 fi
4718 rm -f conftest*
4719
4720 fi
4721
4722 if test $ac_cv_header_stdc = yes; then
4723   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4724   if test "$cross_compiling" = yes; then :
4725   :
4726 else
4727   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4728 /* end confdefs.h.  */
4729 #include <ctype.h>
4730 #include <stdlib.h>
4731 #if ((' ' & 0x0FF) == 0x020)
4732 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4733 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4734 #else
4735 # define ISLOWER(c) \
4736                    (('a' <= (c) && (c) <= 'i') \
4737                      || ('j' <= (c) && (c) <= 'r') \
4738                      || ('s' <= (c) && (c) <= 'z'))
4739 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4740 #endif
4741
4742 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4743 int
4744 main ()
4745 {
4746   int i;
4747   for (i = 0; i < 256; i++)
4748     if (XOR (islower (i), ISLOWER (i))
4749         || toupper (i) != TOUPPER (i))
4750       return 2;
4751   return 0;
4752 }
4753 _ACEOF
4754 if ac_fn_c_try_run "$LINENO"; then :
4755
4756 else
4757   ac_cv_header_stdc=no
4758 fi
4759 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4760   conftest.$ac_objext conftest.beam conftest.$ac_ext
4761 fi
4762
4763 fi
4764 fi
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4766 $as_echo "$ac_cv_header_stdc" >&6; }
4767 if test $ac_cv_header_stdc = yes; then
4768
4769 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4770
4771 fi
4772
4773 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4774 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4775                   inttypes.h stdint.h unistd.h
4776 do :
4777   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4778 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4779 "
4780 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4781   cat >>confdefs.h <<_ACEOF
4782 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4783 _ACEOF
4784
4785 fi
4786
4787 done
4788
4789
4790
4791   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4792 if test "x$ac_cv_header_minix_config_h" = xyes; then :
4793   MINIX=yes
4794 else
4795   MINIX=
4796 fi
4797
4798
4799   if test "$MINIX" = yes; then
4800
4801 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4802
4803
4804 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4805
4806
4807 $as_echo "#define _MINIX 1" >>confdefs.h
4808
4809   fi
4810
4811
4812   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4813 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4814 if ${ac_cv_safe_to_define___extensions__+:} false; then :
4815   $as_echo_n "(cached) " >&6
4816 else
4817   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4818 /* end confdefs.h.  */
4819
4820 #         define __EXTENSIONS__ 1
4821           $ac_includes_default
4822 int
4823 main ()
4824 {
4825
4826   ;
4827   return 0;
4828 }
4829 _ACEOF
4830 if ac_fn_c_try_compile "$LINENO"; then :
4831   ac_cv_safe_to_define___extensions__=yes
4832 else
4833   ac_cv_safe_to_define___extensions__=no
4834 fi
4835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4836 fi
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4838 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4839   test $ac_cv_safe_to_define___extensions__ = yes &&
4840     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4841
4842   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4843
4844   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4845
4846   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4847
4848   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4849
4850
4851
4852
4853 ac_ext=c
4854 ac_cpp='$CPP $CPPFLAGS'
4855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4858 if test -n "$ac_tool_prefix"; then
4859   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4860 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4862 $as_echo_n "checking for $ac_word... " >&6; }
4863 if ${ac_cv_prog_CC+:} false; then :
4864   $as_echo_n "(cached) " >&6
4865 else
4866   if test -n "$CC"; then
4867   ac_cv_prog_CC="$CC" # Let the user override the test.
4868 else
4869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4870 for as_dir in $PATH
4871 do
4872   IFS=$as_save_IFS
4873   test -z "$as_dir" && as_dir=.
4874     for ac_exec_ext in '' $ac_executable_extensions; do
4875   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4876     ac_cv_prog_CC="${ac_tool_prefix}gcc"
4877     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4878     break 2
4879   fi
4880 done
4881   done
4882 IFS=$as_save_IFS
4883
4884 fi
4885 fi
4886 CC=$ac_cv_prog_CC
4887 if test -n "$CC"; then
4888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4889 $as_echo "$CC" >&6; }
4890 else
4891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4892 $as_echo "no" >&6; }
4893 fi
4894
4895
4896 fi
4897 if test -z "$ac_cv_prog_CC"; then
4898   ac_ct_CC=$CC
4899   # Extract the first word of "gcc", so it can be a program name with args.
4900 set dummy gcc; ac_word=$2
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4902 $as_echo_n "checking for $ac_word... " >&6; }
4903 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4904   $as_echo_n "(cached) " >&6
4905 else
4906   if test -n "$ac_ct_CC"; then
4907   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4908 else
4909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4910 for as_dir in $PATH
4911 do
4912   IFS=$as_save_IFS
4913   test -z "$as_dir" && as_dir=.
4914     for ac_exec_ext in '' $ac_executable_extensions; do
4915   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4916     ac_cv_prog_ac_ct_CC="gcc"
4917     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4918     break 2
4919   fi
4920 done
4921   done
4922 IFS=$as_save_IFS
4923
4924 fi
4925 fi
4926 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4927 if test -n "$ac_ct_CC"; then
4928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4929 $as_echo "$ac_ct_CC" >&6; }
4930 else
4931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4932 $as_echo "no" >&6; }
4933 fi
4934
4935   if test "x$ac_ct_CC" = x; then
4936     CC=""
4937   else
4938     case $cross_compiling:$ac_tool_warned in
4939 yes:)
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4941 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4942 ac_tool_warned=yes ;;
4943 esac
4944     CC=$ac_ct_CC
4945   fi
4946 else
4947   CC="$ac_cv_prog_CC"
4948 fi
4949
4950 if test -z "$CC"; then
4951           if test -n "$ac_tool_prefix"; then
4952     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4953 set dummy ${ac_tool_prefix}cc; ac_word=$2
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4955 $as_echo_n "checking for $ac_word... " >&6; }
4956 if ${ac_cv_prog_CC+:} false; then :
4957   $as_echo_n "(cached) " >&6
4958 else
4959   if test -n "$CC"; then
4960   ac_cv_prog_CC="$CC" # Let the user override the test.
4961 else
4962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4963 for as_dir in $PATH
4964 do
4965   IFS=$as_save_IFS
4966   test -z "$as_dir" && as_dir=.
4967     for ac_exec_ext in '' $ac_executable_extensions; do
4968   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4969     ac_cv_prog_CC="${ac_tool_prefix}cc"
4970     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4971     break 2
4972   fi
4973 done
4974   done
4975 IFS=$as_save_IFS
4976
4977 fi
4978 fi
4979 CC=$ac_cv_prog_CC
4980 if test -n "$CC"; then
4981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4982 $as_echo "$CC" >&6; }
4983 else
4984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4985 $as_echo "no" >&6; }
4986 fi
4987
4988
4989   fi
4990 fi
4991 if test -z "$CC"; then
4992   # Extract the first word of "cc", so it can be a program name with args.
4993 set dummy cc; ac_word=$2
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4995 $as_echo_n "checking for $ac_word... " >&6; }
4996 if ${ac_cv_prog_CC+:} false; then :
4997   $as_echo_n "(cached) " >&6
4998 else
4999   if test -n "$CC"; then
5000   ac_cv_prog_CC="$CC" # Let the user override the test.
5001 else
5002   ac_prog_rejected=no
5003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5004 for as_dir in $PATH
5005 do
5006   IFS=$as_save_IFS
5007   test -z "$as_dir" && as_dir=.
5008     for ac_exec_ext in '' $ac_executable_extensions; do
5009   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5010     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5011        ac_prog_rejected=yes
5012        continue
5013      fi
5014     ac_cv_prog_CC="cc"
5015     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5016     break 2
5017   fi
5018 done
5019   done
5020 IFS=$as_save_IFS
5021
5022 if test $ac_prog_rejected = yes; then
5023   # We found a bogon in the path, so make sure we never use it.
5024   set dummy $ac_cv_prog_CC
5025   shift
5026   if test $# != 0; then
5027     # We chose a different compiler from the bogus one.
5028     # However, it has the same basename, so the bogon will be chosen
5029     # first if we set CC to just the basename; use the full file name.
5030     shift
5031     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5032   fi
5033 fi
5034 fi
5035 fi
5036 CC=$ac_cv_prog_CC
5037 if test -n "$CC"; then
5038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5039 $as_echo "$CC" >&6; }
5040 else
5041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5042 $as_echo "no" >&6; }
5043 fi
5044
5045
5046 fi
5047 if test -z "$CC"; then
5048   if test -n "$ac_tool_prefix"; then
5049   for ac_prog in cl.exe
5050   do
5051     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5052 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5054 $as_echo_n "checking for $ac_word... " >&6; }
5055 if ${ac_cv_prog_CC+:} false; then :
5056   $as_echo_n "(cached) " >&6
5057 else
5058   if test -n "$CC"; then
5059   ac_cv_prog_CC="$CC" # Let the user override the test.
5060 else
5061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5062 for as_dir in $PATH
5063 do
5064   IFS=$as_save_IFS
5065   test -z "$as_dir" && as_dir=.
5066     for ac_exec_ext in '' $ac_executable_extensions; do
5067   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5068     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5069     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5070     break 2
5071   fi
5072 done
5073   done
5074 IFS=$as_save_IFS
5075
5076 fi
5077 fi
5078 CC=$ac_cv_prog_CC
5079 if test -n "$CC"; then
5080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5081 $as_echo "$CC" >&6; }
5082 else
5083   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5084 $as_echo "no" >&6; }
5085 fi
5086
5087
5088     test -n "$CC" && break
5089   done
5090 fi
5091 if test -z "$CC"; then
5092   ac_ct_CC=$CC
5093   for ac_prog in cl.exe
5094 do
5095   # Extract the first word of "$ac_prog", so it can be a program name with args.
5096 set dummy $ac_prog; ac_word=$2
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5098 $as_echo_n "checking for $ac_word... " >&6; }
5099 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5100   $as_echo_n "(cached) " >&6
5101 else
5102   if test -n "$ac_ct_CC"; then
5103   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5104 else
5105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5106 for as_dir in $PATH
5107 do
5108   IFS=$as_save_IFS
5109   test -z "$as_dir" && as_dir=.
5110     for ac_exec_ext in '' $ac_executable_extensions; do
5111   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5112     ac_cv_prog_ac_ct_CC="$ac_prog"
5113     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5114     break 2
5115   fi
5116 done
5117   done
5118 IFS=$as_save_IFS
5119
5120 fi
5121 fi
5122 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5123 if test -n "$ac_ct_CC"; then
5124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5125 $as_echo "$ac_ct_CC" >&6; }
5126 else
5127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5128 $as_echo "no" >&6; }
5129 fi
5130
5131
5132   test -n "$ac_ct_CC" && break
5133 done
5134
5135   if test "x$ac_ct_CC" = x; then
5136     CC=""
5137   else
5138     case $cross_compiling:$ac_tool_warned in
5139 yes:)
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5141 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5142 ac_tool_warned=yes ;;
5143 esac
5144     CC=$ac_ct_CC
5145   fi
5146 fi
5147
5148 fi
5149
5150
5151 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5152 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5153 as_fn_error $? "no acceptable C compiler found in \$PATH
5154 See \`config.log' for more details" "$LINENO" 5; }
5155
5156 # Provide some information about the compiler.
5157 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5158 set X $ac_compile
5159 ac_compiler=$2
5160 for ac_option in --version -v -V -qversion; do
5161   { { ac_try="$ac_compiler $ac_option >&5"
5162 case "(($ac_try" in
5163   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5164   *) ac_try_echo=$ac_try;;
5165 esac
5166 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5167 $as_echo "$ac_try_echo"; } >&5
5168   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5169   ac_status=$?
5170   if test -s conftest.err; then
5171     sed '10a\
5172 ... rest of stderr output deleted ...
5173          10q' conftest.err >conftest.er1
5174     cat conftest.er1 >&5
5175   fi
5176   rm -f conftest.er1 conftest.err
5177   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5178   test $ac_status = 0; }
5179 done
5180
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5182 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5183 if ${ac_cv_c_compiler_gnu+:} false; then :
5184   $as_echo_n "(cached) " >&6
5185 else
5186   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5187 /* end confdefs.h.  */
5188
5189 int
5190 main ()
5191 {
5192 #ifndef __GNUC__
5193        choke me
5194 #endif
5195
5196   ;
5197   return 0;
5198 }
5199 _ACEOF
5200 if ac_fn_c_try_compile "$LINENO"; then :
5201   ac_compiler_gnu=yes
5202 else
5203   ac_compiler_gnu=no
5204 fi
5205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5206 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5207
5208 fi
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5210 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5211 if test $ac_compiler_gnu = yes; then
5212   GCC=yes
5213 else
5214   GCC=
5215 fi
5216 ac_test_CFLAGS=${CFLAGS+set}
5217 ac_save_CFLAGS=$CFLAGS
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5219 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5220 if ${ac_cv_prog_cc_g+:} false; then :
5221   $as_echo_n "(cached) " >&6
5222 else
5223   ac_save_c_werror_flag=$ac_c_werror_flag
5224    ac_c_werror_flag=yes
5225    ac_cv_prog_cc_g=no
5226    CFLAGS="-g"
5227    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5228 /* end confdefs.h.  */
5229
5230 int
5231 main ()
5232 {
5233
5234   ;
5235   return 0;
5236 }
5237 _ACEOF
5238 if ac_fn_c_try_compile "$LINENO"; then :
5239   ac_cv_prog_cc_g=yes
5240 else
5241   CFLAGS=""
5242       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5243 /* end confdefs.h.  */
5244
5245 int
5246 main ()
5247 {
5248
5249   ;
5250   return 0;
5251 }
5252 _ACEOF
5253 if ac_fn_c_try_compile "$LINENO"; then :
5254
5255 else
5256   ac_c_werror_flag=$ac_save_c_werror_flag
5257          CFLAGS="-g"
5258          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5259 /* end confdefs.h.  */
5260
5261 int
5262 main ()
5263 {
5264
5265   ;
5266   return 0;
5267 }
5268 _ACEOF
5269 if ac_fn_c_try_compile "$LINENO"; then :
5270   ac_cv_prog_cc_g=yes
5271 fi
5272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5273 fi
5274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5275 fi
5276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5277    ac_c_werror_flag=$ac_save_c_werror_flag
5278 fi
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5280 $as_echo "$ac_cv_prog_cc_g" >&6; }
5281 if test "$ac_test_CFLAGS" = set; then
5282   CFLAGS=$ac_save_CFLAGS
5283 elif test $ac_cv_prog_cc_g = yes; then
5284   if test "$GCC" = yes; then
5285     CFLAGS="-g -O2"
5286   else
5287     CFLAGS="-g"
5288   fi
5289 else
5290   if test "$GCC" = yes; then
5291     CFLAGS="-O2"
5292   else
5293     CFLAGS=
5294   fi
5295 fi
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5297 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5298 if ${ac_cv_prog_cc_c89+:} false; then :
5299   $as_echo_n "(cached) " >&6
5300 else
5301   ac_cv_prog_cc_c89=no
5302 ac_save_CC=$CC
5303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5304 /* end confdefs.h.  */
5305 #include <stdarg.h>
5306 #include <stdio.h>
5307 struct stat;
5308 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5309 struct buf { int x; };
5310 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5311 static char *e (p, i)
5312      char **p;
5313      int i;
5314 {
5315   return p[i];
5316 }
5317 static char *f (char * (*g) (char **, int), char **p, ...)
5318 {
5319   char *s;
5320   va_list v;
5321   va_start (v,p);
5322   s = g (p, va_arg (v,int));
5323   va_end (v);
5324   return s;
5325 }
5326
5327 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5328    function prototypes and stuff, but not '\xHH' hex character constants.
5329    These don't provoke an error unfortunately, instead are silently treated
5330    as 'x'.  The following induces an error, until -std is added to get
5331    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5332    array size at least.  It's necessary to write '\x00'==0 to get something
5333    that's true only with -std.  */
5334 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5335
5336 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5337    inside strings and character constants.  */
5338 #define FOO(x) 'x'
5339 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5340
5341 int test (int i, double x);
5342 struct s1 {int (*f) (int a);};
5343 struct s2 {int (*f) (double a);};
5344 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5345 int argc;
5346 char **argv;
5347 int
5348 main ()
5349 {
5350 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5351   ;
5352   return 0;
5353 }
5354 _ACEOF
5355 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5356         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5357 do
5358   CC="$ac_save_CC $ac_arg"
5359   if ac_fn_c_try_compile "$LINENO"; then :
5360   ac_cv_prog_cc_c89=$ac_arg
5361 fi
5362 rm -f core conftest.err conftest.$ac_objext
5363   test "x$ac_cv_prog_cc_c89" != "xno" && break
5364 done
5365 rm -f conftest.$ac_ext
5366 CC=$ac_save_CC
5367
5368 fi
5369 # AC_CACHE_VAL
5370 case "x$ac_cv_prog_cc_c89" in
5371   x)
5372     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5373 $as_echo "none needed" >&6; } ;;
5374   xno)
5375     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5376 $as_echo "unsupported" >&6; } ;;
5377   *)
5378     CC="$CC $ac_cv_prog_cc_c89"
5379     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5380 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5381 esac
5382 if test "x$ac_cv_prog_cc_c89" != xno; then :
5383
5384 fi
5385
5386 ac_ext=c
5387 ac_cpp='$CPP $CPPFLAGS'
5388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5391
5392 ac_ext=c
5393 ac_cpp='$CPP $CPPFLAGS'
5394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5398 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5399 if ${am_cv_prog_cc_c_o+:} false; then :
5400   $as_echo_n "(cached) " >&6
5401 else
5402   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5403 /* end confdefs.h.  */
5404
5405 int
5406 main ()
5407 {
5408
5409   ;
5410   return 0;
5411 }
5412 _ACEOF
5413   # Make sure it works both with $CC and with simple cc.
5414   # Following AC_PROG_CC_C_O, we do the test twice because some
5415   # compilers refuse to overwrite an existing .o file with -o,
5416   # though they will create one.
5417   am_cv_prog_cc_c_o=yes
5418   for am_i in 1 2; do
5419     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5420    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5421    ac_status=$?
5422    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5423    (exit $ac_status); } \
5424          && test -f conftest2.$ac_objext; then
5425       : OK
5426     else
5427       am_cv_prog_cc_c_o=no
5428       break
5429     fi
5430   done
5431   rm -f core conftest*
5432   unset am_i
5433 fi
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5435 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5436 if test "$am_cv_prog_cc_c_o" != yes; then
5437    # Losing compiler, so override with the script.
5438    # FIXME: It is wrong to rewrite CC.
5439    # But if we don't then we get into trouble of one sort or another.
5440    # A longer-term fix would be to have automake use am__CC in this case,
5441    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5442    CC="$am_aux_dir/compile $CC"
5443 fi
5444 ac_ext=c
5445 ac_cpp='$CPP $CPPFLAGS'
5446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5449
5450
5451 depcc="$CC"   am_compiler_list=
5452
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5454 $as_echo_n "checking dependency style of $depcc... " >&6; }
5455 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5456   $as_echo_n "(cached) " >&6
5457 else
5458   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5459   # We make a subdir and do the tests there.  Otherwise we can end up
5460   # making bogus files that we don't know about and never remove.  For
5461   # instance it was reported that on HP-UX the gcc test will end up
5462   # making a dummy file named 'D' -- because '-MD' means "put the output
5463   # in D".
5464   rm -rf conftest.dir
5465   mkdir conftest.dir
5466   # Copy depcomp to subdir because otherwise we won't find it if we're
5467   # using a relative directory.
5468   cp "$am_depcomp" conftest.dir
5469   cd conftest.dir
5470   # We will build objects and dependencies in a subdirectory because
5471   # it helps to detect inapplicable dependency modes.  For instance
5472   # both Tru64's cc and ICC support -MD to output dependencies as a
5473   # side effect of compilation, but ICC will put the dependencies in
5474   # the current directory while Tru64 will put them in the object
5475   # directory.
5476   mkdir sub
5477
5478   am_cv_CC_dependencies_compiler_type=none
5479   if test "$am_compiler_list" = ""; then
5480      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5481   fi
5482   am__universal=false
5483   case " $depcc " in #(
5484      *\ -arch\ *\ -arch\ *) am__universal=true ;;
5485      esac
5486
5487   for depmode in $am_compiler_list; do
5488     # Setup a source with many dependencies, because some compilers
5489     # like to wrap large dependency lists on column 80 (with \), and
5490     # we should not choose a depcomp mode which is confused by this.
5491     #
5492     # We need to recreate these files for each test, as the compiler may
5493     # overwrite some of them when testing with obscure command lines.
5494     # This happens at least with the AIX C compiler.
5495     : > sub/conftest.c
5496     for i in 1 2 3 4 5 6; do
5497       echo '#include "conftst'$i'.h"' >> sub/conftest.c
5498       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5499       # Solaris 10 /bin/sh.
5500       echo '/* dummy */' > sub/conftst$i.h
5501     done
5502     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5503
5504     # We check with '-c' and '-o' for the sake of the "dashmstdout"
5505     # mode.  It turns out that the SunPro C++ compiler does not properly
5506     # handle '-M -o', and we need to detect this.  Also, some Intel
5507     # versions had trouble with output in subdirs.
5508     am__obj=sub/conftest.${OBJEXT-o}
5509     am__minus_obj="-o $am__obj"
5510     case $depmode in
5511     gcc)
5512       # This depmode causes a compiler race in universal mode.
5513       test "$am__universal" = false || continue
5514       ;;
5515     nosideeffect)
5516       # After this tag, mechanisms are not by side-effect, so they'll
5517       # only be used when explicitly requested.
5518       if test "x$enable_dependency_tracking" = xyes; then
5519         continue
5520       else
5521         break
5522       fi
5523       ;;
5524     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5525       # This compiler won't grok '-c -o', but also, the minuso test has
5526       # not run yet.  These depmodes are late enough in the game, and
5527       # so weak that their functioning should not be impacted.
5528       am__obj=conftest.${OBJEXT-o}
5529       am__minus_obj=
5530       ;;
5531     none) break ;;
5532     esac
5533     if depmode=$depmode \
5534        source=sub/conftest.c object=$am__obj \
5535        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5536        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5537          >/dev/null 2>conftest.err &&
5538        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5539        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5540        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5541        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5542       # icc doesn't choke on unknown options, it will just issue warnings
5543       # or remarks (even with -Werror).  So we grep stderr for any message
5544       # that says an option was ignored or not supported.
5545       # When given -MP, icc 7.0 and 7.1 complain thusly:
5546       #   icc: Command line warning: ignoring option '-M'; no argument required
5547       # The diagnosis changed in icc 8.0:
5548       #   icc: Command line remark: option '-MP' not supported
5549       if (grep 'ignoring option' conftest.err ||
5550           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5551         am_cv_CC_dependencies_compiler_type=$depmode
5552         break
5553       fi
5554     fi
5555   done
5556
5557   cd ..
5558   rm -rf conftest.dir
5559 else
5560   am_cv_CC_dependencies_compiler_type=none
5561 fi
5562
5563 fi
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5565 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5566 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5567
5568  if
5569   test "x$enable_dependency_tracking" != xno \
5570   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5571   am__fastdepCC_TRUE=
5572   am__fastdepCC_FALSE='#'
5573 else
5574   am__fastdepCC_TRUE='#'
5575   am__fastdepCC_FALSE=
5576 fi
5577
5578
5579
5580
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5582 $as_echo_n "checking whether ln -s works... " >&6; }
5583 LN_S=$as_ln_s
5584 if test "$LN_S" = "ln -s"; then
5585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5586 $as_echo "yes" >&6; }
5587 else
5588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5589 $as_echo "no, using $LN_S" >&6; }
5590 fi
5591
5592
5593
5594
5595
5596
5597
5598
5599 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5600         if test -n "$ac_tool_prefix"; then
5601   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5602 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5604 $as_echo_n "checking for $ac_word... " >&6; }
5605 if ${ac_cv_path_PKG_CONFIG+:} false; then :
5606   $as_echo_n "(cached) " >&6
5607 else
5608   case $PKG_CONFIG in
5609   [\\/]* | ?:[\\/]*)
5610   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5611   ;;
5612   *)
5613   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5614 for as_dir in $PATH
5615 do
5616   IFS=$as_save_IFS
5617   test -z "$as_dir" && as_dir=.
5618     for ac_exec_ext in '' $ac_executable_extensions; do
5619   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5620     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5621     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5622     break 2
5623   fi
5624 done
5625   done
5626 IFS=$as_save_IFS
5627
5628   ;;
5629 esac
5630 fi
5631 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5632 if test -n "$PKG_CONFIG"; then
5633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5634 $as_echo "$PKG_CONFIG" >&6; }
5635 else
5636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5637 $as_echo "no" >&6; }
5638 fi
5639
5640
5641 fi
5642 if test -z "$ac_cv_path_PKG_CONFIG"; then
5643   ac_pt_PKG_CONFIG=$PKG_CONFIG
5644   # Extract the first word of "pkg-config", so it can be a program name with args.
5645 set dummy pkg-config; ac_word=$2
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5647 $as_echo_n "checking for $ac_word... " >&6; }
5648 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
5649   $as_echo_n "(cached) " >&6
5650 else
5651   case $ac_pt_PKG_CONFIG in
5652   [\\/]* | ?:[\\/]*)
5653   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5654   ;;
5655   *)
5656   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5657 for as_dir in $PATH
5658 do
5659   IFS=$as_save_IFS
5660   test -z "$as_dir" && as_dir=.
5661     for ac_exec_ext in '' $ac_executable_extensions; do
5662   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5663     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5664     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5665     break 2
5666   fi
5667 done
5668   done
5669 IFS=$as_save_IFS
5670
5671   ;;
5672 esac
5673 fi
5674 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
5675 if test -n "$ac_pt_PKG_CONFIG"; then
5676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
5677 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
5678 else
5679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5680 $as_echo "no" >&6; }
5681 fi
5682
5683   if test "x$ac_pt_PKG_CONFIG" = x; then
5684     PKG_CONFIG=""
5685   else
5686     case $cross_compiling:$ac_tool_warned in
5687 yes:)
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5689 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5690 ac_tool_warned=yes ;;
5691 esac
5692     PKG_CONFIG=$ac_pt_PKG_CONFIG
5693   fi
5694 else
5695   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5696 fi
5697
5698 fi
5699 if test -n "$PKG_CONFIG"; then
5700         _pkg_min_version=0.9.0
5701         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
5702 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5703         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5704                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5705 $as_echo "yes" >&6; }
5706         else
5707                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5708 $as_echo "no" >&6; }
5709                 PKG_CONFIG=""
5710         fi
5711 fi
5712
5713 case `pwd` in
5714   *\ * | *\     *)
5715     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5716 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5717 esac
5718
5719
5720
5721 macro_version='2.4.2'
5722 macro_revision='1.3337'
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736 ltmain="$ac_aux_dir/ltmain.sh"
5737
5738 # Backslashify metacharacters that are still active within
5739 # double-quoted strings.
5740 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5741
5742 # Same as above, but do not quote variable references.
5743 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5744
5745 # Sed substitution to delay expansion of an escaped shell variable in a
5746 # double_quote_subst'ed string.
5747 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5748
5749 # Sed substitution to delay expansion of an escaped single quote.
5750 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5751
5752 # Sed substitution to avoid accidental globbing in evaled expressions
5753 no_glob_subst='s/\*/\\\*/g'
5754
5755 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5756 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5757 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5758
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5760 $as_echo_n "checking how to print strings... " >&6; }
5761 # Test print first, because it will be a builtin if present.
5762 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5763    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5764   ECHO='print -r --'
5765 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5766   ECHO='printf %s\n'
5767 else
5768   # Use this function as a fallback that always works.
5769   func_fallback_echo ()
5770   {
5771     eval 'cat <<_LTECHO_EOF
5772 $1
5773 _LTECHO_EOF'
5774   }
5775   ECHO='func_fallback_echo'
5776 fi
5777
5778 # func_echo_all arg...
5779 # Invoke $ECHO with all args, space-separated.
5780 func_echo_all ()
5781 {
5782     $ECHO ""
5783 }
5784
5785 case "$ECHO" in
5786   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5787 $as_echo "printf" >&6; } ;;
5788   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5789 $as_echo "print -r" >&6; } ;;
5790   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5791 $as_echo "cat" >&6; } ;;
5792 esac
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5808 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5809 if ${ac_cv_path_SED+:} false; then :
5810   $as_echo_n "(cached) " >&6
5811 else
5812             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5813      for ac_i in 1 2 3 4 5 6 7; do
5814        ac_script="$ac_script$as_nl$ac_script"
5815      done
5816      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5817      { ac_script=; unset ac_script;}
5818      if test -z "$SED"; then
5819   ac_path_SED_found=false
5820   # Loop through the user's path and test for each of PROGNAME-LIST
5821   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5822 for as_dir in $PATH
5823 do
5824   IFS=$as_save_IFS
5825   test -z "$as_dir" && as_dir=.
5826     for ac_prog in sed gsed; do
5827     for ac_exec_ext in '' $ac_executable_extensions; do
5828       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5829       as_fn_executable_p "$ac_path_SED" || continue
5830 # Check for GNU ac_path_SED and select it if it is found.
5831   # Check for GNU $ac_path_SED
5832 case `"$ac_path_SED" --version 2>&1` in
5833 *GNU*)
5834   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5835 *)
5836   ac_count=0
5837   $as_echo_n 0123456789 >"conftest.in"
5838   while :
5839   do
5840     cat "conftest.in" "conftest.in" >"conftest.tmp"
5841     mv "conftest.tmp" "conftest.in"
5842     cp "conftest.in" "conftest.nl"
5843     $as_echo '' >> "conftest.nl"
5844     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5845     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5846     as_fn_arith $ac_count + 1 && ac_count=$as_val
5847     if test $ac_count -gt ${ac_path_SED_max-0}; then
5848       # Best one so far, save it but keep looking for a better one
5849       ac_cv_path_SED="$ac_path_SED"
5850       ac_path_SED_max=$ac_count
5851     fi
5852     # 10*(2^10) chars as input seems more than enough
5853     test $ac_count -gt 10 && break
5854   done
5855   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5856 esac
5857
5858       $ac_path_SED_found && break 3
5859     done
5860   done
5861   done
5862 IFS=$as_save_IFS
5863   if test -z "$ac_cv_path_SED"; then
5864     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5865   fi
5866 else
5867   ac_cv_path_SED=$SED
5868 fi
5869
5870 fi
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5872 $as_echo "$ac_cv_path_SED" >&6; }
5873  SED="$ac_cv_path_SED"
5874   rm -f conftest.sed
5875
5876 test -z "$SED" && SED=sed
5877 Xsed="$SED -e 1s/^X//"
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5890 $as_echo_n "checking for fgrep... " >&6; }
5891 if ${ac_cv_path_FGREP+:} false; then :
5892   $as_echo_n "(cached) " >&6
5893 else
5894   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5895    then ac_cv_path_FGREP="$GREP -F"
5896    else
5897      if test -z "$FGREP"; then
5898   ac_path_FGREP_found=false
5899   # Loop through the user's path and test for each of PROGNAME-LIST
5900   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5901 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5902 do
5903   IFS=$as_save_IFS
5904   test -z "$as_dir" && as_dir=.
5905     for ac_prog in fgrep; do
5906     for ac_exec_ext in '' $ac_executable_extensions; do
5907       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5908       as_fn_executable_p "$ac_path_FGREP" || continue
5909 # Check for GNU ac_path_FGREP and select it if it is found.
5910   # Check for GNU $ac_path_FGREP
5911 case `"$ac_path_FGREP" --version 2>&1` in
5912 *GNU*)
5913   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5914 *)
5915   ac_count=0
5916   $as_echo_n 0123456789 >"conftest.in"
5917   while :
5918   do
5919     cat "conftest.in" "conftest.in" >"conftest.tmp"
5920     mv "conftest.tmp" "conftest.in"
5921     cp "conftest.in" "conftest.nl"
5922     $as_echo 'FGREP' >> "conftest.nl"
5923     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5924     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5925     as_fn_arith $ac_count + 1 && ac_count=$as_val
5926     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5927       # Best one so far, save it but keep looking for a better one
5928       ac_cv_path_FGREP="$ac_path_FGREP"
5929       ac_path_FGREP_max=$ac_count
5930     fi
5931     # 10*(2^10) chars as input seems more than enough
5932     test $ac_count -gt 10 && break
5933   done
5934   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5935 esac
5936
5937       $ac_path_FGREP_found && break 3
5938     done
5939   done
5940   done
5941 IFS=$as_save_IFS
5942   if test -z "$ac_cv_path_FGREP"; then
5943     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5944   fi
5945 else
5946   ac_cv_path_FGREP=$FGREP
5947 fi
5948
5949    fi
5950 fi
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5952 $as_echo "$ac_cv_path_FGREP" >&6; }
5953  FGREP="$ac_cv_path_FGREP"
5954
5955
5956 test -z "$GREP" && GREP=grep
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976 # Check whether --with-gnu-ld was given.
5977 if test "${with_gnu_ld+set}" = set; then :
5978   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5979 else
5980   with_gnu_ld=no
5981 fi
5982
5983 ac_prog=ld
5984 if test "$GCC" = yes; then
5985   # Check if gcc -print-prog-name=ld gives a path.
5986   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5987 $as_echo_n "checking for ld used by $CC... " >&6; }
5988   case $host in
5989   *-*-mingw*)
5990     # gcc leaves a trailing carriage return which upsets mingw
5991     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5992   *)
5993     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5994   esac
5995   case $ac_prog in
5996     # Accept absolute paths.
5997     [\\/]* | ?:[\\/]*)
5998       re_direlt='/[^/][^/]*/\.\./'
5999       # Canonicalize the pathname of ld
6000       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6001       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6002         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6003       done
6004       test -z "$LD" && LD="$ac_prog"
6005       ;;
6006   "")
6007     # If it fails, then pretend we aren't using GCC.
6008     ac_prog=ld
6009     ;;
6010   *)
6011     # If it is relative, then search for the first ld in PATH.
6012     with_gnu_ld=unknown
6013     ;;
6014   esac
6015 elif test "$with_gnu_ld" = yes; then
6016   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6017 $as_echo_n "checking for GNU ld... " >&6; }
6018 else
6019   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6020 $as_echo_n "checking for non-GNU ld... " >&6; }
6021 fi
6022 if ${lt_cv_path_LD+:} false; then :
6023   $as_echo_n "(cached) " >&6
6024 else
6025   if test -z "$LD"; then
6026   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6027   for ac_dir in $PATH; do
6028     IFS="$lt_save_ifs"
6029     test -z "$ac_dir" && ac_dir=.
6030     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6031       lt_cv_path_LD="$ac_dir/$ac_prog"
6032       # Check to see if the program is GNU ld.  I'd rather use --version,
6033       # but apparently some variants of GNU ld only accept -v.
6034       # Break only if it was the GNU/non-GNU ld that we prefer.
6035       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6036       *GNU* | *'with BFD'*)
6037         test "$with_gnu_ld" != no && break
6038         ;;
6039       *)
6040         test "$with_gnu_ld" != yes && break
6041         ;;
6042       esac
6043     fi
6044   done
6045   IFS="$lt_save_ifs"
6046 else
6047   lt_cv_path_LD="$LD" # Let the user override the test with a path.
6048 fi
6049 fi
6050
6051 LD="$lt_cv_path_LD"
6052 if test -n "$LD"; then
6053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6054 $as_echo "$LD" >&6; }
6055 else
6056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6057 $as_echo "no" >&6; }
6058 fi
6059 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6061 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6062 if ${lt_cv_prog_gnu_ld+:} false; then :
6063   $as_echo_n "(cached) " >&6
6064 else
6065   # I'd rather use --version here, but apparently some GNU lds only accept -v.
6066 case `$LD -v 2>&1 </dev/null` in
6067 *GNU* | *'with BFD'*)
6068   lt_cv_prog_gnu_ld=yes
6069   ;;
6070 *)
6071   lt_cv_prog_gnu_ld=no
6072   ;;
6073 esac
6074 fi
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6076 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6077 with_gnu_ld=$lt_cv_prog_gnu_ld
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6088 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6089 if ${lt_cv_path_NM+:} false; then :
6090   $as_echo_n "(cached) " >&6
6091 else
6092   if test -n "$NM"; then
6093   # Let the user override the test.
6094   lt_cv_path_NM="$NM"
6095 else
6096   lt_nm_to_check="${ac_tool_prefix}nm"
6097   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6098     lt_nm_to_check="$lt_nm_to_check nm"
6099   fi
6100   for lt_tmp_nm in $lt_nm_to_check; do
6101     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6102     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6103       IFS="$lt_save_ifs"
6104       test -z "$ac_dir" && ac_dir=.
6105       tmp_nm="$ac_dir/$lt_tmp_nm"
6106       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6107         # Check to see if the nm accepts a BSD-compat flag.
6108         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6109         #   nm: unknown option "B" ignored
6110         # Tru64's nm complains that /dev/null is an invalid object file
6111         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6112         */dev/null* | *'Invalid file or object type'*)
6113           lt_cv_path_NM="$tmp_nm -B"
6114           break
6115           ;;
6116         *)
6117           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6118           */dev/null*)
6119             lt_cv_path_NM="$tmp_nm -p"
6120             break
6121             ;;
6122           *)
6123             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6124             continue # so that we can try to find one that supports BSD flags
6125             ;;
6126           esac
6127           ;;
6128         esac
6129       fi
6130     done
6131     IFS="$lt_save_ifs"
6132   done
6133   : ${lt_cv_path_NM=no}
6134 fi
6135 fi
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6137 $as_echo "$lt_cv_path_NM" >&6; }
6138 if test "$lt_cv_path_NM" != "no"; then
6139   NM="$lt_cv_path_NM"
6140 else
6141   # Didn't find any BSD compatible name lister, look for dumpbin.
6142   if test -n "$DUMPBIN"; then :
6143     # Let the user override the test.
6144   else
6145     if test -n "$ac_tool_prefix"; then
6146   for ac_prog in dumpbin "link -dump"
6147   do
6148     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6149 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6151 $as_echo_n "checking for $ac_word... " >&6; }
6152 if ${ac_cv_prog_DUMPBIN+:} false; then :
6153   $as_echo_n "(cached) " >&6
6154 else
6155   if test -n "$DUMPBIN"; then
6156   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6157 else
6158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6159 for as_dir in $PATH
6160 do
6161   IFS=$as_save_IFS
6162   test -z "$as_dir" && as_dir=.
6163     for ac_exec_ext in '' $ac_executable_extensions; do
6164   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6165     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6166     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6167     break 2
6168   fi
6169 done
6170   done
6171 IFS=$as_save_IFS
6172
6173 fi
6174 fi
6175 DUMPBIN=$ac_cv_prog_DUMPBIN
6176 if test -n "$DUMPBIN"; then
6177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6178 $as_echo "$DUMPBIN" >&6; }
6179 else
6180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6181 $as_echo "no" >&6; }
6182 fi
6183
6184
6185     test -n "$DUMPBIN" && break
6186   done
6187 fi
6188 if test -z "$DUMPBIN"; then
6189   ac_ct_DUMPBIN=$DUMPBIN
6190   for ac_prog in dumpbin "link -dump"
6191 do
6192   # Extract the first word of "$ac_prog", so it can be a program name with args.
6193 set dummy $ac_prog; ac_word=$2
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6195 $as_echo_n "checking for $ac_word... " >&6; }
6196 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6197   $as_echo_n "(cached) " >&6
6198 else
6199   if test -n "$ac_ct_DUMPBIN"; then
6200   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6201 else
6202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6203 for as_dir in $PATH
6204 do
6205   IFS=$as_save_IFS
6206   test -z "$as_dir" && as_dir=.
6207     for ac_exec_ext in '' $ac_executable_extensions; do
6208   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6209     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6210     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6211     break 2
6212   fi
6213 done
6214   done
6215 IFS=$as_save_IFS
6216
6217 fi
6218 fi
6219 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6220 if test -n "$ac_ct_DUMPBIN"; then
6221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6222 $as_echo "$ac_ct_DUMPBIN" >&6; }
6223 else
6224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6225 $as_echo "no" >&6; }
6226 fi
6227
6228
6229   test -n "$ac_ct_DUMPBIN" && break
6230 done
6231
6232   if test "x$ac_ct_DUMPBIN" = x; then
6233     DUMPBIN=":"
6234   else
6235     case $cross_compiling:$ac_tool_warned in
6236 yes:)
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6238 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6239 ac_tool_warned=yes ;;
6240 esac
6241     DUMPBIN=$ac_ct_DUMPBIN
6242   fi
6243 fi
6244
6245     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6246     *COFF*)
6247       DUMPBIN="$DUMPBIN -symbols"
6248       ;;
6249     *)
6250       DUMPBIN=:
6251       ;;
6252     esac
6253   fi
6254
6255   if test "$DUMPBIN" != ":"; then
6256     NM="$DUMPBIN"
6257   fi
6258 fi
6259 test -z "$NM" && NM=nm
6260
6261
6262
6263
6264
6265
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6267 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6268 if ${lt_cv_nm_interface+:} false; then :
6269   $as_echo_n "(cached) " >&6
6270 else
6271   lt_cv_nm_interface="BSD nm"
6272   echo "int some_variable = 0;" > conftest.$ac_ext
6273   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6274   (eval "$ac_compile" 2>conftest.err)
6275   cat conftest.err >&5
6276   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6277   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6278   cat conftest.err >&5
6279   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6280   cat conftest.out >&5
6281   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6282     lt_cv_nm_interface="MS dumpbin"
6283   fi
6284   rm -f conftest*
6285 fi
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6287 $as_echo "$lt_cv_nm_interface" >&6; }
6288
6289 # find the maximum length of command line arguments
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6291 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6292 if ${lt_cv_sys_max_cmd_len+:} false; then :
6293   $as_echo_n "(cached) " >&6
6294 else
6295     i=0
6296   teststring="ABCD"
6297
6298   case $build_os in
6299   msdosdjgpp*)
6300     # On DJGPP, this test can blow up pretty badly due to problems in libc
6301     # (any single argument exceeding 2000 bytes causes a buffer overrun
6302     # during glob expansion).  Even if it were fixed, the result of this
6303     # check would be larger than it should be.
6304     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6305     ;;
6306
6307   gnu*)
6308     # Under GNU Hurd, this test is not required because there is
6309     # no limit to the length of command line arguments.
6310     # Libtool will interpret -1 as no limit whatsoever
6311     lt_cv_sys_max_cmd_len=-1;
6312     ;;
6313
6314   cygwin* | mingw* | cegcc*)
6315     # On Win9x/ME, this test blows up -- it succeeds, but takes
6316     # about 5 minutes as the teststring grows exponentially.
6317     # Worse, since 9x/ME are not pre-emptively multitasking,
6318     # you end up with a "frozen" computer, even though with patience
6319     # the test eventually succeeds (with a max line length of 256k).
6320     # Instead, let's just punt: use the minimum linelength reported by
6321     # all of the supported platforms: 8192 (on NT/2K/XP).
6322     lt_cv_sys_max_cmd_len=8192;
6323     ;;
6324
6325   mint*)
6326     # On MiNT this can take a long time and run out of memory.
6327     lt_cv_sys_max_cmd_len=8192;
6328     ;;
6329
6330   amigaos*)
6331     # On AmigaOS with pdksh, this test takes hours, literally.
6332     # So we just punt and use a minimum line length of 8192.
6333     lt_cv_sys_max_cmd_len=8192;
6334     ;;
6335
6336   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6337     # This has been around since 386BSD, at least.  Likely further.
6338     if test -x /sbin/sysctl; then
6339       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6340     elif test -x /usr/sbin/sysctl; then
6341       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6342     else
6343       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6344     fi
6345     # And add a safety zone
6346     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6347     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6348     ;;
6349
6350   interix*)
6351     # We know the value 262144 and hardcode it with a safety zone (like BSD)
6352     lt_cv_sys_max_cmd_len=196608
6353     ;;
6354
6355   os2*)
6356     # The test takes a long time on OS/2.
6357     lt_cv_sys_max_cmd_len=8192
6358     ;;
6359
6360   osf*)
6361     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6362     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6363     # nice to cause kernel panics so lets avoid the loop below.
6364     # First set a reasonable default.
6365     lt_cv_sys_max_cmd_len=16384
6366     #
6367     if test -x /sbin/sysconfig; then
6368       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6369         *1*) lt_cv_sys_max_cmd_len=-1 ;;
6370       esac
6371     fi
6372     ;;
6373   sco3.2v5*)
6374     lt_cv_sys_max_cmd_len=102400
6375     ;;
6376   sysv5* | sco5v6* | sysv4.2uw2*)
6377     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6378     if test -n "$kargmax"; then
6379       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
6380     else
6381       lt_cv_sys_max_cmd_len=32768
6382     fi
6383     ;;
6384   *)
6385     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6386     if test -n "$lt_cv_sys_max_cmd_len" && \
6387         test undefined != "$lt_cv_sys_max_cmd_len"; then
6388       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6389       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6390     else
6391       # Make teststring a little bigger before we do anything with it.
6392       # a 1K string should be a reasonable start.
6393       for i in 1 2 3 4 5 6 7 8 ; do
6394         teststring=$teststring$teststring
6395       done
6396       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6397       # If test is not a shell built-in, we'll probably end up computing a
6398       # maximum length that is only half of the actual maximum length, but
6399       # we can't tell.
6400       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
6401                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6402               test $i != 17 # 1/2 MB should be enough
6403       do
6404         i=`expr $i + 1`
6405         teststring=$teststring$teststring
6406       done
6407       # Only check the string length outside the loop.
6408       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6409       teststring=
6410       # Add a significant safety factor because C++ compilers can tack on
6411       # massive amounts of additional arguments before passing them to the
6412       # linker.  It appears as though 1/2 is a usable value.
6413       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6414     fi
6415     ;;
6416   esac
6417
6418 fi
6419
6420 if test -n $lt_cv_sys_max_cmd_len ; then
6421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6422 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6423 else
6424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6425 $as_echo "none" >&6; }
6426 fi
6427 max_cmd_len=$lt_cv_sys_max_cmd_len
6428
6429
6430
6431
6432
6433
6434 : ${CP="cp -f"}
6435 : ${MV="mv -f"}
6436 : ${RM="rm -f"}
6437
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6439 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6440 # Try some XSI features
6441 xsi_shell=no
6442 ( _lt_dummy="a/b/c"
6443   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6444       = c,a/b,b/c, \
6445     && eval 'test $(( 1 + 1 )) -eq 2 \
6446     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6447   && xsi_shell=yes
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6449 $as_echo "$xsi_shell" >&6; }
6450
6451
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6453 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6454 lt_shell_append=no
6455 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6456     >/dev/null 2>&1 \
6457   && lt_shell_append=yes
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6459 $as_echo "$lt_shell_append" >&6; }
6460
6461
6462 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6463   lt_unset=unset
6464 else
6465   lt_unset=false
6466 fi
6467
6468
6469
6470
6471
6472 # test EBCDIC or ASCII
6473 case `echo X|tr X '\101'` in
6474  A) # ASCII based system
6475     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6476   lt_SP2NL='tr \040 \012'
6477   lt_NL2SP='tr \015\012 \040\040'
6478   ;;
6479  *) # EBCDIC based system
6480   lt_SP2NL='tr \100 \n'
6481   lt_NL2SP='tr \r\n \100\100'
6482   ;;
6483 esac
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6494 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6495 if ${lt_cv_to_host_file_cmd+:} false; then :
6496   $as_echo_n "(cached) " >&6
6497 else
6498   case $host in
6499   *-*-mingw* )
6500     case $build in
6501       *-*-mingw* ) # actually msys
6502         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6503         ;;
6504       *-*-cygwin* )
6505         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6506         ;;
6507       * ) # otherwise, assume *nix
6508         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6509         ;;
6510     esac
6511     ;;
6512   *-*-cygwin* )
6513     case $build in
6514       *-*-mingw* ) # actually msys
6515         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6516         ;;
6517       *-*-cygwin* )
6518         lt_cv_to_host_file_cmd=func_convert_file_noop
6519         ;;
6520       * ) # otherwise, assume *nix
6521         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6522         ;;
6523     esac
6524     ;;
6525   * ) # unhandled hosts (and "normal" native builds)
6526     lt_cv_to_host_file_cmd=func_convert_file_noop
6527     ;;
6528 esac
6529
6530 fi
6531
6532 to_host_file_cmd=$lt_cv_to_host_file_cmd
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6534 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6535
6536
6537
6538
6539
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6541 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6542 if ${lt_cv_to_tool_file_cmd+:} false; then :
6543   $as_echo_n "(cached) " >&6
6544 else
6545   #assume ordinary cross tools, or native build.
6546 lt_cv_to_tool_file_cmd=func_convert_file_noop
6547 case $host in
6548   *-*-mingw* )
6549     case $build in
6550       *-*-mingw* ) # actually msys
6551         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6552         ;;
6553     esac
6554     ;;
6555 esac
6556
6557 fi
6558
6559 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6561 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6562
6563
6564
6565
6566
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6568 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6569 if ${lt_cv_ld_reload_flag+:} false; then :
6570   $as_echo_n "(cached) " >&6
6571 else
6572   lt_cv_ld_reload_flag='-r'
6573 fi
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6575 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6576 reload_flag=$lt_cv_ld_reload_flag
6577 case $reload_flag in
6578 "" | " "*) ;;
6579 *) reload_flag=" $reload_flag" ;;
6580 esac
6581 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6582 case $host_os in
6583   cygwin* | mingw* | pw32* | cegcc*)
6584     if test "$GCC" != yes; then
6585       reload_cmds=false
6586     fi
6587     ;;
6588   darwin*)
6589     if test "$GCC" = yes; then
6590       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6591     else
6592       reload_cmds='$LD$reload_flag -o $output$reload_objs'
6593     fi
6594     ;;
6595 esac
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605 if test -n "$ac_tool_prefix"; then
6606   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6607 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6609 $as_echo_n "checking for $ac_word... " >&6; }
6610 if ${ac_cv_prog_OBJDUMP+:} false; then :
6611   $as_echo_n "(cached) " >&6
6612 else
6613   if test -n "$OBJDUMP"; then
6614   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6615 else
6616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6617 for as_dir in $PATH
6618 do
6619   IFS=$as_save_IFS
6620   test -z "$as_dir" && as_dir=.
6621     for ac_exec_ext in '' $ac_executable_extensions; do
6622   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6623     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6624     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6625     break 2
6626   fi
6627 done
6628   done
6629 IFS=$as_save_IFS
6630
6631 fi
6632 fi
6633 OBJDUMP=$ac_cv_prog_OBJDUMP
6634 if test -n "$OBJDUMP"; then
6635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6636 $as_echo "$OBJDUMP" >&6; }
6637 else
6638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6639 $as_echo "no" >&6; }
6640 fi
6641
6642
6643 fi
6644 if test -z "$ac_cv_prog_OBJDUMP"; then
6645   ac_ct_OBJDUMP=$OBJDUMP
6646   # Extract the first word of "objdump", so it can be a program name with args.
6647 set dummy objdump; ac_word=$2
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6649 $as_echo_n "checking for $ac_word... " >&6; }
6650 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6651   $as_echo_n "(cached) " >&6
6652 else
6653   if test -n "$ac_ct_OBJDUMP"; then
6654   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6655 else
6656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6657 for as_dir in $PATH
6658 do
6659   IFS=$as_save_IFS
6660   test -z "$as_dir" && as_dir=.
6661     for ac_exec_ext in '' $ac_executable_extensions; do
6662   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6663     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6664     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6665     break 2
6666   fi
6667 done
6668   done
6669 IFS=$as_save_IFS
6670
6671 fi
6672 fi
6673 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6674 if test -n "$ac_ct_OBJDUMP"; then
6675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6676 $as_echo "$ac_ct_OBJDUMP" >&6; }
6677 else
6678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6679 $as_echo "no" >&6; }
6680 fi
6681
6682   if test "x$ac_ct_OBJDUMP" = x; then
6683     OBJDUMP="false"
6684   else
6685     case $cross_compiling:$ac_tool_warned in
6686 yes:)
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6688 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6689 ac_tool_warned=yes ;;
6690 esac
6691     OBJDUMP=$ac_ct_OBJDUMP
6692   fi
6693 else
6694   OBJDUMP="$ac_cv_prog_OBJDUMP"
6695 fi
6696
6697 test -z "$OBJDUMP" && OBJDUMP=objdump
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6708 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6709 if ${lt_cv_deplibs_check_method+:} false; then :
6710   $as_echo_n "(cached) " >&6
6711 else
6712   lt_cv_file_magic_cmd='$MAGIC_CMD'
6713 lt_cv_file_magic_test_file=
6714 lt_cv_deplibs_check_method='unknown'
6715 # Need to set the preceding variable on all platforms that support
6716 # interlibrary dependencies.
6717 # 'none' -- dependencies not supported.
6718 # `unknown' -- same as none, but documents that we really don't know.
6719 # 'pass_all' -- all dependencies passed with no checks.
6720 # 'test_compile' -- check by making test program.
6721 # 'file_magic [[regex]]' -- check by looking for files in library path
6722 # which responds to the $file_magic_cmd with a given extended regex.
6723 # If you have `file' or equivalent on your system and you're not sure
6724 # whether `pass_all' will *always* work, you probably want this one.
6725
6726 case $host_os in
6727 aix[4-9]*)
6728   lt_cv_deplibs_check_method=pass_all
6729   ;;
6730
6731 beos*)
6732   lt_cv_deplibs_check_method=pass_all
6733   ;;
6734
6735 bsdi[45]*)
6736   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6737   lt_cv_file_magic_cmd='/usr/bin/file -L'
6738   lt_cv_file_magic_test_file=/shlib/libc.so
6739   ;;
6740
6741 cygwin*)
6742   # func_win32_libid is a shell function defined in ltmain.sh
6743   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6744   lt_cv_file_magic_cmd='func_win32_libid'
6745   ;;
6746
6747 mingw* | pw32*)
6748   # Base MSYS/MinGW do not provide the 'file' command needed by
6749   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6750   # unless we find 'file', for example because we are cross-compiling.
6751   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6752   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6753     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6754     lt_cv_file_magic_cmd='func_win32_libid'
6755   else
6756     # Keep this pattern in sync with the one in func_win32_libid.
6757     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6758     lt_cv_file_magic_cmd='$OBJDUMP -f'
6759   fi
6760   ;;
6761
6762 cegcc*)
6763   # use the weaker test based on 'objdump'. See mingw*.
6764   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6765   lt_cv_file_magic_cmd='$OBJDUMP -f'
6766   ;;
6767
6768 darwin* | rhapsody*)
6769   lt_cv_deplibs_check_method=pass_all
6770   ;;
6771
6772 freebsd* | dragonfly*)
6773   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6774     case $host_cpu in
6775     i*86 )
6776       # Not sure whether the presence of OpenBSD here was a mistake.
6777       # Let's accept both of them until this is cleared up.
6778       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6779       lt_cv_file_magic_cmd=/usr/bin/file
6780       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6781       ;;
6782     esac
6783   else
6784     lt_cv_deplibs_check_method=pass_all
6785   fi
6786   ;;
6787
6788 haiku*)
6789   lt_cv_deplibs_check_method=pass_all
6790   ;;
6791
6792 hpux10.20* | hpux11*)
6793   lt_cv_file_magic_cmd=/usr/bin/file
6794   case $host_cpu in
6795   ia64*)
6796     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6797     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6798     ;;
6799   hppa*64*)
6800     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6801     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6802     ;;
6803   *)
6804     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6805     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6806     ;;
6807   esac
6808   ;;
6809
6810 interix[3-9]*)
6811   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6812   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6813   ;;
6814
6815 irix5* | irix6* | nonstopux*)
6816   case $LD in
6817   *-32|*"-32 ") libmagic=32-bit;;
6818   *-n32|*"-n32 ") libmagic=N32;;
6819   *-64|*"-64 ") libmagic=64-bit;;
6820   *) libmagic=never-match;;
6821   esac
6822   lt_cv_deplibs_check_method=pass_all
6823   ;;
6824
6825 # This must be glibc/ELF.
6826 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6827   lt_cv_deplibs_check_method=pass_all
6828   ;;
6829
6830 netbsd* | netbsdelf*-gnu)
6831   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6832     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6833   else
6834     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6835   fi
6836   ;;
6837
6838 newos6*)
6839   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6840   lt_cv_file_magic_cmd=/usr/bin/file
6841   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6842   ;;
6843
6844 *nto* | *qnx*)
6845   lt_cv_deplibs_check_method=pass_all
6846   ;;
6847
6848 openbsd*)
6849   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6850     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6851   else
6852     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6853   fi
6854   ;;
6855
6856 osf3* | osf4* | osf5*)
6857   lt_cv_deplibs_check_method=pass_all
6858   ;;
6859
6860 rdos*)
6861   lt_cv_deplibs_check_method=pass_all
6862   ;;
6863
6864 solaris*)
6865   lt_cv_deplibs_check_method=pass_all
6866   ;;
6867
6868 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6869   lt_cv_deplibs_check_method=pass_all
6870   ;;
6871
6872 sysv4 | sysv4.3*)
6873   case $host_vendor in
6874   motorola)
6875     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]'
6876     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6877     ;;
6878   ncr)
6879     lt_cv_deplibs_check_method=pass_all
6880     ;;
6881   sequent)
6882     lt_cv_file_magic_cmd='/bin/file'
6883     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6884     ;;
6885   sni)
6886     lt_cv_file_magic_cmd='/bin/file'
6887     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6888     lt_cv_file_magic_test_file=/lib/libc.so
6889     ;;
6890   siemens)
6891     lt_cv_deplibs_check_method=pass_all
6892     ;;
6893   pc)
6894     lt_cv_deplibs_check_method=pass_all
6895     ;;
6896   esac
6897   ;;
6898
6899 tpf*)
6900   lt_cv_deplibs_check_method=pass_all
6901   ;;
6902 esac
6903
6904 fi
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6906 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6907
6908 file_magic_glob=
6909 want_nocaseglob=no
6910 if test "$build" = "$host"; then
6911   case $host_os in
6912   mingw* | pw32*)
6913     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6914       want_nocaseglob=yes
6915     else
6916       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6917     fi
6918     ;;
6919   esac
6920 fi
6921
6922 file_magic_cmd=$lt_cv_file_magic_cmd
6923 deplibs_check_method=$lt_cv_deplibs_check_method
6924 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947 if test -n "$ac_tool_prefix"; then
6948   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6949 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6951 $as_echo_n "checking for $ac_word... " >&6; }
6952 if ${ac_cv_prog_DLLTOOL+:} false; then :
6953   $as_echo_n "(cached) " >&6
6954 else
6955   if test -n "$DLLTOOL"; then
6956   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6957 else
6958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6959 for as_dir in $PATH
6960 do
6961   IFS=$as_save_IFS
6962   test -z "$as_dir" && as_dir=.
6963     for ac_exec_ext in '' $ac_executable_extensions; do
6964   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6965     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6966     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6967     break 2
6968   fi
6969 done
6970   done
6971 IFS=$as_save_IFS
6972
6973 fi
6974 fi
6975 DLLTOOL=$ac_cv_prog_DLLTOOL
6976 if test -n "$DLLTOOL"; then
6977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6978 $as_echo "$DLLTOOL" >&6; }
6979 else
6980   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6981 $as_echo "no" >&6; }
6982 fi
6983
6984
6985 fi
6986 if test -z "$ac_cv_prog_DLLTOOL"; then
6987   ac_ct_DLLTOOL=$DLLTOOL
6988   # Extract the first word of "dlltool", so it can be a program name with args.
6989 set dummy dlltool; ac_word=$2
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6991 $as_echo_n "checking for $ac_word... " >&6; }
6992 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6993   $as_echo_n "(cached) " >&6
6994 else
6995   if test -n "$ac_ct_DLLTOOL"; then
6996   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6997 else
6998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6999 for as_dir in $PATH
7000 do
7001   IFS=$as_save_IFS
7002   test -z "$as_dir" && as_dir=.
7003     for ac_exec_ext in '' $ac_executable_extensions; do
7004   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7005     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7006     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7007     break 2
7008   fi
7009 done
7010   done
7011 IFS=$as_save_IFS
7012
7013 fi
7014 fi
7015 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7016 if test -n "$ac_ct_DLLTOOL"; then
7017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7018 $as_echo "$ac_ct_DLLTOOL" >&6; }
7019 else
7020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7021 $as_echo "no" >&6; }
7022 fi
7023
7024   if test "x$ac_ct_DLLTOOL" = x; then
7025     DLLTOOL="false"
7026   else
7027     case $cross_compiling:$ac_tool_warned in
7028 yes:)
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7030 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7031 ac_tool_warned=yes ;;
7032 esac
7033     DLLTOOL=$ac_ct_DLLTOOL
7034   fi
7035 else
7036   DLLTOOL="$ac_cv_prog_DLLTOOL"
7037 fi
7038
7039 test -z "$DLLTOOL" && DLLTOOL=dlltool
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7051 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7052 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7053   $as_echo_n "(cached) " >&6
7054 else
7055   lt_cv_sharedlib_from_linklib_cmd='unknown'
7056
7057 case $host_os in
7058 cygwin* | mingw* | pw32* | cegcc*)
7059   # two different shell functions defined in ltmain.sh
7060   # decide which to use based on capabilities of $DLLTOOL
7061   case `$DLLTOOL --help 2>&1` in
7062   *--identify-strict*)
7063     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7064     ;;
7065   *)
7066     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7067     ;;
7068   esac
7069   ;;
7070 *)
7071   # fallback: assume linklib IS sharedlib
7072   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
7073   ;;
7074 esac
7075
7076 fi
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7078 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7079 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7080 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7081
7082
7083
7084
7085
7086
7087
7088 if test -n "$ac_tool_prefix"; then
7089   for ac_prog in ar
7090   do
7091     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7092 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7094 $as_echo_n "checking for $ac_word... " >&6; }
7095 if ${ac_cv_prog_AR+:} false; then :
7096   $as_echo_n "(cached) " >&6
7097 else
7098   if test -n "$AR"; then
7099   ac_cv_prog_AR="$AR" # Let the user override the test.
7100 else
7101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7102 for as_dir in $PATH
7103 do
7104   IFS=$as_save_IFS
7105   test -z "$as_dir" && as_dir=.
7106     for ac_exec_ext in '' $ac_executable_extensions; do
7107   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7108     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7109     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7110     break 2
7111   fi
7112 done
7113   done
7114 IFS=$as_save_IFS
7115
7116 fi
7117 fi
7118 AR=$ac_cv_prog_AR
7119 if test -n "$AR"; then
7120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7121 $as_echo "$AR" >&6; }
7122 else
7123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7124 $as_echo "no" >&6; }
7125 fi
7126
7127
7128     test -n "$AR" && break
7129   done
7130 fi
7131 if test -z "$AR"; then
7132   ac_ct_AR=$AR
7133   for ac_prog in ar
7134 do
7135   # Extract the first word of "$ac_prog", so it can be a program name with args.
7136 set dummy $ac_prog; ac_word=$2
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7138 $as_echo_n "checking for $ac_word... " >&6; }
7139 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7140   $as_echo_n "(cached) " >&6
7141 else
7142   if test -n "$ac_ct_AR"; then
7143   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7144 else
7145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7146 for as_dir in $PATH
7147 do
7148   IFS=$as_save_IFS
7149   test -z "$as_dir" && as_dir=.
7150     for ac_exec_ext in '' $ac_executable_extensions; do
7151   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7152     ac_cv_prog_ac_ct_AR="$ac_prog"
7153     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7154     break 2
7155   fi
7156 done
7157   done
7158 IFS=$as_save_IFS
7159
7160 fi
7161 fi
7162 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7163 if test -n "$ac_ct_AR"; then
7164   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7165 $as_echo "$ac_ct_AR" >&6; }
7166 else
7167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7168 $as_echo "no" >&6; }
7169 fi
7170
7171
7172   test -n "$ac_ct_AR" && break
7173 done
7174
7175   if test "x$ac_ct_AR" = x; then
7176     AR="false"
7177   else
7178     case $cross_compiling:$ac_tool_warned in
7179 yes:)
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7181 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7182 ac_tool_warned=yes ;;
7183 esac
7184     AR=$ac_ct_AR
7185   fi
7186 fi
7187
7188 : ${AR=ar}
7189 : ${AR_FLAGS=cru}
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7202 $as_echo_n "checking for archiver @FILE support... " >&6; }
7203 if ${lt_cv_ar_at_file+:} false; then :
7204   $as_echo_n "(cached) " >&6
7205 else
7206   lt_cv_ar_at_file=no
7207    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7208 /* end confdefs.h.  */
7209
7210 int
7211 main ()
7212 {
7213
7214   ;
7215   return 0;
7216 }
7217 _ACEOF
7218 if ac_fn_c_try_compile "$LINENO"; then :
7219   echo conftest.$ac_objext > conftest.lst
7220       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7221       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7222   (eval $lt_ar_try) 2>&5
7223   ac_status=$?
7224   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7225   test $ac_status = 0; }
7226       if test "$ac_status" -eq 0; then
7227         # Ensure the archiver fails upon bogus file names.
7228         rm -f conftest.$ac_objext libconftest.a
7229         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7230   (eval $lt_ar_try) 2>&5
7231   ac_status=$?
7232   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7233   test $ac_status = 0; }
7234         if test "$ac_status" -ne 0; then
7235           lt_cv_ar_at_file=@
7236         fi
7237       fi
7238       rm -f conftest.* libconftest.a
7239
7240 fi
7241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7242
7243 fi
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7245 $as_echo "$lt_cv_ar_at_file" >&6; }
7246
7247 if test "x$lt_cv_ar_at_file" = xno; then
7248   archiver_list_spec=
7249 else
7250   archiver_list_spec=$lt_cv_ar_at_file
7251 fi
7252
7253
7254
7255
7256
7257
7258
7259 if test -n "$ac_tool_prefix"; then
7260   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7261 set dummy ${ac_tool_prefix}strip; ac_word=$2
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7263 $as_echo_n "checking for $ac_word... " >&6; }
7264 if ${ac_cv_prog_STRIP+:} false; then :
7265   $as_echo_n "(cached) " >&6
7266 else
7267   if test -n "$STRIP"; then
7268   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7269 else
7270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7271 for as_dir in $PATH
7272 do
7273   IFS=$as_save_IFS
7274   test -z "$as_dir" && as_dir=.
7275     for ac_exec_ext in '' $ac_executable_extensions; do
7276   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7277     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7278     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7279     break 2
7280   fi
7281 done
7282   done
7283 IFS=$as_save_IFS
7284
7285 fi
7286 fi
7287 STRIP=$ac_cv_prog_STRIP
7288 if test -n "$STRIP"; then
7289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7290 $as_echo "$STRIP" >&6; }
7291 else
7292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7293 $as_echo "no" >&6; }
7294 fi
7295
7296
7297 fi
7298 if test -z "$ac_cv_prog_STRIP"; then
7299   ac_ct_STRIP=$STRIP
7300   # Extract the first word of "strip", so it can be a program name with args.
7301 set dummy strip; ac_word=$2
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7303 $as_echo_n "checking for $ac_word... " >&6; }
7304 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7305   $as_echo_n "(cached) " >&6
7306 else
7307   if test -n "$ac_ct_STRIP"; then
7308   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7309 else
7310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7311 for as_dir in $PATH
7312 do
7313   IFS=$as_save_IFS
7314   test -z "$as_dir" && as_dir=.
7315     for ac_exec_ext in '' $ac_executable_extensions; do
7316   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7317     ac_cv_prog_ac_ct_STRIP="strip"
7318     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7319     break 2
7320   fi
7321 done
7322   done
7323 IFS=$as_save_IFS
7324
7325 fi
7326 fi
7327 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7328 if test -n "$ac_ct_STRIP"; then
7329   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7330 $as_echo "$ac_ct_STRIP" >&6; }
7331 else
7332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7333 $as_echo "no" >&6; }
7334 fi
7335
7336   if test "x$ac_ct_STRIP" = x; then
7337     STRIP=":"
7338   else
7339     case $cross_compiling:$ac_tool_warned in
7340 yes:)
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7342 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7343 ac_tool_warned=yes ;;
7344 esac
7345     STRIP=$ac_ct_STRIP
7346   fi
7347 else
7348   STRIP="$ac_cv_prog_STRIP"
7349 fi
7350
7351 test -z "$STRIP" && STRIP=:
7352
7353
7354
7355
7356
7357
7358 if test -n "$ac_tool_prefix"; then
7359   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7360 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7362 $as_echo_n "checking for $ac_word... " >&6; }
7363 if ${ac_cv_prog_RANLIB+:} false; then :
7364   $as_echo_n "(cached) " >&6
7365 else
7366   if test -n "$RANLIB"; then
7367   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7368 else
7369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7370 for as_dir in $PATH
7371 do
7372   IFS=$as_save_IFS
7373   test -z "$as_dir" && as_dir=.
7374     for ac_exec_ext in '' $ac_executable_extensions; do
7375   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7376     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7377     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7378     break 2
7379   fi
7380 done
7381   done
7382 IFS=$as_save_IFS
7383
7384 fi
7385 fi
7386 RANLIB=$ac_cv_prog_RANLIB
7387 if test -n "$RANLIB"; then
7388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7389 $as_echo "$RANLIB" >&6; }
7390 else
7391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7392 $as_echo "no" >&6; }
7393 fi
7394
7395
7396 fi
7397 if test -z "$ac_cv_prog_RANLIB"; then
7398   ac_ct_RANLIB=$RANLIB
7399   # Extract the first word of "ranlib", so it can be a program name with args.
7400 set dummy ranlib; ac_word=$2
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7402 $as_echo_n "checking for $ac_word... " >&6; }
7403 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7404   $as_echo_n "(cached) " >&6
7405 else
7406   if test -n "$ac_ct_RANLIB"; then
7407   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7408 else
7409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7410 for as_dir in $PATH
7411 do
7412   IFS=$as_save_IFS
7413   test -z "$as_dir" && as_dir=.
7414     for ac_exec_ext in '' $ac_executable_extensions; do
7415   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7416     ac_cv_prog_ac_ct_RANLIB="ranlib"
7417     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7418     break 2
7419   fi
7420 done
7421   done
7422 IFS=$as_save_IFS
7423
7424 fi
7425 fi
7426 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7427 if test -n "$ac_ct_RANLIB"; then
7428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7429 $as_echo "$ac_ct_RANLIB" >&6; }
7430 else
7431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7432 $as_echo "no" >&6; }
7433 fi
7434
7435   if test "x$ac_ct_RANLIB" = x; then
7436     RANLIB=":"
7437   else
7438     case $cross_compiling:$ac_tool_warned in
7439 yes:)
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7441 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7442 ac_tool_warned=yes ;;
7443 esac
7444     RANLIB=$ac_ct_RANLIB
7445   fi
7446 else
7447   RANLIB="$ac_cv_prog_RANLIB"
7448 fi
7449
7450 test -z "$RANLIB" && RANLIB=:
7451
7452
7453
7454
7455
7456
7457 # Determine commands to create old-style static archives.
7458 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7459 old_postinstall_cmds='chmod 644 $oldlib'
7460 old_postuninstall_cmds=
7461
7462 if test -n "$RANLIB"; then
7463   case $host_os in
7464   openbsd*)
7465     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7466     ;;
7467   *)
7468     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7469     ;;
7470   esac
7471   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7472 fi
7473
7474 case $host_os in
7475   darwin*)
7476     lock_old_archive_extraction=yes ;;
7477   *)
7478     lock_old_archive_extraction=no ;;
7479 esac
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519 # If no C compiler was specified, use CC.
7520 LTCC=${LTCC-"$CC"}
7521
7522 # If no C compiler flags were specified, use CFLAGS.
7523 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7524
7525 # Allow CC to be a program name with arguments.
7526 compiler=$CC
7527
7528
7529 # Check for command to grab the raw symbol name followed by C symbol from nm.
7530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7531 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7532 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7533   $as_echo_n "(cached) " >&6
7534 else
7535
7536 # These are sane defaults that work on at least a few old systems.
7537 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7538
7539 # Character class describing NM global symbol codes.
7540 symcode='[BCDEGRST]'
7541
7542 # Regexp to match symbols that can be accessed directly from C.
7543 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7544
7545 # Define system-specific variables.
7546 case $host_os in
7547 aix*)
7548   symcode='[BCDT]'
7549   ;;
7550 cygwin* | mingw* | pw32* | cegcc*)
7551   symcode='[ABCDGISTW]'
7552   ;;
7553 hpux*)
7554   if test "$host_cpu" = ia64; then
7555     symcode='[ABCDEGRST]'
7556   fi
7557   ;;
7558 irix* | nonstopux*)
7559   symcode='[BCDEGRST]'
7560   ;;
7561 osf*)
7562   symcode='[BCDEGQRST]'
7563   ;;
7564 solaris*)
7565   symcode='[BDRT]'
7566   ;;
7567 sco3.2v5*)
7568   symcode='[DT]'
7569   ;;
7570 sysv4.2uw2*)
7571   symcode='[DT]'
7572   ;;
7573 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7574   symcode='[ABDT]'
7575   ;;
7576 sysv4)
7577   symcode='[DFNSTU]'
7578   ;;
7579 esac
7580
7581 # If we're using GNU nm, then use its standard symbol codes.
7582 case `$NM -V 2>&1` in
7583 *GNU* | *'with BFD'*)
7584   symcode='[ABCDGIRSTW]' ;;
7585 esac
7586
7587 # Transform an extracted symbol line into a proper C declaration.
7588 # Some systems (esp. on ia64) link data and code symbols differently,
7589 # so use this general approach.
7590 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7591
7592 # Transform an extracted symbol line into symbol name and symbol address
7593 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7594 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'"
7595
7596 # Handle CRLF in mingw tool chain
7597 opt_cr=
7598 case $build_os in
7599 mingw*)
7600   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7601   ;;
7602 esac
7603
7604 # Try without a prefix underscore, then with it.
7605 for ac_symprfx in "" "_"; do
7606
7607   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7608   symxfrm="\\1 $ac_symprfx\\2 \\2"
7609
7610   # Write the raw and C identifiers.
7611   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7612     # Fake it for dumpbin and say T for any non-static function
7613     # and D for any global variable.
7614     # Also find C++ and __fastcall symbols from MSVC++,
7615     # which start with @ or ?.
7616     lt_cv_sys_global_symbol_pipe="$AWK '"\
7617 "     {last_section=section; section=\$ 3};"\
7618 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7619 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7620 "     \$ 0!~/External *\|/{next};"\
7621 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7622 "     {if(hide[section]) next};"\
7623 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7624 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7625 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7626 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7627 "     ' prfx=^$ac_symprfx"
7628   else
7629     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7630   fi
7631   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7632
7633   # Check to see that the pipe works correctly.
7634   pipe_works=no
7635
7636   rm -f conftest*
7637   cat > conftest.$ac_ext <<_LT_EOF
7638 #ifdef __cplusplus
7639 extern "C" {
7640 #endif
7641 char nm_test_var;
7642 void nm_test_func(void);
7643 void nm_test_func(void){}
7644 #ifdef __cplusplus
7645 }
7646 #endif
7647 int main(){nm_test_var='a';nm_test_func();return(0);}
7648 _LT_EOF
7649
7650   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7651   (eval $ac_compile) 2>&5
7652   ac_status=$?
7653   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7654   test $ac_status = 0; }; then
7655     # Now try to grab the symbols.
7656     nlist=conftest.nm
7657     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7658   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7659   ac_status=$?
7660   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7661   test $ac_status = 0; } && test -s "$nlist"; then
7662       # Try sorting and uniquifying the output.
7663       if sort "$nlist" | uniq > "$nlist"T; then
7664         mv -f "$nlist"T "$nlist"
7665       else
7666         rm -f "$nlist"T
7667       fi
7668
7669       # Make sure that we snagged all the symbols we need.
7670       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7671         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7672           cat <<_LT_EOF > conftest.$ac_ext
7673 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7674 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7675 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7676    relocations are performed -- see ld's documentation on pseudo-relocs.  */
7677 # define LT_DLSYM_CONST
7678 #elif defined(__osf__)
7679 /* This system does not cope well with relocations in const data.  */
7680 # define LT_DLSYM_CONST
7681 #else
7682 # define LT_DLSYM_CONST const
7683 #endif
7684
7685 #ifdef __cplusplus
7686 extern "C" {
7687 #endif
7688
7689 _LT_EOF
7690           # Now generate the symbol file.
7691           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7692
7693           cat <<_LT_EOF >> conftest.$ac_ext
7694
7695 /* The mapping between symbol names and symbols.  */
7696 LT_DLSYM_CONST struct {
7697   const char *name;
7698   void       *address;
7699 }
7700 lt__PROGRAM__LTX_preloaded_symbols[] =
7701 {
7702   { "@PROGRAM@", (void *) 0 },
7703 _LT_EOF
7704           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7705           cat <<\_LT_EOF >> conftest.$ac_ext
7706   {0, (void *) 0}
7707 };
7708
7709 /* This works around a problem in FreeBSD linker */
7710 #ifdef FREEBSD_WORKAROUND
7711 static const void *lt_preloaded_setup() {
7712   return lt__PROGRAM__LTX_preloaded_symbols;
7713 }
7714 #endif
7715
7716 #ifdef __cplusplus
7717 }
7718 #endif
7719 _LT_EOF
7720           # Now try linking the two files.
7721           mv conftest.$ac_objext conftstm.$ac_objext
7722           lt_globsym_save_LIBS=$LIBS
7723           lt_globsym_save_CFLAGS=$CFLAGS
7724           LIBS="conftstm.$ac_objext"
7725           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7726           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7727   (eval $ac_link) 2>&5
7728   ac_status=$?
7729   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7730   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7731             pipe_works=yes
7732           fi
7733           LIBS=$lt_globsym_save_LIBS
7734           CFLAGS=$lt_globsym_save_CFLAGS
7735         else
7736           echo "cannot find nm_test_func in $nlist" >&5
7737         fi
7738       else
7739         echo "cannot find nm_test_var in $nlist" >&5
7740       fi
7741     else
7742       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7743     fi
7744   else
7745     echo "$progname: failed program was:" >&5
7746     cat conftest.$ac_ext >&5
7747   fi
7748   rm -rf conftest* conftst*
7749
7750   # Do not use the global_symbol_pipe unless it works.
7751   if test "$pipe_works" = yes; then
7752     break
7753   else
7754     lt_cv_sys_global_symbol_pipe=
7755   fi
7756 done
7757
7758 fi
7759
7760 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7761   lt_cv_sys_global_symbol_to_cdecl=
7762 fi
7763 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7765 $as_echo "failed" >&6; }
7766 else
7767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7768 $as_echo "ok" >&6; }
7769 fi
7770
7771 # Response file support.
7772 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7773   nm_file_list_spec='@'
7774 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7775   nm_file_list_spec='@'
7776 fi
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7805 $as_echo_n "checking for sysroot... " >&6; }
7806
7807 # Check whether --with-sysroot was given.
7808 if test "${with_sysroot+set}" = set; then :
7809   withval=$with_sysroot;
7810 else
7811   with_sysroot=no
7812 fi
7813
7814
7815 lt_sysroot=
7816 case ${with_sysroot} in #(
7817  yes)
7818    if test "$GCC" = yes; then
7819      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7820    fi
7821    ;; #(
7822  /*)
7823    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7824    ;; #(
7825  no|'')
7826    ;; #(
7827  *)
7828    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7829 $as_echo "${with_sysroot}" >&6; }
7830    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7831    ;;
7832 esac
7833
7834  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7835 $as_echo "${lt_sysroot:-no}" >&6; }
7836
7837
7838
7839
7840
7841 # Check whether --enable-libtool-lock was given.
7842 if test "${enable_libtool_lock+set}" = set; then :
7843   enableval=$enable_libtool_lock;
7844 fi
7845
7846 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7847
7848 # Some flags need to be propagated to the compiler or linker for good
7849 # libtool support.
7850 case $host in
7851 ia64-*-hpux*)
7852   # Find out which ABI we are using.
7853   echo 'int i;' > conftest.$ac_ext
7854   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7855   (eval $ac_compile) 2>&5
7856   ac_status=$?
7857   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7858   test $ac_status = 0; }; then
7859     case `/usr/bin/file conftest.$ac_objext` in
7860       *ELF-32*)
7861         HPUX_IA64_MODE="32"
7862         ;;
7863       *ELF-64*)
7864         HPUX_IA64_MODE="64"
7865         ;;
7866     esac
7867   fi
7868   rm -rf conftest*
7869   ;;
7870 *-*-irix6*)
7871   # Find out which ABI we are using.
7872   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7873   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7874   (eval $ac_compile) 2>&5
7875   ac_status=$?
7876   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7877   test $ac_status = 0; }; then
7878     if test "$lt_cv_prog_gnu_ld" = yes; then
7879       case `/usr/bin/file conftest.$ac_objext` in
7880         *32-bit*)
7881           LD="${LD-ld} -melf32bsmip"
7882           ;;
7883         *N32*)
7884           LD="${LD-ld} -melf32bmipn32"
7885           ;;
7886         *64-bit*)
7887           LD="${LD-ld} -melf64bmip"
7888         ;;
7889       esac
7890     else
7891       case `/usr/bin/file conftest.$ac_objext` in
7892         *32-bit*)
7893           LD="${LD-ld} -32"
7894           ;;
7895         *N32*)
7896           LD="${LD-ld} -n32"
7897           ;;
7898         *64-bit*)
7899           LD="${LD-ld} -64"
7900           ;;
7901       esac
7902     fi
7903   fi
7904   rm -rf conftest*
7905   ;;
7906
7907 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7908 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7909   # Find out which ABI we are using.
7910   echo 'int i;' > conftest.$ac_ext
7911   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7912   (eval $ac_compile) 2>&5
7913   ac_status=$?
7914   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7915   test $ac_status = 0; }; then
7916     case `/usr/bin/file conftest.o` in
7917       *32-bit*)
7918         case $host in
7919           x86_64-*kfreebsd*-gnu)
7920             LD="${LD-ld} -m elf_i386_fbsd"
7921             ;;
7922           x86_64-*linux*)
7923             case `/usr/bin/file conftest.o` in
7924               *x86-64*)
7925                 LD="${LD-ld} -m elf32_x86_64"
7926                 ;;
7927               *)
7928                 LD="${LD-ld} -m elf_i386"
7929                 ;;
7930             esac
7931             ;;
7932           powerpc64le-*)
7933             LD="${LD-ld} -m elf32lppclinux"
7934             ;;
7935           powerpc64-*)
7936             LD="${LD-ld} -m elf32ppclinux"
7937             ;;
7938           s390x-*linux*)
7939             LD="${LD-ld} -m elf_s390"
7940             ;;
7941           sparc64-*linux*)
7942             LD="${LD-ld} -m elf32_sparc"
7943             ;;
7944         esac
7945         ;;
7946       *64-bit*)
7947         case $host in
7948           x86_64-*kfreebsd*-gnu)
7949             LD="${LD-ld} -m elf_x86_64_fbsd"
7950             ;;
7951           x86_64-*linux*)
7952             LD="${LD-ld} -m elf_x86_64"
7953             ;;
7954           powerpcle-*)
7955             LD="${LD-ld} -m elf64lppc"
7956             ;;
7957           powerpc-*)
7958             LD="${LD-ld} -m elf64ppc"
7959             ;;
7960           s390*-*linux*|s390*-*tpf*)
7961             LD="${LD-ld} -m elf64_s390"
7962             ;;
7963           sparc*-*linux*)
7964             LD="${LD-ld} -m elf64_sparc"
7965             ;;
7966         esac
7967         ;;
7968     esac
7969   fi
7970   rm -rf conftest*
7971   ;;
7972
7973 *-*-sco3.2v5*)
7974   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7975   SAVE_CFLAGS="$CFLAGS"
7976   CFLAGS="$CFLAGS -belf"
7977   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7978 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7979 if ${lt_cv_cc_needs_belf+:} false; then :
7980   $as_echo_n "(cached) " >&6
7981 else
7982   ac_ext=c
7983 ac_cpp='$CPP $CPPFLAGS'
7984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7987
7988      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7989 /* end confdefs.h.  */
7990
7991 int
7992 main ()
7993 {
7994
7995   ;
7996   return 0;
7997 }
7998 _ACEOF
7999 if ac_fn_c_try_link "$LINENO"; then :
8000   lt_cv_cc_needs_belf=yes
8001 else
8002   lt_cv_cc_needs_belf=no
8003 fi
8004 rm -f core conftest.err conftest.$ac_objext \
8005     conftest$ac_exeext conftest.$ac_ext
8006      ac_ext=c
8007 ac_cpp='$CPP $CPPFLAGS'
8008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8011
8012 fi
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8014 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8015   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8016     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8017     CFLAGS="$SAVE_CFLAGS"
8018   fi
8019   ;;
8020 *-*solaris*)
8021   # Find out which ABI we are using.
8022   echo 'int i;' > conftest.$ac_ext
8023   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8024   (eval $ac_compile) 2>&5
8025   ac_status=$?
8026   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8027   test $ac_status = 0; }; then
8028     case `/usr/bin/file conftest.o` in
8029     *64-bit*)
8030       case $lt_cv_prog_gnu_ld in
8031       yes*)
8032         case $host in
8033         i?86-*-solaris*)
8034           LD="${LD-ld} -m elf_x86_64"
8035           ;;
8036         sparc*-*-solaris*)
8037           LD="${LD-ld} -m elf64_sparc"
8038           ;;
8039         esac
8040         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
8041         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8042           LD="${LD-ld}_sol2"
8043         fi
8044         ;;
8045       *)
8046         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8047           LD="${LD-ld} -64"
8048         fi
8049         ;;
8050       esac
8051       ;;
8052     esac
8053   fi
8054   rm -rf conftest*
8055   ;;
8056 esac
8057
8058 need_locks="$enable_libtool_lock"
8059
8060 if test -n "$ac_tool_prefix"; then
8061   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8062 set dummy ${ac_tool_prefix}mt; ac_word=$2
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8064 $as_echo_n "checking for $ac_word... " >&6; }
8065 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8066   $as_echo_n "(cached) " >&6
8067 else
8068   if test -n "$MANIFEST_TOOL"; then
8069   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8070 else
8071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8072 for as_dir in $PATH
8073 do
8074   IFS=$as_save_IFS
8075   test -z "$as_dir" && as_dir=.
8076     for ac_exec_ext in '' $ac_executable_extensions; do
8077   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8078     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8079     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8080     break 2
8081   fi
8082 done
8083   done
8084 IFS=$as_save_IFS
8085
8086 fi
8087 fi
8088 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8089 if test -n "$MANIFEST_TOOL"; then
8090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8091 $as_echo "$MANIFEST_TOOL" >&6; }
8092 else
8093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8094 $as_echo "no" >&6; }
8095 fi
8096
8097
8098 fi
8099 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8100   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8101   # Extract the first word of "mt", so it can be a program name with args.
8102 set dummy mt; ac_word=$2
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8104 $as_echo_n "checking for $ac_word... " >&6; }
8105 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8106   $as_echo_n "(cached) " >&6
8107 else
8108   if test -n "$ac_ct_MANIFEST_TOOL"; then
8109   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8110 else
8111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8112 for as_dir in $PATH
8113 do
8114   IFS=$as_save_IFS
8115   test -z "$as_dir" && as_dir=.
8116     for ac_exec_ext in '' $ac_executable_extensions; do
8117   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8118     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8119     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8120     break 2
8121   fi
8122 done
8123   done
8124 IFS=$as_save_IFS
8125
8126 fi
8127 fi
8128 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8129 if test -n "$ac_ct_MANIFEST_TOOL"; then
8130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8131 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8132 else
8133   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8134 $as_echo "no" >&6; }
8135 fi
8136
8137   if test "x$ac_ct_MANIFEST_TOOL" = x; then
8138     MANIFEST_TOOL=":"
8139   else
8140     case $cross_compiling:$ac_tool_warned in
8141 yes:)
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8143 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8144 ac_tool_warned=yes ;;
8145 esac
8146     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8147   fi
8148 else
8149   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8150 fi
8151
8152 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8154 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8155 if ${lt_cv_path_mainfest_tool+:} false; then :
8156   $as_echo_n "(cached) " >&6
8157 else
8158   lt_cv_path_mainfest_tool=no
8159   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8160   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8161   cat conftest.err >&5
8162   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8163     lt_cv_path_mainfest_tool=yes
8164   fi
8165   rm -f conftest*
8166 fi
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8168 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8169 if test "x$lt_cv_path_mainfest_tool" != xyes; then
8170   MANIFEST_TOOL=:
8171 fi
8172
8173
8174
8175
8176
8177
8178   case $host_os in
8179     rhapsody* | darwin*)
8180     if test -n "$ac_tool_prefix"; then
8181   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8182 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8184 $as_echo_n "checking for $ac_word... " >&6; }
8185 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8186   $as_echo_n "(cached) " >&6
8187 else
8188   if test -n "$DSYMUTIL"; then
8189   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8190 else
8191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8192 for as_dir in $PATH
8193 do
8194   IFS=$as_save_IFS
8195   test -z "$as_dir" && as_dir=.
8196     for ac_exec_ext in '' $ac_executable_extensions; do
8197   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8198     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8199     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8200     break 2
8201   fi
8202 done
8203   done
8204 IFS=$as_save_IFS
8205
8206 fi
8207 fi
8208 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8209 if test -n "$DSYMUTIL"; then
8210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8211 $as_echo "$DSYMUTIL" >&6; }
8212 else
8213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8214 $as_echo "no" >&6; }
8215 fi
8216
8217
8218 fi
8219 if test -z "$ac_cv_prog_DSYMUTIL"; then
8220   ac_ct_DSYMUTIL=$DSYMUTIL
8221   # Extract the first word of "dsymutil", so it can be a program name with args.
8222 set dummy dsymutil; ac_word=$2
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8224 $as_echo_n "checking for $ac_word... " >&6; }
8225 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8226   $as_echo_n "(cached) " >&6
8227 else
8228   if test -n "$ac_ct_DSYMUTIL"; then
8229   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8230 else
8231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8232 for as_dir in $PATH
8233 do
8234   IFS=$as_save_IFS
8235   test -z "$as_dir" && as_dir=.
8236     for ac_exec_ext in '' $ac_executable_extensions; do
8237   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8238     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8239     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8240     break 2
8241   fi
8242 done
8243   done
8244 IFS=$as_save_IFS
8245
8246 fi
8247 fi
8248 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8249 if test -n "$ac_ct_DSYMUTIL"; then
8250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8251 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8252 else
8253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8254 $as_echo "no" >&6; }
8255 fi
8256
8257   if test "x$ac_ct_DSYMUTIL" = x; then
8258     DSYMUTIL=":"
8259   else
8260     case $cross_compiling:$ac_tool_warned in
8261 yes:)
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8263 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8264 ac_tool_warned=yes ;;
8265 esac
8266     DSYMUTIL=$ac_ct_DSYMUTIL
8267   fi
8268 else
8269   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8270 fi
8271
8272     if test -n "$ac_tool_prefix"; then
8273   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8274 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8276 $as_echo_n "checking for $ac_word... " >&6; }
8277 if ${ac_cv_prog_NMEDIT+:} false; then :
8278   $as_echo_n "(cached) " >&6
8279 else
8280   if test -n "$NMEDIT"; then
8281   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8282 else
8283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8284 for as_dir in $PATH
8285 do
8286   IFS=$as_save_IFS
8287   test -z "$as_dir" && as_dir=.
8288     for ac_exec_ext in '' $ac_executable_extensions; do
8289   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8290     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8291     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8292     break 2
8293   fi
8294 done
8295   done
8296 IFS=$as_save_IFS
8297
8298 fi
8299 fi
8300 NMEDIT=$ac_cv_prog_NMEDIT
8301 if test -n "$NMEDIT"; then
8302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8303 $as_echo "$NMEDIT" >&6; }
8304 else
8305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8306 $as_echo "no" >&6; }
8307 fi
8308
8309
8310 fi
8311 if test -z "$ac_cv_prog_NMEDIT"; then
8312   ac_ct_NMEDIT=$NMEDIT
8313   # Extract the first word of "nmedit", so it can be a program name with args.
8314 set dummy nmedit; ac_word=$2
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8316 $as_echo_n "checking for $ac_word... " >&6; }
8317 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8318   $as_echo_n "(cached) " >&6
8319 else
8320   if test -n "$ac_ct_NMEDIT"; then
8321   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8322 else
8323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8324 for as_dir in $PATH
8325 do
8326   IFS=$as_save_IFS
8327   test -z "$as_dir" && as_dir=.
8328     for ac_exec_ext in '' $ac_executable_extensions; do
8329   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8330     ac_cv_prog_ac_ct_NMEDIT="nmedit"
8331     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8332     break 2
8333   fi
8334 done
8335   done
8336 IFS=$as_save_IFS
8337
8338 fi
8339 fi
8340 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8341 if test -n "$ac_ct_NMEDIT"; then
8342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8343 $as_echo "$ac_ct_NMEDIT" >&6; }
8344 else
8345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8346 $as_echo "no" >&6; }
8347 fi
8348
8349   if test "x$ac_ct_NMEDIT" = x; then
8350     NMEDIT=":"
8351   else
8352     case $cross_compiling:$ac_tool_warned in
8353 yes:)
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8355 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8356 ac_tool_warned=yes ;;
8357 esac
8358     NMEDIT=$ac_ct_NMEDIT
8359   fi
8360 else
8361   NMEDIT="$ac_cv_prog_NMEDIT"
8362 fi
8363
8364     if test -n "$ac_tool_prefix"; then
8365   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8366 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8368 $as_echo_n "checking for $ac_word... " >&6; }
8369 if ${ac_cv_prog_LIPO+:} false; then :
8370   $as_echo_n "(cached) " >&6
8371 else
8372   if test -n "$LIPO"; then
8373   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8374 else
8375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8376 for as_dir in $PATH
8377 do
8378   IFS=$as_save_IFS
8379   test -z "$as_dir" && as_dir=.
8380     for ac_exec_ext in '' $ac_executable_extensions; do
8381   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8382     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8383     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8384     break 2
8385   fi
8386 done
8387   done
8388 IFS=$as_save_IFS
8389
8390 fi
8391 fi
8392 LIPO=$ac_cv_prog_LIPO
8393 if test -n "$LIPO"; then
8394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8395 $as_echo "$LIPO" >&6; }
8396 else
8397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8398 $as_echo "no" >&6; }
8399 fi
8400
8401
8402 fi
8403 if test -z "$ac_cv_prog_LIPO"; then
8404   ac_ct_LIPO=$LIPO
8405   # Extract the first word of "lipo", so it can be a program name with args.
8406 set dummy lipo; ac_word=$2
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8408 $as_echo_n "checking for $ac_word... " >&6; }
8409 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8410   $as_echo_n "(cached) " >&6
8411 else
8412   if test -n "$ac_ct_LIPO"; then
8413   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8414 else
8415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8416 for as_dir in $PATH
8417 do
8418   IFS=$as_save_IFS
8419   test -z "$as_dir" && as_dir=.
8420     for ac_exec_ext in '' $ac_executable_extensions; do
8421   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8422     ac_cv_prog_ac_ct_LIPO="lipo"
8423     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8424     break 2
8425   fi
8426 done
8427   done
8428 IFS=$as_save_IFS
8429
8430 fi
8431 fi
8432 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8433 if test -n "$ac_ct_LIPO"; then
8434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8435 $as_echo "$ac_ct_LIPO" >&6; }
8436 else
8437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8438 $as_echo "no" >&6; }
8439 fi
8440
8441   if test "x$ac_ct_LIPO" = x; then
8442     LIPO=":"
8443   else
8444     case $cross_compiling:$ac_tool_warned in
8445 yes:)
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8447 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8448 ac_tool_warned=yes ;;
8449 esac
8450     LIPO=$ac_ct_LIPO
8451   fi
8452 else
8453   LIPO="$ac_cv_prog_LIPO"
8454 fi
8455
8456     if test -n "$ac_tool_prefix"; then
8457   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8458 set dummy ${ac_tool_prefix}otool; ac_word=$2
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8460 $as_echo_n "checking for $ac_word... " >&6; }
8461 if ${ac_cv_prog_OTOOL+:} false; then :
8462   $as_echo_n "(cached) " >&6
8463 else
8464   if test -n "$OTOOL"; then
8465   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8466 else
8467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8468 for as_dir in $PATH
8469 do
8470   IFS=$as_save_IFS
8471   test -z "$as_dir" && as_dir=.
8472     for ac_exec_ext in '' $ac_executable_extensions; do
8473   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8474     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8475     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8476     break 2
8477   fi
8478 done
8479   done
8480 IFS=$as_save_IFS
8481
8482 fi
8483 fi
8484 OTOOL=$ac_cv_prog_OTOOL
8485 if test -n "$OTOOL"; then
8486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8487 $as_echo "$OTOOL" >&6; }
8488 else
8489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8490 $as_echo "no" >&6; }
8491 fi
8492
8493
8494 fi
8495 if test -z "$ac_cv_prog_OTOOL"; then
8496   ac_ct_OTOOL=$OTOOL
8497   # Extract the first word of "otool", so it can be a program name with args.
8498 set dummy otool; ac_word=$2
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8500 $as_echo_n "checking for $ac_word... " >&6; }
8501 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8502   $as_echo_n "(cached) " >&6
8503 else
8504   if test -n "$ac_ct_OTOOL"; then
8505   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8506 else
8507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8508 for as_dir in $PATH
8509 do
8510   IFS=$as_save_IFS
8511   test -z "$as_dir" && as_dir=.
8512     for ac_exec_ext in '' $ac_executable_extensions; do
8513   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8514     ac_cv_prog_ac_ct_OTOOL="otool"
8515     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8516     break 2
8517   fi
8518 done
8519   done
8520 IFS=$as_save_IFS
8521
8522 fi
8523 fi
8524 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8525 if test -n "$ac_ct_OTOOL"; then
8526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8527 $as_echo "$ac_ct_OTOOL" >&6; }
8528 else
8529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8530 $as_echo "no" >&6; }
8531 fi
8532
8533   if test "x$ac_ct_OTOOL" = x; then
8534     OTOOL=":"
8535   else
8536     case $cross_compiling:$ac_tool_warned in
8537 yes:)
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8539 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8540 ac_tool_warned=yes ;;
8541 esac
8542     OTOOL=$ac_ct_OTOOL
8543   fi
8544 else
8545   OTOOL="$ac_cv_prog_OTOOL"
8546 fi
8547
8548     if test -n "$ac_tool_prefix"; then
8549   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8550 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8552 $as_echo_n "checking for $ac_word... " >&6; }
8553 if ${ac_cv_prog_OTOOL64+:} false; then :
8554   $as_echo_n "(cached) " >&6
8555 else
8556   if test -n "$OTOOL64"; then
8557   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8558 else
8559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8560 for as_dir in $PATH
8561 do
8562   IFS=$as_save_IFS
8563   test -z "$as_dir" && as_dir=.
8564     for ac_exec_ext in '' $ac_executable_extensions; do
8565   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8566     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8567     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8568     break 2
8569   fi
8570 done
8571   done
8572 IFS=$as_save_IFS
8573
8574 fi
8575 fi
8576 OTOOL64=$ac_cv_prog_OTOOL64
8577 if test -n "$OTOOL64"; then
8578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8579 $as_echo "$OTOOL64" >&6; }
8580 else
8581   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8582 $as_echo "no" >&6; }
8583 fi
8584
8585
8586 fi
8587 if test -z "$ac_cv_prog_OTOOL64"; then
8588   ac_ct_OTOOL64=$OTOOL64
8589   # Extract the first word of "otool64", so it can be a program name with args.
8590 set dummy otool64; ac_word=$2
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8592 $as_echo_n "checking for $ac_word... " >&6; }
8593 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8594   $as_echo_n "(cached) " >&6
8595 else
8596   if test -n "$ac_ct_OTOOL64"; then
8597   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8598 else
8599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8600 for as_dir in $PATH
8601 do
8602   IFS=$as_save_IFS
8603   test -z "$as_dir" && as_dir=.
8604     for ac_exec_ext in '' $ac_executable_extensions; do
8605   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8606     ac_cv_prog_ac_ct_OTOOL64="otool64"
8607     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8608     break 2
8609   fi
8610 done
8611   done
8612 IFS=$as_save_IFS
8613
8614 fi
8615 fi
8616 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8617 if test -n "$ac_ct_OTOOL64"; then
8618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8619 $as_echo "$ac_ct_OTOOL64" >&6; }
8620 else
8621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8622 $as_echo "no" >&6; }
8623 fi
8624
8625   if test "x$ac_ct_OTOOL64" = x; then
8626     OTOOL64=":"
8627   else
8628     case $cross_compiling:$ac_tool_warned in
8629 yes:)
8630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8631 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8632 ac_tool_warned=yes ;;
8633 esac
8634     OTOOL64=$ac_ct_OTOOL64
8635   fi
8636 else
8637   OTOOL64="$ac_cv_prog_OTOOL64"
8638 fi
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8667 $as_echo_n "checking for -single_module linker flag... " >&6; }
8668 if ${lt_cv_apple_cc_single_mod+:} false; then :
8669   $as_echo_n "(cached) " >&6
8670 else
8671   lt_cv_apple_cc_single_mod=no
8672       if test -z "${LT_MULTI_MODULE}"; then
8673         # By default we will add the -single_module flag. You can override
8674         # by either setting the environment variable LT_MULTI_MODULE
8675         # non-empty at configure time, or by adding -multi_module to the
8676         # link flags.
8677         rm -rf libconftest.dylib*
8678         echo "int foo(void){return 1;}" > conftest.c
8679         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8680 -dynamiclib -Wl,-single_module conftest.c" >&5
8681         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8682           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8683         _lt_result=$?
8684         # If there is a non-empty error log, and "single_module"
8685         # appears in it, assume the flag caused a linker warning
8686         if test -s conftest.err && $GREP single_module conftest.err; then
8687           cat conftest.err >&5
8688         # Otherwise, if the output was created with a 0 exit code from
8689         # the compiler, it worked.
8690         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8691           lt_cv_apple_cc_single_mod=yes
8692         else
8693           cat conftest.err >&5
8694         fi
8695         rm -rf libconftest.dylib*
8696         rm -f conftest.*
8697       fi
8698 fi
8699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8700 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8701
8702     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8703 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8704 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8705   $as_echo_n "(cached) " >&6
8706 else
8707   lt_cv_ld_exported_symbols_list=no
8708       save_LDFLAGS=$LDFLAGS
8709       echo "_main" > conftest.sym
8710       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8711       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8712 /* end confdefs.h.  */
8713
8714 int
8715 main ()
8716 {
8717
8718   ;
8719   return 0;
8720 }
8721 _ACEOF
8722 if ac_fn_c_try_link "$LINENO"; then :
8723   lt_cv_ld_exported_symbols_list=yes
8724 else
8725   lt_cv_ld_exported_symbols_list=no
8726 fi
8727 rm -f core conftest.err conftest.$ac_objext \
8728     conftest$ac_exeext conftest.$ac_ext
8729         LDFLAGS="$save_LDFLAGS"
8730
8731 fi
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8733 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8734
8735     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8736 $as_echo_n "checking for -force_load linker flag... " >&6; }
8737 if ${lt_cv_ld_force_load+:} false; then :
8738   $as_echo_n "(cached) " >&6
8739 else
8740   lt_cv_ld_force_load=no
8741       cat > conftest.c << _LT_EOF
8742 int forced_loaded() { return 2;}
8743 _LT_EOF
8744       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8745       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8746       echo "$AR cru libconftest.a conftest.o" >&5
8747       $AR cru libconftest.a conftest.o 2>&5
8748       echo "$RANLIB libconftest.a" >&5
8749       $RANLIB libconftest.a 2>&5
8750       cat > conftest.c << _LT_EOF
8751 int main() { return 0;}
8752 _LT_EOF
8753       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8754       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8755       _lt_result=$?
8756       if test -s conftest.err && $GREP force_load conftest.err; then
8757         cat conftest.err >&5
8758       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8759         lt_cv_ld_force_load=yes
8760       else
8761         cat conftest.err >&5
8762       fi
8763         rm -f conftest.err libconftest.a conftest conftest.c
8764         rm -rf conftest.dSYM
8765
8766 fi
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8768 $as_echo "$lt_cv_ld_force_load" >&6; }
8769     case $host_os in
8770     rhapsody* | darwin1.[012])
8771       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8772     darwin1.*)
8773       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8774     darwin*) # darwin 5.x on
8775       # if running on 10.5 or later, the deployment target defaults
8776       # to the OS version, if on x86, and 10.4, the deployment
8777       # target defaults to 10.4. Don't you love it?
8778       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8779         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8780           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8781         10.[012]*)
8782           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8783         10.*)
8784           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8785       esac
8786     ;;
8787   esac
8788     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8789       _lt_dar_single_mod='$single_module'
8790     fi
8791     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8792       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8793     else
8794       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8795     fi
8796     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8797       _lt_dsymutil='~$DSYMUTIL $lib || :'
8798     else
8799       _lt_dsymutil=
8800     fi
8801     ;;
8802   esac
8803
8804 for ac_header in dlfcn.h
8805 do :
8806   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8807 "
8808 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8809   cat >>confdefs.h <<_ACEOF
8810 #define HAVE_DLFCN_H 1
8811 _ACEOF
8812
8813 fi
8814
8815 done
8816
8817
8818
8819
8820
8821 # Set options
8822
8823
8824
8825         enable_dlopen=no
8826
8827
8828   enable_win32_dll=no
8829
8830
8831             # Check whether --enable-shared was given.
8832 if test "${enable_shared+set}" = set; then :
8833   enableval=$enable_shared; p=${PACKAGE-default}
8834     case $enableval in
8835     yes) enable_shared=yes ;;
8836     no) enable_shared=no ;;
8837     *)
8838       enable_shared=no
8839       # Look at the argument we got.  We use all the common list separators.
8840       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8841       for pkg in $enableval; do
8842         IFS="$lt_save_ifs"
8843         if test "X$pkg" = "X$p"; then
8844           enable_shared=yes
8845         fi
8846       done
8847       IFS="$lt_save_ifs"
8848       ;;
8849     esac
8850 else
8851   enable_shared=yes
8852 fi
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864 # Check whether --with-pic was given.
8865 if test "${with_pic+set}" = set; then :
8866   withval=$with_pic; lt_p=${PACKAGE-default}
8867     case $withval in
8868     yes|no) pic_mode=$withval ;;
8869     *)
8870       pic_mode=default
8871       # Look at the argument we got.  We use all the common list separators.
8872       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8873       for lt_pkg in $withval; do
8874         IFS="$lt_save_ifs"
8875         if test "X$lt_pkg" = "X$lt_p"; then
8876           pic_mode=yes
8877         fi
8878       done
8879       IFS="$lt_save_ifs"
8880       ;;
8881     esac
8882 else
8883   pic_mode=default
8884 fi
8885
8886
8887 test -z "$pic_mode" && pic_mode=default
8888
8889
8890
8891
8892
8893
8894
8895   # Check whether --enable-fast-install was given.
8896 if test "${enable_fast_install+set}" = set; then :
8897   enableval=$enable_fast_install; p=${PACKAGE-default}
8898     case $enableval in
8899     yes) enable_fast_install=yes ;;
8900     no) enable_fast_install=no ;;
8901     *)
8902       enable_fast_install=no
8903       # Look at the argument we got.  We use all the common list separators.
8904       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8905       for pkg in $enableval; do
8906         IFS="$lt_save_ifs"
8907         if test "X$pkg" = "X$p"; then
8908           enable_fast_install=yes
8909         fi
8910       done
8911       IFS="$lt_save_ifs"
8912       ;;
8913     esac
8914 else
8915   enable_fast_install=yes
8916 fi
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928 # This can be used to rebuild libtool when needed
8929 LIBTOOL_DEPS="$ltmain"
8930
8931 # Always use our own libtool.
8932 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963 test -z "$LN_S" && LN_S="ln -s"
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978 if test -n "${ZSH_VERSION+set}" ; then
8979    setopt NO_GLOB_SUBST
8980 fi
8981
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8983 $as_echo_n "checking for objdir... " >&6; }
8984 if ${lt_cv_objdir+:} false; then :
8985   $as_echo_n "(cached) " >&6
8986 else
8987   rm -f .libs 2>/dev/null
8988 mkdir .libs 2>/dev/null
8989 if test -d .libs; then
8990   lt_cv_objdir=.libs
8991 else
8992   # MS-DOS does not allow filenames that begin with a dot.
8993   lt_cv_objdir=_libs
8994 fi
8995 rmdir .libs 2>/dev/null
8996 fi
8997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8998 $as_echo "$lt_cv_objdir" >&6; }
8999 objdir=$lt_cv_objdir
9000
9001
9002
9003
9004
9005 cat >>confdefs.h <<_ACEOF
9006 #define LT_OBJDIR "$lt_cv_objdir/"
9007 _ACEOF
9008
9009
9010
9011
9012 case $host_os in
9013 aix3*)
9014   # AIX sometimes has problems with the GCC collect2 program.  For some
9015   # reason, if we set the COLLECT_NAMES environment variable, the problems
9016   # vanish in a puff of smoke.
9017   if test "X${COLLECT_NAMES+set}" != Xset; then
9018     COLLECT_NAMES=
9019     export COLLECT_NAMES
9020   fi
9021   ;;
9022 esac
9023
9024 # Global variables:
9025 ofile=libtool
9026 can_build_shared=yes
9027
9028 # All known linkers require a `.a' archive for static linking (except MSVC,
9029 # which needs '.lib').
9030 libext=a
9031
9032 with_gnu_ld="$lt_cv_prog_gnu_ld"
9033
9034 old_CC="$CC"
9035 old_CFLAGS="$CFLAGS"
9036
9037 # Set sane defaults for various variables
9038 test -z "$CC" && CC=cc
9039 test -z "$LTCC" && LTCC=$CC
9040 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9041 test -z "$LD" && LD=ld
9042 test -z "$ac_objext" && ac_objext=o
9043
9044 for cc_temp in $compiler""; do
9045   case $cc_temp in
9046     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9047     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9048     \-*) ;;
9049     *) break;;
9050   esac
9051 done
9052 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9053
9054
9055 # Only perform the check for file, if the check method requires it
9056 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9057 case $deplibs_check_method in
9058 file_magic*)
9059   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9060     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9061 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9062 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9063   $as_echo_n "(cached) " >&6
9064 else
9065   case $MAGIC_CMD in
9066 [\\/*] |  ?:[\\/]*)
9067   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9068   ;;
9069 *)
9070   lt_save_MAGIC_CMD="$MAGIC_CMD"
9071   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9072   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9073   for ac_dir in $ac_dummy; do
9074     IFS="$lt_save_ifs"
9075     test -z "$ac_dir" && ac_dir=.
9076     if test -f $ac_dir/${ac_tool_prefix}file; then
9077       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9078       if test -n "$file_magic_test_file"; then
9079         case $deplibs_check_method in
9080         "file_magic "*)
9081           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9082           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9083           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9084             $EGREP "$file_magic_regex" > /dev/null; then
9085             :
9086           else
9087             cat <<_LT_EOF 1>&2
9088
9089 *** Warning: the command libtool uses to detect shared libraries,
9090 *** $file_magic_cmd, produces output that libtool cannot recognize.
9091 *** The result is that libtool may fail to recognize shared libraries
9092 *** as such.  This will affect the creation of libtool libraries that
9093 *** depend on shared libraries, but programs linked with such libtool
9094 *** libraries will work regardless of this problem.  Nevertheless, you
9095 *** may want to report the problem to your system manager and/or to
9096 *** bug-libtool@gnu.org
9097
9098 _LT_EOF
9099           fi ;;
9100         esac
9101       fi
9102       break
9103     fi
9104   done
9105   IFS="$lt_save_ifs"
9106   MAGIC_CMD="$lt_save_MAGIC_CMD"
9107   ;;
9108 esac
9109 fi
9110
9111 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9112 if test -n "$MAGIC_CMD"; then
9113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9114 $as_echo "$MAGIC_CMD" >&6; }
9115 else
9116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9117 $as_echo "no" >&6; }
9118 fi
9119
9120
9121
9122
9123
9124 if test -z "$lt_cv_path_MAGIC_CMD"; then
9125   if test -n "$ac_tool_prefix"; then
9126     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9127 $as_echo_n "checking for file... " >&6; }
9128 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9129   $as_echo_n "(cached) " >&6
9130 else
9131   case $MAGIC_CMD in
9132 [\\/*] |  ?:[\\/]*)
9133   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9134   ;;
9135 *)
9136   lt_save_MAGIC_CMD="$MAGIC_CMD"
9137   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9138   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9139   for ac_dir in $ac_dummy; do
9140     IFS="$lt_save_ifs"
9141     test -z "$ac_dir" && ac_dir=.
9142     if test -f $ac_dir/file; then
9143       lt_cv_path_MAGIC_CMD="$ac_dir/file"
9144       if test -n "$file_magic_test_file"; then
9145         case $deplibs_check_method in
9146         "file_magic "*)
9147           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9148           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9149           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9150             $EGREP "$file_magic_regex" > /dev/null; then
9151             :
9152           else
9153             cat <<_LT_EOF 1>&2
9154
9155 *** Warning: the command libtool uses to detect shared libraries,
9156 *** $file_magic_cmd, produces output that libtool cannot recognize.
9157 *** The result is that libtool may fail to recognize shared libraries
9158 *** as such.  This will affect the creation of libtool libraries that
9159 *** depend on shared libraries, but programs linked with such libtool
9160 *** libraries will work regardless of this problem.  Nevertheless, you
9161 *** may want to report the problem to your system manager and/or to
9162 *** bug-libtool@gnu.org
9163
9164 _LT_EOF
9165           fi ;;
9166         esac
9167       fi
9168       break
9169     fi
9170   done
9171   IFS="$lt_save_ifs"
9172   MAGIC_CMD="$lt_save_MAGIC_CMD"
9173   ;;
9174 esac
9175 fi
9176
9177 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9178 if test -n "$MAGIC_CMD"; then
9179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9180 $as_echo "$MAGIC_CMD" >&6; }
9181 else
9182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9183 $as_echo "no" >&6; }
9184 fi
9185
9186
9187   else
9188     MAGIC_CMD=:
9189   fi
9190 fi
9191
9192   fi
9193   ;;
9194 esac
9195
9196 # Use C for the default configuration in the libtool script
9197
9198 lt_save_CC="$CC"
9199 ac_ext=c
9200 ac_cpp='$CPP $CPPFLAGS'
9201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9204
9205
9206 # Source file extension for C test sources.
9207 ac_ext=c
9208
9209 # Object file extension for compiled C test sources.
9210 objext=o
9211 objext=$objext
9212
9213 # Code to be used in simple compile tests
9214 lt_simple_compile_test_code="int some_variable = 0;"
9215
9216 # Code to be used in simple link tests
9217 lt_simple_link_test_code='int main(){return(0);}'
9218
9219
9220
9221
9222
9223
9224
9225 # If no C compiler was specified, use CC.
9226 LTCC=${LTCC-"$CC"}
9227
9228 # If no C compiler flags were specified, use CFLAGS.
9229 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9230
9231 # Allow CC to be a program name with arguments.
9232 compiler=$CC
9233
9234 # Save the default compiler, since it gets overwritten when the other
9235 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9236 compiler_DEFAULT=$CC
9237
9238 # save warnings/boilerplate of simple test code
9239 ac_outfile=conftest.$ac_objext
9240 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9241 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9242 _lt_compiler_boilerplate=`cat conftest.err`
9243 $RM conftest*
9244
9245 ac_outfile=conftest.$ac_objext
9246 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9247 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9248 _lt_linker_boilerplate=`cat conftest.err`
9249 $RM -r conftest*
9250
9251
9252 ## CAVEAT EMPTOR:
9253 ## There is no encapsulation within the following macros, do not change
9254 ## the running order or otherwise move them around unless you know exactly
9255 ## what you are doing...
9256 if test -n "$compiler"; then
9257
9258 lt_prog_compiler_no_builtin_flag=
9259
9260 if test "$GCC" = yes; then
9261   case $cc_basename in
9262   nvcc*)
9263     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9264   *)
9265     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9266   esac
9267
9268   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9269 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9270 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9271   $as_echo_n "(cached) " >&6
9272 else
9273   lt_cv_prog_compiler_rtti_exceptions=no
9274    ac_outfile=conftest.$ac_objext
9275    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9276    lt_compiler_flag="-fno-rtti -fno-exceptions"
9277    # Insert the option either (1) after the last *FLAGS variable, or
9278    # (2) before a word containing "conftest.", or (3) at the end.
9279    # Note that $ac_compile itself does not contain backslashes and begins
9280    # with a dollar sign (not a hyphen), so the echo should work correctly.
9281    # The option is referenced via a variable to avoid confusing sed.
9282    lt_compile=`echo "$ac_compile" | $SED \
9283    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9284    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9285    -e 's:$: $lt_compiler_flag:'`
9286    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9287    (eval "$lt_compile" 2>conftest.err)
9288    ac_status=$?
9289    cat conftest.err >&5
9290    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9291    if (exit $ac_status) && test -s "$ac_outfile"; then
9292      # The compiler can only warn and ignore the option if not recognized
9293      # So say no if there are warnings other than the usual output.
9294      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9295      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9296      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9297        lt_cv_prog_compiler_rtti_exceptions=yes
9298      fi
9299    fi
9300    $RM conftest*
9301
9302 fi
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9304 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9305
9306 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9307     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9308 else
9309     :
9310 fi
9311
9312 fi
9313
9314
9315
9316
9317
9318
9319   lt_prog_compiler_wl=
9320 lt_prog_compiler_pic=
9321 lt_prog_compiler_static=
9322
9323
9324   if test "$GCC" = yes; then
9325     lt_prog_compiler_wl='-Wl,'
9326     lt_prog_compiler_static='-static'
9327
9328     case $host_os in
9329       aix*)
9330       # All AIX code is PIC.
9331       if test "$host_cpu" = ia64; then
9332         # AIX 5 now supports IA64 processor
9333         lt_prog_compiler_static='-Bstatic'
9334       fi
9335       ;;
9336
9337     amigaos*)
9338       case $host_cpu in
9339       powerpc)
9340             # see comment about AmigaOS4 .so support
9341             lt_prog_compiler_pic='-fPIC'
9342         ;;
9343       m68k)
9344             # FIXME: we need at least 68020 code to build shared libraries, but
9345             # adding the `-m68020' flag to GCC prevents building anything better,
9346             # like `-m68040'.
9347             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9348         ;;
9349       esac
9350       ;;
9351
9352     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9353       # PIC is the default for these OSes.
9354       ;;
9355
9356     mingw* | cygwin* | pw32* | os2* | cegcc*)
9357       # This hack is so that the source file can tell whether it is being
9358       # built for inclusion in a dll (and should export symbols for example).
9359       # Although the cygwin gcc ignores -fPIC, still need this for old-style
9360       # (--disable-auto-import) libraries
9361       lt_prog_compiler_pic='-DDLL_EXPORT'
9362       ;;
9363
9364     darwin* | rhapsody*)
9365       # PIC is the default on this platform
9366       # Common symbols not allowed in MH_DYLIB files
9367       lt_prog_compiler_pic='-fno-common'
9368       ;;
9369
9370     haiku*)
9371       # PIC is the default for Haiku.
9372       # The "-static" flag exists, but is broken.
9373       lt_prog_compiler_static=
9374       ;;
9375
9376     hpux*)
9377       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9378       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9379       # sets the default TLS model and affects inlining.
9380       case $host_cpu in
9381       hppa*64*)
9382         # +Z the default
9383         ;;
9384       *)
9385         lt_prog_compiler_pic='-fPIC'
9386         ;;
9387       esac
9388       ;;
9389
9390     interix[3-9]*)
9391       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9392       # Instead, we relocate shared libraries at runtime.
9393       ;;
9394
9395     msdosdjgpp*)
9396       # Just because we use GCC doesn't mean we suddenly get shared libraries
9397       # on systems that don't support them.
9398       lt_prog_compiler_can_build_shared=no
9399       enable_shared=no
9400       ;;
9401
9402     *nto* | *qnx*)
9403       # QNX uses GNU C++, but need to define -shared option too, otherwise
9404       # it will coredump.
9405       lt_prog_compiler_pic='-fPIC -shared'
9406       ;;
9407
9408     sysv4*MP*)
9409       if test -d /usr/nec; then
9410         lt_prog_compiler_pic=-Kconform_pic
9411       fi
9412       ;;
9413
9414     *)
9415       lt_prog_compiler_pic='-fPIC'
9416       ;;
9417     esac
9418
9419     case $cc_basename in
9420     nvcc*) # Cuda Compiler Driver 2.2
9421       lt_prog_compiler_wl='-Xlinker '
9422       if test -n "$lt_prog_compiler_pic"; then
9423         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9424       fi
9425       ;;
9426     esac
9427   else
9428     # PORTME Check for flag to pass linker flags through the system compiler.
9429     case $host_os in
9430     aix*)
9431       lt_prog_compiler_wl='-Wl,'
9432       if test "$host_cpu" = ia64; then
9433         # AIX 5 now supports IA64 processor
9434         lt_prog_compiler_static='-Bstatic'
9435       else
9436         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9437       fi
9438       ;;
9439
9440     mingw* | cygwin* | pw32* | os2* | cegcc*)
9441       # This hack is so that the source file can tell whether it is being
9442       # built for inclusion in a dll (and should export symbols for example).
9443       lt_prog_compiler_pic='-DDLL_EXPORT'
9444       ;;
9445
9446     hpux9* | hpux10* | hpux11*)
9447       lt_prog_compiler_wl='-Wl,'
9448       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9449       # not for PA HP-UX.
9450       case $host_cpu in
9451       hppa*64*|ia64*)
9452         # +Z the default
9453         ;;
9454       *)
9455         lt_prog_compiler_pic='+Z'
9456         ;;
9457       esac
9458       # Is there a better lt_prog_compiler_static that works with the bundled CC?
9459       lt_prog_compiler_static='${wl}-a ${wl}archive'
9460       ;;
9461
9462     irix5* | irix6* | nonstopux*)
9463       lt_prog_compiler_wl='-Wl,'
9464       # PIC (with -KPIC) is the default.
9465       lt_prog_compiler_static='-non_shared'
9466       ;;
9467
9468     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9469       case $cc_basename in
9470       # old Intel for x86_64 which still supported -KPIC.
9471       ecc*)
9472         lt_prog_compiler_wl='-Wl,'
9473         lt_prog_compiler_pic='-KPIC'
9474         lt_prog_compiler_static='-static'
9475         ;;
9476       # icc used to be incompatible with GCC.
9477       # ICC 10 doesn't accept -KPIC any more.
9478       icc* | ifort*)
9479         lt_prog_compiler_wl='-Wl,'
9480         lt_prog_compiler_pic='-fPIC'
9481         lt_prog_compiler_static='-static'
9482         ;;
9483       # Lahey Fortran 8.1.
9484       lf95*)
9485         lt_prog_compiler_wl='-Wl,'
9486         lt_prog_compiler_pic='--shared'
9487         lt_prog_compiler_static='--static'
9488         ;;
9489       nagfor*)
9490         # NAG Fortran compiler
9491         lt_prog_compiler_wl='-Wl,-Wl,,'
9492         lt_prog_compiler_pic='-PIC'
9493         lt_prog_compiler_static='-Bstatic'
9494         ;;
9495       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9496         # Portland Group compilers (*not* the Pentium gcc compiler,
9497         # which looks to be a dead project)
9498         lt_prog_compiler_wl='-Wl,'
9499         lt_prog_compiler_pic='-fpic'
9500         lt_prog_compiler_static='-Bstatic'
9501         ;;
9502       ccc*)
9503         lt_prog_compiler_wl='-Wl,'
9504         # All Alpha code is PIC.
9505         lt_prog_compiler_static='-non_shared'
9506         ;;
9507       xl* | bgxl* | bgf* | mpixl*)
9508         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9509         lt_prog_compiler_wl='-Wl,'
9510         lt_prog_compiler_pic='-qpic'
9511         lt_prog_compiler_static='-qstaticlink'
9512         ;;
9513       *)
9514         case `$CC -V 2>&1 | sed 5q` in
9515         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9516           # Sun Fortran 8.3 passes all unrecognized flags to the linker
9517           lt_prog_compiler_pic='-KPIC'
9518           lt_prog_compiler_static='-Bstatic'
9519           lt_prog_compiler_wl=''
9520           ;;
9521         *Sun\ F* | *Sun*Fortran*)
9522           lt_prog_compiler_pic='-KPIC'
9523           lt_prog_compiler_static='-Bstatic'
9524           lt_prog_compiler_wl='-Qoption ld '
9525           ;;
9526         *Sun\ C*)
9527           # Sun C 5.9
9528           lt_prog_compiler_pic='-KPIC'
9529           lt_prog_compiler_static='-Bstatic'
9530           lt_prog_compiler_wl='-Wl,'
9531           ;;
9532         *Intel*\ [CF]*Compiler*)
9533           lt_prog_compiler_wl='-Wl,'
9534           lt_prog_compiler_pic='-fPIC'
9535           lt_prog_compiler_static='-static'
9536           ;;
9537         *Portland\ Group*)
9538           lt_prog_compiler_wl='-Wl,'
9539           lt_prog_compiler_pic='-fpic'
9540           lt_prog_compiler_static='-Bstatic'
9541           ;;
9542         esac
9543         ;;
9544       esac
9545       ;;
9546
9547     newsos6)
9548       lt_prog_compiler_pic='-KPIC'
9549       lt_prog_compiler_static='-Bstatic'
9550       ;;
9551
9552     *nto* | *qnx*)
9553       # QNX uses GNU C++, but need to define -shared option too, otherwise
9554       # it will coredump.
9555       lt_prog_compiler_pic='-fPIC -shared'
9556       ;;
9557
9558     osf3* | osf4* | osf5*)
9559       lt_prog_compiler_wl='-Wl,'
9560       # All OSF/1 code is PIC.
9561       lt_prog_compiler_static='-non_shared'
9562       ;;
9563
9564     rdos*)
9565       lt_prog_compiler_static='-non_shared'
9566       ;;
9567
9568     solaris*)
9569       lt_prog_compiler_pic='-KPIC'
9570       lt_prog_compiler_static='-Bstatic'
9571       case $cc_basename in
9572       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9573         lt_prog_compiler_wl='-Qoption ld ';;
9574       *)
9575         lt_prog_compiler_wl='-Wl,';;
9576       esac
9577       ;;
9578
9579     sunos4*)
9580       lt_prog_compiler_wl='-Qoption ld '
9581       lt_prog_compiler_pic='-PIC'
9582       lt_prog_compiler_static='-Bstatic'
9583       ;;
9584
9585     sysv4 | sysv4.2uw2* | sysv4.3*)
9586       lt_prog_compiler_wl='-Wl,'
9587       lt_prog_compiler_pic='-KPIC'
9588       lt_prog_compiler_static='-Bstatic'
9589       ;;
9590
9591     sysv4*MP*)
9592       if test -d /usr/nec ;then
9593         lt_prog_compiler_pic='-Kconform_pic'
9594         lt_prog_compiler_static='-Bstatic'
9595       fi
9596       ;;
9597
9598     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9599       lt_prog_compiler_wl='-Wl,'
9600       lt_prog_compiler_pic='-KPIC'
9601       lt_prog_compiler_static='-Bstatic'
9602       ;;
9603
9604     unicos*)
9605       lt_prog_compiler_wl='-Wl,'
9606       lt_prog_compiler_can_build_shared=no
9607       ;;
9608
9609     uts4*)
9610       lt_prog_compiler_pic='-pic'
9611       lt_prog_compiler_static='-Bstatic'
9612       ;;
9613
9614     *)
9615       lt_prog_compiler_can_build_shared=no
9616       ;;
9617     esac
9618   fi
9619
9620 case $host_os in
9621   # For platforms which do not support PIC, -DPIC is meaningless:
9622   *djgpp*)
9623     lt_prog_compiler_pic=
9624     ;;
9625   *)
9626     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9627     ;;
9628 esac
9629
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9631 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9632 if ${lt_cv_prog_compiler_pic+:} false; then :
9633   $as_echo_n "(cached) " >&6
9634 else
9635   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9636 fi
9637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9638 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9639 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9640
9641 #
9642 # Check to make sure the PIC flag actually works.
9643 #
9644 if test -n "$lt_prog_compiler_pic"; then
9645   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9646 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9647 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9648   $as_echo_n "(cached) " >&6
9649 else
9650   lt_cv_prog_compiler_pic_works=no
9651    ac_outfile=conftest.$ac_objext
9652    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9653    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9654    # Insert the option either (1) after the last *FLAGS variable, or
9655    # (2) before a word containing "conftest.", or (3) at the end.
9656    # Note that $ac_compile itself does not contain backslashes and begins
9657    # with a dollar sign (not a hyphen), so the echo should work correctly.
9658    # The option is referenced via a variable to avoid confusing sed.
9659    lt_compile=`echo "$ac_compile" | $SED \
9660    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9661    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9662    -e 's:$: $lt_compiler_flag:'`
9663    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9664    (eval "$lt_compile" 2>conftest.err)
9665    ac_status=$?
9666    cat conftest.err >&5
9667    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9668    if (exit $ac_status) && test -s "$ac_outfile"; then
9669      # The compiler can only warn and ignore the option if not recognized
9670      # So say no if there are warnings other than the usual output.
9671      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9672      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9673      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9674        lt_cv_prog_compiler_pic_works=yes
9675      fi
9676    fi
9677    $RM conftest*
9678
9679 fi
9680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9681 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9682
9683 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9684     case $lt_prog_compiler_pic in
9685      "" | " "*) ;;
9686      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9687      esac
9688 else
9689     lt_prog_compiler_pic=
9690      lt_prog_compiler_can_build_shared=no
9691 fi
9692
9693 fi
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705 #
9706 # Check to make sure the static flag actually works.
9707 #
9708 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9710 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9711 if ${lt_cv_prog_compiler_static_works+:} false; then :
9712   $as_echo_n "(cached) " >&6
9713 else
9714   lt_cv_prog_compiler_static_works=no
9715    save_LDFLAGS="$LDFLAGS"
9716    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9717    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9718    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9719      # The linker can only warn and ignore the option if not recognized
9720      # So say no if there are warnings
9721      if test -s conftest.err; then
9722        # Append any errors to the config.log.
9723        cat conftest.err 1>&5
9724        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9725        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9726        if diff conftest.exp conftest.er2 >/dev/null; then
9727          lt_cv_prog_compiler_static_works=yes
9728        fi
9729      else
9730        lt_cv_prog_compiler_static_works=yes
9731      fi
9732    fi
9733    $RM -r conftest*
9734    LDFLAGS="$save_LDFLAGS"
9735
9736 fi
9737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9738 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9739
9740 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9741     :
9742 else
9743     lt_prog_compiler_static=
9744 fi
9745
9746
9747
9748
9749
9750
9751
9752   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9753 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9754 if ${lt_cv_prog_compiler_c_o+:} false; then :
9755   $as_echo_n "(cached) " >&6
9756 else
9757   lt_cv_prog_compiler_c_o=no
9758    $RM -r conftest 2>/dev/null
9759    mkdir conftest
9760    cd conftest
9761    mkdir out
9762    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9763
9764    lt_compiler_flag="-o out/conftest2.$ac_objext"
9765    # Insert the option either (1) after the last *FLAGS variable, or
9766    # (2) before a word containing "conftest.", or (3) at the end.
9767    # Note that $ac_compile itself does not contain backslashes and begins
9768    # with a dollar sign (not a hyphen), so the echo should work correctly.
9769    lt_compile=`echo "$ac_compile" | $SED \
9770    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9771    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9772    -e 's:$: $lt_compiler_flag:'`
9773    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9774    (eval "$lt_compile" 2>out/conftest.err)
9775    ac_status=$?
9776    cat out/conftest.err >&5
9777    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9778    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9779    then
9780      # The compiler can only warn and ignore the option if not recognized
9781      # So say no if there are warnings
9782      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9783      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9784      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9785        lt_cv_prog_compiler_c_o=yes
9786      fi
9787    fi
9788    chmod u+w . 2>&5
9789    $RM conftest*
9790    # SGI C++ compiler will create directory out/ii_files/ for
9791    # template instantiation
9792    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9793    $RM out/* && rmdir out
9794    cd ..
9795    $RM -r conftest
9796    $RM conftest*
9797
9798 fi
9799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9800 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9801
9802
9803
9804
9805
9806
9807   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9808 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9809 if ${lt_cv_prog_compiler_c_o+:} false; then :
9810   $as_echo_n "(cached) " >&6
9811 else
9812   lt_cv_prog_compiler_c_o=no
9813    $RM -r conftest 2>/dev/null
9814    mkdir conftest
9815    cd conftest
9816    mkdir out
9817    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9818
9819    lt_compiler_flag="-o out/conftest2.$ac_objext"
9820    # Insert the option either (1) after the last *FLAGS variable, or
9821    # (2) before a word containing "conftest.", or (3) at the end.
9822    # Note that $ac_compile itself does not contain backslashes and begins
9823    # with a dollar sign (not a hyphen), so the echo should work correctly.
9824    lt_compile=`echo "$ac_compile" | $SED \
9825    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9826    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9827    -e 's:$: $lt_compiler_flag:'`
9828    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9829    (eval "$lt_compile" 2>out/conftest.err)
9830    ac_status=$?
9831    cat out/conftest.err >&5
9832    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9833    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9834    then
9835      # The compiler can only warn and ignore the option if not recognized
9836      # So say no if there are warnings
9837      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9838      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9839      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9840        lt_cv_prog_compiler_c_o=yes
9841      fi
9842    fi
9843    chmod u+w . 2>&5
9844    $RM conftest*
9845    # SGI C++ compiler will create directory out/ii_files/ for
9846    # template instantiation
9847    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9848    $RM out/* && rmdir out
9849    cd ..
9850    $RM -r conftest
9851    $RM conftest*
9852
9853 fi
9854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9855 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9856
9857
9858
9859
9860 hard_links="nottested"
9861 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9862   # do not overwrite the value of need_locks provided by the user
9863   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9864 $as_echo_n "checking if we can lock with hard links... " >&6; }
9865   hard_links=yes
9866   $RM conftest*
9867   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9868   touch conftest.a
9869   ln conftest.a conftest.b 2>&5 || hard_links=no
9870   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9872 $as_echo "$hard_links" >&6; }
9873   if test "$hard_links" = no; then
9874     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9875 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9876     need_locks=warn
9877   fi
9878 else
9879   need_locks=no
9880 fi
9881
9882
9883
9884
9885
9886
9887   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9888 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9889
9890   runpath_var=
9891   allow_undefined_flag=
9892   always_export_symbols=no
9893   archive_cmds=
9894   archive_expsym_cmds=
9895   compiler_needs_object=no
9896   enable_shared_with_static_runtimes=no
9897   export_dynamic_flag_spec=
9898   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9899   hardcode_automatic=no
9900   hardcode_direct=no
9901   hardcode_direct_absolute=no
9902   hardcode_libdir_flag_spec=
9903   hardcode_libdir_separator=
9904   hardcode_minus_L=no
9905   hardcode_shlibpath_var=unsupported
9906   inherit_rpath=no
9907   link_all_deplibs=unknown
9908   module_cmds=
9909   module_expsym_cmds=
9910   old_archive_from_new_cmds=
9911   old_archive_from_expsyms_cmds=
9912   thread_safe_flag_spec=
9913   whole_archive_flag_spec=
9914   # include_expsyms should be a list of space-separated symbols to be *always*
9915   # included in the symbol list
9916   include_expsyms=
9917   # exclude_expsyms can be an extended regexp of symbols to exclude
9918   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9919   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9920   # as well as any symbol that contains `d'.
9921   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9922   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9923   # platforms (ab)use it in PIC code, but their linkers get confused if
9924   # the symbol is explicitly referenced.  Since portable code cannot
9925   # rely on this symbol name, it's probably fine to never include it in
9926   # preloaded symbol tables.
9927   # Exclude shared library initialization/finalization symbols.
9928   extract_expsyms_cmds=
9929
9930   case $host_os in
9931   cygwin* | mingw* | pw32* | cegcc*)
9932     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9933     # When not using gcc, we currently assume that we are using
9934     # Microsoft Visual C++.
9935     if test "$GCC" != yes; then
9936       with_gnu_ld=no
9937     fi
9938     ;;
9939   interix*)
9940     # we just hope/assume this is gcc and not c89 (= MSVC++)
9941     with_gnu_ld=yes
9942     ;;
9943   openbsd*)
9944     with_gnu_ld=no
9945     ;;
9946   linux* | k*bsd*-gnu | gnu*)
9947     link_all_deplibs=no
9948     ;;
9949   esac
9950
9951   ld_shlibs=yes
9952
9953   # On some targets, GNU ld is compatible enough with the native linker
9954   # that we're better off using the native interface for both.
9955   lt_use_gnu_ld_interface=no
9956   if test "$with_gnu_ld" = yes; then
9957     case $host_os in
9958       aix*)
9959         # The AIX port of GNU ld has always aspired to compatibility
9960         # with the native linker.  However, as the warning in the GNU ld
9961         # block says, versions before 2.19.5* couldn't really create working
9962         # shared libraries, regardless of the interface used.
9963         case `$LD -v 2>&1` in
9964           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9965           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9966           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9967           *)
9968             lt_use_gnu_ld_interface=yes
9969             ;;
9970         esac
9971         ;;
9972       *)
9973         lt_use_gnu_ld_interface=yes
9974         ;;
9975     esac
9976   fi
9977
9978   if test "$lt_use_gnu_ld_interface" = yes; then
9979     # If archive_cmds runs LD, not CC, wlarc should be empty
9980     wlarc='${wl}'
9981
9982     # Set some defaults for GNU ld with shared library support. These
9983     # are reset later if shared libraries are not supported. Putting them
9984     # here allows them to be overridden if necessary.
9985     runpath_var=LD_RUN_PATH
9986     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9987     export_dynamic_flag_spec='${wl}--export-dynamic'
9988     # ancient GNU ld didn't support --whole-archive et. al.
9989     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9990       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9991     else
9992       whole_archive_flag_spec=
9993     fi
9994     supports_anon_versioning=no
9995     case `$LD -v 2>&1` in
9996       *GNU\ gold*) supports_anon_versioning=yes ;;
9997       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9998       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9999       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10000       *\ 2.11.*) ;; # other 2.11 versions
10001       *) supports_anon_versioning=yes ;;
10002     esac
10003
10004     # See if GNU ld supports shared libraries.
10005     case $host_os in
10006     aix[3-9]*)
10007       # On AIX/PPC, the GNU linker is very broken
10008       if test "$host_cpu" != ia64; then
10009         ld_shlibs=no
10010         cat <<_LT_EOF 1>&2
10011
10012 *** Warning: the GNU linker, at least up to release 2.19, is reported
10013 *** to be unable to reliably create shared libraries on AIX.
10014 *** Therefore, libtool is disabling shared libraries support.  If you
10015 *** really care for shared libraries, you may want to install binutils
10016 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10017 *** You will then need to restart the configuration process.
10018
10019 _LT_EOF
10020       fi
10021       ;;
10022
10023     amigaos*)
10024       case $host_cpu in
10025       powerpc)
10026             # see comment about AmigaOS4 .so support
10027             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10028             archive_expsym_cmds=''
10029         ;;
10030       m68k)
10031             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)'
10032             hardcode_libdir_flag_spec='-L$libdir'
10033             hardcode_minus_L=yes
10034         ;;
10035       esac
10036       ;;
10037
10038     beos*)
10039       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10040         allow_undefined_flag=unsupported
10041         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10042         # support --undefined.  This deserves some investigation.  FIXME
10043         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10044       else
10045         ld_shlibs=no
10046       fi
10047       ;;
10048
10049     cygwin* | mingw* | pw32* | cegcc*)
10050       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10051       # as there is no search path for DLLs.
10052       hardcode_libdir_flag_spec='-L$libdir'
10053       export_dynamic_flag_spec='${wl}--export-all-symbols'
10054       allow_undefined_flag=unsupported
10055       always_export_symbols=no
10056       enable_shared_with_static_runtimes=yes
10057       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
10058       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10059
10060       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10061         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10062         # If the export-symbols file already is a .def file (1st line
10063         # is EXPORTS), use it as is; otherwise, prepend...
10064         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10065           cp $export_symbols $output_objdir/$soname.def;
10066         else
10067           echo EXPORTS > $output_objdir/$soname.def;
10068           cat $export_symbols >> $output_objdir/$soname.def;
10069         fi~
10070         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10071       else
10072         ld_shlibs=no
10073       fi
10074       ;;
10075
10076     haiku*)
10077       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10078       link_all_deplibs=yes
10079       ;;
10080
10081     interix[3-9]*)
10082       hardcode_direct=no
10083       hardcode_shlibpath_var=no
10084       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10085       export_dynamic_flag_spec='${wl}-E'
10086       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10087       # Instead, shared libraries are loaded at an image base (0x10000000 by
10088       # default) and relocated if they conflict, which is a slow very memory
10089       # consuming and fragmenting process.  To avoid this, we pick a random,
10090       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10091       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10092       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10093       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'
10094       ;;
10095
10096     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10097       tmp_diet=no
10098       if test "$host_os" = linux-dietlibc; then
10099         case $cc_basename in
10100           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
10101         esac
10102       fi
10103       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10104          && test "$tmp_diet" = no
10105       then
10106         tmp_addflag=' $pic_flag'
10107         tmp_sharedflag='-shared'
10108         case $cc_basename,$host_cpu in
10109         pgcc*)                          # Portland Group C compiler
10110           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10111           tmp_addflag=' $pic_flag'
10112           ;;
10113         pgf77* | pgf90* | pgf95* | pgfortran*)
10114                                         # Portland Group f77 and f90 compilers
10115           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10116           tmp_addflag=' $pic_flag -Mnomain' ;;
10117         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
10118           tmp_addflag=' -i_dynamic' ;;
10119         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
10120           tmp_addflag=' -i_dynamic -nofor_main' ;;
10121         ifc* | ifort*)                  # Intel Fortran compiler
10122           tmp_addflag=' -nofor_main' ;;
10123         lf95*)                          # Lahey Fortran 8.1
10124           whole_archive_flag_spec=
10125           tmp_sharedflag='--shared' ;;
10126         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10127           tmp_sharedflag='-qmkshrobj'
10128           tmp_addflag= ;;
10129         nvcc*)  # Cuda Compiler Driver 2.2
10130           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10131           compiler_needs_object=yes
10132           ;;
10133         esac
10134         case `$CC -V 2>&1 | sed 5q` in
10135         *Sun\ C*)                       # Sun C 5.9
10136           whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10137           compiler_needs_object=yes
10138           tmp_sharedflag='-G' ;;
10139         *Sun\ F*)                       # Sun Fortran 8.3
10140           tmp_sharedflag='-G' ;;
10141         esac
10142         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10143
10144         if test "x$supports_anon_versioning" = xyes; then
10145           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10146             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10147             echo "local: *; };" >> $output_objdir/$libname.ver~
10148             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10149         fi
10150
10151         case $cc_basename in
10152         xlf* | bgf* | bgxlf* | mpixlf*)
10153           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10154           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10155           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10156           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10157           if test "x$supports_anon_versioning" = xyes; then
10158             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10159               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10160               echo "local: *; };" >> $output_objdir/$libname.ver~
10161               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10162           fi
10163           ;;
10164         esac
10165       else
10166         ld_shlibs=no
10167       fi
10168       ;;
10169
10170     netbsd* | netbsdelf*-gnu)
10171       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10172         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10173         wlarc=
10174       else
10175         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10176         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10177       fi
10178       ;;
10179
10180     solaris*)
10181       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10182         ld_shlibs=no
10183         cat <<_LT_EOF 1>&2
10184
10185 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10186 *** create shared libraries on Solaris systems.  Therefore, libtool
10187 *** is disabling shared libraries support.  We urge you to upgrade GNU
10188 *** binutils to release 2.9.1 or newer.  Another option is to modify
10189 *** your PATH or compiler configuration so that the native linker is
10190 *** used, and then restart.
10191
10192 _LT_EOF
10193       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10194         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10195         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10196       else
10197         ld_shlibs=no
10198       fi
10199       ;;
10200
10201     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10202       case `$LD -v 2>&1` in
10203         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10204         ld_shlibs=no
10205         cat <<_LT_EOF 1>&2
10206
10207 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10208 *** reliably create shared libraries on SCO systems.  Therefore, libtool
10209 *** is disabling shared libraries support.  We urge you to upgrade GNU
10210 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10211 *** your PATH or compiler configuration so that the native linker is
10212 *** used, and then restart.
10213
10214 _LT_EOF
10215         ;;
10216         *)
10217           # For security reasons, it is highly recommended that you always
10218           # use absolute paths for naming shared libraries, and exclude the
10219           # DT_RUNPATH tag from executables and libraries.  But doing so
10220           # requires that you compile everything twice, which is a pain.
10221           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10222             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10223             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10224             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10225           else
10226             ld_shlibs=no
10227           fi
10228         ;;
10229       esac
10230       ;;
10231
10232     sunos4*)
10233       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10234       wlarc=
10235       hardcode_direct=yes
10236       hardcode_shlibpath_var=no
10237       ;;
10238
10239     *)
10240       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10241         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10242         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10243       else
10244         ld_shlibs=no
10245       fi
10246       ;;
10247     esac
10248
10249     if test "$ld_shlibs" = no; then
10250       runpath_var=
10251       hardcode_libdir_flag_spec=
10252       export_dynamic_flag_spec=
10253       whole_archive_flag_spec=
10254     fi
10255   else
10256     # PORTME fill in a description of your system's linker (not GNU ld)
10257     case $host_os in
10258     aix3*)
10259       allow_undefined_flag=unsupported
10260       always_export_symbols=yes
10261       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'
10262       # Note: this linker hardcodes the directories in LIBPATH if there
10263       # are no directories specified by -L.
10264       hardcode_minus_L=yes
10265       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10266         # Neither direct hardcoding nor static linking is supported with a
10267         # broken collect2.
10268         hardcode_direct=unsupported
10269       fi
10270       ;;
10271
10272     aix[4-9]*)
10273       if test "$host_cpu" = ia64; then
10274         # On IA64, the linker does run time linking by default, so we don't
10275         # have to do anything special.
10276         aix_use_runtimelinking=no
10277         exp_sym_flag='-Bexport'
10278         no_entry_flag=""
10279       else
10280         # If we're using GNU nm, then we don't want the "-C" option.
10281         # -C means demangle to AIX nm, but means don't demangle with GNU nm
10282         # Also, AIX nm treats weak defined symbols like other global
10283         # defined symbols, whereas GNU nm marks them as "W".
10284         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10285           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10286         else
10287           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'
10288         fi
10289         aix_use_runtimelinking=no
10290
10291         # Test if we are trying to use run time linking or normal
10292         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10293         # need to do runtime linking.
10294         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10295           for ld_flag in $LDFLAGS; do
10296           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10297             aix_use_runtimelinking=yes
10298             break
10299           fi
10300           done
10301           ;;
10302         esac
10303
10304         exp_sym_flag='-bexport'
10305         no_entry_flag='-bnoentry'
10306       fi
10307
10308       # When large executables or shared objects are built, AIX ld can
10309       # have problems creating the table of contents.  If linking a library
10310       # or program results in "error TOC overflow" add -mminimal-toc to
10311       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10312       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10313
10314       archive_cmds=''
10315       hardcode_direct=yes
10316       hardcode_direct_absolute=yes
10317       hardcode_libdir_separator=':'
10318       link_all_deplibs=yes
10319       file_list_spec='${wl}-f,'
10320
10321       if test "$GCC" = yes; then
10322         case $host_os in aix4.[012]|aix4.[012].*)
10323         # We only want to do this on AIX 4.2 and lower, the check
10324         # below for broken collect2 doesn't work under 4.3+
10325           collect2name=`${CC} -print-prog-name=collect2`
10326           if test -f "$collect2name" &&
10327            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10328           then
10329           # We have reworked collect2
10330           :
10331           else
10332           # We have old collect2
10333           hardcode_direct=unsupported
10334           # It fails to find uninstalled libraries when the uninstalled
10335           # path is not listed in the libpath.  Setting hardcode_minus_L
10336           # to unsupported forces relinking
10337           hardcode_minus_L=yes
10338           hardcode_libdir_flag_spec='-L$libdir'
10339           hardcode_libdir_separator=
10340           fi
10341           ;;
10342         esac
10343         shared_flag='-shared'
10344         if test "$aix_use_runtimelinking" = yes; then
10345           shared_flag="$shared_flag "'${wl}-G'
10346         fi
10347         link_all_deplibs=no
10348       else
10349         # not using gcc
10350         if test "$host_cpu" = ia64; then
10351         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10352         # chokes on -Wl,-G. The following line is correct:
10353           shared_flag='-G'
10354         else
10355           if test "$aix_use_runtimelinking" = yes; then
10356             shared_flag='${wl}-G'
10357           else
10358             shared_flag='${wl}-bM:SRE'
10359           fi
10360         fi
10361       fi
10362
10363       export_dynamic_flag_spec='${wl}-bexpall'
10364       # It seems that -bexpall does not export symbols beginning with
10365       # underscore (_), so it is better to generate a list of symbols to export.
10366       always_export_symbols=yes
10367       if test "$aix_use_runtimelinking" = yes; then
10368         # Warning - without using the other runtime loading flags (-brtl),
10369         # -berok will link without error, but may produce a broken library.
10370         allow_undefined_flag='-berok'
10371         # Determine the default libpath from the value encoded in an
10372         # empty executable.
10373         if test "${lt_cv_aix_libpath+set}" = set; then
10374   aix_libpath=$lt_cv_aix_libpath
10375 else
10376   if ${lt_cv_aix_libpath_+:} false; then :
10377   $as_echo_n "(cached) " >&6
10378 else
10379   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10380 /* end confdefs.h.  */
10381
10382 int
10383 main ()
10384 {
10385
10386   ;
10387   return 0;
10388 }
10389 _ACEOF
10390 if ac_fn_c_try_link "$LINENO"; then :
10391
10392   lt_aix_libpath_sed='
10393       /Import File Strings/,/^$/ {
10394           /^0/ {
10395               s/^0  *\([^ ]*\) *$/\1/
10396               p
10397           }
10398       }'
10399   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10400   # Check for a 64-bit object if we didn't find anything.
10401   if test -z "$lt_cv_aix_libpath_"; then
10402     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10403   fi
10404 fi
10405 rm -f core conftest.err conftest.$ac_objext \
10406     conftest$ac_exeext conftest.$ac_ext
10407   if test -z "$lt_cv_aix_libpath_"; then
10408     lt_cv_aix_libpath_="/usr/lib:/lib"
10409   fi
10410
10411 fi
10412
10413   aix_libpath=$lt_cv_aix_libpath_
10414 fi
10415
10416         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10417         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10418       else
10419         if test "$host_cpu" = ia64; then
10420           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10421           allow_undefined_flag="-z nodefs"
10422           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"
10423         else
10424          # Determine the default libpath from the value encoded in an
10425          # empty executable.
10426          if test "${lt_cv_aix_libpath+set}" = set; then
10427   aix_libpath=$lt_cv_aix_libpath
10428 else
10429   if ${lt_cv_aix_libpath_+:} false; then :
10430   $as_echo_n "(cached) " >&6
10431 else
10432   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10433 /* end confdefs.h.  */
10434
10435 int
10436 main ()
10437 {
10438
10439   ;
10440   return 0;
10441 }
10442 _ACEOF
10443 if ac_fn_c_try_link "$LINENO"; then :
10444
10445   lt_aix_libpath_sed='
10446       /Import File Strings/,/^$/ {
10447           /^0/ {
10448               s/^0  *\([^ ]*\) *$/\1/
10449               p
10450           }
10451       }'
10452   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10453   # Check for a 64-bit object if we didn't find anything.
10454   if test -z "$lt_cv_aix_libpath_"; then
10455     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10456   fi
10457 fi
10458 rm -f core conftest.err conftest.$ac_objext \
10459     conftest$ac_exeext conftest.$ac_ext
10460   if test -z "$lt_cv_aix_libpath_"; then
10461     lt_cv_aix_libpath_="/usr/lib:/lib"
10462   fi
10463
10464 fi
10465
10466   aix_libpath=$lt_cv_aix_libpath_
10467 fi
10468
10469          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10470           # Warning - without using the other run time loading flags,
10471           # -berok will link without error, but may produce a broken library.
10472           no_undefined_flag=' ${wl}-bernotok'
10473           allow_undefined_flag=' ${wl}-berok'
10474           if test "$with_gnu_ld" = yes; then
10475             # We only use this code for GNU lds that support --whole-archive.
10476             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10477           else
10478             # Exported symbols can be pulled into shared objects from archives
10479             whole_archive_flag_spec='$convenience'
10480           fi
10481           archive_cmds_need_lc=yes
10482           # This is similar to how AIX traditionally builds its shared libraries.
10483           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'
10484         fi
10485       fi
10486       ;;
10487
10488     amigaos*)
10489       case $host_cpu in
10490       powerpc)
10491             # see comment about AmigaOS4 .so support
10492             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10493             archive_expsym_cmds=''
10494         ;;
10495       m68k)
10496             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)'
10497             hardcode_libdir_flag_spec='-L$libdir'
10498             hardcode_minus_L=yes
10499         ;;
10500       esac
10501       ;;
10502
10503     bsdi[45]*)
10504       export_dynamic_flag_spec=-rdynamic
10505       ;;
10506
10507     cygwin* | mingw* | pw32* | cegcc*)
10508       # When not using gcc, we currently assume that we are using
10509       # Microsoft Visual C++.
10510       # hardcode_libdir_flag_spec is actually meaningless, as there is
10511       # no search path for DLLs.
10512       case $cc_basename in
10513       cl*)
10514         # Native MSVC
10515         hardcode_libdir_flag_spec=' '
10516         allow_undefined_flag=unsupported
10517         always_export_symbols=yes
10518         file_list_spec='@'
10519         # Tell ltmain to make .lib files, not .a files.
10520         libext=lib
10521         # Tell ltmain to make .dll files, not .so files.
10522         shrext_cmds=".dll"
10523         # FIXME: Setting linknames here is a bad hack.
10524         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10525         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10526             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10527           else
10528             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10529           fi~
10530           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10531           linknames='
10532         # The linker will not automatically build a static lib if we build a DLL.
10533         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10534         enable_shared_with_static_runtimes=yes
10535         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10536         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10537         # Don't use ranlib
10538         old_postinstall_cmds='chmod 644 $oldlib'
10539         postlink_cmds='lt_outputfile="@OUTPUT@"~
10540           lt_tool_outputfile="@TOOL_OUTPUT@"~
10541           case $lt_outputfile in
10542             *.exe|*.EXE) ;;
10543             *)
10544               lt_outputfile="$lt_outputfile.exe"
10545               lt_tool_outputfile="$lt_tool_outputfile.exe"
10546               ;;
10547           esac~
10548           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10549             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10550             $RM "$lt_outputfile.manifest";
10551           fi'
10552         ;;
10553       *)
10554         # Assume MSVC wrapper
10555         hardcode_libdir_flag_spec=' '
10556         allow_undefined_flag=unsupported
10557         # Tell ltmain to make .lib files, not .a files.
10558         libext=lib
10559         # Tell ltmain to make .dll files, not .so files.
10560         shrext_cmds=".dll"
10561         # FIXME: Setting linknames here is a bad hack.
10562         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10563         # The linker will automatically build a .lib file if we build a DLL.
10564         old_archive_from_new_cmds='true'
10565         # FIXME: Should let the user specify the lib program.
10566         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10567         enable_shared_with_static_runtimes=yes
10568         ;;
10569       esac
10570       ;;
10571
10572     darwin* | rhapsody*)
10573
10574
10575   archive_cmds_need_lc=no
10576   hardcode_direct=no
10577   hardcode_automatic=yes
10578   hardcode_shlibpath_var=unsupported
10579   if test "$lt_cv_ld_force_load" = "yes"; then
10580     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10581
10582   else
10583     whole_archive_flag_spec=''
10584   fi
10585   link_all_deplibs=yes
10586   allow_undefined_flag="$_lt_dar_allow_undefined"
10587   case $cc_basename in
10588      ifort*) _lt_dar_can_shared=yes ;;
10589      *) _lt_dar_can_shared=$GCC ;;
10590   esac
10591   if test "$_lt_dar_can_shared" = "yes"; then
10592     output_verbose_link_cmd=func_echo_all
10593     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10594     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10595     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}"
10596     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}"
10597
10598   else
10599   ld_shlibs=no
10600   fi
10601
10602       ;;
10603
10604     dgux*)
10605       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10606       hardcode_libdir_flag_spec='-L$libdir'
10607       hardcode_shlibpath_var=no
10608       ;;
10609
10610     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10611     # support.  Future versions do this automatically, but an explicit c++rt0.o
10612     # does not break anything, and helps significantly (at the cost of a little
10613     # extra space).
10614     freebsd2.2*)
10615       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10616       hardcode_libdir_flag_spec='-R$libdir'
10617       hardcode_direct=yes
10618       hardcode_shlibpath_var=no
10619       ;;
10620
10621     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10622     freebsd2.*)
10623       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10624       hardcode_direct=yes
10625       hardcode_minus_L=yes
10626       hardcode_shlibpath_var=no
10627       ;;
10628
10629     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10630     freebsd* | dragonfly*)
10631       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10632       hardcode_libdir_flag_spec='-R$libdir'
10633       hardcode_direct=yes
10634       hardcode_shlibpath_var=no
10635       ;;
10636
10637     hpux9*)
10638       if test "$GCC" = yes; then
10639         archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10640       else
10641         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'
10642       fi
10643       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10644       hardcode_libdir_separator=:
10645       hardcode_direct=yes
10646
10647       # hardcode_minus_L: Not really in the search PATH,
10648       # but as the default location of the library.
10649       hardcode_minus_L=yes
10650       export_dynamic_flag_spec='${wl}-E'
10651       ;;
10652
10653     hpux10*)
10654       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10655         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10656       else
10657         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10658       fi
10659       if test "$with_gnu_ld" = no; then
10660         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10661         hardcode_libdir_separator=:
10662         hardcode_direct=yes
10663         hardcode_direct_absolute=yes
10664         export_dynamic_flag_spec='${wl}-E'
10665         # hardcode_minus_L: Not really in the search PATH,
10666         # but as the default location of the library.
10667         hardcode_minus_L=yes
10668       fi
10669       ;;
10670
10671     hpux11*)
10672       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10673         case $host_cpu in
10674         hppa*64*)
10675           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10676           ;;
10677         ia64*)
10678           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10679           ;;
10680         *)
10681           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10682           ;;
10683         esac
10684       else
10685         case $host_cpu in
10686         hppa*64*)
10687           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10688           ;;
10689         ia64*)
10690           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10691           ;;
10692         *)
10693
10694           # Older versions of the 11.00 compiler do not understand -b yet
10695           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10696           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10697 $as_echo_n "checking if $CC understands -b... " >&6; }
10698 if ${lt_cv_prog_compiler__b+:} false; then :
10699   $as_echo_n "(cached) " >&6
10700 else
10701   lt_cv_prog_compiler__b=no
10702    save_LDFLAGS="$LDFLAGS"
10703    LDFLAGS="$LDFLAGS -b"
10704    echo "$lt_simple_link_test_code" > conftest.$ac_ext
10705    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10706      # The linker can only warn and ignore the option if not recognized
10707      # So say no if there are warnings
10708      if test -s conftest.err; then
10709        # Append any errors to the config.log.
10710        cat conftest.err 1>&5
10711        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10712        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10713        if diff conftest.exp conftest.er2 >/dev/null; then
10714          lt_cv_prog_compiler__b=yes
10715        fi
10716      else
10717        lt_cv_prog_compiler__b=yes
10718      fi
10719    fi
10720    $RM -r conftest*
10721    LDFLAGS="$save_LDFLAGS"
10722
10723 fi
10724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10725 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10726
10727 if test x"$lt_cv_prog_compiler__b" = xyes; then
10728     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10729 else
10730     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10731 fi
10732
10733           ;;
10734         esac
10735       fi
10736       if test "$with_gnu_ld" = no; then
10737         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10738         hardcode_libdir_separator=:
10739
10740         case $host_cpu in
10741         hppa*64*|ia64*)
10742           hardcode_direct=no
10743           hardcode_shlibpath_var=no
10744           ;;
10745         *)
10746           hardcode_direct=yes
10747           hardcode_direct_absolute=yes
10748           export_dynamic_flag_spec='${wl}-E'
10749
10750           # hardcode_minus_L: Not really in the search PATH,
10751           # but as the default location of the library.
10752           hardcode_minus_L=yes
10753           ;;
10754         esac
10755       fi
10756       ;;
10757
10758     irix5* | irix6* | nonstopux*)
10759       if test "$GCC" = yes; then
10760         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10761         # Try to use the -exported_symbol ld option, if it does not
10762         # work, assume that -exports_file does not work either and
10763         # implicitly export all symbols.
10764         # This should be the same for all languages, so no per-tag cache variable.
10765         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10766 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10767 if ${lt_cv_irix_exported_symbol+:} false; then :
10768   $as_echo_n "(cached) " >&6
10769 else
10770   save_LDFLAGS="$LDFLAGS"
10771            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10772            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10773 /* end confdefs.h.  */
10774 int foo (void) { return 0; }
10775 _ACEOF
10776 if ac_fn_c_try_link "$LINENO"; then :
10777   lt_cv_irix_exported_symbol=yes
10778 else
10779   lt_cv_irix_exported_symbol=no
10780 fi
10781 rm -f core conftest.err conftest.$ac_objext \
10782     conftest$ac_exeext conftest.$ac_ext
10783            LDFLAGS="$save_LDFLAGS"
10784 fi
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10786 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10787         if test "$lt_cv_irix_exported_symbol" = yes; then
10788           archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10789         fi
10790       else
10791         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10792         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10793       fi
10794       archive_cmds_need_lc='no'
10795       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10796       hardcode_libdir_separator=:
10797       inherit_rpath=yes
10798       link_all_deplibs=yes
10799       ;;
10800
10801     netbsd* | netbsdelf*-gnu)
10802       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10803         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10804       else
10805         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10806       fi
10807       hardcode_libdir_flag_spec='-R$libdir'
10808       hardcode_direct=yes
10809       hardcode_shlibpath_var=no
10810       ;;
10811
10812     newsos6)
10813       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10814       hardcode_direct=yes
10815       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10816       hardcode_libdir_separator=:
10817       hardcode_shlibpath_var=no
10818       ;;
10819
10820     *nto* | *qnx*)
10821       ;;
10822
10823     openbsd*)
10824       if test -f /usr/libexec/ld.so; then
10825         hardcode_direct=yes
10826         hardcode_shlibpath_var=no
10827         hardcode_direct_absolute=yes
10828         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10829           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10830           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10831           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10832           export_dynamic_flag_spec='${wl}-E'
10833         else
10834           case $host_os in
10835            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10836              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10837              hardcode_libdir_flag_spec='-R$libdir'
10838              ;;
10839            *)
10840              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10841              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10842              ;;
10843           esac
10844         fi
10845       else
10846         ld_shlibs=no
10847       fi
10848       ;;
10849
10850     os2*)
10851       hardcode_libdir_flag_spec='-L$libdir'
10852       hardcode_minus_L=yes
10853       allow_undefined_flag=unsupported
10854       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'
10855       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10856       ;;
10857
10858     osf3*)
10859       if test "$GCC" = yes; then
10860         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10861         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10862       else
10863         allow_undefined_flag=' -expect_unresolved \*'
10864         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10865       fi
10866       archive_cmds_need_lc='no'
10867       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10868       hardcode_libdir_separator=:
10869       ;;
10870
10871     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10872       if test "$GCC" = yes; then
10873         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10874         archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10875         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10876       else
10877         allow_undefined_flag=' -expect_unresolved \*'
10878         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10879         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~
10880         $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10881
10882         # Both c and cxx compiler support -rpath directly
10883         hardcode_libdir_flag_spec='-rpath $libdir'
10884       fi
10885       archive_cmds_need_lc='no'
10886       hardcode_libdir_separator=:
10887       ;;
10888
10889     solaris*)
10890       no_undefined_flag=' -z defs'
10891       if test "$GCC" = yes; then
10892         wlarc='${wl}'
10893         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10894         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10895           $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10896       else
10897         case `$CC -V 2>&1` in
10898         *"Compilers 5.0"*)
10899           wlarc=''
10900           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10901           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10902           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10903           ;;
10904         *)
10905           wlarc='${wl}'
10906           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10907           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10908           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10909           ;;
10910         esac
10911       fi
10912       hardcode_libdir_flag_spec='-R$libdir'
10913       hardcode_shlibpath_var=no
10914       case $host_os in
10915       solaris2.[0-5] | solaris2.[0-5].*) ;;
10916       *)
10917         # The compiler driver will combine and reorder linker options,
10918         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10919         # but is careful enough not to reorder.
10920         # Supported since Solaris 2.6 (maybe 2.5.1?)
10921         if test "$GCC" = yes; then
10922           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10923         else
10924           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10925         fi
10926         ;;
10927       esac
10928       link_all_deplibs=yes
10929       ;;
10930
10931     sunos4*)
10932       if test "x$host_vendor" = xsequent; then
10933         # Use $CC to link under sequent, because it throws in some extra .o
10934         # files that make .init and .fini sections work.
10935         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10936       else
10937         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10938       fi
10939       hardcode_libdir_flag_spec='-L$libdir'
10940       hardcode_direct=yes
10941       hardcode_minus_L=yes
10942       hardcode_shlibpath_var=no
10943       ;;
10944
10945     sysv4)
10946       case $host_vendor in
10947         sni)
10948           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10949           hardcode_direct=yes # is this really true???
10950         ;;
10951         siemens)
10952           ## LD is ld it makes a PLAMLIB
10953           ## CC just makes a GrossModule.
10954           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10955           reload_cmds='$CC -r -o $output$reload_objs'
10956           hardcode_direct=no
10957         ;;
10958         motorola)
10959           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10960           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10961         ;;
10962       esac
10963       runpath_var='LD_RUN_PATH'
10964       hardcode_shlibpath_var=no
10965       ;;
10966
10967     sysv4.3*)
10968       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10969       hardcode_shlibpath_var=no
10970       export_dynamic_flag_spec='-Bexport'
10971       ;;
10972
10973     sysv4*MP*)
10974       if test -d /usr/nec; then
10975         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10976         hardcode_shlibpath_var=no
10977         runpath_var=LD_RUN_PATH
10978         hardcode_runpath_var=yes
10979         ld_shlibs=yes
10980       fi
10981       ;;
10982
10983     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10984       no_undefined_flag='${wl}-z,text'
10985       archive_cmds_need_lc=no
10986       hardcode_shlibpath_var=no
10987       runpath_var='LD_RUN_PATH'
10988
10989       if test "$GCC" = yes; then
10990         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10991         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10992       else
10993         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10994         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10995       fi
10996       ;;
10997
10998     sysv5* | sco3.2v5* | sco5v6*)
10999       # Note: We can NOT use -z defs as we might desire, because we do not
11000       # link with -lc, and that would cause any symbols used from libc to
11001       # always be unresolved, which means just about no library would
11002       # ever link correctly.  If we're not using GNU ld we use -z text
11003       # though, which does catch some bad symbols but isn't as heavy-handed
11004       # as -z defs.
11005       no_undefined_flag='${wl}-z,text'
11006       allow_undefined_flag='${wl}-z,nodefs'
11007       archive_cmds_need_lc=no
11008       hardcode_shlibpath_var=no
11009       hardcode_libdir_flag_spec='${wl}-R,$libdir'
11010       hardcode_libdir_separator=':'
11011       link_all_deplibs=yes
11012       export_dynamic_flag_spec='${wl}-Bexport'
11013       runpath_var='LD_RUN_PATH'
11014
11015       if test "$GCC" = yes; then
11016         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11017         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11018       else
11019         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11020         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11021       fi
11022       ;;
11023
11024     uts4*)
11025       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11026       hardcode_libdir_flag_spec='-L$libdir'
11027       hardcode_shlibpath_var=no
11028       ;;
11029
11030     *)
11031       ld_shlibs=no
11032       ;;
11033     esac
11034
11035     if test x$host_vendor = xsni; then
11036       case $host in
11037       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11038         export_dynamic_flag_spec='${wl}-Blargedynsym'
11039         ;;
11040       esac
11041     fi
11042   fi
11043
11044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11045 $as_echo "$ld_shlibs" >&6; }
11046 test "$ld_shlibs" = no && can_build_shared=no
11047
11048 with_gnu_ld=$with_gnu_ld
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064 #
11065 # Do we need to explicitly link libc?
11066 #
11067 case "x$archive_cmds_need_lc" in
11068 x|xyes)
11069   # Assume -lc should be added
11070   archive_cmds_need_lc=yes
11071
11072   if test "$enable_shared" = yes && test "$GCC" = yes; then
11073     case $archive_cmds in
11074     *'~'*)
11075       # FIXME: we may have to deal with multi-command sequences.
11076       ;;
11077     '$CC '*)
11078       # Test whether the compiler implicitly links with -lc since on some
11079       # systems, -lgcc has to come before -lc. If gcc already passes -lc
11080       # to ld, don't add -lc before -lgcc.
11081       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11082 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11083 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11084   $as_echo_n "(cached) " >&6
11085 else
11086   $RM conftest*
11087         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11088
11089         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11090   (eval $ac_compile) 2>&5
11091   ac_status=$?
11092   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11093   test $ac_status = 0; } 2>conftest.err; then
11094           soname=conftest
11095           lib=conftest
11096           libobjs=conftest.$ac_objext
11097           deplibs=
11098           wl=$lt_prog_compiler_wl
11099           pic_flag=$lt_prog_compiler_pic
11100           compiler_flags=-v
11101           linker_flags=-v
11102           verstring=
11103           output_objdir=.
11104           libname=conftest
11105           lt_save_allow_undefined_flag=$allow_undefined_flag
11106           allow_undefined_flag=
11107           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11108   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11109   ac_status=$?
11110   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11111   test $ac_status = 0; }
11112           then
11113             lt_cv_archive_cmds_need_lc=no
11114           else
11115             lt_cv_archive_cmds_need_lc=yes
11116           fi
11117           allow_undefined_flag=$lt_save_allow_undefined_flag
11118         else
11119           cat conftest.err 1>&5
11120         fi
11121         $RM conftest*
11122
11123 fi
11124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11125 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11126       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11127       ;;
11128     esac
11129   fi
11130   ;;
11131 esac
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11285 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11286
11287 if test "$GCC" = yes; then
11288   case $host_os in
11289     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11290     *) lt_awk_arg="/^libraries:/" ;;
11291   esac
11292   case $host_os in
11293     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11294     *) lt_sed_strip_eq="s,=/,/,g" ;;
11295   esac
11296   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11297   case $lt_search_path_spec in
11298   *\;*)
11299     # if the path contains ";" then we assume it to be the separator
11300     # otherwise default to the standard path separator (i.e. ":") - it is
11301     # assumed that no part of a normal pathname contains ";" but that should
11302     # okay in the real world where ";" in dirpaths is itself problematic.
11303     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11304     ;;
11305   *)
11306     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11307     ;;
11308   esac
11309   # Ok, now we have the path, separated by spaces, we can step through it
11310   # and add multilib dir if necessary.
11311   lt_tmp_lt_search_path_spec=
11312   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11313   for lt_sys_path in $lt_search_path_spec; do
11314     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11315       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11316     else
11317       test -d "$lt_sys_path" && \
11318         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11319     fi
11320   done
11321   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11322 BEGIN {RS=" "; FS="/|\n";} {
11323   lt_foo="";
11324   lt_count=0;
11325   for (lt_i = NF; lt_i > 0; lt_i--) {
11326     if ($lt_i != "" && $lt_i != ".") {
11327       if ($lt_i == "..") {
11328         lt_count++;
11329       } else {
11330         if (lt_count == 0) {
11331           lt_foo="/" $lt_i lt_foo;
11332         } else {
11333           lt_count--;
11334         }
11335       }
11336     }
11337   }
11338   if (lt_foo != "") { lt_freq[lt_foo]++; }
11339   if (lt_freq[lt_foo] == 1) { print lt_foo; }
11340 }'`
11341   # AWK program above erroneously prepends '/' to C:/dos/paths
11342   # for these hosts.
11343   case $host_os in
11344     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11345       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11346   esac
11347   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11348 else
11349   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11350 fi
11351 library_names_spec=
11352 libname_spec='lib$name'
11353 soname_spec=
11354 shrext_cmds=".so"
11355 postinstall_cmds=
11356 postuninstall_cmds=
11357 finish_cmds=
11358 finish_eval=
11359 shlibpath_var=
11360 shlibpath_overrides_runpath=unknown
11361 version_type=none
11362 dynamic_linker="$host_os ld.so"
11363 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11364 need_lib_prefix=unknown
11365 hardcode_into_libs=no
11366
11367 # when you set need_version to no, make sure it does not cause -set_version
11368 # flags to be left without arguments
11369 need_version=unknown
11370
11371 case $host_os in
11372 aix3*)
11373   version_type=linux # correct to gnu/linux during the next big refactor
11374   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11375   shlibpath_var=LIBPATH
11376
11377   # AIX 3 has no versioning support, so we append a major version to the name.
11378   soname_spec='${libname}${release}${shared_ext}$major'
11379   ;;
11380
11381 aix[4-9]*)
11382   version_type=linux # correct to gnu/linux during the next big refactor
11383   need_lib_prefix=no
11384   need_version=no
11385   hardcode_into_libs=yes
11386   if test "$host_cpu" = ia64; then
11387     # AIX 5 supports IA64
11388     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11389     shlibpath_var=LD_LIBRARY_PATH
11390   else
11391     # With GCC up to 2.95.x, collect2 would create an import file
11392     # for dependence libraries.  The import file would start with
11393     # the line `#! .'.  This would cause the generated library to
11394     # depend on `.', always an invalid library.  This was fixed in
11395     # development snapshots of GCC prior to 3.0.
11396     case $host_os in
11397       aix4 | aix4.[01] | aix4.[01].*)
11398       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11399            echo ' yes '
11400            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11401         :
11402       else
11403         can_build_shared=no
11404       fi
11405       ;;
11406     esac
11407     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11408     # soname into executable. Probably we can add versioning support to
11409     # collect2, so additional links can be useful in future.
11410     if test "$aix_use_runtimelinking" = yes; then
11411       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11412       # instead of lib<name>.a to let people know that these are not
11413       # typical AIX shared libraries.
11414       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11415     else
11416       # We preserve .a as extension for shared libraries through AIX4.2
11417       # and later when we are not doing run time linking.
11418       library_names_spec='${libname}${release}.a $libname.a'
11419       soname_spec='${libname}${release}${shared_ext}$major'
11420     fi
11421     shlibpath_var=LIBPATH
11422   fi
11423   ;;
11424
11425 amigaos*)
11426   case $host_cpu in
11427   powerpc)
11428     # Since July 2007 AmigaOS4 officially supports .so libraries.
11429     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11430     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11431     ;;
11432   m68k)
11433     library_names_spec='$libname.ixlibrary $libname.a'
11434     # Create ${libname}_ixlibrary.a entries in /sys/libs.
11435     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11436     ;;
11437   esac
11438   ;;
11439
11440 beos*)
11441   library_names_spec='${libname}${shared_ext}'
11442   dynamic_linker="$host_os ld.so"
11443   shlibpath_var=LIBRARY_PATH
11444   ;;
11445
11446 bsdi[45]*)
11447   version_type=linux # correct to gnu/linux during the next big refactor
11448   need_version=no
11449   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11450   soname_spec='${libname}${release}${shared_ext}$major'
11451   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11452   shlibpath_var=LD_LIBRARY_PATH
11453   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11454   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11455   # the default ld.so.conf also contains /usr/contrib/lib and
11456   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11457   # libtool to hard-code these into programs
11458   ;;
11459
11460 cygwin* | mingw* | pw32* | cegcc*)
11461   version_type=windows
11462   shrext_cmds=".dll"
11463   need_version=no
11464   need_lib_prefix=no
11465
11466   case $GCC,$cc_basename in
11467   yes,*)
11468     # gcc
11469     library_names_spec='$libname.dll.a'
11470     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11471     postinstall_cmds='base_file=`basename \${file}`~
11472       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11473       dldir=$destdir/`dirname \$dlpath`~
11474       test -d \$dldir || mkdir -p \$dldir~
11475       $install_prog $dir/$dlname \$dldir/$dlname~
11476       chmod a+x \$dldir/$dlname~
11477       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11478         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11479       fi'
11480     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11481       dlpath=$dir/\$dldll~
11482        $RM \$dlpath'
11483     shlibpath_overrides_runpath=yes
11484
11485     case $host_os in
11486     cygwin*)
11487       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11488       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11489
11490       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11491       ;;
11492     mingw* | cegcc*)
11493       # MinGW DLLs use traditional 'lib' prefix
11494       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11495       ;;
11496     pw32*)
11497       # pw32 DLLs use 'pw' prefix rather than 'lib'
11498       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11499       ;;
11500     esac
11501     dynamic_linker='Win32 ld.exe'
11502     ;;
11503
11504   *,cl*)
11505     # Native MSVC
11506     libname_spec='$name'
11507     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11508     library_names_spec='${libname}.dll.lib'
11509
11510     case $build_os in
11511     mingw*)
11512       sys_lib_search_path_spec=
11513       lt_save_ifs=$IFS
11514       IFS=';'
11515       for lt_path in $LIB
11516       do
11517         IFS=$lt_save_ifs
11518         # Let DOS variable expansion print the short 8.3 style file name.
11519         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11520         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11521       done
11522       IFS=$lt_save_ifs
11523       # Convert to MSYS style.
11524       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11525       ;;
11526     cygwin*)
11527       # Convert to unix form, then to dos form, then back to unix form
11528       # but this time dos style (no spaces!) so that the unix form looks
11529       # like /cygdrive/c/PROGRA~1:/cygdr...
11530       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11531       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11532       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11533       ;;
11534     *)
11535       sys_lib_search_path_spec="$LIB"
11536       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11537         # It is most probably a Windows format PATH.
11538         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11539       else
11540         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11541       fi
11542       # FIXME: find the short name or the path components, as spaces are
11543       # common. (e.g. "Program Files" -> "PROGRA~1")
11544       ;;
11545     esac
11546
11547     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11548     postinstall_cmds='base_file=`basename \${file}`~
11549       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11550       dldir=$destdir/`dirname \$dlpath`~
11551       test -d \$dldir || mkdir -p \$dldir~
11552       $install_prog $dir/$dlname \$dldir/$dlname'
11553     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11554       dlpath=$dir/\$dldll~
11555        $RM \$dlpath'
11556     shlibpath_overrides_runpath=yes
11557     dynamic_linker='Win32 link.exe'
11558     ;;
11559
11560   *)
11561     # Assume MSVC wrapper
11562     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11563     dynamic_linker='Win32 ld.exe'
11564     ;;
11565   esac
11566   # FIXME: first we should search . and the directory the executable is in
11567   shlibpath_var=PATH
11568   ;;
11569
11570 darwin* | rhapsody*)
11571   dynamic_linker="$host_os dyld"
11572   version_type=darwin
11573   need_lib_prefix=no
11574   need_version=no
11575   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11576   soname_spec='${libname}${release}${major}$shared_ext'
11577   shlibpath_overrides_runpath=yes
11578   shlibpath_var=DYLD_LIBRARY_PATH
11579   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11580
11581   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11582   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11583   ;;
11584
11585 dgux*)
11586   version_type=linux # correct to gnu/linux during the next big refactor
11587   need_lib_prefix=no
11588   need_version=no
11589   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11590   soname_spec='${libname}${release}${shared_ext}$major'
11591   shlibpath_var=LD_LIBRARY_PATH
11592   ;;
11593
11594 freebsd* | dragonfly*)
11595   # DragonFly does not have aout.  When/if they implement a new
11596   # versioning mechanism, adjust this.
11597   if test -x /usr/bin/objformat; then
11598     objformat=`/usr/bin/objformat`
11599   else
11600     case $host_os in
11601     freebsd[23].*) objformat=aout ;;
11602     *) objformat=elf ;;
11603     esac
11604   fi
11605   version_type=freebsd-$objformat
11606   case $version_type in
11607     freebsd-elf*)
11608       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11609       need_version=no
11610       need_lib_prefix=no
11611       ;;
11612     freebsd-*)
11613       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11614       need_version=yes
11615       ;;
11616   esac
11617   shlibpath_var=LD_LIBRARY_PATH
11618   case $host_os in
11619   freebsd2.*)
11620     shlibpath_overrides_runpath=yes
11621     ;;
11622   freebsd3.[01]* | freebsdelf3.[01]*)
11623     shlibpath_overrides_runpath=yes
11624     hardcode_into_libs=yes
11625     ;;
11626   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11627   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11628     shlibpath_overrides_runpath=no
11629     hardcode_into_libs=yes
11630     ;;
11631   *) # from 4.6 on, and DragonFly
11632     shlibpath_overrides_runpath=yes
11633     hardcode_into_libs=yes
11634     ;;
11635   esac
11636   ;;
11637
11638 haiku*)
11639   version_type=linux # correct to gnu/linux during the next big refactor
11640   need_lib_prefix=no
11641   need_version=no
11642   dynamic_linker="$host_os runtime_loader"
11643   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11644   soname_spec='${libname}${release}${shared_ext}$major'
11645   shlibpath_var=LIBRARY_PATH
11646   shlibpath_overrides_runpath=yes
11647   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11648   hardcode_into_libs=yes
11649   ;;
11650
11651 hpux9* | hpux10* | hpux11*)
11652   # Give a soname corresponding to the major version so that dld.sl refuses to
11653   # link against other versions.
11654   version_type=sunos
11655   need_lib_prefix=no
11656   need_version=no
11657   case $host_cpu in
11658   ia64*)
11659     shrext_cmds='.so'
11660     hardcode_into_libs=yes
11661     dynamic_linker="$host_os dld.so"
11662     shlibpath_var=LD_LIBRARY_PATH
11663     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11664     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11665     soname_spec='${libname}${release}${shared_ext}$major'
11666     if test "X$HPUX_IA64_MODE" = X32; then
11667       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11668     else
11669       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11670     fi
11671     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11672     ;;
11673   hppa*64*)
11674     shrext_cmds='.sl'
11675     hardcode_into_libs=yes
11676     dynamic_linker="$host_os dld.sl"
11677     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11678     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11679     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11680     soname_spec='${libname}${release}${shared_ext}$major'
11681     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11682     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11683     ;;
11684   *)
11685     shrext_cmds='.sl'
11686     dynamic_linker="$host_os dld.sl"
11687     shlibpath_var=SHLIB_PATH
11688     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11689     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11690     soname_spec='${libname}${release}${shared_ext}$major'
11691     ;;
11692   esac
11693   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11694   postinstall_cmds='chmod 555 $lib'
11695   # or fails outright, so override atomically:
11696   install_override_mode=555
11697   ;;
11698
11699 interix[3-9]*)
11700   version_type=linux # correct to gnu/linux during the next big refactor
11701   need_lib_prefix=no
11702   need_version=no
11703   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11704   soname_spec='${libname}${release}${shared_ext}$major'
11705   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11706   shlibpath_var=LD_LIBRARY_PATH
11707   shlibpath_overrides_runpath=no
11708   hardcode_into_libs=yes
11709   ;;
11710
11711 irix5* | irix6* | nonstopux*)
11712   case $host_os in
11713     nonstopux*) version_type=nonstopux ;;
11714     *)
11715         if test "$lt_cv_prog_gnu_ld" = yes; then
11716                 version_type=linux # correct to gnu/linux during the next big refactor
11717         else
11718                 version_type=irix
11719         fi ;;
11720   esac
11721   need_lib_prefix=no
11722   need_version=no
11723   soname_spec='${libname}${release}${shared_ext}$major'
11724   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11725   case $host_os in
11726   irix5* | nonstopux*)
11727     libsuff= shlibsuff=
11728     ;;
11729   *)
11730     case $LD in # libtool.m4 will add one of these switches to LD
11731     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11732       libsuff= shlibsuff= libmagic=32-bit;;
11733     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11734       libsuff=32 shlibsuff=N32 libmagic=N32;;
11735     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11736       libsuff=64 shlibsuff=64 libmagic=64-bit;;
11737     *) libsuff= shlibsuff= libmagic=never-match;;
11738     esac
11739     ;;
11740   esac
11741   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11742   shlibpath_overrides_runpath=no
11743   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11744   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11745   hardcode_into_libs=yes
11746   ;;
11747
11748 # No shared lib support for Linux oldld, aout, or coff.
11749 linux*oldld* | linux*aout* | linux*coff*)
11750   dynamic_linker=no
11751   ;;
11752
11753 # This must be glibc/ELF.
11754 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11755   version_type=linux # correct to gnu/linux during the next big refactor
11756   need_lib_prefix=no
11757   need_version=no
11758   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11759   soname_spec='${libname}${release}${shared_ext}$major'
11760   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11761   shlibpath_var=LD_LIBRARY_PATH
11762   shlibpath_overrides_runpath=no
11763
11764   # Some binutils ld are patched to set DT_RUNPATH
11765   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11766   $as_echo_n "(cached) " >&6
11767 else
11768   lt_cv_shlibpath_overrides_runpath=no
11769     save_LDFLAGS=$LDFLAGS
11770     save_libdir=$libdir
11771     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11772          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11773     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11774 /* end confdefs.h.  */
11775
11776 int
11777 main ()
11778 {
11779
11780   ;
11781   return 0;
11782 }
11783 _ACEOF
11784 if ac_fn_c_try_link "$LINENO"; then :
11785   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11786   lt_cv_shlibpath_overrides_runpath=yes
11787 fi
11788 fi
11789 rm -f core conftest.err conftest.$ac_objext \
11790     conftest$ac_exeext conftest.$ac_ext
11791     LDFLAGS=$save_LDFLAGS
11792     libdir=$save_libdir
11793
11794 fi
11795
11796   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11797
11798   # This implies no fast_install, which is unacceptable.
11799   # Some rework will be needed to allow for fast_install
11800   # before this can be enabled.
11801   hardcode_into_libs=yes
11802
11803   # Append ld.so.conf contents to the search path
11804   if test -f /etc/ld.so.conf; then
11805     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11806     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11807   fi
11808
11809   # We used to test for /lib/ld.so.1 and disable shared libraries on
11810   # powerpc, because MkLinux only supported shared libraries with the
11811   # GNU dynamic linker.  Since this was broken with cross compilers,
11812   # most powerpc-linux boxes support dynamic linking these days and
11813   # people can always --disable-shared, the test was removed, and we
11814   # assume the GNU/Linux dynamic linker is in use.
11815   dynamic_linker='GNU/Linux ld.so'
11816   ;;
11817
11818 netbsdelf*-gnu)
11819   version_type=linux
11820   need_lib_prefix=no
11821   need_version=no
11822   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11823   soname_spec='${libname}${release}${shared_ext}$major'
11824   shlibpath_var=LD_LIBRARY_PATH
11825   shlibpath_overrides_runpath=no
11826   hardcode_into_libs=yes
11827   dynamic_linker='NetBSD ld.elf_so'
11828   ;;
11829
11830 netbsd*)
11831   version_type=sunos
11832   need_lib_prefix=no
11833   need_version=no
11834   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11835     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11836     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11837     dynamic_linker='NetBSD (a.out) ld.so'
11838   else
11839     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11840     soname_spec='${libname}${release}${shared_ext}$major'
11841     dynamic_linker='NetBSD ld.elf_so'
11842   fi
11843   shlibpath_var=LD_LIBRARY_PATH
11844   shlibpath_overrides_runpath=yes
11845   hardcode_into_libs=yes
11846   ;;
11847
11848 newsos6)
11849   version_type=linux # correct to gnu/linux during the next big refactor
11850   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11851   shlibpath_var=LD_LIBRARY_PATH
11852   shlibpath_overrides_runpath=yes
11853   ;;
11854
11855 *nto* | *qnx*)
11856   version_type=qnx
11857   need_lib_prefix=no
11858   need_version=no
11859   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11860   soname_spec='${libname}${release}${shared_ext}$major'
11861   shlibpath_var=LD_LIBRARY_PATH
11862   shlibpath_overrides_runpath=no
11863   hardcode_into_libs=yes
11864   dynamic_linker='ldqnx.so'
11865   ;;
11866
11867 openbsd*)
11868   version_type=sunos
11869   sys_lib_dlsearch_path_spec="/usr/lib"
11870   need_lib_prefix=no
11871   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11872   case $host_os in
11873     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11874     *)                          need_version=no  ;;
11875   esac
11876   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11877   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11878   shlibpath_var=LD_LIBRARY_PATH
11879   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11880     case $host_os in
11881       openbsd2.[89] | openbsd2.[89].*)
11882         shlibpath_overrides_runpath=no
11883         ;;
11884       *)
11885         shlibpath_overrides_runpath=yes
11886         ;;
11887       esac
11888   else
11889     shlibpath_overrides_runpath=yes
11890   fi
11891   ;;
11892
11893 os2*)
11894   libname_spec='$name'
11895   shrext_cmds=".dll"
11896   need_lib_prefix=no
11897   library_names_spec='$libname${shared_ext} $libname.a'
11898   dynamic_linker='OS/2 ld.exe'
11899   shlibpath_var=LIBPATH
11900   ;;
11901
11902 osf3* | osf4* | osf5*)
11903   version_type=osf
11904   need_lib_prefix=no
11905   need_version=no
11906   soname_spec='${libname}${release}${shared_ext}$major'
11907   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11908   shlibpath_var=LD_LIBRARY_PATH
11909   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11910   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11911   ;;
11912
11913 rdos*)
11914   dynamic_linker=no
11915   ;;
11916
11917 solaris*)
11918   version_type=linux # correct to gnu/linux during the next big refactor
11919   need_lib_prefix=no
11920   need_version=no
11921   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11922   soname_spec='${libname}${release}${shared_ext}$major'
11923   shlibpath_var=LD_LIBRARY_PATH
11924   shlibpath_overrides_runpath=yes
11925   hardcode_into_libs=yes
11926   # ldd complains unless libraries are executable
11927   postinstall_cmds='chmod +x $lib'
11928   ;;
11929
11930 sunos4*)
11931   version_type=sunos
11932   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11933   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11934   shlibpath_var=LD_LIBRARY_PATH
11935   shlibpath_overrides_runpath=yes
11936   if test "$with_gnu_ld" = yes; then
11937     need_lib_prefix=no
11938   fi
11939   need_version=yes
11940   ;;
11941
11942 sysv4 | sysv4.3*)
11943   version_type=linux # correct to gnu/linux during the next big refactor
11944   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11945   soname_spec='${libname}${release}${shared_ext}$major'
11946   shlibpath_var=LD_LIBRARY_PATH
11947   case $host_vendor in
11948     sni)
11949       shlibpath_overrides_runpath=no
11950       need_lib_prefix=no
11951       runpath_var=LD_RUN_PATH
11952       ;;
11953     siemens)
11954       need_lib_prefix=no
11955       ;;
11956     motorola)
11957       need_lib_prefix=no
11958       need_version=no
11959       shlibpath_overrides_runpath=no
11960       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11961       ;;
11962   esac
11963   ;;
11964
11965 sysv4*MP*)
11966   if test -d /usr/nec ;then
11967     version_type=linux # correct to gnu/linux during the next big refactor
11968     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11969     soname_spec='$libname${shared_ext}.$major'
11970     shlibpath_var=LD_LIBRARY_PATH
11971   fi
11972   ;;
11973
11974 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11975   version_type=freebsd-elf
11976   need_lib_prefix=no
11977   need_version=no
11978   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11979   soname_spec='${libname}${release}${shared_ext}$major'
11980   shlibpath_var=LD_LIBRARY_PATH
11981   shlibpath_overrides_runpath=yes
11982   hardcode_into_libs=yes
11983   if test "$with_gnu_ld" = yes; then
11984     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11985   else
11986     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11987     case $host_os in
11988       sco3.2v5*)
11989         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11990         ;;
11991     esac
11992   fi
11993   sys_lib_dlsearch_path_spec='/usr/lib'
11994   ;;
11995
11996 tpf*)
11997   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11998   version_type=linux # correct to gnu/linux during the next big refactor
11999   need_lib_prefix=no
12000   need_version=no
12001   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12002   shlibpath_var=LD_LIBRARY_PATH
12003   shlibpath_overrides_runpath=no
12004   hardcode_into_libs=yes
12005   ;;
12006
12007 uts4*)
12008   version_type=linux # correct to gnu/linux during the next big refactor
12009   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12010   soname_spec='${libname}${release}${shared_ext}$major'
12011   shlibpath_var=LD_LIBRARY_PATH
12012   ;;
12013
12014 *)
12015   dynamic_linker=no
12016   ;;
12017 esac
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12019 $as_echo "$dynamic_linker" >&6; }
12020 test "$dynamic_linker" = no && can_build_shared=no
12021
12022 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12023 if test "$GCC" = yes; then
12024   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12025 fi
12026
12027 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12028   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12029 fi
12030 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12031   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12032 fi
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12126 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12127 hardcode_action=
12128 if test -n "$hardcode_libdir_flag_spec" ||
12129    test -n "$runpath_var" ||
12130    test "X$hardcode_automatic" = "Xyes" ; then
12131
12132   # We can hardcode non-existent directories.
12133   if test "$hardcode_direct" != no &&
12134      # If the only mechanism to avoid hardcoding is shlibpath_var, we
12135      # have to relink, otherwise we might link with an installed library
12136      # when we should be linking with a yet-to-be-installed one
12137      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12138      test "$hardcode_minus_L" != no; then
12139     # Linking always hardcodes the temporary library directory.
12140     hardcode_action=relink
12141   else
12142     # We can link without hardcoding, and we can hardcode nonexisting dirs.
12143     hardcode_action=immediate
12144   fi
12145 else
12146   # We cannot hardcode anything, or else we can only hardcode existing
12147   # directories.
12148   hardcode_action=unsupported
12149 fi
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12151 $as_echo "$hardcode_action" >&6; }
12152
12153 if test "$hardcode_action" = relink ||
12154    test "$inherit_rpath" = yes; then
12155   # Fast installation is not supported
12156   enable_fast_install=no
12157 elif test "$shlibpath_overrides_runpath" = yes ||
12158      test "$enable_shared" = no; then
12159   # Fast installation is not necessary
12160   enable_fast_install=needless
12161 fi
12162
12163
12164
12165
12166
12167
12168   if test "x$enable_dlopen" != xyes; then
12169   enable_dlopen=unknown
12170   enable_dlopen_self=unknown
12171   enable_dlopen_self_static=unknown
12172 else
12173   lt_cv_dlopen=no
12174   lt_cv_dlopen_libs=
12175
12176   case $host_os in
12177   beos*)
12178     lt_cv_dlopen="load_add_on"
12179     lt_cv_dlopen_libs=
12180     lt_cv_dlopen_self=yes
12181     ;;
12182
12183   mingw* | pw32* | cegcc*)
12184     lt_cv_dlopen="LoadLibrary"
12185     lt_cv_dlopen_libs=
12186     ;;
12187
12188   cygwin*)
12189     lt_cv_dlopen="dlopen"
12190     lt_cv_dlopen_libs=
12191     ;;
12192
12193   darwin*)
12194   # if libdl is installed we need to link against it
12195     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12196 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12197 if ${ac_cv_lib_dl_dlopen+:} false; then :
12198   $as_echo_n "(cached) " >&6
12199 else
12200   ac_check_lib_save_LIBS=$LIBS
12201 LIBS="-ldl  $LIBS"
12202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12203 /* end confdefs.h.  */
12204
12205 /* Override any GCC internal prototype to avoid an error.
12206    Use char because int might match the return type of a GCC
12207    builtin and then its argument prototype would still apply.  */
12208 #ifdef __cplusplus
12209 extern "C"
12210 #endif
12211 char dlopen ();
12212 int
12213 main ()
12214 {
12215 return dlopen ();
12216   ;
12217   return 0;
12218 }
12219 _ACEOF
12220 if ac_fn_c_try_link "$LINENO"; then :
12221   ac_cv_lib_dl_dlopen=yes
12222 else
12223   ac_cv_lib_dl_dlopen=no
12224 fi
12225 rm -f core conftest.err conftest.$ac_objext \
12226     conftest$ac_exeext conftest.$ac_ext
12227 LIBS=$ac_check_lib_save_LIBS
12228 fi
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12230 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12231 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12232   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12233 else
12234
12235     lt_cv_dlopen="dyld"
12236     lt_cv_dlopen_libs=
12237     lt_cv_dlopen_self=yes
12238
12239 fi
12240
12241     ;;
12242
12243   *)
12244     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12245 if test "x$ac_cv_func_shl_load" = xyes; then :
12246   lt_cv_dlopen="shl_load"
12247 else
12248   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12249 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12250 if ${ac_cv_lib_dld_shl_load+:} false; then :
12251   $as_echo_n "(cached) " >&6
12252 else
12253   ac_check_lib_save_LIBS=$LIBS
12254 LIBS="-ldld  $LIBS"
12255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12256 /* end confdefs.h.  */
12257
12258 /* Override any GCC internal prototype to avoid an error.
12259    Use char because int might match the return type of a GCC
12260    builtin and then its argument prototype would still apply.  */
12261 #ifdef __cplusplus
12262 extern "C"
12263 #endif
12264 char shl_load ();
12265 int
12266 main ()
12267 {
12268 return shl_load ();
12269   ;
12270   return 0;
12271 }
12272 _ACEOF
12273 if ac_fn_c_try_link "$LINENO"; then :
12274   ac_cv_lib_dld_shl_load=yes
12275 else
12276   ac_cv_lib_dld_shl_load=no
12277 fi
12278 rm -f core conftest.err conftest.$ac_objext \
12279     conftest$ac_exeext conftest.$ac_ext
12280 LIBS=$ac_check_lib_save_LIBS
12281 fi
12282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12283 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12284 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12285   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12286 else
12287   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12288 if test "x$ac_cv_func_dlopen" = xyes; then :
12289   lt_cv_dlopen="dlopen"
12290 else
12291   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12292 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12293 if ${ac_cv_lib_dl_dlopen+:} false; then :
12294   $as_echo_n "(cached) " >&6
12295 else
12296   ac_check_lib_save_LIBS=$LIBS
12297 LIBS="-ldl  $LIBS"
12298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12299 /* end confdefs.h.  */
12300
12301 /* Override any GCC internal prototype to avoid an error.
12302    Use char because int might match the return type of a GCC
12303    builtin and then its argument prototype would still apply.  */
12304 #ifdef __cplusplus
12305 extern "C"
12306 #endif
12307 char dlopen ();
12308 int
12309 main ()
12310 {
12311 return dlopen ();
12312   ;
12313   return 0;
12314 }
12315 _ACEOF
12316 if ac_fn_c_try_link "$LINENO"; then :
12317   ac_cv_lib_dl_dlopen=yes
12318 else
12319   ac_cv_lib_dl_dlopen=no
12320 fi
12321 rm -f core conftest.err conftest.$ac_objext \
12322     conftest$ac_exeext conftest.$ac_ext
12323 LIBS=$ac_check_lib_save_LIBS
12324 fi
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12326 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12327 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12328   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12329 else
12330   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12331 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12332 if ${ac_cv_lib_svld_dlopen+:} false; then :
12333   $as_echo_n "(cached) " >&6
12334 else
12335   ac_check_lib_save_LIBS=$LIBS
12336 LIBS="-lsvld  $LIBS"
12337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12338 /* end confdefs.h.  */
12339
12340 /* Override any GCC internal prototype to avoid an error.
12341    Use char because int might match the return type of a GCC
12342    builtin and then its argument prototype would still apply.  */
12343 #ifdef __cplusplus
12344 extern "C"
12345 #endif
12346 char dlopen ();
12347 int
12348 main ()
12349 {
12350 return dlopen ();
12351   ;
12352   return 0;
12353 }
12354 _ACEOF
12355 if ac_fn_c_try_link "$LINENO"; then :
12356   ac_cv_lib_svld_dlopen=yes
12357 else
12358   ac_cv_lib_svld_dlopen=no
12359 fi
12360 rm -f core conftest.err conftest.$ac_objext \
12361     conftest$ac_exeext conftest.$ac_ext
12362 LIBS=$ac_check_lib_save_LIBS
12363 fi
12364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12365 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12366 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12367   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12368 else
12369   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12370 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12371 if ${ac_cv_lib_dld_dld_link+:} false; then :
12372   $as_echo_n "(cached) " >&6
12373 else
12374   ac_check_lib_save_LIBS=$LIBS
12375 LIBS="-ldld  $LIBS"
12376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12377 /* end confdefs.h.  */
12378
12379 /* Override any GCC internal prototype to avoid an error.
12380    Use char because int might match the return type of a GCC
12381    builtin and then its argument prototype would still apply.  */
12382 #ifdef __cplusplus
12383 extern "C"
12384 #endif
12385 char dld_link ();
12386 int
12387 main ()
12388 {
12389 return dld_link ();
12390   ;
12391   return 0;
12392 }
12393 _ACEOF
12394 if ac_fn_c_try_link "$LINENO"; then :
12395   ac_cv_lib_dld_dld_link=yes
12396 else
12397   ac_cv_lib_dld_dld_link=no
12398 fi
12399 rm -f core conftest.err conftest.$ac_objext \
12400     conftest$ac_exeext conftest.$ac_ext
12401 LIBS=$ac_check_lib_save_LIBS
12402 fi
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12404 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12405 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12406   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12407 fi
12408
12409
12410 fi
12411
12412
12413 fi
12414
12415
12416 fi
12417
12418
12419 fi
12420
12421
12422 fi
12423
12424     ;;
12425   esac
12426
12427   if test "x$lt_cv_dlopen" != xno; then
12428     enable_dlopen=yes
12429   else
12430     enable_dlopen=no
12431   fi
12432
12433   case $lt_cv_dlopen in
12434   dlopen)
12435     save_CPPFLAGS="$CPPFLAGS"
12436     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12437
12438     save_LDFLAGS="$LDFLAGS"
12439     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12440
12441     save_LIBS="$LIBS"
12442     LIBS="$lt_cv_dlopen_libs $LIBS"
12443
12444     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12445 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12446 if ${lt_cv_dlopen_self+:} false; then :
12447   $as_echo_n "(cached) " >&6
12448 else
12449           if test "$cross_compiling" = yes; then :
12450   lt_cv_dlopen_self=cross
12451 else
12452   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12453   lt_status=$lt_dlunknown
12454   cat > conftest.$ac_ext <<_LT_EOF
12455 #line $LINENO "configure"
12456 #include "confdefs.h"
12457
12458 #if HAVE_DLFCN_H
12459 #include <dlfcn.h>
12460 #endif
12461
12462 #include <stdio.h>
12463
12464 #ifdef RTLD_GLOBAL
12465 #  define LT_DLGLOBAL           RTLD_GLOBAL
12466 #else
12467 #  ifdef DL_GLOBAL
12468 #    define LT_DLGLOBAL         DL_GLOBAL
12469 #  else
12470 #    define LT_DLGLOBAL         0
12471 #  endif
12472 #endif
12473
12474 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12475    find out it does not work in some platform. */
12476 #ifndef LT_DLLAZY_OR_NOW
12477 #  ifdef RTLD_LAZY
12478 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12479 #  else
12480 #    ifdef DL_LAZY
12481 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12482 #    else
12483 #      ifdef RTLD_NOW
12484 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12485 #      else
12486 #        ifdef DL_NOW
12487 #          define LT_DLLAZY_OR_NOW      DL_NOW
12488 #        else
12489 #          define LT_DLLAZY_OR_NOW      0
12490 #        endif
12491 #      endif
12492 #    endif
12493 #  endif
12494 #endif
12495
12496 /* When -fvisbility=hidden is used, assume the code has been annotated
12497    correspondingly for the symbols needed.  */
12498 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12499 int fnord () __attribute__((visibility("default")));
12500 #endif
12501
12502 int fnord () { return 42; }
12503 int main ()
12504 {
12505   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12506   int status = $lt_dlunknown;
12507
12508   if (self)
12509     {
12510       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12511       else
12512         {
12513           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12514           else puts (dlerror ());
12515         }
12516       /* dlclose (self); */
12517     }
12518   else
12519     puts (dlerror ());
12520
12521   return status;
12522 }
12523 _LT_EOF
12524   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12525   (eval $ac_link) 2>&5
12526   ac_status=$?
12527   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12528   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12529     (./conftest; exit; ) >&5 2>/dev/null
12530     lt_status=$?
12531     case x$lt_status in
12532       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12533       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12534       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12535     esac
12536   else :
12537     # compilation failed
12538     lt_cv_dlopen_self=no
12539   fi
12540 fi
12541 rm -fr conftest*
12542
12543
12544 fi
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12546 $as_echo "$lt_cv_dlopen_self" >&6; }
12547
12548     if test "x$lt_cv_dlopen_self" = xyes; then
12549       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12550       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12551 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12552 if ${lt_cv_dlopen_self_static+:} false; then :
12553   $as_echo_n "(cached) " >&6
12554 else
12555           if test "$cross_compiling" = yes; then :
12556   lt_cv_dlopen_self_static=cross
12557 else
12558   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12559   lt_status=$lt_dlunknown
12560   cat > conftest.$ac_ext <<_LT_EOF
12561 #line $LINENO "configure"
12562 #include "confdefs.h"
12563
12564 #if HAVE_DLFCN_H
12565 #include <dlfcn.h>
12566 #endif
12567
12568 #include <stdio.h>
12569
12570 #ifdef RTLD_GLOBAL
12571 #  define LT_DLGLOBAL           RTLD_GLOBAL
12572 #else
12573 #  ifdef DL_GLOBAL
12574 #    define LT_DLGLOBAL         DL_GLOBAL
12575 #  else
12576 #    define LT_DLGLOBAL         0
12577 #  endif
12578 #endif
12579
12580 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12581    find out it does not work in some platform. */
12582 #ifndef LT_DLLAZY_OR_NOW
12583 #  ifdef RTLD_LAZY
12584 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12585 #  else
12586 #    ifdef DL_LAZY
12587 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12588 #    else
12589 #      ifdef RTLD_NOW
12590 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12591 #      else
12592 #        ifdef DL_NOW
12593 #          define LT_DLLAZY_OR_NOW      DL_NOW
12594 #        else
12595 #          define LT_DLLAZY_OR_NOW      0
12596 #        endif
12597 #      endif
12598 #    endif
12599 #  endif
12600 #endif
12601
12602 /* When -fvisbility=hidden is used, assume the code has been annotated
12603    correspondingly for the symbols needed.  */
12604 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12605 int fnord () __attribute__((visibility("default")));
12606 #endif
12607
12608 int fnord () { return 42; }
12609 int main ()
12610 {
12611   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12612   int status = $lt_dlunknown;
12613
12614   if (self)
12615     {
12616       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12617       else
12618         {
12619           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12620           else puts (dlerror ());
12621         }
12622       /* dlclose (self); */
12623     }
12624   else
12625     puts (dlerror ());
12626
12627   return status;
12628 }
12629 _LT_EOF
12630   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12631   (eval $ac_link) 2>&5
12632   ac_status=$?
12633   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12634   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12635     (./conftest; exit; ) >&5 2>/dev/null
12636     lt_status=$?
12637     case x$lt_status in
12638       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12639       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12640       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12641     esac
12642   else :
12643     # compilation failed
12644     lt_cv_dlopen_self_static=no
12645   fi
12646 fi
12647 rm -fr conftest*
12648
12649
12650 fi
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12652 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12653     fi
12654
12655     CPPFLAGS="$save_CPPFLAGS"
12656     LDFLAGS="$save_LDFLAGS"
12657     LIBS="$save_LIBS"
12658     ;;
12659   esac
12660
12661   case $lt_cv_dlopen_self in
12662   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12663   *) enable_dlopen_self=unknown ;;
12664   esac
12665
12666   case $lt_cv_dlopen_self_static in
12667   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12668   *) enable_dlopen_self_static=unknown ;;
12669   esac
12670 fi
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688 striplib=
12689 old_striplib=
12690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12691 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12692 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12693   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12694   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12696 $as_echo "yes" >&6; }
12697 else
12698 # FIXME - insert some real tests, host_os isn't really good enough
12699   case $host_os in
12700   darwin*)
12701     if test -n "$STRIP" ; then
12702       striplib="$STRIP -x"
12703       old_striplib="$STRIP -S"
12704       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12705 $as_echo "yes" >&6; }
12706     else
12707       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12708 $as_echo "no" >&6; }
12709     fi
12710     ;;
12711   *)
12712     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12713 $as_echo "no" >&6; }
12714     ;;
12715   esac
12716 fi
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729   # Report which library types will actually be built
12730   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12731 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12732   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12733 $as_echo "$can_build_shared" >&6; }
12734
12735   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12736 $as_echo_n "checking whether to build shared libraries... " >&6; }
12737   test "$can_build_shared" = "no" && enable_shared=no
12738
12739   # On AIX, shared libraries and static libraries use the same namespace, and
12740   # are all built from PIC.
12741   case $host_os in
12742   aix3*)
12743     test "$enable_shared" = yes && enable_static=no
12744     if test -n "$RANLIB"; then
12745       archive_cmds="$archive_cmds~\$RANLIB \$lib"
12746       postinstall_cmds='$RANLIB $lib'
12747     fi
12748     ;;
12749
12750   aix[4-9]*)
12751     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12752       test "$enable_shared" = yes && enable_static=no
12753     fi
12754     ;;
12755   esac
12756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12757 $as_echo "$enable_shared" >&6; }
12758
12759   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12760 $as_echo_n "checking whether to build static libraries... " >&6; }
12761   # Make sure either enable_shared or enable_static is yes.
12762   test "$enable_shared" = yes || enable_static=yes
12763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12764 $as_echo "$enable_static" >&6; }
12765
12766
12767
12768
12769 fi
12770 ac_ext=c
12771 ac_cpp='$CPP $CPPFLAGS'
12772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12775
12776 CC="$lt_save_CC"
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792         ac_config_commands="$ac_config_commands libtool"
12793
12794
12795
12796
12797 # Only expand once:
12798
12799
12800
12801 # Check whether --enable-largefile was given.
12802 if test "${enable_largefile+set}" = set; then :
12803   enableval=$enable_largefile;
12804 fi
12805
12806 if test "$enable_largefile" != no; then
12807
12808   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
12809 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
12810 if ${ac_cv_sys_largefile_CC+:} false; then :
12811   $as_echo_n "(cached) " >&6
12812 else
12813   ac_cv_sys_largefile_CC=no
12814      if test "$GCC" != yes; then
12815        ac_save_CC=$CC
12816        while :; do
12817          # IRIX 6.2 and later do not support large files by default,
12818          # so use the C compiler's -n32 option if that helps.
12819          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12820 /* end confdefs.h.  */
12821 #include <sys/types.h>
12822  /* Check that off_t can represent 2**63 - 1 correctly.
12823     We can't simply define LARGE_OFF_T to be 9223372036854775807,
12824     since some C++ compilers masquerading as C compilers
12825     incorrectly reject 9223372036854775807.  */
12826 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
12827   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12828                        && LARGE_OFF_T % 2147483647 == 1)
12829                       ? 1 : -1];
12830 int
12831 main ()
12832 {
12833
12834   ;
12835   return 0;
12836 }
12837 _ACEOF
12838          if ac_fn_c_try_compile "$LINENO"; then :
12839   break
12840 fi
12841 rm -f core conftest.err conftest.$ac_objext
12842          CC="$CC -n32"
12843          if ac_fn_c_try_compile "$LINENO"; then :
12844   ac_cv_sys_largefile_CC=' -n32'; break
12845 fi
12846 rm -f core conftest.err conftest.$ac_objext
12847          break
12848        done
12849        CC=$ac_save_CC
12850        rm -f conftest.$ac_ext
12851     fi
12852 fi
12853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
12854 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
12855   if test "$ac_cv_sys_largefile_CC" != no; then
12856     CC=$CC$ac_cv_sys_largefile_CC
12857   fi
12858
12859   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
12860 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
12861 if ${ac_cv_sys_file_offset_bits+:} false; then :
12862   $as_echo_n "(cached) " >&6
12863 else
12864   while :; do
12865   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12866 /* end confdefs.h.  */
12867 #include <sys/types.h>
12868  /* Check that off_t can represent 2**63 - 1 correctly.
12869     We can't simply define LARGE_OFF_T to be 9223372036854775807,
12870     since some C++ compilers masquerading as C compilers
12871     incorrectly reject 9223372036854775807.  */
12872 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
12873   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12874                        && LARGE_OFF_T % 2147483647 == 1)
12875                       ? 1 : -1];
12876 int
12877 main ()
12878 {
12879
12880   ;
12881   return 0;
12882 }
12883 _ACEOF
12884 if ac_fn_c_try_compile "$LINENO"; then :
12885   ac_cv_sys_file_offset_bits=no; break
12886 fi
12887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12888   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12889 /* end confdefs.h.  */
12890 #define _FILE_OFFSET_BITS 64
12891 #include <sys/types.h>
12892  /* Check that off_t can represent 2**63 - 1 correctly.
12893     We can't simply define LARGE_OFF_T to be 9223372036854775807,
12894     since some C++ compilers masquerading as C compilers
12895     incorrectly reject 9223372036854775807.  */
12896 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
12897   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12898                        && LARGE_OFF_T % 2147483647 == 1)
12899                       ? 1 : -1];
12900 int
12901 main ()
12902 {
12903
12904   ;
12905   return 0;
12906 }
12907 _ACEOF
12908 if ac_fn_c_try_compile "$LINENO"; then :
12909   ac_cv_sys_file_offset_bits=64; break
12910 fi
12911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12912   ac_cv_sys_file_offset_bits=unknown
12913   break
12914 done
12915 fi
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
12917 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
12918 case $ac_cv_sys_file_offset_bits in #(
12919   no | unknown) ;;
12920   *)
12921 cat >>confdefs.h <<_ACEOF
12922 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
12923 _ACEOF
12924 ;;
12925 esac
12926 rm -rf conftest*
12927   if test $ac_cv_sys_file_offset_bits = unknown; then
12928     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
12929 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
12930 if ${ac_cv_sys_large_files+:} false; then :
12931   $as_echo_n "(cached) " >&6
12932 else
12933   while :; do
12934   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12935 /* end confdefs.h.  */
12936 #include <sys/types.h>
12937  /* Check that off_t can represent 2**63 - 1 correctly.
12938     We can't simply define LARGE_OFF_T to be 9223372036854775807,
12939     since some C++ compilers masquerading as C compilers
12940     incorrectly reject 9223372036854775807.  */
12941 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
12942   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12943                        && LARGE_OFF_T % 2147483647 == 1)
12944                       ? 1 : -1];
12945 int
12946 main ()
12947 {
12948
12949   ;
12950   return 0;
12951 }
12952 _ACEOF
12953 if ac_fn_c_try_compile "$LINENO"; then :
12954   ac_cv_sys_large_files=no; break
12955 fi
12956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12957   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12958 /* end confdefs.h.  */
12959 #define _LARGE_FILES 1
12960 #include <sys/types.h>
12961  /* Check that off_t can represent 2**63 - 1 correctly.
12962     We can't simply define LARGE_OFF_T to be 9223372036854775807,
12963     since some C++ compilers masquerading as C compilers
12964     incorrectly reject 9223372036854775807.  */
12965 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
12966   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12967                        && LARGE_OFF_T % 2147483647 == 1)
12968                       ? 1 : -1];
12969 int
12970 main ()
12971 {
12972
12973   ;
12974   return 0;
12975 }
12976 _ACEOF
12977 if ac_fn_c_try_compile "$LINENO"; then :
12978   ac_cv_sys_large_files=1; break
12979 fi
12980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12981   ac_cv_sys_large_files=unknown
12982   break
12983 done
12984 fi
12985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
12986 $as_echo "$ac_cv_sys_large_files" >&6; }
12987 case $ac_cv_sys_large_files in #(
12988   no | unknown) ;;
12989   *)
12990 cat >>confdefs.h <<_ACEOF
12991 #define _LARGE_FILES $ac_cv_sys_large_files
12992 _ACEOF
12993 ;;
12994 esac
12995 rm -rf conftest*
12996   fi
12997
12998
12999 fi
13000
13001
13002 for ac_prog in pod2man
13003 do
13004   # Extract the first word of "$ac_prog", so it can be a program name with args.
13005 set dummy $ac_prog; ac_word=$2
13006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13007 $as_echo_n "checking for $ac_word... " >&6; }
13008 if ${ac_cv_path_POD2MAN+:} false; then :
13009   $as_echo_n "(cached) " >&6
13010 else
13011   case $POD2MAN in
13012   [\\/]* | ?:[\\/]*)
13013   ac_cv_path_POD2MAN="$POD2MAN" # Let the user override the test with a path.
13014   ;;
13015   *)
13016   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13017 for as_dir in $PATH
13018 do
13019   IFS=$as_save_IFS
13020   test -z "$as_dir" && as_dir=.
13021     for ac_exec_ext in '' $ac_executable_extensions; do
13022   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13023     ac_cv_path_POD2MAN="$as_dir/$ac_word$ac_exec_ext"
13024     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13025     break 2
13026   fi
13027 done
13028   done
13029 IFS=$as_save_IFS
13030
13031   ;;
13032 esac
13033 fi
13034 POD2MAN=$ac_cv_path_POD2MAN
13035 if test -n "$POD2MAN"; then
13036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $POD2MAN" >&5
13037 $as_echo "$POD2MAN" >&6; }
13038 else
13039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13040 $as_echo "no" >&6; }
13041 fi
13042
13043
13044   test -n "$POD2MAN" && break
13045 done
13046
13047 test -z "${POD2MAN}" && as_fn_error $? "I couldn't find pod2man; make sure it's installed and in your path" "$LINENO" 5
13048
13049 for ac_prog in tar
13050 do
13051   # Extract the first word of "$ac_prog", so it can be a program name with args.
13052 set dummy $ac_prog; ac_word=$2
13053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13054 $as_echo_n "checking for $ac_word... " >&6; }
13055 if ${ac_cv_path_TAR+:} false; then :
13056   $as_echo_n "(cached) " >&6
13057 else
13058   case $TAR in
13059   [\\/]* | ?:[\\/]*)
13060   ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
13061   ;;
13062   *)
13063   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13064 for as_dir in $PATH
13065 do
13066   IFS=$as_save_IFS
13067   test -z "$as_dir" && as_dir=.
13068     for ac_exec_ext in '' $ac_executable_extensions; do
13069   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13070     ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
13071     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13072     break 2
13073   fi
13074 done
13075   done
13076 IFS=$as_save_IFS
13077
13078   ;;
13079 esac
13080 fi
13081 TAR=$ac_cv_path_TAR
13082 if test -n "$TAR"; then
13083   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5
13084 $as_echo "$TAR" >&6; }
13085 else
13086   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13087 $as_echo "no" >&6; }
13088 fi
13089
13090
13091   test -n "$TAR" && break
13092 done
13093
13094 for ac_prog in ps2pdf
13095 do
13096   # Extract the first word of "$ac_prog", so it can be a program name with args.
13097 set dummy $ac_prog; ac_word=$2
13098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13099 $as_echo_n "checking for $ac_word... " >&6; }
13100 if ${ac_cv_path_PS2PDF+:} false; then :
13101   $as_echo_n "(cached) " >&6
13102 else
13103   case $PS2PDF in
13104   [\\/]* | ?:[\\/]*)
13105   ac_cv_path_PS2PDF="$PS2PDF" # Let the user override the test with a path.
13106   ;;
13107   *)
13108   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13109 for as_dir in $PATH
13110 do
13111   IFS=$as_save_IFS
13112   test -z "$as_dir" && as_dir=.
13113     for ac_exec_ext in '' $ac_executable_extensions; do
13114   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13115     ac_cv_path_PS2PDF="$as_dir/$ac_word$ac_exec_ext"
13116     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13117     break 2
13118   fi
13119 done
13120   done
13121 IFS=$as_save_IFS
13122
13123   ;;
13124 esac
13125 fi
13126 PS2PDF=$ac_cv_path_PS2PDF
13127 if test -n "$PS2PDF"; then
13128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PS2PDF" >&5
13129 $as_echo "$PS2PDF" >&6; }
13130 else
13131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13132 $as_echo "no" >&6; }
13133 fi
13134
13135
13136   test -n "$PS2PDF" && break
13137 done
13138
13139 for ac_prog in dvips
13140 do
13141   # Extract the first word of "$ac_prog", so it can be a program name with args.
13142 set dummy $ac_prog; ac_word=$2
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13144 $as_echo_n "checking for $ac_word... " >&6; }
13145 if ${ac_cv_path_DVIPS+:} false; then :
13146   $as_echo_n "(cached) " >&6
13147 else
13148   case $DVIPS in
13149   [\\/]* | ?:[\\/]*)
13150   ac_cv_path_DVIPS="$DVIPS" # Let the user override the test with a path.
13151   ;;
13152   *)
13153   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13154 for as_dir in $PATH
13155 do
13156   IFS=$as_save_IFS
13157   test -z "$as_dir" && as_dir=.
13158     for ac_exec_ext in '' $ac_executable_extensions; do
13159   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13160     ac_cv_path_DVIPS="$as_dir/$ac_word$ac_exec_ext"
13161     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13162     break 2
13163   fi
13164 done
13165   done
13166 IFS=$as_save_IFS
13167
13168   ;;
13169 esac
13170 fi
13171 DVIPS=$ac_cv_path_DVIPS
13172 if test -n "$DVIPS"; then
13173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DVIPS" >&5
13174 $as_echo "$DVIPS" >&6; }
13175 else
13176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13177 $as_echo "no" >&6; }
13178 fi
13179
13180
13181   test -n "$DVIPS" && break
13182 done
13183
13184 for ac_prog in latex2html
13185 do
13186   # Extract the first word of "$ac_prog", so it can be a program name with args.
13187 set dummy $ac_prog; ac_word=$2
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13189 $as_echo_n "checking for $ac_word... " >&6; }
13190 if ${ac_cv_path_LATEX2HTML+:} false; then :
13191   $as_echo_n "(cached) " >&6
13192 else
13193   case $LATEX2HTML in
13194   [\\/]* | ?:[\\/]*)
13195   ac_cv_path_LATEX2HTML="$LATEX2HTML" # Let the user override the test with a path.
13196   ;;
13197   *)
13198   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13199 for as_dir in $PATH
13200 do
13201   IFS=$as_save_IFS
13202   test -z "$as_dir" && as_dir=.
13203     for ac_exec_ext in '' $ac_executable_extensions; do
13204   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13205     ac_cv_path_LATEX2HTML="$as_dir/$ac_word$ac_exec_ext"
13206     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13207     break 2
13208   fi
13209 done
13210   done
13211 IFS=$as_save_IFS
13212
13213   ;;
13214 esac
13215 fi
13216 LATEX2HTML=$ac_cv_path_LATEX2HTML
13217 if test -n "$LATEX2HTML"; then
13218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LATEX2HTML" >&5
13219 $as_echo "$LATEX2HTML" >&6; }
13220 else
13221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13222 $as_echo "no" >&6; }
13223 fi
13224
13225
13226   test -n "$LATEX2HTML" && break
13227 done
13228
13229 for ac_prog in latex
13230 do
13231   # Extract the first word of "$ac_prog", so it can be a program name with args.
13232 set dummy $ac_prog; ac_word=$2
13233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13234 $as_echo_n "checking for $ac_word... " >&6; }
13235 if ${ac_cv_path_LATEX+:} false; then :
13236   $as_echo_n "(cached) " >&6
13237 else
13238   case $LATEX in
13239   [\\/]* | ?:[\\/]*)
13240   ac_cv_path_LATEX="$LATEX" # Let the user override the test with a path.
13241   ;;
13242   *)
13243   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13244 for as_dir in $PATH
13245 do
13246   IFS=$as_save_IFS
13247   test -z "$as_dir" && as_dir=.
13248     for ac_exec_ext in '' $ac_executable_extensions; do
13249   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13250     ac_cv_path_LATEX="$as_dir/$ac_word$ac_exec_ext"
13251     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13252     break 2
13253   fi
13254 done
13255   done
13256 IFS=$as_save_IFS
13257
13258   ;;
13259 esac
13260 fi
13261 LATEX=$ac_cv_path_LATEX
13262 if test -n "$LATEX"; then
13263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LATEX" >&5
13264 $as_echo "$LATEX" >&6; }
13265 else
13266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13267 $as_echo "no" >&6; }
13268 fi
13269
13270
13271   test -n "$LATEX" && break
13272 done
13273
13274 if test "${enable_docs_gen}" = "yes"; then
13275         test -z "${TAR}" && as_fn_error $? "Couldn't find tar" "$LINENO" 5
13276         test -z "${PS2PDF}" && as_fn_error $? "Couldn't find ps2pdf" "$LINENO" 5
13277         test -z "${DVIPS}" && as_fn_error $? "Couldn't find dvips" "$LINENO" 5
13278         test -z "${LATEX2HTML}" && as_fn_error $? "Couldn't find latex2html" "$LINENO" 5
13279         test -z "${LATEX}" && as_fn_error $? "Couldn't find latex" "$LINENO" 5
13280 fi
13281
13282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
13283 $as_echo_n "checking for library containing strerror... " >&6; }
13284 if ${ac_cv_search_strerror+:} false; then :
13285   $as_echo_n "(cached) " >&6
13286 else
13287   ac_func_search_save_LIBS=$LIBS
13288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13289 /* end confdefs.h.  */
13290
13291 /* Override any GCC internal prototype to avoid an error.
13292    Use char because int might match the return type of a GCC
13293    builtin and then its argument prototype would still apply.  */
13294 #ifdef __cplusplus
13295 extern "C"
13296 #endif
13297 char strerror ();
13298 int
13299 main ()
13300 {
13301 return strerror ();
13302   ;
13303   return 0;
13304 }
13305 _ACEOF
13306 for ac_lib in '' cposix; do
13307   if test -z "$ac_lib"; then
13308     ac_res="none required"
13309   else
13310     ac_res=-l$ac_lib
13311     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13312   fi
13313   if ac_fn_c_try_link "$LINENO"; then :
13314   ac_cv_search_strerror=$ac_res
13315 fi
13316 rm -f core conftest.err conftest.$ac_objext \
13317     conftest$ac_exeext
13318   if ${ac_cv_search_strerror+:} false; then :
13319   break
13320 fi
13321 done
13322 if ${ac_cv_search_strerror+:} false; then :
13323
13324 else
13325   ac_cv_search_strerror=no
13326 fi
13327 rm conftest.$ac_ext
13328 LIBS=$ac_func_search_save_LIBS
13329 fi
13330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
13331 $as_echo "$ac_cv_search_strerror" >&6; }
13332 ac_res=$ac_cv_search_strerror
13333 if test "$ac_res" != no; then :
13334   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13335
13336 fi
13337
13338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
13339 $as_echo_n "checking for ANSI C header files... " >&6; }
13340 if ${ac_cv_header_stdc+:} false; then :
13341   $as_echo_n "(cached) " >&6
13342 else
13343   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13344 /* end confdefs.h.  */
13345 #include <stdlib.h>
13346 #include <stdarg.h>
13347 #include <string.h>
13348 #include <float.h>
13349
13350 int
13351 main ()
13352 {
13353
13354   ;
13355   return 0;
13356 }
13357 _ACEOF
13358 if ac_fn_c_try_compile "$LINENO"; then :
13359   ac_cv_header_stdc=yes
13360 else
13361   ac_cv_header_stdc=no
13362 fi
13363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13364
13365 if test $ac_cv_header_stdc = yes; then
13366   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13367   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13368 /* end confdefs.h.  */
13369 #include <string.h>
13370
13371 _ACEOF
13372 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13373   $EGREP "memchr" >/dev/null 2>&1; then :
13374
13375 else
13376   ac_cv_header_stdc=no
13377 fi
13378 rm -f conftest*
13379
13380 fi
13381
13382 if test $ac_cv_header_stdc = yes; then
13383   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13384   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13385 /* end confdefs.h.  */
13386 #include <stdlib.h>
13387
13388 _ACEOF
13389 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13390   $EGREP "free" >/dev/null 2>&1; then :
13391
13392 else
13393   ac_cv_header_stdc=no
13394 fi
13395 rm -f conftest*
13396
13397 fi
13398
13399 if test $ac_cv_header_stdc = yes; then
13400   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13401   if test "$cross_compiling" = yes; then :
13402   :
13403 else
13404   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13405 /* end confdefs.h.  */
13406 #include <ctype.h>
13407 #include <stdlib.h>
13408 #if ((' ' & 0x0FF) == 0x020)
13409 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13410 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13411 #else
13412 # define ISLOWER(c) \
13413                    (('a' <= (c) && (c) <= 'i') \
13414                      || ('j' <= (c) && (c) <= 'r') \
13415                      || ('s' <= (c) && (c) <= 'z'))
13416 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13417 #endif
13418
13419 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13420 int
13421 main ()
13422 {
13423   int i;
13424   for (i = 0; i < 256; i++)
13425     if (XOR (islower (i), ISLOWER (i))
13426         || toupper (i) != TOUPPER (i))
13427       return 2;
13428   return 0;
13429 }
13430 _ACEOF
13431 if ac_fn_c_try_run "$LINENO"; then :
13432
13433 else
13434   ac_cv_header_stdc=no
13435 fi
13436 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13437   conftest.$ac_objext conftest.beam conftest.$ac_ext
13438 fi
13439
13440 fi
13441 fi
13442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
13443 $as_echo "$ac_cv_header_stdc" >&6; }
13444 if test $ac_cv_header_stdc = yes; then
13445
13446 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
13447
13448 fi
13449
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13451 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13452 if ${ac_cv_lib_dl_dlopen+:} false; then :
13453   $as_echo_n "(cached) " >&6
13454 else
13455   ac_check_lib_save_LIBS=$LIBS
13456 LIBS="-ldl  $LIBS"
13457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13458 /* end confdefs.h.  */
13459
13460 /* Override any GCC internal prototype to avoid an error.
13461    Use char because int might match the return type of a GCC
13462    builtin and then its argument prototype would still apply.  */
13463 #ifdef __cplusplus
13464 extern "C"
13465 #endif
13466 char dlopen ();
13467 int
13468 main ()
13469 {
13470 return dlopen ();
13471   ;
13472   return 0;
13473 }
13474 _ACEOF
13475 if ac_fn_c_try_link "$LINENO"; then :
13476   ac_cv_lib_dl_dlopen=yes
13477 else
13478   ac_cv_lib_dl_dlopen=no
13479 fi
13480 rm -f core conftest.err conftest.$ac_objext \
13481     conftest$ac_exeext conftest.$ac_ext
13482 LIBS=$ac_check_lib_save_LIBS
13483 fi
13484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13485 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13486 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13487   cat >>confdefs.h <<_ACEOF
13488 #define HAVE_LIBDL 1
13489 _ACEOF
13490
13491   LIBS="-ldl $LIBS"
13492
13493 fi
13494
13495
13496 # Verify keyutils version 1.0 or higher
13497 if test -z "${KEYUTILS_LIBS}"; then
13498
13499
13500         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for keyctl_search in -lkeyutils" >&5
13501 $as_echo_n "checking for keyctl_search in -lkeyutils... " >&6; }
13502 if ${ac_cv_lib_keyutils_keyctl_search+:} false; then :
13503   $as_echo_n "(cached) " >&6
13504 else
13505   ac_check_lib_save_LIBS=$LIBS
13506 LIBS="-lkeyutils  $LIBS"
13507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13508 /* end confdefs.h.  */
13509
13510 /* Override any GCC internal prototype to avoid an error.
13511    Use char because int might match the return type of a GCC
13512    builtin and then its argument prototype would still apply.  */
13513 #ifdef __cplusplus
13514 extern "C"
13515 #endif
13516 char keyctl_search ();
13517 int
13518 main ()
13519 {
13520 return keyctl_search ();
13521   ;
13522   return 0;
13523 }
13524 _ACEOF
13525 if ac_fn_c_try_link "$LINENO"; then :
13526   ac_cv_lib_keyutils_keyctl_search=yes
13527 else
13528   ac_cv_lib_keyutils_keyctl_search=no
13529 fi
13530 rm -f core conftest.err conftest.$ac_objext \
13531     conftest$ac_exeext conftest.$ac_ext
13532 LIBS=$ac_check_lib_save_LIBS
13533 fi
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_keyutils_keyctl_search" >&5
13535 $as_echo "$ac_cv_lib_keyutils_keyctl_search" >&6; }
13536 if test "x$ac_cv_lib_keyutils_keyctl_search" = xyes; then :
13537   KEYUTILS_LIBS="-lkeyutils"
13538 else
13539   as_fn_error $? "eCryptfs userspace tools require Keyutils version 1.0 or higher.
13540 You might find the package at:
13541 http://people.redhat.com/~dhowells/keyutils/
13542 " "$LINENO" 5
13543
13544
13545 fi
13546
13547 fi
13548
13549 if test -z "${OPENSSL_LIBS}"; then
13550
13551 pkg_failed=no
13552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OPENSSL" >&5
13553 $as_echo_n "checking for OPENSSL... " >&6; }
13554
13555 if test -n "$OPENSSL_CFLAGS"; then
13556     pkg_cv_OPENSSL_CFLAGS="$OPENSSL_CFLAGS"
13557  elif test -n "$PKG_CONFIG"; then
13558     if test -n "$PKG_CONFIG" && \
13559     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcrypto >= 0.9.7\""; } >&5
13560   ($PKG_CONFIG --exists --print-errors "libcrypto >= 0.9.7") 2>&5
13561   ac_status=$?
13562   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13563   test $ac_status = 0; }; then
13564   pkg_cv_OPENSSL_CFLAGS=`$PKG_CONFIG --cflags "libcrypto >= 0.9.7" 2>/dev/null`
13565                       test "x$?" != "x0" && pkg_failed=yes
13566 else
13567   pkg_failed=yes
13568 fi
13569  else
13570     pkg_failed=untried
13571 fi
13572 if test -n "$OPENSSL_LIBS"; then
13573     pkg_cv_OPENSSL_LIBS="$OPENSSL_LIBS"
13574  elif test -n "$PKG_CONFIG"; then
13575     if test -n "$PKG_CONFIG" && \
13576     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcrypto >= 0.9.7\""; } >&5
13577   ($PKG_CONFIG --exists --print-errors "libcrypto >= 0.9.7") 2>&5
13578   ac_status=$?
13579   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13580   test $ac_status = 0; }; then
13581   pkg_cv_OPENSSL_LIBS=`$PKG_CONFIG --libs "libcrypto >= 0.9.7" 2>/dev/null`
13582                       test "x$?" != "x0" && pkg_failed=yes
13583 else
13584   pkg_failed=yes
13585 fi
13586  else
13587     pkg_failed=untried
13588 fi
13589
13590
13591
13592 if test $pkg_failed = yes; then
13593         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13594 $as_echo "no" >&6; }
13595
13596 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13597         _pkg_short_errors_supported=yes
13598 else
13599         _pkg_short_errors_supported=no
13600 fi
13601         if test $_pkg_short_errors_supported = yes; then
13602                 OPENSSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcrypto >= 0.9.7" 2>&1`
13603         else
13604                 OPENSSL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcrypto >= 0.9.7" 2>&1`
13605         fi
13606         # Put the nasty error message in config.log where it belongs
13607         echo "$OPENSSL_PKG_ERRORS" >&5
13608
13609
13610 pkg_failed=no
13611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OPENSSL" >&5
13612 $as_echo_n "checking for OPENSSL... " >&6; }
13613
13614 if test -n "$OPENSSL_CFLAGS"; then
13615     pkg_cv_OPENSSL_CFLAGS="$OPENSSL_CFLAGS"
13616  elif test -n "$PKG_CONFIG"; then
13617     if test -n "$PKG_CONFIG" && \
13618     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 0.9.7\""; } >&5
13619   ($PKG_CONFIG --exists --print-errors "openssl >= 0.9.7") 2>&5
13620   ac_status=$?
13621   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13622   test $ac_status = 0; }; then
13623   pkg_cv_OPENSSL_CFLAGS=`$PKG_CONFIG --cflags "openssl >= 0.9.7" 2>/dev/null`
13624                       test "x$?" != "x0" && pkg_failed=yes
13625 else
13626   pkg_failed=yes
13627 fi
13628  else
13629     pkg_failed=untried
13630 fi
13631 if test -n "$OPENSSL_LIBS"; then
13632     pkg_cv_OPENSSL_LIBS="$OPENSSL_LIBS"
13633  elif test -n "$PKG_CONFIG"; then
13634     if test -n "$PKG_CONFIG" && \
13635     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 0.9.7\""; } >&5
13636   ($PKG_CONFIG --exists --print-errors "openssl >= 0.9.7") 2>&5
13637   ac_status=$?
13638   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13639   test $ac_status = 0; }; then
13640   pkg_cv_OPENSSL_LIBS=`$PKG_CONFIG --libs "openssl >= 0.9.7" 2>/dev/null`
13641                       test "x$?" != "x0" && pkg_failed=yes
13642 else
13643   pkg_failed=yes
13644 fi
13645  else
13646     pkg_failed=untried
13647 fi
13648
13649
13650
13651 if test $pkg_failed = yes; then
13652         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13653 $as_echo "no" >&6; }
13654
13655 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13656         _pkg_short_errors_supported=yes
13657 else
13658         _pkg_short_errors_supported=no
13659 fi
13660         if test $_pkg_short_errors_supported = yes; then
13661                 OPENSSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "openssl >= 0.9.7" 2>&1`
13662         else
13663                 OPENSSL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "openssl >= 0.9.7" 2>&1`
13664         fi
13665         # Put the nasty error message in config.log where it belongs
13666         echo "$OPENSSL_PKG_ERRORS" >&5
13667
13668         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_version in -lcrypto" >&5
13669 $as_echo_n "checking for RSA_version in -lcrypto... " >&6; }
13670 if ${ac_cv_lib_crypto_RSA_version+:} false; then :
13671   $as_echo_n "(cached) " >&6
13672 else
13673   ac_check_lib_save_LIBS=$LIBS
13674 LIBS="-lcrypto  $LIBS"
13675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13676 /* end confdefs.h.  */
13677
13678 /* Override any GCC internal prototype to avoid an error.
13679    Use char because int might match the return type of a GCC
13680    builtin and then its argument prototype would still apply.  */
13681 #ifdef __cplusplus
13682 extern "C"
13683 #endif
13684 char RSA_version ();
13685 int
13686 main ()
13687 {
13688 return RSA_version ();
13689   ;
13690   return 0;
13691 }
13692 _ACEOF
13693 if ac_fn_c_try_link "$LINENO"; then :
13694   ac_cv_lib_crypto_RSA_version=yes
13695 else
13696   ac_cv_lib_crypto_RSA_version=no
13697 fi
13698 rm -f core conftest.err conftest.$ac_objext \
13699     conftest$ac_exeext conftest.$ac_ext
13700 LIBS=$ac_check_lib_save_LIBS
13701 fi
13702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_version" >&5
13703 $as_echo "$ac_cv_lib_crypto_RSA_version" >&6; }
13704 if test "x$ac_cv_lib_crypto_RSA_version" = xyes; then :
13705
13706                                         have_openssl="yes"
13707                                         OPENSSL_LIBS="-lcrypto"
13708
13709 else
13710   have_openssl="no"
13711
13712 fi
13713
13714
13715 elif test $pkg_failed = untried; then
13716         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13717 $as_echo "no" >&6; }
13718         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_version in -lcrypto" >&5
13719 $as_echo_n "checking for RSA_version in -lcrypto... " >&6; }
13720 if ${ac_cv_lib_crypto_RSA_version+:} false; then :
13721   $as_echo_n "(cached) " >&6
13722 else
13723   ac_check_lib_save_LIBS=$LIBS
13724 LIBS="-lcrypto  $LIBS"
13725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13726 /* end confdefs.h.  */
13727
13728 /* Override any GCC internal prototype to avoid an error.
13729    Use char because int might match the return type of a GCC
13730    builtin and then its argument prototype would still apply.  */
13731 #ifdef __cplusplus
13732 extern "C"
13733 #endif
13734 char RSA_version ();
13735 int
13736 main ()
13737 {
13738 return RSA_version ();
13739   ;
13740   return 0;
13741 }
13742 _ACEOF
13743 if ac_fn_c_try_link "$LINENO"; then :
13744   ac_cv_lib_crypto_RSA_version=yes
13745 else
13746   ac_cv_lib_crypto_RSA_version=no
13747 fi
13748 rm -f core conftest.err conftest.$ac_objext \
13749     conftest$ac_exeext conftest.$ac_ext
13750 LIBS=$ac_check_lib_save_LIBS
13751 fi
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_version" >&5
13753 $as_echo "$ac_cv_lib_crypto_RSA_version" >&6; }
13754 if test "x$ac_cv_lib_crypto_RSA_version" = xyes; then :
13755
13756                                         have_openssl="yes"
13757                                         OPENSSL_LIBS="-lcrypto"
13758
13759 else
13760   have_openssl="no"
13761
13762 fi
13763
13764
13765 else
13766         OPENSSL_CFLAGS=$pkg_cv_OPENSSL_CFLAGS
13767         OPENSSL_LIBS=$pkg_cv_OPENSSL_LIBS
13768         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13769 $as_echo "yes" >&6; }
13770         have_openssl="yes"
13771 fi
13772
13773 elif test $pkg_failed = untried; then
13774         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13775 $as_echo "no" >&6; }
13776
13777 pkg_failed=no
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OPENSSL" >&5
13779 $as_echo_n "checking for OPENSSL... " >&6; }
13780
13781 if test -n "$OPENSSL_CFLAGS"; then
13782     pkg_cv_OPENSSL_CFLAGS="$OPENSSL_CFLAGS"
13783  elif test -n "$PKG_CONFIG"; then
13784     if test -n "$PKG_CONFIG" && \
13785     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 0.9.7\""; } >&5
13786   ($PKG_CONFIG --exists --print-errors "openssl >= 0.9.7") 2>&5
13787   ac_status=$?
13788   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13789   test $ac_status = 0; }; then
13790   pkg_cv_OPENSSL_CFLAGS=`$PKG_CONFIG --cflags "openssl >= 0.9.7" 2>/dev/null`
13791                       test "x$?" != "x0" && pkg_failed=yes
13792 else
13793   pkg_failed=yes
13794 fi
13795  else
13796     pkg_failed=untried
13797 fi
13798 if test -n "$OPENSSL_LIBS"; then
13799     pkg_cv_OPENSSL_LIBS="$OPENSSL_LIBS"
13800  elif test -n "$PKG_CONFIG"; then
13801     if test -n "$PKG_CONFIG" && \
13802     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl >= 0.9.7\""; } >&5
13803   ($PKG_CONFIG --exists --print-errors "openssl >= 0.9.7") 2>&5
13804   ac_status=$?
13805   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13806   test $ac_status = 0; }; then
13807   pkg_cv_OPENSSL_LIBS=`$PKG_CONFIG --libs "openssl >= 0.9.7" 2>/dev/null`
13808                       test "x$?" != "x0" && pkg_failed=yes
13809 else
13810   pkg_failed=yes
13811 fi
13812  else
13813     pkg_failed=untried
13814 fi
13815
13816
13817
13818 if test $pkg_failed = yes; then
13819         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13820 $as_echo "no" >&6; }
13821
13822 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13823         _pkg_short_errors_supported=yes
13824 else
13825         _pkg_short_errors_supported=no
13826 fi
13827         if test $_pkg_short_errors_supported = yes; then
13828                 OPENSSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "openssl >= 0.9.7" 2>&1`
13829         else
13830                 OPENSSL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "openssl >= 0.9.7" 2>&1`
13831         fi
13832         # Put the nasty error message in config.log where it belongs
13833         echo "$OPENSSL_PKG_ERRORS" >&5
13834
13835         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_version in -lcrypto" >&5
13836 $as_echo_n "checking for RSA_version in -lcrypto... " >&6; }
13837 if ${ac_cv_lib_crypto_RSA_version+:} false; then :
13838   $as_echo_n "(cached) " >&6
13839 else
13840   ac_check_lib_save_LIBS=$LIBS
13841 LIBS="-lcrypto  $LIBS"
13842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13843 /* end confdefs.h.  */
13844
13845 /* Override any GCC internal prototype to avoid an error.
13846    Use char because int might match the return type of a GCC
13847    builtin and then its argument prototype would still apply.  */
13848 #ifdef __cplusplus
13849 extern "C"
13850 #endif
13851 char RSA_version ();
13852 int
13853 main ()
13854 {
13855 return RSA_version ();
13856   ;
13857   return 0;
13858 }
13859 _ACEOF
13860 if ac_fn_c_try_link "$LINENO"; then :
13861   ac_cv_lib_crypto_RSA_version=yes
13862 else
13863   ac_cv_lib_crypto_RSA_version=no
13864 fi
13865 rm -f core conftest.err conftest.$ac_objext \
13866     conftest$ac_exeext conftest.$ac_ext
13867 LIBS=$ac_check_lib_save_LIBS
13868 fi
13869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_version" >&5
13870 $as_echo "$ac_cv_lib_crypto_RSA_version" >&6; }
13871 if test "x$ac_cv_lib_crypto_RSA_version" = xyes; then :
13872
13873                                         have_openssl="yes"
13874                                         OPENSSL_LIBS="-lcrypto"
13875
13876 else
13877   have_openssl="no"
13878
13879 fi
13880
13881
13882 elif test $pkg_failed = untried; then
13883         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13884 $as_echo "no" >&6; }
13885         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSA_version in -lcrypto" >&5
13886 $as_echo_n "checking for RSA_version in -lcrypto... " >&6; }
13887 if ${ac_cv_lib_crypto_RSA_version+:} false; then :
13888   $as_echo_n "(cached) " >&6
13889 else
13890   ac_check_lib_save_LIBS=$LIBS
13891 LIBS="-lcrypto  $LIBS"
13892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13893 /* end confdefs.h.  */
13894
13895 /* Override any GCC internal prototype to avoid an error.
13896    Use char because int might match the return type of a GCC
13897    builtin and then its argument prototype would still apply.  */
13898 #ifdef __cplusplus
13899 extern "C"
13900 #endif
13901 char RSA_version ();
13902 int
13903 main ()
13904 {
13905 return RSA_version ();
13906   ;
13907   return 0;
13908 }
13909 _ACEOF
13910 if ac_fn_c_try_link "$LINENO"; then :
13911   ac_cv_lib_crypto_RSA_version=yes
13912 else
13913   ac_cv_lib_crypto_RSA_version=no
13914 fi
13915 rm -f core conftest.err conftest.$ac_objext \
13916     conftest$ac_exeext conftest.$ac_ext
13917 LIBS=$ac_check_lib_save_LIBS
13918 fi
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_version" >&5
13920 $as_echo "$ac_cv_lib_crypto_RSA_version" >&6; }
13921 if test "x$ac_cv_lib_crypto_RSA_version" = xyes; then :
13922
13923                                         have_openssl="yes"
13924                                         OPENSSL_LIBS="-lcrypto"
13925
13926 else
13927   have_openssl="no"
13928
13929 fi
13930
13931
13932 else
13933         OPENSSL_CFLAGS=$pkg_cv_OPENSSL_CFLAGS
13934         OPENSSL_LIBS=$pkg_cv_OPENSSL_LIBS
13935         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13936 $as_echo "yes" >&6; }
13937         have_openssl="yes"
13938 fi
13939
13940 else
13941         OPENSSL_CFLAGS=$pkg_cv_OPENSSL_CFLAGS
13942         OPENSSL_LIBS=$pkg_cv_OPENSSL_LIBS
13943         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13944 $as_echo "yes" >&6; }
13945         have_openssl="yes"
13946 fi
13947 else
13948         have_openssl="yes"
13949 fi
13950
13951 #Verify nss
13952
13953 pkg_failed=no
13954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NSS" >&5
13955 $as_echo_n "checking for NSS... " >&6; }
13956
13957 if test -n "$NSS_CFLAGS"; then
13958     pkg_cv_NSS_CFLAGS="$NSS_CFLAGS"
13959  elif test -n "$PKG_CONFIG"; then
13960     if test -n "$PKG_CONFIG" && \
13961     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nss\""; } >&5
13962   ($PKG_CONFIG --exists --print-errors "nss") 2>&5
13963   ac_status=$?
13964   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13965   test $ac_status = 0; }; then
13966   pkg_cv_NSS_CFLAGS=`$PKG_CONFIG --cflags "nss" 2>/dev/null`
13967                       test "x$?" != "x0" && pkg_failed=yes
13968 else
13969   pkg_failed=yes
13970 fi
13971  else
13972     pkg_failed=untried
13973 fi
13974 if test -n "$NSS_LIBS"; then
13975     pkg_cv_NSS_LIBS="$NSS_LIBS"
13976  elif test -n "$PKG_CONFIG"; then
13977     if test -n "$PKG_CONFIG" && \
13978     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"nss\""; } >&5
13979   ($PKG_CONFIG --exists --print-errors "nss") 2>&5
13980   ac_status=$?
13981   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13982   test $ac_status = 0; }; then
13983   pkg_cv_NSS_LIBS=`$PKG_CONFIG --libs "nss" 2>/dev/null`
13984                       test "x$?" != "x0" && pkg_failed=yes
13985 else
13986   pkg_failed=yes
13987 fi
13988  else
13989     pkg_failed=untried
13990 fi
13991
13992
13993
13994 if test $pkg_failed = yes; then
13995         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13996 $as_echo "no" >&6; }
13997
13998 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13999         _pkg_short_errors_supported=yes
14000 else
14001         _pkg_short_errors_supported=no
14002 fi
14003         if test $_pkg_short_errors_supported = yes; then
14004                 NSS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "nss" 2>&1`
14005         else
14006                 NSS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "nss" 2>&1`
14007         fi
14008         # Put the nasty error message in config.log where it belongs
14009         echo "$NSS_PKG_ERRORS" >&5
14010
14011         have_nss="no"
14012 elif test $pkg_failed = untried; then
14013         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14014 $as_echo "no" >&6; }
14015         have_nss="no"
14016 else
14017         NSS_CFLAGS=$pkg_cv_NSS_CFLAGS
14018         NSS_LIBS=$pkg_cv_NSS_LIBS
14019         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14020 $as_echo "yes" >&6; }
14021         have_nss="yes"
14022          NSS_CFLAGS="${NSS_CFLAGS} -DENABLE_NSS"
14023 fi
14024
14025 if test "${enable_nss}" = "detect" ; then
14026         if test "$have_nss" == "yes" ; then
14027                 enable_nss="yes"
14028         else
14029                 enable_nss="no"
14030         fi
14031 fi
14032
14033 OLD_CFLAGS="${CFLAGS}"
14034 CFLAGS="${CFLAGS} ${OPENSSL_CFLAGS}"
14035 ac_fn_c_check_header_mongrel "$LINENO" "openssl/rsa.h" "ac_cv_header_openssl_rsa_h" "$ac_includes_default"
14036 if test "x$ac_cv_header_openssl_rsa_h" = xyes; then :
14037
14038 else
14039   have_openssl="no"
14040 fi
14041
14042
14043 CFLAGS="${OLD_CFLAGS}"
14044
14045 if test "${enable_pywrap}" != "no" ; then
14046
14047
14048
14049
14050
14051
14052         if test -n "$PYTHON"; then
14053       # If the user set $PYTHON, use it and don't search something else.
14054       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.5" >&5
14055 $as_echo_n "checking whether $PYTHON version is >= 2.5... " >&6; }
14056       prog="import sys
14057 # split strings by '.' and convert to numeric.  Append some zeros
14058 # because we need at least 4 digits for the hex conversion.
14059 # map returns an iterator in Python 3.0 and a list in 2.x
14060 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
14061 minverhex = 0
14062 # xrange is not present in Python 3.0 and range returns an iterator
14063 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
14064 sys.exit(sys.hexversion < minverhex)"
14065   if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
14066    ($PYTHON -c "$prog") >&5 2>&5
14067    ac_status=$?
14068    echo "$as_me:$LINENO: \$? = $ac_status" >&5
14069    (exit $ac_status); }; then :
14070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14071 $as_echo "yes" >&6; }
14072 else
14073   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14074 $as_echo "no" >&6; }
14075                                as_fn_error $? "Python interpreter is too old" "$LINENO" 5
14076 fi
14077       am_display_PYTHON=$PYTHON
14078     else
14079       # Otherwise, try each interpreter until we find one that satisfies
14080       # VERSION.
14081       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
14082 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
14083 if ${am_cv_pathless_PYTHON+:} false; then :
14084   $as_echo_n "(cached) " >&6
14085 else
14086
14087         for am_cv_pathless_PYTHON in python python2 python3 python3.3 python3.2 python3.1 python3.0 python2.7  python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
14088           test "$am_cv_pathless_PYTHON" = none && break
14089           prog="import sys
14090 # split strings by '.' and convert to numeric.  Append some zeros
14091 # because we need at least 4 digits for the hex conversion.
14092 # map returns an iterator in Python 3.0 and a list in 2.x
14093 minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
14094 minverhex = 0
14095 # xrange is not present in Python 3.0 and range returns an iterator
14096 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
14097 sys.exit(sys.hexversion < minverhex)"
14098   if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
14099    ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
14100    ac_status=$?
14101    echo "$as_me:$LINENO: \$? = $ac_status" >&5
14102    (exit $ac_status); }; then :
14103   break
14104 fi
14105         done
14106 fi
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
14108 $as_echo "$am_cv_pathless_PYTHON" >&6; }
14109       # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
14110       if test "$am_cv_pathless_PYTHON" = none; then
14111         PYTHON=:
14112       else
14113         # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
14114 set dummy $am_cv_pathless_PYTHON; ac_word=$2
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14116 $as_echo_n "checking for $ac_word... " >&6; }
14117 if ${ac_cv_path_PYTHON+:} false; then :
14118   $as_echo_n "(cached) " >&6
14119 else
14120   case $PYTHON in
14121   [\\/]* | ?:[\\/]*)
14122   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
14123   ;;
14124   *)
14125   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14126 for as_dir in $PATH
14127 do
14128   IFS=$as_save_IFS
14129   test -z "$as_dir" && as_dir=.
14130     for ac_exec_ext in '' $ac_executable_extensions; do
14131   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14132     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
14133     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14134     break 2
14135   fi
14136 done
14137   done
14138 IFS=$as_save_IFS
14139
14140   ;;
14141 esac
14142 fi
14143 PYTHON=$ac_cv_path_PYTHON
14144 if test -n "$PYTHON"; then
14145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
14146 $as_echo "$PYTHON" >&6; }
14147 else
14148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14149 $as_echo "no" >&6; }
14150 fi
14151
14152
14153       fi
14154       am_display_PYTHON=$am_cv_pathless_PYTHON
14155     fi
14156
14157
14158   if test "$PYTHON" = :; then
14159       have_python="no"
14160   else
14161
14162
14163   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
14164 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
14165 if ${am_cv_python_version+:} false; then :
14166   $as_echo_n "(cached) " >&6
14167 else
14168   am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
14169 fi
14170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
14171 $as_echo "$am_cv_python_version" >&6; }
14172   PYTHON_VERSION=$am_cv_python_version
14173
14174
14175
14176   PYTHON_PREFIX='${prefix}'
14177
14178   PYTHON_EXEC_PREFIX='${exec_prefix}'
14179
14180
14181
14182   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
14183 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
14184 if ${am_cv_python_platform+:} false; then :
14185   $as_echo_n "(cached) " >&6
14186 else
14187   am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
14188 fi
14189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
14190 $as_echo "$am_cv_python_platform" >&6; }
14191   PYTHON_PLATFORM=$am_cv_python_platform
14192
14193
14194   # Just factor out some code duplication.
14195   am_python_setup_sysconfig="\
14196 import sys
14197 # Prefer sysconfig over distutils.sysconfig, for better compatibility
14198 # with python 3.x.  See automake bug#10227.
14199 try:
14200     import sysconfig
14201 except ImportError:
14202     can_use_sysconfig = 0
14203 else:
14204     can_use_sysconfig = 1
14205 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
14206 # <https://github.com/pypa/virtualenv/issues/118>
14207 try:
14208     from platform import python_implementation
14209     if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
14210         can_use_sysconfig = 0
14211 except ImportError:
14212     pass"
14213
14214
14215             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
14216 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
14217 if ${am_cv_python_pythondir+:} false; then :
14218   $as_echo_n "(cached) " >&6
14219 else
14220   if test "x$prefix" = xNONE
14221      then
14222        am_py_prefix=$ac_default_prefix
14223      else
14224        am_py_prefix=$prefix
14225      fi
14226      am_cv_python_pythondir=`$PYTHON -c "
14227 $am_python_setup_sysconfig
14228 if can_use_sysconfig:
14229     sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
14230 else:
14231     from distutils import sysconfig
14232     sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
14233 sys.stdout.write(sitedir)"`
14234      case $am_cv_python_pythondir in
14235      $am_py_prefix*)
14236        am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
14237        am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
14238        ;;
14239      *)
14240        case $am_py_prefix in
14241          /usr|/System*) ;;
14242          *)
14243           am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
14244           ;;
14245        esac
14246        ;;
14247      esac
14248
14249 fi
14250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
14251 $as_echo "$am_cv_python_pythondir" >&6; }
14252   pythondir=$am_cv_python_pythondir
14253
14254
14255
14256   pkgpythondir=\${pythondir}/$PACKAGE
14257
14258
14259         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
14260 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
14261 if ${am_cv_python_pyexecdir+:} false; then :
14262   $as_echo_n "(cached) " >&6
14263 else
14264   if test "x$exec_prefix" = xNONE
14265      then
14266        am_py_exec_prefix=$am_py_prefix
14267      else
14268        am_py_exec_prefix=$exec_prefix
14269      fi
14270      am_cv_python_pyexecdir=`$PYTHON -c "
14271 $am_python_setup_sysconfig
14272 if can_use_sysconfig:
14273     sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
14274 else:
14275     from distutils import sysconfig
14276     sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
14277 sys.stdout.write(sitedir)"`
14278      case $am_cv_python_pyexecdir in
14279      $am_py_exec_prefix*)
14280        am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
14281        am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
14282        ;;
14283      *)
14284        case $am_py_exec_prefix in
14285          /usr|/System*) ;;
14286          *)
14287            am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
14288            ;;
14289        esac
14290        ;;
14291      esac
14292
14293 fi
14294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
14295 $as_echo "$am_cv_python_pyexecdir" >&6; }
14296   pyexecdir=$am_cv_python_pyexecdir
14297
14298
14299
14300   pkgpyexecdir=\${pyexecdir}/$PACKAGE
14301
14302
14303     have_python="yes"
14304   fi
14305
14306
14307
14308         # Extract the first word of "swig", so it can be a program name with args.
14309 set dummy swig; ac_word=$2
14310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14311 $as_echo_n "checking for $ac_word... " >&6; }
14312 if ${ac_cv_path_SWIG+:} false; then :
14313   $as_echo_n "(cached) " >&6
14314 else
14315   case $SWIG in
14316   [\\/]* | ?:[\\/]*)
14317   ac_cv_path_SWIG="$SWIG" # Let the user override the test with a path.
14318   ;;
14319   *)
14320   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14321 for as_dir in $PATH
14322 do
14323   IFS=$as_save_IFS
14324   test -z "$as_dir" && as_dir=.
14325     for ac_exec_ext in '' $ac_executable_extensions; do
14326   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14327     ac_cv_path_SWIG="$as_dir/$ac_word$ac_exec_ext"
14328     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14329     break 2
14330   fi
14331 done
14332   done
14333 IFS=$as_save_IFS
14334
14335   ;;
14336 esac
14337 fi
14338 SWIG=$ac_cv_path_SWIG
14339 if test -n "$SWIG"; then
14340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG" >&5
14341 $as_echo "$SWIG" >&6; }
14342 else
14343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14344 $as_echo "no" >&6; }
14345 fi
14346
14347
14348         if test -z "$SWIG" ; then
14349                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find 'swig' program. You should look at http://www.swig.org" >&5
14350 $as_echo "$as_me: WARNING: cannot find 'swig' program. You should look at http://www.swig.org" >&2;}
14351                 SWIG='echo "Error: SWIG is not installed. You should look at http://www.swig.org" ; false'
14352         elif test -n "1.3.31" ; then
14353                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SWIG version" >&5
14354 $as_echo_n "checking for SWIG version... " >&6; }
14355                 swig_version=`$SWIG -version 2>&1 | grep 'SWIG Version' | sed 's/.*\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\).*/\1/g'`
14356                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $swig_version" >&5
14357 $as_echo "$swig_version" >&6; }
14358                 if test -n "$swig_version" ; then
14359                         # Calculate the required version number components
14360                         required=1.3.31
14361                         required_major=`echo $required | sed 's/[^0-9].*//'`
14362                         if test -z "$required_major" ; then
14363                                 required_major=0
14364                         fi
14365                         required=`echo $required | sed 's/[0-9]*[^0-9]//'`
14366                         required_minor=`echo $required | sed 's/[^0-9].*//'`
14367                         if test -z "$required_minor" ; then
14368                                 required_minor=0
14369                         fi
14370                         required=`echo $required | sed 's/[0-9]*[^0-9]//'`
14371                         required_patch=`echo $required | sed 's/[^0-9].*//'`
14372                         if test -z "$required_patch" ; then
14373                                 required_patch=0
14374                         fi
14375                         # Calculate the available version number components
14376                         available=$swig_version
14377                         available_major=`echo $available | sed 's/[^0-9].*//'`
14378                         if test -z "$available_major" ; then
14379                                 available_major=0
14380                         fi
14381                         available=`echo $available | sed 's/[0-9]*[^0-9]//'`
14382                         available_minor=`echo $available | sed 's/[^0-9].*//'`
14383                         if test -z "$available_minor" ; then
14384                                 available_minor=0
14385                         fi
14386                         available=`echo $available | sed 's/[0-9]*[^0-9]//'`
14387                         available_patch=`echo $available | sed 's/[^0-9].*//'`
14388                         if test -z "$available_patch" ; then
14389                                 available_patch=0
14390                         fi
14391                         if test $available_major -ne $required_major \
14392                                 -o $available_minor -ne $required_minor \
14393                                 -o $available_patch -lt $required_patch ; then
14394                                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SWIG version >= 1.3.31 is required.  You have $swig_version.  You should look at http://www.swig.org" >&5
14395 $as_echo "$as_me: WARNING: SWIG version >= 1.3.31 is required.  You have $swig_version.  You should look at http://www.swig.org" >&2;}
14396                                 SWIG='echo "Error: SWIG version >= 1.3.31 is required.  You have '"$swig_version"'.  You should look at http://www.swig.org" ; false'
14397                         else
14398                                 { $as_echo "$as_me:${as_lineno-$LINENO}: SWIG executable is '$SWIG'" >&5
14399 $as_echo "$as_me: SWIG executable is '$SWIG'" >&6;}
14400                                 SWIG_LIB=`$SWIG -swiglib`
14401                                 { $as_echo "$as_me:${as_lineno-$LINENO}: SWIG library directory is '$SWIG_LIB'" >&5
14402 $as_echo "$as_me: SWIG library directory is '$SWIG_LIB'" >&6;}
14403                         fi
14404                 else
14405                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot determine SWIG version" >&5
14406 $as_echo "$as_me: WARNING: cannot determine SWIG version" >&2;}
14407                         SWIG='echo "Error: Cannot determine SWIG version.  You should look at http://www.swig.org" ; false'
14408                 fi
14409         fi
14410
14411
14412
14413         #
14414         # Allow the use of a (user set) custom python version
14415         #
14416
14417
14418         # Extract the first word of "python[$PYTHON_VERSION]", so it can be a program name with args.
14419 set dummy python$PYTHON_VERSION; ac_word=$2
14420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14421 $as_echo_n "checking for $ac_word... " >&6; }
14422 if ${ac_cv_path_PYTHON+:} false; then :
14423   $as_echo_n "(cached) " >&6
14424 else
14425   case $PYTHON in
14426   [\\/]* | ?:[\\/]*)
14427   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
14428   ;;
14429   *)
14430   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14431 for as_dir in $PATH
14432 do
14433   IFS=$as_save_IFS
14434   test -z "$as_dir" && as_dir=.
14435     for ac_exec_ext in '' $ac_executable_extensions; do
14436   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14437     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
14438     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14439     break 2
14440   fi
14441 done
14442   done
14443 IFS=$as_save_IFS
14444
14445   ;;
14446 esac
14447 fi
14448 PYTHON=$ac_cv_path_PYTHON
14449 if test -n "$PYTHON"; then
14450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
14451 $as_echo "$PYTHON" >&6; }
14452 else
14453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14454 $as_echo "no" >&6; }
14455 fi
14456
14457
14458         if test -z "$PYTHON"; then
14459            as_fn_error $? "Cannot find python$PYTHON_VERSION in your system path" "$LINENO" 5
14460            PYTHON_VERSION=""
14461         fi
14462
14463         #
14464         # Check for a version of Python >= 2.1.0
14465         #
14466         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a version of Python >= '2.1.0'" >&5
14467 $as_echo_n "checking for a version of Python >= '2.1.0'... " >&6; }
14468         ac_supports_python_ver=`$PYTHON -c "import sys, string; \
14469                 ver = string.split(sys.version)[0]; \
14470                 print ver >= '2.1.0'"`
14471         if test "$ac_supports_python_ver" != "True"; then
14472                 if test -z "$PYTHON_NOVERSIONCHECK"; then
14473                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14474 $as_echo "no" >&6; }
14475                         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14476 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14477 as_fn_error $? "
14478 This version of the AC_PYTHON_DEVEL macro
14479 doesn't work properly with versions of Python before
14480 2.1.0. You may need to re-run configure, setting the
14481 variables PYTHON_CPPFLAGS, PYTHON_LDFLAGS, PYTHON_SITE_PKG,
14482 PYTHON_EXTRA_LIBS and PYTHON_EXTRA_LDFLAGS by hand.
14483 Moreover, to disable this check, set PYTHON_NOVERSIONCHECK
14484 to something else than an empty string.
14485
14486 See \`config.log' for more details" "$LINENO" 5; }
14487                 else
14488                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: skip at user request" >&5
14489 $as_echo "skip at user request" >&6; }
14490                 fi
14491         else
14492                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14493 $as_echo "yes" >&6; }
14494         fi
14495
14496         #
14497         # if the macro parameter ``version'' is set, honour it
14498         #
14499         if test -n ""; then
14500                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a version of Python " >&5
14501 $as_echo_n "checking for a version of Python ... " >&6; }
14502                 ac_supports_python_ver=`$PYTHON -c "import sys, string; \
14503                         ver = string.split(sys.version)[0]; \
14504                         print ver "`
14505                 if test "$ac_supports_python_ver" = "True"; then
14506                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14507 $as_echo "yes" >&6; }
14508                 else
14509                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14510 $as_echo "no" >&6; }
14511                         as_fn_error $? "this package requires Python .
14512 If you have it installed, but it isn't the default Python
14513 interpreter in your system path, please pass the PYTHON_VERSION
14514 variable to configure. See \`\`configure --help'' for reference.
14515 " "$LINENO" 5
14516                         PYTHON_VERSION=""
14517                 fi
14518         fi
14519
14520         #
14521         # Check if you have distutils, else fail
14522         #
14523         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the distutils Python package" >&5
14524 $as_echo_n "checking for the distutils Python package... " >&6; }
14525         ac_distutils_result=`$PYTHON -c "import distutils" 2>&1`
14526         if test -z "$ac_distutils_result"; then
14527                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14528 $as_echo "yes" >&6; }
14529         else
14530                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14531 $as_echo "no" >&6; }
14532                 as_fn_error $? "cannot import Python module \"distutils\".
14533 Please check your Python installation. The error was:
14534 $ac_distutils_result" "$LINENO" 5
14535                 PYTHON_VERSION=""
14536         fi
14537
14538         #
14539         # Check for Python include path
14540         #
14541         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python include path" >&5
14542 $as_echo_n "checking for Python include path... " >&6; }
14543         if test -z "$PYTHON_CPPFLAGS"; then
14544                 python_path=`$PYTHON -c "import distutils.sysconfig; \
14545                         print distutils.sysconfig.get_python_inc();"`
14546                 if test -n "${python_path}"; then
14547                         python_path="-I$python_path"
14548                 fi
14549                 python_plat_path=`$PYTHON -c "import distutils.sysconfig; \
14550                         print distutils.sysconfig.get_python_inc(plat_specific=True);"`
14551                 if test -n "${python_plat_path}"; then
14552                         python_plat_path="-I$python_plat_path"
14553                 fi
14554                 PYTHON_CPPFLAGS="$python_path $python_plat_path"
14555         fi
14556         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CPPFLAGS" >&5
14557 $as_echo "$PYTHON_CPPFLAGS" >&6; }
14558
14559
14560         #
14561         # Check for Python library path
14562         #
14563         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python library path" >&5
14564 $as_echo_n "checking for Python library path... " >&6; }
14565         if test -z "$PYTHON_LDFLAGS"; then
14566                 # (makes two attempts to ensure we've got a version number
14567                 # from the interpreter)
14568                 py_version=`$PYTHON -c "from distutils.sysconfig import *; \
14569                         from string import join; \
14570                         print join(get_config_vars('VERSION'))"`
14571                 if test "$py_version" == "None"; then
14572                         if test -n "$PYTHON_VERSION"; then
14573                                 py_version=$PYTHON_VERSION
14574                         else
14575                                 py_version=`$PYTHON -c "import sys; \
14576                                         print sys.version[:3]"`
14577                         fi
14578                 fi
14579
14580                 PYTHON_LDFLAGS=`$PYTHON -c "from distutils.sysconfig import *; \
14581                         from string import join; \
14582                         print '-L' + get_python_lib(0,1), \
14583                         '-lpython';"`$py_version
14584         fi
14585         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_LDFLAGS" >&5
14586 $as_echo "$PYTHON_LDFLAGS" >&6; }
14587
14588
14589         #
14590         # Check for site packages
14591         #
14592         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python site-packages path" >&5
14593 $as_echo_n "checking for Python site-packages path... " >&6; }
14594         if test -z "$PYTHON_SITE_PKG"; then
14595                 PYTHON_SITE_PKG=`$PYTHON -c "import distutils.sysconfig; \
14596                         print distutils.sysconfig.get_python_lib(0,0);"`
14597         fi
14598         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_SITE_PKG" >&5
14599 $as_echo "$PYTHON_SITE_PKG" >&6; }
14600
14601
14602         #
14603         # libraries which must be linked in when embedding
14604         #
14605         { $as_echo "$as_me:${as_lineno-$LINENO}: checking python extra libraries" >&5
14606 $as_echo_n "checking python extra libraries... " >&6; }
14607         if test -z "$PYTHON_EXTRA_LIBS"; then
14608            PYTHON_EXTRA_LIBS=`$PYTHON -c "import distutils.sysconfig; \
14609                 conf = distutils.sysconfig.get_config_var; \
14610                 print conf('LOCALMODLIBS'), conf('LIBS')"`
14611         fi
14612         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_EXTRA_LIBS" >&5
14613 $as_echo "$PYTHON_EXTRA_LIBS" >&6; }
14614
14615
14616         #
14617         # linking flags needed when embedding
14618         #
14619         { $as_echo "$as_me:${as_lineno-$LINENO}: checking python extra linking flags" >&5
14620 $as_echo_n "checking python extra linking flags... " >&6; }
14621         if test -z "$PYTHON_EXTRA_LDFLAGS"; then
14622                 PYTHON_EXTRA_LDFLAGS=`$PYTHON -c "import distutils.sysconfig; \
14623                         conf = distutils.sysconfig.get_config_var; \
14624                         print conf('LINKFORSHARED')"`
14625         fi
14626         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_EXTRA_LDFLAGS" >&5
14627 $as_echo "$PYTHON_EXTRA_LDFLAGS" >&6; }
14628
14629
14630         #
14631         # final check to see if everything compiles alright
14632         #
14633         { $as_echo "$as_me:${as_lineno-$LINENO}: checking consistency of all components of python development environment" >&5
14634 $as_echo_n "checking consistency of all components of python development environment... " >&6; }
14635         ac_ext=c
14636 ac_cpp='$CPP $CPPFLAGS'
14637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14640
14641         # save current global flags
14642         ac_save_LIBS="$LIBS"
14643         ac_save_CPPFLAGS="$CPPFLAGS"
14644         LIBS="$ac_save_LIBS $PYTHON_LDFLAGS"
14645         CPPFLAGS="$ac_save_CPPFLAGS $PYTHON_CPPFLAGS"
14646         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14647 /* end confdefs.h.  */
14648
14649                 #include <Python.h>
14650
14651 int
14652 main ()
14653 {
14654
14655                 Py_Initialize();
14656
14657   ;
14658   return 0;
14659 }
14660 _ACEOF
14661 if ac_fn_c_try_link "$LINENO"; then :
14662   pythonexists=yes
14663 else
14664   pythonexists=no
14665 fi
14666 rm -f core conftest.err conftest.$ac_objext \
14667     conftest$ac_exeext conftest.$ac_ext
14668
14669         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pythonexists" >&5
14670 $as_echo "$pythonexists" >&6; }
14671
14672         if test ! "$pythonexists" = "yes"; then
14673           PYTHON_VERSION=""
14674         fi
14675         ac_ext=c
14676 ac_cpp='$CPP $CPPFLAGS'
14677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14680
14681         # turn back to default flags
14682         CPPFLAGS="$ac_save_CPPFLAGS"
14683         LIBS="$ac_save_LIBS"
14684
14685         #
14686         # all done!
14687         #
14688
14689
14690
14691
14692         test "x" != "xno" || swig_shadow=" -noproxy"
14693         SWIG_PYTHON_OPT=-python$swig_shadow
14694
14695         SWIG_PYTHON_CPPFLAGS=$PYTHON_CPPFLAGS
14696
14697
14698 fi
14699
14700 if test "x${SWIG}" != "x" ; then
14701    have_swig="yes"
14702 else
14703    have_swig="no"
14704 fi
14705
14706 if test "${enable_pywrap}" = "detect" ; then
14707         if test "${have_python}" = "yes" ; then
14708                 if test "${have_swig}" = "yes" ; then
14709                         enable_pywrap="yes"
14710                 fi
14711         fi
14712 fi
14713
14714 if test "${enable_pywrap}" = "yes" ; then
14715         test "${have_python}" != "yes" && as_fn_error $? "Python not found" "$LINENO" 5
14716         test "${have_swig}" != "yes" && as_fn_error $? "SWIG not found" "$LINENO" 5
14717 fi
14718
14719 test "${enable_openssl}" = "detect" && enable_openssl="${have_openssl}"
14720
14721 if test "${enable_openssl}" = "yes" ; then
14722         test "${have_openssl}" != "yes" && as_fn_error $? "OpenSSL not found" "$LINENO" 5
14723 fi
14724
14725 if test "${enable_pkcs11_helper}" = "yes" ; then
14726         test "${have_openssl}" != "yes" && as_fn_error $? "OpenSSL not found" "$LINENO" 5
14727
14728 pkg_failed=no
14729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PKCS11_HELPER" >&5
14730 $as_echo_n "checking for PKCS11_HELPER... " >&6; }
14731
14732 if test -n "$PKCS11_HELPER_CFLAGS"; then
14733     pkg_cv_PKCS11_HELPER_CFLAGS="$PKCS11_HELPER_CFLAGS"
14734  elif test -n "$PKG_CONFIG"; then
14735     if test -n "$PKG_CONFIG" && \
14736     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpkcs11-helper-1 >= 1.04\""; } >&5
14737   ($PKG_CONFIG --exists --print-errors "libpkcs11-helper-1 >= 1.04") 2>&5
14738   ac_status=$?
14739   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14740   test $ac_status = 0; }; then
14741   pkg_cv_PKCS11_HELPER_CFLAGS=`$PKG_CONFIG --cflags "libpkcs11-helper-1 >= 1.04" 2>/dev/null`
14742                       test "x$?" != "x0" && pkg_failed=yes
14743 else
14744   pkg_failed=yes
14745 fi
14746  else
14747     pkg_failed=untried
14748 fi
14749 if test -n "$PKCS11_HELPER_LIBS"; then
14750     pkg_cv_PKCS11_HELPER_LIBS="$PKCS11_HELPER_LIBS"
14751  elif test -n "$PKG_CONFIG"; then
14752     if test -n "$PKG_CONFIG" && \
14753     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpkcs11-helper-1 >= 1.04\""; } >&5
14754   ($PKG_CONFIG --exists --print-errors "libpkcs11-helper-1 >= 1.04") 2>&5
14755   ac_status=$?
14756   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14757   test $ac_status = 0; }; then
14758   pkg_cv_PKCS11_HELPER_LIBS=`$PKG_CONFIG --libs "libpkcs11-helper-1 >= 1.04" 2>/dev/null`
14759                       test "x$?" != "x0" && pkg_failed=yes
14760 else
14761   pkg_failed=yes
14762 fi
14763  else
14764     pkg_failed=untried
14765 fi
14766
14767
14768
14769 if test $pkg_failed = yes; then
14770         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14771 $as_echo "no" >&6; }
14772
14773 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14774         _pkg_short_errors_supported=yes
14775 else
14776         _pkg_short_errors_supported=no
14777 fi
14778         if test $_pkg_short_errors_supported = yes; then
14779                 PKCS11_HELPER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpkcs11-helper-1 >= 1.04" 2>&1`
14780         else
14781                 PKCS11_HELPER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpkcs11-helper-1 >= 1.04" 2>&1`
14782         fi
14783         # Put the nasty error message in config.log where it belongs
14784         echo "$PKCS11_HELPER_PKG_ERRORS" >&5
14785
14786         as_fn_error $? "Cannot locate pkcs11-helper" "$LINENO" 5
14787 elif test $pkg_failed = untried; then
14788         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14789 $as_echo "no" >&6; }
14790         as_fn_error $? "Cannot locate pkcs11-helper" "$LINENO" 5
14791 else
14792         PKCS11_HELPER_CFLAGS=$pkg_cv_PKCS11_HELPER_CFLAGS
14793         PKCS11_HELPER_LIBS=$pkg_cv_PKCS11_HELPER_LIBS
14794         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14795 $as_echo "yes" >&6; }
14796
14797 fi
14798 fi
14799
14800 if test "${enable_tspi}" = "yes" ; then
14801         if test -z "${TSPI_LIBS}"; then
14802
14803
14804                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tspi_Context_Create in -ltspi" >&5
14805 $as_echo_n "checking for Tspi_Context_Create in -ltspi... " >&6; }
14806 if ${ac_cv_lib_tspi_Tspi_Context_Create+:} false; then :
14807   $as_echo_n "(cached) " >&6
14808 else
14809   ac_check_lib_save_LIBS=$LIBS
14810 LIBS="-ltspi  $LIBS"
14811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14812 /* end confdefs.h.  */
14813
14814 /* Override any GCC internal prototype to avoid an error.
14815    Use char because int might match the return type of a GCC
14816    builtin and then its argument prototype would still apply.  */
14817 #ifdef __cplusplus
14818 extern "C"
14819 #endif
14820 char Tspi_Context_Create ();
14821 int
14822 main ()
14823 {
14824 return Tspi_Context_Create ();
14825   ;
14826   return 0;
14827 }
14828 _ACEOF
14829 if ac_fn_c_try_link "$LINENO"; then :
14830   ac_cv_lib_tspi_Tspi_Context_Create=yes
14831 else
14832   ac_cv_lib_tspi_Tspi_Context_Create=no
14833 fi
14834 rm -f core conftest.err conftest.$ac_objext \
14835     conftest$ac_exeext conftest.$ac_ext
14836 LIBS=$ac_check_lib_save_LIBS
14837 fi
14838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tspi_Tspi_Context_Create" >&5
14839 $as_echo "$ac_cv_lib_tspi_Tspi_Context_Create" >&6; }
14840 if test "x$ac_cv_lib_tspi_Tspi_Context_Create" = xyes; then :
14841   TSPI_LIBS="-ltspi"
14842 else
14843   as_fn_error $? "Cannot find tspi" "$LINENO" 5
14844
14845 fi
14846
14847         fi
14848 fi
14849
14850 if test "${enable_gpg}" = "yes" ; then
14851         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpgme" >&5
14852 $as_echo_n "checking for gpgme... " >&6; }
14853         if ! test -x "${with_gpgme_prefix}/bin/gpgme-config"; then
14854                 as_fn_error $? "Cannot locate gpgme" "$LINENO" 5
14855         else
14856                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14857 $as_echo "found" >&6; }
14858                 GPGME_CFLAGS="`\"${with_gpgme_prefix}/bin/gpgme-config\" --cflags`"
14859                 GPGME_LIBS="`\"${with_gpgme_prefix}/bin/gpgme-config\" --libs`"
14860         fi
14861 fi
14862
14863 if test "${enable_pam}" = "yes" ; then
14864         if test -z "${PAM_LIBS}"; then
14865
14866
14867                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_authenticate in -lpam" >&5
14868 $as_echo_n "checking for pam_authenticate in -lpam... " >&6; }
14869 if ${ac_cv_lib_pam_pam_authenticate+:} false; then :
14870   $as_echo_n "(cached) " >&6
14871 else
14872   ac_check_lib_save_LIBS=$LIBS
14873 LIBS="-lpam  $LIBS"
14874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14875 /* end confdefs.h.  */
14876
14877 /* Override any GCC internal prototype to avoid an error.
14878    Use char because int might match the return type of a GCC
14879    builtin and then its argument prototype would still apply.  */
14880 #ifdef __cplusplus
14881 extern "C"
14882 #endif
14883 char pam_authenticate ();
14884 int
14885 main ()
14886 {
14887 return pam_authenticate ();
14888   ;
14889   return 0;
14890 }
14891 _ACEOF
14892 if ac_fn_c_try_link "$LINENO"; then :
14893   ac_cv_lib_pam_pam_authenticate=yes
14894 else
14895   ac_cv_lib_pam_pam_authenticate=no
14896 fi
14897 rm -f core conftest.err conftest.$ac_objext \
14898     conftest$ac_exeext conftest.$ac_ext
14899 LIBS=$ac_check_lib_save_LIBS
14900 fi
14901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_authenticate" >&5
14902 $as_echo "$ac_cv_lib_pam_pam_authenticate" >&6; }
14903 if test "x$ac_cv_lib_pam_pam_authenticate" = xyes; then :
14904   PAM_LIBS="-lpam"
14905 else
14906   as_fn_error $? "Cannot find pam" "$LINENO" 5
14907
14908 fi
14909
14910                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_misc_setenv in -lpam_misc" >&5
14911 $as_echo_n "checking for pam_misc_setenv in -lpam_misc... " >&6; }
14912 if ${ac_cv_lib_pam_misc_pam_misc_setenv+:} false; then :
14913   $as_echo_n "(cached) " >&6
14914 else
14915   ac_check_lib_save_LIBS=$LIBS
14916 LIBS="-lpam_misc  $LIBS"
14917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14918 /* end confdefs.h.  */
14919
14920 /* Override any GCC internal prototype to avoid an error.
14921    Use char because int might match the return type of a GCC
14922    builtin and then its argument prototype would still apply.  */
14923 #ifdef __cplusplus
14924 extern "C"
14925 #endif
14926 char pam_misc_setenv ();
14927 int
14928 main ()
14929 {
14930 return pam_misc_setenv ();
14931   ;
14932   return 0;
14933 }
14934 _ACEOF
14935 if ac_fn_c_try_link "$LINENO"; then :
14936   ac_cv_lib_pam_misc_pam_misc_setenv=yes
14937 else
14938   ac_cv_lib_pam_misc_pam_misc_setenv=no
14939 fi
14940 rm -f core conftest.err conftest.$ac_objext \
14941     conftest$ac_exeext conftest.$ac_ext
14942 LIBS=$ac_check_lib_save_LIBS
14943 fi
14944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_misc_pam_misc_setenv" >&5
14945 $as_echo "$ac_cv_lib_pam_misc_pam_misc_setenv" >&6; }
14946 if test "x$ac_cv_lib_pam_misc_pam_misc_setenv" = xyes; then :
14947   PAM_LIBS="${PAM_LIBS} ${TSPI_LIBS} -lpam_misc"
14948 else
14949   as_fn_error $? "Cannot find pam_misc" "$LINENO" 5
14950
14951 fi
14952
14953         fi
14954 fi
14955
14956 if test "${enable_gui}" = "yes"; then
14957
14958 pkg_failed=no
14959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
14960 $as_echo_n "checking for GTK... " >&6; }
14961
14962 if test -n "$GTK_CFLAGS"; then
14963     pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
14964  elif test -n "$PKG_CONFIG"; then
14965     if test -n "$PKG_CONFIG" && \
14966     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.0\""; } >&5
14967   ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.0") 2>&5
14968   ac_status=$?
14969   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14970   test $ac_status = 0; }; then
14971   pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.0" 2>/dev/null`
14972                       test "x$?" != "x0" && pkg_failed=yes
14973 else
14974   pkg_failed=yes
14975 fi
14976  else
14977     pkg_failed=untried
14978 fi
14979 if test -n "$GTK_LIBS"; then
14980     pkg_cv_GTK_LIBS="$GTK_LIBS"
14981  elif test -n "$PKG_CONFIG"; then
14982     if test -n "$PKG_CONFIG" && \
14983     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.0\""; } >&5
14984   ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.0") 2>&5
14985   ac_status=$?
14986   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14987   test $ac_status = 0; }; then
14988   pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.0" 2>/dev/null`
14989                       test "x$?" != "x0" && pkg_failed=yes
14990 else
14991   pkg_failed=yes
14992 fi
14993  else
14994     pkg_failed=untried
14995 fi
14996
14997
14998
14999 if test $pkg_failed = yes; then
15000         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15001 $as_echo "no" >&6; }
15002
15003 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15004         _pkg_short_errors_supported=yes
15005 else
15006         _pkg_short_errors_supported=no
15007 fi
15008         if test $_pkg_short_errors_supported = yes; then
15009                 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.0" 2>&1`
15010         else
15011                 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.0" 2>&1`
15012         fi
15013         # Put the nasty error message in config.log where it belongs
15014         echo "$GTK_PKG_ERRORS" >&5
15015
15016           GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
15017   GTK_LIBS    linker flags for GTK, overriding pkg-config
15018
15019 pkg_failed=no
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
15021 $as_echo_n "checking for GTK... " >&6; }
15022
15023 if test -n "$GTK_CFLAGS"; then
15024     pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
15025  elif test -n "$PKG_CONFIG"; then
15026     if test -n "$PKG_CONFIG" && \
15027     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+ >= 1.0\""; } >&5
15028   ($PKG_CONFIG --exists --print-errors "gtk+ >= 1.0") 2>&5
15029   ac_status=$?
15030   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15031   test $ac_status = 0; }; then
15032   pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+ >= 1.0" 2>/dev/null`
15033                       test "x$?" != "x0" && pkg_failed=yes
15034 else
15035   pkg_failed=yes
15036 fi
15037  else
15038     pkg_failed=untried
15039 fi
15040 if test -n "$GTK_LIBS"; then
15041     pkg_cv_GTK_LIBS="$GTK_LIBS"
15042  elif test -n "$PKG_CONFIG"; then
15043     if test -n "$PKG_CONFIG" && \
15044     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+ >= 1.0\""; } >&5
15045   ($PKG_CONFIG --exists --print-errors "gtk+ >= 1.0") 2>&5
15046   ac_status=$?
15047   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15048   test $ac_status = 0; }; then
15049   pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+ >= 1.0" 2>/dev/null`
15050                       test "x$?" != "x0" && pkg_failed=yes
15051 else
15052   pkg_failed=yes
15053 fi
15054  else
15055     pkg_failed=untried
15056 fi
15057
15058
15059
15060 if test $pkg_failed = yes; then
15061         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15062 $as_echo "no" >&6; }
15063
15064 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15065         _pkg_short_errors_supported=yes
15066 else
15067         _pkg_short_errors_supported=no
15068 fi
15069         if test $_pkg_short_errors_supported = yes; then
15070                 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+ >= 1.0" 2>&1`
15071         else
15072                 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+ >= 1.0" 2>&1`
15073         fi
15074         # Put the nasty error message in config.log where it belongs
15075         echo "$GTK_PKG_ERRORS" >&5
15076
15077         as_fn_error $? "Cannot locate gtk+" "$LINENO" 5
15078
15079 elif test $pkg_failed = untried; then
15080         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15081 $as_echo "no" >&6; }
15082         as_fn_error $? "Cannot locate gtk+" "$LINENO" 5
15083
15084 else
15085         GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
15086         GTK_LIBS=$pkg_cv_GTK_LIBS
15087         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15088 $as_echo "yes" >&6; }
15089
15090 fi
15091
15092 elif test $pkg_failed = untried; then
15093         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15094 $as_echo "no" >&6; }
15095           GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
15096   GTK_LIBS    linker flags for GTK, overriding pkg-config
15097
15098 pkg_failed=no
15099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
15100 $as_echo_n "checking for GTK... " >&6; }
15101
15102 if test -n "$GTK_CFLAGS"; then
15103     pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
15104  elif test -n "$PKG_CONFIG"; then
15105     if test -n "$PKG_CONFIG" && \
15106     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+ >= 1.0\""; } >&5
15107   ($PKG_CONFIG --exists --print-errors "gtk+ >= 1.0") 2>&5
15108   ac_status=$?
15109   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15110   test $ac_status = 0; }; then
15111   pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+ >= 1.0" 2>/dev/null`
15112                       test "x$?" != "x0" && pkg_failed=yes
15113 else
15114   pkg_failed=yes
15115 fi
15116  else
15117     pkg_failed=untried
15118 fi
15119 if test -n "$GTK_LIBS"; then
15120     pkg_cv_GTK_LIBS="$GTK_LIBS"
15121  elif test -n "$PKG_CONFIG"; then
15122     if test -n "$PKG_CONFIG" && \
15123     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+ >= 1.0\""; } >&5
15124   ($PKG_CONFIG --exists --print-errors "gtk+ >= 1.0") 2>&5
15125   ac_status=$?
15126   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15127   test $ac_status = 0; }; then
15128   pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+ >= 1.0" 2>/dev/null`
15129                       test "x$?" != "x0" && pkg_failed=yes
15130 else
15131   pkg_failed=yes
15132 fi
15133  else
15134     pkg_failed=untried
15135 fi
15136
15137
15138
15139 if test $pkg_failed = yes; then
15140         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15141 $as_echo "no" >&6; }
15142
15143 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15144         _pkg_short_errors_supported=yes
15145 else
15146         _pkg_short_errors_supported=no
15147 fi
15148         if test $_pkg_short_errors_supported = yes; then
15149                 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+ >= 1.0" 2>&1`
15150         else
15151                 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+ >= 1.0" 2>&1`
15152         fi
15153         # Put the nasty error message in config.log where it belongs
15154         echo "$GTK_PKG_ERRORS" >&5
15155
15156         as_fn_error $? "Cannot locate gtk+" "$LINENO" 5
15157
15158 elif test $pkg_failed = untried; then
15159         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15160 $as_echo "no" >&6; }
15161         as_fn_error $? "Cannot locate gtk+" "$LINENO" 5
15162
15163 else
15164         GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
15165         GTK_LIBS=$pkg_cv_GTK_LIBS
15166         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15167 $as_echo "yes" >&6; }
15168
15169 fi
15170
15171 else
15172         GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
15173         GTK_LIBS=$pkg_cv_GTK_LIBS
15174         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15175 $as_echo "yes" >&6; }
15176
15177 fi
15178 fi
15179
15180 pkgconfigdir="\$(libdir)/pkgconfig"
15181 if test "${prefix}" = "/usr"; then
15182         rootsbindir="/sbin"
15183 else
15184         rootsbindir="\$(sbindir)"
15185 fi
15186
15187 GETTEXT_PACKAGE=ecryptfs-utils
15188
15189
15190 cat >>confdefs.h <<_ACEOF
15191 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
15192 _ACEOF
15193
15194
15195
15196    for ac_header in locale.h
15197 do :
15198   ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
15199 if test "x$ac_cv_header_locale_h" = xyes; then :
15200   cat >>confdefs.h <<_ACEOF
15201 #define HAVE_LOCALE_H 1
15202 _ACEOF
15203
15204 fi
15205
15206 done
15207
15208     if test $ac_cv_header_locale_h = yes; then
15209     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
15210 $as_echo_n "checking for LC_MESSAGES... " >&6; }
15211 if ${am_cv_val_LC_MESSAGES+:} false; then :
15212   $as_echo_n "(cached) " >&6
15213 else
15214   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15215 /* end confdefs.h.  */
15216 #include <locale.h>
15217 int
15218 main ()
15219 {
15220 return LC_MESSAGES
15221   ;
15222   return 0;
15223 }
15224 _ACEOF
15225 if ac_fn_c_try_link "$LINENO"; then :
15226   am_cv_val_LC_MESSAGES=yes
15227 else
15228   am_cv_val_LC_MESSAGES=no
15229 fi
15230 rm -f core conftest.err conftest.$ac_objext \
15231     conftest$ac_exeext conftest.$ac_ext
15232 fi
15233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
15234 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
15235     if test $am_cv_val_LC_MESSAGES = yes; then
15236
15237 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
15238
15239     fi
15240   fi
15241      USE_NLS=yes
15242
15243
15244     gt_cv_have_gettext=no
15245
15246     CATOBJEXT=NONE
15247     XGETTEXT=:
15248     INTLLIBS=
15249
15250     ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15251 if test "x$ac_cv_header_libintl_h" = xyes; then :
15252   gt_cv_func_dgettext_libintl="no"
15253       libintl_extra_libs=""
15254
15255       #
15256       # First check in libc
15257       #
15258       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
15259 $as_echo_n "checking for ngettext in libc... " >&6; }
15260 if ${gt_cv_func_ngettext_libc+:} false; then :
15261   $as_echo_n "(cached) " >&6
15262 else
15263   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15264 /* end confdefs.h.  */
15265
15266 #include <libintl.h>
15267
15268 int
15269 main ()
15270 {
15271 return !ngettext ("","", 1)
15272   ;
15273   return 0;
15274 }
15275 _ACEOF
15276 if ac_fn_c_try_link "$LINENO"; then :
15277   gt_cv_func_ngettext_libc=yes
15278 else
15279   gt_cv_func_ngettext_libc=no
15280 fi
15281 rm -f core conftest.err conftest.$ac_objext \
15282     conftest$ac_exeext conftest.$ac_ext
15283
15284 fi
15285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
15286 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
15287
15288       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
15289               { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
15290 $as_echo_n "checking for dgettext in libc... " >&6; }
15291 if ${gt_cv_func_dgettext_libc+:} false; then :
15292   $as_echo_n "(cached) " >&6
15293 else
15294   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15295 /* end confdefs.h.  */
15296
15297 #include <libintl.h>
15298
15299 int
15300 main ()
15301 {
15302 return !dgettext ("","")
15303   ;
15304   return 0;
15305 }
15306 _ACEOF
15307 if ac_fn_c_try_link "$LINENO"; then :
15308   gt_cv_func_dgettext_libc=yes
15309 else
15310   gt_cv_func_dgettext_libc=no
15311 fi
15312 rm -f core conftest.err conftest.$ac_objext \
15313     conftest$ac_exeext conftest.$ac_ext
15314
15315 fi
15316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
15317 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
15318       fi
15319
15320       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
15321         for ac_func in bind_textdomain_codeset
15322 do :
15323   ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15324 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15325   cat >>confdefs.h <<_ACEOF
15326 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
15327 _ACEOF
15328
15329 fi
15330 done
15331
15332       fi
15333
15334       #
15335       # If we don't have everything we want, check in libintl
15336       #
15337       if test "$gt_cv_func_dgettext_libc" != "yes" \
15338          || test "$gt_cv_func_ngettext_libc" != "yes" \
15339          || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
15340
15341         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
15342 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
15343 if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
15344   $as_echo_n "(cached) " >&6
15345 else
15346   ac_check_lib_save_LIBS=$LIBS
15347 LIBS="-lintl  $LIBS"
15348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15349 /* end confdefs.h.  */
15350
15351 /* Override any GCC internal prototype to avoid an error.
15352    Use char because int might match the return type of a GCC
15353    builtin and then its argument prototype would still apply.  */
15354 #ifdef __cplusplus
15355 extern "C"
15356 #endif
15357 char bindtextdomain ();
15358 int
15359 main ()
15360 {
15361 return bindtextdomain ();
15362   ;
15363   return 0;
15364 }
15365 _ACEOF
15366 if ac_fn_c_try_link "$LINENO"; then :
15367   ac_cv_lib_intl_bindtextdomain=yes
15368 else
15369   ac_cv_lib_intl_bindtextdomain=no
15370 fi
15371 rm -f core conftest.err conftest.$ac_objext \
15372     conftest$ac_exeext conftest.$ac_ext
15373 LIBS=$ac_check_lib_save_LIBS
15374 fi
15375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
15376 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
15377 if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
15378   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
15379 $as_echo_n "checking for ngettext in -lintl... " >&6; }
15380 if ${ac_cv_lib_intl_ngettext+:} false; then :
15381   $as_echo_n "(cached) " >&6
15382 else
15383   ac_check_lib_save_LIBS=$LIBS
15384 LIBS="-lintl  $LIBS"
15385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15386 /* end confdefs.h.  */
15387
15388 /* Override any GCC internal prototype to avoid an error.
15389    Use char because int might match the return type of a GCC
15390    builtin and then its argument prototype would still apply.  */
15391 #ifdef __cplusplus
15392 extern "C"
15393 #endif
15394 char ngettext ();
15395 int
15396 main ()
15397 {
15398 return ngettext ();
15399   ;
15400   return 0;
15401 }
15402 _ACEOF
15403 if ac_fn_c_try_link "$LINENO"; then :
15404   ac_cv_lib_intl_ngettext=yes
15405 else
15406   ac_cv_lib_intl_ngettext=no
15407 fi
15408 rm -f core conftest.err conftest.$ac_objext \
15409     conftest$ac_exeext conftest.$ac_ext
15410 LIBS=$ac_check_lib_save_LIBS
15411 fi
15412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
15413 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
15414 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
15415   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
15416 $as_echo_n "checking for dgettext in -lintl... " >&6; }
15417 if ${ac_cv_lib_intl_dgettext+:} false; then :
15418   $as_echo_n "(cached) " >&6
15419 else
15420   ac_check_lib_save_LIBS=$LIBS
15421 LIBS="-lintl  $LIBS"
15422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15423 /* end confdefs.h.  */
15424
15425 /* Override any GCC internal prototype to avoid an error.
15426    Use char because int might match the return type of a GCC
15427    builtin and then its argument prototype would still apply.  */
15428 #ifdef __cplusplus
15429 extern "C"
15430 #endif
15431 char dgettext ();
15432 int
15433 main ()
15434 {
15435 return dgettext ();
15436   ;
15437   return 0;
15438 }
15439 _ACEOF
15440 if ac_fn_c_try_link "$LINENO"; then :
15441   ac_cv_lib_intl_dgettext=yes
15442 else
15443   ac_cv_lib_intl_dgettext=no
15444 fi
15445 rm -f core conftest.err conftest.$ac_objext \
15446     conftest$ac_exeext conftest.$ac_ext
15447 LIBS=$ac_check_lib_save_LIBS
15448 fi
15449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
15450 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
15451 if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
15452   gt_cv_func_dgettext_libintl=yes
15453 fi
15454
15455 fi
15456
15457 fi
15458
15459
15460         if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
15461           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
15462 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
15463           { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
15464 $as_echo "" >&6; }
15465           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
15466 $as_echo_n "checking for ngettext in -lintl... " >&6; }
15467 if ${ac_cv_lib_intl_ngettext+:} false; then :
15468   $as_echo_n "(cached) " >&6
15469 else
15470   ac_check_lib_save_LIBS=$LIBS
15471 LIBS="-lintl -liconv $LIBS"
15472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15473 /* end confdefs.h.  */
15474
15475 /* Override any GCC internal prototype to avoid an error.
15476    Use char because int might match the return type of a GCC
15477    builtin and then its argument prototype would still apply.  */
15478 #ifdef __cplusplus
15479 extern "C"
15480 #endif
15481 char ngettext ();
15482 int
15483 main ()
15484 {
15485 return ngettext ();
15486   ;
15487   return 0;
15488 }
15489 _ACEOF
15490 if ac_fn_c_try_link "$LINENO"; then :
15491   ac_cv_lib_intl_ngettext=yes
15492 else
15493   ac_cv_lib_intl_ngettext=no
15494 fi
15495 rm -f core conftest.err conftest.$ac_objext \
15496     conftest$ac_exeext conftest.$ac_ext
15497 LIBS=$ac_check_lib_save_LIBS
15498 fi
15499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
15500 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
15501 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
15502   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
15503 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
15504 if ${ac_cv_lib_intl_dcgettext+:} false; then :
15505   $as_echo_n "(cached) " >&6
15506 else
15507   ac_check_lib_save_LIBS=$LIBS
15508 LIBS="-lintl -liconv $LIBS"
15509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15510 /* end confdefs.h.  */
15511
15512 /* Override any GCC internal prototype to avoid an error.
15513    Use char because int might match the return type of a GCC
15514    builtin and then its argument prototype would still apply.  */
15515 #ifdef __cplusplus
15516 extern "C"
15517 #endif
15518 char dcgettext ();
15519 int
15520 main ()
15521 {
15522 return dcgettext ();
15523   ;
15524   return 0;
15525 }
15526 _ACEOF
15527 if ac_fn_c_try_link "$LINENO"; then :
15528   ac_cv_lib_intl_dcgettext=yes
15529 else
15530   ac_cv_lib_intl_dcgettext=no
15531 fi
15532 rm -f core conftest.err conftest.$ac_objext \
15533     conftest$ac_exeext conftest.$ac_ext
15534 LIBS=$ac_check_lib_save_LIBS
15535 fi
15536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
15537 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
15538 if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
15539   gt_cv_func_dgettext_libintl=yes
15540                         libintl_extra_libs=-liconv
15541 else
15542   :
15543 fi
15544
15545 else
15546   :
15547 fi
15548
15549         fi
15550
15551         #
15552         # If we found libintl, then check in it for bind_textdomain_codeset();
15553         # we'll prefer libc if neither have bind_textdomain_codeset(),
15554         # and both have dgettext and ngettext
15555         #
15556         if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
15557           glib_save_LIBS="$LIBS"
15558           LIBS="$LIBS -lintl $libintl_extra_libs"
15559           unset ac_cv_func_bind_textdomain_codeset
15560           for ac_func in bind_textdomain_codeset
15561 do :
15562   ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15563 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15564   cat >>confdefs.h <<_ACEOF
15565 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
15566 _ACEOF
15567
15568 fi
15569 done
15570
15571           LIBS="$glib_save_LIBS"
15572
15573           if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
15574             gt_cv_func_dgettext_libc=no
15575           else
15576             if test "$gt_cv_func_dgettext_libc" = "yes" \
15577                 && test "$gt_cv_func_ngettext_libc" = "yes"; then
15578               gt_cv_func_dgettext_libintl=no
15579             fi
15580           fi
15581         fi
15582       fi
15583
15584       if test "$gt_cv_func_dgettext_libc" = "yes" \
15585         || test "$gt_cv_func_dgettext_libintl" = "yes"; then
15586         gt_cv_have_gettext=yes
15587       fi
15588
15589       if test "$gt_cv_func_dgettext_libintl" = "yes"; then
15590         INTLLIBS="-lintl $libintl_extra_libs"
15591       fi
15592
15593       if test "$gt_cv_have_gettext" = "yes"; then
15594
15595 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
15596
15597         # Extract the first word of "msgfmt", so it can be a program name with args.
15598 set dummy msgfmt; ac_word=$2
15599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15600 $as_echo_n "checking for $ac_word... " >&6; }
15601 if ${ac_cv_path_MSGFMT+:} false; then :
15602   $as_echo_n "(cached) " >&6
15603 else
15604   case "$MSGFMT" in
15605   /*)
15606   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
15607   ;;
15608   *)
15609   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
15610   for ac_dir in $PATH; do
15611     test -z "$ac_dir" && ac_dir=.
15612     if test -f $ac_dir/$ac_word; then
15613       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
15614         ac_cv_path_MSGFMT="$ac_dir/$ac_word"
15615         break
15616       fi
15617     fi
15618   done
15619   IFS="$ac_save_ifs"
15620   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
15621   ;;
15622 esac
15623 fi
15624 MSGFMT="$ac_cv_path_MSGFMT"
15625 if test "$MSGFMT" != "no"; then
15626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
15627 $as_echo "$MSGFMT" >&6; }
15628 else
15629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15630 $as_echo "no" >&6; }
15631 fi
15632         if test "$MSGFMT" != "no"; then
15633           glib_save_LIBS="$LIBS"
15634           LIBS="$LIBS $INTLLIBS"
15635           for ac_func in dcgettext
15636 do :
15637   ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
15638 if test "x$ac_cv_func_dcgettext" = xyes; then :
15639   cat >>confdefs.h <<_ACEOF
15640 #define HAVE_DCGETTEXT 1
15641 _ACEOF
15642
15643 fi
15644 done
15645
15646           MSGFMT_OPTS=
15647           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
15648 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
15649           cat >conftest.foo <<_ACEOF
15650
15651 msgid ""
15652 msgstr ""
15653 "Content-Type: text/plain; charset=UTF-8\n"
15654 "Project-Id-Version: test 1.0\n"
15655 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
15656 "Last-Translator: test <foo@bar.xx>\n"
15657 "Language-Team: C <LL@li.org>\n"
15658 "MIME-Version: 1.0\n"
15659 "Content-Transfer-Encoding: 8bit\n"
15660
15661 _ACEOF
15662 if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
15663   ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
15664   ac_status=$?
15665   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15666   test $ac_status = 0; }; then
15667   MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15668 $as_echo "yes" >&6; }
15669 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15670 $as_echo "no" >&6; }
15671 echo "$as_me: failed input was:" >&5
15672 sed 's/^/| /' conftest.foo >&5
15673 fi
15674
15675           # Extract the first word of "gmsgfmt", so it can be a program name with args.
15676 set dummy gmsgfmt; ac_word=$2
15677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15678 $as_echo_n "checking for $ac_word... " >&6; }
15679 if ${ac_cv_path_GMSGFMT+:} false; then :
15680   $as_echo_n "(cached) " >&6
15681 else
15682   case $GMSGFMT in
15683   [\\/]* | ?:[\\/]*)
15684   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
15685   ;;
15686   *)
15687   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15688 for as_dir in $PATH
15689 do
15690   IFS=$as_save_IFS
15691   test -z "$as_dir" && as_dir=.
15692     for ac_exec_ext in '' $ac_executable_extensions; do
15693   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15694     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
15695     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15696     break 2
15697   fi
15698 done
15699   done
15700 IFS=$as_save_IFS
15701
15702   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
15703   ;;
15704 esac
15705 fi
15706 GMSGFMT=$ac_cv_path_GMSGFMT
15707 if test -n "$GMSGFMT"; then
15708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
15709 $as_echo "$GMSGFMT" >&6; }
15710 else
15711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15712 $as_echo "no" >&6; }
15713 fi
15714
15715
15716           # Extract the first word of "xgettext", so it can be a program name with args.
15717 set dummy xgettext; ac_word=$2
15718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15719 $as_echo_n "checking for $ac_word... " >&6; }
15720 if ${ac_cv_path_XGETTEXT+:} false; then :
15721   $as_echo_n "(cached) " >&6
15722 else
15723   case "$XGETTEXT" in
15724   /*)
15725   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
15726   ;;
15727   *)
15728   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
15729   for ac_dir in $PATH; do
15730     test -z "$ac_dir" && ac_dir=.
15731     if test -f $ac_dir/$ac_word; then
15732       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
15733         ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
15734         break
15735       fi
15736     fi
15737   done
15738   IFS="$ac_save_ifs"
15739   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
15740   ;;
15741 esac
15742 fi
15743 XGETTEXT="$ac_cv_path_XGETTEXT"
15744 if test "$XGETTEXT" != ":"; then
15745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
15746 $as_echo "$XGETTEXT" >&6; }
15747 else
15748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15749 $as_echo "no" >&6; }
15750 fi
15751
15752           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15753 /* end confdefs.h.  */
15754
15755 int
15756 main ()
15757 {
15758 extern int _nl_msg_cat_cntr;
15759                          return _nl_msg_cat_cntr
15760   ;
15761   return 0;
15762 }
15763 _ACEOF
15764 if ac_fn_c_try_link "$LINENO"; then :
15765   CATOBJEXT=.gmo
15766              DATADIRNAME=share
15767 else
15768   case $host in
15769             *-*-solaris*)
15770                                                                 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15771 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15772   CATOBJEXT=.gmo
15773                DATADIRNAME=share
15774 else
15775   CATOBJEXT=.mo
15776                DATADIRNAME=lib
15777 fi
15778
15779             ;;
15780             *-*-openbsd*)
15781             CATOBJEXT=.mo
15782             DATADIRNAME=share
15783             ;;
15784             *)
15785             CATOBJEXT=.mo
15786             DATADIRNAME=lib
15787             ;;
15788             esac
15789 fi
15790 rm -f core conftest.err conftest.$ac_objext \
15791     conftest$ac_exeext conftest.$ac_ext
15792           LIBS="$glib_save_LIBS"
15793           INSTOBJEXT=.mo
15794         else
15795           gt_cv_have_gettext=no
15796         fi
15797       fi
15798
15799 fi
15800
15801
15802
15803     if test "$gt_cv_have_gettext" = "yes" ; then
15804
15805 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
15806
15807     fi
15808
15809         if test "$XGETTEXT" != ":"; then
15810                   if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
15811         : ;
15812       else
15813         { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
15814 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
15815         XGETTEXT=":"
15816       fi
15817     fi
15818
15819     # We need to process the po/ directory.
15820     POSUB=po
15821
15822     ac_config_commands="$ac_config_commands default-1"
15823
15824
15825                 for lang in $ALL_LINGUAS; do
15826       GMOFILES="$GMOFILES $lang.gmo"
15827       POFILES="$POFILES $lang.po"
15828     done
15829
15830
15831
15832
15833
15834
15835
15836
15837
15838
15839
15840
15841
15842    if test "$gt_cv_have_gettext" = "yes"; then
15843      if test "x$ALL_LINGUAS" = "x"; then
15844        LINGUAS=
15845      else
15846        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
15847 $as_echo_n "checking for catalogs to be installed... " >&6; }
15848        NEW_LINGUAS=
15849        for presentlang in $ALL_LINGUAS; do
15850          useit=no
15851          if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
15852            desiredlanguages="$LINGUAS"
15853          else
15854            desiredlanguages="$ALL_LINGUAS"
15855          fi
15856          for desiredlang in $desiredlanguages; do
15857            # Use the presentlang catalog if desiredlang is
15858            #   a. equal to presentlang, or
15859            #   b. a variant of presentlang (because in this case,
15860            #      presentlang can be used as a fallback for messages
15861            #      which are not translated in the desiredlang catalog).
15862            case "$desiredlang" in
15863              "$presentlang"*) useit=yes;;
15864            esac
15865          done
15866          if test $useit = yes; then
15867            NEW_LINGUAS="$NEW_LINGUAS $presentlang"
15868          fi
15869        done
15870        LINGUAS=$NEW_LINGUAS
15871        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
15872 $as_echo "$LINGUAS" >&6; }
15873      fi
15874
15875           if test -n "$LINGUAS"; then
15876        for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
15877      fi
15878    fi
15879
15880             MKINSTALLDIRS=
15881    if test -n "$ac_aux_dir"; then
15882      MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
15883    fi
15884    if test -z "$MKINSTALLDIRS"; then
15885      MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
15886    fi
15887
15888
15889          test -d po || mkdir po
15890    if test "x$srcdir" != "x."; then
15891      if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
15892        posrcprefix="$srcdir/"
15893      else
15894        posrcprefix="../$srcdir/"
15895      fi
15896    else
15897      posrcprefix="../"
15898    fi
15899    rm -f po/POTFILES
15900    sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
15901         < $srcdir/po/POTFILES.in > po/POTFILES
15902
15903
15904
15905   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
15906 $as_echo_n "checking whether NLS is requested... " >&6; }
15907     # Check whether --enable-nls was given.
15908 if test "${enable_nls+set}" = set; then :
15909   enableval=$enable_nls; USE_NLS=$enableval
15910 else
15911   USE_NLS=yes
15912 fi
15913
15914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
15915 $as_echo "$USE_NLS" >&6; }
15916
15917
15918
15919
15920 case "$am__api_version" in
15921     1.01234)
15922         as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
15923     ;;
15924     *)
15925     ;;
15926 esac
15927
15928 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.41.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
15929 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
15930 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
15931 if test -n "0.41.0"; then
15932     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.41.0" >&5
15933 $as_echo_n "checking for intltool >= 0.41.0... " >&6; }
15934     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
15935 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
15936     test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
15937         as_fn_error $? "Your intltool is too old.  You need intltool 0.41.0 or later." "$LINENO" 5
15938 fi
15939
15940 # Extract the first word of "intltool-update", so it can be a program name with args.
15941 set dummy intltool-update; ac_word=$2
15942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15943 $as_echo_n "checking for $ac_word... " >&6; }
15944 if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
15945   $as_echo_n "(cached) " >&6
15946 else
15947   case $INTLTOOL_UPDATE in
15948   [\\/]* | ?:[\\/]*)
15949   ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
15950   ;;
15951   *)
15952   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15953 for as_dir in $PATH
15954 do
15955   IFS=$as_save_IFS
15956   test -z "$as_dir" && as_dir=.
15957     for ac_exec_ext in '' $ac_executable_extensions; do
15958   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15959     ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
15960     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15961     break 2
15962   fi
15963 done
15964   done
15965 IFS=$as_save_IFS
15966
15967   ;;
15968 esac
15969 fi
15970 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
15971 if test -n "$INTLTOOL_UPDATE"; then
15972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
15973 $as_echo "$INTLTOOL_UPDATE" >&6; }
15974 else
15975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15976 $as_echo "no" >&6; }
15977 fi
15978
15979
15980 # Extract the first word of "intltool-merge", so it can be a program name with args.
15981 set dummy intltool-merge; ac_word=$2
15982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15983 $as_echo_n "checking for $ac_word... " >&6; }
15984 if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
15985   $as_echo_n "(cached) " >&6
15986 else
15987   case $INTLTOOL_MERGE in
15988   [\\/]* | ?:[\\/]*)
15989   ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
15990   ;;
15991   *)
15992   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15993 for as_dir in $PATH
15994 do
15995   IFS=$as_save_IFS
15996   test -z "$as_dir" && as_dir=.
15997     for ac_exec_ext in '' $ac_executable_extensions; do
15998   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15999     ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
16000     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16001     break 2
16002   fi
16003 done
16004   done
16005 IFS=$as_save_IFS
16006
16007   ;;
16008 esac
16009 fi
16010 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
16011 if test -n "$INTLTOOL_MERGE"; then
16012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
16013 $as_echo "$INTLTOOL_MERGE" >&6; }
16014 else
16015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16016 $as_echo "no" >&6; }
16017 fi
16018
16019
16020 # Extract the first word of "intltool-extract", so it can be a program name with args.
16021 set dummy intltool-extract; ac_word=$2
16022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16023 $as_echo_n "checking for $ac_word... " >&6; }
16024 if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
16025   $as_echo_n "(cached) " >&6
16026 else
16027   case $INTLTOOL_EXTRACT in
16028   [\\/]* | ?:[\\/]*)
16029   ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
16030   ;;
16031   *)
16032   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16033 for as_dir in $PATH
16034 do
16035   IFS=$as_save_IFS
16036   test -z "$as_dir" && as_dir=.
16037     for ac_exec_ext in '' $ac_executable_extensions; do
16038   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16039     ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
16040     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16041     break 2
16042   fi
16043 done
16044   done
16045 IFS=$as_save_IFS
16046
16047   ;;
16048 esac
16049 fi
16050 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
16051 if test -n "$INTLTOOL_EXTRACT"; then
16052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
16053 $as_echo "$INTLTOOL_EXTRACT" >&6; }
16054 else
16055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16056 $as_echo "no" >&6; }
16057 fi
16058
16059
16060 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
16061     as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
16062 fi
16063
16064 if test -z "$AM_DEFAULT_VERBOSITY"; then
16065   AM_DEFAULT_VERBOSITY=1
16066 fi
16067
16068
16069 INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
16070 INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
16071 INTLTOOL__v_MERGE_0='@echo "  ITMRG " $@;'
16072
16073
16074
16075
16076 INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
16077 intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
16078 intltool__v_merge_options_0='-q'
16079
16080
16081
16082
16083   INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
16084 INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
16085      INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
16086      INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
16087       INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
16088      INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
16089    INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
16090     INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
16091 INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
16092        INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
16093       INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
16094 if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
16095       INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
16096 else
16097       INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
16098 fi
16099       INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
16100       INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
16101     INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
16102   INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
16103     INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
16104     INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
16105    INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
16106
16107
16108
16109
16110
16111
16112
16113
16114
16115
16116
16117
16118
16119
16120
16121
16122
16123
16124
16125
16126
16127
16128
16129
16130
16131
16132
16133
16134
16135
16136
16137
16138
16139
16140
16141
16142
16143
16144
16145
16146
16147
16148
16149
16150
16151
16152
16153
16154
16155
16156
16157
16158
16159
16160
16161
16162
16163
16164
16165
16166
16167
16168
16169
16170
16171
16172
16173
16174
16175
16176
16177
16178
16179
16180
16181
16182
16183
16184
16185
16186
16187
16188
16189
16190
16191
16192
16193
16194
16195
16196
16197
16198
16199
16200
16201
16202
16203 # Check the gettext tools to make sure they are GNU
16204 # Extract the first word of "xgettext", so it can be a program name with args.
16205 set dummy xgettext; ac_word=$2
16206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16207 $as_echo_n "checking for $ac_word... " >&6; }
16208 if ${ac_cv_path_XGETTEXT+:} false; then :
16209   $as_echo_n "(cached) " >&6
16210 else
16211   case $XGETTEXT in
16212   [\\/]* | ?:[\\/]*)
16213   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
16214   ;;
16215   *)
16216   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16217 for as_dir in $PATH
16218 do
16219   IFS=$as_save_IFS
16220   test -z "$as_dir" && as_dir=.
16221     for ac_exec_ext in '' $ac_executable_extensions; do
16222   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16223     ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
16224     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16225     break 2
16226   fi
16227 done
16228   done
16229 IFS=$as_save_IFS
16230
16231   ;;
16232 esac
16233 fi
16234 XGETTEXT=$ac_cv_path_XGETTEXT
16235 if test -n "$XGETTEXT"; then
16236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
16237 $as_echo "$XGETTEXT" >&6; }
16238 else
16239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16240 $as_echo "no" >&6; }
16241 fi
16242
16243
16244 # Extract the first word of "msgmerge", so it can be a program name with args.
16245 set dummy msgmerge; ac_word=$2
16246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16247 $as_echo_n "checking for $ac_word... " >&6; }
16248 if ${ac_cv_path_MSGMERGE+:} false; then :
16249   $as_echo_n "(cached) " >&6
16250 else
16251   case $MSGMERGE in
16252   [\\/]* | ?:[\\/]*)
16253   ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
16254   ;;
16255   *)
16256   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16257 for as_dir in $PATH
16258 do
16259   IFS=$as_save_IFS
16260   test -z "$as_dir" && as_dir=.
16261     for ac_exec_ext in '' $ac_executable_extensions; do
16262   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16263     ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
16264     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16265     break 2
16266   fi
16267 done
16268   done
16269 IFS=$as_save_IFS
16270
16271   ;;
16272 esac
16273 fi
16274 MSGMERGE=$ac_cv_path_MSGMERGE
16275 if test -n "$MSGMERGE"; then
16276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
16277 $as_echo "$MSGMERGE" >&6; }
16278 else
16279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16280 $as_echo "no" >&6; }
16281 fi
16282
16283
16284 # Extract the first word of "msgfmt", so it can be a program name with args.
16285 set dummy msgfmt; ac_word=$2
16286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16287 $as_echo_n "checking for $ac_word... " >&6; }
16288 if ${ac_cv_path_MSGFMT+:} false; then :
16289   $as_echo_n "(cached) " >&6
16290 else
16291   case $MSGFMT in
16292   [\\/]* | ?:[\\/]*)
16293   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
16294   ;;
16295   *)
16296   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16297 for as_dir in $PATH
16298 do
16299   IFS=$as_save_IFS
16300   test -z "$as_dir" && as_dir=.
16301     for ac_exec_ext in '' $ac_executable_extensions; do
16302   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16303     ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
16304     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16305     break 2
16306   fi
16307 done
16308   done
16309 IFS=$as_save_IFS
16310
16311   ;;
16312 esac
16313 fi
16314 MSGFMT=$ac_cv_path_MSGFMT
16315 if test -n "$MSGFMT"; then
16316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
16317 $as_echo "$MSGFMT" >&6; }
16318 else
16319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16320 $as_echo "no" >&6; }
16321 fi
16322
16323
16324 # Extract the first word of "gmsgfmt", so it can be a program name with args.
16325 set dummy gmsgfmt; ac_word=$2
16326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16327 $as_echo_n "checking for $ac_word... " >&6; }
16328 if ${ac_cv_path_GMSGFMT+:} false; then :
16329   $as_echo_n "(cached) " >&6
16330 else
16331   case $GMSGFMT in
16332   [\\/]* | ?:[\\/]*)
16333   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
16334   ;;
16335   *)
16336   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16337 for as_dir in $PATH
16338 do
16339   IFS=$as_save_IFS
16340   test -z "$as_dir" && as_dir=.
16341     for ac_exec_ext in '' $ac_executable_extensions; do
16342   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16343     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
16344     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16345     break 2
16346   fi
16347 done
16348   done
16349 IFS=$as_save_IFS
16350
16351   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
16352   ;;
16353 esac
16354 fi
16355 GMSGFMT=$ac_cv_path_GMSGFMT
16356 if test -n "$GMSGFMT"; then
16357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
16358 $as_echo "$GMSGFMT" >&6; }
16359 else
16360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16361 $as_echo "no" >&6; }
16362 fi
16363
16364
16365 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
16366     as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
16367 fi
16368 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
16369 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
16370 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
16371 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
16372     as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
16373 fi
16374
16375 # Extract the first word of "perl", so it can be a program name with args.
16376 set dummy perl; ac_word=$2
16377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16378 $as_echo_n "checking for $ac_word... " >&6; }
16379 if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
16380   $as_echo_n "(cached) " >&6
16381 else
16382   case $INTLTOOL_PERL in
16383   [\\/]* | ?:[\\/]*)
16384   ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
16385   ;;
16386   *)
16387   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16388 for as_dir in $PATH
16389 do
16390   IFS=$as_save_IFS
16391   test -z "$as_dir" && as_dir=.
16392     for ac_exec_ext in '' $ac_executable_extensions; do
16393   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16394     ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
16395     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16396     break 2
16397   fi
16398 done
16399   done
16400 IFS=$as_save_IFS
16401
16402   ;;
16403 esac
16404 fi
16405 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
16406 if test -n "$INTLTOOL_PERL"; then
16407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
16408 $as_echo "$INTLTOOL_PERL" >&6; }
16409 else
16410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16411 $as_echo "no" >&6; }
16412 fi
16413
16414
16415 if test -z "$INTLTOOL_PERL"; then
16416    as_fn_error $? "perl not found" "$LINENO" 5
16417 fi
16418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
16419 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
16420 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
16421 if test $? -ne 0; then
16422    as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
16423 else
16424    IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
16425    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
16426 $as_echo "$IT_PERL_VERSION" >&6; }
16427 fi
16428 if test "x" != "xno-xml"; then
16429    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
16430 $as_echo_n "checking for XML::Parser... " >&6; }
16431    if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
16432        { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
16433 $as_echo "ok" >&6; }
16434    else
16435        as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
16436    fi
16437 fi
16438
16439 # Substitute ALL_LINGUAS so we can use it in po/Makefile
16440
16441
16442 # Set DATADIRNAME correctly if it is not set yet
16443 # (copied from glib-gettext.m4)
16444 if test -z "$DATADIRNAME"; then
16445   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16446 /* end confdefs.h.  */
16447
16448 int
16449 main ()
16450 {
16451 extern int _nl_msg_cat_cntr;
16452                        return _nl_msg_cat_cntr
16453   ;
16454   return 0;
16455 }
16456 _ACEOF
16457 if ac_fn_c_try_link "$LINENO"; then :
16458   DATADIRNAME=share
16459 else
16460   case $host in
16461     *-*-solaris*)
16462                         ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
16463 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
16464   DATADIRNAME=share
16465 else
16466   DATADIRNAME=lib
16467 fi
16468
16469     ;;
16470     *)
16471     DATADIRNAME=lib
16472     ;;
16473     esac
16474 fi
16475 rm -f core conftest.err conftest.$ac_objext \
16476     conftest$ac_exeext conftest.$ac_ext
16477 fi
16478
16479
16480
16481
16482
16483
16484 LOCALEDIR='${prefix}/${datadir}/locale'
16485
16486
16487
16488 CRYPTO_CFLAGS=${NSS_CFLAGS}
16489 CRYPTO_LIBS=${NSS_LIBS}
16490
16491
16492
16493
16494
16495
16496
16497
16498
16499
16500  if test "${enable_openssl}" = "yes"; then
16501   BUILD_OPENSSL_TRUE=
16502   BUILD_OPENSSL_FALSE='#'
16503 else
16504   BUILD_OPENSSL_TRUE='#'
16505   BUILD_OPENSSL_FALSE=
16506 fi
16507
16508  if test "${enable_pkcs11_helper}" = "yes"; then
16509   BUILD_PKCS11_HELPER_TRUE=
16510   BUILD_PKCS11_HELPER_FALSE='#'
16511 else
16512   BUILD_PKCS11_HELPER_TRUE='#'
16513   BUILD_PKCS11_HELPER_FALSE=
16514 fi
16515
16516  if test "${enable_tspi}" = "yes"; then
16517   BUILD_TSPI_TRUE=
16518   BUILD_TSPI_FALSE='#'
16519 else
16520   BUILD_TSPI_TRUE='#'
16521   BUILD_TSPI_FALSE=
16522 fi
16523
16524  if test "${enable_gpg}" = "yes"; then
16525   BUILD_GPG_TRUE=
16526   BUILD_GPG_FALSE='#'
16527 else
16528   BUILD_GPG_TRUE='#'
16529   BUILD_GPG_FALSE=
16530 fi
16531
16532  if test "${enable_pam}" = "yes"; then
16533   BUILD_PAM_TRUE=
16534   BUILD_PAM_FALSE='#'
16535 else
16536   BUILD_PAM_TRUE='#'
16537   BUILD_PAM_FALSE=
16538 fi
16539
16540  if test "${enable_pywrap}" = "yes"; then
16541   BUILD_PYWRAP_TRUE=
16542   BUILD_PYWRAP_FALSE='#'
16543 else
16544   BUILD_PYWRAP_TRUE='#'
16545   BUILD_PYWRAP_FALSE=
16546 fi
16547
16548  if test "${enable_nss}" = "yes"; then
16549   BUILD_NSS_TRUE=
16550   BUILD_NSS_FALSE='#'
16551 else
16552   BUILD_NSS_TRUE='#'
16553   BUILD_NSS_FALSE=
16554 fi
16555
16556  if test "${enable_gui}" = "yes"; then
16557   BUILD_GUI_TRUE=
16558   BUILD_GUI_FALSE='#'
16559 else
16560   BUILD_GUI_TRUE='#'
16561   BUILD_GUI_FALSE=
16562 fi
16563
16564  if test "${enable_docs}" = "yes"; then
16565   BUILD_DOCS_TRUE=
16566   BUILD_DOCS_FALSE='#'
16567 else
16568   BUILD_DOCS_TRUE='#'
16569   BUILD_DOCS_FALSE=
16570 fi
16571
16572  if test "${enable_docs_gen}" = "yes"; then
16573   BUILD_DOCS_GEN_TRUE=
16574   BUILD_DOCS_GEN_FALSE='#'
16575 else
16576   BUILD_DOCS_GEN_TRUE='#'
16577   BUILD_DOCS_GEN_FALSE=
16578 fi
16579
16580  if test "${enable_tests}" = "yes"; then
16581   ENABLE_TESTS_TRUE=
16582   ENABLE_TESTS_FALSE='#'
16583 else
16584   ENABLE_TESTS_TRUE='#'
16585   ENABLE_TESTS_FALSE=
16586 fi
16587
16588
16589 # workaround for <autoconf-2.60
16590 if test -z "${docdir}"; then
16591         docdir="\$(datarootdir)/doc/\$(PACKAGE_NAME)"
16592
16593 fi
16594 if test -z "${htmldir}"; then
16595         htmldir="\$(docdir)"
16596
16597 fi
16598 # end workaround
16599 # workaround for <automake-1.10
16600 if test -z "${MKDIR_P}"; then
16601         MKDIR_P="\$(mkdir_p)"
16602
16603 fi
16604 # end workaround
16605
16606 ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/libecryptfs/Makefile src/utils/Makefile src/key_mod/Makefile src/daemon/Makefile src/desktop/Makefile src/desktop/ecryptfs-mount-private.desktop src/desktop/ecryptfs-setup-private.desktop src/include/Makefile doc/manpage/Makefile src/pam_ecryptfs/Makefile src/libecryptfs/libecryptfs.pc src/libecryptfs-swig/Makefile tests/Makefile tests/lib/Makefile tests/kernel/Makefile tests/userspace/Makefile po/Makefile.in"
16607
16608 cat >confcache <<\_ACEOF
16609 # This file is a shell script that caches the results of configure
16610 # tests run on this system so they can be shared between configure
16611 # scripts and configure runs, see configure's option --config-cache.
16612 # It is not useful on other systems.  If it contains results you don't
16613 # want to keep, you may remove or edit it.
16614 #
16615 # config.status only pays attention to the cache file if you give it
16616 # the --recheck option to rerun configure.
16617 #
16618 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16619 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16620 # following values.
16621
16622 _ACEOF
16623
16624 # The following way of writing the cache mishandles newlines in values,
16625 # but we know of no workaround that is simple, portable, and efficient.
16626 # So, we kill variables containing newlines.
16627 # Ultrix sh set writes to stderr and can't be redirected directly,
16628 # and sets the high bit in the cache file unless we assign to the vars.
16629 (
16630   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16631     eval ac_val=\$$ac_var
16632     case $ac_val in #(
16633     *${as_nl}*)
16634       case $ac_var in #(
16635       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16636 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16637       esac
16638       case $ac_var in #(
16639       _ | IFS | as_nl) ;; #(
16640       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16641       *) { eval $ac_var=; unset $ac_var;} ;;
16642       esac ;;
16643     esac
16644   done
16645
16646   (set) 2>&1 |
16647     case $as_nl`(ac_space=' '; set) 2>&1` in #(
16648     *${as_nl}ac_space=\ *)
16649       # `set' does not quote correctly, so add quotes: double-quote
16650       # substitution turns \\\\ into \\, and sed turns \\ into \.
16651       sed -n \
16652         "s/'/'\\\\''/g;
16653           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16654       ;; #(
16655     *)
16656       # `set' quotes correctly as required by POSIX, so do not add quotes.
16657       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16658       ;;
16659     esac |
16660     sort
16661 ) |
16662   sed '
16663      /^ac_cv_env_/b end
16664      t clear
16665      :clear
16666      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16667      t end
16668      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16669      :end' >>confcache
16670 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16671   if test -w "$cache_file"; then
16672     if test "x$cache_file" != "x/dev/null"; then
16673       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16674 $as_echo "$as_me: updating cache $cache_file" >&6;}
16675       if test ! -f "$cache_file" || test -h "$cache_file"; then
16676         cat confcache >"$cache_file"
16677       else
16678         case $cache_file in #(
16679         */* | ?:*)
16680           mv -f confcache "$cache_file"$$ &&
16681           mv -f "$cache_file"$$ "$cache_file" ;; #(
16682         *)
16683           mv -f confcache "$cache_file" ;;
16684         esac
16685       fi
16686     fi
16687   else
16688     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16689 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16690   fi
16691 fi
16692 rm -f confcache
16693
16694 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16695 # Let make expand exec_prefix.
16696 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16697
16698 DEFS=-DHAVE_CONFIG_H
16699
16700 ac_libobjs=
16701 ac_ltlibobjs=
16702 U=
16703 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16704   # 1. Remove the extension, and $U if already installed.
16705   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16706   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16707   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
16708   #    will be set to the directory where LIBOBJS objects are built.
16709   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16710   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16711 done
16712 LIBOBJS=$ac_libobjs
16713
16714 LTLIBOBJS=$ac_ltlibobjs
16715
16716
16717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16718 $as_echo_n "checking that generated files are newer than configure... " >&6; }
16719    if test -n "$am_sleep_pid"; then
16720      # Hide warnings about reused PIDs.
16721      wait $am_sleep_pid 2>/dev/null
16722    fi
16723    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16724 $as_echo "done" >&6; }
16725  if test -n "$EXEEXT"; then
16726   am__EXEEXT_TRUE=
16727   am__EXEEXT_FALSE='#'
16728 else
16729   am__EXEEXT_TRUE='#'
16730   am__EXEEXT_FALSE=
16731 fi
16732
16733 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16734   as_fn_error $? "conditional \"AMDEP\" was never defined.
16735 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16736 fi
16737 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16738   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16739 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16740 fi
16741 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16742   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16743 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16744 fi
16745
16746   ac_config_commands="$ac_config_commands po/stamp-it"
16747
16748
16749 if test -z "${BUILD_OPENSSL_TRUE}" && test -z "${BUILD_OPENSSL_FALSE}"; then
16750   as_fn_error $? "conditional \"BUILD_OPENSSL\" was never defined.
16751 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16752 fi
16753 if test -z "${BUILD_PKCS11_HELPER_TRUE}" && test -z "${BUILD_PKCS11_HELPER_FALSE}"; then
16754   as_fn_error $? "conditional \"BUILD_PKCS11_HELPER\" was never defined.
16755 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16756 fi
16757 if test -z "${BUILD_TSPI_TRUE}" && test -z "${BUILD_TSPI_FALSE}"; then
16758   as_fn_error $? "conditional \"BUILD_TSPI\" was never defined.
16759 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16760 fi
16761 if test -z "${BUILD_GPG_TRUE}" && test -z "${BUILD_GPG_FALSE}"; then
16762   as_fn_error $? "conditional \"BUILD_GPG\" was never defined.
16763 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16764 fi
16765 if test -z "${BUILD_PAM_TRUE}" && test -z "${BUILD_PAM_FALSE}"; then
16766   as_fn_error $? "conditional \"BUILD_PAM\" was never defined.
16767 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16768 fi
16769 if test -z "${BUILD_PYWRAP_TRUE}" && test -z "${BUILD_PYWRAP_FALSE}"; then
16770   as_fn_error $? "conditional \"BUILD_PYWRAP\" was never defined.
16771 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16772 fi
16773 if test -z "${BUILD_NSS_TRUE}" && test -z "${BUILD_NSS_FALSE}"; then
16774   as_fn_error $? "conditional \"BUILD_NSS\" was never defined.
16775 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16776 fi
16777 if test -z "${BUILD_GUI_TRUE}" && test -z "${BUILD_GUI_FALSE}"; then
16778   as_fn_error $? "conditional \"BUILD_GUI\" was never defined.
16779 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16780 fi
16781 if test -z "${BUILD_DOCS_TRUE}" && test -z "${BUILD_DOCS_FALSE}"; then
16782   as_fn_error $? "conditional \"BUILD_DOCS\" was never defined.
16783 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16784 fi
16785 if test -z "${BUILD_DOCS_GEN_TRUE}" && test -z "${BUILD_DOCS_GEN_FALSE}"; then
16786   as_fn_error $? "conditional \"BUILD_DOCS_GEN\" was never defined.
16787 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16788 fi
16789 if test -z "${ENABLE_TESTS_TRUE}" && test -z "${ENABLE_TESTS_FALSE}"; then
16790   as_fn_error $? "conditional \"ENABLE_TESTS\" was never defined.
16791 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16792 fi
16793
16794 : "${CONFIG_STATUS=./config.status}"
16795 ac_write_fail=0
16796 ac_clean_files_save=$ac_clean_files
16797 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16798 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16799 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16800 as_write_fail=0
16801 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16802 #! $SHELL
16803 # Generated by $as_me.
16804 # Run this file to recreate the current configuration.
16805 # Compiler output produced by configure, useful for debugging
16806 # configure, is in config.log if it exists.
16807
16808 debug=false
16809 ac_cs_recheck=false
16810 ac_cs_silent=false
16811
16812 SHELL=\${CONFIG_SHELL-$SHELL}
16813 export SHELL
16814 _ASEOF
16815 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16816 ## -------------------- ##
16817 ## M4sh Initialization. ##
16818 ## -------------------- ##
16819
16820 # Be more Bourne compatible
16821 DUALCASE=1; export DUALCASE # for MKS sh
16822 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16823   emulate sh
16824   NULLCMD=:
16825   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16826   # is contrary to our usage.  Disable this feature.
16827   alias -g '${1+"$@"}'='"$@"'
16828   setopt NO_GLOB_SUBST
16829 else
16830   case `(set -o) 2>/dev/null` in #(
16831   *posix*) :
16832     set -o posix ;; #(
16833   *) :
16834      ;;
16835 esac
16836 fi
16837
16838
16839 as_nl='
16840 '
16841 export as_nl
16842 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16843 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16844 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16845 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16846 # Prefer a ksh shell builtin over an external printf program on Solaris,
16847 # but without wasting forks for bash or zsh.
16848 if test -z "$BASH_VERSION$ZSH_VERSION" \
16849     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16850   as_echo='print -r --'
16851   as_echo_n='print -rn --'
16852 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16853   as_echo='printf %s\n'
16854   as_echo_n='printf %s'
16855 else
16856   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16857     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16858     as_echo_n='/usr/ucb/echo -n'
16859   else
16860     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16861     as_echo_n_body='eval
16862       arg=$1;
16863       case $arg in #(
16864       *"$as_nl"*)
16865         expr "X$arg" : "X\\(.*\\)$as_nl";
16866         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16867       esac;
16868       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16869     '
16870     export as_echo_n_body
16871     as_echo_n='sh -c $as_echo_n_body as_echo'
16872   fi
16873   export as_echo_body
16874   as_echo='sh -c $as_echo_body as_echo'
16875 fi
16876
16877 # The user is always right.
16878 if test "${PATH_SEPARATOR+set}" != set; then
16879   PATH_SEPARATOR=:
16880   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16881     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16882       PATH_SEPARATOR=';'
16883   }
16884 fi
16885
16886
16887 # IFS
16888 # We need space, tab and new line, in precisely that order.  Quoting is
16889 # there to prevent editors from complaining about space-tab.
16890 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16891 # splitting by setting IFS to empty value.)
16892 IFS=" ""        $as_nl"
16893
16894 # Find who we are.  Look in the path if we contain no directory separator.
16895 as_myself=
16896 case $0 in #((
16897   *[\\/]* ) as_myself=$0 ;;
16898   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16899 for as_dir in $PATH
16900 do
16901   IFS=$as_save_IFS
16902   test -z "$as_dir" && as_dir=.
16903     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16904   done
16905 IFS=$as_save_IFS
16906
16907      ;;
16908 esac
16909 # We did not find ourselves, most probably we were run as `sh COMMAND'
16910 # in which case we are not to be found in the path.
16911 if test "x$as_myself" = x; then
16912   as_myself=$0
16913 fi
16914 if test ! -f "$as_myself"; then
16915   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16916   exit 1
16917 fi
16918
16919 # Unset variables that we do not need and which cause bugs (e.g. in
16920 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
16921 # suppresses any "Segmentation fault" message there.  '((' could
16922 # trigger a bug in pdksh 5.2.14.
16923 for as_var in BASH_ENV ENV MAIL MAILPATH
16924 do eval test x\${$as_var+set} = xset \
16925   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16926 done
16927 PS1='$ '
16928 PS2='> '
16929 PS4='+ '
16930
16931 # NLS nuisances.
16932 LC_ALL=C
16933 export LC_ALL
16934 LANGUAGE=C
16935 export LANGUAGE
16936
16937 # CDPATH.
16938 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16939
16940
16941 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16942 # ----------------------------------------
16943 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16944 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16945 # script with STATUS, using 1 if that was 0.
16946 as_fn_error ()
16947 {
16948   as_status=$1; test $as_status -eq 0 && as_status=1
16949   if test "$4"; then
16950     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16951     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16952   fi
16953   $as_echo "$as_me: error: $2" >&2
16954   as_fn_exit $as_status
16955 } # as_fn_error
16956
16957
16958 # as_fn_set_status STATUS
16959 # -----------------------
16960 # Set $? to STATUS, without forking.
16961 as_fn_set_status ()
16962 {
16963   return $1
16964 } # as_fn_set_status
16965
16966 # as_fn_exit STATUS
16967 # -----------------
16968 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16969 as_fn_exit ()
16970 {
16971   set +e
16972   as_fn_set_status $1
16973   exit $1
16974 } # as_fn_exit
16975
16976 # as_fn_unset VAR
16977 # ---------------
16978 # Portably unset VAR.
16979 as_fn_unset ()
16980 {
16981   { eval $1=; unset $1;}
16982 }
16983 as_unset=as_fn_unset
16984 # as_fn_append VAR VALUE
16985 # ----------------------
16986 # Append the text in VALUE to the end of the definition contained in VAR. Take
16987 # advantage of any shell optimizations that allow amortized linear growth over
16988 # repeated appends, instead of the typical quadratic growth present in naive
16989 # implementations.
16990 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16991   eval 'as_fn_append ()
16992   {
16993     eval $1+=\$2
16994   }'
16995 else
16996   as_fn_append ()
16997   {
16998     eval $1=\$$1\$2
16999   }
17000 fi # as_fn_append
17001
17002 # as_fn_arith ARG...
17003 # ------------------
17004 # Perform arithmetic evaluation on the ARGs, and store the result in the
17005 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17006 # must be portable across $(()) and expr.
17007 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17008   eval 'as_fn_arith ()
17009   {
17010     as_val=$(( $* ))
17011   }'
17012 else
17013   as_fn_arith ()
17014   {
17015     as_val=`expr "$@" || test $? -eq 1`
17016   }
17017 fi # as_fn_arith
17018
17019
17020 if expr a : '\(a\)' >/dev/null 2>&1 &&
17021    test "X`expr 00001 : '.*\(...\)'`" = X001; then
17022   as_expr=expr
17023 else
17024   as_expr=false
17025 fi
17026
17027 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17028   as_basename=basename
17029 else
17030   as_basename=false
17031 fi
17032
17033 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17034   as_dirname=dirname
17035 else
17036   as_dirname=false
17037 fi
17038
17039 as_me=`$as_basename -- "$0" ||
17040 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17041          X"$0" : 'X\(//\)$' \| \
17042          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17043 $as_echo X/"$0" |
17044     sed '/^.*\/\([^/][^/]*\)\/*$/{
17045             s//\1/
17046             q
17047           }
17048           /^X\/\(\/\/\)$/{
17049             s//\1/
17050             q
17051           }
17052           /^X\/\(\/\).*/{
17053             s//\1/
17054             q
17055           }
17056           s/.*/./; q'`
17057
17058 # Avoid depending upon Character Ranges.
17059 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17060 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17061 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17062 as_cr_digits='0123456789'
17063 as_cr_alnum=$as_cr_Letters$as_cr_digits
17064
17065 ECHO_C= ECHO_N= ECHO_T=
17066 case `echo -n x` in #(((((
17067 -n*)
17068   case `echo 'xy\c'` in
17069   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
17070   xy)  ECHO_C='\c';;
17071   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
17072        ECHO_T=' ';;
17073   esac;;
17074 *)
17075   ECHO_N='-n';;
17076 esac
17077
17078 rm -f conf$$ conf$$.exe conf$$.file
17079 if test -d conf$$.dir; then
17080   rm -f conf$$.dir/conf$$.file
17081 else
17082   rm -f conf$$.dir
17083   mkdir conf$$.dir 2>/dev/null
17084 fi
17085 if (echo >conf$$.file) 2>/dev/null; then
17086   if ln -s conf$$.file conf$$ 2>/dev/null; then
17087     as_ln_s='ln -s'
17088     # ... but there are two gotchas:
17089     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17090     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17091     # In both cases, we have to default to `cp -pR'.
17092     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17093       as_ln_s='cp -pR'
17094   elif ln conf$$.file conf$$ 2>/dev/null; then
17095     as_ln_s=ln
17096   else
17097     as_ln_s='cp -pR'
17098   fi
17099 else
17100   as_ln_s='cp -pR'
17101 fi
17102 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17103 rmdir conf$$.dir 2>/dev/null
17104
17105
17106 # as_fn_mkdir_p
17107 # -------------
17108 # Create "$as_dir" as a directory, including parents if necessary.
17109 as_fn_mkdir_p ()
17110 {
17111
17112   case $as_dir in #(
17113   -*) as_dir=./$as_dir;;
17114   esac
17115   test -d "$as_dir" || eval $as_mkdir_p || {
17116     as_dirs=
17117     while :; do
17118       case $as_dir in #(
17119       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17120       *) as_qdir=$as_dir;;
17121       esac
17122       as_dirs="'$as_qdir' $as_dirs"
17123       as_dir=`$as_dirname -- "$as_dir" ||
17124 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17125          X"$as_dir" : 'X\(//\)[^/]' \| \
17126          X"$as_dir" : 'X\(//\)$' \| \
17127          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17128 $as_echo X"$as_dir" |
17129     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17130             s//\1/
17131             q
17132           }
17133           /^X\(\/\/\)[^/].*/{
17134             s//\1/
17135             q
17136           }
17137           /^X\(\/\/\)$/{
17138             s//\1/
17139             q
17140           }
17141           /^X\(\/\).*/{
17142             s//\1/
17143             q
17144           }
17145           s/.*/./; q'`
17146       test -d "$as_dir" && break
17147     done
17148     test -z "$as_dirs" || eval "mkdir $as_dirs"
17149   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17150
17151
17152 } # as_fn_mkdir_p
17153 if mkdir -p . 2>/dev/null; then
17154   as_mkdir_p='mkdir -p "$as_dir"'
17155 else
17156   test -d ./-p && rmdir ./-p
17157   as_mkdir_p=false
17158 fi
17159
17160
17161 # as_fn_executable_p FILE
17162 # -----------------------
17163 # Test if FILE is an executable regular file.
17164 as_fn_executable_p ()
17165 {
17166   test -f "$1" && test -x "$1"
17167 } # as_fn_executable_p
17168 as_test_x='test -x'
17169 as_executable_p=as_fn_executable_p
17170
17171 # Sed expression to map a string onto a valid CPP name.
17172 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17173
17174 # Sed expression to map a string onto a valid variable name.
17175 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17176
17177
17178 exec 6>&1
17179 ## ----------------------------------- ##
17180 ## Main body of $CONFIG_STATUS script. ##
17181 ## ----------------------------------- ##
17182 _ASEOF
17183 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17184
17185 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17186 # Save the log message, to keep $0 and so on meaningful, and to
17187 # report actual input values of CONFIG_FILES etc. instead of their
17188 # values after options handling.
17189 ac_log="
17190 This file was extended by ecryptfs-utils $as_me 106, which was
17191 generated by GNU Autoconf 2.69.  Invocation command line was
17192
17193   CONFIG_FILES    = $CONFIG_FILES
17194   CONFIG_HEADERS  = $CONFIG_HEADERS
17195   CONFIG_LINKS    = $CONFIG_LINKS
17196   CONFIG_COMMANDS = $CONFIG_COMMANDS
17197   $ $0 $@
17198
17199 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17200 "
17201
17202 _ACEOF
17203
17204 case $ac_config_files in *"
17205 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17206 esac
17207
17208 case $ac_config_headers in *"
17209 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17210 esac
17211
17212
17213 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17214 # Files that config.status was made for.
17215 config_files="$ac_config_files"
17216 config_headers="$ac_config_headers"
17217 config_commands="$ac_config_commands"
17218
17219 _ACEOF
17220
17221 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17222 ac_cs_usage="\
17223 \`$as_me' instantiates files and other configuration actions
17224 from templates according to the current configuration.  Unless the files
17225 and actions are specified as TAGs, all are instantiated by default.
17226
17227 Usage: $0 [OPTION]... [TAG]...
17228
17229   -h, --help       print this help, then exit
17230   -V, --version    print version number and configuration settings, then exit
17231       --config     print configuration, then exit
17232   -q, --quiet, --silent
17233                    do not print progress messages
17234   -d, --debug      don't remove temporary files
17235       --recheck    update $as_me by reconfiguring in the same conditions
17236       --file=FILE[:TEMPLATE]
17237                    instantiate the configuration file FILE
17238       --header=FILE[:TEMPLATE]
17239                    instantiate the configuration header FILE
17240
17241 Configuration files:
17242 $config_files
17243
17244 Configuration headers:
17245 $config_headers
17246
17247 Configuration commands:
17248 $config_commands
17249
17250 Report bugs to the package provider."
17251
17252 _ACEOF
17253 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17254 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17255 ac_cs_version="\\
17256 ecryptfs-utils config.status 106
17257 configured by $0, generated by GNU Autoconf 2.69,
17258   with options \\"\$ac_cs_config\\"
17259
17260 Copyright (C) 2012 Free Software Foundation, Inc.
17261 This config.status script is free software; the Free Software Foundation
17262 gives unlimited permission to copy, distribute and modify it."
17263
17264 ac_pwd='$ac_pwd'
17265 srcdir='$srcdir'
17266 INSTALL='$INSTALL'
17267 MKDIR_P='$MKDIR_P'
17268 AWK='$AWK'
17269 test -n "\$AWK" || AWK=awk
17270 _ACEOF
17271
17272 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17273 # The default lists apply if the user does not specify any file.
17274 ac_need_defaults=:
17275 while test $# != 0
17276 do
17277   case $1 in
17278   --*=?*)
17279     ac_option=`expr "X$1" : 'X\([^=]*\)='`
17280     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17281     ac_shift=:
17282     ;;
17283   --*=)
17284     ac_option=`expr "X$1" : 'X\([^=]*\)='`
17285     ac_optarg=
17286     ac_shift=:
17287     ;;
17288   *)
17289     ac_option=$1
17290     ac_optarg=$2
17291     ac_shift=shift
17292     ;;
17293   esac
17294
17295   case $ac_option in
17296   # Handling of the options.
17297   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17298     ac_cs_recheck=: ;;
17299   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17300     $as_echo "$ac_cs_version"; exit ;;
17301   --config | --confi | --conf | --con | --co | --c )
17302     $as_echo "$ac_cs_config"; exit ;;
17303   --debug | --debu | --deb | --de | --d | -d )
17304     debug=: ;;
17305   --file | --fil | --fi | --f )
17306     $ac_shift
17307     case $ac_optarg in
17308     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17309     '') as_fn_error $? "missing file argument" ;;
17310     esac
17311     as_fn_append CONFIG_FILES " '$ac_optarg'"
17312     ac_need_defaults=false;;
17313   --header | --heade | --head | --hea )
17314     $ac_shift
17315     case $ac_optarg in
17316     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17317     esac
17318     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17319     ac_need_defaults=false;;
17320   --he | --h)
17321     # Conflict between --help and --header
17322     as_fn_error $? "ambiguous option: \`$1'
17323 Try \`$0 --help' for more information.";;
17324   --help | --hel | -h )
17325     $as_echo "$ac_cs_usage"; exit ;;
17326   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17327   | -silent | --silent | --silen | --sile | --sil | --si | --s)
17328     ac_cs_silent=: ;;
17329
17330   # This is an error.
17331   -*) as_fn_error $? "unrecognized option: \`$1'
17332 Try \`$0 --help' for more information." ;;
17333
17334   *) as_fn_append ac_config_targets " $1"
17335      ac_need_defaults=false ;;
17336
17337   esac
17338   shift
17339 done
17340
17341 ac_configure_extra_args=
17342
17343 if $ac_cs_silent; then
17344   exec 6>/dev/null
17345   ac_configure_extra_args="$ac_configure_extra_args --silent"
17346 fi
17347
17348 _ACEOF
17349 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17350 if \$ac_cs_recheck; then
17351   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17352   shift
17353   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17354   CONFIG_SHELL='$SHELL'
17355   export CONFIG_SHELL
17356   exec "\$@"
17357 fi
17358
17359 _ACEOF
17360 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17361 exec 5>>config.log
17362 {
17363   echo
17364   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17365 ## Running $as_me. ##
17366 _ASBOX
17367   $as_echo "$ac_log"
17368 } >&5
17369
17370 _ACEOF
17371 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17372 #
17373 # INIT-COMMANDS
17374 #
17375 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17376
17377
17378 # The HP-UX ksh and POSIX shell print the target directory to stdout
17379 # if CDPATH is set.
17380 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17381
17382 sed_quote_subst='$sed_quote_subst'
17383 double_quote_subst='$double_quote_subst'
17384 delay_variable_subst='$delay_variable_subst'
17385 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17386 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17387 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17388 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17389 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17390 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17391 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17392 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17393 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17394 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17395 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17396 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17397 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17398 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17399 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17400 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17401 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17402 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17403 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17404 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17405 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17406 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17407 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17408 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17409 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17410 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17411 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17412 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17413 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17414 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17415 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17416 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17417 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17418 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17419 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17420 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17421 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17422 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17423 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17424 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17425 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17426 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17427 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17428 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17429 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17430 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17431 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17432 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17433 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17434 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17435 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17436 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17437 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17438 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17439 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17440 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17441 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
17442 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17443 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17444 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17445 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17446 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17447 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17448 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17449 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17450 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17451 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17452 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17453 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17454 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17455 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17456 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17457 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17458 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17459 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17460 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17461 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17462 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17463 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17464 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17465 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17466 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17467 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17468 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17469 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17470 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17471 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17472 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17473 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17474 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17475 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17476 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17477 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17478 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17479 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17480 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17481 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17482 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17483 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17484 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17485 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17486 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17487 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17488 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17489 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17490 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17491 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17492 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17493 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17494 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17495 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17496 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17497 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17498 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17499 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17500 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17501 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17502 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17503 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17504 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17505 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17506 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17507 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17508 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17509 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17510 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17511 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17512 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17513 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17514 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17515
17516 LTCC='$LTCC'
17517 LTCFLAGS='$LTCFLAGS'
17518 compiler='$compiler_DEFAULT'
17519
17520 # A function that is used when there is no print builtin or printf.
17521 func_fallback_echo ()
17522 {
17523   eval 'cat <<_LTECHO_EOF
17524 \$1
17525 _LTECHO_EOF'
17526 }
17527
17528 # Quote evaled strings.
17529 for var in SHELL \
17530 ECHO \
17531 PATH_SEPARATOR \
17532 SED \
17533 GREP \
17534 EGREP \
17535 FGREP \
17536 LD \
17537 NM \
17538 LN_S \
17539 lt_SP2NL \
17540 lt_NL2SP \
17541 reload_flag \
17542 OBJDUMP \
17543 deplibs_check_method \
17544 file_magic_cmd \
17545 file_magic_glob \
17546 want_nocaseglob \
17547 DLLTOOL \
17548 sharedlib_from_linklib_cmd \
17549 AR \
17550 AR_FLAGS \
17551 archiver_list_spec \
17552 STRIP \
17553 RANLIB \
17554 CC \
17555 CFLAGS \
17556 compiler \
17557 lt_cv_sys_global_symbol_pipe \
17558 lt_cv_sys_global_symbol_to_cdecl \
17559 lt_cv_sys_global_symbol_to_c_name_address \
17560 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17561 nm_file_list_spec \
17562 lt_prog_compiler_no_builtin_flag \
17563 lt_prog_compiler_pic \
17564 lt_prog_compiler_wl \
17565 lt_prog_compiler_static \
17566 lt_cv_prog_compiler_c_o \
17567 need_locks \
17568 MANIFEST_TOOL \
17569 DSYMUTIL \
17570 NMEDIT \
17571 LIPO \
17572 OTOOL \
17573 OTOOL64 \
17574 shrext_cmds \
17575 export_dynamic_flag_spec \
17576 whole_archive_flag_spec \
17577 compiler_needs_object \
17578 with_gnu_ld \
17579 allow_undefined_flag \
17580 no_undefined_flag \
17581 hardcode_libdir_flag_spec \
17582 hardcode_libdir_separator \
17583 exclude_expsyms \
17584 include_expsyms \
17585 file_list_spec \
17586 variables_saved_for_relink \
17587 libname_spec \
17588 library_names_spec \
17589 soname_spec \
17590 install_override_mode \
17591 finish_eval \
17592 old_striplib \
17593 striplib; do
17594     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17595     *[\\\\\\\`\\"\\\$]*)
17596       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17597       ;;
17598     *)
17599       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17600       ;;
17601     esac
17602 done
17603
17604 # Double-quote double-evaled strings.
17605 for var in reload_cmds \
17606 old_postinstall_cmds \
17607 old_postuninstall_cmds \
17608 old_archive_cmds \
17609 extract_expsyms_cmds \
17610 old_archive_from_new_cmds \
17611 old_archive_from_expsyms_cmds \
17612 archive_cmds \
17613 archive_expsym_cmds \
17614 module_cmds \
17615 module_expsym_cmds \
17616 export_symbols_cmds \
17617 prelink_cmds \
17618 postlink_cmds \
17619 postinstall_cmds \
17620 postuninstall_cmds \
17621 finish_cmds \
17622 sys_lib_search_path_spec \
17623 sys_lib_dlsearch_path_spec; do
17624     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17625     *[\\\\\\\`\\"\\\$]*)
17626       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17627       ;;
17628     *)
17629       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17630       ;;
17631     esac
17632 done
17633
17634 ac_aux_dir='$ac_aux_dir'
17635 xsi_shell='$xsi_shell'
17636 lt_shell_append='$lt_shell_append'
17637
17638 # See if we are running on zsh, and set the options which allow our
17639 # commands through without removal of \ escapes INIT.
17640 if test -n "\${ZSH_VERSION+set}" ; then
17641    setopt NO_GLOB_SUBST
17642 fi
17643
17644
17645     PACKAGE='$PACKAGE'
17646     VERSION='$VERSION'
17647     TIMESTAMP='$TIMESTAMP'
17648     RM='$RM'
17649     ofile='$ofile'
17650
17651
17652
17653
17654
17655 _ACEOF
17656
17657 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17658
17659 # Handling of arguments.
17660 for ac_config_target in $ac_config_targets
17661 do
17662   case $ac_config_target in
17663     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17664     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17665     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17666     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
17667     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17668     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
17669     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
17670     "src/libecryptfs/Makefile") CONFIG_FILES="$CONFIG_FILES src/libecryptfs/Makefile" ;;
17671     "src/utils/Makefile") CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;;
17672     "src/key_mod/Makefile") CONFIG_FILES="$CONFIG_FILES src/key_mod/Makefile" ;;
17673     "src/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/Makefile" ;;
17674     "src/desktop/Makefile") CONFIG_FILES="$CONFIG_FILES src/desktop/Makefile" ;;
17675     "src/desktop/ecryptfs-mount-private.desktop") CONFIG_FILES="$CONFIG_FILES src/desktop/ecryptfs-mount-private.desktop" ;;
17676     "src/desktop/ecryptfs-setup-private.desktop") CONFIG_FILES="$CONFIG_FILES src/desktop/ecryptfs-setup-private.desktop" ;;
17677     "src/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
17678     "doc/manpage/Makefile") CONFIG_FILES="$CONFIG_FILES doc/manpage/Makefile" ;;
17679     "src/pam_ecryptfs/Makefile") CONFIG_FILES="$CONFIG_FILES src/pam_ecryptfs/Makefile" ;;
17680     "src/libecryptfs/libecryptfs.pc") CONFIG_FILES="$CONFIG_FILES src/libecryptfs/libecryptfs.pc" ;;
17681     "src/libecryptfs-swig/Makefile") CONFIG_FILES="$CONFIG_FILES src/libecryptfs-swig/Makefile" ;;
17682     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
17683     "tests/lib/Makefile") CONFIG_FILES="$CONFIG_FILES tests/lib/Makefile" ;;
17684     "tests/kernel/Makefile") CONFIG_FILES="$CONFIG_FILES tests/kernel/Makefile" ;;
17685     "tests/userspace/Makefile") CONFIG_FILES="$CONFIG_FILES tests/userspace/Makefile" ;;
17686     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
17687     "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
17688
17689   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17690   esac
17691 done
17692
17693
17694 # If the user did not use the arguments to specify the items to instantiate,
17695 # then the envvar interface is used.  Set only those that are not.
17696 # We use the long form for the default assignment because of an extremely
17697 # bizarre bug on SunOS 4.1.3.
17698 if $ac_need_defaults; then
17699   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17700   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17701   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17702 fi
17703
17704 # Have a temporary directory for convenience.  Make it in the build tree
17705 # simply because there is no reason against having it here, and in addition,
17706 # creating and moving files from /tmp can sometimes cause problems.
17707 # Hook for its removal unless debugging.
17708 # Note that there is a small window in which the directory will not be cleaned:
17709 # after its creation but before its name has been assigned to `$tmp'.
17710 $debug ||
17711 {
17712   tmp= ac_tmp=
17713   trap 'exit_status=$?
17714   : "${ac_tmp:=$tmp}"
17715   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17716 ' 0
17717   trap 'as_fn_exit 1' 1 2 13 15
17718 }
17719 # Create a (secure) tmp directory for tmp files.
17720
17721 {
17722   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17723   test -d "$tmp"
17724 }  ||
17725 {
17726   tmp=./conf$$-$RANDOM
17727   (umask 077 && mkdir "$tmp")
17728 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17729 ac_tmp=$tmp
17730
17731 # Set up the scripts for CONFIG_FILES section.
17732 # No need to generate them if there are no CONFIG_FILES.
17733 # This happens for instance with `./config.status config.h'.
17734 if test -n "$CONFIG_FILES"; then
17735
17736
17737 ac_cr=`echo X | tr X '\015'`
17738 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17739 # But we know of no other shell where ac_cr would be empty at this
17740 # point, so we can use a bashism as a fallback.
17741 if test "x$ac_cr" = x; then
17742   eval ac_cr=\$\'\\r\'
17743 fi
17744 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17745 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17746   ac_cs_awk_cr='\\r'
17747 else
17748   ac_cs_awk_cr=$ac_cr
17749 fi
17750
17751 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17752 _ACEOF
17753
17754
17755 {
17756   echo "cat >conf$$subs.awk <<_ACEOF" &&
17757   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17758   echo "_ACEOF"
17759 } >conf$$subs.sh ||
17760   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17761 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17762 ac_delim='%!_!# '
17763 for ac_last_try in false false false false false :; do
17764   . ./conf$$subs.sh ||
17765     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17766
17767   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17768   if test $ac_delim_n = $ac_delim_num; then
17769     break
17770   elif $ac_last_try; then
17771     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17772   else
17773     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17774   fi
17775 done
17776 rm -f conf$$subs.sh
17777
17778 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17779 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17780 _ACEOF
17781 sed -n '
17782 h
17783 s/^/S["/; s/!.*/"]=/
17784 p
17785 g
17786 s/^[^!]*!//
17787 :repl
17788 t repl
17789 s/'"$ac_delim"'$//
17790 t delim
17791 :nl
17792 h
17793 s/\(.\{148\}\)..*/\1/
17794 t more1
17795 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17796 p
17797 n
17798 b repl
17799 :more1
17800 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17801 p
17802 g
17803 s/.\{148\}//
17804 t nl
17805 :delim
17806 h
17807 s/\(.\{148\}\)..*/\1/
17808 t more2
17809 s/["\\]/\\&/g; s/^/"/; s/$/"/
17810 p
17811 b
17812 :more2
17813 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17814 p
17815 g
17816 s/.\{148\}//
17817 t delim
17818 ' <conf$$subs.awk | sed '
17819 /^[^""]/{
17820   N
17821   s/\n//
17822 }
17823 ' >>$CONFIG_STATUS || ac_write_fail=1
17824 rm -f conf$$subs.awk
17825 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17826 _ACAWK
17827 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17828   for (key in S) S_is_set[key] = 1
17829   FS = "\a"
17830
17831 }
17832 {
17833   line = $ 0
17834   nfields = split(line, field, "@")
17835   substed = 0
17836   len = length(field[1])
17837   for (i = 2; i < nfields; i++) {
17838     key = field[i]
17839     keylen = length(key)
17840     if (S_is_set[key]) {
17841       value = S[key]
17842       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17843       len += length(value) + length(field[++i])
17844       substed = 1
17845     } else
17846       len += 1 + keylen
17847   }
17848
17849   print line
17850 }
17851
17852 _ACAWK
17853 _ACEOF
17854 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17855 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17856   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17857 else
17858   cat
17859 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17860   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17861 _ACEOF
17862
17863 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17864 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17865 # trailing colons and then remove the whole line if VPATH becomes empty
17866 # (actually we leave an empty line to preserve line numbers).
17867 if test "x$srcdir" = x.; then
17868   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
17869 h
17870 s///
17871 s/^/:/
17872 s/[      ]*$/:/
17873 s/:\$(srcdir):/:/g
17874 s/:\${srcdir}:/:/g
17875 s/:@srcdir@:/:/g
17876 s/^:*//
17877 s/:*$//
17878 x
17879 s/\(=[   ]*\).*/\1/
17880 G
17881 s/\n//
17882 s/^[^=]*=[       ]*$//
17883 }'
17884 fi
17885
17886 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17887 fi # test -n "$CONFIG_FILES"
17888
17889 # Set up the scripts for CONFIG_HEADERS section.
17890 # No need to generate them if there are no CONFIG_HEADERS.
17891 # This happens for instance with `./config.status Makefile'.
17892 if test -n "$CONFIG_HEADERS"; then
17893 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17894 BEGIN {
17895 _ACEOF
17896
17897 # Transform confdefs.h into an awk script `defines.awk', embedded as
17898 # here-document in config.status, that substitutes the proper values into
17899 # config.h.in to produce config.h.
17900
17901 # Create a delimiter string that does not exist in confdefs.h, to ease
17902 # handling of long lines.
17903 ac_delim='%!_!# '
17904 for ac_last_try in false false :; do
17905   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17906   if test -z "$ac_tt"; then
17907     break
17908   elif $ac_last_try; then
17909     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17910   else
17911     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17912   fi
17913 done
17914
17915 # For the awk script, D is an array of macro values keyed by name,
17916 # likewise P contains macro parameters if any.  Preserve backslash
17917 # newline sequences.
17918
17919 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17920 sed -n '
17921 s/.\{148\}/&'"$ac_delim"'/g
17922 t rset
17923 :rset
17924 s/^[     ]*#[    ]*define[       ][      ]*/ /
17925 t def
17926 d
17927 :def
17928 s/\\$//
17929 t bsnl
17930 s/["\\]/\\&/g
17931 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
17932 D["\1"]=" \3"/p
17933 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
17934 d
17935 :bsnl
17936 s/["\\]/\\&/g
17937 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
17938 D["\1"]=" \3\\\\\\n"\\/p
17939 t cont
17940 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17941 t cont
17942 d
17943 :cont
17944 n
17945 s/.\{148\}/&'"$ac_delim"'/g
17946 t clear
17947 :clear
17948 s/\\$//
17949 t bsnlc
17950 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17951 d
17952 :bsnlc
17953 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17954 b cont
17955 ' <confdefs.h | sed '
17956 s/'"$ac_delim"'/"\\\
17957 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17958
17959 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17960   for (key in D) D_is_set[key] = 1
17961   FS = "\a"
17962 }
17963 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17964   line = \$ 0
17965   split(line, arg, " ")
17966   if (arg[1] == "#") {
17967     defundef = arg[2]
17968     mac1 = arg[3]
17969   } else {
17970     defundef = substr(arg[1], 2)
17971     mac1 = arg[2]
17972   }
17973   split(mac1, mac2, "(") #)
17974   macro = mac2[1]
17975   prefix = substr(line, 1, index(line, defundef) - 1)
17976   if (D_is_set[macro]) {
17977     # Preserve the white space surrounding the "#".
17978     print prefix "define", macro P[macro] D[macro]
17979     next
17980   } else {
17981     # Replace #undef with comments.  This is necessary, for example,
17982     # in the case of _POSIX_SOURCE, which is predefined and required
17983     # on some systems where configure will not decide to define it.
17984     if (defundef == "undef") {
17985       print "/*", prefix defundef, macro, "*/"
17986       next
17987     }
17988   }
17989 }
17990 { print }
17991 _ACAWK
17992 _ACEOF
17993 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17994   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17995 fi # test -n "$CONFIG_HEADERS"
17996
17997
17998 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
17999 shift
18000 for ac_tag
18001 do
18002   case $ac_tag in
18003   :[FHLC]) ac_mode=$ac_tag; continue;;
18004   esac
18005   case $ac_mode$ac_tag in
18006   :[FHL]*:*);;
18007   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18008   :[FH]-) ac_tag=-:-;;
18009   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18010   esac
18011   ac_save_IFS=$IFS
18012   IFS=:
18013   set x $ac_tag
18014   IFS=$ac_save_IFS
18015   shift
18016   ac_file=$1
18017   shift
18018
18019   case $ac_mode in
18020   :L) ac_source=$1;;
18021   :[FH])
18022     ac_file_inputs=
18023     for ac_f
18024     do
18025       case $ac_f in
18026       -) ac_f="$ac_tmp/stdin";;
18027       *) # Look for the file first in the build tree, then in the source tree
18028          # (if the path is not absolute).  The absolute path cannot be DOS-style,
18029          # because $ac_f cannot contain `:'.
18030          test -f "$ac_f" ||
18031            case $ac_f in
18032            [\\/$]*) false;;
18033            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18034            esac ||
18035            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18036       esac
18037       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18038       as_fn_append ac_file_inputs " '$ac_f'"
18039     done
18040
18041     # Let's still pretend it is `configure' which instantiates (i.e., don't
18042     # use $as_me), people would be surprised to read:
18043     #    /* config.h.  Generated by config.status.  */
18044     configure_input='Generated from '`
18045           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18046         `' by configure.'
18047     if test x"$ac_file" != x-; then
18048       configure_input="$ac_file.  $configure_input"
18049       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18050 $as_echo "$as_me: creating $ac_file" >&6;}
18051     fi
18052     # Neutralize special characters interpreted by sed in replacement strings.
18053     case $configure_input in #(
18054     *\&* | *\|* | *\\* )
18055        ac_sed_conf_input=`$as_echo "$configure_input" |
18056        sed 's/[\\\\&|]/\\\\&/g'`;; #(
18057     *) ac_sed_conf_input=$configure_input;;
18058     esac
18059
18060     case $ac_tag in
18061     *:-:* | *:-) cat >"$ac_tmp/stdin" \
18062       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18063     esac
18064     ;;
18065   esac
18066
18067   ac_dir=`$as_dirname -- "$ac_file" ||
18068 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18069          X"$ac_file" : 'X\(//\)[^/]' \| \
18070          X"$ac_file" : 'X\(//\)$' \| \
18071          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18072 $as_echo X"$ac_file" |
18073     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18074             s//\1/
18075             q
18076           }
18077           /^X\(\/\/\)[^/].*/{
18078             s//\1/
18079             q
18080           }
18081           /^X\(\/\/\)$/{
18082             s//\1/
18083             q
18084           }
18085           /^X\(\/\).*/{
18086             s//\1/
18087             q
18088           }
18089           s/.*/./; q'`
18090   as_dir="$ac_dir"; as_fn_mkdir_p
18091   ac_builddir=.
18092
18093 case "$ac_dir" in
18094 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18095 *)
18096   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18097   # A ".." for each directory in $ac_dir_suffix.
18098   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18099   case $ac_top_builddir_sub in
18100   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18101   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18102   esac ;;
18103 esac
18104 ac_abs_top_builddir=$ac_pwd
18105 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18106 # for backward compatibility:
18107 ac_top_builddir=$ac_top_build_prefix
18108
18109 case $srcdir in
18110   .)  # We are building in place.
18111     ac_srcdir=.
18112     ac_top_srcdir=$ac_top_builddir_sub
18113     ac_abs_top_srcdir=$ac_pwd ;;
18114   [\\/]* | ?:[\\/]* )  # Absolute name.
18115     ac_srcdir=$srcdir$ac_dir_suffix;
18116     ac_top_srcdir=$srcdir
18117     ac_abs_top_srcdir=$srcdir ;;
18118   *) # Relative name.
18119     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18120     ac_top_srcdir=$ac_top_build_prefix$srcdir
18121     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18122 esac
18123 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18124
18125
18126   case $ac_mode in
18127   :F)
18128   #
18129   # CONFIG_FILE
18130   #
18131
18132   case $INSTALL in
18133   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18134   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18135   esac
18136   ac_MKDIR_P=$MKDIR_P
18137   case $MKDIR_P in
18138   [\\/$]* | ?:[\\/]* ) ;;
18139   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18140   esac
18141 _ACEOF
18142
18143 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18144 # If the template does not know about datarootdir, expand it.
18145 # FIXME: This hack should be removed a few years after 2.60.
18146 ac_datarootdir_hack=; ac_datarootdir_seen=
18147 ac_sed_dataroot='
18148 /datarootdir/ {
18149   p
18150   q
18151 }
18152 /@datadir@/p
18153 /@docdir@/p
18154 /@infodir@/p
18155 /@localedir@/p
18156 /@mandir@/p'
18157 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18158 *datarootdir*) ac_datarootdir_seen=yes;;
18159 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18160   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18161 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18162 _ACEOF
18163 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18164   ac_datarootdir_hack='
18165   s&@datadir@&$datadir&g
18166   s&@docdir@&$docdir&g
18167   s&@infodir@&$infodir&g
18168   s&@localedir@&$localedir&g
18169   s&@mandir@&$mandir&g
18170   s&\\\${datarootdir}&$datarootdir&g' ;;
18171 esac
18172 _ACEOF
18173
18174 # Neutralize VPATH when `$srcdir' = `.'.
18175 # Shell code in configure.ac might set extrasub.
18176 # FIXME: do we really want to maintain this feature?
18177 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18178 ac_sed_extra="$ac_vpsub
18179 $extrasub
18180 _ACEOF
18181 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18182 :t
18183 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18184 s|@configure_input@|$ac_sed_conf_input|;t t
18185 s&@top_builddir@&$ac_top_builddir_sub&;t t
18186 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18187 s&@srcdir@&$ac_srcdir&;t t
18188 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18189 s&@top_srcdir@&$ac_top_srcdir&;t t
18190 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18191 s&@builddir@&$ac_builddir&;t t
18192 s&@abs_builddir@&$ac_abs_builddir&;t t
18193 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18194 s&@INSTALL@&$ac_INSTALL&;t t
18195 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18196 $ac_datarootdir_hack
18197 "
18198 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18199   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18200
18201 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18202   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18203   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
18204       "$ac_tmp/out"`; test -z "$ac_out"; } &&
18205   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18206 which seems to be undefined.  Please make sure it is defined" >&5
18207 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18208 which seems to be undefined.  Please make sure it is defined" >&2;}
18209
18210   rm -f "$ac_tmp/stdin"
18211   case $ac_file in
18212   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18213   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18214   esac \
18215   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18216  ;;
18217   :H)
18218   #
18219   # CONFIG_HEADER
18220   #
18221   if test x"$ac_file" != x-; then
18222     {
18223       $as_echo "/* $configure_input  */" \
18224       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18225     } >"$ac_tmp/config.h" \
18226       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18227     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18228       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18229 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18230     else
18231       rm -f "$ac_file"
18232       mv "$ac_tmp/config.h" "$ac_file" \
18233         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18234     fi
18235   else
18236     $as_echo "/* $configure_input  */" \
18237       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18238       || as_fn_error $? "could not create -" "$LINENO" 5
18239   fi
18240 # Compute "$ac_file"'s index in $config_headers.
18241 _am_arg="$ac_file"
18242 _am_stamp_count=1
18243 for _am_header in $config_headers :; do
18244   case $_am_header in
18245     $_am_arg | $_am_arg:* )
18246       break ;;
18247     * )
18248       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18249   esac
18250 done
18251 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18252 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18253          X"$_am_arg" : 'X\(//\)[^/]' \| \
18254          X"$_am_arg" : 'X\(//\)$' \| \
18255          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18256 $as_echo X"$_am_arg" |
18257     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18258             s//\1/
18259             q
18260           }
18261           /^X\(\/\/\)[^/].*/{
18262             s//\1/
18263             q
18264           }
18265           /^X\(\/\/\)$/{
18266             s//\1/
18267             q
18268           }
18269           /^X\(\/\).*/{
18270             s//\1/
18271             q
18272           }
18273           s/.*/./; q'`/stamp-h$_am_stamp_count
18274  ;;
18275
18276   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18277 $as_echo "$as_me: executing $ac_file commands" >&6;}
18278  ;;
18279   esac
18280
18281
18282   case $ac_file$ac_mode in
18283     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18284   # Older Autoconf quotes --file arguments for eval, but not when files
18285   # are listed without --file.  Let's play safe and only enable the eval
18286   # if we detect the quoting.
18287   case $CONFIG_FILES in
18288   *\'*) eval set x "$CONFIG_FILES" ;;
18289   *)   set x $CONFIG_FILES ;;
18290   esac
18291   shift
18292   for mf
18293   do
18294     # Strip MF so we end up with the name of the file.
18295     mf=`echo "$mf" | sed -e 's/:.*$//'`
18296     # Check whether this is an Automake generated Makefile or not.
18297     # We used to match only the files named 'Makefile.in', but
18298     # some people rename them; so instead we look at the file content.
18299     # Grep'ing the first line is not enough: some people post-process
18300     # each Makefile.in and add a new line on top of each file to say so.
18301     # Grep'ing the whole file is not good either: AIX grep has a line
18302     # limit of 2048, but all sed's we know have understand at least 4000.
18303     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18304       dirpart=`$as_dirname -- "$mf" ||
18305 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18306          X"$mf" : 'X\(//\)[^/]' \| \
18307          X"$mf" : 'X\(//\)$' \| \
18308          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18309 $as_echo X"$mf" |
18310     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18311             s//\1/
18312             q
18313           }
18314           /^X\(\/\/\)[^/].*/{
18315             s//\1/
18316             q
18317           }
18318           /^X\(\/\/\)$/{
18319             s//\1/
18320             q
18321           }
18322           /^X\(\/\).*/{
18323             s//\1/
18324             q
18325           }
18326           s/.*/./; q'`
18327     else
18328       continue
18329     fi
18330     # Extract the definition of DEPDIR, am__include, and am__quote
18331     # from the Makefile without running 'make'.
18332     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18333     test -z "$DEPDIR" && continue
18334     am__include=`sed -n 's/^am__include = //p' < "$mf"`
18335     test -z "$am__include" && continue
18336     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18337     # Find all dependency output files, they are included files with
18338     # $(DEPDIR) in their names.  We invoke sed twice because it is the
18339     # simplest approach to changing $(DEPDIR) to its actual value in the
18340     # expansion.
18341     for file in `sed -n "
18342       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18343          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18344       # Make sure the directory exists.
18345       test -f "$dirpart/$file" && continue
18346       fdir=`$as_dirname -- "$file" ||
18347 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18348          X"$file" : 'X\(//\)[^/]' \| \
18349          X"$file" : 'X\(//\)$' \| \
18350          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18351 $as_echo X"$file" |
18352     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18353             s//\1/
18354             q
18355           }
18356           /^X\(\/\/\)[^/].*/{
18357             s//\1/
18358             q
18359           }
18360           /^X\(\/\/\)$/{
18361             s//\1/
18362             q
18363           }
18364           /^X\(\/\).*/{
18365             s//\1/
18366             q
18367           }
18368           s/.*/./; q'`
18369       as_dir=$dirpart/$fdir; as_fn_mkdir_p
18370       # echo "creating $dirpart/$file"
18371       echo '# dummy' > "$dirpart/$file"
18372     done
18373   done
18374 }
18375  ;;
18376     "libtool":C)
18377
18378     # See if we are running on zsh, and set the options which allow our
18379     # commands through without removal of \ escapes.
18380     if test -n "${ZSH_VERSION+set}" ; then
18381       setopt NO_GLOB_SUBST
18382     fi
18383
18384     cfgfile="${ofile}T"
18385     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18386     $RM "$cfgfile"
18387
18388     cat <<_LT_EOF >> "$cfgfile"
18389 #! $SHELL
18390
18391 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18392 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18393 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18394 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18395 #
18396 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18397 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
18398 #                 Foundation, Inc.
18399 #   Written by Gordon Matzigkeit, 1996
18400 #
18401 #   This file is part of GNU Libtool.
18402 #
18403 # GNU Libtool is free software; you can redistribute it and/or
18404 # modify it under the terms of the GNU General Public License as
18405 # published by the Free Software Foundation; either version 2 of
18406 # the License, or (at your option) any later version.
18407 #
18408 # As a special exception to the GNU General Public License,
18409 # if you distribute this file as part of a program or library that
18410 # is built using GNU Libtool, you may include this file under the
18411 # same distribution terms that you use for the rest of that program.
18412 #
18413 # GNU Libtool is distributed in the hope that it will be useful,
18414 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18415 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18416 # GNU General Public License for more details.
18417 #
18418 # You should have received a copy of the GNU General Public License
18419 # along with GNU Libtool; see the file COPYING.  If not, a copy
18420 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18421 # obtained by writing to the Free Software Foundation, Inc.,
18422 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18423
18424
18425 # The names of the tagged configurations supported by this script.
18426 available_tags=""
18427
18428 # ### BEGIN LIBTOOL CONFIG
18429
18430 # Whether or not to build static libraries.
18431 build_old_libs=$enable_static
18432
18433 # Which release of libtool.m4 was used?
18434 macro_version=$macro_version
18435 macro_revision=$macro_revision
18436
18437 # Whether or not to build shared libraries.
18438 build_libtool_libs=$enable_shared
18439
18440 # What type of objects to build.
18441 pic_mode=$pic_mode
18442
18443 # Whether or not to optimize for fast installation.
18444 fast_install=$enable_fast_install
18445
18446 # Shell to use when invoking shell scripts.
18447 SHELL=$lt_SHELL
18448
18449 # An echo program that protects backslashes.
18450 ECHO=$lt_ECHO
18451
18452 # The PATH separator for the build system.
18453 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18454
18455 # The host system.
18456 host_alias=$host_alias
18457 host=$host
18458 host_os=$host_os
18459
18460 # The build system.
18461 build_alias=$build_alias
18462 build=$build
18463 build_os=$build_os
18464
18465 # A sed program that does not truncate output.
18466 SED=$lt_SED
18467
18468 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18469 Xsed="\$SED -e 1s/^X//"
18470
18471 # A grep program that handles long lines.
18472 GREP=$lt_GREP
18473
18474 # An ERE matcher.
18475 EGREP=$lt_EGREP
18476
18477 # A literal string matcher.
18478 FGREP=$lt_FGREP
18479
18480 # A BSD- or MS-compatible name lister.
18481 NM=$lt_NM
18482
18483 # Whether we need soft or hard links.
18484 LN_S=$lt_LN_S
18485
18486 # What is the maximum length of a command?
18487 max_cmd_len=$max_cmd_len
18488
18489 # Object file suffix (normally "o").
18490 objext=$ac_objext
18491
18492 # Executable file suffix (normally "").
18493 exeext=$exeext
18494
18495 # whether the shell understands "unset".
18496 lt_unset=$lt_unset
18497
18498 # turn spaces into newlines.
18499 SP2NL=$lt_lt_SP2NL
18500
18501 # turn newlines into spaces.
18502 NL2SP=$lt_lt_NL2SP
18503
18504 # convert \$build file names to \$host format.
18505 to_host_file_cmd=$lt_cv_to_host_file_cmd
18506
18507 # convert \$build files to toolchain format.
18508 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18509
18510 # An object symbol dumper.
18511 OBJDUMP=$lt_OBJDUMP
18512
18513 # Method to check whether dependent libraries are shared objects.
18514 deplibs_check_method=$lt_deplibs_check_method
18515
18516 # Command to use when deplibs_check_method = "file_magic".
18517 file_magic_cmd=$lt_file_magic_cmd
18518
18519 # How to find potential files when deplibs_check_method = "file_magic".
18520 file_magic_glob=$lt_file_magic_glob
18521
18522 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18523 want_nocaseglob=$lt_want_nocaseglob
18524
18525 # DLL creation program.
18526 DLLTOOL=$lt_DLLTOOL
18527
18528 # Command to associate shared and link libraries.
18529 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18530
18531 # The archiver.
18532 AR=$lt_AR
18533
18534 # Flags to create an archive.
18535 AR_FLAGS=$lt_AR_FLAGS
18536
18537 # How to feed a file listing to the archiver.
18538 archiver_list_spec=$lt_archiver_list_spec
18539
18540 # A symbol stripping program.
18541 STRIP=$lt_STRIP
18542
18543 # Commands used to install an old-style archive.
18544 RANLIB=$lt_RANLIB
18545 old_postinstall_cmds=$lt_old_postinstall_cmds
18546 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18547
18548 # Whether to use a lock for old archive extraction.
18549 lock_old_archive_extraction=$lock_old_archive_extraction
18550
18551 # A C compiler.
18552 LTCC=$lt_CC
18553
18554 # LTCC compiler flags.
18555 LTCFLAGS=$lt_CFLAGS
18556
18557 # Take the output of nm and produce a listing of raw symbols and C names.
18558 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18559
18560 # Transform the output of nm in a proper C declaration.
18561 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18562
18563 # Transform the output of nm in a C name address pair.
18564 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18565
18566 # Transform the output of nm in a C name address pair when lib prefix is needed.
18567 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18568
18569 # Specify filename containing input files for \$NM.
18570 nm_file_list_spec=$lt_nm_file_list_spec
18571
18572 # The root where to search for dependent libraries,and in which our libraries should be installed.
18573 lt_sysroot=$lt_sysroot
18574
18575 # The name of the directory that contains temporary libtool files.
18576 objdir=$objdir
18577
18578 # Used to examine libraries when file_magic_cmd begins with "file".
18579 MAGIC_CMD=$MAGIC_CMD
18580
18581 # Must we lock files when doing compilation?
18582 need_locks=$lt_need_locks
18583
18584 # Manifest tool.
18585 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18586
18587 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18588 DSYMUTIL=$lt_DSYMUTIL
18589
18590 # Tool to change global to local symbols on Mac OS X.
18591 NMEDIT=$lt_NMEDIT
18592
18593 # Tool to manipulate fat objects and archives on Mac OS X.
18594 LIPO=$lt_LIPO
18595
18596 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18597 OTOOL=$lt_OTOOL
18598
18599 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18600 OTOOL64=$lt_OTOOL64
18601
18602 # Old archive suffix (normally "a").
18603 libext=$libext
18604
18605 # Shared library suffix (normally ".so").
18606 shrext_cmds=$lt_shrext_cmds
18607
18608 # The commands to extract the exported symbol list from a shared archive.
18609 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18610
18611 # Variables whose values should be saved in libtool wrapper scripts and
18612 # restored at link time.
18613 variables_saved_for_relink=$lt_variables_saved_for_relink
18614
18615 # Do we need the "lib" prefix for modules?
18616 need_lib_prefix=$need_lib_prefix
18617
18618 # Do we need a version for libraries?
18619 need_version=$need_version
18620
18621 # Library versioning type.
18622 version_type=$version_type
18623
18624 # Shared library runtime path variable.
18625 runpath_var=$runpath_var
18626
18627 # Shared library path variable.
18628 shlibpath_var=$shlibpath_var
18629
18630 # Is shlibpath searched before the hard-coded library search path?
18631 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18632
18633 # Format of library name prefix.
18634 libname_spec=$lt_libname_spec
18635
18636 # List of archive names.  First name is the real one, the rest are links.
18637 # The last name is the one that the linker finds with -lNAME
18638 library_names_spec=$lt_library_names_spec
18639
18640 # The coded name of the library, if different from the real name.
18641 soname_spec=$lt_soname_spec
18642
18643 # Permission mode override for installation of shared libraries.
18644 install_override_mode=$lt_install_override_mode
18645
18646 # Command to use after installation of a shared archive.
18647 postinstall_cmds=$lt_postinstall_cmds
18648
18649 # Command to use after uninstallation of a shared archive.
18650 postuninstall_cmds=$lt_postuninstall_cmds
18651
18652 # Commands used to finish a libtool library installation in a directory.
18653 finish_cmds=$lt_finish_cmds
18654
18655 # As "finish_cmds", except a single script fragment to be evaled but
18656 # not shown.
18657 finish_eval=$lt_finish_eval
18658
18659 # Whether we should hardcode library paths into libraries.
18660 hardcode_into_libs=$hardcode_into_libs
18661
18662 # Compile-time system search path for libraries.
18663 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18664
18665 # Run-time system search path for libraries.
18666 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18667
18668 # Whether dlopen is supported.
18669 dlopen_support=$enable_dlopen
18670
18671 # Whether dlopen of programs is supported.
18672 dlopen_self=$enable_dlopen_self
18673
18674 # Whether dlopen of statically linked programs is supported.
18675 dlopen_self_static=$enable_dlopen_self_static
18676
18677 # Commands to strip libraries.
18678 old_striplib=$lt_old_striplib
18679 striplib=$lt_striplib
18680
18681
18682 # The linker used to build libraries.
18683 LD=$lt_LD
18684
18685 # How to create reloadable object files.
18686 reload_flag=$lt_reload_flag
18687 reload_cmds=$lt_reload_cmds
18688
18689 # Commands used to build an old-style archive.
18690 old_archive_cmds=$lt_old_archive_cmds
18691
18692 # A language specific compiler.
18693 CC=$lt_compiler
18694
18695 # Is the compiler the GNU compiler?
18696 with_gcc=$GCC
18697
18698 # Compiler flag to turn off builtin functions.
18699 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18700
18701 # Additional compiler flags for building library objects.
18702 pic_flag=$lt_lt_prog_compiler_pic
18703
18704 # How to pass a linker flag through the compiler.
18705 wl=$lt_lt_prog_compiler_wl
18706
18707 # Compiler flag to prevent dynamic linking.
18708 link_static_flag=$lt_lt_prog_compiler_static
18709
18710 # Does compiler simultaneously support -c and -o options?
18711 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18712
18713 # Whether or not to add -lc for building shared libraries.
18714 build_libtool_need_lc=$archive_cmds_need_lc
18715
18716 # Whether or not to disallow shared libs when runtime libs are static.
18717 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18718
18719 # Compiler flag to allow reflexive dlopens.
18720 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18721
18722 # Compiler flag to generate shared objects directly from archives.
18723 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18724
18725 # Whether the compiler copes with passing no objects directly.
18726 compiler_needs_object=$lt_compiler_needs_object
18727
18728 # Create an old-style archive from a shared archive.
18729 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18730
18731 # Create a temporary old-style archive to link instead of a shared archive.
18732 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18733
18734 # Commands used to build a shared archive.
18735 archive_cmds=$lt_archive_cmds
18736 archive_expsym_cmds=$lt_archive_expsym_cmds
18737
18738 # Commands used to build a loadable module if different from building
18739 # a shared archive.
18740 module_cmds=$lt_module_cmds
18741 module_expsym_cmds=$lt_module_expsym_cmds
18742
18743 # Whether we are building with GNU ld or not.
18744 with_gnu_ld=$lt_with_gnu_ld
18745
18746 # Flag that allows shared libraries with undefined symbols to be built.
18747 allow_undefined_flag=$lt_allow_undefined_flag
18748
18749 # Flag that enforces no undefined symbols.
18750 no_undefined_flag=$lt_no_undefined_flag
18751
18752 # Flag to hardcode \$libdir into a binary during linking.
18753 # This must work even if \$libdir does not exist
18754 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18755
18756 # Whether we need a single "-rpath" flag with a separated argument.
18757 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18758
18759 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18760 # DIR into the resulting binary.
18761 hardcode_direct=$hardcode_direct
18762
18763 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18764 # DIR into the resulting binary and the resulting library dependency is
18765 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18766 # library is relocated.
18767 hardcode_direct_absolute=$hardcode_direct_absolute
18768
18769 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18770 # into the resulting binary.
18771 hardcode_minus_L=$hardcode_minus_L
18772
18773 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18774 # into the resulting binary.
18775 hardcode_shlibpath_var=$hardcode_shlibpath_var
18776
18777 # Set to "yes" if building a shared library automatically hardcodes DIR
18778 # into the library and all subsequent libraries and executables linked
18779 # against it.
18780 hardcode_automatic=$hardcode_automatic
18781
18782 # Set to yes if linker adds runtime paths of dependent libraries
18783 # to runtime path list.
18784 inherit_rpath=$inherit_rpath
18785
18786 # Whether libtool must link a program against all its dependency libraries.
18787 link_all_deplibs=$link_all_deplibs
18788
18789 # Set to "yes" if exported symbols are required.
18790 always_export_symbols=$always_export_symbols
18791
18792 # The commands to list exported symbols.
18793 export_symbols_cmds=$lt_export_symbols_cmds
18794
18795 # Symbols that should not be listed in the preloaded symbols.
18796 exclude_expsyms=$lt_exclude_expsyms
18797
18798 # Symbols that must always be exported.
18799 include_expsyms=$lt_include_expsyms
18800
18801 # Commands necessary for linking programs (against libraries) with templates.
18802 prelink_cmds=$lt_prelink_cmds
18803
18804 # Commands necessary for finishing linking programs.
18805 postlink_cmds=$lt_postlink_cmds
18806
18807 # Specify filename containing input files.
18808 file_list_spec=$lt_file_list_spec
18809
18810 # How to hardcode a shared library path into an executable.
18811 hardcode_action=$hardcode_action
18812
18813 # ### END LIBTOOL CONFIG
18814
18815 _LT_EOF
18816
18817   case $host_os in
18818   aix3*)
18819     cat <<\_LT_EOF >> "$cfgfile"
18820 # AIX sometimes has problems with the GCC collect2 program.  For some
18821 # reason, if we set the COLLECT_NAMES environment variable, the problems
18822 # vanish in a puff of smoke.
18823 if test "X${COLLECT_NAMES+set}" != Xset; then
18824   COLLECT_NAMES=
18825   export COLLECT_NAMES
18826 fi
18827 _LT_EOF
18828     ;;
18829   esac
18830
18831
18832 ltmain="$ac_aux_dir/ltmain.sh"
18833
18834
18835   # We use sed instead of cat because bash on DJGPP gets confused if
18836   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
18837   # text mode, it properly converts lines to CR/LF.  This bash problem
18838   # is reportedly fixed, but why not run on old versions too?
18839   sed '$q' "$ltmain" >> "$cfgfile" \
18840      || (rm -f "$cfgfile"; exit 1)
18841
18842   if test x"$xsi_shell" = xyes; then
18843   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18844 func_dirname ()\
18845 {\
18846 \    case ${1} in\
18847 \      */*) func_dirname_result="${1%/*}${2}" ;;\
18848 \      *  ) func_dirname_result="${3}" ;;\
18849 \    esac\
18850 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18851   && mv -f "$cfgfile.tmp" "$cfgfile" \
18852     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18853 test 0 -eq $? || _lt_function_replace_fail=:
18854
18855
18856   sed -e '/^func_basename ()$/,/^} # func_basename /c\
18857 func_basename ()\
18858 {\
18859 \    func_basename_result="${1##*/}"\
18860 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18861   && mv -f "$cfgfile.tmp" "$cfgfile" \
18862     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18863 test 0 -eq $? || _lt_function_replace_fail=:
18864
18865
18866   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18867 func_dirname_and_basename ()\
18868 {\
18869 \    case ${1} in\
18870 \      */*) func_dirname_result="${1%/*}${2}" ;;\
18871 \      *  ) func_dirname_result="${3}" ;;\
18872 \    esac\
18873 \    func_basename_result="${1##*/}"\
18874 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18875   && mv -f "$cfgfile.tmp" "$cfgfile" \
18876     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18877 test 0 -eq $? || _lt_function_replace_fail=:
18878
18879
18880   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18881 func_stripname ()\
18882 {\
18883 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18884 \    # positional parameters, so assign one to ordinary parameter first.\
18885 \    func_stripname_result=${3}\
18886 \    func_stripname_result=${func_stripname_result#"${1}"}\
18887 \    func_stripname_result=${func_stripname_result%"${2}"}\
18888 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18889   && mv -f "$cfgfile.tmp" "$cfgfile" \
18890     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18891 test 0 -eq $? || _lt_function_replace_fail=:
18892
18893
18894   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18895 func_split_long_opt ()\
18896 {\
18897 \    func_split_long_opt_name=${1%%=*}\
18898 \    func_split_long_opt_arg=${1#*=}\
18899 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18900   && mv -f "$cfgfile.tmp" "$cfgfile" \
18901     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18902 test 0 -eq $? || _lt_function_replace_fail=:
18903
18904
18905   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18906 func_split_short_opt ()\
18907 {\
18908 \    func_split_short_opt_arg=${1#??}\
18909 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18910 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18911   && mv -f "$cfgfile.tmp" "$cfgfile" \
18912     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18913 test 0 -eq $? || _lt_function_replace_fail=:
18914
18915
18916   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18917 func_lo2o ()\
18918 {\
18919 \    case ${1} in\
18920 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18921 \      *)    func_lo2o_result=${1} ;;\
18922 \    esac\
18923 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18924   && mv -f "$cfgfile.tmp" "$cfgfile" \
18925     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18926 test 0 -eq $? || _lt_function_replace_fail=:
18927
18928
18929   sed -e '/^func_xform ()$/,/^} # func_xform /c\
18930 func_xform ()\
18931 {\
18932     func_xform_result=${1%.*}.lo\
18933 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18934   && mv -f "$cfgfile.tmp" "$cfgfile" \
18935     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18936 test 0 -eq $? || _lt_function_replace_fail=:
18937
18938
18939   sed -e '/^func_arith ()$/,/^} # func_arith /c\
18940 func_arith ()\
18941 {\
18942     func_arith_result=$(( $* ))\
18943 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18944   && mv -f "$cfgfile.tmp" "$cfgfile" \
18945     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18946 test 0 -eq $? || _lt_function_replace_fail=:
18947
18948
18949   sed -e '/^func_len ()$/,/^} # func_len /c\
18950 func_len ()\
18951 {\
18952     func_len_result=${#1}\
18953 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18954   && mv -f "$cfgfile.tmp" "$cfgfile" \
18955     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18956 test 0 -eq $? || _lt_function_replace_fail=:
18957
18958 fi
18959
18960 if test x"$lt_shell_append" = xyes; then
18961   sed -e '/^func_append ()$/,/^} # func_append /c\
18962 func_append ()\
18963 {\
18964     eval "${1}+=\\${2}"\
18965 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18966   && mv -f "$cfgfile.tmp" "$cfgfile" \
18967     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18968 test 0 -eq $? || _lt_function_replace_fail=:
18969
18970
18971   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18972 func_append_quoted ()\
18973 {\
18974 \    func_quote_for_eval "${2}"\
18975 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18976 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18977   && mv -f "$cfgfile.tmp" "$cfgfile" \
18978     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18979 test 0 -eq $? || _lt_function_replace_fail=:
18980
18981
18982   # Save a `func_append' function call where possible by direct use of '+='
18983   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18984     && mv -f "$cfgfile.tmp" "$cfgfile" \
18985       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18986   test 0 -eq $? || _lt_function_replace_fail=:
18987 else
18988   # Save a `func_append' function call even when '+=' is not available
18989   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18990     && mv -f "$cfgfile.tmp" "$cfgfile" \
18991       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18992   test 0 -eq $? || _lt_function_replace_fail=:
18993 fi
18994
18995 if test x"$_lt_function_replace_fail" = x":"; then
18996   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18997 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18998 fi
18999
19000
19001    mv -f "$cfgfile" "$ofile" ||
19002     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19003   chmod +x "$ofile"
19004
19005  ;;
19006     "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
19007         sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
19008       esac ;;
19009     "po/stamp-it":C)
19010     if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
19011        as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
19012     fi
19013     rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
19014     >"po/stamp-it.tmp"
19015     sed '/^#/d
19016          s/^[[].*] *//
19017          /^[    ]*$/d
19018         '"s|^|  $ac_top_srcdir/|" \
19019       "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
19020
19021     sed '/^POTFILES =/,/[^\\]$/ {
19022                 /^POTFILES =/!d
19023                 r po/POTFILES
19024           }
19025          ' "po/Makefile.in" >"po/Makefile"
19026     rm -f "po/Makefile.tmp"
19027     mv "po/stamp-it.tmp" "po/stamp-it"
19028    ;;
19029
19030   esac
19031 done # for ac_tag
19032
19033
19034 as_fn_exit 0
19035 _ACEOF
19036 ac_clean_files=$ac_clean_files_save
19037
19038 test $ac_write_fail = 0 ||
19039   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19040
19041
19042 # configure is writing to config.log, and then calls config.status.
19043 # config.status does its own redirection, appending to config.log.
19044 # Unfortunately, on DOS this fails, as config.log is still kept open
19045 # by configure, so config.status won't be able to write to it; its
19046 # output is simply discarded.  So we exec the FD to /dev/null,
19047 # effectively closing config.log, so it can be properly (re)opened and
19048 # appended to by config.status.  When coming back to configure, we
19049 # need to make the FD available again.
19050 if test "$no_create" != yes; then
19051   ac_cs_success=:
19052   ac_config_status_args=
19053   test "$silent" = yes &&
19054     ac_config_status_args="$ac_config_status_args --quiet"
19055   exec 5>/dev/null
19056   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19057   exec 5>>config.log
19058   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19059   # would make configure fail if this is the last instruction.
19060   $ac_cs_success || as_fn_exit 1
19061 fi
19062 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19063   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19064 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19065 fi
19066
19067
19068 if test "${prefix}" != "/usr"; then
19069         echo
19070         echo "Warning: install prefix is $prefix"
19071         echo
19072         echo "Most mount applications expect the mount helper to install to"
19073         echo "/sbin. You can install the mount helper to that location by "
19074         echo "running the configure script again with --prefix=/usr:"
19075         echo
19076         echo "./configure --prefix=/usr"
19077         echo
19078 fi