d63356f9c14cb8b3fe7f0f3e71a073c46b5effd4
[platform/upstream/gumd.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for gumd 0.0.1.
4 #
5 #
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8 # Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20   emulate sh
21   NULLCMD=:
22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23   # is contrary to our usage.  Disable this feature.
24   alias -g '${1+"$@"}'='"$@"'
25   setopt NO_GLOB_SUBST
26 else
27   case `(set -o) 2>/dev/null` in #(
28   *posix*) :
29     set -o posix ;; #(
30   *) :
31      ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47   as_echo='print -r --'
48   as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in #(
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order.  Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" ""        $as_nl"
90
91 # Find who we are.  Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94   *[\\/]* ) as_myself=$0 ;;
95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98   IFS=$as_save_IFS
99   test -z "$as_dir" && as_dir=.
100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101   done
102 IFS=$as_save_IFS
103
104      ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109   as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113   exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there.  '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 if test "x$CONFIG_SHELL" = x; then
138   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
139   emulate sh
140   NULLCMD=:
141   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142   # is contrary to our usage.  Disable this feature.
143   alias -g '\${1+\"\$@\"}'='\"\$@\"'
144   setopt NO_GLOB_SUBST
145 else
146   case \`(set -o) 2>/dev/null\` in #(
147   *posix*) :
148     set -o posix ;; #(
149   *) :
150      ;;
151 esac
152 fi
153 "
154   as_required="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
159
160 exitcode=0
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
166
167 else
168   exitcode=1; echo positional parameters were not saved.
169 fi
170 test x\$exitcode = x0 || exit 1"
171   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175
176   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
177     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
178     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
179     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
180     PATH=/empty FPATH=/empty; export PATH FPATH
181     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
182       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
183 test \$(( 1 + 1 )) = 2 || exit 1"
184   if (eval "$as_required") 2>/dev/null; then :
185   as_have_required=yes
186 else
187   as_have_required=no
188 fi
189   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
190
191 else
192   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
193 as_found=false
194 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
195 do
196   IFS=$as_save_IFS
197   test -z "$as_dir" && as_dir=.
198   as_found=:
199   case $as_dir in #(
200          /*)
201            for as_base in sh bash ksh sh5; do
202              # Try only shells that exist, to save several forks.
203              as_shell=$as_dir/$as_base
204              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
205                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
206   CONFIG_SHELL=$as_shell as_have_required=yes
207                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208   break 2
209 fi
210 fi
211            done;;
212        esac
213   as_found=false
214 done
215 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
216               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
217   CONFIG_SHELL=$SHELL as_have_required=yes
218 fi; }
219 IFS=$as_save_IFS
220
221
222       if test "x$CONFIG_SHELL" != x; then :
223   # We cannot yet assume a decent shell, so we have to provide a
224         # neutralization value for shells without unset; and this also
225         # works around shells that cannot unset nonexistent variables.
226         # Preserve -v and -x to the replacement shell.
227         BASH_ENV=/dev/null
228         ENV=/dev/null
229         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
230         export CONFIG_SHELL
231         case $- in # ((((
232           *v*x* | *x*v* ) as_opts=-vx ;;
233           *v* ) as_opts=-v ;;
234           *x* ) as_opts=-x ;;
235           * ) as_opts= ;;
236         esac
237         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
238 fi
239
240     if test x$as_have_required = xno; then :
241   $as_echo "$0: This script requires a shell more modern than all"
242   $as_echo "$0: the shells that I found on your system."
243   if test x${ZSH_VERSION+set} = xset ; then
244     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
245     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
246   else
247     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
248 $0: including any error possibly output before this
249 $0: message. Then install a modern shell, or manually run
250 $0: the script under such a shell if you do have one."
251   fi
252   exit 1
253 fi
254 fi
255 fi
256 SHELL=${CONFIG_SHELL-/bin/sh}
257 export SHELL
258 # Unset more variables known to interfere with behavior of common tools.
259 CLICOLOR_FORCE= GREP_OPTIONS=
260 unset CLICOLOR_FORCE GREP_OPTIONS
261
262 ## --------------------- ##
263 ## M4sh Shell Functions. ##
264 ## --------------------- ##
265 # as_fn_unset VAR
266 # ---------------
267 # Portably unset VAR.
268 as_fn_unset ()
269 {
270   { eval $1=; unset $1;}
271 }
272 as_unset=as_fn_unset
273
274 # as_fn_set_status STATUS
275 # -----------------------
276 # Set $? to STATUS, without forking.
277 as_fn_set_status ()
278 {
279   return $1
280 } # as_fn_set_status
281
282 # as_fn_exit STATUS
283 # -----------------
284 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
285 as_fn_exit ()
286 {
287   set +e
288   as_fn_set_status $1
289   exit $1
290 } # as_fn_exit
291
292 # as_fn_mkdir_p
293 # -------------
294 # Create "$as_dir" as a directory, including parents if necessary.
295 as_fn_mkdir_p ()
296 {
297
298   case $as_dir in #(
299   -*) as_dir=./$as_dir;;
300   esac
301   test -d "$as_dir" || eval $as_mkdir_p || {
302     as_dirs=
303     while :; do
304       case $as_dir in #(
305       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
306       *) as_qdir=$as_dir;;
307       esac
308       as_dirs="'$as_qdir' $as_dirs"
309       as_dir=`$as_dirname -- "$as_dir" ||
310 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
311          X"$as_dir" : 'X\(//\)[^/]' \| \
312          X"$as_dir" : 'X\(//\)$' \| \
313          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
314 $as_echo X"$as_dir" |
315     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316             s//\1/
317             q
318           }
319           /^X\(\/\/\)[^/].*/{
320             s//\1/
321             q
322           }
323           /^X\(\/\/\)$/{
324             s//\1/
325             q
326           }
327           /^X\(\/\).*/{
328             s//\1/
329             q
330           }
331           s/.*/./; q'`
332       test -d "$as_dir" && break
333     done
334     test -z "$as_dirs" || eval "mkdir $as_dirs"
335   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
336
337
338 } # as_fn_mkdir_p
339 # as_fn_append VAR VALUE
340 # ----------------------
341 # Append the text in VALUE to the end of the definition contained in VAR. Take
342 # advantage of any shell optimizations that allow amortized linear growth over
343 # repeated appends, instead of the typical quadratic growth present in naive
344 # implementations.
345 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
346   eval 'as_fn_append ()
347   {
348     eval $1+=\$2
349   }'
350 else
351   as_fn_append ()
352   {
353     eval $1=\$$1\$2
354   }
355 fi # as_fn_append
356
357 # as_fn_arith ARG...
358 # ------------------
359 # Perform arithmetic evaluation on the ARGs, and store the result in the
360 # global $as_val. Take advantage of shells that can avoid forks. The arguments
361 # must be portable across $(()) and expr.
362 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
363   eval 'as_fn_arith ()
364   {
365     as_val=$(( $* ))
366   }'
367 else
368   as_fn_arith ()
369   {
370     as_val=`expr "$@" || test $? -eq 1`
371   }
372 fi # as_fn_arith
373
374
375 # as_fn_error STATUS ERROR [LINENO LOG_FD]
376 # ----------------------------------------
377 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
378 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
379 # script with STATUS, using 1 if that was 0.
380 as_fn_error ()
381 {
382   as_status=$1; test $as_status -eq 0 && as_status=1
383   if test "$4"; then
384     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
385     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
386   fi
387   $as_echo "$as_me: error: $2" >&2
388   as_fn_exit $as_status
389 } # as_fn_error
390
391 if expr a : '\(a\)' >/dev/null 2>&1 &&
392    test "X`expr 00001 : '.*\(...\)'`" = X001; then
393   as_expr=expr
394 else
395   as_expr=false
396 fi
397
398 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
399   as_basename=basename
400 else
401   as_basename=false
402 fi
403
404 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
405   as_dirname=dirname
406 else
407   as_dirname=false
408 fi
409
410 as_me=`$as_basename -- "$0" ||
411 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
412          X"$0" : 'X\(//\)$' \| \
413          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
414 $as_echo X/"$0" |
415     sed '/^.*\/\([^/][^/]*\)\/*$/{
416             s//\1/
417             q
418           }
419           /^X\/\(\/\/\)$/{
420             s//\1/
421             q
422           }
423           /^X\/\(\/\).*/{
424             s//\1/
425             q
426           }
427           s/.*/./; q'`
428
429 # Avoid depending upon Character Ranges.
430 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
431 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
432 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
433 as_cr_digits='0123456789'
434 as_cr_alnum=$as_cr_Letters$as_cr_digits
435
436
437   as_lineno_1=$LINENO as_lineno_1a=$LINENO
438   as_lineno_2=$LINENO as_lineno_2a=$LINENO
439   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
440   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
441   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
442   sed -n '
443     p
444     /[$]LINENO/=
445   ' <$as_myself |
446     sed '
447       s/[$]LINENO.*/&-/
448       t lineno
449       b
450       :lineno
451       N
452       :loop
453       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
454       t loop
455       s/-\n.*//
456     ' >$as_me.lineno &&
457   chmod +x "$as_me.lineno" ||
458     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
459
460   # Don't try to exec as it changes $[0], causing all sort of problems
461   # (the dirname of $[0] is not the place where we might find the
462   # original and so on.  Autoconf is especially sensitive to this).
463   . "./$as_me.lineno"
464   # Exit status is that of the last command.
465   exit
466 }
467
468 ECHO_C= ECHO_N= ECHO_T=
469 case `echo -n x` in #(((((
470 -n*)
471   case `echo 'xy\c'` in
472   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
473   xy)  ECHO_C='\c';;
474   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
475        ECHO_T=' ';;
476   esac;;
477 *)
478   ECHO_N='-n';;
479 esac
480
481 rm -f conf$$ conf$$.exe conf$$.file
482 if test -d conf$$.dir; then
483   rm -f conf$$.dir/conf$$.file
484 else
485   rm -f conf$$.dir
486   mkdir conf$$.dir 2>/dev/null
487 fi
488 if (echo >conf$$.file) 2>/dev/null; then
489   if ln -s conf$$.file conf$$ 2>/dev/null; then
490     as_ln_s='ln -s'
491     # ... but there are two gotchas:
492     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
493     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
494     # In both cases, we have to default to `cp -p'.
495     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
496       as_ln_s='cp -p'
497   elif ln conf$$.file conf$$ 2>/dev/null; then
498     as_ln_s=ln
499   else
500     as_ln_s='cp -p'
501   fi
502 else
503   as_ln_s='cp -p'
504 fi
505 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
506 rmdir conf$$.dir 2>/dev/null
507
508 if mkdir -p . 2>/dev/null; then
509   as_mkdir_p='mkdir -p "$as_dir"'
510 else
511   test -d ./-p && rmdir ./-p
512   as_mkdir_p=false
513 fi
514
515 if test -x / >/dev/null 2>&1; then
516   as_test_x='test -x'
517 else
518   if ls -dL / >/dev/null 2>&1; then
519     as_ls_L_option=L
520   else
521     as_ls_L_option=
522   fi
523   as_test_x='
524     eval sh -c '\''
525       if test -d "$1"; then
526         test -d "$1/.";
527       else
528         case $1 in #(
529         -*)set "./$1";;
530         esac;
531         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
532         ???[sx]*):;;*)false;;esac;fi
533     '\'' sh
534   '
535 fi
536 as_executable_p=$as_test_x
537
538 # Sed expression to map a string onto a valid CPP name.
539 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
540
541 # Sed expression to map a string onto a valid variable name.
542 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
543
544 SHELL=${CONFIG_SHELL-/bin/sh}
545
546
547 test -n "$DJDIR" || exec 7<&0 </dev/null
548 exec 6>&1
549
550 # Name of the host.
551 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
552 # so uname gets run too.
553 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
554
555 #
556 # Initializations.
557 #
558 ac_default_prefix=/usr/local
559 ac_clean_files=
560 ac_config_libobj_dir=.
561 LIBOBJS=
562 cross_compiling=no
563 subdirs=
564 MFLAGS=
565 MAKEFLAGS=
566
567 # Identity of this package.
568 PACKAGE_NAME='gumd'
569 PACKAGE_TARNAME='gumd'
570 PACKAGE_VERSION='0.0.1'
571 PACKAGE_STRING='gumd 0.0.1'
572 PACKAGE_BUGREPORT=''
573 PACKAGE_URL='https://github.com/01org/gumd'
574
575 ac_unique_file="src/daemon/main.c"
576 # Factoring default headers for most tests.
577 ac_includes_default="\
578 #include <stdio.h>
579 #ifdef HAVE_SYS_TYPES_H
580 # include <sys/types.h>
581 #endif
582 #ifdef HAVE_SYS_STAT_H
583 # include <sys/stat.h>
584 #endif
585 #ifdef STDC_HEADERS
586 # include <stdlib.h>
587 # include <stddef.h>
588 #else
589 # ifdef HAVE_STDLIB_H
590 #  include <stdlib.h>
591 # endif
592 #endif
593 #ifdef HAVE_STRING_H
594 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
595 #  include <memory.h>
596 # endif
597 # include <string.h>
598 #endif
599 #ifdef HAVE_STRINGS_H
600 # include <strings.h>
601 #endif
602 #ifdef HAVE_INTTYPES_H
603 # include <inttypes.h>
604 #endif
605 #ifdef HAVE_STDINT_H
606 # include <stdint.h>
607 #endif
608 #ifdef HAVE_UNISTD_H
609 # include <unistd.h>
610 #endif"
611
612 ac_subst_vars='am__EXEEXT_FALSE
613 am__EXEEXT_TRUE
614 LTLIBOBJS
615 LIBOBJS
616 LIBGUM_INCLUDES
617 LIBGUM_LIBS
618 LIBGUM_CFLAGS
619 GUMD_INCLUDES
620 GUMD_LIBS
621 GUMD_CFLAGS
622 GUM_COMMON_INCLUDES
623 GUM_COMMON_LIBS
624 GUM_COMMON_CFLAGS
625 GUM_INCLUDES
626 GUM_CFLAGS
627 GTK_DOC_USE_REBASE_FALSE
628 GTK_DOC_USE_REBASE_TRUE
629 GTK_DOC_USE_LIBTOOL_FALSE
630 GTK_DOC_USE_LIBTOOL_TRUE
631 GTK_DOC_BUILD_PDF_FALSE
632 GTK_DOC_BUILD_PDF_TRUE
633 GTK_DOC_BUILD_HTML_FALSE
634 GTK_DOC_BUILD_HTML_TRUE
635 ENABLE_GTK_DOC_FALSE
636 ENABLE_GTK_DOC_TRUE
637 GTKDOC_DEPS_LIBS
638 GTKDOC_DEPS_CFLAGS
639 HTML_DIR
640 GTKDOC_MKPDF
641 GTKDOC_REBASE
642 GTKDOC_CHECK
643 HAVE_DEBUG_FALSE
644 HAVE_DEBUG_TRUE
645 HAVE_TESTS_FALSE
646 HAVE_TESTS_TRUE
647 USE_DBUS_SERVICE_FALSE
648 USE_DBUS_SERVICE_TRUE
649 HAVE_SYSTEM_BUS_FALSE
650 HAVE_SYSTEM_BUS_TRUE
651 MESSAGE_BUS_TYPE
652 DBUS_CONF_DIR
653 DBUS_INTERFACES_DIR
654 DBUS_SERVICES_DIR
655 MESSAGE_BUS_USER
656 DBus_LIBS
657 DBus_CFLAGS
658 SET_PERMISSIONS_FALSE
659 SET_PERMISSIONS_TRUE
660 GCOV_LIBS
661 GCOV_CFLAGS
662 CRYPT_LIB
663 CHECK_LIBS
664 CHECK_CFLAGS
665 HAVE_LIBTLM_NFC_FALSE
666 HAVE_LIBTLM_NFC_TRUE
667 LIBTLM_NFC_LIBS
668 LIBTLM_NFC_CFLAGS
669 GLIB_MKENUMS
670 GLIB_LIBS
671 GLIB_CFLAGS
672 PKG_CONFIG_LIBDIR
673 PKG_CONFIG_PATH
674 PKG_CONFIG
675 CPP
676 OTOOL64
677 OTOOL
678 LIPO
679 NMEDIT
680 DSYMUTIL
681 MANIFEST_TOOL
682 RANLIB
683 DLLTOOL
684 OBJDUMP
685 LN_S
686 NM
687 ac_ct_DUMPBIN
688 DUMPBIN
689 LD
690 FGREP
691 EGREP
692 GREP
693 SED
694 host_os
695 host_vendor
696 host_cpu
697 host
698 build_os
699 build_vendor
700 build_cpu
701 build
702 LIBTOOL
703 ifGNUmake
704 ac_ct_AR
705 AR
706 am__fastdepCC_FALSE
707 am__fastdepCC_TRUE
708 CCDEPMODE
709 am__nodep
710 AMDEPBACKSLASH
711 AMDEP_FALSE
712 AMDEP_TRUE
713 am__quote
714 am__include
715 DEPDIR
716 OBJEXT
717 EXEEXT
718 ac_ct_CC
719 CPPFLAGS
720 LDFLAGS
721 CFLAGS
722 CC
723 AM_BACKSLASH
724 AM_DEFAULT_VERBOSITY
725 AM_DEFAULT_V
726 AM_V
727 am__untar
728 am__tar
729 AMTAR
730 am__leading_dot
731 SET_MAKE
732 AWK
733 mkdir_p
734 MKDIR_P
735 INSTALL_STRIP_PROGRAM
736 STRIP
737 install_sh
738 MAKEINFO
739 AUTOHEADER
740 AUTOMAKE
741 AUTOCONF
742 ACLOCAL
743 VERSION
744 PACKAGE
745 CYGPATH_W
746 am__isrc
747 INSTALL_DATA
748 INSTALL_SCRIPT
749 INSTALL_PROGRAM
750 target_alias
751 host_alias
752 build_alias
753 LIBS
754 ECHO_T
755 ECHO_N
756 ECHO_C
757 DEFS
758 mandir
759 localedir
760 libdir
761 psdir
762 pdfdir
763 dvidir
764 htmldir
765 infodir
766 docdir
767 oldincludedir
768 includedir
769 localstatedir
770 sharedstatedir
771 sysconfdir
772 datadir
773 datarootdir
774 libexecdir
775 sbindir
776 bindir
777 program_transform_name
778 prefix
779 exec_prefix
780 PACKAGE_URL
781 PACKAGE_BUGREPORT
782 PACKAGE_STRING
783 PACKAGE_VERSION
784 PACKAGE_TARNAME
785 PACKAGE_NAME
786 PATH_SEPARATOR
787 SHELL'
788 ac_subst_files=''
789 ac_user_opts='
790 enable_option_checking
791 enable_silent_rules
792 enable_dependency_tracking
793 enable_static
794 enable_shared
795 with_pic
796 enable_fast_install
797 with_gnu_ld
798 with_sysroot
799 enable_libtool_lock
800 enable_cov
801 enable_distcheck
802 enable_dbus_type
803 enable_tests
804 enable_debug
805 enable_passwdfile
806 enable_shadowfile
807 enable_groupfile
808 enable_gshadowfile
809 enable_homedirpref
810 enable_shell
811 enable_defusergroups
812 enable_defadmingroups
813 enable_skeldir
814 enable_encryptalgo
815 with_html_dir
816 enable_gtk_doc
817 enable_gtk_doc_html
818 enable_gtk_doc_pdf
819 '
820       ac_precious_vars='build_alias
821 host_alias
822 target_alias
823 CC
824 CFLAGS
825 LDFLAGS
826 LIBS
827 CPPFLAGS
828 CPP
829 PKG_CONFIG
830 PKG_CONFIG_PATH
831 PKG_CONFIG_LIBDIR
832 GLIB_CFLAGS
833 GLIB_LIBS
834 LIBTLM_NFC_CFLAGS
835 LIBTLM_NFC_LIBS
836 CHECK_CFLAGS
837 CHECK_LIBS
838 DBus_CFLAGS
839 DBus_LIBS
840 GTKDOC_DEPS_CFLAGS
841 GTKDOC_DEPS_LIBS'
842
843
844 # Initialize some variables set by options.
845 ac_init_help=
846 ac_init_version=false
847 ac_unrecognized_opts=
848 ac_unrecognized_sep=
849 # The variables have the same names as the options, with
850 # dashes changed to underlines.
851 cache_file=/dev/null
852 exec_prefix=NONE
853 no_create=
854 no_recursion=
855 prefix=NONE
856 program_prefix=NONE
857 program_suffix=NONE
858 program_transform_name=s,x,x,
859 silent=
860 site=
861 srcdir=
862 verbose=
863 x_includes=NONE
864 x_libraries=NONE
865
866 # Installation directory options.
867 # These are left unexpanded so users can "make install exec_prefix=/foo"
868 # and all the variables that are supposed to be based on exec_prefix
869 # by default will actually change.
870 # Use braces instead of parens because sh, perl, etc. also accept them.
871 # (The list follows the same order as the GNU Coding Standards.)
872 bindir='${exec_prefix}/bin'
873 sbindir='${exec_prefix}/sbin'
874 libexecdir='${exec_prefix}/libexec'
875 datarootdir='${prefix}/share'
876 datadir='${datarootdir}'
877 sysconfdir='${prefix}/etc'
878 sharedstatedir='${prefix}/com'
879 localstatedir='${prefix}/var'
880 includedir='${prefix}/include'
881 oldincludedir='/usr/include'
882 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
883 infodir='${datarootdir}/info'
884 htmldir='${docdir}'
885 dvidir='${docdir}'
886 pdfdir='${docdir}'
887 psdir='${docdir}'
888 libdir='${exec_prefix}/lib'
889 localedir='${datarootdir}/locale'
890 mandir='${datarootdir}/man'
891
892 ac_prev=
893 ac_dashdash=
894 for ac_option
895 do
896   # If the previous option needs an argument, assign it.
897   if test -n "$ac_prev"; then
898     eval $ac_prev=\$ac_option
899     ac_prev=
900     continue
901   fi
902
903   case $ac_option in
904   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
905   *=)   ac_optarg= ;;
906   *)    ac_optarg=yes ;;
907   esac
908
909   # Accept the important Cygnus configure options, so we can diagnose typos.
910
911   case $ac_dashdash$ac_option in
912   --)
913     ac_dashdash=yes ;;
914
915   -bindir | --bindir | --bindi | --bind | --bin | --bi)
916     ac_prev=bindir ;;
917   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
918     bindir=$ac_optarg ;;
919
920   -build | --build | --buil | --bui | --bu)
921     ac_prev=build_alias ;;
922   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
923     build_alias=$ac_optarg ;;
924
925   -cache-file | --cache-file | --cache-fil | --cache-fi \
926   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
927     ac_prev=cache_file ;;
928   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
929   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
930     cache_file=$ac_optarg ;;
931
932   --config-cache | -C)
933     cache_file=config.cache ;;
934
935   -datadir | --datadir | --datadi | --datad)
936     ac_prev=datadir ;;
937   -datadir=* | --datadir=* | --datadi=* | --datad=*)
938     datadir=$ac_optarg ;;
939
940   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
941   | --dataroo | --dataro | --datar)
942     ac_prev=datarootdir ;;
943   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
944   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
945     datarootdir=$ac_optarg ;;
946
947   -disable-* | --disable-*)
948     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
949     # Reject names that are not valid shell variable names.
950     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
951       as_fn_error $? "invalid feature name: $ac_useropt"
952     ac_useropt_orig=$ac_useropt
953     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
954     case $ac_user_opts in
955       *"
956 "enable_$ac_useropt"
957 "*) ;;
958       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
959          ac_unrecognized_sep=', ';;
960     esac
961     eval enable_$ac_useropt=no ;;
962
963   -docdir | --docdir | --docdi | --doc | --do)
964     ac_prev=docdir ;;
965   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
966     docdir=$ac_optarg ;;
967
968   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
969     ac_prev=dvidir ;;
970   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
971     dvidir=$ac_optarg ;;
972
973   -enable-* | --enable-*)
974     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
975     # Reject names that are not valid shell variable names.
976     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
977       as_fn_error $? "invalid feature name: $ac_useropt"
978     ac_useropt_orig=$ac_useropt
979     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
980     case $ac_user_opts in
981       *"
982 "enable_$ac_useropt"
983 "*) ;;
984       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
985          ac_unrecognized_sep=', ';;
986     esac
987     eval enable_$ac_useropt=\$ac_optarg ;;
988
989   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
990   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
991   | --exec | --exe | --ex)
992     ac_prev=exec_prefix ;;
993   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
994   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
995   | --exec=* | --exe=* | --ex=*)
996     exec_prefix=$ac_optarg ;;
997
998   -gas | --gas | --ga | --g)
999     # Obsolete; use --with-gas.
1000     with_gas=yes ;;
1001
1002   -help | --help | --hel | --he | -h)
1003     ac_init_help=long ;;
1004   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1005     ac_init_help=recursive ;;
1006   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1007     ac_init_help=short ;;
1008
1009   -host | --host | --hos | --ho)
1010     ac_prev=host_alias ;;
1011   -host=* | --host=* | --hos=* | --ho=*)
1012     host_alias=$ac_optarg ;;
1013
1014   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1015     ac_prev=htmldir ;;
1016   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1017   | --ht=*)
1018     htmldir=$ac_optarg ;;
1019
1020   -includedir | --includedir | --includedi | --included | --include \
1021   | --includ | --inclu | --incl | --inc)
1022     ac_prev=includedir ;;
1023   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1024   | --includ=* | --inclu=* | --incl=* | --inc=*)
1025     includedir=$ac_optarg ;;
1026
1027   -infodir | --infodir | --infodi | --infod | --info | --inf)
1028     ac_prev=infodir ;;
1029   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1030     infodir=$ac_optarg ;;
1031
1032   -libdir | --libdir | --libdi | --libd)
1033     ac_prev=libdir ;;
1034   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1035     libdir=$ac_optarg ;;
1036
1037   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1038   | --libexe | --libex | --libe)
1039     ac_prev=libexecdir ;;
1040   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1041   | --libexe=* | --libex=* | --libe=*)
1042     libexecdir=$ac_optarg ;;
1043
1044   -localedir | --localedir | --localedi | --localed | --locale)
1045     ac_prev=localedir ;;
1046   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1047     localedir=$ac_optarg ;;
1048
1049   -localstatedir | --localstatedir | --localstatedi | --localstated \
1050   | --localstate | --localstat | --localsta | --localst | --locals)
1051     ac_prev=localstatedir ;;
1052   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1053   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1054     localstatedir=$ac_optarg ;;
1055
1056   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1057     ac_prev=mandir ;;
1058   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1059     mandir=$ac_optarg ;;
1060
1061   -nfp | --nfp | --nf)
1062     # Obsolete; use --without-fp.
1063     with_fp=no ;;
1064
1065   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1066   | --no-cr | --no-c | -n)
1067     no_create=yes ;;
1068
1069   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1070   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1071     no_recursion=yes ;;
1072
1073   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1074   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1075   | --oldin | --oldi | --old | --ol | --o)
1076     ac_prev=oldincludedir ;;
1077   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1078   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1079   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1080     oldincludedir=$ac_optarg ;;
1081
1082   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1083     ac_prev=prefix ;;
1084   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1085     prefix=$ac_optarg ;;
1086
1087   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1088   | --program-pre | --program-pr | --program-p)
1089     ac_prev=program_prefix ;;
1090   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1091   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1092     program_prefix=$ac_optarg ;;
1093
1094   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1095   | --program-suf | --program-su | --program-s)
1096     ac_prev=program_suffix ;;
1097   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1098   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1099     program_suffix=$ac_optarg ;;
1100
1101   -program-transform-name | --program-transform-name \
1102   | --program-transform-nam | --program-transform-na \
1103   | --program-transform-n | --program-transform- \
1104   | --program-transform | --program-transfor \
1105   | --program-transfo | --program-transf \
1106   | --program-trans | --program-tran \
1107   | --progr-tra | --program-tr | --program-t)
1108     ac_prev=program_transform_name ;;
1109   -program-transform-name=* | --program-transform-name=* \
1110   | --program-transform-nam=* | --program-transform-na=* \
1111   | --program-transform-n=* | --program-transform-=* \
1112   | --program-transform=* | --program-transfor=* \
1113   | --program-transfo=* | --program-transf=* \
1114   | --program-trans=* | --program-tran=* \
1115   | --progr-tra=* | --program-tr=* | --program-t=*)
1116     program_transform_name=$ac_optarg ;;
1117
1118   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1119     ac_prev=pdfdir ;;
1120   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1121     pdfdir=$ac_optarg ;;
1122
1123   -psdir | --psdir | --psdi | --psd | --ps)
1124     ac_prev=psdir ;;
1125   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1126     psdir=$ac_optarg ;;
1127
1128   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1129   | -silent | --silent | --silen | --sile | --sil)
1130     silent=yes ;;
1131
1132   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1133     ac_prev=sbindir ;;
1134   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1135   | --sbi=* | --sb=*)
1136     sbindir=$ac_optarg ;;
1137
1138   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1139   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1140   | --sharedst | --shareds | --shared | --share | --shar \
1141   | --sha | --sh)
1142     ac_prev=sharedstatedir ;;
1143   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1144   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1145   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1146   | --sha=* | --sh=*)
1147     sharedstatedir=$ac_optarg ;;
1148
1149   -site | --site | --sit)
1150     ac_prev=site ;;
1151   -site=* | --site=* | --sit=*)
1152     site=$ac_optarg ;;
1153
1154   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1155     ac_prev=srcdir ;;
1156   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1157     srcdir=$ac_optarg ;;
1158
1159   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1160   | --syscon | --sysco | --sysc | --sys | --sy)
1161     ac_prev=sysconfdir ;;
1162   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1163   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1164     sysconfdir=$ac_optarg ;;
1165
1166   -target | --target | --targe | --targ | --tar | --ta | --t)
1167     ac_prev=target_alias ;;
1168   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1169     target_alias=$ac_optarg ;;
1170
1171   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1172     verbose=yes ;;
1173
1174   -version | --version | --versio | --versi | --vers | -V)
1175     ac_init_version=: ;;
1176
1177   -with-* | --with-*)
1178     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1179     # Reject names that are not valid shell variable names.
1180     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1181       as_fn_error $? "invalid package name: $ac_useropt"
1182     ac_useropt_orig=$ac_useropt
1183     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1184     case $ac_user_opts in
1185       *"
1186 "with_$ac_useropt"
1187 "*) ;;
1188       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1189          ac_unrecognized_sep=', ';;
1190     esac
1191     eval with_$ac_useropt=\$ac_optarg ;;
1192
1193   -without-* | --without-*)
1194     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1195     # Reject names that are not valid shell variable names.
1196     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1197       as_fn_error $? "invalid package name: $ac_useropt"
1198     ac_useropt_orig=$ac_useropt
1199     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1200     case $ac_user_opts in
1201       *"
1202 "with_$ac_useropt"
1203 "*) ;;
1204       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1205          ac_unrecognized_sep=', ';;
1206     esac
1207     eval with_$ac_useropt=no ;;
1208
1209   --x)
1210     # Obsolete; use --with-x.
1211     with_x=yes ;;
1212
1213   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1214   | --x-incl | --x-inc | --x-in | --x-i)
1215     ac_prev=x_includes ;;
1216   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1217   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1218     x_includes=$ac_optarg ;;
1219
1220   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1221   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1222     ac_prev=x_libraries ;;
1223   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1224   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1225     x_libraries=$ac_optarg ;;
1226
1227   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1228 Try \`$0 --help' for more information"
1229     ;;
1230
1231   *=*)
1232     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1233     # Reject names that are not valid shell variable names.
1234     case $ac_envvar in #(
1235       '' | [0-9]* | *[!_$as_cr_alnum]* )
1236       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1237     esac
1238     eval $ac_envvar=\$ac_optarg
1239     export $ac_envvar ;;
1240
1241   *)
1242     # FIXME: should be removed in autoconf 3.0.
1243     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1244     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1245       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1246     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1247     ;;
1248
1249   esac
1250 done
1251
1252 if test -n "$ac_prev"; then
1253   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1254   as_fn_error $? "missing argument to $ac_option"
1255 fi
1256
1257 if test -n "$ac_unrecognized_opts"; then
1258   case $enable_option_checking in
1259     no) ;;
1260     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1261     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1262   esac
1263 fi
1264
1265 # Check all directory arguments for consistency.
1266 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1267                 datadir sysconfdir sharedstatedir localstatedir includedir \
1268                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1269                 libdir localedir mandir
1270 do
1271   eval ac_val=\$$ac_var
1272   # Remove trailing slashes.
1273   case $ac_val in
1274     */ )
1275       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1276       eval $ac_var=\$ac_val;;
1277   esac
1278   # Be sure to have absolute directory names.
1279   case $ac_val in
1280     [\\/$]* | ?:[\\/]* )  continue;;
1281     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1282   esac
1283   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1284 done
1285
1286 # There might be people who depend on the old broken behavior: `$host'
1287 # used to hold the argument of --host etc.
1288 # FIXME: To remove some day.
1289 build=$build_alias
1290 host=$host_alias
1291 target=$target_alias
1292
1293 # FIXME: To remove some day.
1294 if test "x$host_alias" != x; then
1295   if test "x$build_alias" = x; then
1296     cross_compiling=maybe
1297     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1298     If a cross compiler is detected then cross compile mode will be used" >&2
1299   elif test "x$build_alias" != "x$host_alias"; then
1300     cross_compiling=yes
1301   fi
1302 fi
1303
1304 ac_tool_prefix=
1305 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1306
1307 test "$silent" = yes && exec 6>/dev/null
1308
1309
1310 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1311 ac_ls_di=`ls -di .` &&
1312 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1313   as_fn_error $? "working directory cannot be determined"
1314 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1315   as_fn_error $? "pwd does not report name of working directory"
1316
1317
1318 # Find the source files, if location was not specified.
1319 if test -z "$srcdir"; then
1320   ac_srcdir_defaulted=yes
1321   # Try the directory containing this script, then the parent directory.
1322   ac_confdir=`$as_dirname -- "$as_myself" ||
1323 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1324          X"$as_myself" : 'X\(//\)[^/]' \| \
1325          X"$as_myself" : 'X\(//\)$' \| \
1326          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1327 $as_echo X"$as_myself" |
1328     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1329             s//\1/
1330             q
1331           }
1332           /^X\(\/\/\)[^/].*/{
1333             s//\1/
1334             q
1335           }
1336           /^X\(\/\/\)$/{
1337             s//\1/
1338             q
1339           }
1340           /^X\(\/\).*/{
1341             s//\1/
1342             q
1343           }
1344           s/.*/./; q'`
1345   srcdir=$ac_confdir
1346   if test ! -r "$srcdir/$ac_unique_file"; then
1347     srcdir=..
1348   fi
1349 else
1350   ac_srcdir_defaulted=no
1351 fi
1352 if test ! -r "$srcdir/$ac_unique_file"; then
1353   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1354   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1355 fi
1356 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1357 ac_abs_confdir=`(
1358         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1359         pwd)`
1360 # When building in place, set srcdir=.
1361 if test "$ac_abs_confdir" = "$ac_pwd"; then
1362   srcdir=.
1363 fi
1364 # Remove unnecessary trailing slashes from srcdir.
1365 # Double slashes in file names in object file debugging info
1366 # mess up M-x gdb in Emacs.
1367 case $srcdir in
1368 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1369 esac
1370 for ac_var in $ac_precious_vars; do
1371   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1372   eval ac_env_${ac_var}_value=\$${ac_var}
1373   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1374   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1375 done
1376
1377 #
1378 # Report the --help message.
1379 #
1380 if test "$ac_init_help" = "long"; then
1381   # Omit some internal or obsolete options to make the list less imposing.
1382   # This message is too long to be a string in the A/UX 3.1 sh.
1383   cat <<_ACEOF
1384 \`configure' configures gumd 0.0.1 to adapt to many kinds of systems.
1385
1386 Usage: $0 [OPTION]... [VAR=VALUE]...
1387
1388 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1389 VAR=VALUE.  See below for descriptions of some of the useful variables.
1390
1391 Defaults for the options are specified in brackets.
1392
1393 Configuration:
1394   -h, --help              display this help and exit
1395       --help=short        display options specific to this package
1396       --help=recursive    display the short help of all the included packages
1397   -V, --version           display version information and exit
1398   -q, --quiet, --silent   do not print \`checking ...' messages
1399       --cache-file=FILE   cache test results in FILE [disabled]
1400   -C, --config-cache      alias for \`--cache-file=config.cache'
1401   -n, --no-create         do not create output files
1402       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1403
1404 Installation directories:
1405   --prefix=PREFIX         install architecture-independent files in PREFIX
1406                           [$ac_default_prefix]
1407   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1408                           [PREFIX]
1409
1410 By default, \`make install' will install all the files in
1411 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1412 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1413 for instance \`--prefix=\$HOME'.
1414
1415 For better control, use the options below.
1416
1417 Fine tuning of the installation directories:
1418   --bindir=DIR            user executables [EPREFIX/bin]
1419   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1420   --libexecdir=DIR        program executables [EPREFIX/libexec]
1421   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1422   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1423   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1424   --libdir=DIR            object code libraries [EPREFIX/lib]
1425   --includedir=DIR        C header files [PREFIX/include]
1426   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1427   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1428   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1429   --infodir=DIR           info documentation [DATAROOTDIR/info]
1430   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1431   --mandir=DIR            man documentation [DATAROOTDIR/man]
1432   --docdir=DIR            documentation root [DATAROOTDIR/doc/gumd]
1433   --htmldir=DIR           html documentation [DOCDIR]
1434   --dvidir=DIR            dvi documentation [DOCDIR]
1435   --pdfdir=DIR            pdf documentation [DOCDIR]
1436   --psdir=DIR             ps documentation [DOCDIR]
1437 _ACEOF
1438
1439   cat <<\_ACEOF
1440
1441 Program names:
1442   --program-prefix=PREFIX            prepend PREFIX to installed program names
1443   --program-suffix=SUFFIX            append SUFFIX to installed program names
1444   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1445
1446 System types:
1447   --build=BUILD     configure for building on BUILD [guessed]
1448   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1449 _ACEOF
1450 fi
1451
1452 if test -n "$ac_init_help"; then
1453   case $ac_init_help in
1454      short | recursive ) echo "Configuration of gumd 0.0.1:";;
1455    esac
1456   cat <<\_ACEOF
1457
1458 Optional Features:
1459   --disable-option-checking  ignore unrecognized --enable/--with options
1460   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1461   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1462   --enable-silent-rules          less verbose build output (undo: `make V=1')
1463   --disable-silent-rules         verbose build output (undo: `make V=0')
1464   --disable-dependency-tracking  speeds up one-time build
1465   --enable-dependency-tracking   do not reject slow dependency extractors
1466   --enable-static[=PKGS]  build static libraries [default=no]
1467   --enable-shared[=PKGS]  build shared libraries [default=yes]
1468   --enable-fast-install[=PKGS]
1469                           optimize for fast installation [default=yes]
1470   --disable-libtool-lock  avoid locking (might break parallel builds)
1471   --enable-cov build to be used for coverage analysis
1472   --enable-distcheck build for distcheck target
1473   --enable-dbus-type=dbus-type specify daemon dbus type:
1474            p2p: uses peer to peer dbus
1475            session: uses session message bus
1476            system(default): uses system message bus
1477   --enable-tests  enable tests features
1478   --enable-debug  enable debug features
1479   --enable-passwdfile=path  enable passwd file at location "path"
1480                instead of default "/etc/passwd"
1481   --enable-shadowfile=path  enable shadow file at location "path"
1482                instead of default "/etc/shadow"
1483   --enable-groupfile=path  enable group file at location "path"
1484                instead of default "/etc/group"
1485   --enable-gshadowfile=path  enable gshadow file at location "path"
1486                instead of default "/etc/gshadow"
1487   --enable-homedirpref=path  enable home directory prefix at "path"
1488                instead of default "/home"
1489   --enable-shell=path  enable shell at location "path"
1490                instead of default "/bin/bash"
1491   --enable-defusergroups=groups  enable default user groups by
1492                "groups" instead of default ""
1493   --enable-defadmingroups=groups  enable default groups for admin
1494                user by "groups" instead of default ""
1495   --enable-skeldir=path  enable skel dir at location "path" instead
1496                of default "/etc/skel"
1497   --enable-encryptalgo=algo  enable encrypt algorithm as specified
1498               by "algo" instead of default "SHA512". Other supported algorithms are
1499               'MD5', 'SHA256', 'DES'
1500   --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1501   --enable-gtk-doc-html   build documentation in html format [[default=yes]]
1502   --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1503
1504 Optional Packages:
1505   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1506   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1507   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1508                           both]
1509   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1510   --with-sysroot=DIR Search for dependent libraries within DIR
1511                         (or the compiler's sysroot if not specified).
1512   --with-html-dir=PATH    path to installed docs
1513
1514 Some influential environment variables:
1515   CC          C compiler command
1516   CFLAGS      C compiler flags
1517   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1518               nonstandard directory <lib dir>
1519   LIBS        libraries to pass to the linker, e.g. -l<library>
1520   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1521               you have headers in a nonstandard directory <include dir>
1522   CPP         C preprocessor
1523   PKG_CONFIG  path to pkg-config utility
1524   PKG_CONFIG_PATH
1525               directories to add to pkg-config's search path
1526   PKG_CONFIG_LIBDIR
1527               path overriding pkg-config's built-in search path
1528   GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1529   GLIB_LIBS   linker flags for GLIB, overriding pkg-config
1530   LIBTLM_NFC_CFLAGS
1531               C compiler flags for LIBTLM_NFC, overriding pkg-config
1532   LIBTLM_NFC_LIBS
1533               linker flags for LIBTLM_NFC, overriding pkg-config
1534   CHECK_CFLAGS
1535               C compiler flags for CHECK, overriding pkg-config
1536   CHECK_LIBS  linker flags for CHECK, overriding pkg-config
1537   DBus_CFLAGS C compiler flags for DBus, overriding pkg-config
1538   DBus_LIBS   linker flags for DBus, overriding pkg-config
1539   GTKDOC_DEPS_CFLAGS
1540               C compiler flags for GTKDOC_DEPS, overriding pkg-config
1541   GTKDOC_DEPS_LIBS
1542               linker flags for GTKDOC_DEPS, overriding pkg-config
1543
1544 Use these variables to override the choices made by `configure' or to help
1545 it to find libraries and programs with nonstandard names/locations.
1546
1547 Report bugs to the package provider.
1548 gumd home page: <https://github.com/01org/gumd>.
1549 _ACEOF
1550 ac_status=$?
1551 fi
1552
1553 if test "$ac_init_help" = "recursive"; then
1554   # If there are subdirs, report their specific --help.
1555   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1556     test -d "$ac_dir" ||
1557       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1558       continue
1559     ac_builddir=.
1560
1561 case "$ac_dir" in
1562 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1563 *)
1564   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1565   # A ".." for each directory in $ac_dir_suffix.
1566   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1567   case $ac_top_builddir_sub in
1568   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1569   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1570   esac ;;
1571 esac
1572 ac_abs_top_builddir=$ac_pwd
1573 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1574 # for backward compatibility:
1575 ac_top_builddir=$ac_top_build_prefix
1576
1577 case $srcdir in
1578   .)  # We are building in place.
1579     ac_srcdir=.
1580     ac_top_srcdir=$ac_top_builddir_sub
1581     ac_abs_top_srcdir=$ac_pwd ;;
1582   [\\/]* | ?:[\\/]* )  # Absolute name.
1583     ac_srcdir=$srcdir$ac_dir_suffix;
1584     ac_top_srcdir=$srcdir
1585     ac_abs_top_srcdir=$srcdir ;;
1586   *) # Relative name.
1587     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1588     ac_top_srcdir=$ac_top_build_prefix$srcdir
1589     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1590 esac
1591 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1592
1593     cd "$ac_dir" || { ac_status=$?; continue; }
1594     # Check for guested configure.
1595     if test -f "$ac_srcdir/configure.gnu"; then
1596       echo &&
1597       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1598     elif test -f "$ac_srcdir/configure"; then
1599       echo &&
1600       $SHELL "$ac_srcdir/configure" --help=recursive
1601     else
1602       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1603     fi || ac_status=$?
1604     cd "$ac_pwd" || { ac_status=$?; break; }
1605   done
1606 fi
1607
1608 test -n "$ac_init_help" && exit $ac_status
1609 if $ac_init_version; then
1610   cat <<\_ACEOF
1611 gumd configure 0.0.1
1612 generated by GNU Autoconf 2.68
1613
1614 Copyright (C) 2010 Free Software Foundation, Inc.
1615 This configure script is free software; the Free Software Foundation
1616 gives unlimited permission to copy, distribute and modify it.
1617 _ACEOF
1618   exit
1619 fi
1620
1621 ## ------------------------ ##
1622 ## Autoconf initialization. ##
1623 ## ------------------------ ##
1624
1625 # ac_fn_c_try_compile LINENO
1626 # --------------------------
1627 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1628 ac_fn_c_try_compile ()
1629 {
1630   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1631   rm -f conftest.$ac_objext
1632   if { { ac_try="$ac_compile"
1633 case "(($ac_try" in
1634   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1635   *) ac_try_echo=$ac_try;;
1636 esac
1637 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1638 $as_echo "$ac_try_echo"; } >&5
1639   (eval "$ac_compile") 2>conftest.err
1640   ac_status=$?
1641   if test -s conftest.err; then
1642     grep -v '^ *+' conftest.err >conftest.er1
1643     cat conftest.er1 >&5
1644     mv -f conftest.er1 conftest.err
1645   fi
1646   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1647   test $ac_status = 0; } && {
1648          test -z "$ac_c_werror_flag" ||
1649          test ! -s conftest.err
1650        } && test -s conftest.$ac_objext; then :
1651   ac_retval=0
1652 else
1653   $as_echo "$as_me: failed program was:" >&5
1654 sed 's/^/| /' conftest.$ac_ext >&5
1655
1656         ac_retval=1
1657 fi
1658   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1659   as_fn_set_status $ac_retval
1660
1661 } # ac_fn_c_try_compile
1662
1663 # ac_fn_c_try_link LINENO
1664 # -----------------------
1665 # Try to link conftest.$ac_ext, and return whether this succeeded.
1666 ac_fn_c_try_link ()
1667 {
1668   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1669   rm -f conftest.$ac_objext conftest$ac_exeext
1670   if { { ac_try="$ac_link"
1671 case "(($ac_try" in
1672   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1673   *) ac_try_echo=$ac_try;;
1674 esac
1675 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1676 $as_echo "$ac_try_echo"; } >&5
1677   (eval "$ac_link") 2>conftest.err
1678   ac_status=$?
1679   if test -s conftest.err; then
1680     grep -v '^ *+' conftest.err >conftest.er1
1681     cat conftest.er1 >&5
1682     mv -f conftest.er1 conftest.err
1683   fi
1684   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1685   test $ac_status = 0; } && {
1686          test -z "$ac_c_werror_flag" ||
1687          test ! -s conftest.err
1688        } && test -s conftest$ac_exeext && {
1689          test "$cross_compiling" = yes ||
1690          $as_test_x conftest$ac_exeext
1691        }; then :
1692   ac_retval=0
1693 else
1694   $as_echo "$as_me: failed program was:" >&5
1695 sed 's/^/| /' conftest.$ac_ext >&5
1696
1697         ac_retval=1
1698 fi
1699   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1700   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1701   # interfere with the next link command; also delete a directory that is
1702   # left behind by Apple's compiler.  We do this before executing the actions.
1703   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1704   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1705   as_fn_set_status $ac_retval
1706
1707 } # ac_fn_c_try_link
1708
1709 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1710 # -------------------------------------------------------
1711 # Tests whether HEADER exists and can be compiled using the include files in
1712 # INCLUDES, setting the cache variable VAR accordingly.
1713 ac_fn_c_check_header_compile ()
1714 {
1715   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1716   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1717 $as_echo_n "checking for $2... " >&6; }
1718 if eval \${$3+:} false; then :
1719   $as_echo_n "(cached) " >&6
1720 else
1721   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1722 /* end confdefs.h.  */
1723 $4
1724 #include <$2>
1725 _ACEOF
1726 if ac_fn_c_try_compile "$LINENO"; then :
1727   eval "$3=yes"
1728 else
1729   eval "$3=no"
1730 fi
1731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1732 fi
1733 eval ac_res=\$$3
1734                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1735 $as_echo "$ac_res" >&6; }
1736   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1737
1738 } # ac_fn_c_check_header_compile
1739
1740 # ac_fn_c_try_cpp LINENO
1741 # ----------------------
1742 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1743 ac_fn_c_try_cpp ()
1744 {
1745   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1746   if { { ac_try="$ac_cpp conftest.$ac_ext"
1747 case "(($ac_try" in
1748   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1749   *) ac_try_echo=$ac_try;;
1750 esac
1751 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1752 $as_echo "$ac_try_echo"; } >&5
1753   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1754   ac_status=$?
1755   if test -s conftest.err; then
1756     grep -v '^ *+' conftest.err >conftest.er1
1757     cat conftest.er1 >&5
1758     mv -f conftest.er1 conftest.err
1759   fi
1760   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1761   test $ac_status = 0; } > conftest.i && {
1762          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1763          test ! -s conftest.err
1764        }; then :
1765   ac_retval=0
1766 else
1767   $as_echo "$as_me: failed program was:" >&5
1768 sed 's/^/| /' conftest.$ac_ext >&5
1769
1770     ac_retval=1
1771 fi
1772   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1773   as_fn_set_status $ac_retval
1774
1775 } # ac_fn_c_try_cpp
1776
1777 # ac_fn_c_try_run LINENO
1778 # ----------------------
1779 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1780 # that executables *can* be run.
1781 ac_fn_c_try_run ()
1782 {
1783   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1784   if { { ac_try="$ac_link"
1785 case "(($ac_try" in
1786   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1787   *) ac_try_echo=$ac_try;;
1788 esac
1789 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1790 $as_echo "$ac_try_echo"; } >&5
1791   (eval "$ac_link") 2>&5
1792   ac_status=$?
1793   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1794   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1795   { { case "(($ac_try" in
1796   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1797   *) ac_try_echo=$ac_try;;
1798 esac
1799 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1800 $as_echo "$ac_try_echo"; } >&5
1801   (eval "$ac_try") 2>&5
1802   ac_status=$?
1803   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1804   test $ac_status = 0; }; }; then :
1805   ac_retval=0
1806 else
1807   $as_echo "$as_me: program exited with status $ac_status" >&5
1808        $as_echo "$as_me: failed program was:" >&5
1809 sed 's/^/| /' conftest.$ac_ext >&5
1810
1811        ac_retval=$ac_status
1812 fi
1813   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1814   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1815   as_fn_set_status $ac_retval
1816
1817 } # ac_fn_c_try_run
1818
1819 # ac_fn_c_check_func LINENO FUNC VAR
1820 # ----------------------------------
1821 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1822 ac_fn_c_check_func ()
1823 {
1824   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1825   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1826 $as_echo_n "checking for $2... " >&6; }
1827 if eval \${$3+:} false; then :
1828   $as_echo_n "(cached) " >&6
1829 else
1830   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1831 /* end confdefs.h.  */
1832 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1833    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1834 #define $2 innocuous_$2
1835
1836 /* System header to define __stub macros and hopefully few prototypes,
1837     which can conflict with char $2 (); below.
1838     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1839     <limits.h> exists even on freestanding compilers.  */
1840
1841 #ifdef __STDC__
1842 # include <limits.h>
1843 #else
1844 # include <assert.h>
1845 #endif
1846
1847 #undef $2
1848
1849 /* Override any GCC internal prototype to avoid an error.
1850    Use char because int might match the return type of a GCC
1851    builtin and then its argument prototype would still apply.  */
1852 #ifdef __cplusplus
1853 extern "C"
1854 #endif
1855 char $2 ();
1856 /* The GNU C library defines this for functions which it implements
1857     to always fail with ENOSYS.  Some functions are actually named
1858     something starting with __ and the normal name is an alias.  */
1859 #if defined __stub_$2 || defined __stub___$2
1860 choke me
1861 #endif
1862
1863 int
1864 main ()
1865 {
1866 return $2 ();
1867   ;
1868   return 0;
1869 }
1870 _ACEOF
1871 if ac_fn_c_try_link "$LINENO"; then :
1872   eval "$3=yes"
1873 else
1874   eval "$3=no"
1875 fi
1876 rm -f core conftest.err conftest.$ac_objext \
1877     conftest$ac_exeext conftest.$ac_ext
1878 fi
1879 eval ac_res=\$$3
1880                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1881 $as_echo "$ac_res" >&6; }
1882   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1883
1884 } # ac_fn_c_check_func
1885
1886 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1887 # -------------------------------------------------------
1888 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1889 # the include files in INCLUDES and setting the cache variable VAR
1890 # accordingly.
1891 ac_fn_c_check_header_mongrel ()
1892 {
1893   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1894   if eval \${$3+:} false; then :
1895   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1896 $as_echo_n "checking for $2... " >&6; }
1897 if eval \${$3+:} false; then :
1898   $as_echo_n "(cached) " >&6
1899 fi
1900 eval ac_res=\$$3
1901                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1902 $as_echo "$ac_res" >&6; }
1903 else
1904   # Is the header compilable?
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1906 $as_echo_n "checking $2 usability... " >&6; }
1907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1908 /* end confdefs.h.  */
1909 $4
1910 #include <$2>
1911 _ACEOF
1912 if ac_fn_c_try_compile "$LINENO"; then :
1913   ac_header_compiler=yes
1914 else
1915   ac_header_compiler=no
1916 fi
1917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1919 $as_echo "$ac_header_compiler" >&6; }
1920
1921 # Is the header present?
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1923 $as_echo_n "checking $2 presence... " >&6; }
1924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1925 /* end confdefs.h.  */
1926 #include <$2>
1927 _ACEOF
1928 if ac_fn_c_try_cpp "$LINENO"; then :
1929   ac_header_preproc=yes
1930 else
1931   ac_header_preproc=no
1932 fi
1933 rm -f conftest.err conftest.i conftest.$ac_ext
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1935 $as_echo "$ac_header_preproc" >&6; }
1936
1937 # So?  What about this header?
1938 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1939   yes:no: )
1940     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1941 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1942     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1943 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1944     ;;
1945   no:yes:* )
1946     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1947 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1948     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1949 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1950     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1951 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1952     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1953 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1954     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1955 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1956     ;;
1957 esac
1958   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1959 $as_echo_n "checking for $2... " >&6; }
1960 if eval \${$3+:} false; then :
1961   $as_echo_n "(cached) " >&6
1962 else
1963   eval "$3=\$ac_header_compiler"
1964 fi
1965 eval ac_res=\$$3
1966                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1967 $as_echo "$ac_res" >&6; }
1968 fi
1969   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1970
1971 } # ac_fn_c_check_header_mongrel
1972 cat >config.log <<_ACEOF
1973 This file contains any messages produced by compilers while
1974 running configure, to aid debugging if configure makes a mistake.
1975
1976 It was created by gumd $as_me 0.0.1, which was
1977 generated by GNU Autoconf 2.68.  Invocation command line was
1978
1979   $ $0 $@
1980
1981 _ACEOF
1982 exec 5>>config.log
1983 {
1984 cat <<_ASUNAME
1985 ## --------- ##
1986 ## Platform. ##
1987 ## --------- ##
1988
1989 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1990 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1991 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1992 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1993 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1994
1995 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1996 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1997
1998 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1999 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2000 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2001 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2002 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2003 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2004 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2005
2006 _ASUNAME
2007
2008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2009 for as_dir in $PATH
2010 do
2011   IFS=$as_save_IFS
2012   test -z "$as_dir" && as_dir=.
2013     $as_echo "PATH: $as_dir"
2014   done
2015 IFS=$as_save_IFS
2016
2017 } >&5
2018
2019 cat >&5 <<_ACEOF
2020
2021
2022 ## ----------- ##
2023 ## Core tests. ##
2024 ## ----------- ##
2025
2026 _ACEOF
2027
2028
2029 # Keep a trace of the command line.
2030 # Strip out --no-create and --no-recursion so they do not pile up.
2031 # Strip out --silent because we don't want to record it for future runs.
2032 # Also quote any args containing shell meta-characters.
2033 # Make two passes to allow for proper duplicate-argument suppression.
2034 ac_configure_args=
2035 ac_configure_args0=
2036 ac_configure_args1=
2037 ac_must_keep_next=false
2038 for ac_pass in 1 2
2039 do
2040   for ac_arg
2041   do
2042     case $ac_arg in
2043     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2044     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2045     | -silent | --silent | --silen | --sile | --sil)
2046       continue ;;
2047     *\'*)
2048       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2049     esac
2050     case $ac_pass in
2051     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2052     2)
2053       as_fn_append ac_configure_args1 " '$ac_arg'"
2054       if test $ac_must_keep_next = true; then
2055         ac_must_keep_next=false # Got value, back to normal.
2056       else
2057         case $ac_arg in
2058           *=* | --config-cache | -C | -disable-* | --disable-* \
2059           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2060           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2061           | -with-* | --with-* | -without-* | --without-* | --x)
2062             case "$ac_configure_args0 " in
2063               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2064             esac
2065             ;;
2066           -* ) ac_must_keep_next=true ;;
2067         esac
2068       fi
2069       as_fn_append ac_configure_args " '$ac_arg'"
2070       ;;
2071     esac
2072   done
2073 done
2074 { ac_configure_args0=; unset ac_configure_args0;}
2075 { ac_configure_args1=; unset ac_configure_args1;}
2076
2077 # When interrupted or exit'd, cleanup temporary files, and complete
2078 # config.log.  We remove comments because anyway the quotes in there
2079 # would cause problems or look ugly.
2080 # WARNING: Use '\'' to represent an apostrophe within the trap.
2081 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2082 trap 'exit_status=$?
2083   # Save into config.log some information that might help in debugging.
2084   {
2085     echo
2086
2087     $as_echo "## ---------------- ##
2088 ## Cache variables. ##
2089 ## ---------------- ##"
2090     echo
2091     # The following way of writing the cache mishandles newlines in values,
2092 (
2093   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2094     eval ac_val=\$$ac_var
2095     case $ac_val in #(
2096     *${as_nl}*)
2097       case $ac_var in #(
2098       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2099 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2100       esac
2101       case $ac_var in #(
2102       _ | IFS | as_nl) ;; #(
2103       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2104       *) { eval $ac_var=; unset $ac_var;} ;;
2105       esac ;;
2106     esac
2107   done
2108   (set) 2>&1 |
2109     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2110     *${as_nl}ac_space=\ *)
2111       sed -n \
2112         "s/'\''/'\''\\\\'\'''\''/g;
2113           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2114       ;; #(
2115     *)
2116       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2117       ;;
2118     esac |
2119     sort
2120 )
2121     echo
2122
2123     $as_echo "## ----------------- ##
2124 ## Output variables. ##
2125 ## ----------------- ##"
2126     echo
2127     for ac_var in $ac_subst_vars
2128     do
2129       eval ac_val=\$$ac_var
2130       case $ac_val in
2131       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2132       esac
2133       $as_echo "$ac_var='\''$ac_val'\''"
2134     done | sort
2135     echo
2136
2137     if test -n "$ac_subst_files"; then
2138       $as_echo "## ------------------- ##
2139 ## File substitutions. ##
2140 ## ------------------- ##"
2141       echo
2142       for ac_var in $ac_subst_files
2143       do
2144         eval ac_val=\$$ac_var
2145         case $ac_val in
2146         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2147         esac
2148         $as_echo "$ac_var='\''$ac_val'\''"
2149       done | sort
2150       echo
2151     fi
2152
2153     if test -s confdefs.h; then
2154       $as_echo "## ----------- ##
2155 ## confdefs.h. ##
2156 ## ----------- ##"
2157       echo
2158       cat confdefs.h
2159       echo
2160     fi
2161     test "$ac_signal" != 0 &&
2162       $as_echo "$as_me: caught signal $ac_signal"
2163     $as_echo "$as_me: exit $exit_status"
2164   } >&5
2165   rm -f core *.core core.conftest.* &&
2166     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2167     exit $exit_status
2168 ' 0
2169 for ac_signal in 1 2 13 15; do
2170   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2171 done
2172 ac_signal=0
2173
2174 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2175 rm -f -r conftest* confdefs.h
2176
2177 $as_echo "/* confdefs.h */" > confdefs.h
2178
2179 # Predefined preprocessor variables.
2180
2181 cat >>confdefs.h <<_ACEOF
2182 #define PACKAGE_NAME "$PACKAGE_NAME"
2183 _ACEOF
2184
2185 cat >>confdefs.h <<_ACEOF
2186 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2187 _ACEOF
2188
2189 cat >>confdefs.h <<_ACEOF
2190 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2191 _ACEOF
2192
2193 cat >>confdefs.h <<_ACEOF
2194 #define PACKAGE_STRING "$PACKAGE_STRING"
2195 _ACEOF
2196
2197 cat >>confdefs.h <<_ACEOF
2198 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2199 _ACEOF
2200
2201 cat >>confdefs.h <<_ACEOF
2202 #define PACKAGE_URL "$PACKAGE_URL"
2203 _ACEOF
2204
2205
2206 # Let the site file select an alternate cache file if it wants to.
2207 # Prefer an explicitly selected file to automatically selected ones.
2208 ac_site_file1=NONE
2209 ac_site_file2=NONE
2210 if test -n "$CONFIG_SITE"; then
2211   # We do not want a PATH search for config.site.
2212   case $CONFIG_SITE in #((
2213     -*)  ac_site_file1=./$CONFIG_SITE;;
2214     */*) ac_site_file1=$CONFIG_SITE;;
2215     *)   ac_site_file1=./$CONFIG_SITE;;
2216   esac
2217 elif test "x$prefix" != xNONE; then
2218   ac_site_file1=$prefix/share/config.site
2219   ac_site_file2=$prefix/etc/config.site
2220 else
2221   ac_site_file1=$ac_default_prefix/share/config.site
2222   ac_site_file2=$ac_default_prefix/etc/config.site
2223 fi
2224 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2225 do
2226   test "x$ac_site_file" = xNONE && continue
2227   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2228     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2229 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2230     sed 's/^/| /' "$ac_site_file" >&5
2231     . "$ac_site_file" \
2232       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2233 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2234 as_fn_error $? "failed to load site script $ac_site_file
2235 See \`config.log' for more details" "$LINENO" 5; }
2236   fi
2237 done
2238
2239 if test -r "$cache_file"; then
2240   # Some versions of bash will fail to source /dev/null (special files
2241   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2242   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2243     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2244 $as_echo "$as_me: loading cache $cache_file" >&6;}
2245     case $cache_file in
2246       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2247       *)                      . "./$cache_file";;
2248     esac
2249   fi
2250 else
2251   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2252 $as_echo "$as_me: creating cache $cache_file" >&6;}
2253   >$cache_file
2254 fi
2255
2256 # Check that the precious variables saved in the cache have kept the same
2257 # value.
2258 ac_cache_corrupted=false
2259 for ac_var in $ac_precious_vars; do
2260   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2261   eval ac_new_set=\$ac_env_${ac_var}_set
2262   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2263   eval ac_new_val=\$ac_env_${ac_var}_value
2264   case $ac_old_set,$ac_new_set in
2265     set,)
2266       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2267 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2268       ac_cache_corrupted=: ;;
2269     ,set)
2270       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2271 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2272       ac_cache_corrupted=: ;;
2273     ,);;
2274     *)
2275       if test "x$ac_old_val" != "x$ac_new_val"; then
2276         # differences in whitespace do not lead to failure.
2277         ac_old_val_w=`echo x $ac_old_val`
2278         ac_new_val_w=`echo x $ac_new_val`
2279         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2280           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2281 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2282           ac_cache_corrupted=:
2283         else
2284           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2285 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2286           eval $ac_var=\$ac_old_val
2287         fi
2288         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2289 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2290         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2291 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2292       fi;;
2293   esac
2294   # Pass precious variables to config.status.
2295   if test "$ac_new_set" = set; then
2296     case $ac_new_val in
2297     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2298     *) ac_arg=$ac_var=$ac_new_val ;;
2299     esac
2300     case " $ac_configure_args " in
2301       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2302       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2303     esac
2304   fi
2305 done
2306 if $ac_cache_corrupted; then
2307   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2308 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2309   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2310 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2311   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2312 fi
2313 ## -------------------- ##
2314 ## Main body of script. ##
2315 ## -------------------- ##
2316
2317 ac_ext=c
2318 ac_cpp='$CPP $CPPFLAGS'
2319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2322
2323
2324
2325 ac_config_headers="$ac_config_headers config.h"
2326
2327 ac_aux_dir=
2328 for ac_dir in build-aux "$srcdir"/build-aux; do
2329   if test -f "$ac_dir/install-sh"; then
2330     ac_aux_dir=$ac_dir
2331     ac_install_sh="$ac_aux_dir/install-sh -c"
2332     break
2333   elif test -f "$ac_dir/install.sh"; then
2334     ac_aux_dir=$ac_dir
2335     ac_install_sh="$ac_aux_dir/install.sh -c"
2336     break
2337   elif test -f "$ac_dir/shtool"; then
2338     ac_aux_dir=$ac_dir
2339     ac_install_sh="$ac_aux_dir/shtool install -c"
2340     break
2341   fi
2342 done
2343 if test -z "$ac_aux_dir"; then
2344   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2345 fi
2346
2347 # These three variables are undocumented and unsupported,
2348 # and are intended to be withdrawn in a future Autoconf release.
2349 # They can cause serious problems if a builder's source tree is in a directory
2350 # whose full name contains unusual characters.
2351 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2352 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2353 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2354
2355
2356
2357
2358 am__api_version='1.11'
2359
2360 # Find a good install program.  We prefer a C program (faster),
2361 # so one script is as good as another.  But avoid the broken or
2362 # incompatible versions:
2363 # SysV /etc/install, /usr/sbin/install
2364 # SunOS /usr/etc/install
2365 # IRIX /sbin/install
2366 # AIX /bin/install
2367 # AmigaOS /C/install, which installs bootblocks on floppy discs
2368 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2369 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2370 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2371 # OS/2's system install, which has a completely different semantic
2372 # ./install, which can be erroneously created by make from ./install.sh.
2373 # Reject install programs that cannot install multiple files.
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2375 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2376 if test -z "$INSTALL"; then
2377 if ${ac_cv_path_install+:} false; then :
2378   $as_echo_n "(cached) " >&6
2379 else
2380   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2381 for as_dir in $PATH
2382 do
2383   IFS=$as_save_IFS
2384   test -z "$as_dir" && as_dir=.
2385     # Account for people who put trailing slashes in PATH elements.
2386 case $as_dir/ in #((
2387   ./ | .// | /[cC]/* | \
2388   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2389   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2390   /usr/ucb/* ) ;;
2391   *)
2392     # OSF1 and SCO ODT 3.0 have their own names for install.
2393     # Don't use installbsd from OSF since it installs stuff as root
2394     # by default.
2395     for ac_prog in ginstall scoinst install; do
2396       for ac_exec_ext in '' $ac_executable_extensions; do
2397         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2398           if test $ac_prog = install &&
2399             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2400             # AIX install.  It has an incompatible calling convention.
2401             :
2402           elif test $ac_prog = install &&
2403             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2404             # program-specific install script used by HP pwplus--don't use.
2405             :
2406           else
2407             rm -rf conftest.one conftest.two conftest.dir
2408             echo one > conftest.one
2409             echo two > conftest.two
2410             mkdir conftest.dir
2411             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2412               test -s conftest.one && test -s conftest.two &&
2413               test -s conftest.dir/conftest.one &&
2414               test -s conftest.dir/conftest.two
2415             then
2416               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2417               break 3
2418             fi
2419           fi
2420         fi
2421       done
2422     done
2423     ;;
2424 esac
2425
2426   done
2427 IFS=$as_save_IFS
2428
2429 rm -rf conftest.one conftest.two conftest.dir
2430
2431 fi
2432   if test "${ac_cv_path_install+set}" = set; then
2433     INSTALL=$ac_cv_path_install
2434   else
2435     # As a last resort, use the slow shell script.  Don't cache a
2436     # value for INSTALL within a source directory, because that will
2437     # break other packages using the cache if that directory is
2438     # removed, or if the value is a relative name.
2439     INSTALL=$ac_install_sh
2440   fi
2441 fi
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2443 $as_echo "$INSTALL" >&6; }
2444
2445 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2446 # It thinks the first close brace ends the variable substitution.
2447 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2448
2449 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2450
2451 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2452
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2454 $as_echo_n "checking whether build environment is sane... " >&6; }
2455 # Just in case
2456 sleep 1
2457 echo timestamp > conftest.file
2458 # Reject unsafe characters in $srcdir or the absolute working directory
2459 # name.  Accept space and tab only in the latter.
2460 am_lf='
2461 '
2462 case `pwd` in
2463   *[\\\"\#\$\&\'\`$am_lf]*)
2464     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2465 esac
2466 case $srcdir in
2467   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2468     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2469 esac
2470
2471 # Do `set' in a subshell so we don't clobber the current shell's
2472 # arguments.  Must try -L first in case configure is actually a
2473 # symlink; some systems play weird games with the mod time of symlinks
2474 # (eg FreeBSD returns the mod time of the symlink's containing
2475 # directory).
2476 if (
2477    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2478    if test "$*" = "X"; then
2479       # -L didn't work.
2480       set X `ls -t "$srcdir/configure" conftest.file`
2481    fi
2482    rm -f conftest.file
2483    if test "$*" != "X $srcdir/configure conftest.file" \
2484       && test "$*" != "X conftest.file $srcdir/configure"; then
2485
2486       # If neither matched, then we have a broken ls.  This can happen
2487       # if, for instance, CONFIG_SHELL is bash and it inherits a
2488       # broken ls alias from the environment.  This has actually
2489       # happened.  Such a system could not be considered "sane".
2490       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2491 alias in your environment" "$LINENO" 5
2492    fi
2493
2494    test "$2" = conftest.file
2495    )
2496 then
2497    # Ok.
2498    :
2499 else
2500    as_fn_error $? "newly created file is older than distributed files!
2501 Check your system clock" "$LINENO" 5
2502 fi
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2504 $as_echo "yes" >&6; }
2505 test "$program_prefix" != NONE &&
2506   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2507 # Use a double $ so make ignores it.
2508 test "$program_suffix" != NONE &&
2509   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2510 # Double any \ or $.
2511 # By default was `s,x,x', remove it if useless.
2512 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2513 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2514
2515 # expand $ac_aux_dir to an absolute path
2516 am_aux_dir=`cd $ac_aux_dir && pwd`
2517
2518 if test x"${MISSING+set}" != xset; then
2519   case $am_aux_dir in
2520   *\ * | *\     *)
2521     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2522   *)
2523     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2524   esac
2525 fi
2526 # Use eval to expand $SHELL
2527 if eval "$MISSING --run true"; then
2528   am_missing_run="$MISSING --run "
2529 else
2530   am_missing_run=
2531   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2532 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2533 fi
2534
2535 if test x"${install_sh}" != xset; then
2536   case $am_aux_dir in
2537   *\ * | *\     *)
2538     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2539   *)
2540     install_sh="\${SHELL} $am_aux_dir/install-sh"
2541   esac
2542 fi
2543
2544 # Installed binaries are usually stripped using `strip' when the user
2545 # run `make install-strip'.  However `strip' might not be the right
2546 # tool to use in cross-compilation environments, therefore Automake
2547 # will honor the `STRIP' environment variable to overrule this program.
2548 if test "$cross_compiling" != no; then
2549   if test -n "$ac_tool_prefix"; then
2550   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2551 set dummy ${ac_tool_prefix}strip; ac_word=$2
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2553 $as_echo_n "checking for $ac_word... " >&6; }
2554 if ${ac_cv_prog_STRIP+:} false; then :
2555   $as_echo_n "(cached) " >&6
2556 else
2557   if test -n "$STRIP"; then
2558   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2559 else
2560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2561 for as_dir in $PATH
2562 do
2563   IFS=$as_save_IFS
2564   test -z "$as_dir" && as_dir=.
2565     for ac_exec_ext in '' $ac_executable_extensions; do
2566   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2567     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2568     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2569     break 2
2570   fi
2571 done
2572   done
2573 IFS=$as_save_IFS
2574
2575 fi
2576 fi
2577 STRIP=$ac_cv_prog_STRIP
2578 if test -n "$STRIP"; then
2579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2580 $as_echo "$STRIP" >&6; }
2581 else
2582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2583 $as_echo "no" >&6; }
2584 fi
2585
2586
2587 fi
2588 if test -z "$ac_cv_prog_STRIP"; then
2589   ac_ct_STRIP=$STRIP
2590   # Extract the first word of "strip", so it can be a program name with args.
2591 set dummy strip; ac_word=$2
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2593 $as_echo_n "checking for $ac_word... " >&6; }
2594 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2595   $as_echo_n "(cached) " >&6
2596 else
2597   if test -n "$ac_ct_STRIP"; then
2598   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2599 else
2600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2601 for as_dir in $PATH
2602 do
2603   IFS=$as_save_IFS
2604   test -z "$as_dir" && as_dir=.
2605     for ac_exec_ext in '' $ac_executable_extensions; do
2606   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2607     ac_cv_prog_ac_ct_STRIP="strip"
2608     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2609     break 2
2610   fi
2611 done
2612   done
2613 IFS=$as_save_IFS
2614
2615 fi
2616 fi
2617 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2618 if test -n "$ac_ct_STRIP"; then
2619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2620 $as_echo "$ac_ct_STRIP" >&6; }
2621 else
2622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2623 $as_echo "no" >&6; }
2624 fi
2625
2626   if test "x$ac_ct_STRIP" = x; then
2627     STRIP=":"
2628   else
2629     case $cross_compiling:$ac_tool_warned in
2630 yes:)
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2632 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2633 ac_tool_warned=yes ;;
2634 esac
2635     STRIP=$ac_ct_STRIP
2636   fi
2637 else
2638   STRIP="$ac_cv_prog_STRIP"
2639 fi
2640
2641 fi
2642 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2643
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2645 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2646 if test -z "$MKDIR_P"; then
2647   if ${ac_cv_path_mkdir+:} false; then :
2648   $as_echo_n "(cached) " >&6
2649 else
2650   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2651 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2652 do
2653   IFS=$as_save_IFS
2654   test -z "$as_dir" && as_dir=.
2655     for ac_prog in mkdir gmkdir; do
2656          for ac_exec_ext in '' $ac_executable_extensions; do
2657            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2658            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2659              'mkdir (GNU coreutils) '* | \
2660              'mkdir (coreutils) '* | \
2661              'mkdir (fileutils) '4.1*)
2662                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2663                break 3;;
2664            esac
2665          done
2666        done
2667   done
2668 IFS=$as_save_IFS
2669
2670 fi
2671
2672   test -d ./--version && rmdir ./--version
2673   if test "${ac_cv_path_mkdir+set}" = set; then
2674     MKDIR_P="$ac_cv_path_mkdir -p"
2675   else
2676     # As a last resort, use the slow shell script.  Don't cache a
2677     # value for MKDIR_P within a source directory, because that will
2678     # break other packages using the cache if that directory is
2679     # removed, or if the value is a relative name.
2680     MKDIR_P="$ac_install_sh -d"
2681   fi
2682 fi
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2684 $as_echo "$MKDIR_P" >&6; }
2685
2686 mkdir_p="$MKDIR_P"
2687 case $mkdir_p in
2688   [\\/$]* | ?:[\\/]*) ;;
2689   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2690 esac
2691
2692 for ac_prog in gawk mawk nawk awk
2693 do
2694   # Extract the first word of "$ac_prog", so it can be a program name with args.
2695 set dummy $ac_prog; ac_word=$2
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2697 $as_echo_n "checking for $ac_word... " >&6; }
2698 if ${ac_cv_prog_AWK+:} false; then :
2699   $as_echo_n "(cached) " >&6
2700 else
2701   if test -n "$AWK"; then
2702   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2703 else
2704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2705 for as_dir in $PATH
2706 do
2707   IFS=$as_save_IFS
2708   test -z "$as_dir" && as_dir=.
2709     for ac_exec_ext in '' $ac_executable_extensions; do
2710   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2711     ac_cv_prog_AWK="$ac_prog"
2712     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2713     break 2
2714   fi
2715 done
2716   done
2717 IFS=$as_save_IFS
2718
2719 fi
2720 fi
2721 AWK=$ac_cv_prog_AWK
2722 if test -n "$AWK"; then
2723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2724 $as_echo "$AWK" >&6; }
2725 else
2726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2727 $as_echo "no" >&6; }
2728 fi
2729
2730
2731   test -n "$AWK" && break
2732 done
2733
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2735 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2736 set x ${MAKE-make}
2737 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2738 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2739   $as_echo_n "(cached) " >&6
2740 else
2741   cat >conftest.make <<\_ACEOF
2742 SHELL = /bin/sh
2743 all:
2744         @echo '@@@%%%=$(MAKE)=@@@%%%'
2745 _ACEOF
2746 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2747 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2748   *@@@%%%=?*=@@@%%%*)
2749     eval ac_cv_prog_make_${ac_make}_set=yes;;
2750   *)
2751     eval ac_cv_prog_make_${ac_make}_set=no;;
2752 esac
2753 rm -f conftest.make
2754 fi
2755 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2757 $as_echo "yes" >&6; }
2758   SET_MAKE=
2759 else
2760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2761 $as_echo "no" >&6; }
2762   SET_MAKE="MAKE=${MAKE-make}"
2763 fi
2764
2765 rm -rf .tst 2>/dev/null
2766 mkdir .tst 2>/dev/null
2767 if test -d .tst; then
2768   am__leading_dot=.
2769 else
2770   am__leading_dot=_
2771 fi
2772 rmdir .tst 2>/dev/null
2773
2774 # Check whether --enable-silent-rules was given.
2775 if test "${enable_silent_rules+set}" = set; then :
2776   enableval=$enable_silent_rules;
2777 fi
2778
2779 case $enable_silent_rules in
2780 yes) AM_DEFAULT_VERBOSITY=0;;
2781 no)  AM_DEFAULT_VERBOSITY=1;;
2782 *)   AM_DEFAULT_VERBOSITY=1;;
2783 esac
2784 am_make=${MAKE-make}
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2786 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2787 if ${am_cv_make_support_nested_variables+:} false; then :
2788   $as_echo_n "(cached) " >&6
2789 else
2790   if $as_echo 'TRUE=$(BAR$(V))
2791 BAR0=false
2792 BAR1=true
2793 V=1
2794 am__doit:
2795         @$(TRUE)
2796 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2797   am_cv_make_support_nested_variables=yes
2798 else
2799   am_cv_make_support_nested_variables=no
2800 fi
2801 fi
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2803 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2804 if test $am_cv_make_support_nested_variables = yes; then
2805     AM_V='$(V)'
2806   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2807 else
2808   AM_V=$AM_DEFAULT_VERBOSITY
2809   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2810 fi
2811 AM_BACKSLASH='\'
2812
2813 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2814   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2815   # is not polluted with repeated "-I."
2816   am__isrc=' -I$(srcdir)'
2817   # test to see if srcdir already configured
2818   if test -f $srcdir/config.status; then
2819     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2820   fi
2821 fi
2822
2823 # test whether we have cygpath
2824 if test -z "$CYGPATH_W"; then
2825   if (cygpath --version) >/dev/null 2>/dev/null; then
2826     CYGPATH_W='cygpath -w'
2827   else
2828     CYGPATH_W=echo
2829   fi
2830 fi
2831
2832
2833 # Define the identity of the package.
2834  PACKAGE='gumd'
2835  VERSION='0.0.1'
2836
2837
2838 cat >>confdefs.h <<_ACEOF
2839 #define PACKAGE "$PACKAGE"
2840 _ACEOF
2841
2842
2843 cat >>confdefs.h <<_ACEOF
2844 #define VERSION "$VERSION"
2845 _ACEOF
2846
2847 # Some tools Automake needs.
2848
2849 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2850
2851
2852 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2853
2854
2855 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2856
2857
2858 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2859
2860
2861 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2862
2863 # We need awk for the "check" target.  The system "awk" is bad on
2864 # some platforms.
2865 # Always define AMTAR for backward compatibility.  Yes, it's still used
2866 # in the wild :-(  We should find a proper way to deprecate it ...
2867 AMTAR='$${TAR-tar}'
2868
2869
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2871 $as_echo_n "checking how to create a pax tar archive... " >&6; }
2872 # Loop over all known methods to create a tar archive until one works.
2873 _am_tools='gnutar  pax cpio none'
2874 _am_tools=${am_cv_prog_tar_pax-$_am_tools}
2875 # Do not fold the above two line into one, because Tru64 sh and
2876 # Solaris sh will not grok spaces in the rhs of `-'.
2877 for _am_tool in $_am_tools
2878 do
2879   case $_am_tool in
2880   gnutar)
2881     for _am_tar in tar gnutar gtar;
2882     do
2883       { echo "$as_me:$LINENO: $_am_tar --version" >&5
2884    ($_am_tar --version) >&5 2>&5
2885    ac_status=$?
2886    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887    (exit $ac_status); } && break
2888     done
2889     am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2890     am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2891     am__untar="$_am_tar -xf -"
2892     ;;
2893   plaintar)
2894     # Must skip GNU tar: if it does not support --format= it doesn't create
2895     # ustar tarball either.
2896     (tar --version) >/dev/null 2>&1 && continue
2897     am__tar='tar chf - "$$tardir"'
2898     am__tar_='tar chf - "$tardir"'
2899     am__untar='tar xf -'
2900     ;;
2901   pax)
2902     am__tar='pax -L -x pax -w "$$tardir"'
2903     am__tar_='pax -L -x pax -w "$tardir"'
2904     am__untar='pax -r'
2905     ;;
2906   cpio)
2907     am__tar='find "$$tardir" -print | cpio -o -H pax -L'
2908     am__tar_='find "$tardir" -print | cpio -o -H pax -L'
2909     am__untar='cpio -i -H pax -d'
2910     ;;
2911   none)
2912     am__tar=false
2913     am__tar_=false
2914     am__untar=false
2915     ;;
2916   esac
2917
2918   # If the value was cached, stop now.  We just wanted to have am__tar
2919   # and am__untar set.
2920   test -n "${am_cv_prog_tar_pax}" && break
2921
2922   # tar/untar a dummy directory, and stop if the command works
2923   rm -rf conftest.dir
2924   mkdir conftest.dir
2925   echo GrepMe > conftest.dir/file
2926   { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2927    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2928    ac_status=$?
2929    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2930    (exit $ac_status); }
2931   rm -rf conftest.dir
2932   if test -s conftest.tar; then
2933     { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2934    ($am__untar <conftest.tar) >&5 2>&5
2935    ac_status=$?
2936    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2937    (exit $ac_status); }
2938     grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2939   fi
2940 done
2941 rm -rf conftest.dir
2942
2943 if ${am_cv_prog_tar_pax+:} false; then :
2944   $as_echo_n "(cached) " >&6
2945 else
2946   am_cv_prog_tar_pax=$_am_tool
2947 fi
2948
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
2950 $as_echo "$am_cv_prog_tar_pax" >&6; }
2951
2952
2953
2954
2955
2956
2957 # Checks for programs.
2958 ac_ext=c
2959 ac_cpp='$CPP $CPPFLAGS'
2960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2963 if test -n "$ac_tool_prefix"; then
2964   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2965 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2967 $as_echo_n "checking for $ac_word... " >&6; }
2968 if ${ac_cv_prog_CC+:} false; then :
2969   $as_echo_n "(cached) " >&6
2970 else
2971   if test -n "$CC"; then
2972   ac_cv_prog_CC="$CC" # Let the user override the test.
2973 else
2974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2975 for as_dir in $PATH
2976 do
2977   IFS=$as_save_IFS
2978   test -z "$as_dir" && as_dir=.
2979     for ac_exec_ext in '' $ac_executable_extensions; do
2980   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2981     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2982     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2983     break 2
2984   fi
2985 done
2986   done
2987 IFS=$as_save_IFS
2988
2989 fi
2990 fi
2991 CC=$ac_cv_prog_CC
2992 if test -n "$CC"; then
2993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2994 $as_echo "$CC" >&6; }
2995 else
2996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2997 $as_echo "no" >&6; }
2998 fi
2999
3000
3001 fi
3002 if test -z "$ac_cv_prog_CC"; then
3003   ac_ct_CC=$CC
3004   # Extract the first word of "gcc", so it can be a program name with args.
3005 set dummy gcc; ac_word=$2
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3007 $as_echo_n "checking for $ac_word... " >&6; }
3008 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3009   $as_echo_n "(cached) " >&6
3010 else
3011   if test -n "$ac_ct_CC"; then
3012   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3013 else
3014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3015 for as_dir in $PATH
3016 do
3017   IFS=$as_save_IFS
3018   test -z "$as_dir" && as_dir=.
3019     for ac_exec_ext in '' $ac_executable_extensions; do
3020   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3021     ac_cv_prog_ac_ct_CC="gcc"
3022     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3023     break 2
3024   fi
3025 done
3026   done
3027 IFS=$as_save_IFS
3028
3029 fi
3030 fi
3031 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3032 if test -n "$ac_ct_CC"; then
3033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3034 $as_echo "$ac_ct_CC" >&6; }
3035 else
3036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3037 $as_echo "no" >&6; }
3038 fi
3039
3040   if test "x$ac_ct_CC" = x; then
3041     CC=""
3042   else
3043     case $cross_compiling:$ac_tool_warned in
3044 yes:)
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3046 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3047 ac_tool_warned=yes ;;
3048 esac
3049     CC=$ac_ct_CC
3050   fi
3051 else
3052   CC="$ac_cv_prog_CC"
3053 fi
3054
3055 if test -z "$CC"; then
3056           if test -n "$ac_tool_prefix"; then
3057     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3058 set dummy ${ac_tool_prefix}cc; ac_word=$2
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3060 $as_echo_n "checking for $ac_word... " >&6; }
3061 if ${ac_cv_prog_CC+:} false; then :
3062   $as_echo_n "(cached) " >&6
3063 else
3064   if test -n "$CC"; then
3065   ac_cv_prog_CC="$CC" # Let the user override the test.
3066 else
3067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3068 for as_dir in $PATH
3069 do
3070   IFS=$as_save_IFS
3071   test -z "$as_dir" && as_dir=.
3072     for ac_exec_ext in '' $ac_executable_extensions; do
3073   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3074     ac_cv_prog_CC="${ac_tool_prefix}cc"
3075     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3076     break 2
3077   fi
3078 done
3079   done
3080 IFS=$as_save_IFS
3081
3082 fi
3083 fi
3084 CC=$ac_cv_prog_CC
3085 if test -n "$CC"; then
3086   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3087 $as_echo "$CC" >&6; }
3088 else
3089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3090 $as_echo "no" >&6; }
3091 fi
3092
3093
3094   fi
3095 fi
3096 if test -z "$CC"; then
3097   # Extract the first word of "cc", so it can be a program name with args.
3098 set dummy cc; ac_word=$2
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3100 $as_echo_n "checking for $ac_word... " >&6; }
3101 if ${ac_cv_prog_CC+:} false; then :
3102   $as_echo_n "(cached) " >&6
3103 else
3104   if test -n "$CC"; then
3105   ac_cv_prog_CC="$CC" # Let the user override the test.
3106 else
3107   ac_prog_rejected=no
3108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3109 for as_dir in $PATH
3110 do
3111   IFS=$as_save_IFS
3112   test -z "$as_dir" && as_dir=.
3113     for ac_exec_ext in '' $ac_executable_extensions; do
3114   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3115     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3116        ac_prog_rejected=yes
3117        continue
3118      fi
3119     ac_cv_prog_CC="cc"
3120     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3121     break 2
3122   fi
3123 done
3124   done
3125 IFS=$as_save_IFS
3126
3127 if test $ac_prog_rejected = yes; then
3128   # We found a bogon in the path, so make sure we never use it.
3129   set dummy $ac_cv_prog_CC
3130   shift
3131   if test $# != 0; then
3132     # We chose a different compiler from the bogus one.
3133     # However, it has the same basename, so the bogon will be chosen
3134     # first if we set CC to just the basename; use the full file name.
3135     shift
3136     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3137   fi
3138 fi
3139 fi
3140 fi
3141 CC=$ac_cv_prog_CC
3142 if test -n "$CC"; then
3143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3144 $as_echo "$CC" >&6; }
3145 else
3146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3147 $as_echo "no" >&6; }
3148 fi
3149
3150
3151 fi
3152 if test -z "$CC"; then
3153   if test -n "$ac_tool_prefix"; then
3154   for ac_prog in cl.exe
3155   do
3156     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3157 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3159 $as_echo_n "checking for $ac_word... " >&6; }
3160 if ${ac_cv_prog_CC+:} false; then :
3161   $as_echo_n "(cached) " >&6
3162 else
3163   if test -n "$CC"; then
3164   ac_cv_prog_CC="$CC" # Let the user override the test.
3165 else
3166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3167 for as_dir in $PATH
3168 do
3169   IFS=$as_save_IFS
3170   test -z "$as_dir" && as_dir=.
3171     for ac_exec_ext in '' $ac_executable_extensions; do
3172   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3173     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3174     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3175     break 2
3176   fi
3177 done
3178   done
3179 IFS=$as_save_IFS
3180
3181 fi
3182 fi
3183 CC=$ac_cv_prog_CC
3184 if test -n "$CC"; then
3185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3186 $as_echo "$CC" >&6; }
3187 else
3188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3189 $as_echo "no" >&6; }
3190 fi
3191
3192
3193     test -n "$CC" && break
3194   done
3195 fi
3196 if test -z "$CC"; then
3197   ac_ct_CC=$CC
3198   for ac_prog in cl.exe
3199 do
3200   # Extract the first word of "$ac_prog", so it can be a program name with args.
3201 set dummy $ac_prog; ac_word=$2
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3203 $as_echo_n "checking for $ac_word... " >&6; }
3204 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3205   $as_echo_n "(cached) " >&6
3206 else
3207   if test -n "$ac_ct_CC"; then
3208   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3209 else
3210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3211 for as_dir in $PATH
3212 do
3213   IFS=$as_save_IFS
3214   test -z "$as_dir" && as_dir=.
3215     for ac_exec_ext in '' $ac_executable_extensions; do
3216   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3217     ac_cv_prog_ac_ct_CC="$ac_prog"
3218     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3219     break 2
3220   fi
3221 done
3222   done
3223 IFS=$as_save_IFS
3224
3225 fi
3226 fi
3227 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3228 if test -n "$ac_ct_CC"; then
3229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3230 $as_echo "$ac_ct_CC" >&6; }
3231 else
3232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3233 $as_echo "no" >&6; }
3234 fi
3235
3236
3237   test -n "$ac_ct_CC" && break
3238 done
3239
3240   if test "x$ac_ct_CC" = x; then
3241     CC=""
3242   else
3243     case $cross_compiling:$ac_tool_warned in
3244 yes:)
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3247 ac_tool_warned=yes ;;
3248 esac
3249     CC=$ac_ct_CC
3250   fi
3251 fi
3252
3253 fi
3254
3255
3256 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3257 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3258 as_fn_error $? "no acceptable C compiler found in \$PATH
3259 See \`config.log' for more details" "$LINENO" 5; }
3260
3261 # Provide some information about the compiler.
3262 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3263 set X $ac_compile
3264 ac_compiler=$2
3265 for ac_option in --version -v -V -qversion; do
3266   { { ac_try="$ac_compiler $ac_option >&5"
3267 case "(($ac_try" in
3268   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3269   *) ac_try_echo=$ac_try;;
3270 esac
3271 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3272 $as_echo "$ac_try_echo"; } >&5
3273   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3274   ac_status=$?
3275   if test -s conftest.err; then
3276     sed '10a\
3277 ... rest of stderr output deleted ...
3278          10q' conftest.err >conftest.er1
3279     cat conftest.er1 >&5
3280   fi
3281   rm -f conftest.er1 conftest.err
3282   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3283   test $ac_status = 0; }
3284 done
3285
3286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3287 /* end confdefs.h.  */
3288
3289 int
3290 main ()
3291 {
3292
3293   ;
3294   return 0;
3295 }
3296 _ACEOF
3297 ac_clean_files_save=$ac_clean_files
3298 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3299 # Try to create an executable without -o first, disregard a.out.
3300 # It will help us diagnose broken compilers, and finding out an intuition
3301 # of exeext.
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3303 $as_echo_n "checking whether the C compiler works... " >&6; }
3304 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3305
3306 # The possible output files:
3307 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3308
3309 ac_rmfiles=
3310 for ac_file in $ac_files
3311 do
3312   case $ac_file in
3313     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3314     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3315   esac
3316 done
3317 rm -f $ac_rmfiles
3318
3319 if { { ac_try="$ac_link_default"
3320 case "(($ac_try" in
3321   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3322   *) ac_try_echo=$ac_try;;
3323 esac
3324 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3325 $as_echo "$ac_try_echo"; } >&5
3326   (eval "$ac_link_default") 2>&5
3327   ac_status=$?
3328   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3329   test $ac_status = 0; }; then :
3330   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3331 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3332 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3333 # so that the user can short-circuit this test for compilers unknown to
3334 # Autoconf.
3335 for ac_file in $ac_files ''
3336 do
3337   test -f "$ac_file" || continue
3338   case $ac_file in
3339     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3340         ;;
3341     [ab].out )
3342         # We found the default executable, but exeext='' is most
3343         # certainly right.
3344         break;;
3345     *.* )
3346         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3347         then :; else
3348            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3349         fi
3350         # We set ac_cv_exeext here because the later test for it is not
3351         # safe: cross compilers may not add the suffix if given an `-o'
3352         # argument, so we may need to know it at that point already.
3353         # Even if this section looks crufty: it has the advantage of
3354         # actually working.
3355         break;;
3356     * )
3357         break;;
3358   esac
3359 done
3360 test "$ac_cv_exeext" = no && ac_cv_exeext=
3361
3362 else
3363   ac_file=''
3364 fi
3365 if test -z "$ac_file"; then :
3366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3367 $as_echo "no" >&6; }
3368 $as_echo "$as_me: failed program was:" >&5
3369 sed 's/^/| /' conftest.$ac_ext >&5
3370
3371 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3372 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3373 as_fn_error 77 "C compiler cannot create executables
3374 See \`config.log' for more details" "$LINENO" 5; }
3375 else
3376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3377 $as_echo "yes" >&6; }
3378 fi
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3380 $as_echo_n "checking for C compiler default output file name... " >&6; }
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3382 $as_echo "$ac_file" >&6; }
3383 ac_exeext=$ac_cv_exeext
3384
3385 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3386 ac_clean_files=$ac_clean_files_save
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3388 $as_echo_n "checking for suffix of executables... " >&6; }
3389 if { { ac_try="$ac_link"
3390 case "(($ac_try" in
3391   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3392   *) ac_try_echo=$ac_try;;
3393 esac
3394 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3395 $as_echo "$ac_try_echo"; } >&5
3396   (eval "$ac_link") 2>&5
3397   ac_status=$?
3398   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3399   test $ac_status = 0; }; then :
3400   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3401 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3402 # work properly (i.e., refer to `conftest.exe'), while it won't with
3403 # `rm'.
3404 for ac_file in conftest.exe conftest conftest.*; do
3405   test -f "$ac_file" || continue
3406   case $ac_file in
3407     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3408     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3409           break;;
3410     * ) break;;
3411   esac
3412 done
3413 else
3414   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3415 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3416 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3417 See \`config.log' for more details" "$LINENO" 5; }
3418 fi
3419 rm -f conftest conftest$ac_cv_exeext
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3421 $as_echo "$ac_cv_exeext" >&6; }
3422
3423 rm -f conftest.$ac_ext
3424 EXEEXT=$ac_cv_exeext
3425 ac_exeext=$EXEEXT
3426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3427 /* end confdefs.h.  */
3428 #include <stdio.h>
3429 int
3430 main ()
3431 {
3432 FILE *f = fopen ("conftest.out", "w");
3433  return ferror (f) || fclose (f) != 0;
3434
3435   ;
3436   return 0;
3437 }
3438 _ACEOF
3439 ac_clean_files="$ac_clean_files conftest.out"
3440 # Check that the compiler produces executables we can run.  If not, either
3441 # the compiler is broken, or we cross compile.
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3443 $as_echo_n "checking whether we are cross compiling... " >&6; }
3444 if test "$cross_compiling" != yes; then
3445   { { ac_try="$ac_link"
3446 case "(($ac_try" in
3447   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3448   *) ac_try_echo=$ac_try;;
3449 esac
3450 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3451 $as_echo "$ac_try_echo"; } >&5
3452   (eval "$ac_link") 2>&5
3453   ac_status=$?
3454   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3455   test $ac_status = 0; }
3456   if { ac_try='./conftest$ac_cv_exeext'
3457   { { case "(($ac_try" in
3458   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3459   *) ac_try_echo=$ac_try;;
3460 esac
3461 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3462 $as_echo "$ac_try_echo"; } >&5
3463   (eval "$ac_try") 2>&5
3464   ac_status=$?
3465   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3466   test $ac_status = 0; }; }; then
3467     cross_compiling=no
3468   else
3469     if test "$cross_compiling" = maybe; then
3470         cross_compiling=yes
3471     else
3472         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3473 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3474 as_fn_error $? "cannot run C compiled programs.
3475 If you meant to cross compile, use \`--host'.
3476 See \`config.log' for more details" "$LINENO" 5; }
3477     fi
3478   fi
3479 fi
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3481 $as_echo "$cross_compiling" >&6; }
3482
3483 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3484 ac_clean_files=$ac_clean_files_save
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3486 $as_echo_n "checking for suffix of object files... " >&6; }
3487 if ${ac_cv_objext+:} false; then :
3488   $as_echo_n "(cached) " >&6
3489 else
3490   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3491 /* end confdefs.h.  */
3492
3493 int
3494 main ()
3495 {
3496
3497   ;
3498   return 0;
3499 }
3500 _ACEOF
3501 rm -f conftest.o conftest.obj
3502 if { { ac_try="$ac_compile"
3503 case "(($ac_try" in
3504   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3505   *) ac_try_echo=$ac_try;;
3506 esac
3507 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3508 $as_echo "$ac_try_echo"; } >&5
3509   (eval "$ac_compile") 2>&5
3510   ac_status=$?
3511   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3512   test $ac_status = 0; }; then :
3513   for ac_file in conftest.o conftest.obj conftest.*; do
3514   test -f "$ac_file" || continue;
3515   case $ac_file in
3516     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3517     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3518        break;;
3519   esac
3520 done
3521 else
3522   $as_echo "$as_me: failed program was:" >&5
3523 sed 's/^/| /' conftest.$ac_ext >&5
3524
3525 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3526 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3527 as_fn_error $? "cannot compute suffix of object files: cannot compile
3528 See \`config.log' for more details" "$LINENO" 5; }
3529 fi
3530 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3531 fi
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3533 $as_echo "$ac_cv_objext" >&6; }
3534 OBJEXT=$ac_cv_objext
3535 ac_objext=$OBJEXT
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3537 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3538 if ${ac_cv_c_compiler_gnu+:} false; then :
3539   $as_echo_n "(cached) " >&6
3540 else
3541   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3542 /* end confdefs.h.  */
3543
3544 int
3545 main ()
3546 {
3547 #ifndef __GNUC__
3548        choke me
3549 #endif
3550
3551   ;
3552   return 0;
3553 }
3554 _ACEOF
3555 if ac_fn_c_try_compile "$LINENO"; then :
3556   ac_compiler_gnu=yes
3557 else
3558   ac_compiler_gnu=no
3559 fi
3560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3561 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3562
3563 fi
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3565 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3566 if test $ac_compiler_gnu = yes; then
3567   GCC=yes
3568 else
3569   GCC=
3570 fi
3571 ac_test_CFLAGS=${CFLAGS+set}
3572 ac_save_CFLAGS=$CFLAGS
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3574 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3575 if ${ac_cv_prog_cc_g+:} false; then :
3576   $as_echo_n "(cached) " >&6
3577 else
3578   ac_save_c_werror_flag=$ac_c_werror_flag
3579    ac_c_werror_flag=yes
3580    ac_cv_prog_cc_g=no
3581    CFLAGS="-g"
3582    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3583 /* end confdefs.h.  */
3584
3585 int
3586 main ()
3587 {
3588
3589   ;
3590   return 0;
3591 }
3592 _ACEOF
3593 if ac_fn_c_try_compile "$LINENO"; then :
3594   ac_cv_prog_cc_g=yes
3595 else
3596   CFLAGS=""
3597       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3598 /* end confdefs.h.  */
3599
3600 int
3601 main ()
3602 {
3603
3604   ;
3605   return 0;
3606 }
3607 _ACEOF
3608 if ac_fn_c_try_compile "$LINENO"; then :
3609
3610 else
3611   ac_c_werror_flag=$ac_save_c_werror_flag
3612          CFLAGS="-g"
3613          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3614 /* end confdefs.h.  */
3615
3616 int
3617 main ()
3618 {
3619
3620   ;
3621   return 0;
3622 }
3623 _ACEOF
3624 if ac_fn_c_try_compile "$LINENO"; then :
3625   ac_cv_prog_cc_g=yes
3626 fi
3627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3628 fi
3629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3630 fi
3631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3632    ac_c_werror_flag=$ac_save_c_werror_flag
3633 fi
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3635 $as_echo "$ac_cv_prog_cc_g" >&6; }
3636 if test "$ac_test_CFLAGS" = set; then
3637   CFLAGS=$ac_save_CFLAGS
3638 elif test $ac_cv_prog_cc_g = yes; then
3639   if test "$GCC" = yes; then
3640     CFLAGS="-g -O2"
3641   else
3642     CFLAGS="-g"
3643   fi
3644 else
3645   if test "$GCC" = yes; then
3646     CFLAGS="-O2"
3647   else
3648     CFLAGS=
3649   fi
3650 fi
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3652 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3653 if ${ac_cv_prog_cc_c89+:} false; then :
3654   $as_echo_n "(cached) " >&6
3655 else
3656   ac_cv_prog_cc_c89=no
3657 ac_save_CC=$CC
3658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3659 /* end confdefs.h.  */
3660 #include <stdarg.h>
3661 #include <stdio.h>
3662 #include <sys/types.h>
3663 #include <sys/stat.h>
3664 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3665 struct buf { int x; };
3666 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3667 static char *e (p, i)
3668      char **p;
3669      int i;
3670 {
3671   return p[i];
3672 }
3673 static char *f (char * (*g) (char **, int), char **p, ...)
3674 {
3675   char *s;
3676   va_list v;
3677   va_start (v,p);
3678   s = g (p, va_arg (v,int));
3679   va_end (v);
3680   return s;
3681 }
3682
3683 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3684    function prototypes and stuff, but not '\xHH' hex character constants.
3685    These don't provoke an error unfortunately, instead are silently treated
3686    as 'x'.  The following induces an error, until -std is added to get
3687    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3688    array size at least.  It's necessary to write '\x00'==0 to get something
3689    that's true only with -std.  */
3690 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3691
3692 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3693    inside strings and character constants.  */
3694 #define FOO(x) 'x'
3695 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3696
3697 int test (int i, double x);
3698 struct s1 {int (*f) (int a);};
3699 struct s2 {int (*f) (double a);};
3700 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3701 int argc;
3702 char **argv;
3703 int
3704 main ()
3705 {
3706 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3707   ;
3708   return 0;
3709 }
3710 _ACEOF
3711 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3712         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3713 do
3714   CC="$ac_save_CC $ac_arg"
3715   if ac_fn_c_try_compile "$LINENO"; then :
3716   ac_cv_prog_cc_c89=$ac_arg
3717 fi
3718 rm -f core conftest.err conftest.$ac_objext
3719   test "x$ac_cv_prog_cc_c89" != "xno" && break
3720 done
3721 rm -f conftest.$ac_ext
3722 CC=$ac_save_CC
3723
3724 fi
3725 # AC_CACHE_VAL
3726 case "x$ac_cv_prog_cc_c89" in
3727   x)
3728     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3729 $as_echo "none needed" >&6; } ;;
3730   xno)
3731     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3732 $as_echo "unsupported" >&6; } ;;
3733   *)
3734     CC="$CC $ac_cv_prog_cc_c89"
3735     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3736 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3737 esac
3738 if test "x$ac_cv_prog_cc_c89" != xno; then :
3739
3740 fi
3741
3742 ac_ext=c
3743 ac_cpp='$CPP $CPPFLAGS'
3744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3747 DEPDIR="${am__leading_dot}deps"
3748
3749 ac_config_commands="$ac_config_commands depfiles"
3750
3751
3752 am_make=${MAKE-make}
3753 cat > confinc << 'END'
3754 am__doit:
3755         @echo this is the am__doit target
3756 .PHONY: am__doit
3757 END
3758 # If we don't find an include directive, just comment out the code.
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3760 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3761 am__include="#"
3762 am__quote=
3763 _am_result=none
3764 # First try GNU make style include.
3765 echo "include confinc" > confmf
3766 # Ignore all kinds of additional output from `make'.
3767 case `$am_make -s -f confmf 2> /dev/null` in #(
3768 *the\ am__doit\ target*)
3769   am__include=include
3770   am__quote=
3771   _am_result=GNU
3772   ;;
3773 esac
3774 # Now try BSD make style include.
3775 if test "$am__include" = "#"; then
3776    echo '.include "confinc"' > confmf
3777    case `$am_make -s -f confmf 2> /dev/null` in #(
3778    *the\ am__doit\ target*)
3779      am__include=.include
3780      am__quote="\""
3781      _am_result=BSD
3782      ;;
3783    esac
3784 fi
3785
3786
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3788 $as_echo "$_am_result" >&6; }
3789 rm -f confinc confmf
3790
3791 # Check whether --enable-dependency-tracking was given.
3792 if test "${enable_dependency_tracking+set}" = set; then :
3793   enableval=$enable_dependency_tracking;
3794 fi
3795
3796 if test "x$enable_dependency_tracking" != xno; then
3797   am_depcomp="$ac_aux_dir/depcomp"
3798   AMDEPBACKSLASH='\'
3799   am__nodep='_no'
3800 fi
3801  if test "x$enable_dependency_tracking" != xno; then
3802   AMDEP_TRUE=
3803   AMDEP_FALSE='#'
3804 else
3805   AMDEP_TRUE='#'
3806   AMDEP_FALSE=
3807 fi
3808
3809
3810
3811 depcc="$CC"   am_compiler_list=
3812
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3814 $as_echo_n "checking dependency style of $depcc... " >&6; }
3815 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3816   $as_echo_n "(cached) " >&6
3817 else
3818   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3819   # We make a subdir and do the tests there.  Otherwise we can end up
3820   # making bogus files that we don't know about and never remove.  For
3821   # instance it was reported that on HP-UX the gcc test will end up
3822   # making a dummy file named `D' -- because `-MD' means `put the output
3823   # in D'.
3824   rm -rf conftest.dir
3825   mkdir conftest.dir
3826   # Copy depcomp to subdir because otherwise we won't find it if we're
3827   # using a relative directory.
3828   cp "$am_depcomp" conftest.dir
3829   cd conftest.dir
3830   # We will build objects and dependencies in a subdirectory because
3831   # it helps to detect inapplicable dependency modes.  For instance
3832   # both Tru64's cc and ICC support -MD to output dependencies as a
3833   # side effect of compilation, but ICC will put the dependencies in
3834   # the current directory while Tru64 will put them in the object
3835   # directory.
3836   mkdir sub
3837
3838   am_cv_CC_dependencies_compiler_type=none
3839   if test "$am_compiler_list" = ""; then
3840      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3841   fi
3842   am__universal=false
3843   case " $depcc " in #(
3844      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3845      esac
3846
3847   for depmode in $am_compiler_list; do
3848     # Setup a source with many dependencies, because some compilers
3849     # like to wrap large dependency lists on column 80 (with \), and
3850     # we should not choose a depcomp mode which is confused by this.
3851     #
3852     # We need to recreate these files for each test, as the compiler may
3853     # overwrite some of them when testing with obscure command lines.
3854     # This happens at least with the AIX C compiler.
3855     : > sub/conftest.c
3856     for i in 1 2 3 4 5 6; do
3857       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3858       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3859       # Solaris 8's {/usr,}/bin/sh.
3860       touch sub/conftst$i.h
3861     done
3862     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3863
3864     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3865     # mode.  It turns out that the SunPro C++ compiler does not properly
3866     # handle `-M -o', and we need to detect this.  Also, some Intel
3867     # versions had trouble with output in subdirs
3868     am__obj=sub/conftest.${OBJEXT-o}
3869     am__minus_obj="-o $am__obj"
3870     case $depmode in
3871     gcc)
3872       # This depmode causes a compiler race in universal mode.
3873       test "$am__universal" = false || continue
3874       ;;
3875     nosideeffect)
3876       # after this tag, mechanisms are not by side-effect, so they'll
3877       # only be used when explicitly requested
3878       if test "x$enable_dependency_tracking" = xyes; then
3879         continue
3880       else
3881         break
3882       fi
3883       ;;
3884     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3885       # This compiler won't grok `-c -o', but also, the minuso test has
3886       # not run yet.  These depmodes are late enough in the game, and
3887       # so weak that their functioning should not be impacted.
3888       am__obj=conftest.${OBJEXT-o}
3889       am__minus_obj=
3890       ;;
3891     none) break ;;
3892     esac
3893     if depmode=$depmode \
3894        source=sub/conftest.c object=$am__obj \
3895        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3896        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3897          >/dev/null 2>conftest.err &&
3898        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3899        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3900        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3901        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3902       # icc doesn't choke on unknown options, it will just issue warnings
3903       # or remarks (even with -Werror).  So we grep stderr for any message
3904       # that says an option was ignored or not supported.
3905       # When given -MP, icc 7.0 and 7.1 complain thusly:
3906       #   icc: Command line warning: ignoring option '-M'; no argument required
3907       # The diagnosis changed in icc 8.0:
3908       #   icc: Command line remark: option '-MP' not supported
3909       if (grep 'ignoring option' conftest.err ||
3910           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3911         am_cv_CC_dependencies_compiler_type=$depmode
3912         break
3913       fi
3914     fi
3915   done
3916
3917   cd ..
3918   rm -rf conftest.dir
3919 else
3920   am_cv_CC_dependencies_compiler_type=none
3921 fi
3922
3923 fi
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3925 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3926 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3927
3928  if
3929   test "x$enable_dependency_tracking" != xno \
3930   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3931   am__fastdepCC_TRUE=
3932   am__fastdepCC_FALSE='#'
3933 else
3934   am__fastdepCC_TRUE='#'
3935   am__fastdepCC_FALSE=
3936 fi
3937
3938
3939
3940 if test -n "$ac_tool_prefix"; then
3941   for ac_prog in ar lib "link -lib"
3942   do
3943     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3944 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3946 $as_echo_n "checking for $ac_word... " >&6; }
3947 if ${ac_cv_prog_AR+:} false; then :
3948   $as_echo_n "(cached) " >&6
3949 else
3950   if test -n "$AR"; then
3951   ac_cv_prog_AR="$AR" # Let the user override the test.
3952 else
3953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3954 for as_dir in $PATH
3955 do
3956   IFS=$as_save_IFS
3957   test -z "$as_dir" && as_dir=.
3958     for ac_exec_ext in '' $ac_executable_extensions; do
3959   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3960     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
3961     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3962     break 2
3963   fi
3964 done
3965   done
3966 IFS=$as_save_IFS
3967
3968 fi
3969 fi
3970 AR=$ac_cv_prog_AR
3971 if test -n "$AR"; then
3972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3973 $as_echo "$AR" >&6; }
3974 else
3975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3976 $as_echo "no" >&6; }
3977 fi
3978
3979
3980     test -n "$AR" && break
3981   done
3982 fi
3983 if test -z "$AR"; then
3984   ac_ct_AR=$AR
3985   for ac_prog in ar lib "link -lib"
3986 do
3987   # Extract the first word of "$ac_prog", so it can be a program name with args.
3988 set dummy $ac_prog; ac_word=$2
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3990 $as_echo_n "checking for $ac_word... " >&6; }
3991 if ${ac_cv_prog_ac_ct_AR+:} false; then :
3992   $as_echo_n "(cached) " >&6
3993 else
3994   if test -n "$ac_ct_AR"; then
3995   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3996 else
3997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3998 for as_dir in $PATH
3999 do
4000   IFS=$as_save_IFS
4001   test -z "$as_dir" && as_dir=.
4002     for ac_exec_ext in '' $ac_executable_extensions; do
4003   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4004     ac_cv_prog_ac_ct_AR="$ac_prog"
4005     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4006     break 2
4007   fi
4008 done
4009   done
4010 IFS=$as_save_IFS
4011
4012 fi
4013 fi
4014 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4015 if test -n "$ac_ct_AR"; then
4016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4017 $as_echo "$ac_ct_AR" >&6; }
4018 else
4019   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4020 $as_echo "no" >&6; }
4021 fi
4022
4023
4024   test -n "$ac_ct_AR" && break
4025 done
4026
4027   if test "x$ac_ct_AR" = x; then
4028     AR="false"
4029   else
4030     case $cross_compiling:$ac_tool_warned in
4031 yes:)
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4033 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4034 ac_tool_warned=yes ;;
4035 esac
4036     AR=$ac_ct_AR
4037   fi
4038 fi
4039
4040 : ${AR=ar}
4041
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4043 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4044 if ${am_cv_ar_interface+:} false; then :
4045   $as_echo_n "(cached) " >&6
4046 else
4047   am_cv_ar_interface=ar
4048    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4049 /* end confdefs.h.  */
4050 int some_variable = 0;
4051 _ACEOF
4052 if ac_fn_c_try_compile "$LINENO"; then :
4053   am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4054       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4055   (eval $am_ar_try) 2>&5
4056   ac_status=$?
4057   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4058   test $ac_status = 0; }
4059       if test "$ac_status" -eq 0; then
4060         am_cv_ar_interface=ar
4061       else
4062         am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4063         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4064   (eval $am_ar_try) 2>&5
4065   ac_status=$?
4066   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4067   test $ac_status = 0; }
4068         if test "$ac_status" -eq 0; then
4069           am_cv_ar_interface=lib
4070         else
4071           am_cv_ar_interface=unknown
4072         fi
4073       fi
4074       rm -f conftest.lib libconftest.a
4075
4076 fi
4077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4078
4079 fi
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4081 $as_echo "$am_cv_ar_interface" >&6; }
4082
4083 case $am_cv_ar_interface in
4084 ar)
4085   ;;
4086 lib)
4087   # Microsoft lib, so override with the ar-lib wrapper script.
4088   # FIXME: It is wrong to rewrite AR.
4089   # But if we don't then we get into trouble of one sort or another.
4090   # A longer-term fix would be to have automake use am__AR in this case,
4091   # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4092   # similar.
4093   AR="$am_aux_dir/ar-lib $AR"
4094   ;;
4095 unknown)
4096   as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4097   ;;
4098 esac
4099
4100  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
4101 $as_echo_n "checking for GNU make... " >&6; }
4102 if ${_cv_gnu_make_command+:} false; then :
4103   $as_echo_n "(cached) " >&6
4104 else
4105   _cv_gnu_make_command='' ;
4106                 for a in "$MAKE" make gmake gnumake ; do
4107                         if test -z "$a" ; then continue ; fi ;
4108                         if  ( sh -c "$a --version" 2> /dev/null | grep GNU  2>&1 > /dev/null ) ;  then
4109                                 _cv_gnu_make_command=$a ;
4110                                 break;
4111                         fi
4112                 done ;
4113
4114 fi
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5
4116 $as_echo "$_cv_gnu_make_command" >&6; } ;
4117         if test  "x$_cv_gnu_make_command" != "x"  ; then
4118                 ifGNUmake='' ;
4119         else
4120                 ifGNUmake='#' ;
4121                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"Not found\"" >&5
4122 $as_echo "\"Not found\"" >&6; };
4123         fi
4124
4125
4126 if test "x$ifGNUmake" = "x#" ; then
4127         as_fn_error $? "\"GNUmake is required\"" "$LINENO" 5
4128 fi
4129
4130 #libtool
4131
4132 case `pwd` in
4133   *\ * | *\     *)
4134     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4135 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4136 esac
4137
4138
4139
4140 macro_version='2.4.2'
4141 macro_revision='1.3337'
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155 ltmain="$ac_aux_dir/ltmain.sh"
4156
4157 # Make sure we can run config.sub.
4158 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4159   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4160
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4162 $as_echo_n "checking build system type... " >&6; }
4163 if ${ac_cv_build+:} false; then :
4164   $as_echo_n "(cached) " >&6
4165 else
4166   ac_build_alias=$build_alias
4167 test "x$ac_build_alias" = x &&
4168   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4169 test "x$ac_build_alias" = x &&
4170   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4171 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4172   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4173
4174 fi
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4176 $as_echo "$ac_cv_build" >&6; }
4177 case $ac_cv_build in
4178 *-*-*) ;;
4179 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4180 esac
4181 build=$ac_cv_build
4182 ac_save_IFS=$IFS; IFS='-'
4183 set x $ac_cv_build
4184 shift
4185 build_cpu=$1
4186 build_vendor=$2
4187 shift; shift
4188 # Remember, the first character of IFS is used to create $*,
4189 # except with old shells:
4190 build_os=$*
4191 IFS=$ac_save_IFS
4192 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4193
4194
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4196 $as_echo_n "checking host system type... " >&6; }
4197 if ${ac_cv_host+:} false; then :
4198   $as_echo_n "(cached) " >&6
4199 else
4200   if test "x$host_alias" = x; then
4201   ac_cv_host=$ac_cv_build
4202 else
4203   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4204     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4205 fi
4206
4207 fi
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4209 $as_echo "$ac_cv_host" >&6; }
4210 case $ac_cv_host in
4211 *-*-*) ;;
4212 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4213 esac
4214 host=$ac_cv_host
4215 ac_save_IFS=$IFS; IFS='-'
4216 set x $ac_cv_host
4217 shift
4218 host_cpu=$1
4219 host_vendor=$2
4220 shift; shift
4221 # Remember, the first character of IFS is used to create $*,
4222 # except with old shells:
4223 host_os=$*
4224 IFS=$ac_save_IFS
4225 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4226
4227
4228 # Backslashify metacharacters that are still active within
4229 # double-quoted strings.
4230 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4231
4232 # Same as above, but do not quote variable references.
4233 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4234
4235 # Sed substitution to delay expansion of an escaped shell variable in a
4236 # double_quote_subst'ed string.
4237 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4238
4239 # Sed substitution to delay expansion of an escaped single quote.
4240 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4241
4242 # Sed substitution to avoid accidental globbing in evaled expressions
4243 no_glob_subst='s/\*/\\\*/g'
4244
4245 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4246 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4247 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4248
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4250 $as_echo_n "checking how to print strings... " >&6; }
4251 # Test print first, because it will be a builtin if present.
4252 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4253    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4254   ECHO='print -r --'
4255 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4256   ECHO='printf %s\n'
4257 else
4258   # Use this function as a fallback that always works.
4259   func_fallback_echo ()
4260   {
4261     eval 'cat <<_LTECHO_EOF
4262 $1
4263 _LTECHO_EOF'
4264   }
4265   ECHO='func_fallback_echo'
4266 fi
4267
4268 # func_echo_all arg...
4269 # Invoke $ECHO with all args, space-separated.
4270 func_echo_all ()
4271 {
4272     $ECHO ""
4273 }
4274
4275 case "$ECHO" in
4276   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4277 $as_echo "printf" >&6; } ;;
4278   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4279 $as_echo "print -r" >&6; } ;;
4280   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4281 $as_echo "cat" >&6; } ;;
4282 esac
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4298 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4299 if ${ac_cv_path_SED+:} false; then :
4300   $as_echo_n "(cached) " >&6
4301 else
4302             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4303      for ac_i in 1 2 3 4 5 6 7; do
4304        ac_script="$ac_script$as_nl$ac_script"
4305      done
4306      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4307      { ac_script=; unset ac_script;}
4308      if test -z "$SED"; then
4309   ac_path_SED_found=false
4310   # Loop through the user's path and test for each of PROGNAME-LIST
4311   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4312 for as_dir in $PATH
4313 do
4314   IFS=$as_save_IFS
4315   test -z "$as_dir" && as_dir=.
4316     for ac_prog in sed gsed; do
4317     for ac_exec_ext in '' $ac_executable_extensions; do
4318       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4319       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4320 # Check for GNU ac_path_SED and select it if it is found.
4321   # Check for GNU $ac_path_SED
4322 case `"$ac_path_SED" --version 2>&1` in
4323 *GNU*)
4324   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4325 *)
4326   ac_count=0
4327   $as_echo_n 0123456789 >"conftest.in"
4328   while :
4329   do
4330     cat "conftest.in" "conftest.in" >"conftest.tmp"
4331     mv "conftest.tmp" "conftest.in"
4332     cp "conftest.in" "conftest.nl"
4333     $as_echo '' >> "conftest.nl"
4334     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4335     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4336     as_fn_arith $ac_count + 1 && ac_count=$as_val
4337     if test $ac_count -gt ${ac_path_SED_max-0}; then
4338       # Best one so far, save it but keep looking for a better one
4339       ac_cv_path_SED="$ac_path_SED"
4340       ac_path_SED_max=$ac_count
4341     fi
4342     # 10*(2^10) chars as input seems more than enough
4343     test $ac_count -gt 10 && break
4344   done
4345   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4346 esac
4347
4348       $ac_path_SED_found && break 3
4349     done
4350   done
4351   done
4352 IFS=$as_save_IFS
4353   if test -z "$ac_cv_path_SED"; then
4354     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4355   fi
4356 else
4357   ac_cv_path_SED=$SED
4358 fi
4359
4360 fi
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4362 $as_echo "$ac_cv_path_SED" >&6; }
4363  SED="$ac_cv_path_SED"
4364   rm -f conftest.sed
4365
4366 test -z "$SED" && SED=sed
4367 Xsed="$SED -e 1s/^X//"
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4380 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4381 if ${ac_cv_path_GREP+:} false; then :
4382   $as_echo_n "(cached) " >&6
4383 else
4384   if test -z "$GREP"; then
4385   ac_path_GREP_found=false
4386   # Loop through the user's path and test for each of PROGNAME-LIST
4387   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4388 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4389 do
4390   IFS=$as_save_IFS
4391   test -z "$as_dir" && as_dir=.
4392     for ac_prog in grep ggrep; do
4393     for ac_exec_ext in '' $ac_executable_extensions; do
4394       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4395       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4396 # Check for GNU ac_path_GREP and select it if it is found.
4397   # Check for GNU $ac_path_GREP
4398 case `"$ac_path_GREP" --version 2>&1` in
4399 *GNU*)
4400   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4401 *)
4402   ac_count=0
4403   $as_echo_n 0123456789 >"conftest.in"
4404   while :
4405   do
4406     cat "conftest.in" "conftest.in" >"conftest.tmp"
4407     mv "conftest.tmp" "conftest.in"
4408     cp "conftest.in" "conftest.nl"
4409     $as_echo 'GREP' >> "conftest.nl"
4410     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4411     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4412     as_fn_arith $ac_count + 1 && ac_count=$as_val
4413     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4414       # Best one so far, save it but keep looking for a better one
4415       ac_cv_path_GREP="$ac_path_GREP"
4416       ac_path_GREP_max=$ac_count
4417     fi
4418     # 10*(2^10) chars as input seems more than enough
4419     test $ac_count -gt 10 && break
4420   done
4421   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4422 esac
4423
4424       $ac_path_GREP_found && break 3
4425     done
4426   done
4427   done
4428 IFS=$as_save_IFS
4429   if test -z "$ac_cv_path_GREP"; then
4430     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4431   fi
4432 else
4433   ac_cv_path_GREP=$GREP
4434 fi
4435
4436 fi
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4438 $as_echo "$ac_cv_path_GREP" >&6; }
4439  GREP="$ac_cv_path_GREP"
4440
4441
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4443 $as_echo_n "checking for egrep... " >&6; }
4444 if ${ac_cv_path_EGREP+:} false; then :
4445   $as_echo_n "(cached) " >&6
4446 else
4447   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4448    then ac_cv_path_EGREP="$GREP -E"
4449    else
4450      if test -z "$EGREP"; then
4451   ac_path_EGREP_found=false
4452   # Loop through the user's path and test for each of PROGNAME-LIST
4453   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4454 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4455 do
4456   IFS=$as_save_IFS
4457   test -z "$as_dir" && as_dir=.
4458     for ac_prog in egrep; do
4459     for ac_exec_ext in '' $ac_executable_extensions; do
4460       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4461       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4462 # Check for GNU ac_path_EGREP and select it if it is found.
4463   # Check for GNU $ac_path_EGREP
4464 case `"$ac_path_EGREP" --version 2>&1` in
4465 *GNU*)
4466   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4467 *)
4468   ac_count=0
4469   $as_echo_n 0123456789 >"conftest.in"
4470   while :
4471   do
4472     cat "conftest.in" "conftest.in" >"conftest.tmp"
4473     mv "conftest.tmp" "conftest.in"
4474     cp "conftest.in" "conftest.nl"
4475     $as_echo 'EGREP' >> "conftest.nl"
4476     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4477     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4478     as_fn_arith $ac_count + 1 && ac_count=$as_val
4479     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4480       # Best one so far, save it but keep looking for a better one
4481       ac_cv_path_EGREP="$ac_path_EGREP"
4482       ac_path_EGREP_max=$ac_count
4483     fi
4484     # 10*(2^10) chars as input seems more than enough
4485     test $ac_count -gt 10 && break
4486   done
4487   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4488 esac
4489
4490       $ac_path_EGREP_found && break 3
4491     done
4492   done
4493   done
4494 IFS=$as_save_IFS
4495   if test -z "$ac_cv_path_EGREP"; then
4496     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4497   fi
4498 else
4499   ac_cv_path_EGREP=$EGREP
4500 fi
4501
4502    fi
4503 fi
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4505 $as_echo "$ac_cv_path_EGREP" >&6; }
4506  EGREP="$ac_cv_path_EGREP"
4507
4508
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4510 $as_echo_n "checking for fgrep... " >&6; }
4511 if ${ac_cv_path_FGREP+:} false; then :
4512   $as_echo_n "(cached) " >&6
4513 else
4514   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4515    then ac_cv_path_FGREP="$GREP -F"
4516    else
4517      if test -z "$FGREP"; then
4518   ac_path_FGREP_found=false
4519   # Loop through the user's path and test for each of PROGNAME-LIST
4520   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4521 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4522 do
4523   IFS=$as_save_IFS
4524   test -z "$as_dir" && as_dir=.
4525     for ac_prog in fgrep; do
4526     for ac_exec_ext in '' $ac_executable_extensions; do
4527       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4528       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4529 # Check for GNU ac_path_FGREP and select it if it is found.
4530   # Check for GNU $ac_path_FGREP
4531 case `"$ac_path_FGREP" --version 2>&1` in
4532 *GNU*)
4533   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4534 *)
4535   ac_count=0
4536   $as_echo_n 0123456789 >"conftest.in"
4537   while :
4538   do
4539     cat "conftest.in" "conftest.in" >"conftest.tmp"
4540     mv "conftest.tmp" "conftest.in"
4541     cp "conftest.in" "conftest.nl"
4542     $as_echo 'FGREP' >> "conftest.nl"
4543     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4544     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4545     as_fn_arith $ac_count + 1 && ac_count=$as_val
4546     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4547       # Best one so far, save it but keep looking for a better one
4548       ac_cv_path_FGREP="$ac_path_FGREP"
4549       ac_path_FGREP_max=$ac_count
4550     fi
4551     # 10*(2^10) chars as input seems more than enough
4552     test $ac_count -gt 10 && break
4553   done
4554   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4555 esac
4556
4557       $ac_path_FGREP_found && break 3
4558     done
4559   done
4560   done
4561 IFS=$as_save_IFS
4562   if test -z "$ac_cv_path_FGREP"; then
4563     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4564   fi
4565 else
4566   ac_cv_path_FGREP=$FGREP
4567 fi
4568
4569    fi
4570 fi
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4572 $as_echo "$ac_cv_path_FGREP" >&6; }
4573  FGREP="$ac_cv_path_FGREP"
4574
4575
4576 test -z "$GREP" && GREP=grep
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596 # Check whether --with-gnu-ld was given.
4597 if test "${with_gnu_ld+set}" = set; then :
4598   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4599 else
4600   with_gnu_ld=no
4601 fi
4602
4603 ac_prog=ld
4604 if test "$GCC" = yes; then
4605   # Check if gcc -print-prog-name=ld gives a path.
4606   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4607 $as_echo_n "checking for ld used by $CC... " >&6; }
4608   case $host in
4609   *-*-mingw*)
4610     # gcc leaves a trailing carriage return which upsets mingw
4611     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4612   *)
4613     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4614   esac
4615   case $ac_prog in
4616     # Accept absolute paths.
4617     [\\/]* | ?:[\\/]*)
4618       re_direlt='/[^/][^/]*/\.\./'
4619       # Canonicalize the pathname of ld
4620       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4621       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4622         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4623       done
4624       test -z "$LD" && LD="$ac_prog"
4625       ;;
4626   "")
4627     # If it fails, then pretend we aren't using GCC.
4628     ac_prog=ld
4629     ;;
4630   *)
4631     # If it is relative, then search for the first ld in PATH.
4632     with_gnu_ld=unknown
4633     ;;
4634   esac
4635 elif test "$with_gnu_ld" = yes; then
4636   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4637 $as_echo_n "checking for GNU ld... " >&6; }
4638 else
4639   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4640 $as_echo_n "checking for non-GNU ld... " >&6; }
4641 fi
4642 if ${lt_cv_path_LD+:} false; then :
4643   $as_echo_n "(cached) " >&6
4644 else
4645   if test -z "$LD"; then
4646   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4647   for ac_dir in $PATH; do
4648     IFS="$lt_save_ifs"
4649     test -z "$ac_dir" && ac_dir=.
4650     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4651       lt_cv_path_LD="$ac_dir/$ac_prog"
4652       # Check to see if the program is GNU ld.  I'd rather use --version,
4653       # but apparently some variants of GNU ld only accept -v.
4654       # Break only if it was the GNU/non-GNU ld that we prefer.
4655       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4656       *GNU* | *'with BFD'*)
4657         test "$with_gnu_ld" != no && break
4658         ;;
4659       *)
4660         test "$with_gnu_ld" != yes && break
4661         ;;
4662       esac
4663     fi
4664   done
4665   IFS="$lt_save_ifs"
4666 else
4667   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4668 fi
4669 fi
4670
4671 LD="$lt_cv_path_LD"
4672 if test -n "$LD"; then
4673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4674 $as_echo "$LD" >&6; }
4675 else
4676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4677 $as_echo "no" >&6; }
4678 fi
4679 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4681 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4682 if ${lt_cv_prog_gnu_ld+:} false; then :
4683   $as_echo_n "(cached) " >&6
4684 else
4685   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4686 case `$LD -v 2>&1 </dev/null` in
4687 *GNU* | *'with BFD'*)
4688   lt_cv_prog_gnu_ld=yes
4689   ;;
4690 *)
4691   lt_cv_prog_gnu_ld=no
4692   ;;
4693 esac
4694 fi
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4696 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4697 with_gnu_ld=$lt_cv_prog_gnu_ld
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4708 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4709 if ${lt_cv_path_NM+:} false; then :
4710   $as_echo_n "(cached) " >&6
4711 else
4712   if test -n "$NM"; then
4713   # Let the user override the test.
4714   lt_cv_path_NM="$NM"
4715 else
4716   lt_nm_to_check="${ac_tool_prefix}nm"
4717   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4718     lt_nm_to_check="$lt_nm_to_check nm"
4719   fi
4720   for lt_tmp_nm in $lt_nm_to_check; do
4721     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4722     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4723       IFS="$lt_save_ifs"
4724       test -z "$ac_dir" && ac_dir=.
4725       tmp_nm="$ac_dir/$lt_tmp_nm"
4726       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4727         # Check to see if the nm accepts a BSD-compat flag.
4728         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4729         #   nm: unknown option "B" ignored
4730         # Tru64's nm complains that /dev/null is an invalid object file
4731         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4732         */dev/null* | *'Invalid file or object type'*)
4733           lt_cv_path_NM="$tmp_nm -B"
4734           break
4735           ;;
4736         *)
4737           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4738           */dev/null*)
4739             lt_cv_path_NM="$tmp_nm -p"
4740             break
4741             ;;
4742           *)
4743             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4744             continue # so that we can try to find one that supports BSD flags
4745             ;;
4746           esac
4747           ;;
4748         esac
4749       fi
4750     done
4751     IFS="$lt_save_ifs"
4752   done
4753   : ${lt_cv_path_NM=no}
4754 fi
4755 fi
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4757 $as_echo "$lt_cv_path_NM" >&6; }
4758 if test "$lt_cv_path_NM" != "no"; then
4759   NM="$lt_cv_path_NM"
4760 else
4761   # Didn't find any BSD compatible name lister, look for dumpbin.
4762   if test -n "$DUMPBIN"; then :
4763     # Let the user override the test.
4764   else
4765     if test -n "$ac_tool_prefix"; then
4766   for ac_prog in dumpbin "link -dump"
4767   do
4768     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4769 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4771 $as_echo_n "checking for $ac_word... " >&6; }
4772 if ${ac_cv_prog_DUMPBIN+:} false; then :
4773   $as_echo_n "(cached) " >&6
4774 else
4775   if test -n "$DUMPBIN"; then
4776   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4777 else
4778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4779 for as_dir in $PATH
4780 do
4781   IFS=$as_save_IFS
4782   test -z "$as_dir" && as_dir=.
4783     for ac_exec_ext in '' $ac_executable_extensions; do
4784   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4785     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4786     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4787     break 2
4788   fi
4789 done
4790   done
4791 IFS=$as_save_IFS
4792
4793 fi
4794 fi
4795 DUMPBIN=$ac_cv_prog_DUMPBIN
4796 if test -n "$DUMPBIN"; then
4797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4798 $as_echo "$DUMPBIN" >&6; }
4799 else
4800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4801 $as_echo "no" >&6; }
4802 fi
4803
4804
4805     test -n "$DUMPBIN" && break
4806   done
4807 fi
4808 if test -z "$DUMPBIN"; then
4809   ac_ct_DUMPBIN=$DUMPBIN
4810   for ac_prog in dumpbin "link -dump"
4811 do
4812   # Extract the first word of "$ac_prog", so it can be a program name with args.
4813 set dummy $ac_prog; ac_word=$2
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4815 $as_echo_n "checking for $ac_word... " >&6; }
4816 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4817   $as_echo_n "(cached) " >&6
4818 else
4819   if test -n "$ac_ct_DUMPBIN"; then
4820   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4821 else
4822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4823 for as_dir in $PATH
4824 do
4825   IFS=$as_save_IFS
4826   test -z "$as_dir" && as_dir=.
4827     for ac_exec_ext in '' $ac_executable_extensions; do
4828   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4829     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4830     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4831     break 2
4832   fi
4833 done
4834   done
4835 IFS=$as_save_IFS
4836
4837 fi
4838 fi
4839 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4840 if test -n "$ac_ct_DUMPBIN"; then
4841   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4842 $as_echo "$ac_ct_DUMPBIN" >&6; }
4843 else
4844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4845 $as_echo "no" >&6; }
4846 fi
4847
4848
4849   test -n "$ac_ct_DUMPBIN" && break
4850 done
4851
4852   if test "x$ac_ct_DUMPBIN" = x; then
4853     DUMPBIN=":"
4854   else
4855     case $cross_compiling:$ac_tool_warned in
4856 yes:)
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4858 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4859 ac_tool_warned=yes ;;
4860 esac
4861     DUMPBIN=$ac_ct_DUMPBIN
4862   fi
4863 fi
4864
4865     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4866     *COFF*)
4867       DUMPBIN="$DUMPBIN -symbols"
4868       ;;
4869     *)
4870       DUMPBIN=:
4871       ;;
4872     esac
4873   fi
4874
4875   if test "$DUMPBIN" != ":"; then
4876     NM="$DUMPBIN"
4877   fi
4878 fi
4879 test -z "$NM" && NM=nm
4880
4881
4882
4883
4884
4885
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4887 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4888 if ${lt_cv_nm_interface+:} false; then :
4889   $as_echo_n "(cached) " >&6
4890 else
4891   lt_cv_nm_interface="BSD nm"
4892   echo "int some_variable = 0;" > conftest.$ac_ext
4893   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4894   (eval "$ac_compile" 2>conftest.err)
4895   cat conftest.err >&5
4896   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4897   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4898   cat conftest.err >&5
4899   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4900   cat conftest.out >&5
4901   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4902     lt_cv_nm_interface="MS dumpbin"
4903   fi
4904   rm -f conftest*
4905 fi
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4907 $as_echo "$lt_cv_nm_interface" >&6; }
4908
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4910 $as_echo_n "checking whether ln -s works... " >&6; }
4911 LN_S=$as_ln_s
4912 if test "$LN_S" = "ln -s"; then
4913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4914 $as_echo "yes" >&6; }
4915 else
4916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4917 $as_echo "no, using $LN_S" >&6; }
4918 fi
4919
4920 # find the maximum length of command line arguments
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4922 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4923 if ${lt_cv_sys_max_cmd_len+:} false; then :
4924   $as_echo_n "(cached) " >&6
4925 else
4926     i=0
4927   teststring="ABCD"
4928
4929   case $build_os in
4930   msdosdjgpp*)
4931     # On DJGPP, this test can blow up pretty badly due to problems in libc
4932     # (any single argument exceeding 2000 bytes causes a buffer overrun
4933     # during glob expansion).  Even if it were fixed, the result of this
4934     # check would be larger than it should be.
4935     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4936     ;;
4937
4938   gnu*)
4939     # Under GNU Hurd, this test is not required because there is
4940     # no limit to the length of command line arguments.
4941     # Libtool will interpret -1 as no limit whatsoever
4942     lt_cv_sys_max_cmd_len=-1;
4943     ;;
4944
4945   cygwin* | mingw* | cegcc*)
4946     # On Win9x/ME, this test blows up -- it succeeds, but takes
4947     # about 5 minutes as the teststring grows exponentially.
4948     # Worse, since 9x/ME are not pre-emptively multitasking,
4949     # you end up with a "frozen" computer, even though with patience
4950     # the test eventually succeeds (with a max line length of 256k).
4951     # Instead, let's just punt: use the minimum linelength reported by
4952     # all of the supported platforms: 8192 (on NT/2K/XP).
4953     lt_cv_sys_max_cmd_len=8192;
4954     ;;
4955
4956   mint*)
4957     # On MiNT this can take a long time and run out of memory.
4958     lt_cv_sys_max_cmd_len=8192;
4959     ;;
4960
4961   amigaos*)
4962     # On AmigaOS with pdksh, this test takes hours, literally.
4963     # So we just punt and use a minimum line length of 8192.
4964     lt_cv_sys_max_cmd_len=8192;
4965     ;;
4966
4967   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4968     # This has been around since 386BSD, at least.  Likely further.
4969     if test -x /sbin/sysctl; then
4970       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4971     elif test -x /usr/sbin/sysctl; then
4972       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4973     else
4974       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4975     fi
4976     # And add a safety zone
4977     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4978     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4979     ;;
4980
4981   interix*)
4982     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4983     lt_cv_sys_max_cmd_len=196608
4984     ;;
4985
4986   os2*)
4987     # The test takes a long time on OS/2.
4988     lt_cv_sys_max_cmd_len=8192
4989     ;;
4990
4991   osf*)
4992     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4993     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4994     # nice to cause kernel panics so lets avoid the loop below.
4995     # First set a reasonable default.
4996     lt_cv_sys_max_cmd_len=16384
4997     #
4998     if test -x /sbin/sysconfig; then
4999       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5000         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5001       esac
5002     fi
5003     ;;
5004   sco3.2v5*)
5005     lt_cv_sys_max_cmd_len=102400
5006     ;;
5007   sysv5* | sco5v6* | sysv4.2uw2*)
5008     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5009     if test -n "$kargmax"; then
5010       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5011     else
5012       lt_cv_sys_max_cmd_len=32768
5013     fi
5014     ;;
5015   *)
5016     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5017     if test -n "$lt_cv_sys_max_cmd_len"; then
5018       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5019       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5020     else
5021       # Make teststring a little bigger before we do anything with it.
5022       # a 1K string should be a reasonable start.
5023       for i in 1 2 3 4 5 6 7 8 ; do
5024         teststring=$teststring$teststring
5025       done
5026       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5027       # If test is not a shell built-in, we'll probably end up computing a
5028       # maximum length that is only half of the actual maximum length, but
5029       # we can't tell.
5030       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5031                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5032               test $i != 17 # 1/2 MB should be enough
5033       do
5034         i=`expr $i + 1`
5035         teststring=$teststring$teststring
5036       done
5037       # Only check the string length outside the loop.
5038       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5039       teststring=
5040       # Add a significant safety factor because C++ compilers can tack on
5041       # massive amounts of additional arguments before passing them to the
5042       # linker.  It appears as though 1/2 is a usable value.
5043       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5044     fi
5045     ;;
5046   esac
5047
5048 fi
5049
5050 if test -n $lt_cv_sys_max_cmd_len ; then
5051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5052 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5053 else
5054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5055 $as_echo "none" >&6; }
5056 fi
5057 max_cmd_len=$lt_cv_sys_max_cmd_len
5058
5059
5060
5061
5062
5063
5064 : ${CP="cp -f"}
5065 : ${MV="mv -f"}
5066 : ${RM="rm -f"}
5067
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5069 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5070 # Try some XSI features
5071 xsi_shell=no
5072 ( _lt_dummy="a/b/c"
5073   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5074       = c,a/b,b/c, \
5075     && eval 'test $(( 1 + 1 )) -eq 2 \
5076     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5077   && xsi_shell=yes
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5079 $as_echo "$xsi_shell" >&6; }
5080
5081
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5083 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5084 lt_shell_append=no
5085 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5086     >/dev/null 2>&1 \
5087   && lt_shell_append=yes
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5089 $as_echo "$lt_shell_append" >&6; }
5090
5091
5092 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5093   lt_unset=unset
5094 else
5095   lt_unset=false
5096 fi
5097
5098
5099
5100
5101
5102 # test EBCDIC or ASCII
5103 case `echo X|tr X '\101'` in
5104  A) # ASCII based system
5105     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5106   lt_SP2NL='tr \040 \012'
5107   lt_NL2SP='tr \015\012 \040\040'
5108   ;;
5109  *) # EBCDIC based system
5110   lt_SP2NL='tr \100 \n'
5111   lt_NL2SP='tr \r\n \100\100'
5112   ;;
5113 esac
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5124 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5125 if ${lt_cv_to_host_file_cmd+:} false; then :
5126   $as_echo_n "(cached) " >&6
5127 else
5128   case $host in
5129   *-*-mingw* )
5130     case $build in
5131       *-*-mingw* ) # actually msys
5132         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5133         ;;
5134       *-*-cygwin* )
5135         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5136         ;;
5137       * ) # otherwise, assume *nix
5138         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5139         ;;
5140     esac
5141     ;;
5142   *-*-cygwin* )
5143     case $build in
5144       *-*-mingw* ) # actually msys
5145         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5146         ;;
5147       *-*-cygwin* )
5148         lt_cv_to_host_file_cmd=func_convert_file_noop
5149         ;;
5150       * ) # otherwise, assume *nix
5151         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5152         ;;
5153     esac
5154     ;;
5155   * ) # unhandled hosts (and "normal" native builds)
5156     lt_cv_to_host_file_cmd=func_convert_file_noop
5157     ;;
5158 esac
5159
5160 fi
5161
5162 to_host_file_cmd=$lt_cv_to_host_file_cmd
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5164 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5165
5166
5167
5168
5169
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5171 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5172 if ${lt_cv_to_tool_file_cmd+:} false; then :
5173   $as_echo_n "(cached) " >&6
5174 else
5175   #assume ordinary cross tools, or native build.
5176 lt_cv_to_tool_file_cmd=func_convert_file_noop
5177 case $host in
5178   *-*-mingw* )
5179     case $build in
5180       *-*-mingw* ) # actually msys
5181         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5182         ;;
5183     esac
5184     ;;
5185 esac
5186
5187 fi
5188
5189 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5191 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5192
5193
5194
5195
5196
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5198 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5199 if ${lt_cv_ld_reload_flag+:} false; then :
5200   $as_echo_n "(cached) " >&6
5201 else
5202   lt_cv_ld_reload_flag='-r'
5203 fi
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5205 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5206 reload_flag=$lt_cv_ld_reload_flag
5207 case $reload_flag in
5208 "" | " "*) ;;
5209 *) reload_flag=" $reload_flag" ;;
5210 esac
5211 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5212 case $host_os in
5213   cygwin* | mingw* | pw32* | cegcc*)
5214     if test "$GCC" != yes; then
5215       reload_cmds=false
5216     fi
5217     ;;
5218   darwin*)
5219     if test "$GCC" = yes; then
5220       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5221     else
5222       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5223     fi
5224     ;;
5225 esac
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235 if test -n "$ac_tool_prefix"; then
5236   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5237 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5239 $as_echo_n "checking for $ac_word... " >&6; }
5240 if ${ac_cv_prog_OBJDUMP+:} false; then :
5241   $as_echo_n "(cached) " >&6
5242 else
5243   if test -n "$OBJDUMP"; then
5244   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5245 else
5246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5247 for as_dir in $PATH
5248 do
5249   IFS=$as_save_IFS
5250   test -z "$as_dir" && as_dir=.
5251     for ac_exec_ext in '' $ac_executable_extensions; do
5252   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5253     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5254     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5255     break 2
5256   fi
5257 done
5258   done
5259 IFS=$as_save_IFS
5260
5261 fi
5262 fi
5263 OBJDUMP=$ac_cv_prog_OBJDUMP
5264 if test -n "$OBJDUMP"; then
5265   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5266 $as_echo "$OBJDUMP" >&6; }
5267 else
5268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5269 $as_echo "no" >&6; }
5270 fi
5271
5272
5273 fi
5274 if test -z "$ac_cv_prog_OBJDUMP"; then
5275   ac_ct_OBJDUMP=$OBJDUMP
5276   # Extract the first word of "objdump", so it can be a program name with args.
5277 set dummy objdump; ac_word=$2
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5279 $as_echo_n "checking for $ac_word... " >&6; }
5280 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5281   $as_echo_n "(cached) " >&6
5282 else
5283   if test -n "$ac_ct_OBJDUMP"; then
5284   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5285 else
5286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5287 for as_dir in $PATH
5288 do
5289   IFS=$as_save_IFS
5290   test -z "$as_dir" && as_dir=.
5291     for ac_exec_ext in '' $ac_executable_extensions; do
5292   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5293     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5294     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5295     break 2
5296   fi
5297 done
5298   done
5299 IFS=$as_save_IFS
5300
5301 fi
5302 fi
5303 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5304 if test -n "$ac_ct_OBJDUMP"; then
5305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5306 $as_echo "$ac_ct_OBJDUMP" >&6; }
5307 else
5308   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5309 $as_echo "no" >&6; }
5310 fi
5311
5312   if test "x$ac_ct_OBJDUMP" = x; then
5313     OBJDUMP="false"
5314   else
5315     case $cross_compiling:$ac_tool_warned in
5316 yes:)
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5318 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5319 ac_tool_warned=yes ;;
5320 esac
5321     OBJDUMP=$ac_ct_OBJDUMP
5322   fi
5323 else
5324   OBJDUMP="$ac_cv_prog_OBJDUMP"
5325 fi
5326
5327 test -z "$OBJDUMP" && OBJDUMP=objdump
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5338 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5339 if ${lt_cv_deplibs_check_method+:} false; then :
5340   $as_echo_n "(cached) " >&6
5341 else
5342   lt_cv_file_magic_cmd='$MAGIC_CMD'
5343 lt_cv_file_magic_test_file=
5344 lt_cv_deplibs_check_method='unknown'
5345 # Need to set the preceding variable on all platforms that support
5346 # interlibrary dependencies.
5347 # 'none' -- dependencies not supported.
5348 # `unknown' -- same as none, but documents that we really don't know.
5349 # 'pass_all' -- all dependencies passed with no checks.
5350 # 'test_compile' -- check by making test program.
5351 # 'file_magic [[regex]]' -- check by looking for files in library path
5352 # which responds to the $file_magic_cmd with a given extended regex.
5353 # If you have `file' or equivalent on your system and you're not sure
5354 # whether `pass_all' will *always* work, you probably want this one.
5355
5356 case $host_os in
5357 aix[4-9]*)
5358   lt_cv_deplibs_check_method=pass_all
5359   ;;
5360
5361 beos*)
5362   lt_cv_deplibs_check_method=pass_all
5363   ;;
5364
5365 bsdi[45]*)
5366   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5367   lt_cv_file_magic_cmd='/usr/bin/file -L'
5368   lt_cv_file_magic_test_file=/shlib/libc.so
5369   ;;
5370
5371 cygwin*)
5372   # func_win32_libid is a shell function defined in ltmain.sh
5373   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5374   lt_cv_file_magic_cmd='func_win32_libid'
5375   ;;
5376
5377 mingw* | pw32*)
5378   # Base MSYS/MinGW do not provide the 'file' command needed by
5379   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5380   # unless we find 'file', for example because we are cross-compiling.
5381   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5382   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5383     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5384     lt_cv_file_magic_cmd='func_win32_libid'
5385   else
5386     # Keep this pattern in sync with the one in func_win32_libid.
5387     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5388     lt_cv_file_magic_cmd='$OBJDUMP -f'
5389   fi
5390   ;;
5391
5392 cegcc*)
5393   # use the weaker test based on 'objdump'. See mingw*.
5394   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5395   lt_cv_file_magic_cmd='$OBJDUMP -f'
5396   ;;
5397
5398 darwin* | rhapsody*)
5399   lt_cv_deplibs_check_method=pass_all
5400   ;;
5401
5402 freebsd* | dragonfly*)
5403   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5404     case $host_cpu in
5405     i*86 )
5406       # Not sure whether the presence of OpenBSD here was a mistake.
5407       # Let's accept both of them until this is cleared up.
5408       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5409       lt_cv_file_magic_cmd=/usr/bin/file
5410       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5411       ;;
5412     esac
5413   else
5414     lt_cv_deplibs_check_method=pass_all
5415   fi
5416   ;;
5417
5418 gnu*)
5419   lt_cv_deplibs_check_method=pass_all
5420   ;;
5421
5422 haiku*)
5423   lt_cv_deplibs_check_method=pass_all
5424   ;;
5425
5426 hpux10.20* | hpux11*)
5427   lt_cv_file_magic_cmd=/usr/bin/file
5428   case $host_cpu in
5429   ia64*)
5430     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5431     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5432     ;;
5433   hppa*64*)
5434     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]'
5435     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5436     ;;
5437   *)
5438     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5439     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5440     ;;
5441   esac
5442   ;;
5443
5444 interix[3-9]*)
5445   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5446   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5447   ;;
5448
5449 irix5* | irix6* | nonstopux*)
5450   case $LD in
5451   *-32|*"-32 ") libmagic=32-bit;;
5452   *-n32|*"-n32 ") libmagic=N32;;
5453   *-64|*"-64 ") libmagic=64-bit;;
5454   *) libmagic=never-match;;
5455   esac
5456   lt_cv_deplibs_check_method=pass_all
5457   ;;
5458
5459 # This must be glibc/ELF.
5460 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5461   lt_cv_deplibs_check_method=pass_all
5462   ;;
5463
5464 netbsd* | netbsdelf*-gnu)
5465   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5466     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5467   else
5468     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5469   fi
5470   ;;
5471
5472 newos6*)
5473   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5474   lt_cv_file_magic_cmd=/usr/bin/file
5475   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5476   ;;
5477
5478 *nto* | *qnx*)
5479   lt_cv_deplibs_check_method=pass_all
5480   ;;
5481
5482 openbsd*)
5483   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5484     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5485   else
5486     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5487   fi
5488   ;;
5489
5490 osf3* | osf4* | osf5*)
5491   lt_cv_deplibs_check_method=pass_all
5492   ;;
5493
5494 rdos*)
5495   lt_cv_deplibs_check_method=pass_all
5496   ;;
5497
5498 solaris*)
5499   lt_cv_deplibs_check_method=pass_all
5500   ;;
5501
5502 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5503   lt_cv_deplibs_check_method=pass_all
5504   ;;
5505
5506 sysv4 | sysv4.3*)
5507   case $host_vendor in
5508   motorola)
5509     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]'
5510     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5511     ;;
5512   ncr)
5513     lt_cv_deplibs_check_method=pass_all
5514     ;;
5515   sequent)
5516     lt_cv_file_magic_cmd='/bin/file'
5517     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5518     ;;
5519   sni)
5520     lt_cv_file_magic_cmd='/bin/file'
5521     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5522     lt_cv_file_magic_test_file=/lib/libc.so
5523     ;;
5524   siemens)
5525     lt_cv_deplibs_check_method=pass_all
5526     ;;
5527   pc)
5528     lt_cv_deplibs_check_method=pass_all
5529     ;;
5530   esac
5531   ;;
5532
5533 tpf*)
5534   lt_cv_deplibs_check_method=pass_all
5535   ;;
5536 esac
5537
5538 fi
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5540 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5541
5542 file_magic_glob=
5543 want_nocaseglob=no
5544 if test "$build" = "$host"; then
5545   case $host_os in
5546   mingw* | pw32*)
5547     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5548       want_nocaseglob=yes
5549     else
5550       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5551     fi
5552     ;;
5553   esac
5554 fi
5555
5556 file_magic_cmd=$lt_cv_file_magic_cmd
5557 deplibs_check_method=$lt_cv_deplibs_check_method
5558 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581 if test -n "$ac_tool_prefix"; then
5582   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5583 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5585 $as_echo_n "checking for $ac_word... " >&6; }
5586 if ${ac_cv_prog_DLLTOOL+:} false; then :
5587   $as_echo_n "(cached) " >&6
5588 else
5589   if test -n "$DLLTOOL"; then
5590   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5591 else
5592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5593 for as_dir in $PATH
5594 do
5595   IFS=$as_save_IFS
5596   test -z "$as_dir" && as_dir=.
5597     for ac_exec_ext in '' $ac_executable_extensions; do
5598   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5599     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5600     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5601     break 2
5602   fi
5603 done
5604   done
5605 IFS=$as_save_IFS
5606
5607 fi
5608 fi
5609 DLLTOOL=$ac_cv_prog_DLLTOOL
5610 if test -n "$DLLTOOL"; then
5611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5612 $as_echo "$DLLTOOL" >&6; }
5613 else
5614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5615 $as_echo "no" >&6; }
5616 fi
5617
5618
5619 fi
5620 if test -z "$ac_cv_prog_DLLTOOL"; then
5621   ac_ct_DLLTOOL=$DLLTOOL
5622   # Extract the first word of "dlltool", so it can be a program name with args.
5623 set dummy dlltool; ac_word=$2
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5625 $as_echo_n "checking for $ac_word... " >&6; }
5626 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5627   $as_echo_n "(cached) " >&6
5628 else
5629   if test -n "$ac_ct_DLLTOOL"; then
5630   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5631 else
5632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5633 for as_dir in $PATH
5634 do
5635   IFS=$as_save_IFS
5636   test -z "$as_dir" && as_dir=.
5637     for ac_exec_ext in '' $ac_executable_extensions; do
5638   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5639     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5640     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5641     break 2
5642   fi
5643 done
5644   done
5645 IFS=$as_save_IFS
5646
5647 fi
5648 fi
5649 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5650 if test -n "$ac_ct_DLLTOOL"; then
5651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5652 $as_echo "$ac_ct_DLLTOOL" >&6; }
5653 else
5654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5655 $as_echo "no" >&6; }
5656 fi
5657
5658   if test "x$ac_ct_DLLTOOL" = x; then
5659     DLLTOOL="false"
5660   else
5661     case $cross_compiling:$ac_tool_warned in
5662 yes:)
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5664 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5665 ac_tool_warned=yes ;;
5666 esac
5667     DLLTOOL=$ac_ct_DLLTOOL
5668   fi
5669 else
5670   DLLTOOL="$ac_cv_prog_DLLTOOL"
5671 fi
5672
5673 test -z "$DLLTOOL" && DLLTOOL=dlltool
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5685 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5686 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5687   $as_echo_n "(cached) " >&6
5688 else
5689   lt_cv_sharedlib_from_linklib_cmd='unknown'
5690
5691 case $host_os in
5692 cygwin* | mingw* | pw32* | cegcc*)
5693   # two different shell functions defined in ltmain.sh
5694   # decide which to use based on capabilities of $DLLTOOL
5695   case `$DLLTOOL --help 2>&1` in
5696   *--identify-strict*)
5697     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5698     ;;
5699   *)
5700     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5701     ;;
5702   esac
5703   ;;
5704 *)
5705   # fallback: assume linklib IS sharedlib
5706   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5707   ;;
5708 esac
5709
5710 fi
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5712 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5713 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5714 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5715
5716
5717
5718
5719
5720
5721
5722 if test -n "$ac_tool_prefix"; then
5723   for ac_prog in ar
5724   do
5725     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5726 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5728 $as_echo_n "checking for $ac_word... " >&6; }
5729 if ${ac_cv_prog_AR+:} false; then :
5730   $as_echo_n "(cached) " >&6
5731 else
5732   if test -n "$AR"; then
5733   ac_cv_prog_AR="$AR" # Let the user override the test.
5734 else
5735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5736 for as_dir in $PATH
5737 do
5738   IFS=$as_save_IFS
5739   test -z "$as_dir" && as_dir=.
5740     for ac_exec_ext in '' $ac_executable_extensions; do
5741   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5742     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5743     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5744     break 2
5745   fi
5746 done
5747   done
5748 IFS=$as_save_IFS
5749
5750 fi
5751 fi
5752 AR=$ac_cv_prog_AR
5753 if test -n "$AR"; then
5754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5755 $as_echo "$AR" >&6; }
5756 else
5757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5758 $as_echo "no" >&6; }
5759 fi
5760
5761
5762     test -n "$AR" && break
5763   done
5764 fi
5765 if test -z "$AR"; then
5766   ac_ct_AR=$AR
5767   for ac_prog in ar
5768 do
5769   # Extract the first word of "$ac_prog", so it can be a program name with args.
5770 set dummy $ac_prog; ac_word=$2
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5772 $as_echo_n "checking for $ac_word... " >&6; }
5773 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5774   $as_echo_n "(cached) " >&6
5775 else
5776   if test -n "$ac_ct_AR"; then
5777   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5778 else
5779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5780 for as_dir in $PATH
5781 do
5782   IFS=$as_save_IFS
5783   test -z "$as_dir" && as_dir=.
5784     for ac_exec_ext in '' $ac_executable_extensions; do
5785   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5786     ac_cv_prog_ac_ct_AR="$ac_prog"
5787     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5788     break 2
5789   fi
5790 done
5791   done
5792 IFS=$as_save_IFS
5793
5794 fi
5795 fi
5796 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5797 if test -n "$ac_ct_AR"; then
5798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5799 $as_echo "$ac_ct_AR" >&6; }
5800 else
5801   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5802 $as_echo "no" >&6; }
5803 fi
5804
5805
5806   test -n "$ac_ct_AR" && break
5807 done
5808
5809   if test "x$ac_ct_AR" = x; then
5810     AR="false"
5811   else
5812     case $cross_compiling:$ac_tool_warned in
5813 yes:)
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5815 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5816 ac_tool_warned=yes ;;
5817 esac
5818     AR=$ac_ct_AR
5819   fi
5820 fi
5821
5822 : ${AR=ar}
5823 : ${AR_FLAGS=cru}
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5836 $as_echo_n "checking for archiver @FILE support... " >&6; }
5837 if ${lt_cv_ar_at_file+:} false; then :
5838   $as_echo_n "(cached) " >&6
5839 else
5840   lt_cv_ar_at_file=no
5841    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5842 /* end confdefs.h.  */
5843
5844 int
5845 main ()
5846 {
5847
5848   ;
5849   return 0;
5850 }
5851 _ACEOF
5852 if ac_fn_c_try_compile "$LINENO"; then :
5853   echo conftest.$ac_objext > conftest.lst
5854       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5855       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5856   (eval $lt_ar_try) 2>&5
5857   ac_status=$?
5858   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5859   test $ac_status = 0; }
5860       if test "$ac_status" -eq 0; then
5861         # Ensure the archiver fails upon bogus file names.
5862         rm -f conftest.$ac_objext libconftest.a
5863         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5864   (eval $lt_ar_try) 2>&5
5865   ac_status=$?
5866   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5867   test $ac_status = 0; }
5868         if test "$ac_status" -ne 0; then
5869           lt_cv_ar_at_file=@
5870         fi
5871       fi
5872       rm -f conftest.* libconftest.a
5873
5874 fi
5875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5876
5877 fi
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5879 $as_echo "$lt_cv_ar_at_file" >&6; }
5880
5881 if test "x$lt_cv_ar_at_file" = xno; then
5882   archiver_list_spec=
5883 else
5884   archiver_list_spec=$lt_cv_ar_at_file
5885 fi
5886
5887
5888
5889
5890
5891
5892
5893 if test -n "$ac_tool_prefix"; then
5894   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5895 set dummy ${ac_tool_prefix}strip; ac_word=$2
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5897 $as_echo_n "checking for $ac_word... " >&6; }
5898 if ${ac_cv_prog_STRIP+:} false; then :
5899   $as_echo_n "(cached) " >&6
5900 else
5901   if test -n "$STRIP"; then
5902   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5903 else
5904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5905 for as_dir in $PATH
5906 do
5907   IFS=$as_save_IFS
5908   test -z "$as_dir" && as_dir=.
5909     for ac_exec_ext in '' $ac_executable_extensions; do
5910   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5911     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5912     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5913     break 2
5914   fi
5915 done
5916   done
5917 IFS=$as_save_IFS
5918
5919 fi
5920 fi
5921 STRIP=$ac_cv_prog_STRIP
5922 if test -n "$STRIP"; then
5923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5924 $as_echo "$STRIP" >&6; }
5925 else
5926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5927 $as_echo "no" >&6; }
5928 fi
5929
5930
5931 fi
5932 if test -z "$ac_cv_prog_STRIP"; then
5933   ac_ct_STRIP=$STRIP
5934   # Extract the first word of "strip", so it can be a program name with args.
5935 set dummy strip; ac_word=$2
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5937 $as_echo_n "checking for $ac_word... " >&6; }
5938 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5939   $as_echo_n "(cached) " >&6
5940 else
5941   if test -n "$ac_ct_STRIP"; then
5942   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5943 else
5944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5945 for as_dir in $PATH
5946 do
5947   IFS=$as_save_IFS
5948   test -z "$as_dir" && as_dir=.
5949     for ac_exec_ext in '' $ac_executable_extensions; do
5950   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5951     ac_cv_prog_ac_ct_STRIP="strip"
5952     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5953     break 2
5954   fi
5955 done
5956   done
5957 IFS=$as_save_IFS
5958
5959 fi
5960 fi
5961 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5962 if test -n "$ac_ct_STRIP"; then
5963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5964 $as_echo "$ac_ct_STRIP" >&6; }
5965 else
5966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5967 $as_echo "no" >&6; }
5968 fi
5969
5970   if test "x$ac_ct_STRIP" = x; then
5971     STRIP=":"
5972   else
5973     case $cross_compiling:$ac_tool_warned in
5974 yes:)
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5976 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5977 ac_tool_warned=yes ;;
5978 esac
5979     STRIP=$ac_ct_STRIP
5980   fi
5981 else
5982   STRIP="$ac_cv_prog_STRIP"
5983 fi
5984
5985 test -z "$STRIP" && STRIP=:
5986
5987
5988
5989
5990
5991
5992 if test -n "$ac_tool_prefix"; then
5993   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5994 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5996 $as_echo_n "checking for $ac_word... " >&6; }
5997 if ${ac_cv_prog_RANLIB+:} false; then :
5998   $as_echo_n "(cached) " >&6
5999 else
6000   if test -n "$RANLIB"; then
6001   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6002 else
6003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6004 for as_dir in $PATH
6005 do
6006   IFS=$as_save_IFS
6007   test -z "$as_dir" && as_dir=.
6008     for ac_exec_ext in '' $ac_executable_extensions; do
6009   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6010     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6011     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6012     break 2
6013   fi
6014 done
6015   done
6016 IFS=$as_save_IFS
6017
6018 fi
6019 fi
6020 RANLIB=$ac_cv_prog_RANLIB
6021 if test -n "$RANLIB"; then
6022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6023 $as_echo "$RANLIB" >&6; }
6024 else
6025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6026 $as_echo "no" >&6; }
6027 fi
6028
6029
6030 fi
6031 if test -z "$ac_cv_prog_RANLIB"; then
6032   ac_ct_RANLIB=$RANLIB
6033   # Extract the first word of "ranlib", so it can be a program name with args.
6034 set dummy ranlib; ac_word=$2
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6036 $as_echo_n "checking for $ac_word... " >&6; }
6037 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6038   $as_echo_n "(cached) " >&6
6039 else
6040   if test -n "$ac_ct_RANLIB"; then
6041   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6042 else
6043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6044 for as_dir in $PATH
6045 do
6046   IFS=$as_save_IFS
6047   test -z "$as_dir" && as_dir=.
6048     for ac_exec_ext in '' $ac_executable_extensions; do
6049   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6050     ac_cv_prog_ac_ct_RANLIB="ranlib"
6051     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6052     break 2
6053   fi
6054 done
6055   done
6056 IFS=$as_save_IFS
6057
6058 fi
6059 fi
6060 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6061 if test -n "$ac_ct_RANLIB"; then
6062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6063 $as_echo "$ac_ct_RANLIB" >&6; }
6064 else
6065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6066 $as_echo "no" >&6; }
6067 fi
6068
6069   if test "x$ac_ct_RANLIB" = x; then
6070     RANLIB=":"
6071   else
6072     case $cross_compiling:$ac_tool_warned in
6073 yes:)
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6075 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6076 ac_tool_warned=yes ;;
6077 esac
6078     RANLIB=$ac_ct_RANLIB
6079   fi
6080 else
6081   RANLIB="$ac_cv_prog_RANLIB"
6082 fi
6083
6084 test -z "$RANLIB" && RANLIB=:
6085
6086
6087
6088
6089
6090
6091 # Determine commands to create old-style static archives.
6092 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6093 old_postinstall_cmds='chmod 644 $oldlib'
6094 old_postuninstall_cmds=
6095
6096 if test -n "$RANLIB"; then
6097   case $host_os in
6098   openbsd*)
6099     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6100     ;;
6101   *)
6102     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6103     ;;
6104   esac
6105   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6106 fi
6107
6108 case $host_os in
6109   darwin*)
6110     lock_old_archive_extraction=yes ;;
6111   *)
6112     lock_old_archive_extraction=no ;;
6113 esac
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153 # If no C compiler was specified, use CC.
6154 LTCC=${LTCC-"$CC"}
6155
6156 # If no C compiler flags were specified, use CFLAGS.
6157 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6158
6159 # Allow CC to be a program name with arguments.
6160 compiler=$CC
6161
6162
6163 # Check for command to grab the raw symbol name followed by C symbol from nm.
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6165 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6166 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6167   $as_echo_n "(cached) " >&6
6168 else
6169
6170 # These are sane defaults that work on at least a few old systems.
6171 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6172
6173 # Character class describing NM global symbol codes.
6174 symcode='[BCDEGRST]'
6175
6176 # Regexp to match symbols that can be accessed directly from C.
6177 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6178
6179 # Define system-specific variables.
6180 case $host_os in
6181 aix*)
6182   symcode='[BCDT]'
6183   ;;
6184 cygwin* | mingw* | pw32* | cegcc*)
6185   symcode='[ABCDGISTW]'
6186   ;;
6187 hpux*)
6188   if test "$host_cpu" = ia64; then
6189     symcode='[ABCDEGRST]'
6190   fi
6191   ;;
6192 irix* | nonstopux*)
6193   symcode='[BCDEGRST]'
6194   ;;
6195 osf*)
6196   symcode='[BCDEGQRST]'
6197   ;;
6198 solaris*)
6199   symcode='[BDRT]'
6200   ;;
6201 sco3.2v5*)
6202   symcode='[DT]'
6203   ;;
6204 sysv4.2uw2*)
6205   symcode='[DT]'
6206   ;;
6207 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6208   symcode='[ABDT]'
6209   ;;
6210 sysv4)
6211   symcode='[DFNSTU]'
6212   ;;
6213 esac
6214
6215 # If we're using GNU nm, then use its standard symbol codes.
6216 case `$NM -V 2>&1` in
6217 *GNU* | *'with BFD'*)
6218   symcode='[ABCDGIRSTW]' ;;
6219 esac
6220
6221 # Transform an extracted symbol line into a proper C declaration.
6222 # Some systems (esp. on ia64) link data and code symbols differently,
6223 # so use this general approach.
6224 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6225
6226 # Transform an extracted symbol line into symbol name and symbol address
6227 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6228 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'"
6229
6230 # Handle CRLF in mingw tool chain
6231 opt_cr=
6232 case $build_os in
6233 mingw*)
6234   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6235   ;;
6236 esac
6237
6238 # Try without a prefix underscore, then with it.
6239 for ac_symprfx in "" "_"; do
6240
6241   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6242   symxfrm="\\1 $ac_symprfx\\2 \\2"
6243
6244   # Write the raw and C identifiers.
6245   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6246     # Fake it for dumpbin and say T for any non-static function
6247     # and D for any global variable.
6248     # Also find C++ and __fastcall symbols from MSVC++,
6249     # which start with @ or ?.
6250     lt_cv_sys_global_symbol_pipe="$AWK '"\
6251 "     {last_section=section; section=\$ 3};"\
6252 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6253 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6254 "     \$ 0!~/External *\|/{next};"\
6255 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6256 "     {if(hide[section]) next};"\
6257 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6258 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6259 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6260 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6261 "     ' prfx=^$ac_symprfx"
6262   else
6263     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6264   fi
6265   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6266
6267   # Check to see that the pipe works correctly.
6268   pipe_works=no
6269
6270   rm -f conftest*
6271   cat > conftest.$ac_ext <<_LT_EOF
6272 #ifdef __cplusplus
6273 extern "C" {
6274 #endif
6275 char nm_test_var;
6276 void nm_test_func(void);
6277 void nm_test_func(void){}
6278 #ifdef __cplusplus
6279 }
6280 #endif
6281 int main(){nm_test_var='a';nm_test_func();return(0);}
6282 _LT_EOF
6283
6284   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6285   (eval $ac_compile) 2>&5
6286   ac_status=$?
6287   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6288   test $ac_status = 0; }; then
6289     # Now try to grab the symbols.
6290     nlist=conftest.nm
6291     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6292   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6293   ac_status=$?
6294   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6295   test $ac_status = 0; } && test -s "$nlist"; then
6296       # Try sorting and uniquifying the output.
6297       if sort "$nlist" | uniq > "$nlist"T; then
6298         mv -f "$nlist"T "$nlist"
6299       else
6300         rm -f "$nlist"T
6301       fi
6302
6303       # Make sure that we snagged all the symbols we need.
6304       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6305         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6306           cat <<_LT_EOF > conftest.$ac_ext
6307 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6308 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6309 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6310    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6311 # define LT_DLSYM_CONST
6312 #elif defined(__osf__)
6313 /* This system does not cope well with relocations in const data.  */
6314 # define LT_DLSYM_CONST
6315 #else
6316 # define LT_DLSYM_CONST const
6317 #endif
6318
6319 #ifdef __cplusplus
6320 extern "C" {
6321 #endif
6322
6323 _LT_EOF
6324           # Now generate the symbol file.
6325           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6326
6327           cat <<_LT_EOF >> conftest.$ac_ext
6328
6329 /* The mapping between symbol names and symbols.  */
6330 LT_DLSYM_CONST struct {
6331   const char *name;
6332   void       *address;
6333 }
6334 lt__PROGRAM__LTX_preloaded_symbols[] =
6335 {
6336   { "@PROGRAM@", (void *) 0 },
6337 _LT_EOF
6338           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6339           cat <<\_LT_EOF >> conftest.$ac_ext
6340   {0, (void *) 0}
6341 };
6342
6343 /* This works around a problem in FreeBSD linker */
6344 #ifdef FREEBSD_WORKAROUND
6345 static const void *lt_preloaded_setup() {
6346   return lt__PROGRAM__LTX_preloaded_symbols;
6347 }
6348 #endif
6349
6350 #ifdef __cplusplus
6351 }
6352 #endif
6353 _LT_EOF
6354           # Now try linking the two files.
6355           mv conftest.$ac_objext conftstm.$ac_objext
6356           lt_globsym_save_LIBS=$LIBS
6357           lt_globsym_save_CFLAGS=$CFLAGS
6358           LIBS="conftstm.$ac_objext"
6359           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6360           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6361   (eval $ac_link) 2>&5
6362   ac_status=$?
6363   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6364   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6365             pipe_works=yes
6366           fi
6367           LIBS=$lt_globsym_save_LIBS
6368           CFLAGS=$lt_globsym_save_CFLAGS
6369         else
6370           echo "cannot find nm_test_func in $nlist" >&5
6371         fi
6372       else
6373         echo "cannot find nm_test_var in $nlist" >&5
6374       fi
6375     else
6376       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6377     fi
6378   else
6379     echo "$progname: failed program was:" >&5
6380     cat conftest.$ac_ext >&5
6381   fi
6382   rm -rf conftest* conftst*
6383
6384   # Do not use the global_symbol_pipe unless it works.
6385   if test "$pipe_works" = yes; then
6386     break
6387   else
6388     lt_cv_sys_global_symbol_pipe=
6389   fi
6390 done
6391
6392 fi
6393
6394 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6395   lt_cv_sys_global_symbol_to_cdecl=
6396 fi
6397 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6399 $as_echo "failed" >&6; }
6400 else
6401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6402 $as_echo "ok" >&6; }
6403 fi
6404
6405 # Response file support.
6406 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6407   nm_file_list_spec='@'
6408 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6409   nm_file_list_spec='@'
6410 fi
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6439 $as_echo_n "checking for sysroot... " >&6; }
6440
6441 # Check whether --with-sysroot was given.
6442 if test "${with_sysroot+set}" = set; then :
6443   withval=$with_sysroot;
6444 else
6445   with_sysroot=no
6446 fi
6447
6448
6449 lt_sysroot=
6450 case ${with_sysroot} in #(
6451  yes)
6452    if test "$GCC" = yes; then
6453      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6454    fi
6455    ;; #(
6456  /*)
6457    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6458    ;; #(
6459  no|'')
6460    ;; #(
6461  *)
6462    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6463 $as_echo "${with_sysroot}" >&6; }
6464    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6465    ;;
6466 esac
6467
6468  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6469 $as_echo "${lt_sysroot:-no}" >&6; }
6470
6471
6472
6473
6474
6475 # Check whether --enable-libtool-lock was given.
6476 if test "${enable_libtool_lock+set}" = set; then :
6477   enableval=$enable_libtool_lock;
6478 fi
6479
6480 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6481
6482 # Some flags need to be propagated to the compiler or linker for good
6483 # libtool support.
6484 case $host in
6485 ia64-*-hpux*)
6486   # Find out which ABI we are using.
6487   echo 'int i;' > conftest.$ac_ext
6488   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6489   (eval $ac_compile) 2>&5
6490   ac_status=$?
6491   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6492   test $ac_status = 0; }; then
6493     case `/usr/bin/file conftest.$ac_objext` in
6494       *ELF-32*)
6495         HPUX_IA64_MODE="32"
6496         ;;
6497       *ELF-64*)
6498         HPUX_IA64_MODE="64"
6499         ;;
6500     esac
6501   fi
6502   rm -rf conftest*
6503   ;;
6504 *-*-irix6*)
6505   # Find out which ABI we are using.
6506   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6507   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6508   (eval $ac_compile) 2>&5
6509   ac_status=$?
6510   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6511   test $ac_status = 0; }; then
6512     if test "$lt_cv_prog_gnu_ld" = yes; then
6513       case `/usr/bin/file conftest.$ac_objext` in
6514         *32-bit*)
6515           LD="${LD-ld} -melf32bsmip"
6516           ;;
6517         *N32*)
6518           LD="${LD-ld} -melf32bmipn32"
6519           ;;
6520         *64-bit*)
6521           LD="${LD-ld} -melf64bmip"
6522         ;;
6523       esac
6524     else
6525       case `/usr/bin/file conftest.$ac_objext` in
6526         *32-bit*)
6527           LD="${LD-ld} -32"
6528           ;;
6529         *N32*)
6530           LD="${LD-ld} -n32"
6531           ;;
6532         *64-bit*)
6533           LD="${LD-ld} -64"
6534           ;;
6535       esac
6536     fi
6537   fi
6538   rm -rf conftest*
6539   ;;
6540
6541 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6542 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6543   # Find out which ABI we are using.
6544   echo 'int i;' > conftest.$ac_ext
6545   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6546   (eval $ac_compile) 2>&5
6547   ac_status=$?
6548   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6549   test $ac_status = 0; }; then
6550     case `/usr/bin/file conftest.o` in
6551       *32-bit*)
6552         case $host in
6553           x86_64-*kfreebsd*-gnu)
6554             LD="${LD-ld} -m elf_i386_fbsd"
6555             ;;
6556           x86_64-*linux*)
6557             LD="${LD-ld} -m elf_i386"
6558             ;;
6559           ppc64-*linux*|powerpc64-*linux*)
6560             LD="${LD-ld} -m elf32ppclinux"
6561             ;;
6562           s390x-*linux*)
6563             LD="${LD-ld} -m elf_s390"
6564             ;;
6565           sparc64-*linux*)
6566             LD="${LD-ld} -m elf32_sparc"
6567             ;;
6568         esac
6569         ;;
6570       *64-bit*)
6571         case $host in
6572           x86_64-*kfreebsd*-gnu)
6573             LD="${LD-ld} -m elf_x86_64_fbsd"
6574             ;;
6575           x86_64-*linux*)
6576             LD="${LD-ld} -m elf_x86_64"
6577             ;;
6578           ppc*-*linux*|powerpc*-*linux*)
6579             LD="${LD-ld} -m elf64ppc"
6580             ;;
6581           s390*-*linux*|s390*-*tpf*)
6582             LD="${LD-ld} -m elf64_s390"
6583             ;;
6584           sparc*-*linux*)
6585             LD="${LD-ld} -m elf64_sparc"
6586             ;;
6587         esac
6588         ;;
6589     esac
6590   fi
6591   rm -rf conftest*
6592   ;;
6593
6594 *-*-sco3.2v5*)
6595   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6596   SAVE_CFLAGS="$CFLAGS"
6597   CFLAGS="$CFLAGS -belf"
6598   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6599 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6600 if ${lt_cv_cc_needs_belf+:} false; then :
6601   $as_echo_n "(cached) " >&6
6602 else
6603   ac_ext=c
6604 ac_cpp='$CPP $CPPFLAGS'
6605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6608
6609      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6610 /* end confdefs.h.  */
6611
6612 int
6613 main ()
6614 {
6615
6616   ;
6617   return 0;
6618 }
6619 _ACEOF
6620 if ac_fn_c_try_link "$LINENO"; then :
6621   lt_cv_cc_needs_belf=yes
6622 else
6623   lt_cv_cc_needs_belf=no
6624 fi
6625 rm -f core conftest.err conftest.$ac_objext \
6626     conftest$ac_exeext conftest.$ac_ext
6627      ac_ext=c
6628 ac_cpp='$CPP $CPPFLAGS'
6629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6632
6633 fi
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6635 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6636   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6637     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6638     CFLAGS="$SAVE_CFLAGS"
6639   fi
6640   ;;
6641 *-*solaris*)
6642   # Find out which ABI we are using.
6643   echo 'int i;' > conftest.$ac_ext
6644   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6645   (eval $ac_compile) 2>&5
6646   ac_status=$?
6647   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6648   test $ac_status = 0; }; then
6649     case `/usr/bin/file conftest.o` in
6650     *64-bit*)
6651       case $lt_cv_prog_gnu_ld in
6652       yes*)
6653         case $host in
6654         i?86-*-solaris*)
6655           LD="${LD-ld} -m elf_x86_64"
6656           ;;
6657         sparc*-*-solaris*)
6658           LD="${LD-ld} -m elf64_sparc"
6659           ;;
6660         esac
6661         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6662         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6663           LD="${LD-ld}_sol2"
6664         fi
6665         ;;
6666       *)
6667         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6668           LD="${LD-ld} -64"
6669         fi
6670         ;;
6671       esac
6672       ;;
6673     esac
6674   fi
6675   rm -rf conftest*
6676   ;;
6677 esac
6678
6679 need_locks="$enable_libtool_lock"
6680
6681 if test -n "$ac_tool_prefix"; then
6682   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6683 set dummy ${ac_tool_prefix}mt; ac_word=$2
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6685 $as_echo_n "checking for $ac_word... " >&6; }
6686 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6687   $as_echo_n "(cached) " >&6
6688 else
6689   if test -n "$MANIFEST_TOOL"; then
6690   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6691 else
6692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6693 for as_dir in $PATH
6694 do
6695   IFS=$as_save_IFS
6696   test -z "$as_dir" && as_dir=.
6697     for ac_exec_ext in '' $ac_executable_extensions; do
6698   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6699     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6700     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6701     break 2
6702   fi
6703 done
6704   done
6705 IFS=$as_save_IFS
6706
6707 fi
6708 fi
6709 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6710 if test -n "$MANIFEST_TOOL"; then
6711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6712 $as_echo "$MANIFEST_TOOL" >&6; }
6713 else
6714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6715 $as_echo "no" >&6; }
6716 fi
6717
6718
6719 fi
6720 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6721   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6722   # Extract the first word of "mt", so it can be a program name with args.
6723 set dummy mt; ac_word=$2
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6725 $as_echo_n "checking for $ac_word... " >&6; }
6726 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6727   $as_echo_n "(cached) " >&6
6728 else
6729   if test -n "$ac_ct_MANIFEST_TOOL"; then
6730   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6731 else
6732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6733 for as_dir in $PATH
6734 do
6735   IFS=$as_save_IFS
6736   test -z "$as_dir" && as_dir=.
6737     for ac_exec_ext in '' $ac_executable_extensions; do
6738   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6739     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6740     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6741     break 2
6742   fi
6743 done
6744   done
6745 IFS=$as_save_IFS
6746
6747 fi
6748 fi
6749 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6750 if test -n "$ac_ct_MANIFEST_TOOL"; then
6751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6752 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6753 else
6754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6755 $as_echo "no" >&6; }
6756 fi
6757
6758   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6759     MANIFEST_TOOL=":"
6760   else
6761     case $cross_compiling:$ac_tool_warned in
6762 yes:)
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6764 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6765 ac_tool_warned=yes ;;
6766 esac
6767     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6768   fi
6769 else
6770   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6771 fi
6772
6773 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6775 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6776 if ${lt_cv_path_mainfest_tool+:} false; then :
6777   $as_echo_n "(cached) " >&6
6778 else
6779   lt_cv_path_mainfest_tool=no
6780   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6781   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6782   cat conftest.err >&5
6783   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6784     lt_cv_path_mainfest_tool=yes
6785   fi
6786   rm -f conftest*
6787 fi
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6789 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6790 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6791   MANIFEST_TOOL=:
6792 fi
6793
6794
6795
6796
6797
6798
6799   case $host_os in
6800     rhapsody* | darwin*)
6801     if test -n "$ac_tool_prefix"; then
6802   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6803 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6805 $as_echo_n "checking for $ac_word... " >&6; }
6806 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6807   $as_echo_n "(cached) " >&6
6808 else
6809   if test -n "$DSYMUTIL"; then
6810   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6811 else
6812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6813 for as_dir in $PATH
6814 do
6815   IFS=$as_save_IFS
6816   test -z "$as_dir" && as_dir=.
6817     for ac_exec_ext in '' $ac_executable_extensions; do
6818   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6819     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6820     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6821     break 2
6822   fi
6823 done
6824   done
6825 IFS=$as_save_IFS
6826
6827 fi
6828 fi
6829 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6830 if test -n "$DSYMUTIL"; then
6831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6832 $as_echo "$DSYMUTIL" >&6; }
6833 else
6834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6835 $as_echo "no" >&6; }
6836 fi
6837
6838
6839 fi
6840 if test -z "$ac_cv_prog_DSYMUTIL"; then
6841   ac_ct_DSYMUTIL=$DSYMUTIL
6842   # Extract the first word of "dsymutil", so it can be a program name with args.
6843 set dummy dsymutil; ac_word=$2
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6845 $as_echo_n "checking for $ac_word... " >&6; }
6846 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6847   $as_echo_n "(cached) " >&6
6848 else
6849   if test -n "$ac_ct_DSYMUTIL"; then
6850   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6851 else
6852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6853 for as_dir in $PATH
6854 do
6855   IFS=$as_save_IFS
6856   test -z "$as_dir" && as_dir=.
6857     for ac_exec_ext in '' $ac_executable_extensions; do
6858   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6859     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6860     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6861     break 2
6862   fi
6863 done
6864   done
6865 IFS=$as_save_IFS
6866
6867 fi
6868 fi
6869 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6870 if test -n "$ac_ct_DSYMUTIL"; then
6871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6872 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6873 else
6874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6875 $as_echo "no" >&6; }
6876 fi
6877
6878   if test "x$ac_ct_DSYMUTIL" = x; then
6879     DSYMUTIL=":"
6880   else
6881     case $cross_compiling:$ac_tool_warned in
6882 yes:)
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6884 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6885 ac_tool_warned=yes ;;
6886 esac
6887     DSYMUTIL=$ac_ct_DSYMUTIL
6888   fi
6889 else
6890   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6891 fi
6892
6893     if test -n "$ac_tool_prefix"; then
6894   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6895 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6897 $as_echo_n "checking for $ac_word... " >&6; }
6898 if ${ac_cv_prog_NMEDIT+:} false; then :
6899   $as_echo_n "(cached) " >&6
6900 else
6901   if test -n "$NMEDIT"; then
6902   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6903 else
6904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6905 for as_dir in $PATH
6906 do
6907   IFS=$as_save_IFS
6908   test -z "$as_dir" && as_dir=.
6909     for ac_exec_ext in '' $ac_executable_extensions; do
6910   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6911     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6912     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6913     break 2
6914   fi
6915 done
6916   done
6917 IFS=$as_save_IFS
6918
6919 fi
6920 fi
6921 NMEDIT=$ac_cv_prog_NMEDIT
6922 if test -n "$NMEDIT"; then
6923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6924 $as_echo "$NMEDIT" >&6; }
6925 else
6926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6927 $as_echo "no" >&6; }
6928 fi
6929
6930
6931 fi
6932 if test -z "$ac_cv_prog_NMEDIT"; then
6933   ac_ct_NMEDIT=$NMEDIT
6934   # Extract the first word of "nmedit", so it can be a program name with args.
6935 set dummy nmedit; ac_word=$2
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6937 $as_echo_n "checking for $ac_word... " >&6; }
6938 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6939   $as_echo_n "(cached) " >&6
6940 else
6941   if test -n "$ac_ct_NMEDIT"; then
6942   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6943 else
6944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6945 for as_dir in $PATH
6946 do
6947   IFS=$as_save_IFS
6948   test -z "$as_dir" && as_dir=.
6949     for ac_exec_ext in '' $ac_executable_extensions; do
6950   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6951     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6952     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6953     break 2
6954   fi
6955 done
6956   done
6957 IFS=$as_save_IFS
6958
6959 fi
6960 fi
6961 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6962 if test -n "$ac_ct_NMEDIT"; then
6963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6964 $as_echo "$ac_ct_NMEDIT" >&6; }
6965 else
6966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6967 $as_echo "no" >&6; }
6968 fi
6969
6970   if test "x$ac_ct_NMEDIT" = x; then
6971     NMEDIT=":"
6972   else
6973     case $cross_compiling:$ac_tool_warned in
6974 yes:)
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6976 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6977 ac_tool_warned=yes ;;
6978 esac
6979     NMEDIT=$ac_ct_NMEDIT
6980   fi
6981 else
6982   NMEDIT="$ac_cv_prog_NMEDIT"
6983 fi
6984
6985     if test -n "$ac_tool_prefix"; then
6986   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6987 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6989 $as_echo_n "checking for $ac_word... " >&6; }
6990 if ${ac_cv_prog_LIPO+:} false; then :
6991   $as_echo_n "(cached) " >&6
6992 else
6993   if test -n "$LIPO"; then
6994   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6995 else
6996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6997 for as_dir in $PATH
6998 do
6999   IFS=$as_save_IFS
7000   test -z "$as_dir" && as_dir=.
7001     for ac_exec_ext in '' $ac_executable_extensions; do
7002   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7003     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7004     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7005     break 2
7006   fi
7007 done
7008   done
7009 IFS=$as_save_IFS
7010
7011 fi
7012 fi
7013 LIPO=$ac_cv_prog_LIPO
7014 if test -n "$LIPO"; then
7015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7016 $as_echo "$LIPO" >&6; }
7017 else
7018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7019 $as_echo "no" >&6; }
7020 fi
7021
7022
7023 fi
7024 if test -z "$ac_cv_prog_LIPO"; then
7025   ac_ct_LIPO=$LIPO
7026   # Extract the first word of "lipo", so it can be a program name with args.
7027 set dummy lipo; ac_word=$2
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7029 $as_echo_n "checking for $ac_word... " >&6; }
7030 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7031   $as_echo_n "(cached) " >&6
7032 else
7033   if test -n "$ac_ct_LIPO"; then
7034   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7035 else
7036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7037 for as_dir in $PATH
7038 do
7039   IFS=$as_save_IFS
7040   test -z "$as_dir" && as_dir=.
7041     for ac_exec_ext in '' $ac_executable_extensions; do
7042   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7043     ac_cv_prog_ac_ct_LIPO="lipo"
7044     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7045     break 2
7046   fi
7047 done
7048   done
7049 IFS=$as_save_IFS
7050
7051 fi
7052 fi
7053 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7054 if test -n "$ac_ct_LIPO"; then
7055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7056 $as_echo "$ac_ct_LIPO" >&6; }
7057 else
7058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7059 $as_echo "no" >&6; }
7060 fi
7061
7062   if test "x$ac_ct_LIPO" = x; then
7063     LIPO=":"
7064   else
7065     case $cross_compiling:$ac_tool_warned in
7066 yes:)
7067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7068 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7069 ac_tool_warned=yes ;;
7070 esac
7071     LIPO=$ac_ct_LIPO
7072   fi
7073 else
7074   LIPO="$ac_cv_prog_LIPO"
7075 fi
7076
7077     if test -n "$ac_tool_prefix"; then
7078   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7079 set dummy ${ac_tool_prefix}otool; ac_word=$2
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7081 $as_echo_n "checking for $ac_word... " >&6; }
7082 if ${ac_cv_prog_OTOOL+:} false; then :
7083   $as_echo_n "(cached) " >&6
7084 else
7085   if test -n "$OTOOL"; then
7086   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7087 else
7088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7089 for as_dir in $PATH
7090 do
7091   IFS=$as_save_IFS
7092   test -z "$as_dir" && as_dir=.
7093     for ac_exec_ext in '' $ac_executable_extensions; do
7094   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7095     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7096     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7097     break 2
7098   fi
7099 done
7100   done
7101 IFS=$as_save_IFS
7102
7103 fi
7104 fi
7105 OTOOL=$ac_cv_prog_OTOOL
7106 if test -n "$OTOOL"; then
7107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7108 $as_echo "$OTOOL" >&6; }
7109 else
7110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7111 $as_echo "no" >&6; }
7112 fi
7113
7114
7115 fi
7116 if test -z "$ac_cv_prog_OTOOL"; then
7117   ac_ct_OTOOL=$OTOOL
7118   # Extract the first word of "otool", so it can be a program name with args.
7119 set dummy otool; ac_word=$2
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7121 $as_echo_n "checking for $ac_word... " >&6; }
7122 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7123   $as_echo_n "(cached) " >&6
7124 else
7125   if test -n "$ac_ct_OTOOL"; then
7126   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7127 else
7128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7129 for as_dir in $PATH
7130 do
7131   IFS=$as_save_IFS
7132   test -z "$as_dir" && as_dir=.
7133     for ac_exec_ext in '' $ac_executable_extensions; do
7134   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7135     ac_cv_prog_ac_ct_OTOOL="otool"
7136     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7137     break 2
7138   fi
7139 done
7140   done
7141 IFS=$as_save_IFS
7142
7143 fi
7144 fi
7145 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7146 if test -n "$ac_ct_OTOOL"; then
7147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7148 $as_echo "$ac_ct_OTOOL" >&6; }
7149 else
7150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7151 $as_echo "no" >&6; }
7152 fi
7153
7154   if test "x$ac_ct_OTOOL" = x; then
7155     OTOOL=":"
7156   else
7157     case $cross_compiling:$ac_tool_warned in
7158 yes:)
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7160 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7161 ac_tool_warned=yes ;;
7162 esac
7163     OTOOL=$ac_ct_OTOOL
7164   fi
7165 else
7166   OTOOL="$ac_cv_prog_OTOOL"
7167 fi
7168
7169     if test -n "$ac_tool_prefix"; then
7170   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7171 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7173 $as_echo_n "checking for $ac_word... " >&6; }
7174 if ${ac_cv_prog_OTOOL64+:} false; then :
7175   $as_echo_n "(cached) " >&6
7176 else
7177   if test -n "$OTOOL64"; then
7178   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7179 else
7180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7181 for as_dir in $PATH
7182 do
7183   IFS=$as_save_IFS
7184   test -z "$as_dir" && as_dir=.
7185     for ac_exec_ext in '' $ac_executable_extensions; do
7186   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7187     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7188     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7189     break 2
7190   fi
7191 done
7192   done
7193 IFS=$as_save_IFS
7194
7195 fi
7196 fi
7197 OTOOL64=$ac_cv_prog_OTOOL64
7198 if test -n "$OTOOL64"; then
7199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7200 $as_echo "$OTOOL64" >&6; }
7201 else
7202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7203 $as_echo "no" >&6; }
7204 fi
7205
7206
7207 fi
7208 if test -z "$ac_cv_prog_OTOOL64"; then
7209   ac_ct_OTOOL64=$OTOOL64
7210   # Extract the first word of "otool64", so it can be a program name with args.
7211 set dummy otool64; ac_word=$2
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7213 $as_echo_n "checking for $ac_word... " >&6; }
7214 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7215   $as_echo_n "(cached) " >&6
7216 else
7217   if test -n "$ac_ct_OTOOL64"; then
7218   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7219 else
7220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7221 for as_dir in $PATH
7222 do
7223   IFS=$as_save_IFS
7224   test -z "$as_dir" && as_dir=.
7225     for ac_exec_ext in '' $ac_executable_extensions; do
7226   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7227     ac_cv_prog_ac_ct_OTOOL64="otool64"
7228     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7229     break 2
7230   fi
7231 done
7232   done
7233 IFS=$as_save_IFS
7234
7235 fi
7236 fi
7237 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7238 if test -n "$ac_ct_OTOOL64"; then
7239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7240 $as_echo "$ac_ct_OTOOL64" >&6; }
7241 else
7242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7243 $as_echo "no" >&6; }
7244 fi
7245
7246   if test "x$ac_ct_OTOOL64" = x; then
7247     OTOOL64=":"
7248   else
7249     case $cross_compiling:$ac_tool_warned in
7250 yes:)
7251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7252 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7253 ac_tool_warned=yes ;;
7254 esac
7255     OTOOL64=$ac_ct_OTOOL64
7256   fi
7257 else
7258   OTOOL64="$ac_cv_prog_OTOOL64"
7259 fi
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7288 $as_echo_n "checking for -single_module linker flag... " >&6; }
7289 if ${lt_cv_apple_cc_single_mod+:} false; then :
7290   $as_echo_n "(cached) " >&6
7291 else
7292   lt_cv_apple_cc_single_mod=no
7293       if test -z "${LT_MULTI_MODULE}"; then
7294         # By default we will add the -single_module flag. You can override
7295         # by either setting the environment variable LT_MULTI_MODULE
7296         # non-empty at configure time, or by adding -multi_module to the
7297         # link flags.
7298         rm -rf libconftest.dylib*
7299         echo "int foo(void){return 1;}" > conftest.c
7300         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7301 -dynamiclib -Wl,-single_module conftest.c" >&5
7302         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7303           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7304         _lt_result=$?
7305         # If there is a non-empty error log, and "single_module"
7306         # appears in it, assume the flag caused a linker warning
7307         if test -s conftest.err && $GREP single_module conftest.err; then
7308           cat conftest.err >&5
7309         # Otherwise, if the output was created with a 0 exit code from
7310         # the compiler, it worked.
7311         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7312           lt_cv_apple_cc_single_mod=yes
7313         else
7314           cat conftest.err >&5
7315         fi
7316         rm -rf libconftest.dylib*
7317         rm -f conftest.*
7318       fi
7319 fi
7320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7321 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7322
7323     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7324 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7325 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7326   $as_echo_n "(cached) " >&6
7327 else
7328   lt_cv_ld_exported_symbols_list=no
7329       save_LDFLAGS=$LDFLAGS
7330       echo "_main" > conftest.sym
7331       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7332       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7333 /* end confdefs.h.  */
7334
7335 int
7336 main ()
7337 {
7338
7339   ;
7340   return 0;
7341 }
7342 _ACEOF
7343 if ac_fn_c_try_link "$LINENO"; then :
7344   lt_cv_ld_exported_symbols_list=yes
7345 else
7346   lt_cv_ld_exported_symbols_list=no
7347 fi
7348 rm -f core conftest.err conftest.$ac_objext \
7349     conftest$ac_exeext conftest.$ac_ext
7350         LDFLAGS="$save_LDFLAGS"
7351
7352 fi
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7354 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7355
7356     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7357 $as_echo_n "checking for -force_load linker flag... " >&6; }
7358 if ${lt_cv_ld_force_load+:} false; then :
7359   $as_echo_n "(cached) " >&6
7360 else
7361   lt_cv_ld_force_load=no
7362       cat > conftest.c << _LT_EOF
7363 int forced_loaded() { return 2;}
7364 _LT_EOF
7365       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7366       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7367       echo "$AR cru libconftest.a conftest.o" >&5
7368       $AR cru libconftest.a conftest.o 2>&5
7369       echo "$RANLIB libconftest.a" >&5
7370       $RANLIB libconftest.a 2>&5
7371       cat > conftest.c << _LT_EOF
7372 int main() { return 0;}
7373 _LT_EOF
7374       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7375       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7376       _lt_result=$?
7377       if test -s conftest.err && $GREP force_load conftest.err; then
7378         cat conftest.err >&5
7379       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7380         lt_cv_ld_force_load=yes
7381       else
7382         cat conftest.err >&5
7383       fi
7384         rm -f conftest.err libconftest.a conftest conftest.c
7385         rm -rf conftest.dSYM
7386
7387 fi
7388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7389 $as_echo "$lt_cv_ld_force_load" >&6; }
7390     case $host_os in
7391     rhapsody* | darwin1.[012])
7392       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7393     darwin1.*)
7394       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7395     darwin*) # darwin 5.x on
7396       # if running on 10.5 or later, the deployment target defaults
7397       # to the OS version, if on x86, and 10.4, the deployment
7398       # target defaults to 10.4. Don't you love it?
7399       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7400         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7401           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7402         10.[012]*)
7403           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7404         10.*)
7405           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7406       esac
7407     ;;
7408   esac
7409     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7410       _lt_dar_single_mod='$single_module'
7411     fi
7412     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7413       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7414     else
7415       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7416     fi
7417     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7418       _lt_dsymutil='~$DSYMUTIL $lib || :'
7419     else
7420       _lt_dsymutil=
7421     fi
7422     ;;
7423   esac
7424
7425 ac_ext=c
7426 ac_cpp='$CPP $CPPFLAGS'
7427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7431 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7432 # On Suns, sometimes $CPP names a directory.
7433 if test -n "$CPP" && test -d "$CPP"; then
7434   CPP=
7435 fi
7436 if test -z "$CPP"; then
7437   if ${ac_cv_prog_CPP+:} false; then :
7438   $as_echo_n "(cached) " >&6
7439 else
7440       # Double quotes because CPP needs to be expanded
7441     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7442     do
7443       ac_preproc_ok=false
7444 for ac_c_preproc_warn_flag in '' yes
7445 do
7446   # Use a header file that comes with gcc, so configuring glibc
7447   # with a fresh cross-compiler works.
7448   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7449   # <limits.h> exists even on freestanding compilers.
7450   # On the NeXT, cc -E runs the code through the compiler's parser,
7451   # not just through cpp. "Syntax error" is here to catch this case.
7452   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7453 /* end confdefs.h.  */
7454 #ifdef __STDC__
7455 # include <limits.h>
7456 #else
7457 # include <assert.h>
7458 #endif
7459                      Syntax error
7460 _ACEOF
7461 if ac_fn_c_try_cpp "$LINENO"; then :
7462
7463 else
7464   # Broken: fails on valid input.
7465 continue
7466 fi
7467 rm -f conftest.err conftest.i conftest.$ac_ext
7468
7469   # OK, works on sane cases.  Now check whether nonexistent headers
7470   # can be detected and how.
7471   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7472 /* end confdefs.h.  */
7473 #include <ac_nonexistent.h>
7474 _ACEOF
7475 if ac_fn_c_try_cpp "$LINENO"; then :
7476   # Broken: success on invalid input.
7477 continue
7478 else
7479   # Passes both tests.
7480 ac_preproc_ok=:
7481 break
7482 fi
7483 rm -f conftest.err conftest.i conftest.$ac_ext
7484
7485 done
7486 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7487 rm -f conftest.i conftest.err conftest.$ac_ext
7488 if $ac_preproc_ok; then :
7489   break
7490 fi
7491
7492     done
7493     ac_cv_prog_CPP=$CPP
7494
7495 fi
7496   CPP=$ac_cv_prog_CPP
7497 else
7498   ac_cv_prog_CPP=$CPP
7499 fi
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7501 $as_echo "$CPP" >&6; }
7502 ac_preproc_ok=false
7503 for ac_c_preproc_warn_flag in '' yes
7504 do
7505   # Use a header file that comes with gcc, so configuring glibc
7506   # with a fresh cross-compiler works.
7507   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7508   # <limits.h> exists even on freestanding compilers.
7509   # On the NeXT, cc -E runs the code through the compiler's parser,
7510   # not just through cpp. "Syntax error" is here to catch this case.
7511   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7512 /* end confdefs.h.  */
7513 #ifdef __STDC__
7514 # include <limits.h>
7515 #else
7516 # include <assert.h>
7517 #endif
7518                      Syntax error
7519 _ACEOF
7520 if ac_fn_c_try_cpp "$LINENO"; then :
7521
7522 else
7523   # Broken: fails on valid input.
7524 continue
7525 fi
7526 rm -f conftest.err conftest.i conftest.$ac_ext
7527
7528   # OK, works on sane cases.  Now check whether nonexistent headers
7529   # can be detected and how.
7530   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7531 /* end confdefs.h.  */
7532 #include <ac_nonexistent.h>
7533 _ACEOF
7534 if ac_fn_c_try_cpp "$LINENO"; then :
7535   # Broken: success on invalid input.
7536 continue
7537 else
7538   # Passes both tests.
7539 ac_preproc_ok=:
7540 break
7541 fi
7542 rm -f conftest.err conftest.i conftest.$ac_ext
7543
7544 done
7545 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7546 rm -f conftest.i conftest.err conftest.$ac_ext
7547 if $ac_preproc_ok; then :
7548
7549 else
7550   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7551 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7552 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7553 See \`config.log' for more details" "$LINENO" 5; }
7554 fi
7555
7556 ac_ext=c
7557 ac_cpp='$CPP $CPPFLAGS'
7558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7561
7562
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7564 $as_echo_n "checking for ANSI C header files... " >&6; }
7565 if ${ac_cv_header_stdc+:} false; then :
7566   $as_echo_n "(cached) " >&6
7567 else
7568   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7569 /* end confdefs.h.  */
7570 #include <stdlib.h>
7571 #include <stdarg.h>
7572 #include <string.h>
7573 #include <float.h>
7574
7575 int
7576 main ()
7577 {
7578
7579   ;
7580   return 0;
7581 }
7582 _ACEOF
7583 if ac_fn_c_try_compile "$LINENO"; then :
7584   ac_cv_header_stdc=yes
7585 else
7586   ac_cv_header_stdc=no
7587 fi
7588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7589
7590 if test $ac_cv_header_stdc = yes; then
7591   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7593 /* end confdefs.h.  */
7594 #include <string.h>
7595
7596 _ACEOF
7597 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7598   $EGREP "memchr" >/dev/null 2>&1; then :
7599
7600 else
7601   ac_cv_header_stdc=no
7602 fi
7603 rm -f conftest*
7604
7605 fi
7606
7607 if test $ac_cv_header_stdc = yes; then
7608   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7609   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7610 /* end confdefs.h.  */
7611 #include <stdlib.h>
7612
7613 _ACEOF
7614 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7615   $EGREP "free" >/dev/null 2>&1; then :
7616
7617 else
7618   ac_cv_header_stdc=no
7619 fi
7620 rm -f conftest*
7621
7622 fi
7623
7624 if test $ac_cv_header_stdc = yes; then
7625   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7626   if test "$cross_compiling" = yes; then :
7627   :
7628 else
7629   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7630 /* end confdefs.h.  */
7631 #include <ctype.h>
7632 #include <stdlib.h>
7633 #if ((' ' & 0x0FF) == 0x020)
7634 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7635 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7636 #else
7637 # define ISLOWER(c) \
7638                    (('a' <= (c) && (c) <= 'i') \
7639                      || ('j' <= (c) && (c) <= 'r') \
7640                      || ('s' <= (c) && (c) <= 'z'))
7641 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7642 #endif
7643
7644 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7645 int
7646 main ()
7647 {
7648   int i;
7649   for (i = 0; i < 256; i++)
7650     if (XOR (islower (i), ISLOWER (i))
7651         || toupper (i) != TOUPPER (i))
7652       return 2;
7653   return 0;
7654 }
7655 _ACEOF
7656 if ac_fn_c_try_run "$LINENO"; then :
7657
7658 else
7659   ac_cv_header_stdc=no
7660 fi
7661 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7662   conftest.$ac_objext conftest.beam conftest.$ac_ext
7663 fi
7664
7665 fi
7666 fi
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7668 $as_echo "$ac_cv_header_stdc" >&6; }
7669 if test $ac_cv_header_stdc = yes; then
7670
7671 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7672
7673 fi
7674
7675 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7676 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7677                   inttypes.h stdint.h unistd.h
7678 do :
7679   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7680 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7681 "
7682 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7683   cat >>confdefs.h <<_ACEOF
7684 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7685 _ACEOF
7686
7687 fi
7688
7689 done
7690
7691
7692 for ac_header in dlfcn.h
7693 do :
7694   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7695 "
7696 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7697   cat >>confdefs.h <<_ACEOF
7698 #define HAVE_DLFCN_H 1
7699 _ACEOF
7700
7701 fi
7702
7703 done
7704
7705
7706
7707
7708
7709 # Set options
7710 # Check whether --enable-static was given.
7711 if test "${enable_static+set}" = set; then :
7712   enableval=$enable_static; p=${PACKAGE-default}
7713     case $enableval in
7714     yes) enable_static=yes ;;
7715     no) enable_static=no ;;
7716     *)
7717      enable_static=no
7718       # Look at the argument we got.  We use all the common list separators.
7719       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7720       for pkg in $enableval; do
7721         IFS="$lt_save_ifs"
7722         if test "X$pkg" = "X$p"; then
7723           enable_static=yes
7724         fi
7725       done
7726       IFS="$lt_save_ifs"
7727       ;;
7728     esac
7729 else
7730   enable_static=no
7731 fi
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742         enable_dlopen=no
7743
7744
7745   enable_win32_dll=no
7746
7747
7748             # Check whether --enable-shared was given.
7749 if test "${enable_shared+set}" = set; then :
7750   enableval=$enable_shared; p=${PACKAGE-default}
7751     case $enableval in
7752     yes) enable_shared=yes ;;
7753     no) enable_shared=no ;;
7754     *)
7755       enable_shared=no
7756       # Look at the argument we got.  We use all the common list separators.
7757       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7758       for pkg in $enableval; do
7759         IFS="$lt_save_ifs"
7760         if test "X$pkg" = "X$p"; then
7761           enable_shared=yes
7762         fi
7763       done
7764       IFS="$lt_save_ifs"
7765       ;;
7766     esac
7767 else
7768   enable_shared=yes
7769 fi
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781 # Check whether --with-pic was given.
7782 if test "${with_pic+set}" = set; then :
7783   withval=$with_pic; lt_p=${PACKAGE-default}
7784     case $withval in
7785     yes|no) pic_mode=$withval ;;
7786     *)
7787       pic_mode=default
7788       # Look at the argument we got.  We use all the common list separators.
7789       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7790       for lt_pkg in $withval; do
7791         IFS="$lt_save_ifs"
7792         if test "X$lt_pkg" = "X$lt_p"; then
7793           pic_mode=yes
7794         fi
7795       done
7796       IFS="$lt_save_ifs"
7797       ;;
7798     esac
7799 else
7800   pic_mode=default
7801 fi
7802
7803
7804 test -z "$pic_mode" && pic_mode=default
7805
7806
7807
7808
7809
7810
7811
7812   # Check whether --enable-fast-install was given.
7813 if test "${enable_fast_install+set}" = set; then :
7814   enableval=$enable_fast_install; p=${PACKAGE-default}
7815     case $enableval in
7816     yes) enable_fast_install=yes ;;
7817     no) enable_fast_install=no ;;
7818     *)
7819       enable_fast_install=no
7820       # Look at the argument we got.  We use all the common list separators.
7821       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7822       for pkg in $enableval; do
7823         IFS="$lt_save_ifs"
7824         if test "X$pkg" = "X$p"; then
7825           enable_fast_install=yes
7826         fi
7827       done
7828       IFS="$lt_save_ifs"
7829       ;;
7830     esac
7831 else
7832   enable_fast_install=yes
7833 fi
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845 # This can be used to rebuild libtool when needed
7846 LIBTOOL_DEPS="$ltmain"
7847
7848 # Always use our own libtool.
7849 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880 test -z "$LN_S" && LN_S="ln -s"
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895 if test -n "${ZSH_VERSION+set}" ; then
7896    setopt NO_GLOB_SUBST
7897 fi
7898
7899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7900 $as_echo_n "checking for objdir... " >&6; }
7901 if ${lt_cv_objdir+:} false; then :
7902   $as_echo_n "(cached) " >&6
7903 else
7904   rm -f .libs 2>/dev/null
7905 mkdir .libs 2>/dev/null
7906 if test -d .libs; then
7907   lt_cv_objdir=.libs
7908 else
7909   # MS-DOS does not allow filenames that begin with a dot.
7910   lt_cv_objdir=_libs
7911 fi
7912 rmdir .libs 2>/dev/null
7913 fi
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7915 $as_echo "$lt_cv_objdir" >&6; }
7916 objdir=$lt_cv_objdir
7917
7918
7919
7920
7921
7922 cat >>confdefs.h <<_ACEOF
7923 #define LT_OBJDIR "$lt_cv_objdir/"
7924 _ACEOF
7925
7926
7927
7928
7929 case $host_os in
7930 aix3*)
7931   # AIX sometimes has problems with the GCC collect2 program.  For some
7932   # reason, if we set the COLLECT_NAMES environment variable, the problems
7933   # vanish in a puff of smoke.
7934   if test "X${COLLECT_NAMES+set}" != Xset; then
7935     COLLECT_NAMES=
7936     export COLLECT_NAMES
7937   fi
7938   ;;
7939 esac
7940
7941 # Global variables:
7942 ofile=libtool
7943 can_build_shared=yes
7944
7945 # All known linkers require a `.a' archive for static linking (except MSVC,
7946 # which needs '.lib').
7947 libext=a
7948
7949 with_gnu_ld="$lt_cv_prog_gnu_ld"
7950
7951 old_CC="$CC"
7952 old_CFLAGS="$CFLAGS"
7953
7954 # Set sane defaults for various variables
7955 test -z "$CC" && CC=cc
7956 test -z "$LTCC" && LTCC=$CC
7957 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7958 test -z "$LD" && LD=ld
7959 test -z "$ac_objext" && ac_objext=o
7960
7961 for cc_temp in $compiler""; do
7962   case $cc_temp in
7963     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7964     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7965     \-*) ;;
7966     *) break;;
7967   esac
7968 done
7969 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7970
7971
7972 # Only perform the check for file, if the check method requires it
7973 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7974 case $deplibs_check_method in
7975 file_magic*)
7976   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7977     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7978 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7979 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7980   $as_echo_n "(cached) " >&6
7981 else
7982   case $MAGIC_CMD in
7983 [\\/*] |  ?:[\\/]*)
7984   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7985   ;;
7986 *)
7987   lt_save_MAGIC_CMD="$MAGIC_CMD"
7988   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7989   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7990   for ac_dir in $ac_dummy; do
7991     IFS="$lt_save_ifs"
7992     test -z "$ac_dir" && ac_dir=.
7993     if test -f $ac_dir/${ac_tool_prefix}file; then
7994       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7995       if test -n "$file_magic_test_file"; then
7996         case $deplibs_check_method in
7997         "file_magic "*)
7998           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7999           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8000           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8001             $EGREP "$file_magic_regex" > /dev/null; then
8002             :
8003           else
8004             cat <<_LT_EOF 1>&2
8005
8006 *** Warning: the command libtool uses to detect shared libraries,
8007 *** $file_magic_cmd, produces output that libtool cannot recognize.
8008 *** The result is that libtool may fail to recognize shared libraries
8009 *** as such.  This will affect the creation of libtool libraries that
8010 *** depend on shared libraries, but programs linked with such libtool
8011 *** libraries will work regardless of this problem.  Nevertheless, you
8012 *** may want to report the problem to your system manager and/or to
8013 *** bug-libtool@gnu.org
8014
8015 _LT_EOF
8016           fi ;;
8017         esac
8018       fi
8019       break
8020     fi
8021   done
8022   IFS="$lt_save_ifs"
8023   MAGIC_CMD="$lt_save_MAGIC_CMD"
8024   ;;
8025 esac
8026 fi
8027
8028 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8029 if test -n "$MAGIC_CMD"; then
8030   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8031 $as_echo "$MAGIC_CMD" >&6; }
8032 else
8033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8034 $as_echo "no" >&6; }
8035 fi
8036
8037
8038
8039
8040
8041 if test -z "$lt_cv_path_MAGIC_CMD"; then
8042   if test -n "$ac_tool_prefix"; then
8043     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8044 $as_echo_n "checking for file... " >&6; }
8045 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8046   $as_echo_n "(cached) " >&6
8047 else
8048   case $MAGIC_CMD in
8049 [\\/*] |  ?:[\\/]*)
8050   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8051   ;;
8052 *)
8053   lt_save_MAGIC_CMD="$MAGIC_CMD"
8054   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8055   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8056   for ac_dir in $ac_dummy; do
8057     IFS="$lt_save_ifs"
8058     test -z "$ac_dir" && ac_dir=.
8059     if test -f $ac_dir/file; then
8060       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8061       if test -n "$file_magic_test_file"; then
8062         case $deplibs_check_method in
8063         "file_magic "*)
8064           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8065           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8066           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8067             $EGREP "$file_magic_regex" > /dev/null; then
8068             :
8069           else
8070             cat <<_LT_EOF 1>&2
8071
8072 *** Warning: the command libtool uses to detect shared libraries,
8073 *** $file_magic_cmd, produces output that libtool cannot recognize.
8074 *** The result is that libtool may fail to recognize shared libraries
8075 *** as such.  This will affect the creation of libtool libraries that
8076 *** depend on shared libraries, but programs linked with such libtool
8077 *** libraries will work regardless of this problem.  Nevertheless, you
8078 *** may want to report the problem to your system manager and/or to
8079 *** bug-libtool@gnu.org
8080
8081 _LT_EOF
8082           fi ;;
8083         esac
8084       fi
8085       break
8086     fi
8087   done
8088   IFS="$lt_save_ifs"
8089   MAGIC_CMD="$lt_save_MAGIC_CMD"
8090   ;;
8091 esac
8092 fi
8093
8094 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8095 if test -n "$MAGIC_CMD"; then
8096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8097 $as_echo "$MAGIC_CMD" >&6; }
8098 else
8099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8100 $as_echo "no" >&6; }
8101 fi
8102
8103
8104   else
8105     MAGIC_CMD=:
8106   fi
8107 fi
8108
8109   fi
8110   ;;
8111 esac
8112
8113 # Use C for the default configuration in the libtool script
8114
8115 lt_save_CC="$CC"
8116 ac_ext=c
8117 ac_cpp='$CPP $CPPFLAGS'
8118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8121
8122
8123 # Source file extension for C test sources.
8124 ac_ext=c
8125
8126 # Object file extension for compiled C test sources.
8127 objext=o
8128 objext=$objext
8129
8130 # Code to be used in simple compile tests
8131 lt_simple_compile_test_code="int some_variable = 0;"
8132
8133 # Code to be used in simple link tests
8134 lt_simple_link_test_code='int main(){return(0);}'
8135
8136
8137
8138
8139
8140
8141
8142 # If no C compiler was specified, use CC.
8143 LTCC=${LTCC-"$CC"}
8144
8145 # If no C compiler flags were specified, use CFLAGS.
8146 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8147
8148 # Allow CC to be a program name with arguments.
8149 compiler=$CC
8150
8151 # Save the default compiler, since it gets overwritten when the other
8152 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8153 compiler_DEFAULT=$CC
8154
8155 # save warnings/boilerplate of simple test code
8156 ac_outfile=conftest.$ac_objext
8157 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8158 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8159 _lt_compiler_boilerplate=`cat conftest.err`
8160 $RM conftest*
8161
8162 ac_outfile=conftest.$ac_objext
8163 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8164 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8165 _lt_linker_boilerplate=`cat conftest.err`
8166 $RM -r conftest*
8167
8168
8169 ## CAVEAT EMPTOR:
8170 ## There is no encapsulation within the following macros, do not change
8171 ## the running order or otherwise move them around unless you know exactly
8172 ## what you are doing...
8173 if test -n "$compiler"; then
8174
8175 lt_prog_compiler_no_builtin_flag=
8176
8177 if test "$GCC" = yes; then
8178   case $cc_basename in
8179   nvcc*)
8180     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8181   *)
8182     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8183   esac
8184
8185   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8186 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8187 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8188   $as_echo_n "(cached) " >&6
8189 else
8190   lt_cv_prog_compiler_rtti_exceptions=no
8191    ac_outfile=conftest.$ac_objext
8192    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8193    lt_compiler_flag="-fno-rtti -fno-exceptions"
8194    # Insert the option either (1) after the last *FLAGS variable, or
8195    # (2) before a word containing "conftest.", or (3) at the end.
8196    # Note that $ac_compile itself does not contain backslashes and begins
8197    # with a dollar sign (not a hyphen), so the echo should work correctly.
8198    # The option is referenced via a variable to avoid confusing sed.
8199    lt_compile=`echo "$ac_compile" | $SED \
8200    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8201    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8202    -e 's:$: $lt_compiler_flag:'`
8203    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8204    (eval "$lt_compile" 2>conftest.err)
8205    ac_status=$?
8206    cat conftest.err >&5
8207    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8208    if (exit $ac_status) && test -s "$ac_outfile"; then
8209      # The compiler can only warn and ignore the option if not recognized
8210      # So say no if there are warnings other than the usual output.
8211      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8212      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8213      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8214        lt_cv_prog_compiler_rtti_exceptions=yes
8215      fi
8216    fi
8217    $RM conftest*
8218
8219 fi
8220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8221 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8222
8223 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8224     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8225 else
8226     :
8227 fi
8228
8229 fi
8230
8231
8232
8233
8234
8235
8236   lt_prog_compiler_wl=
8237 lt_prog_compiler_pic=
8238 lt_prog_compiler_static=
8239
8240
8241   if test "$GCC" = yes; then
8242     lt_prog_compiler_wl='-Wl,'
8243     lt_prog_compiler_static='-static'
8244
8245     case $host_os in
8246       aix*)
8247       # All AIX code is PIC.
8248       if test "$host_cpu" = ia64; then
8249         # AIX 5 now supports IA64 processor
8250         lt_prog_compiler_static='-Bstatic'
8251       fi
8252       ;;
8253
8254     amigaos*)
8255       case $host_cpu in
8256       powerpc)
8257             # see comment about AmigaOS4 .so support
8258             lt_prog_compiler_pic='-fPIC'
8259         ;;
8260       m68k)
8261             # FIXME: we need at least 68020 code to build shared libraries, but
8262             # adding the `-m68020' flag to GCC prevents building anything better,
8263             # like `-m68040'.
8264             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8265         ;;
8266       esac
8267       ;;
8268
8269     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8270       # PIC is the default for these OSes.
8271       ;;
8272
8273     mingw* | cygwin* | pw32* | os2* | cegcc*)
8274       # This hack is so that the source file can tell whether it is being
8275       # built for inclusion in a dll (and should export symbols for example).
8276       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8277       # (--disable-auto-import) libraries
8278       lt_prog_compiler_pic='-DDLL_EXPORT'
8279       ;;
8280
8281     darwin* | rhapsody*)
8282       # PIC is the default on this platform
8283       # Common symbols not allowed in MH_DYLIB files
8284       lt_prog_compiler_pic='-fno-common'
8285       ;;
8286
8287     haiku*)
8288       # PIC is the default for Haiku.
8289       # The "-static" flag exists, but is broken.
8290       lt_prog_compiler_static=
8291       ;;
8292
8293     hpux*)
8294       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8295       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8296       # sets the default TLS model and affects inlining.
8297       case $host_cpu in
8298       hppa*64*)
8299         # +Z the default
8300         ;;
8301       *)
8302         lt_prog_compiler_pic='-fPIC'
8303         ;;
8304       esac
8305       ;;
8306
8307     interix[3-9]*)
8308       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8309       # Instead, we relocate shared libraries at runtime.
8310       ;;
8311
8312     msdosdjgpp*)
8313       # Just because we use GCC doesn't mean we suddenly get shared libraries
8314       # on systems that don't support them.
8315       lt_prog_compiler_can_build_shared=no
8316       enable_shared=no
8317       ;;
8318
8319     *nto* | *qnx*)
8320       # QNX uses GNU C++, but need to define -shared option too, otherwise
8321       # it will coredump.
8322       lt_prog_compiler_pic='-fPIC -shared'
8323       ;;
8324
8325     sysv4*MP*)
8326       if test -d /usr/nec; then
8327         lt_prog_compiler_pic=-Kconform_pic
8328       fi
8329       ;;
8330
8331     *)
8332       lt_prog_compiler_pic='-fPIC'
8333       ;;
8334     esac
8335
8336     case $cc_basename in
8337     nvcc*) # Cuda Compiler Driver 2.2
8338       lt_prog_compiler_wl='-Xlinker '
8339       if test -n "$lt_prog_compiler_pic"; then
8340         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8341       fi
8342       ;;
8343     esac
8344   else
8345     # PORTME Check for flag to pass linker flags through the system compiler.
8346     case $host_os in
8347     aix*)
8348       lt_prog_compiler_wl='-Wl,'
8349       if test "$host_cpu" = ia64; then
8350         # AIX 5 now supports IA64 processor
8351         lt_prog_compiler_static='-Bstatic'
8352       else
8353         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8354       fi
8355       ;;
8356
8357     mingw* | cygwin* | pw32* | os2* | cegcc*)
8358       # This hack is so that the source file can tell whether it is being
8359       # built for inclusion in a dll (and should export symbols for example).
8360       lt_prog_compiler_pic='-DDLL_EXPORT'
8361       ;;
8362
8363     hpux9* | hpux10* | hpux11*)
8364       lt_prog_compiler_wl='-Wl,'
8365       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8366       # not for PA HP-UX.
8367       case $host_cpu in
8368       hppa*64*|ia64*)
8369         # +Z the default
8370         ;;
8371       *)
8372         lt_prog_compiler_pic='+Z'
8373         ;;
8374       esac
8375       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8376       lt_prog_compiler_static='${wl}-a ${wl}archive'
8377       ;;
8378
8379     irix5* | irix6* | nonstopux*)
8380       lt_prog_compiler_wl='-Wl,'
8381       # PIC (with -KPIC) is the default.
8382       lt_prog_compiler_static='-non_shared'
8383       ;;
8384
8385     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8386       case $cc_basename in
8387       # old Intel for x86_64 which still supported -KPIC.
8388       ecc*)
8389         lt_prog_compiler_wl='-Wl,'
8390         lt_prog_compiler_pic='-KPIC'
8391         lt_prog_compiler_static='-static'
8392         ;;
8393       # icc used to be incompatible with GCC.
8394       # ICC 10 doesn't accept -KPIC any more.
8395       icc* | ifort*)
8396         lt_prog_compiler_wl='-Wl,'
8397         lt_prog_compiler_pic='-fPIC'
8398         lt_prog_compiler_static='-static'
8399         ;;
8400       # Lahey Fortran 8.1.
8401       lf95*)
8402         lt_prog_compiler_wl='-Wl,'
8403         lt_prog_compiler_pic='--shared'
8404         lt_prog_compiler_static='--static'
8405         ;;
8406       nagfor*)
8407         # NAG Fortran compiler
8408         lt_prog_compiler_wl='-Wl,-Wl,,'
8409         lt_prog_compiler_pic='-PIC'
8410         lt_prog_compiler_static='-Bstatic'
8411         ;;
8412       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8413         # Portland Group compilers (*not* the Pentium gcc compiler,
8414         # which looks to be a dead project)
8415         lt_prog_compiler_wl='-Wl,'
8416         lt_prog_compiler_pic='-fpic'
8417         lt_prog_compiler_static='-Bstatic'
8418         ;;
8419       ccc*)
8420         lt_prog_compiler_wl='-Wl,'
8421         # All Alpha code is PIC.
8422         lt_prog_compiler_static='-non_shared'
8423         ;;
8424       xl* | bgxl* | bgf* | mpixl*)
8425         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8426         lt_prog_compiler_wl='-Wl,'
8427         lt_prog_compiler_pic='-qpic'
8428         lt_prog_compiler_static='-qstaticlink'
8429         ;;
8430       *)
8431         case `$CC -V 2>&1 | sed 5q` in
8432         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8433           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8434           lt_prog_compiler_pic='-KPIC'
8435           lt_prog_compiler_static='-Bstatic'
8436           lt_prog_compiler_wl=''
8437           ;;
8438         *Sun\ F* | *Sun*Fortran*)
8439           lt_prog_compiler_pic='-KPIC'
8440           lt_prog_compiler_static='-Bstatic'
8441           lt_prog_compiler_wl='-Qoption ld '
8442           ;;
8443         *Sun\ C*)
8444           # Sun C 5.9
8445           lt_prog_compiler_pic='-KPIC'
8446           lt_prog_compiler_static='-Bstatic'
8447           lt_prog_compiler_wl='-Wl,'
8448           ;;
8449         *Intel*\ [CF]*Compiler*)
8450           lt_prog_compiler_wl='-Wl,'
8451           lt_prog_compiler_pic='-fPIC'
8452           lt_prog_compiler_static='-static'
8453           ;;
8454         *Portland\ Group*)
8455           lt_prog_compiler_wl='-Wl,'
8456           lt_prog_compiler_pic='-fpic'
8457           lt_prog_compiler_static='-Bstatic'
8458           ;;
8459         esac
8460         ;;
8461       esac
8462       ;;
8463
8464     newsos6)
8465       lt_prog_compiler_pic='-KPIC'
8466       lt_prog_compiler_static='-Bstatic'
8467       ;;
8468
8469     *nto* | *qnx*)
8470       # QNX uses GNU C++, but need to define -shared option too, otherwise
8471       # it will coredump.
8472       lt_prog_compiler_pic='-fPIC -shared'
8473       ;;
8474
8475     osf3* | osf4* | osf5*)
8476       lt_prog_compiler_wl='-Wl,'
8477       # All OSF/1 code is PIC.
8478       lt_prog_compiler_static='-non_shared'
8479       ;;
8480
8481     rdos*)
8482       lt_prog_compiler_static='-non_shared'
8483       ;;
8484
8485     solaris*)
8486       lt_prog_compiler_pic='-KPIC'
8487       lt_prog_compiler_static='-Bstatic'
8488       case $cc_basename in
8489       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8490         lt_prog_compiler_wl='-Qoption ld ';;
8491       *)
8492         lt_prog_compiler_wl='-Wl,';;
8493       esac
8494       ;;
8495
8496     sunos4*)
8497       lt_prog_compiler_wl='-Qoption ld '
8498       lt_prog_compiler_pic='-PIC'
8499       lt_prog_compiler_static='-Bstatic'
8500       ;;
8501
8502     sysv4 | sysv4.2uw2* | sysv4.3*)
8503       lt_prog_compiler_wl='-Wl,'
8504       lt_prog_compiler_pic='-KPIC'
8505       lt_prog_compiler_static='-Bstatic'
8506       ;;
8507
8508     sysv4*MP*)
8509       if test -d /usr/nec ;then
8510         lt_prog_compiler_pic='-Kconform_pic'
8511         lt_prog_compiler_static='-Bstatic'
8512       fi
8513       ;;
8514
8515     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8516       lt_prog_compiler_wl='-Wl,'
8517       lt_prog_compiler_pic='-KPIC'
8518       lt_prog_compiler_static='-Bstatic'
8519       ;;
8520
8521     unicos*)
8522       lt_prog_compiler_wl='-Wl,'
8523       lt_prog_compiler_can_build_shared=no
8524       ;;
8525
8526     uts4*)
8527       lt_prog_compiler_pic='-pic'
8528       lt_prog_compiler_static='-Bstatic'
8529       ;;
8530
8531     *)
8532       lt_prog_compiler_can_build_shared=no
8533       ;;
8534     esac
8535   fi
8536
8537 case $host_os in
8538   # For platforms which do not support PIC, -DPIC is meaningless:
8539   *djgpp*)
8540     lt_prog_compiler_pic=
8541     ;;
8542   *)
8543     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8544     ;;
8545 esac
8546
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8548 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8549 if ${lt_cv_prog_compiler_pic+:} false; then :
8550   $as_echo_n "(cached) " >&6
8551 else
8552   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8553 fi
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8555 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8556 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8557
8558 #
8559 # Check to make sure the PIC flag actually works.
8560 #
8561 if test -n "$lt_prog_compiler_pic"; then
8562   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8563 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8564 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8565   $as_echo_n "(cached) " >&6
8566 else
8567   lt_cv_prog_compiler_pic_works=no
8568    ac_outfile=conftest.$ac_objext
8569    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8570    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8571    # Insert the option either (1) after the last *FLAGS variable, or
8572    # (2) before a word containing "conftest.", or (3) at the end.
8573    # Note that $ac_compile itself does not contain backslashes and begins
8574    # with a dollar sign (not a hyphen), so the echo should work correctly.
8575    # The option is referenced via a variable to avoid confusing sed.
8576    lt_compile=`echo "$ac_compile" | $SED \
8577    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8578    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8579    -e 's:$: $lt_compiler_flag:'`
8580    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8581    (eval "$lt_compile" 2>conftest.err)
8582    ac_status=$?
8583    cat conftest.err >&5
8584    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8585    if (exit $ac_status) && test -s "$ac_outfile"; then
8586      # The compiler can only warn and ignore the option if not recognized
8587      # So say no if there are warnings other than the usual output.
8588      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8589      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8590      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8591        lt_cv_prog_compiler_pic_works=yes
8592      fi
8593    fi
8594    $RM conftest*
8595
8596 fi
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8598 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8599
8600 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8601     case $lt_prog_compiler_pic in
8602      "" | " "*) ;;
8603      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8604      esac
8605 else
8606     lt_prog_compiler_pic=
8607      lt_prog_compiler_can_build_shared=no
8608 fi
8609
8610 fi
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622 #
8623 # Check to make sure the static flag actually works.
8624 #
8625 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8627 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8628 if ${lt_cv_prog_compiler_static_works+:} false; then :
8629   $as_echo_n "(cached) " >&6
8630 else
8631   lt_cv_prog_compiler_static_works=no
8632    save_LDFLAGS="$LDFLAGS"
8633    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8634    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8635    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8636      # The linker can only warn and ignore the option if not recognized
8637      # So say no if there are warnings
8638      if test -s conftest.err; then
8639        # Append any errors to the config.log.
8640        cat conftest.err 1>&5
8641        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8642        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8643        if diff conftest.exp conftest.er2 >/dev/null; then
8644          lt_cv_prog_compiler_static_works=yes
8645        fi
8646      else
8647        lt_cv_prog_compiler_static_works=yes
8648      fi
8649    fi
8650    $RM -r conftest*
8651    LDFLAGS="$save_LDFLAGS"
8652
8653 fi
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8655 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8656
8657 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8658     :
8659 else
8660     lt_prog_compiler_static=
8661 fi
8662
8663
8664
8665
8666
8667
8668
8669   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8670 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8671 if ${lt_cv_prog_compiler_c_o+:} false; then :
8672   $as_echo_n "(cached) " >&6
8673 else
8674   lt_cv_prog_compiler_c_o=no
8675    $RM -r conftest 2>/dev/null
8676    mkdir conftest
8677    cd conftest
8678    mkdir out
8679    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8680
8681    lt_compiler_flag="-o out/conftest2.$ac_objext"
8682    # Insert the option either (1) after the last *FLAGS variable, or
8683    # (2) before a word containing "conftest.", or (3) at the end.
8684    # Note that $ac_compile itself does not contain backslashes and begins
8685    # with a dollar sign (not a hyphen), so the echo should work correctly.
8686    lt_compile=`echo "$ac_compile" | $SED \
8687    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8688    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8689    -e 's:$: $lt_compiler_flag:'`
8690    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8691    (eval "$lt_compile" 2>out/conftest.err)
8692    ac_status=$?
8693    cat out/conftest.err >&5
8694    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8695    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8696    then
8697      # The compiler can only warn and ignore the option if not recognized
8698      # So say no if there are warnings
8699      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8700      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8701      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8702        lt_cv_prog_compiler_c_o=yes
8703      fi
8704    fi
8705    chmod u+w . 2>&5
8706    $RM conftest*
8707    # SGI C++ compiler will create directory out/ii_files/ for
8708    # template instantiation
8709    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8710    $RM out/* && rmdir out
8711    cd ..
8712    $RM -r conftest
8713    $RM conftest*
8714
8715 fi
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8717 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8718
8719
8720
8721
8722
8723
8724   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8725 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8726 if ${lt_cv_prog_compiler_c_o+:} false; then :
8727   $as_echo_n "(cached) " >&6
8728 else
8729   lt_cv_prog_compiler_c_o=no
8730    $RM -r conftest 2>/dev/null
8731    mkdir conftest
8732    cd conftest
8733    mkdir out
8734    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8735
8736    lt_compiler_flag="-o out/conftest2.$ac_objext"
8737    # Insert the option either (1) after the last *FLAGS variable, or
8738    # (2) before a word containing "conftest.", or (3) at the end.
8739    # Note that $ac_compile itself does not contain backslashes and begins
8740    # with a dollar sign (not a hyphen), so the echo should work correctly.
8741    lt_compile=`echo "$ac_compile" | $SED \
8742    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8743    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8744    -e 's:$: $lt_compiler_flag:'`
8745    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8746    (eval "$lt_compile" 2>out/conftest.err)
8747    ac_status=$?
8748    cat out/conftest.err >&5
8749    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8750    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8751    then
8752      # The compiler can only warn and ignore the option if not recognized
8753      # So say no if there are warnings
8754      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8755      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8756      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8757        lt_cv_prog_compiler_c_o=yes
8758      fi
8759    fi
8760    chmod u+w . 2>&5
8761    $RM conftest*
8762    # SGI C++ compiler will create directory out/ii_files/ for
8763    # template instantiation
8764    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8765    $RM out/* && rmdir out
8766    cd ..
8767    $RM -r conftest
8768    $RM conftest*
8769
8770 fi
8771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8772 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8773
8774
8775
8776
8777 hard_links="nottested"
8778 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8779   # do not overwrite the value of need_locks provided by the user
8780   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8781 $as_echo_n "checking if we can lock with hard links... " >&6; }
8782   hard_links=yes
8783   $RM conftest*
8784   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8785   touch conftest.a
8786   ln conftest.a conftest.b 2>&5 || hard_links=no
8787   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8789 $as_echo "$hard_links" >&6; }
8790   if test "$hard_links" = no; then
8791     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8792 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8793     need_locks=warn
8794   fi
8795 else
8796   need_locks=no
8797 fi
8798
8799
8800
8801
8802
8803
8804   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8805 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8806
8807   runpath_var=
8808   allow_undefined_flag=
8809   always_export_symbols=no
8810   archive_cmds=
8811   archive_expsym_cmds=
8812   compiler_needs_object=no
8813   enable_shared_with_static_runtimes=no
8814   export_dynamic_flag_spec=
8815   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8816   hardcode_automatic=no
8817   hardcode_direct=no
8818   hardcode_direct_absolute=no
8819   hardcode_libdir_flag_spec=
8820   hardcode_libdir_separator=
8821   hardcode_minus_L=no
8822   hardcode_shlibpath_var=unsupported
8823   inherit_rpath=no
8824   link_all_deplibs=unknown
8825   module_cmds=
8826   module_expsym_cmds=
8827   old_archive_from_new_cmds=
8828   old_archive_from_expsyms_cmds=
8829   thread_safe_flag_spec=
8830   whole_archive_flag_spec=
8831   # include_expsyms should be a list of space-separated symbols to be *always*
8832   # included in the symbol list
8833   include_expsyms=
8834   # exclude_expsyms can be an extended regexp of symbols to exclude
8835   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8836   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8837   # as well as any symbol that contains `d'.
8838   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8839   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8840   # platforms (ab)use it in PIC code, but their linkers get confused if
8841   # the symbol is explicitly referenced.  Since portable code cannot
8842   # rely on this symbol name, it's probably fine to never include it in
8843   # preloaded symbol tables.
8844   # Exclude shared library initialization/finalization symbols.
8845   extract_expsyms_cmds=
8846
8847   case $host_os in
8848   cygwin* | mingw* | pw32* | cegcc*)
8849     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8850     # When not using gcc, we currently assume that we are using
8851     # Microsoft Visual C++.
8852     if test "$GCC" != yes; then
8853       with_gnu_ld=no
8854     fi
8855     ;;
8856   interix*)
8857     # we just hope/assume this is gcc and not c89 (= MSVC++)
8858     with_gnu_ld=yes
8859     ;;
8860   openbsd*)
8861     with_gnu_ld=no
8862     ;;
8863   linux* | k*bsd*-gnu | gnu*)
8864     link_all_deplibs=no
8865     ;;
8866   esac
8867
8868   ld_shlibs=yes
8869
8870   # On some targets, GNU ld is compatible enough with the native linker
8871   # that we're better off using the native interface for both.
8872   lt_use_gnu_ld_interface=no
8873   if test "$with_gnu_ld" = yes; then
8874     case $host_os in
8875       aix*)
8876         # The AIX port of GNU ld has always aspired to compatibility
8877         # with the native linker.  However, as the warning in the GNU ld
8878         # block says, versions before 2.19.5* couldn't really create working
8879         # shared libraries, regardless of the interface used.
8880         case `$LD -v 2>&1` in
8881           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8882           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8883           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8884           *)
8885             lt_use_gnu_ld_interface=yes
8886             ;;
8887         esac
8888         ;;
8889       *)
8890         lt_use_gnu_ld_interface=yes
8891         ;;
8892     esac
8893   fi
8894
8895   if test "$lt_use_gnu_ld_interface" = yes; then
8896     # If archive_cmds runs LD, not CC, wlarc should be empty
8897     wlarc='${wl}'
8898
8899     # Set some defaults for GNU ld with shared library support. These
8900     # are reset later if shared libraries are not supported. Putting them
8901     # here allows them to be overridden if necessary.
8902     runpath_var=LD_RUN_PATH
8903     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8904     export_dynamic_flag_spec='${wl}--export-dynamic'
8905     # ancient GNU ld didn't support --whole-archive et. al.
8906     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8907       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8908     else
8909       whole_archive_flag_spec=
8910     fi
8911     supports_anon_versioning=no
8912     case `$LD -v 2>&1` in
8913       *GNU\ gold*) supports_anon_versioning=yes ;;
8914       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8915       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8916       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8917       *\ 2.11.*) ;; # other 2.11 versions
8918       *) supports_anon_versioning=yes ;;
8919     esac
8920
8921     # See if GNU ld supports shared libraries.
8922     case $host_os in
8923     aix[3-9]*)
8924       # On AIX/PPC, the GNU linker is very broken
8925       if test "$host_cpu" != ia64; then
8926         ld_shlibs=no
8927         cat <<_LT_EOF 1>&2
8928
8929 *** Warning: the GNU linker, at least up to release 2.19, is reported
8930 *** to be unable to reliably create shared libraries on AIX.
8931 *** Therefore, libtool is disabling shared libraries support.  If you
8932 *** really care for shared libraries, you may want to install binutils
8933 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8934 *** You will then need to restart the configuration process.
8935
8936 _LT_EOF
8937       fi
8938       ;;
8939
8940     amigaos*)
8941       case $host_cpu in
8942       powerpc)
8943             # see comment about AmigaOS4 .so support
8944             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8945             archive_expsym_cmds=''
8946         ;;
8947       m68k)
8948             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)'
8949             hardcode_libdir_flag_spec='-L$libdir'
8950             hardcode_minus_L=yes
8951         ;;
8952       esac
8953       ;;
8954
8955     beos*)
8956       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8957         allow_undefined_flag=unsupported
8958         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8959         # support --undefined.  This deserves some investigation.  FIXME
8960         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8961       else
8962         ld_shlibs=no
8963       fi
8964       ;;
8965
8966     cygwin* | mingw* | pw32* | cegcc*)
8967       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8968       # as there is no search path for DLLs.
8969       hardcode_libdir_flag_spec='-L$libdir'
8970       export_dynamic_flag_spec='${wl}--export-all-symbols'
8971       allow_undefined_flag=unsupported
8972       always_export_symbols=no
8973       enable_shared_with_static_runtimes=yes
8974       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'
8975       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8976
8977       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8978         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8979         # If the export-symbols file already is a .def file (1st line
8980         # is EXPORTS), use it as is; otherwise, prepend...
8981         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8982           cp $export_symbols $output_objdir/$soname.def;
8983         else
8984           echo EXPORTS > $output_objdir/$soname.def;
8985           cat $export_symbols >> $output_objdir/$soname.def;
8986         fi~
8987         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8988       else
8989         ld_shlibs=no
8990       fi
8991       ;;
8992
8993     haiku*)
8994       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8995       link_all_deplibs=yes
8996       ;;
8997
8998     interix[3-9]*)
8999       hardcode_direct=no
9000       hardcode_shlibpath_var=no
9001       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9002       export_dynamic_flag_spec='${wl}-E'
9003       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9004       # Instead, shared libraries are loaded at an image base (0x10000000 by
9005       # default) and relocated if they conflict, which is a slow very memory
9006       # consuming and fragmenting process.  To avoid this, we pick a random,
9007       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9008       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9009       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9010       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'
9011       ;;
9012
9013     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9014       tmp_diet=no
9015       if test "$host_os" = linux-dietlibc; then
9016         case $cc_basename in
9017           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9018         esac
9019       fi
9020       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9021          && test "$tmp_diet" = no
9022       then
9023         tmp_addflag=' $pic_flag'
9024         tmp_sharedflag='-shared'
9025         case $cc_basename,$host_cpu in
9026         pgcc*)                          # Portland Group C compiler
9027           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'
9028           tmp_addflag=' $pic_flag'
9029           ;;
9030         pgf77* | pgf90* | pgf95* | pgfortran*)
9031                                         # Portland Group f77 and f90 compilers
9032           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'
9033           tmp_addflag=' $pic_flag -Mnomain' ;;
9034         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9035           tmp_addflag=' -i_dynamic' ;;
9036         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9037           tmp_addflag=' -i_dynamic -nofor_main' ;;
9038         ifc* | ifort*)                  # Intel Fortran compiler
9039           tmp_addflag=' -nofor_main' ;;
9040         lf95*)                          # Lahey Fortran 8.1
9041           whole_archive_flag_spec=
9042           tmp_sharedflag='--shared' ;;
9043         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9044           tmp_sharedflag='-qmkshrobj'
9045           tmp_addflag= ;;
9046         nvcc*)  # Cuda Compiler Driver 2.2
9047           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'
9048           compiler_needs_object=yes
9049           ;;
9050         esac
9051         case `$CC -V 2>&1 | sed 5q` in
9052         *Sun\ C*)                       # Sun C 5.9
9053           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'
9054           compiler_needs_object=yes
9055           tmp_sharedflag='-G' ;;
9056         *Sun\ F*)                       # Sun Fortran 8.3
9057           tmp_sharedflag='-G' ;;
9058         esac
9059         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9060
9061         if test "x$supports_anon_versioning" = xyes; then
9062           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9063             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9064             echo "local: *; };" >> $output_objdir/$libname.ver~
9065             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9066         fi
9067
9068         case $cc_basename in
9069         xlf* | bgf* | bgxlf* | mpixlf*)
9070           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9071           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9072           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9073           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9074           if test "x$supports_anon_versioning" = xyes; then
9075             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9076               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9077               echo "local: *; };" >> $output_objdir/$libname.ver~
9078               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9079           fi
9080           ;;
9081         esac
9082       else
9083         ld_shlibs=no
9084       fi
9085       ;;
9086
9087     netbsd* | netbsdelf*-gnu)
9088       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9089         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9090         wlarc=
9091       else
9092         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9093         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9094       fi
9095       ;;
9096
9097     solaris*)
9098       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9099         ld_shlibs=no
9100         cat <<_LT_EOF 1>&2
9101
9102 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9103 *** create shared libraries on Solaris systems.  Therefore, libtool
9104 *** is disabling shared libraries support.  We urge you to upgrade GNU
9105 *** binutils to release 2.9.1 or newer.  Another option is to modify
9106 *** your PATH or compiler configuration so that the native linker is
9107 *** used, and then restart.
9108
9109 _LT_EOF
9110       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9111         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9112         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9113       else
9114         ld_shlibs=no
9115       fi
9116       ;;
9117
9118     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9119       case `$LD -v 2>&1` in
9120         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9121         ld_shlibs=no
9122         cat <<_LT_EOF 1>&2
9123
9124 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9125 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9126 *** is disabling shared libraries support.  We urge you to upgrade GNU
9127 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9128 *** your PATH or compiler configuration so that the native linker is
9129 *** used, and then restart.
9130
9131 _LT_EOF
9132         ;;
9133         *)
9134           # For security reasons, it is highly recommended that you always
9135           # use absolute paths for naming shared libraries, and exclude the
9136           # DT_RUNPATH tag from executables and libraries.  But doing so
9137           # requires that you compile everything twice, which is a pain.
9138           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9139             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9140             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9141             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9142           else
9143             ld_shlibs=no
9144           fi
9145         ;;
9146       esac
9147       ;;
9148
9149     sunos4*)
9150       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9151       wlarc=
9152       hardcode_direct=yes
9153       hardcode_shlibpath_var=no
9154       ;;
9155
9156     *)
9157       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9158         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9159         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9160       else
9161         ld_shlibs=no
9162       fi
9163       ;;
9164     esac
9165
9166     if test "$ld_shlibs" = no; then
9167       runpath_var=
9168       hardcode_libdir_flag_spec=
9169       export_dynamic_flag_spec=
9170       whole_archive_flag_spec=
9171     fi
9172   else
9173     # PORTME fill in a description of your system's linker (not GNU ld)
9174     case $host_os in
9175     aix3*)
9176       allow_undefined_flag=unsupported
9177       always_export_symbols=yes
9178       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'
9179       # Note: this linker hardcodes the directories in LIBPATH if there
9180       # are no directories specified by -L.
9181       hardcode_minus_L=yes
9182       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9183         # Neither direct hardcoding nor static linking is supported with a
9184         # broken collect2.
9185         hardcode_direct=unsupported
9186       fi
9187       ;;
9188
9189     aix[4-9]*)
9190       if test "$host_cpu" = ia64; then
9191         # On IA64, the linker does run time linking by default, so we don't
9192         # have to do anything special.
9193         aix_use_runtimelinking=no
9194         exp_sym_flag='-Bexport'
9195         no_entry_flag=""
9196       else
9197         # If we're using GNU nm, then we don't want the "-C" option.
9198         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9199         # Also, AIX nm treats weak defined symbols like other global
9200         # defined symbols, whereas GNU nm marks them as "W".
9201         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9202           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'
9203         else
9204           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'
9205         fi
9206         aix_use_runtimelinking=no
9207
9208         # Test if we are trying to use run time linking or normal
9209         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9210         # need to do runtime linking.
9211         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9212           for ld_flag in $LDFLAGS; do
9213           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9214             aix_use_runtimelinking=yes
9215             break
9216           fi
9217           done
9218           ;;
9219         esac
9220
9221         exp_sym_flag='-bexport'
9222         no_entry_flag='-bnoentry'
9223       fi
9224
9225       # When large executables or shared objects are built, AIX ld can
9226       # have problems creating the table of contents.  If linking a library
9227       # or program results in "error TOC overflow" add -mminimal-toc to
9228       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9229       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9230
9231       archive_cmds=''
9232       hardcode_direct=yes
9233       hardcode_direct_absolute=yes
9234       hardcode_libdir_separator=':'
9235       link_all_deplibs=yes
9236       file_list_spec='${wl}-f,'
9237
9238       if test "$GCC" = yes; then
9239         case $host_os in aix4.[012]|aix4.[012].*)
9240         # We only want to do this on AIX 4.2 and lower, the check
9241         # below for broken collect2 doesn't work under 4.3+
9242           collect2name=`${CC} -print-prog-name=collect2`
9243           if test -f "$collect2name" &&
9244            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9245           then
9246           # We have reworked collect2
9247           :
9248           else
9249           # We have old collect2
9250           hardcode_direct=unsupported
9251           # It fails to find uninstalled libraries when the uninstalled
9252           # path is not listed in the libpath.  Setting hardcode_minus_L
9253           # to unsupported forces relinking
9254           hardcode_minus_L=yes
9255           hardcode_libdir_flag_spec='-L$libdir'
9256           hardcode_libdir_separator=
9257           fi
9258           ;;
9259         esac
9260         shared_flag='-shared'
9261         if test "$aix_use_runtimelinking" = yes; then
9262           shared_flag="$shared_flag "'${wl}-G'
9263         fi
9264         link_all_deplibs=no
9265       else
9266         # not using gcc
9267         if test "$host_cpu" = ia64; then
9268         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9269         # chokes on -Wl,-G. The following line is correct:
9270           shared_flag='-G'
9271         else
9272           if test "$aix_use_runtimelinking" = yes; then
9273             shared_flag='${wl}-G'
9274           else
9275             shared_flag='${wl}-bM:SRE'
9276           fi
9277         fi
9278       fi
9279
9280       export_dynamic_flag_spec='${wl}-bexpall'
9281       # It seems that -bexpall does not export symbols beginning with
9282       # underscore (_), so it is better to generate a list of symbols to export.
9283       always_export_symbols=yes
9284       if test "$aix_use_runtimelinking" = yes; then
9285         # Warning - without using the other runtime loading flags (-brtl),
9286         # -berok will link without error, but may produce a broken library.
9287         allow_undefined_flag='-berok'
9288         # Determine the default libpath from the value encoded in an
9289         # empty executable.
9290         if test "${lt_cv_aix_libpath+set}" = set; then
9291   aix_libpath=$lt_cv_aix_libpath
9292 else
9293   if ${lt_cv_aix_libpath_+:} false; then :
9294   $as_echo_n "(cached) " >&6
9295 else
9296   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9297 /* end confdefs.h.  */
9298
9299 int
9300 main ()
9301 {
9302
9303   ;
9304   return 0;
9305 }
9306 _ACEOF
9307 if ac_fn_c_try_link "$LINENO"; then :
9308
9309   lt_aix_libpath_sed='
9310       /Import File Strings/,/^$/ {
9311           /^0/ {
9312               s/^0  *\([^ ]*\) *$/\1/
9313               p
9314           }
9315       }'
9316   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9317   # Check for a 64-bit object if we didn't find anything.
9318   if test -z "$lt_cv_aix_libpath_"; then
9319     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9320   fi
9321 fi
9322 rm -f core conftest.err conftest.$ac_objext \
9323     conftest$ac_exeext conftest.$ac_ext
9324   if test -z "$lt_cv_aix_libpath_"; then
9325     lt_cv_aix_libpath_="/usr/lib:/lib"
9326   fi
9327
9328 fi
9329
9330   aix_libpath=$lt_cv_aix_libpath_
9331 fi
9332
9333         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9334         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"
9335       else
9336         if test "$host_cpu" = ia64; then
9337           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9338           allow_undefined_flag="-z nodefs"
9339           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"
9340         else
9341          # Determine the default libpath from the value encoded in an
9342          # empty executable.
9343          if test "${lt_cv_aix_libpath+set}" = set; then
9344   aix_libpath=$lt_cv_aix_libpath
9345 else
9346   if ${lt_cv_aix_libpath_+:} false; then :
9347   $as_echo_n "(cached) " >&6
9348 else
9349   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9350 /* end confdefs.h.  */
9351
9352 int
9353 main ()
9354 {
9355
9356   ;
9357   return 0;
9358 }
9359 _ACEOF
9360 if ac_fn_c_try_link "$LINENO"; then :
9361
9362   lt_aix_libpath_sed='
9363       /Import File Strings/,/^$/ {
9364           /^0/ {
9365               s/^0  *\([^ ]*\) *$/\1/
9366               p
9367           }
9368       }'
9369   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9370   # Check for a 64-bit object if we didn't find anything.
9371   if test -z "$lt_cv_aix_libpath_"; then
9372     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9373   fi
9374 fi
9375 rm -f core conftest.err conftest.$ac_objext \
9376     conftest$ac_exeext conftest.$ac_ext
9377   if test -z "$lt_cv_aix_libpath_"; then
9378     lt_cv_aix_libpath_="/usr/lib:/lib"
9379   fi
9380
9381 fi
9382
9383   aix_libpath=$lt_cv_aix_libpath_
9384 fi
9385
9386          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9387           # Warning - without using the other run time loading flags,
9388           # -berok will link without error, but may produce a broken library.
9389           no_undefined_flag=' ${wl}-bernotok'
9390           allow_undefined_flag=' ${wl}-berok'
9391           if test "$with_gnu_ld" = yes; then
9392             # We only use this code for GNU lds that support --whole-archive.
9393             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9394           else
9395             # Exported symbols can be pulled into shared objects from archives
9396             whole_archive_flag_spec='$convenience'
9397           fi
9398           archive_cmds_need_lc=yes
9399           # This is similar to how AIX traditionally builds its shared libraries.
9400           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'
9401         fi
9402       fi
9403       ;;
9404
9405     amigaos*)
9406       case $host_cpu in
9407       powerpc)
9408             # see comment about AmigaOS4 .so support
9409             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9410             archive_expsym_cmds=''
9411         ;;
9412       m68k)
9413             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)'
9414             hardcode_libdir_flag_spec='-L$libdir'
9415             hardcode_minus_L=yes
9416         ;;
9417       esac
9418       ;;
9419
9420     bsdi[45]*)
9421       export_dynamic_flag_spec=-rdynamic
9422       ;;
9423
9424     cygwin* | mingw* | pw32* | cegcc*)
9425       # When not using gcc, we currently assume that we are using
9426       # Microsoft Visual C++.
9427       # hardcode_libdir_flag_spec is actually meaningless, as there is
9428       # no search path for DLLs.
9429       case $cc_basename in
9430       cl*)
9431         # Native MSVC
9432         hardcode_libdir_flag_spec=' '
9433         allow_undefined_flag=unsupported
9434         always_export_symbols=yes
9435         file_list_spec='@'
9436         # Tell ltmain to make .lib files, not .a files.
9437         libext=lib
9438         # Tell ltmain to make .dll files, not .so files.
9439         shrext_cmds=".dll"
9440         # FIXME: Setting linknames here is a bad hack.
9441         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9442         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9443             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9444           else
9445             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9446           fi~
9447           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9448           linknames='
9449         # The linker will not automatically build a static lib if we build a DLL.
9450         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9451         enable_shared_with_static_runtimes=yes
9452         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9453         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9454         # Don't use ranlib
9455         old_postinstall_cmds='chmod 644 $oldlib'
9456         postlink_cmds='lt_outputfile="@OUTPUT@"~
9457           lt_tool_outputfile="@TOOL_OUTPUT@"~
9458           case $lt_outputfile in
9459             *.exe|*.EXE) ;;
9460             *)
9461               lt_outputfile="$lt_outputfile.exe"
9462               lt_tool_outputfile="$lt_tool_outputfile.exe"
9463               ;;
9464           esac~
9465           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9466             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9467             $RM "$lt_outputfile.manifest";
9468           fi'
9469         ;;
9470       *)
9471         # Assume MSVC wrapper
9472         hardcode_libdir_flag_spec=' '
9473         allow_undefined_flag=unsupported
9474         # Tell ltmain to make .lib files, not .a files.
9475         libext=lib
9476         # Tell ltmain to make .dll files, not .so files.
9477         shrext_cmds=".dll"
9478         # FIXME: Setting linknames here is a bad hack.
9479         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9480         # The linker will automatically build a .lib file if we build a DLL.
9481         old_archive_from_new_cmds='true'
9482         # FIXME: Should let the user specify the lib program.
9483         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9484         enable_shared_with_static_runtimes=yes
9485         ;;
9486       esac
9487       ;;
9488
9489     darwin* | rhapsody*)
9490
9491
9492   archive_cmds_need_lc=no
9493   hardcode_direct=no
9494   hardcode_automatic=yes
9495   hardcode_shlibpath_var=unsupported
9496   if test "$lt_cv_ld_force_load" = "yes"; then
9497     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\"`'
9498
9499   else
9500     whole_archive_flag_spec=''
9501   fi
9502   link_all_deplibs=yes
9503   allow_undefined_flag="$_lt_dar_allow_undefined"
9504   case $cc_basename in
9505      ifort*) _lt_dar_can_shared=yes ;;
9506      *) _lt_dar_can_shared=$GCC ;;
9507   esac
9508   if test "$_lt_dar_can_shared" = "yes"; then
9509     output_verbose_link_cmd=func_echo_all
9510     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9511     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9512     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}"
9513     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}"
9514
9515   else
9516   ld_shlibs=no
9517   fi
9518
9519       ;;
9520
9521     dgux*)
9522       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9523       hardcode_libdir_flag_spec='-L$libdir'
9524       hardcode_shlibpath_var=no
9525       ;;
9526
9527     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9528     # support.  Future versions do this automatically, but an explicit c++rt0.o
9529     # does not break anything, and helps significantly (at the cost of a little
9530     # extra space).
9531     freebsd2.2*)
9532       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9533       hardcode_libdir_flag_spec='-R$libdir'
9534       hardcode_direct=yes
9535       hardcode_shlibpath_var=no
9536       ;;
9537
9538     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9539     freebsd2.*)
9540       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9541       hardcode_direct=yes
9542       hardcode_minus_L=yes
9543       hardcode_shlibpath_var=no
9544       ;;
9545
9546     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9547     freebsd* | dragonfly*)
9548       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9549       hardcode_libdir_flag_spec='-R$libdir'
9550       hardcode_direct=yes
9551       hardcode_shlibpath_var=no
9552       ;;
9553
9554     hpux9*)
9555       if test "$GCC" = yes; then
9556         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'
9557       else
9558         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'
9559       fi
9560       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9561       hardcode_libdir_separator=:
9562       hardcode_direct=yes
9563
9564       # hardcode_minus_L: Not really in the search PATH,
9565       # but as the default location of the library.
9566       hardcode_minus_L=yes
9567       export_dynamic_flag_spec='${wl}-E'
9568       ;;
9569
9570     hpux10*)
9571       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9572         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9573       else
9574         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9575       fi
9576       if test "$with_gnu_ld" = no; then
9577         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9578         hardcode_libdir_separator=:
9579         hardcode_direct=yes
9580         hardcode_direct_absolute=yes
9581         export_dynamic_flag_spec='${wl}-E'
9582         # hardcode_minus_L: Not really in the search PATH,
9583         # but as the default location of the library.
9584         hardcode_minus_L=yes
9585       fi
9586       ;;
9587
9588     hpux11*)
9589       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9590         case $host_cpu in
9591         hppa*64*)
9592           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9593           ;;
9594         ia64*)
9595           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9596           ;;
9597         *)
9598           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9599           ;;
9600         esac
9601       else
9602         case $host_cpu in
9603         hppa*64*)
9604           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9605           ;;
9606         ia64*)
9607           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9608           ;;
9609         *)
9610
9611           # Older versions of the 11.00 compiler do not understand -b yet
9612           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9613           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9614 $as_echo_n "checking if $CC understands -b... " >&6; }
9615 if ${lt_cv_prog_compiler__b+:} false; then :
9616   $as_echo_n "(cached) " >&6
9617 else
9618   lt_cv_prog_compiler__b=no
9619    save_LDFLAGS="$LDFLAGS"
9620    LDFLAGS="$LDFLAGS -b"
9621    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9622    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9623      # The linker can only warn and ignore the option if not recognized
9624      # So say no if there are warnings
9625      if test -s conftest.err; then
9626        # Append any errors to the config.log.
9627        cat conftest.err 1>&5
9628        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9629        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9630        if diff conftest.exp conftest.er2 >/dev/null; then
9631          lt_cv_prog_compiler__b=yes
9632        fi
9633      else
9634        lt_cv_prog_compiler__b=yes
9635      fi
9636    fi
9637    $RM -r conftest*
9638    LDFLAGS="$save_LDFLAGS"
9639
9640 fi
9641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9642 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9643
9644 if test x"$lt_cv_prog_compiler__b" = xyes; then
9645     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9646 else
9647     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9648 fi
9649
9650           ;;
9651         esac
9652       fi
9653       if test "$with_gnu_ld" = no; then
9654         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9655         hardcode_libdir_separator=:
9656
9657         case $host_cpu in
9658         hppa*64*|ia64*)
9659           hardcode_direct=no
9660           hardcode_shlibpath_var=no
9661           ;;
9662         *)
9663           hardcode_direct=yes
9664           hardcode_direct_absolute=yes
9665           export_dynamic_flag_spec='${wl}-E'
9666
9667           # hardcode_minus_L: Not really in the search PATH,
9668           # but as the default location of the library.
9669           hardcode_minus_L=yes
9670           ;;
9671         esac
9672       fi
9673       ;;
9674
9675     irix5* | irix6* | nonstopux*)
9676       if test "$GCC" = yes; then
9677         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'
9678         # Try to use the -exported_symbol ld option, if it does not
9679         # work, assume that -exports_file does not work either and
9680         # implicitly export all symbols.
9681         # This should be the same for all languages, so no per-tag cache variable.
9682         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9683 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9684 if ${lt_cv_irix_exported_symbol+:} false; then :
9685   $as_echo_n "(cached) " >&6
9686 else
9687   save_LDFLAGS="$LDFLAGS"
9688            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9689            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9690 /* end confdefs.h.  */
9691 int foo (void) { return 0; }
9692 _ACEOF
9693 if ac_fn_c_try_link "$LINENO"; then :
9694   lt_cv_irix_exported_symbol=yes
9695 else
9696   lt_cv_irix_exported_symbol=no
9697 fi
9698 rm -f core conftest.err conftest.$ac_objext \
9699     conftest$ac_exeext conftest.$ac_ext
9700            LDFLAGS="$save_LDFLAGS"
9701 fi
9702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9703 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9704         if test "$lt_cv_irix_exported_symbol" = yes; then
9705           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'
9706         fi
9707       else
9708         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'
9709         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'
9710       fi
9711       archive_cmds_need_lc='no'
9712       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9713       hardcode_libdir_separator=:
9714       inherit_rpath=yes
9715       link_all_deplibs=yes
9716       ;;
9717
9718     netbsd* | netbsdelf*-gnu)
9719       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9720         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9721       else
9722         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9723       fi
9724       hardcode_libdir_flag_spec='-R$libdir'
9725       hardcode_direct=yes
9726       hardcode_shlibpath_var=no
9727       ;;
9728
9729     newsos6)
9730       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9731       hardcode_direct=yes
9732       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9733       hardcode_libdir_separator=:
9734       hardcode_shlibpath_var=no
9735       ;;
9736
9737     *nto* | *qnx*)
9738       ;;
9739
9740     openbsd*)
9741       if test -f /usr/libexec/ld.so; then
9742         hardcode_direct=yes
9743         hardcode_shlibpath_var=no
9744         hardcode_direct_absolute=yes
9745         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9746           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9747           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9748           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9749           export_dynamic_flag_spec='${wl}-E'
9750         else
9751           case $host_os in
9752            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9753              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9754              hardcode_libdir_flag_spec='-R$libdir'
9755              ;;
9756            *)
9757              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9758              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9759              ;;
9760           esac
9761         fi
9762       else
9763         ld_shlibs=no
9764       fi
9765       ;;
9766
9767     os2*)
9768       hardcode_libdir_flag_spec='-L$libdir'
9769       hardcode_minus_L=yes
9770       allow_undefined_flag=unsupported
9771       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'
9772       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9773       ;;
9774
9775     osf3*)
9776       if test "$GCC" = yes; then
9777         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9778         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'
9779       else
9780         allow_undefined_flag=' -expect_unresolved \*'
9781         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'
9782       fi
9783       archive_cmds_need_lc='no'
9784       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9785       hardcode_libdir_separator=:
9786       ;;
9787
9788     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9789       if test "$GCC" = yes; then
9790         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9791         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'
9792         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9793       else
9794         allow_undefined_flag=' -expect_unresolved \*'
9795         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'
9796         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~
9797         $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'
9798
9799         # Both c and cxx compiler support -rpath directly
9800         hardcode_libdir_flag_spec='-rpath $libdir'
9801       fi
9802       archive_cmds_need_lc='no'
9803       hardcode_libdir_separator=:
9804       ;;
9805
9806     solaris*)
9807       no_undefined_flag=' -z defs'
9808       if test "$GCC" = yes; then
9809         wlarc='${wl}'
9810         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9811         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9812           $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'
9813       else
9814         case `$CC -V 2>&1` in
9815         *"Compilers 5.0"*)
9816           wlarc=''
9817           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9818           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9819           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9820           ;;
9821         *)
9822           wlarc='${wl}'
9823           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9824           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9825           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9826           ;;
9827         esac
9828       fi
9829       hardcode_libdir_flag_spec='-R$libdir'
9830       hardcode_shlibpath_var=no
9831       case $host_os in
9832       solaris2.[0-5] | solaris2.[0-5].*) ;;
9833       *)
9834         # The compiler driver will combine and reorder linker options,
9835         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9836         # but is careful enough not to reorder.
9837         # Supported since Solaris 2.6 (maybe 2.5.1?)
9838         if test "$GCC" = yes; then
9839           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9840         else
9841           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9842         fi
9843         ;;
9844       esac
9845       link_all_deplibs=yes
9846       ;;
9847
9848     sunos4*)
9849       if test "x$host_vendor" = xsequent; then
9850         # Use $CC to link under sequent, because it throws in some extra .o
9851         # files that make .init and .fini sections work.
9852         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9853       else
9854         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9855       fi
9856       hardcode_libdir_flag_spec='-L$libdir'
9857       hardcode_direct=yes
9858       hardcode_minus_L=yes
9859       hardcode_shlibpath_var=no
9860       ;;
9861
9862     sysv4)
9863       case $host_vendor in
9864         sni)
9865           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9866           hardcode_direct=yes # is this really true???
9867         ;;
9868         siemens)
9869           ## LD is ld it makes a PLAMLIB
9870           ## CC just makes a GrossModule.
9871           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9872           reload_cmds='$CC -r -o $output$reload_objs'
9873           hardcode_direct=no
9874         ;;
9875         motorola)
9876           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9877           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9878         ;;
9879       esac
9880       runpath_var='LD_RUN_PATH'
9881       hardcode_shlibpath_var=no
9882       ;;
9883
9884     sysv4.3*)
9885       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9886       hardcode_shlibpath_var=no
9887       export_dynamic_flag_spec='-Bexport'
9888       ;;
9889
9890     sysv4*MP*)
9891       if test -d /usr/nec; then
9892         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9893         hardcode_shlibpath_var=no
9894         runpath_var=LD_RUN_PATH
9895         hardcode_runpath_var=yes
9896         ld_shlibs=yes
9897       fi
9898       ;;
9899
9900     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9901       no_undefined_flag='${wl}-z,text'
9902       archive_cmds_need_lc=no
9903       hardcode_shlibpath_var=no
9904       runpath_var='LD_RUN_PATH'
9905
9906       if test "$GCC" = yes; then
9907         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9908         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9909       else
9910         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9911         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9912       fi
9913       ;;
9914
9915     sysv5* | sco3.2v5* | sco5v6*)
9916       # Note: We can NOT use -z defs as we might desire, because we do not
9917       # link with -lc, and that would cause any symbols used from libc to
9918       # always be unresolved, which means just about no library would
9919       # ever link correctly.  If we're not using GNU ld we use -z text
9920       # though, which does catch some bad symbols but isn't as heavy-handed
9921       # as -z defs.
9922       no_undefined_flag='${wl}-z,text'
9923       allow_undefined_flag='${wl}-z,nodefs'
9924       archive_cmds_need_lc=no
9925       hardcode_shlibpath_var=no
9926       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9927       hardcode_libdir_separator=':'
9928       link_all_deplibs=yes
9929       export_dynamic_flag_spec='${wl}-Bexport'
9930       runpath_var='LD_RUN_PATH'
9931
9932       if test "$GCC" = yes; then
9933         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9934         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9935       else
9936         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9937         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9938       fi
9939       ;;
9940
9941     uts4*)
9942       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9943       hardcode_libdir_flag_spec='-L$libdir'
9944       hardcode_shlibpath_var=no
9945       ;;
9946
9947     *)
9948       ld_shlibs=no
9949       ;;
9950     esac
9951
9952     if test x$host_vendor = xsni; then
9953       case $host in
9954       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9955         export_dynamic_flag_spec='${wl}-Blargedynsym'
9956         ;;
9957       esac
9958     fi
9959   fi
9960
9961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9962 $as_echo "$ld_shlibs" >&6; }
9963 test "$ld_shlibs" = no && can_build_shared=no
9964
9965 with_gnu_ld=$with_gnu_ld
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981 #
9982 # Do we need to explicitly link libc?
9983 #
9984 case "x$archive_cmds_need_lc" in
9985 x|xyes)
9986   # Assume -lc should be added
9987   archive_cmds_need_lc=yes
9988
9989   if test "$enable_shared" = yes && test "$GCC" = yes; then
9990     case $archive_cmds in
9991     *'~'*)
9992       # FIXME: we may have to deal with multi-command sequences.
9993       ;;
9994     '$CC '*)
9995       # Test whether the compiler implicitly links with -lc since on some
9996       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9997       # to ld, don't add -lc before -lgcc.
9998       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9999 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10000 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10001   $as_echo_n "(cached) " >&6
10002 else
10003   $RM conftest*
10004         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10005
10006         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10007   (eval $ac_compile) 2>&5
10008   ac_status=$?
10009   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10010   test $ac_status = 0; } 2>conftest.err; then
10011           soname=conftest
10012           lib=conftest
10013           libobjs=conftest.$ac_objext
10014           deplibs=
10015           wl=$lt_prog_compiler_wl
10016           pic_flag=$lt_prog_compiler_pic
10017           compiler_flags=-v
10018           linker_flags=-v
10019           verstring=
10020           output_objdir=.
10021           libname=conftest
10022           lt_save_allow_undefined_flag=$allow_undefined_flag
10023           allow_undefined_flag=
10024           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10025   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10026   ac_status=$?
10027   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10028   test $ac_status = 0; }
10029           then
10030             lt_cv_archive_cmds_need_lc=no
10031           else
10032             lt_cv_archive_cmds_need_lc=yes
10033           fi
10034           allow_undefined_flag=$lt_save_allow_undefined_flag
10035         else
10036           cat conftest.err 1>&5
10037         fi
10038         $RM conftest*
10039
10040 fi
10041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10042 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10043       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10044       ;;
10045     esac
10046   fi
10047   ;;
10048 esac
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10202 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10203
10204 if test "$GCC" = yes; then
10205   case $host_os in
10206     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10207     *) lt_awk_arg="/^libraries:/" ;;
10208   esac
10209   case $host_os in
10210     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10211     *) lt_sed_strip_eq="s,=/,/,g" ;;
10212   esac
10213   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10214   case $lt_search_path_spec in
10215   *\;*)
10216     # if the path contains ";" then we assume it to be the separator
10217     # otherwise default to the standard path separator (i.e. ":") - it is
10218     # assumed that no part of a normal pathname contains ";" but that should
10219     # okay in the real world where ";" in dirpaths is itself problematic.
10220     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10221     ;;
10222   *)
10223     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10224     ;;
10225   esac
10226   # Ok, now we have the path, separated by spaces, we can step through it
10227   # and add multilib dir if necessary.
10228   lt_tmp_lt_search_path_spec=
10229   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10230   for lt_sys_path in $lt_search_path_spec; do
10231     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10232       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10233     else
10234       test -d "$lt_sys_path" && \
10235         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10236     fi
10237   done
10238   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10239 BEGIN {RS=" "; FS="/|\n";} {
10240   lt_foo="";
10241   lt_count=0;
10242   for (lt_i = NF; lt_i > 0; lt_i--) {
10243     if ($lt_i != "" && $lt_i != ".") {
10244       if ($lt_i == "..") {
10245         lt_count++;
10246       } else {
10247         if (lt_count == 0) {
10248           lt_foo="/" $lt_i lt_foo;
10249         } else {
10250           lt_count--;
10251         }
10252       }
10253     }
10254   }
10255   if (lt_foo != "") { lt_freq[lt_foo]++; }
10256   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10257 }'`
10258   # AWK program above erroneously prepends '/' to C:/dos/paths
10259   # for these hosts.
10260   case $host_os in
10261     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10262       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10263   esac
10264   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10265 else
10266   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10267 fi
10268 library_names_spec=
10269 libname_spec='lib$name'
10270 soname_spec=
10271 shrext_cmds=".so"
10272 postinstall_cmds=
10273 postuninstall_cmds=
10274 finish_cmds=
10275 finish_eval=
10276 shlibpath_var=
10277 shlibpath_overrides_runpath=unknown
10278 version_type=none
10279 dynamic_linker="$host_os ld.so"
10280 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10281 need_lib_prefix=unknown
10282 hardcode_into_libs=no
10283
10284 # when you set need_version to no, make sure it does not cause -set_version
10285 # flags to be left without arguments
10286 need_version=unknown
10287
10288 case $host_os in
10289 aix3*)
10290   version_type=linux # correct to gnu/linux during the next big refactor
10291   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10292   shlibpath_var=LIBPATH
10293
10294   # AIX 3 has no versioning support, so we append a major version to the name.
10295   soname_spec='${libname}${release}${shared_ext}$major'
10296   ;;
10297
10298 aix[4-9]*)
10299   version_type=linux # correct to gnu/linux during the next big refactor
10300   need_lib_prefix=no
10301   need_version=no
10302   hardcode_into_libs=yes
10303   if test "$host_cpu" = ia64; then
10304     # AIX 5 supports IA64
10305     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10306     shlibpath_var=LD_LIBRARY_PATH
10307   else
10308     # With GCC up to 2.95.x, collect2 would create an import file
10309     # for dependence libraries.  The import file would start with
10310     # the line `#! .'.  This would cause the generated library to
10311     # depend on `.', always an invalid library.  This was fixed in
10312     # development snapshots of GCC prior to 3.0.
10313     case $host_os in
10314       aix4 | aix4.[01] | aix4.[01].*)
10315       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10316            echo ' yes '
10317            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10318         :
10319       else
10320         can_build_shared=no
10321       fi
10322       ;;
10323     esac
10324     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10325     # soname into executable. Probably we can add versioning support to
10326     # collect2, so additional links can be useful in future.
10327     if test "$aix_use_runtimelinking" = yes; then
10328       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10329       # instead of lib<name>.a to let people know that these are not
10330       # typical AIX shared libraries.
10331       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10332     else
10333       # We preserve .a as extension for shared libraries through AIX4.2
10334       # and later when we are not doing run time linking.
10335       library_names_spec='${libname}${release}.a $libname.a'
10336       soname_spec='${libname}${release}${shared_ext}$major'
10337     fi
10338     shlibpath_var=LIBPATH
10339   fi
10340   ;;
10341
10342 amigaos*)
10343   case $host_cpu in
10344   powerpc)
10345     # Since July 2007 AmigaOS4 officially supports .so libraries.
10346     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10347     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10348     ;;
10349   m68k)
10350     library_names_spec='$libname.ixlibrary $libname.a'
10351     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10352     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'
10353     ;;
10354   esac
10355   ;;
10356
10357 beos*)
10358   library_names_spec='${libname}${shared_ext}'
10359   dynamic_linker="$host_os ld.so"
10360   shlibpath_var=LIBRARY_PATH
10361   ;;
10362
10363 bsdi[45]*)
10364   version_type=linux # correct to gnu/linux during the next big refactor
10365   need_version=no
10366   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10367   soname_spec='${libname}${release}${shared_ext}$major'
10368   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10369   shlibpath_var=LD_LIBRARY_PATH
10370   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10371   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10372   # the default ld.so.conf also contains /usr/contrib/lib and
10373   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10374   # libtool to hard-code these into programs
10375   ;;
10376
10377 cygwin* | mingw* | pw32* | cegcc*)
10378   version_type=windows
10379   shrext_cmds=".dll"
10380   need_version=no
10381   need_lib_prefix=no
10382
10383   case $GCC,$cc_basename in
10384   yes,*)
10385     # gcc
10386     library_names_spec='$libname.dll.a'
10387     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10388     postinstall_cmds='base_file=`basename \${file}`~
10389       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10390       dldir=$destdir/`dirname \$dlpath`~
10391       test -d \$dldir || mkdir -p \$dldir~
10392       $install_prog $dir/$dlname \$dldir/$dlname~
10393       chmod a+x \$dldir/$dlname~
10394       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10395         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10396       fi'
10397     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10398       dlpath=$dir/\$dldll~
10399        $RM \$dlpath'
10400     shlibpath_overrides_runpath=yes
10401
10402     case $host_os in
10403     cygwin*)
10404       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10405       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10406
10407       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10408       ;;
10409     mingw* | cegcc*)
10410       # MinGW DLLs use traditional 'lib' prefix
10411       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10412       ;;
10413     pw32*)
10414       # pw32 DLLs use 'pw' prefix rather than 'lib'
10415       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10416       ;;
10417     esac
10418     dynamic_linker='Win32 ld.exe'
10419     ;;
10420
10421   *,cl*)
10422     # Native MSVC
10423     libname_spec='$name'
10424     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10425     library_names_spec='${libname}.dll.lib'
10426
10427     case $build_os in
10428     mingw*)
10429       sys_lib_search_path_spec=
10430       lt_save_ifs=$IFS
10431       IFS=';'
10432       for lt_path in $LIB
10433       do
10434         IFS=$lt_save_ifs
10435         # Let DOS variable expansion print the short 8.3 style file name.
10436         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10437         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10438       done
10439       IFS=$lt_save_ifs
10440       # Convert to MSYS style.
10441       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10442       ;;
10443     cygwin*)
10444       # Convert to unix form, then to dos form, then back to unix form
10445       # but this time dos style (no spaces!) so that the unix form looks
10446       # like /cygdrive/c/PROGRA~1:/cygdr...
10447       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10448       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10449       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10450       ;;
10451     *)
10452       sys_lib_search_path_spec="$LIB"
10453       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10454         # It is most probably a Windows format PATH.
10455         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10456       else
10457         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10458       fi
10459       # FIXME: find the short name or the path components, as spaces are
10460       # common. (e.g. "Program Files" -> "PROGRA~1")
10461       ;;
10462     esac
10463
10464     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10465     postinstall_cmds='base_file=`basename \${file}`~
10466       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10467       dldir=$destdir/`dirname \$dlpath`~
10468       test -d \$dldir || mkdir -p \$dldir~
10469       $install_prog $dir/$dlname \$dldir/$dlname'
10470     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10471       dlpath=$dir/\$dldll~
10472        $RM \$dlpath'
10473     shlibpath_overrides_runpath=yes
10474     dynamic_linker='Win32 link.exe'
10475     ;;
10476
10477   *)
10478     # Assume MSVC wrapper
10479     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10480     dynamic_linker='Win32 ld.exe'
10481     ;;
10482   esac
10483   # FIXME: first we should search . and the directory the executable is in
10484   shlibpath_var=PATH
10485   ;;
10486
10487 darwin* | rhapsody*)
10488   dynamic_linker="$host_os dyld"
10489   version_type=darwin
10490   need_lib_prefix=no
10491   need_version=no
10492   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10493   soname_spec='${libname}${release}${major}$shared_ext'
10494   shlibpath_overrides_runpath=yes
10495   shlibpath_var=DYLD_LIBRARY_PATH
10496   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10497
10498   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10499   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10500   ;;
10501
10502 dgux*)
10503   version_type=linux # correct to gnu/linux during the next big refactor
10504   need_lib_prefix=no
10505   need_version=no
10506   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10507   soname_spec='${libname}${release}${shared_ext}$major'
10508   shlibpath_var=LD_LIBRARY_PATH
10509   ;;
10510
10511 freebsd* | dragonfly*)
10512   # DragonFly does not have aout.  When/if they implement a new
10513   # versioning mechanism, adjust this.
10514   if test -x /usr/bin/objformat; then
10515     objformat=`/usr/bin/objformat`
10516   else
10517     case $host_os in
10518     freebsd[23].*) objformat=aout ;;
10519     *) objformat=elf ;;
10520     esac
10521   fi
10522   version_type=freebsd-$objformat
10523   case $version_type in
10524     freebsd-elf*)
10525       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10526       need_version=no
10527       need_lib_prefix=no
10528       ;;
10529     freebsd-*)
10530       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10531       need_version=yes
10532       ;;
10533   esac
10534   shlibpath_var=LD_LIBRARY_PATH
10535   case $host_os in
10536   freebsd2.*)
10537     shlibpath_overrides_runpath=yes
10538     ;;
10539   freebsd3.[01]* | freebsdelf3.[01]*)
10540     shlibpath_overrides_runpath=yes
10541     hardcode_into_libs=yes
10542     ;;
10543   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10544   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10545     shlibpath_overrides_runpath=no
10546     hardcode_into_libs=yes
10547     ;;
10548   *) # from 4.6 on, and DragonFly
10549     shlibpath_overrides_runpath=yes
10550     hardcode_into_libs=yes
10551     ;;
10552   esac
10553   ;;
10554
10555 gnu*)
10556   version_type=linux # correct to gnu/linux during the next big refactor
10557   need_lib_prefix=no
10558   need_version=no
10559   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10560   soname_spec='${libname}${release}${shared_ext}$major'
10561   shlibpath_var=LD_LIBRARY_PATH
10562   shlibpath_overrides_runpath=no
10563   hardcode_into_libs=yes
10564   ;;
10565
10566 haiku*)
10567   version_type=linux # correct to gnu/linux during the next big refactor
10568   need_lib_prefix=no
10569   need_version=no
10570   dynamic_linker="$host_os runtime_loader"
10571   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10572   soname_spec='${libname}${release}${shared_ext}$major'
10573   shlibpath_var=LIBRARY_PATH
10574   shlibpath_overrides_runpath=yes
10575   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10576   hardcode_into_libs=yes
10577   ;;
10578
10579 hpux9* | hpux10* | hpux11*)
10580   # Give a soname corresponding to the major version so that dld.sl refuses to
10581   # link against other versions.
10582   version_type=sunos
10583   need_lib_prefix=no
10584   need_version=no
10585   case $host_cpu in
10586   ia64*)
10587     shrext_cmds='.so'
10588     hardcode_into_libs=yes
10589     dynamic_linker="$host_os dld.so"
10590     shlibpath_var=LD_LIBRARY_PATH
10591     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10592     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10593     soname_spec='${libname}${release}${shared_ext}$major'
10594     if test "X$HPUX_IA64_MODE" = X32; then
10595       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10596     else
10597       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10598     fi
10599     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10600     ;;
10601   hppa*64*)
10602     shrext_cmds='.sl'
10603     hardcode_into_libs=yes
10604     dynamic_linker="$host_os dld.sl"
10605     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10606     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10607     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10608     soname_spec='${libname}${release}${shared_ext}$major'
10609     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10610     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10611     ;;
10612   *)
10613     shrext_cmds='.sl'
10614     dynamic_linker="$host_os dld.sl"
10615     shlibpath_var=SHLIB_PATH
10616     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10617     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10618     soname_spec='${libname}${release}${shared_ext}$major'
10619     ;;
10620   esac
10621   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10622   postinstall_cmds='chmod 555 $lib'
10623   # or fails outright, so override atomically:
10624   install_override_mode=555
10625   ;;
10626
10627 interix[3-9]*)
10628   version_type=linux # correct to gnu/linux during the next big refactor
10629   need_lib_prefix=no
10630   need_version=no
10631   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10632   soname_spec='${libname}${release}${shared_ext}$major'
10633   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10634   shlibpath_var=LD_LIBRARY_PATH
10635   shlibpath_overrides_runpath=no
10636   hardcode_into_libs=yes
10637   ;;
10638
10639 irix5* | irix6* | nonstopux*)
10640   case $host_os in
10641     nonstopux*) version_type=nonstopux ;;
10642     *)
10643         if test "$lt_cv_prog_gnu_ld" = yes; then
10644                 version_type=linux # correct to gnu/linux during the next big refactor
10645         else
10646                 version_type=irix
10647         fi ;;
10648   esac
10649   need_lib_prefix=no
10650   need_version=no
10651   soname_spec='${libname}${release}${shared_ext}$major'
10652   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10653   case $host_os in
10654   irix5* | nonstopux*)
10655     libsuff= shlibsuff=
10656     ;;
10657   *)
10658     case $LD in # libtool.m4 will add one of these switches to LD
10659     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10660       libsuff= shlibsuff= libmagic=32-bit;;
10661     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10662       libsuff=32 shlibsuff=N32 libmagic=N32;;
10663     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10664       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10665     *) libsuff= shlibsuff= libmagic=never-match;;
10666     esac
10667     ;;
10668   esac
10669   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10670   shlibpath_overrides_runpath=no
10671   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10672   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10673   hardcode_into_libs=yes
10674   ;;
10675
10676 # No shared lib support for Linux oldld, aout, or coff.
10677 linux*oldld* | linux*aout* | linux*coff*)
10678   dynamic_linker=no
10679   ;;
10680
10681 # This must be glibc/ELF.
10682 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10683   version_type=linux # correct to gnu/linux during the next big refactor
10684   need_lib_prefix=no
10685   need_version=no
10686   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10687   soname_spec='${libname}${release}${shared_ext}$major'
10688   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10689   shlibpath_var=LD_LIBRARY_PATH
10690   shlibpath_overrides_runpath=no
10691
10692   # Some binutils ld are patched to set DT_RUNPATH
10693   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10694   $as_echo_n "(cached) " >&6
10695 else
10696   lt_cv_shlibpath_overrides_runpath=no
10697     save_LDFLAGS=$LDFLAGS
10698     save_libdir=$libdir
10699     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10700          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10701     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10702 /* end confdefs.h.  */
10703
10704 int
10705 main ()
10706 {
10707
10708   ;
10709   return 0;
10710 }
10711 _ACEOF
10712 if ac_fn_c_try_link "$LINENO"; then :
10713   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10714   lt_cv_shlibpath_overrides_runpath=yes
10715 fi
10716 fi
10717 rm -f core conftest.err conftest.$ac_objext \
10718     conftest$ac_exeext conftest.$ac_ext
10719     LDFLAGS=$save_LDFLAGS
10720     libdir=$save_libdir
10721
10722 fi
10723
10724   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10725
10726   # This implies no fast_install, which is unacceptable.
10727   # Some rework will be needed to allow for fast_install
10728   # before this can be enabled.
10729   hardcode_into_libs=yes
10730
10731   # Append ld.so.conf contents to the search path
10732   if test -f /etc/ld.so.conf; then
10733     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' ' '`
10734     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10735   fi
10736
10737   # We used to test for /lib/ld.so.1 and disable shared libraries on
10738   # powerpc, because MkLinux only supported shared libraries with the
10739   # GNU dynamic linker.  Since this was broken with cross compilers,
10740   # most powerpc-linux boxes support dynamic linking these days and
10741   # people can always --disable-shared, the test was removed, and we
10742   # assume the GNU/Linux dynamic linker is in use.
10743   dynamic_linker='GNU/Linux ld.so'
10744   ;;
10745
10746 netbsdelf*-gnu)
10747   version_type=linux
10748   need_lib_prefix=no
10749   need_version=no
10750   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10751   soname_spec='${libname}${release}${shared_ext}$major'
10752   shlibpath_var=LD_LIBRARY_PATH
10753   shlibpath_overrides_runpath=no
10754   hardcode_into_libs=yes
10755   dynamic_linker='NetBSD ld.elf_so'
10756   ;;
10757
10758 netbsd*)
10759   version_type=sunos
10760   need_lib_prefix=no
10761   need_version=no
10762   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10763     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10764     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10765     dynamic_linker='NetBSD (a.out) ld.so'
10766   else
10767     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10768     soname_spec='${libname}${release}${shared_ext}$major'
10769     dynamic_linker='NetBSD ld.elf_so'
10770   fi
10771   shlibpath_var=LD_LIBRARY_PATH
10772   shlibpath_overrides_runpath=yes
10773   hardcode_into_libs=yes
10774   ;;
10775
10776 newsos6)
10777   version_type=linux # correct to gnu/linux during the next big refactor
10778   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10779   shlibpath_var=LD_LIBRARY_PATH
10780   shlibpath_overrides_runpath=yes
10781   ;;
10782
10783 *nto* | *qnx*)
10784   version_type=qnx
10785   need_lib_prefix=no
10786   need_version=no
10787   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10788   soname_spec='${libname}${release}${shared_ext}$major'
10789   shlibpath_var=LD_LIBRARY_PATH
10790   shlibpath_overrides_runpath=no
10791   hardcode_into_libs=yes
10792   dynamic_linker='ldqnx.so'
10793   ;;
10794
10795 openbsd*)
10796   version_type=sunos
10797   sys_lib_dlsearch_path_spec="/usr/lib"
10798   need_lib_prefix=no
10799   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10800   case $host_os in
10801     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10802     *)                          need_version=no  ;;
10803   esac
10804   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10805   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10806   shlibpath_var=LD_LIBRARY_PATH
10807   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10808     case $host_os in
10809       openbsd2.[89] | openbsd2.[89].*)
10810         shlibpath_overrides_runpath=no
10811         ;;
10812       *)
10813         shlibpath_overrides_runpath=yes
10814         ;;
10815       esac
10816   else
10817     shlibpath_overrides_runpath=yes
10818   fi
10819   ;;
10820
10821 os2*)
10822   libname_spec='$name'
10823   shrext_cmds=".dll"
10824   need_lib_prefix=no
10825   library_names_spec='$libname${shared_ext} $libname.a'
10826   dynamic_linker='OS/2 ld.exe'
10827   shlibpath_var=LIBPATH
10828   ;;
10829
10830 osf3* | osf4* | osf5*)
10831   version_type=osf
10832   need_lib_prefix=no
10833   need_version=no
10834   soname_spec='${libname}${release}${shared_ext}$major'
10835   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10836   shlibpath_var=LD_LIBRARY_PATH
10837   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10838   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10839   ;;
10840
10841 rdos*)
10842   dynamic_linker=no
10843   ;;
10844
10845 solaris*)
10846   version_type=linux # correct to gnu/linux during the next big refactor
10847   need_lib_prefix=no
10848   need_version=no
10849   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10850   soname_spec='${libname}${release}${shared_ext}$major'
10851   shlibpath_var=LD_LIBRARY_PATH
10852   shlibpath_overrides_runpath=yes
10853   hardcode_into_libs=yes
10854   # ldd complains unless libraries are executable
10855   postinstall_cmds='chmod +x $lib'
10856   ;;
10857
10858 sunos4*)
10859   version_type=sunos
10860   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10861   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10862   shlibpath_var=LD_LIBRARY_PATH
10863   shlibpath_overrides_runpath=yes
10864   if test "$with_gnu_ld" = yes; then
10865     need_lib_prefix=no
10866   fi
10867   need_version=yes
10868   ;;
10869
10870 sysv4 | sysv4.3*)
10871   version_type=linux # correct to gnu/linux during the next big refactor
10872   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10873   soname_spec='${libname}${release}${shared_ext}$major'
10874   shlibpath_var=LD_LIBRARY_PATH
10875   case $host_vendor in
10876     sni)
10877       shlibpath_overrides_runpath=no
10878       need_lib_prefix=no
10879       runpath_var=LD_RUN_PATH
10880       ;;
10881     siemens)
10882       need_lib_prefix=no
10883       ;;
10884     motorola)
10885       need_lib_prefix=no
10886       need_version=no
10887       shlibpath_overrides_runpath=no
10888       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10889       ;;
10890   esac
10891   ;;
10892
10893 sysv4*MP*)
10894   if test -d /usr/nec ;then
10895     version_type=linux # correct to gnu/linux during the next big refactor
10896     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10897     soname_spec='$libname${shared_ext}.$major'
10898     shlibpath_var=LD_LIBRARY_PATH
10899   fi
10900   ;;
10901
10902 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10903   version_type=freebsd-elf
10904   need_lib_prefix=no
10905   need_version=no
10906   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10907   soname_spec='${libname}${release}${shared_ext}$major'
10908   shlibpath_var=LD_LIBRARY_PATH
10909   shlibpath_overrides_runpath=yes
10910   hardcode_into_libs=yes
10911   if test "$with_gnu_ld" = yes; then
10912     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10913   else
10914     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10915     case $host_os in
10916       sco3.2v5*)
10917         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10918         ;;
10919     esac
10920   fi
10921   sys_lib_dlsearch_path_spec='/usr/lib'
10922   ;;
10923
10924 tpf*)
10925   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10926   version_type=linux # correct to gnu/linux during the next big refactor
10927   need_lib_prefix=no
10928   need_version=no
10929   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10930   shlibpath_var=LD_LIBRARY_PATH
10931   shlibpath_overrides_runpath=no
10932   hardcode_into_libs=yes
10933   ;;
10934
10935 uts4*)
10936   version_type=linux # correct to gnu/linux during the next big refactor
10937   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10938   soname_spec='${libname}${release}${shared_ext}$major'
10939   shlibpath_var=LD_LIBRARY_PATH
10940   ;;
10941
10942 *)
10943   dynamic_linker=no
10944   ;;
10945 esac
10946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10947 $as_echo "$dynamic_linker" >&6; }
10948 test "$dynamic_linker" = no && can_build_shared=no
10949
10950 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10951 if test "$GCC" = yes; then
10952   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10953 fi
10954
10955 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10956   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10957 fi
10958 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10959   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10960 fi
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11054 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11055 hardcode_action=
11056 if test -n "$hardcode_libdir_flag_spec" ||
11057    test -n "$runpath_var" ||
11058    test "X$hardcode_automatic" = "Xyes" ; then
11059
11060   # We can hardcode non-existent directories.
11061   if test "$hardcode_direct" != no &&
11062      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11063      # have to relink, otherwise we might link with an installed library
11064      # when we should be linking with a yet-to-be-installed one
11065      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11066      test "$hardcode_minus_L" != no; then
11067     # Linking always hardcodes the temporary library directory.
11068     hardcode_action=relink
11069   else
11070     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11071     hardcode_action=immediate
11072   fi
11073 else
11074   # We cannot hardcode anything, or else we can only hardcode existing
11075   # directories.
11076   hardcode_action=unsupported
11077 fi
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11079 $as_echo "$hardcode_action" >&6; }
11080
11081 if test "$hardcode_action" = relink ||
11082    test "$inherit_rpath" = yes; then
11083   # Fast installation is not supported
11084   enable_fast_install=no
11085 elif test "$shlibpath_overrides_runpath" = yes ||
11086      test "$enable_shared" = no; then
11087   # Fast installation is not necessary
11088   enable_fast_install=needless
11089 fi
11090
11091
11092
11093
11094
11095
11096   if test "x$enable_dlopen" != xyes; then
11097   enable_dlopen=unknown
11098   enable_dlopen_self=unknown
11099   enable_dlopen_self_static=unknown
11100 else
11101   lt_cv_dlopen=no
11102   lt_cv_dlopen_libs=
11103
11104   case $host_os in
11105   beos*)
11106     lt_cv_dlopen="load_add_on"
11107     lt_cv_dlopen_libs=
11108     lt_cv_dlopen_self=yes
11109     ;;
11110
11111   mingw* | pw32* | cegcc*)
11112     lt_cv_dlopen="LoadLibrary"
11113     lt_cv_dlopen_libs=
11114     ;;
11115
11116   cygwin*)
11117     lt_cv_dlopen="dlopen"
11118     lt_cv_dlopen_libs=
11119     ;;
11120
11121   darwin*)
11122   # if libdl is installed we need to link against it
11123     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11124 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11125 if ${ac_cv_lib_dl_dlopen+:} false; then :
11126   $as_echo_n "(cached) " >&6
11127 else
11128   ac_check_lib_save_LIBS=$LIBS
11129 LIBS="-ldl  $LIBS"
11130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11131 /* end confdefs.h.  */
11132
11133 /* Override any GCC internal prototype to avoid an error.
11134    Use char because int might match the return type of a GCC
11135    builtin and then its argument prototype would still apply.  */
11136 #ifdef __cplusplus
11137 extern "C"
11138 #endif
11139 char dlopen ();
11140 int
11141 main ()
11142 {
11143 return dlopen ();
11144   ;
11145   return 0;
11146 }
11147 _ACEOF
11148 if ac_fn_c_try_link "$LINENO"; then :
11149   ac_cv_lib_dl_dlopen=yes
11150 else
11151   ac_cv_lib_dl_dlopen=no
11152 fi
11153 rm -f core conftest.err conftest.$ac_objext \
11154     conftest$ac_exeext conftest.$ac_ext
11155 LIBS=$ac_check_lib_save_LIBS
11156 fi
11157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11158 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11159 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11160   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11161 else
11162
11163     lt_cv_dlopen="dyld"
11164     lt_cv_dlopen_libs=
11165     lt_cv_dlopen_self=yes
11166
11167 fi
11168
11169     ;;
11170
11171   *)
11172     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11173 if test "x$ac_cv_func_shl_load" = xyes; then :
11174   lt_cv_dlopen="shl_load"
11175 else
11176   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11177 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11178 if ${ac_cv_lib_dld_shl_load+:} false; then :
11179   $as_echo_n "(cached) " >&6
11180 else
11181   ac_check_lib_save_LIBS=$LIBS
11182 LIBS="-ldld  $LIBS"
11183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11184 /* end confdefs.h.  */
11185
11186 /* Override any GCC internal prototype to avoid an error.
11187    Use char because int might match the return type of a GCC
11188    builtin and then its argument prototype would still apply.  */
11189 #ifdef __cplusplus
11190 extern "C"
11191 #endif
11192 char shl_load ();
11193 int
11194 main ()
11195 {
11196 return shl_load ();
11197   ;
11198   return 0;
11199 }
11200 _ACEOF
11201 if ac_fn_c_try_link "$LINENO"; then :
11202   ac_cv_lib_dld_shl_load=yes
11203 else
11204   ac_cv_lib_dld_shl_load=no
11205 fi
11206 rm -f core conftest.err conftest.$ac_objext \
11207     conftest$ac_exeext conftest.$ac_ext
11208 LIBS=$ac_check_lib_save_LIBS
11209 fi
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11211 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11212 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11213   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11214 else
11215   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11216 if test "x$ac_cv_func_dlopen" = xyes; then :
11217   lt_cv_dlopen="dlopen"
11218 else
11219   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11220 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11221 if ${ac_cv_lib_dl_dlopen+:} false; then :
11222   $as_echo_n "(cached) " >&6
11223 else
11224   ac_check_lib_save_LIBS=$LIBS
11225 LIBS="-ldl  $LIBS"
11226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11227 /* end confdefs.h.  */
11228
11229 /* Override any GCC internal prototype to avoid an error.
11230    Use char because int might match the return type of a GCC
11231    builtin and then its argument prototype would still apply.  */
11232 #ifdef __cplusplus
11233 extern "C"
11234 #endif
11235 char dlopen ();
11236 int
11237 main ()
11238 {
11239 return dlopen ();
11240   ;
11241   return 0;
11242 }
11243 _ACEOF
11244 if ac_fn_c_try_link "$LINENO"; then :
11245   ac_cv_lib_dl_dlopen=yes
11246 else
11247   ac_cv_lib_dl_dlopen=no
11248 fi
11249 rm -f core conftest.err conftest.$ac_objext \
11250     conftest$ac_exeext conftest.$ac_ext
11251 LIBS=$ac_check_lib_save_LIBS
11252 fi
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11254 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11255 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11256   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11257 else
11258   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11259 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11260 if ${ac_cv_lib_svld_dlopen+:} false; then :
11261   $as_echo_n "(cached) " >&6
11262 else
11263   ac_check_lib_save_LIBS=$LIBS
11264 LIBS="-lsvld  $LIBS"
11265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11266 /* end confdefs.h.  */
11267
11268 /* Override any GCC internal prototype to avoid an error.
11269    Use char because int might match the return type of a GCC
11270    builtin and then its argument prototype would still apply.  */
11271 #ifdef __cplusplus
11272 extern "C"
11273 #endif
11274 char dlopen ();
11275 int
11276 main ()
11277 {
11278 return dlopen ();
11279   ;
11280   return 0;
11281 }
11282 _ACEOF
11283 if ac_fn_c_try_link "$LINENO"; then :
11284   ac_cv_lib_svld_dlopen=yes
11285 else
11286   ac_cv_lib_svld_dlopen=no
11287 fi
11288 rm -f core conftest.err conftest.$ac_objext \
11289     conftest$ac_exeext conftest.$ac_ext
11290 LIBS=$ac_check_lib_save_LIBS
11291 fi
11292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11293 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11294 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11295   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11296 else
11297   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11298 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11299 if ${ac_cv_lib_dld_dld_link+:} false; then :
11300   $as_echo_n "(cached) " >&6
11301 else
11302   ac_check_lib_save_LIBS=$LIBS
11303 LIBS="-ldld  $LIBS"
11304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11305 /* end confdefs.h.  */
11306
11307 /* Override any GCC internal prototype to avoid an error.
11308    Use char because int might match the return type of a GCC
11309    builtin and then its argument prototype would still apply.  */
11310 #ifdef __cplusplus
11311 extern "C"
11312 #endif
11313 char dld_link ();
11314 int
11315 main ()
11316 {
11317 return dld_link ();
11318   ;
11319   return 0;
11320 }
11321 _ACEOF
11322 if ac_fn_c_try_link "$LINENO"; then :
11323   ac_cv_lib_dld_dld_link=yes
11324 else
11325   ac_cv_lib_dld_dld_link=no
11326 fi
11327 rm -f core conftest.err conftest.$ac_objext \
11328     conftest$ac_exeext conftest.$ac_ext
11329 LIBS=$ac_check_lib_save_LIBS
11330 fi
11331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11332 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11333 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11334   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11335 fi
11336
11337
11338 fi
11339
11340
11341 fi
11342
11343
11344 fi
11345
11346
11347 fi
11348
11349
11350 fi
11351
11352     ;;
11353   esac
11354
11355   if test "x$lt_cv_dlopen" != xno; then
11356     enable_dlopen=yes
11357   else
11358     enable_dlopen=no
11359   fi
11360
11361   case $lt_cv_dlopen in
11362   dlopen)
11363     save_CPPFLAGS="$CPPFLAGS"
11364     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11365
11366     save_LDFLAGS="$LDFLAGS"
11367     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11368
11369     save_LIBS="$LIBS"
11370     LIBS="$lt_cv_dlopen_libs $LIBS"
11371
11372     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11373 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11374 if ${lt_cv_dlopen_self+:} false; then :
11375   $as_echo_n "(cached) " >&6
11376 else
11377           if test "$cross_compiling" = yes; then :
11378   lt_cv_dlopen_self=cross
11379 else
11380   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11381   lt_status=$lt_dlunknown
11382   cat > conftest.$ac_ext <<_LT_EOF
11383 #line $LINENO "configure"
11384 #include "confdefs.h"
11385
11386 #if HAVE_DLFCN_H
11387 #include <dlfcn.h>
11388 #endif
11389
11390 #include <stdio.h>
11391
11392 #ifdef RTLD_GLOBAL
11393 #  define LT_DLGLOBAL           RTLD_GLOBAL
11394 #else
11395 #  ifdef DL_GLOBAL
11396 #    define LT_DLGLOBAL         DL_GLOBAL
11397 #  else
11398 #    define LT_DLGLOBAL         0
11399 #  endif
11400 #endif
11401
11402 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11403    find out it does not work in some platform. */
11404 #ifndef LT_DLLAZY_OR_NOW
11405 #  ifdef RTLD_LAZY
11406 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11407 #  else
11408 #    ifdef DL_LAZY
11409 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11410 #    else
11411 #      ifdef RTLD_NOW
11412 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11413 #      else
11414 #        ifdef DL_NOW
11415 #          define LT_DLLAZY_OR_NOW      DL_NOW
11416 #        else
11417 #          define LT_DLLAZY_OR_NOW      0
11418 #        endif
11419 #      endif
11420 #    endif
11421 #  endif
11422 #endif
11423
11424 /* When -fvisbility=hidden is used, assume the code has been annotated
11425    correspondingly for the symbols needed.  */
11426 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11427 int fnord () __attribute__((visibility("default")));
11428 #endif
11429
11430 int fnord () { return 42; }
11431 int main ()
11432 {
11433   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11434   int status = $lt_dlunknown;
11435
11436   if (self)
11437     {
11438       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11439       else
11440         {
11441           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11442           else puts (dlerror ());
11443         }
11444       /* dlclose (self); */
11445     }
11446   else
11447     puts (dlerror ());
11448
11449   return status;
11450 }
11451 _LT_EOF
11452   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11453   (eval $ac_link) 2>&5
11454   ac_status=$?
11455   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11456   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11457     (./conftest; exit; ) >&5 2>/dev/null
11458     lt_status=$?
11459     case x$lt_status in
11460       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11461       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11462       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11463     esac
11464   else :
11465     # compilation failed
11466     lt_cv_dlopen_self=no
11467   fi
11468 fi
11469 rm -fr conftest*
11470
11471
11472 fi
11473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11474 $as_echo "$lt_cv_dlopen_self" >&6; }
11475
11476     if test "x$lt_cv_dlopen_self" = xyes; then
11477       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11478       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11479 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11480 if ${lt_cv_dlopen_self_static+:} false; then :
11481   $as_echo_n "(cached) " >&6
11482 else
11483           if test "$cross_compiling" = yes; then :
11484   lt_cv_dlopen_self_static=cross
11485 else
11486   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11487   lt_status=$lt_dlunknown
11488   cat > conftest.$ac_ext <<_LT_EOF
11489 #line $LINENO "configure"
11490 #include "confdefs.h"
11491
11492 #if HAVE_DLFCN_H
11493 #include <dlfcn.h>
11494 #endif
11495
11496 #include <stdio.h>
11497
11498 #ifdef RTLD_GLOBAL
11499 #  define LT_DLGLOBAL           RTLD_GLOBAL
11500 #else
11501 #  ifdef DL_GLOBAL
11502 #    define LT_DLGLOBAL         DL_GLOBAL
11503 #  else
11504 #    define LT_DLGLOBAL         0
11505 #  endif
11506 #endif
11507
11508 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11509    find out it does not work in some platform. */
11510 #ifndef LT_DLLAZY_OR_NOW
11511 #  ifdef RTLD_LAZY
11512 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11513 #  else
11514 #    ifdef DL_LAZY
11515 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11516 #    else
11517 #      ifdef RTLD_NOW
11518 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11519 #      else
11520 #        ifdef DL_NOW
11521 #          define LT_DLLAZY_OR_NOW      DL_NOW
11522 #        else
11523 #          define LT_DLLAZY_OR_NOW      0
11524 #        endif
11525 #      endif
11526 #    endif
11527 #  endif
11528 #endif
11529
11530 /* When -fvisbility=hidden is used, assume the code has been annotated
11531    correspondingly for the symbols needed.  */
11532 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11533 int fnord () __attribute__((visibility("default")));
11534 #endif
11535
11536 int fnord () { return 42; }
11537 int main ()
11538 {
11539   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11540   int status = $lt_dlunknown;
11541
11542   if (self)
11543     {
11544       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11545       else
11546         {
11547           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11548           else puts (dlerror ());
11549         }
11550       /* dlclose (self); */
11551     }
11552   else
11553     puts (dlerror ());
11554
11555   return status;
11556 }
11557 _LT_EOF
11558   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11559   (eval $ac_link) 2>&5
11560   ac_status=$?
11561   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11562   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11563     (./conftest; exit; ) >&5 2>/dev/null
11564     lt_status=$?
11565     case x$lt_status in
11566       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11567       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11568       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11569     esac
11570   else :
11571     # compilation failed
11572     lt_cv_dlopen_self_static=no
11573   fi
11574 fi
11575 rm -fr conftest*
11576
11577
11578 fi
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11580 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11581     fi
11582
11583     CPPFLAGS="$save_CPPFLAGS"
11584     LDFLAGS="$save_LDFLAGS"
11585     LIBS="$save_LIBS"
11586     ;;
11587   esac
11588
11589   case $lt_cv_dlopen_self in
11590   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11591   *) enable_dlopen_self=unknown ;;
11592   esac
11593
11594   case $lt_cv_dlopen_self_static in
11595   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11596   *) enable_dlopen_self_static=unknown ;;
11597   esac
11598 fi
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616 striplib=
11617 old_striplib=
11618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11619 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11620 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11621   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11622   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11624 $as_echo "yes" >&6; }
11625 else
11626 # FIXME - insert some real tests, host_os isn't really good enough
11627   case $host_os in
11628   darwin*)
11629     if test -n "$STRIP" ; then
11630       striplib="$STRIP -x"
11631       old_striplib="$STRIP -S"
11632       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11633 $as_echo "yes" >&6; }
11634     else
11635       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11636 $as_echo "no" >&6; }
11637     fi
11638     ;;
11639   *)
11640     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11641 $as_echo "no" >&6; }
11642     ;;
11643   esac
11644 fi
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657   # Report which library types will actually be built
11658   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11659 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11661 $as_echo "$can_build_shared" >&6; }
11662
11663   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11664 $as_echo_n "checking whether to build shared libraries... " >&6; }
11665   test "$can_build_shared" = "no" && enable_shared=no
11666
11667   # On AIX, shared libraries and static libraries use the same namespace, and
11668   # are all built from PIC.
11669   case $host_os in
11670   aix3*)
11671     test "$enable_shared" = yes && enable_static=no
11672     if test -n "$RANLIB"; then
11673       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11674       postinstall_cmds='$RANLIB $lib'
11675     fi
11676     ;;
11677
11678   aix[4-9]*)
11679     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11680       test "$enable_shared" = yes && enable_static=no
11681     fi
11682     ;;
11683   esac
11684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11685 $as_echo "$enable_shared" >&6; }
11686
11687   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11688 $as_echo_n "checking whether to build static libraries... " >&6; }
11689   # Make sure either enable_shared or enable_static is yes.
11690   test "$enable_shared" = yes || enable_static=yes
11691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11692 $as_echo "$enable_static" >&6; }
11693
11694
11695
11696
11697 fi
11698 ac_ext=c
11699 ac_cpp='$CPP $CPPFLAGS'
11700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11703
11704 CC="$lt_save_CC"
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720         ac_config_commands="$ac_config_commands libtool"
11721
11722
11723
11724
11725 # Only expand once:
11726
11727
11728
11729 # Checks for libraries.
11730
11731
11732
11733
11734
11735
11736
11737 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11738         if test -n "$ac_tool_prefix"; then
11739   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11740 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11742 $as_echo_n "checking for $ac_word... " >&6; }
11743 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11744   $as_echo_n "(cached) " >&6
11745 else
11746   case $PKG_CONFIG in
11747   [\\/]* | ?:[\\/]*)
11748   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11749   ;;
11750   *)
11751   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11752 for as_dir in $PATH
11753 do
11754   IFS=$as_save_IFS
11755   test -z "$as_dir" && as_dir=.
11756     for ac_exec_ext in '' $ac_executable_extensions; do
11757   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11758     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11759     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11760     break 2
11761   fi
11762 done
11763   done
11764 IFS=$as_save_IFS
11765
11766   ;;
11767 esac
11768 fi
11769 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11770 if test -n "$PKG_CONFIG"; then
11771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11772 $as_echo "$PKG_CONFIG" >&6; }
11773 else
11774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11775 $as_echo "no" >&6; }
11776 fi
11777
11778
11779 fi
11780 if test -z "$ac_cv_path_PKG_CONFIG"; then
11781   ac_pt_PKG_CONFIG=$PKG_CONFIG
11782   # Extract the first word of "pkg-config", so it can be a program name with args.
11783 set dummy pkg-config; ac_word=$2
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11785 $as_echo_n "checking for $ac_word... " >&6; }
11786 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11787   $as_echo_n "(cached) " >&6
11788 else
11789   case $ac_pt_PKG_CONFIG in
11790   [\\/]* | ?:[\\/]*)
11791   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11792   ;;
11793   *)
11794   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11795 for as_dir in $PATH
11796 do
11797   IFS=$as_save_IFS
11798   test -z "$as_dir" && as_dir=.
11799     for ac_exec_ext in '' $ac_executable_extensions; do
11800   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11801     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11802     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11803     break 2
11804   fi
11805 done
11806   done
11807 IFS=$as_save_IFS
11808
11809   ;;
11810 esac
11811 fi
11812 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11813 if test -n "$ac_pt_PKG_CONFIG"; then
11814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11815 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11816 else
11817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11818 $as_echo "no" >&6; }
11819 fi
11820
11821   if test "x$ac_pt_PKG_CONFIG" = x; then
11822     PKG_CONFIG=""
11823   else
11824     case $cross_compiling:$ac_tool_warned in
11825 yes:)
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11827 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11828 ac_tool_warned=yes ;;
11829 esac
11830     PKG_CONFIG=$ac_pt_PKG_CONFIG
11831   fi
11832 else
11833   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11834 fi
11835
11836 fi
11837 if test -n "$PKG_CONFIG"; then
11838         _pkg_min_version=0.9.0
11839         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11840 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11841         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11842                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11843 $as_echo "yes" >&6; }
11844         else
11845                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11846 $as_echo "no" >&6; }
11847                 PKG_CONFIG=""
11848         fi
11849 fi
11850
11851 pkg_failed=no
11852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
11853 $as_echo_n "checking for GLIB... " >&6; }
11854
11855 if test -n "$GLIB_CFLAGS"; then
11856     pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
11857  elif test -n "$PKG_CONFIG"; then
11858     if test -n "$PKG_CONFIG" && \
11859     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.30
11860                    gio-2.0
11861                    gio-unix-2.0
11862                    gmodule-2.0\""; } >&5
11863   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.30
11864                    gio-2.0
11865                    gio-unix-2.0
11866                    gmodule-2.0") 2>&5
11867   ac_status=$?
11868   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11869   test $ac_status = 0; }; then
11870   pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.30
11871                    gio-2.0
11872                    gio-unix-2.0
11873                    gmodule-2.0" 2>/dev/null`
11874                       test "x$?" != "x0" && pkg_failed=yes
11875 else
11876   pkg_failed=yes
11877 fi
11878  else
11879     pkg_failed=untried
11880 fi
11881 if test -n "$GLIB_LIBS"; then
11882     pkg_cv_GLIB_LIBS="$GLIB_LIBS"
11883  elif test -n "$PKG_CONFIG"; then
11884     if test -n "$PKG_CONFIG" && \
11885     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.30
11886                    gio-2.0
11887                    gio-unix-2.0
11888                    gmodule-2.0\""; } >&5
11889   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.30
11890                    gio-2.0
11891                    gio-unix-2.0
11892                    gmodule-2.0") 2>&5
11893   ac_status=$?
11894   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11895   test $ac_status = 0; }; then
11896   pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.30
11897                    gio-2.0
11898                    gio-unix-2.0
11899                    gmodule-2.0" 2>/dev/null`
11900                       test "x$?" != "x0" && pkg_failed=yes
11901 else
11902   pkg_failed=yes
11903 fi
11904  else
11905     pkg_failed=untried
11906 fi
11907
11908
11909
11910 if test $pkg_failed = yes; then
11911         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11912 $as_echo "no" >&6; }
11913
11914 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11915         _pkg_short_errors_supported=yes
11916 else
11917         _pkg_short_errors_supported=no
11918 fi
11919         if test $_pkg_short_errors_supported = yes; then
11920                 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.30
11921                    gio-2.0
11922                    gio-unix-2.0
11923                    gmodule-2.0" 2>&1`
11924         else
11925                 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.30
11926                    gio-2.0
11927                    gio-unix-2.0
11928                    gmodule-2.0" 2>&1`
11929         fi
11930         # Put the nasty error message in config.log where it belongs
11931         echo "$GLIB_PKG_ERRORS" >&5
11932
11933         as_fn_error $? "Package requirements (glib-2.0 >= 2.30
11934                    gio-2.0
11935                    gio-unix-2.0
11936                    gmodule-2.0) were not met:
11937
11938 $GLIB_PKG_ERRORS
11939
11940 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11941 installed software in a non-standard prefix.
11942
11943 Alternatively, you may set the environment variables GLIB_CFLAGS
11944 and GLIB_LIBS to avoid the need to call pkg-config.
11945 See the pkg-config man page for more details." "$LINENO" 5
11946 elif test $pkg_failed = untried; then
11947         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11948 $as_echo "no" >&6; }
11949         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11950 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11951 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
11952 is in your PATH or set the PKG_CONFIG environment variable to the full
11953 path to pkg-config.
11954
11955 Alternatively, you may set the environment variables GLIB_CFLAGS
11956 and GLIB_LIBS to avoid the need to call pkg-config.
11957 See the pkg-config man page for more details.
11958
11959 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11960 See \`config.log' for more details" "$LINENO" 5; }
11961 else
11962         GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
11963         GLIB_LIBS=$pkg_cv_GLIB_LIBS
11964         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11965 $as_echo "yes" >&6; }
11966
11967 fi
11968
11969
11970 # Extract the first word of "glib-mkenums", so it can be a program name with args.
11971 set dummy glib-mkenums; ac_word=$2
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11973 $as_echo_n "checking for $ac_word... " >&6; }
11974 if ${ac_cv_path_GLIB_MKENUMS+:} false; then :
11975   $as_echo_n "(cached) " >&6
11976 else
11977   case $GLIB_MKENUMS in
11978   [\\/]* | ?:[\\/]*)
11979   ac_cv_path_GLIB_MKENUMS="$GLIB_MKENUMS" # Let the user override the test with a path.
11980   ;;
11981   *)
11982   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11983 for as_dir in $PATH
11984 do
11985   IFS=$as_save_IFS
11986   test -z "$as_dir" && as_dir=.
11987     for ac_exec_ext in '' $ac_executable_extensions; do
11988   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11989     ac_cv_path_GLIB_MKENUMS="$as_dir/$ac_word$ac_exec_ext"
11990     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11991     break 2
11992   fi
11993 done
11994   done
11995 IFS=$as_save_IFS
11996
11997   ;;
11998 esac
11999 fi
12000 GLIB_MKENUMS=$ac_cv_path_GLIB_MKENUMS
12001 if test -n "$GLIB_MKENUMS"; then
12002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_MKENUMS" >&5
12003 $as_echo "$GLIB_MKENUMS" >&6; }
12004 else
12005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12006 $as_echo "no" >&6; }
12007 fi
12008
12009
12010
12011 # Checks for libtlm-nfc
12012
12013 pkg_failed=no
12014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBTLM_NFC" >&5
12015 $as_echo_n "checking for LIBTLM_NFC... " >&6; }
12016
12017 if test -n "$LIBTLM_NFC_CFLAGS"; then
12018     pkg_cv_LIBTLM_NFC_CFLAGS="$LIBTLM_NFC_CFLAGS"
12019  elif test -n "$PKG_CONFIG"; then
12020     if test -n "$PKG_CONFIG" && \
12021     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtlm-nfc\""; } >&5
12022   ($PKG_CONFIG --exists --print-errors "libtlm-nfc") 2>&5
12023   ac_status=$?
12024   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12025   test $ac_status = 0; }; then
12026   pkg_cv_LIBTLM_NFC_CFLAGS=`$PKG_CONFIG --cflags "libtlm-nfc" 2>/dev/null`
12027                       test "x$?" != "x0" && pkg_failed=yes
12028 else
12029   pkg_failed=yes
12030 fi
12031  else
12032     pkg_failed=untried
12033 fi
12034 if test -n "$LIBTLM_NFC_LIBS"; then
12035     pkg_cv_LIBTLM_NFC_LIBS="$LIBTLM_NFC_LIBS"
12036  elif test -n "$PKG_CONFIG"; then
12037     if test -n "$PKG_CONFIG" && \
12038     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtlm-nfc\""; } >&5
12039   ($PKG_CONFIG --exists --print-errors "libtlm-nfc") 2>&5
12040   ac_status=$?
12041   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12042   test $ac_status = 0; }; then
12043   pkg_cv_LIBTLM_NFC_LIBS=`$PKG_CONFIG --libs "libtlm-nfc" 2>/dev/null`
12044                       test "x$?" != "x0" && pkg_failed=yes
12045 else
12046   pkg_failed=yes
12047 fi
12048  else
12049     pkg_failed=untried
12050 fi
12051
12052
12053
12054 if test $pkg_failed = yes; then
12055         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12056 $as_echo "no" >&6; }
12057
12058 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12059         _pkg_short_errors_supported=yes
12060 else
12061         _pkg_short_errors_supported=no
12062 fi
12063         if test $_pkg_short_errors_supported = yes; then
12064                 LIBTLM_NFC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libtlm-nfc" 2>&1`
12065         else
12066                 LIBTLM_NFC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libtlm-nfc" 2>&1`
12067         fi
12068         # Put the nasty error message in config.log where it belongs
12069         echo "$LIBTLM_NFC_PKG_ERRORS" >&5
12070
12071         have_libtlm_nfc=no
12072 elif test $pkg_failed = untried; then
12073         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12074 $as_echo "no" >&6; }
12075         have_libtlm_nfc=no
12076 else
12077         LIBTLM_NFC_CFLAGS=$pkg_cv_LIBTLM_NFC_CFLAGS
12078         LIBTLM_NFC_LIBS=$pkg_cv_LIBTLM_NFC_LIBS
12079         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12080 $as_echo "yes" >&6; }
12081         have_libtlm_nfc=yes
12082 fi
12083  if test x$have_libtlm_nfc = xyes; then
12084   HAVE_LIBTLM_NFC_TRUE=
12085   HAVE_LIBTLM_NFC_FALSE='#'
12086 else
12087   HAVE_LIBTLM_NFC_TRUE='#'
12088   HAVE_LIBTLM_NFC_FALSE=
12089 fi
12090
12091 if test "x$have_libtlm_nfc" = xyes; then
12092
12093 $as_echo "#define HAVE_LIBTLM_NFC 1" >>confdefs.h
12094
12095 fi
12096
12097 # Check library.
12098
12099 pkg_failed=no
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
12101 $as_echo_n "checking for CHECK... " >&6; }
12102
12103 if test -n "$CHECK_CFLAGS"; then
12104     pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
12105  elif test -n "$PKG_CONFIG"; then
12106     if test -n "$PKG_CONFIG" && \
12107     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
12108   ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
12109   ac_status=$?
12110   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12111   test $ac_status = 0; }; then
12112   pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.4" 2>/dev/null`
12113                       test "x$?" != "x0" && pkg_failed=yes
12114 else
12115   pkg_failed=yes
12116 fi
12117  else
12118     pkg_failed=untried
12119 fi
12120 if test -n "$CHECK_LIBS"; then
12121     pkg_cv_CHECK_LIBS="$CHECK_LIBS"
12122  elif test -n "$PKG_CONFIG"; then
12123     if test -n "$PKG_CONFIG" && \
12124     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
12125   ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
12126   ac_status=$?
12127   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12128   test $ac_status = 0; }; then
12129   pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.4" 2>/dev/null`
12130                       test "x$?" != "x0" && pkg_failed=yes
12131 else
12132   pkg_failed=yes
12133 fi
12134  else
12135     pkg_failed=untried
12136 fi
12137
12138
12139
12140 if test $pkg_failed = yes; then
12141         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12142 $as_echo "no" >&6; }
12143
12144 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12145         _pkg_short_errors_supported=yes
12146 else
12147         _pkg_short_errors_supported=no
12148 fi
12149         if test $_pkg_short_errors_supported = yes; then
12150                 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
12151         else
12152                 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
12153         fi
12154         # Put the nasty error message in config.log where it belongs
12155         echo "$CHECK_PKG_ERRORS" >&5
12156
12157         have_check=no
12158 elif test $pkg_failed = untried; then
12159         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12160 $as_echo "no" >&6; }
12161         have_check=no
12162 else
12163         CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
12164         CHECK_LIBS=$pkg_cv_CHECK_LIBS
12165         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12166 $as_echo "yes" >&6; }
12167         have_check=yes
12168 fi
12169
12170
12171
12172 for ac_header in string.h
12173 do :
12174   ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
12175 if test "x$ac_cv_header_string_h" = xyes; then :
12176   cat >>confdefs.h <<_ACEOF
12177 #define HAVE_STRING_H 1
12178 _ACEOF
12179
12180 fi
12181
12182 done
12183
12184 for ac_header in sys/xattr.h attr/xattr.h
12185 do :
12186   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12187 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12188 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12189   cat >>confdefs.h <<_ACEOF
12190 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12191 _ACEOF
12192  break
12193 fi
12194
12195 done
12196
12197 for ac_func in llistxattr lgetxattr lsetxattr
12198 do :
12199   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12200 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12201 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12202   cat >>confdefs.h <<_ACEOF
12203 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12204 _ACEOF
12205
12206 fi
12207 done
12208
12209
12210 # Crypt library.
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
12212 $as_echo_n "checking for library containing crypt... " >&6; }
12213 if ${ac_cv_search_crypt+:} false; then :
12214   $as_echo_n "(cached) " >&6
12215 else
12216   ac_func_search_save_LIBS=$LIBS
12217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12218 /* end confdefs.h.  */
12219
12220 /* Override any GCC internal prototype to avoid an error.
12221    Use char because int might match the return type of a GCC
12222    builtin and then its argument prototype would still apply.  */
12223 #ifdef __cplusplus
12224 extern "C"
12225 #endif
12226 char crypt ();
12227 int
12228 main ()
12229 {
12230 return crypt ();
12231   ;
12232   return 0;
12233 }
12234 _ACEOF
12235 for ac_lib in '' crypt; do
12236   if test -z "$ac_lib"; then
12237     ac_res="none required"
12238   else
12239     ac_res=-l$ac_lib
12240     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12241   fi
12242   if ac_fn_c_try_link "$LINENO"; then :
12243   ac_cv_search_crypt=$ac_res
12244 fi
12245 rm -f core conftest.err conftest.$ac_objext \
12246     conftest$ac_exeext
12247   if ${ac_cv_search_crypt+:} false; then :
12248   break
12249 fi
12250 done
12251 if ${ac_cv_search_crypt+:} false; then :
12252
12253 else
12254   ac_cv_search_crypt=no
12255 fi
12256 rm conftest.$ac_ext
12257 LIBS=$ac_func_search_save_LIBS
12258 fi
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
12260 $as_echo "$ac_cv_search_crypt" >&6; }
12261 ac_res=$ac_cv_search_crypt
12262 if test "$ac_res" != no; then :
12263   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12264   CRYPT_LIB="-l$ac_lib"
12265 else
12266   CRYPT_LIB=""
12267 fi
12268
12269
12270 if test "x$CRYPT_LIB" = "x" ; then
12271     as_fn_error $? "\"CRYPT Library is required\"" "$LINENO" 5
12272 fi
12273
12274 # Enable cov
12275 # Check whether --enable-cov was given.
12276 if test "${enable_cov+set}" = set; then :
12277   enableval=$enable_cov; enable_cov=yes
12278 else
12279   enable_cov=no
12280 fi
12281
12282 if test "x$enable_cov" = "xyes" ; then
12283     GCOV_CFLAGS="-ftest-coverage -fprofile-arcs"
12284     GCOV_LIBS="-lgcov"
12285 fi
12286
12287
12288
12289 # Enable Distcheck
12290 # Check whether --enable-distcheck was given.
12291 if test "${enable_distcheck+set}" = set; then :
12292   enableval=$enable_distcheck; enable_distcheck=yes
12293 else
12294   enable_distcheck=no
12295 fi
12296
12297 echo "--------------------------------"
12298 echo "Distcheck : '$enable_distcheck'"
12299  if test x$enable_distcheck != xyes; then
12300   SET_PERMISSIONS_TRUE=
12301   SET_PERMISSIONS_FALSE='#'
12302 else
12303   SET_PERMISSIONS_TRUE='#'
12304   SET_PERMISSIONS_FALSE=
12305 fi
12306
12307
12308 # Enable Dbus type
12309 # Check whether --enable-dbus-type was given.
12310 if test "${enable_dbus_type+set}" = set; then :
12311   enableval=$enable_dbus_type; enable_dbus_type=$enableval
12312 else
12313   enable_dbus_type=system
12314 fi
12315
12316
12317 echo "--------------------------------"
12318 echo "Dbus Type : '$enable_dbus_type'"
12319 echo "--------------------------------"
12320 if test "x$enable_dbus_type" = "xp2p" ; then
12321
12322 $as_echo "#define GUM_BUS_TYPE_P2P 1" >>confdefs.h
12323
12324 elif test "x$enable_dbus_type" = "xsession" ; then
12325
12326 pkg_failed=no
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBus" >&5
12328 $as_echo_n "checking for DBus... " >&6; }
12329
12330 if test -n "$DBus_CFLAGS"; then
12331     pkg_cv_DBus_CFLAGS="$DBus_CFLAGS"
12332  elif test -n "$PKG_CONFIG"; then
12333     if test -n "$PKG_CONFIG" && \
12334     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5
12335   ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
12336   ac_status=$?
12337   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12338   test $ac_status = 0; }; then
12339   pkg_cv_DBus_CFLAGS=`$PKG_CONFIG --cflags "dbus-1" 2>/dev/null`
12340                       test "x$?" != "x0" && pkg_failed=yes
12341 else
12342   pkg_failed=yes
12343 fi
12344  else
12345     pkg_failed=untried
12346 fi
12347 if test -n "$DBus_LIBS"; then
12348     pkg_cv_DBus_LIBS="$DBus_LIBS"
12349  elif test -n "$PKG_CONFIG"; then
12350     if test -n "$PKG_CONFIG" && \
12351     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5
12352   ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
12353   ac_status=$?
12354   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12355   test $ac_status = 0; }; then
12356   pkg_cv_DBus_LIBS=`$PKG_CONFIG --libs "dbus-1" 2>/dev/null`
12357                       test "x$?" != "x0" && pkg_failed=yes
12358 else
12359   pkg_failed=yes
12360 fi
12361  else
12362     pkg_failed=untried
12363 fi
12364
12365
12366
12367 if test $pkg_failed = yes; then
12368         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12369 $as_echo "no" >&6; }
12370
12371 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12372         _pkg_short_errors_supported=yes
12373 else
12374         _pkg_short_errors_supported=no
12375 fi
12376         if test $_pkg_short_errors_supported = yes; then
12377                 DBus_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-1" 2>&1`
12378         else
12379                 DBus_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-1" 2>&1`
12380         fi
12381         # Put the nasty error message in config.log where it belongs
12382         echo "$DBus_PKG_ERRORS" >&5
12383
12384         as_fn_error $? "Package requirements (dbus-1) were not met:
12385
12386 $DBus_PKG_ERRORS
12387
12388 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12389 installed software in a non-standard prefix.
12390
12391 Alternatively, you may set the environment variables DBus_CFLAGS
12392 and DBus_LIBS to avoid the need to call pkg-config.
12393 See the pkg-config man page for more details." "$LINENO" 5
12394 elif test $pkg_failed = untried; then
12395         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12396 $as_echo "no" >&6; }
12397         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12398 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12399 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12400 is in your PATH or set the PKG_CONFIG environment variable to the full
12401 path to pkg-config.
12402
12403 Alternatively, you may set the environment variables DBus_CFLAGS
12404 and DBus_LIBS to avoid the need to call pkg-config.
12405 See the pkg-config man page for more details.
12406
12407 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12408 See \`config.log' for more details" "$LINENO" 5; }
12409 else
12410         DBus_CFLAGS=$pkg_cv_DBus_CFLAGS
12411         DBus_LIBS=$pkg_cv_DBus_LIBS
12412         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12413 $as_echo "yes" >&6; }
12414
12415 fi
12416
12417 $as_echo "#define GUM_BUS_TYPE G_BUS_TYPE_SESSION" >>confdefs.h
12418
12419     if test "x$enable_distcheck" = "xyes" ; then
12420         DBUS_SERVICES_DIR="${datadir}/dbus-1/services"
12421         DBUS_INTERFACES_DIR="${datadir}/dbus-1/interfaces"
12422         DBUS_CONF_DIR="${datadir}/dbus-1/session.d"
12423     else
12424         DBUS_SERVICES_DIR="`pkg-config --variable session_bus_services_dir dbus-1`"
12425         DBUS_INTERFACES_DIR="`pkg-config --variable interfaces_dir dbus-1`"
12426         DBUS_CONF_DIR="`pkg-config --variable sysconfdir dbus-1`/dbus-1/session.d"
12427     fi
12428 elif test "x$enable_dbus_type" = "xsystem" ; then
12429
12430 pkg_failed=no
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBus" >&5
12432 $as_echo_n "checking for DBus... " >&6; }
12433
12434 if test -n "$DBus_CFLAGS"; then
12435     pkg_cv_DBus_CFLAGS="$DBus_CFLAGS"
12436  elif test -n "$PKG_CONFIG"; then
12437     if test -n "$PKG_CONFIG" && \
12438     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5
12439   ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
12440   ac_status=$?
12441   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12442   test $ac_status = 0; }; then
12443   pkg_cv_DBus_CFLAGS=`$PKG_CONFIG --cflags "dbus-1" 2>/dev/null`
12444                       test "x$?" != "x0" && pkg_failed=yes
12445 else
12446   pkg_failed=yes
12447 fi
12448  else
12449     pkg_failed=untried
12450 fi
12451 if test -n "$DBus_LIBS"; then
12452     pkg_cv_DBus_LIBS="$DBus_LIBS"
12453  elif test -n "$PKG_CONFIG"; then
12454     if test -n "$PKG_CONFIG" && \
12455     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5
12456   ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
12457   ac_status=$?
12458   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12459   test $ac_status = 0; }; then
12460   pkg_cv_DBus_LIBS=`$PKG_CONFIG --libs "dbus-1" 2>/dev/null`
12461                       test "x$?" != "x0" && pkg_failed=yes
12462 else
12463   pkg_failed=yes
12464 fi
12465  else
12466     pkg_failed=untried
12467 fi
12468
12469
12470
12471 if test $pkg_failed = yes; then
12472         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12473 $as_echo "no" >&6; }
12474
12475 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12476         _pkg_short_errors_supported=yes
12477 else
12478         _pkg_short_errors_supported=no
12479 fi
12480         if test $_pkg_short_errors_supported = yes; then
12481                 DBus_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-1" 2>&1`
12482         else
12483                 DBus_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-1" 2>&1`
12484         fi
12485         # Put the nasty error message in config.log where it belongs
12486         echo "$DBus_PKG_ERRORS" >&5
12487
12488         as_fn_error $? "Package requirements (dbus-1) were not met:
12489
12490 $DBus_PKG_ERRORS
12491
12492 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12493 installed software in a non-standard prefix.
12494
12495 Alternatively, you may set the environment variables DBus_CFLAGS
12496 and DBus_LIBS to avoid the need to call pkg-config.
12497 See the pkg-config man page for more details." "$LINENO" 5
12498 elif test $pkg_failed = untried; then
12499         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12500 $as_echo "no" >&6; }
12501         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12502 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12503 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12504 is in your PATH or set the PKG_CONFIG environment variable to the full
12505 path to pkg-config.
12506
12507 Alternatively, you may set the environment variables DBus_CFLAGS
12508 and DBus_LIBS to avoid the need to call pkg-config.
12509 See the pkg-config man page for more details.
12510
12511 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12512 See \`config.log' for more details" "$LINENO" 5; }
12513 else
12514         DBus_CFLAGS=$pkg_cv_DBus_CFLAGS
12515         DBus_LIBS=$pkg_cv_DBus_LIBS
12516         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12517 $as_echo "yes" >&6; }
12518
12519 fi
12520
12521 $as_echo "#define GUM_BUS_TYPE G_BUS_TYPE_SYSTEM" >>confdefs.h
12522
12523     if test "x$enable_distcheck" = "xyes" ; then
12524         DBUS_SERVICES_DIR="${datadir}/dbus-1/system-services"
12525         DBUS_INTERFACES_DIR="${datadir}/dbus-1/interfaces"
12526         DBUS_CONF_DIR="${datadir}/dbus-1/system.d"
12527     else
12528         DBUS_SERVICES_DIR="`pkg-config --variable system_bus_services_dir dbus-1`"
12529         DBUS_INTERFACES_DIR="`pkg-config --variable interfaces_dir dbus-1`"
12530         DBUS_CONF_DIR="`pkg-config --variable sysconfdir dbus-1`/dbus-1/system.d"
12531     fi
12532     MESSAGE_BUS_USER="User=root"
12533
12534 fi
12535
12536
12537
12538
12539 MESSAGE_BUS_TYPE=$enable_dbus_type
12540
12541  if test x$enable_dbus_type = xsystem; then
12542   HAVE_SYSTEM_BUS_TRUE=
12543   HAVE_SYSTEM_BUS_FALSE='#'
12544 else
12545   HAVE_SYSTEM_BUS_TRUE='#'
12546   HAVE_SYSTEM_BUS_FALSE=
12547 fi
12548
12549  if test x$enable_dbus_type != xp2p; then
12550   USE_DBUS_SERVICE_TRUE=
12551   USE_DBUS_SERVICE_FALSE='#'
12552 else
12553   USE_DBUS_SERVICE_TRUE='#'
12554   USE_DBUS_SERVICE_FALSE=
12555 fi
12556
12557
12558 # Check for systemd
12559 VAR_SYSTEMD="`pkg-config --variable systemdsystemunitdir systemd`"
12560 if test "x$VAR_SYSTEMD" != "x" ; then
12561
12562 $as_echo "#define USE_SYSTEMD 1" >>confdefs.h
12563
12564 elif test "x$VAR_SYSTEMD" = "x" ; then
12565
12566 $as_echo "#define USE_SYSTEMD 0" >>confdefs.h
12567
12568 fi
12569
12570 # Enable tests
12571 # Check whether --enable-tests was given.
12572 if test "${enable_tests+set}" = set; then :
12573   enableval=$enable_tests; enable_tests=yes
12574 else
12575   enable_tests=no
12576 fi
12577
12578 if test "x$enable_cov" = "xyes" ; then
12579     # Enable tests automatically when code coverage is enabled
12580     enable_tests="yes"
12581 fi
12582 echo "--------------------------------"
12583 echo "Enable tests features: '$enable_tests'"
12584 if test "x$enable_tests" = "xyes" ; then
12585
12586 $as_echo "#define ENABLE_TESTS 1" >>confdefs.h
12587
12588 fi
12589  if test x$enable_tests = xyes; then
12590   HAVE_TESTS_TRUE=
12591   HAVE_TESTS_FALSE='#'
12592 else
12593   HAVE_TESTS_TRUE='#'
12594   HAVE_TESTS_FALSE=
12595 fi
12596
12597
12598 # Enable Debug
12599 # Check whether --enable-debug was given.
12600 if test "${enable_debug+set}" = set; then :
12601   enableval=$enable_debug; enable_debug=yes
12602 else
12603   enable_debug=no
12604 fi
12605
12606 if test "x$enable_tests" = "xyes" ; then
12607     # Enable debug automatically when tests are enabled
12608     enable_debug="yes"
12609 fi
12610 echo "--------------------------------"
12611 echo "Enable Debug Feature: '$enable_debug'"
12612 echo "--------------------------------"
12613 if test "x$enable_debug" = "xyes" ; then
12614
12615 $as_echo "#define ENABLE_DEBUG 1" >>confdefs.h
12616
12617 fi
12618  if test x$enable_debug = xyes; then
12619   HAVE_DEBUG_TRUE=
12620   HAVE_DEBUG_FALSE='#'
12621 else
12622   HAVE_DEBUG_TRUE='#'
12623   HAVE_DEBUG_FALSE=
12624 fi
12625
12626
12627 # passwd file
12628 # Check whether --enable-passwdfile was given.
12629 if test "${enable_passwdfile+set}" = set; then :
12630   enableval=$enable_passwdfile; enable_passwdfile=$enableval
12631 else
12632   enable_passwdfile="/etc/passwd"
12633 fi
12634
12635
12636 cat >>confdefs.h <<_ACEOF
12637 #define GUM_PASSWD_FILE "$enable_passwdfile"
12638 _ACEOF
12639
12640
12641 # shadow file
12642 # Check whether --enable-shadowfile was given.
12643 if test "${enable_shadowfile+set}" = set; then :
12644   enableval=$enable_shadowfile; enable_shadowfile=$enableval
12645 else
12646   enable_shadowfile="/etc/shadow"
12647 fi
12648
12649
12650 cat >>confdefs.h <<_ACEOF
12651 #define GUM_SHADOW_FILE "$enable_shadowfile"
12652 _ACEOF
12653
12654
12655 # group file
12656 # Check whether --enable-groupfile was given.
12657 if test "${enable_groupfile+set}" = set; then :
12658   enableval=$enable_groupfile; enable_groupfile=$enableval
12659 else
12660   enable_groupfile="/etc/group"
12661 fi
12662
12663
12664 cat >>confdefs.h <<_ACEOF
12665 #define GUM_GROUP_FILE "$enable_groupfile"
12666 _ACEOF
12667
12668
12669 # gshadow file
12670 # Check whether --enable-gshadowfile was given.
12671 if test "${enable_gshadowfile+set}" = set; then :
12672   enableval=$enable_gshadowfile; enable_gshadowfile=$enableval
12673 else
12674   enable_gshadowfile="/etc/gshadow"
12675 fi
12676
12677
12678 cat >>confdefs.h <<_ACEOF
12679 #define GUM_GSHADOW_FILE "$enable_gshadowfile"
12680 _ACEOF
12681
12682
12683 # home dir prefix
12684 # Check whether --enable-homedirpref was given.
12685 if test "${enable_homedirpref+set}" = set; then :
12686   enableval=$enable_homedirpref; enable_homedirpref=$enableval
12687 else
12688   enable_homedirpref="/home"
12689 fi
12690
12691
12692 cat >>confdefs.h <<_ACEOF
12693 #define GUM_HOME_DIR_PREFIX "$enable_homedirpref"
12694 _ACEOF
12695
12696
12697 # shell path
12698 # Check whether --enable-shell was given.
12699 if test "${enable_shell+set}" = set; then :
12700   enableval=$enable_shell; enable_shell=$enableval
12701 else
12702   enable_shell="/bin/bash"
12703 fi
12704
12705
12706 cat >>confdefs.h <<_ACEOF
12707 #define GUM_SHELL "$enable_shell"
12708 _ACEOF
12709
12710
12711 # defult user groups
12712 # Check whether --enable-defusergroups was given.
12713 if test "${enable_defusergroups+set}" = set; then :
12714   enableval=$enable_defusergroups; enable_defusergroups=$enableval
12715 else
12716   enable_defusergroups=""
12717 fi
12718
12719
12720 cat >>confdefs.h <<_ACEOF
12721 #define GUM_DEF_GROUPS "$enable_defusergroups"
12722 _ACEOF
12723
12724
12725 # defult admin groups
12726 # Check whether --enable-defadmingroups was given.
12727 if test "${enable_defadmingroups+set}" = set; then :
12728   enableval=$enable_defadmingroups; enable_defadmingroups=$enableval
12729 else
12730   enable_defadmingroups=""
12731 fi
12732
12733
12734 cat >>confdefs.h <<_ACEOF
12735 #define GUM_DEF_ADMIN_GROUPS "$enable_defadmingroups"
12736 _ACEOF
12737
12738
12739 # skeldir
12740 # Check whether --enable-skeldir was given.
12741 if test "${enable_skeldir+set}" = set; then :
12742   enableval=$enable_skeldir; enable_skeldir=$enableval
12743 else
12744   enable_skeldir="/etc/skel"
12745 fi
12746
12747
12748 cat >>confdefs.h <<_ACEOF
12749 #define GUM_SKEL_DIR "$enable_skeldir"
12750 _ACEOF
12751
12752
12753 # encryption algorithm
12754 # Check whether --enable-encryptalgo was given.
12755 if test "${enable_encryptalgo+set}" = set; then :
12756   enableval=$enable_encryptalgo; enable_encryptalgo=$enableval
12757 else
12758   enable_encryptalgo="SHA512"
12759 fi
12760
12761
12762 cat >>confdefs.h <<_ACEOF
12763 #define GUM_ENCRYPT_METHOD "$enable_encryptalgo"
12764 _ACEOF
12765
12766
12767 # Gtk-doc
12768
12769
12770
12771     # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12772 set dummy gtkdoc-check; ac_word=$2
12773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12774 $as_echo_n "checking for $ac_word... " >&6; }
12775 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
12776   $as_echo_n "(cached) " >&6
12777 else
12778   case $GTKDOC_CHECK in
12779   [\\/]* | ?:[\\/]*)
12780   ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
12781   ;;
12782   *)
12783   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12784 for as_dir in $PATH
12785 do
12786   IFS=$as_save_IFS
12787   test -z "$as_dir" && as_dir=.
12788     for ac_exec_ext in '' $ac_executable_extensions; do
12789   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12790     ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
12791     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12792     break 2
12793   fi
12794 done
12795   done
12796 IFS=$as_save_IFS
12797
12798   ;;
12799 esac
12800 fi
12801 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
12802 if test -n "$GTKDOC_CHECK"; then
12803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
12804 $as_echo "$GTKDOC_CHECK" >&6; }
12805 else
12806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12807 $as_echo "no" >&6; }
12808 fi
12809
12810
12811   for ac_prog in gtkdoc-rebase
12812 do
12813   # Extract the first word of "$ac_prog", so it can be a program name with args.
12814 set dummy $ac_prog; ac_word=$2
12815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12816 $as_echo_n "checking for $ac_word... " >&6; }
12817 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
12818   $as_echo_n "(cached) " >&6
12819 else
12820   case $GTKDOC_REBASE in
12821   [\\/]* | ?:[\\/]*)
12822   ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
12823   ;;
12824   *)
12825   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12826 for as_dir in $PATH
12827 do
12828   IFS=$as_save_IFS
12829   test -z "$as_dir" && as_dir=.
12830     for ac_exec_ext in '' $ac_executable_extensions; do
12831   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12832     ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
12833     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12834     break 2
12835   fi
12836 done
12837   done
12838 IFS=$as_save_IFS
12839
12840   ;;
12841 esac
12842 fi
12843 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
12844 if test -n "$GTKDOC_REBASE"; then
12845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
12846 $as_echo "$GTKDOC_REBASE" >&6; }
12847 else
12848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12849 $as_echo "no" >&6; }
12850 fi
12851
12852
12853   test -n "$GTKDOC_REBASE" && break
12854 done
12855 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
12856
12857   # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
12858 set dummy gtkdoc-mkpdf; ac_word=$2
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12860 $as_echo_n "checking for $ac_word... " >&6; }
12861 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
12862   $as_echo_n "(cached) " >&6
12863 else
12864   case $GTKDOC_MKPDF in
12865   [\\/]* | ?:[\\/]*)
12866   ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
12867   ;;
12868   *)
12869   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12870 for as_dir in $PATH
12871 do
12872   IFS=$as_save_IFS
12873   test -z "$as_dir" && as_dir=.
12874     for ac_exec_ext in '' $ac_executable_extensions; do
12875   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12876     ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
12877     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12878     break 2
12879   fi
12880 done
12881   done
12882 IFS=$as_save_IFS
12883
12884   ;;
12885 esac
12886 fi
12887 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
12888 if test -n "$GTKDOC_MKPDF"; then
12889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
12890 $as_echo "$GTKDOC_MKPDF" >&6; }
12891 else
12892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12893 $as_echo "no" >&6; }
12894 fi
12895
12896
12897
12898
12899 # Check whether --with-html-dir was given.
12900 if test "${with_html_dir+set}" = set; then :
12901   withval=$with_html_dir;
12902 else
12903   with_html_dir='${datadir}/gtk-doc/html'
12904 fi
12905
12906   HTML_DIR="$with_html_dir"
12907
12908
12909     # Check whether --enable-gtk-doc was given.
12910 if test "${enable_gtk_doc+set}" = set; then :
12911   enableval=$enable_gtk_doc;
12912 else
12913   enable_gtk_doc=no
12914 fi
12915
12916
12917   if test x$enable_gtk_doc = xyes; then
12918     if test -n "$PKG_CONFIG" && \
12919     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.18\""; } >&5
12920   ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.18") 2>&5
12921   ac_status=$?
12922   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12923   test $ac_status = 0; }; then
12924   :
12925 else
12926   as_fn_error $? "You need to have gtk-doc >= 1.18 installed to build $PACKAGE_NAME" "$LINENO" 5
12927 fi
12928         if test "x$PACKAGE_NAME" != "xglib"; then
12929
12930 pkg_failed=no
12931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
12932 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
12933
12934 if test -n "$GTKDOC_DEPS_CFLAGS"; then
12935     pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
12936  elif test -n "$PKG_CONFIG"; then
12937     if test -n "$PKG_CONFIG" && \
12938     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
12939   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
12940   ac_status=$?
12941   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12942   test $ac_status = 0; }; then
12943   pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
12944                       test "x$?" != "x0" && pkg_failed=yes
12945 else
12946   pkg_failed=yes
12947 fi
12948  else
12949     pkg_failed=untried
12950 fi
12951 if test -n "$GTKDOC_DEPS_LIBS"; then
12952     pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
12953  elif test -n "$PKG_CONFIG"; then
12954     if test -n "$PKG_CONFIG" && \
12955     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
12956   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
12957   ac_status=$?
12958   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12959   test $ac_status = 0; }; then
12960   pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
12961                       test "x$?" != "x0" && pkg_failed=yes
12962 else
12963   pkg_failed=yes
12964 fi
12965  else
12966     pkg_failed=untried
12967 fi
12968
12969
12970
12971 if test $pkg_failed = yes; then
12972         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12973 $as_echo "no" >&6; }
12974
12975 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12976         _pkg_short_errors_supported=yes
12977 else
12978         _pkg_short_errors_supported=no
12979 fi
12980         if test $_pkg_short_errors_supported = yes; then
12981                 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
12982         else
12983                 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
12984         fi
12985         # Put the nasty error message in config.log where it belongs
12986         echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
12987
12988         as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0) were not met:
12989
12990 $GTKDOC_DEPS_PKG_ERRORS
12991
12992 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12993 installed software in a non-standard prefix.
12994
12995 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
12996 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
12997 See the pkg-config man page for more details." "$LINENO" 5
12998 elif test $pkg_failed = untried; then
12999         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13000 $as_echo "no" >&6; }
13001         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13002 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13003 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13004 is in your PATH or set the PKG_CONFIG environment variable to the full
13005 path to pkg-config.
13006
13007 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
13008 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
13009 See the pkg-config man page for more details.
13010
13011 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13012 See \`config.log' for more details" "$LINENO" 5; }
13013 else
13014         GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
13015         GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
13016         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13017 $as_echo "yes" >&6; }
13018
13019 fi
13020     fi
13021   fi
13022
13023   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
13024 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
13025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
13026 $as_echo "$enable_gtk_doc" >&6; }
13027
13028     # Check whether --enable-gtk-doc-html was given.
13029 if test "${enable_gtk_doc_html+set}" = set; then :
13030   enableval=$enable_gtk_doc_html;
13031 else
13032   enable_gtk_doc_html=yes
13033 fi
13034
13035     # Check whether --enable-gtk-doc-pdf was given.
13036 if test "${enable_gtk_doc_pdf+set}" = set; then :
13037   enableval=$enable_gtk_doc_pdf;
13038 else
13039   enable_gtk_doc_pdf=no
13040 fi
13041
13042
13043   if test -z "$GTKDOC_MKPDF"; then
13044     enable_gtk_doc_pdf=no
13045   fi
13046
13047
13048    if test x$enable_gtk_doc = xyes; then
13049   ENABLE_GTK_DOC_TRUE=
13050   ENABLE_GTK_DOC_FALSE='#'
13051 else
13052   ENABLE_GTK_DOC_TRUE='#'
13053   ENABLE_GTK_DOC_FALSE=
13054 fi
13055
13056    if test x$enable_gtk_doc_html = xyes; then
13057   GTK_DOC_BUILD_HTML_TRUE=
13058   GTK_DOC_BUILD_HTML_FALSE='#'
13059 else
13060   GTK_DOC_BUILD_HTML_TRUE='#'
13061   GTK_DOC_BUILD_HTML_FALSE=
13062 fi
13063
13064    if test x$enable_gtk_doc_pdf = xyes; then
13065   GTK_DOC_BUILD_PDF_TRUE=
13066   GTK_DOC_BUILD_PDF_FALSE='#'
13067 else
13068   GTK_DOC_BUILD_PDF_TRUE='#'
13069   GTK_DOC_BUILD_PDF_FALSE=
13070 fi
13071
13072    if test -n "$LIBTOOL"; then
13073   GTK_DOC_USE_LIBTOOL_TRUE=
13074   GTK_DOC_USE_LIBTOOL_FALSE='#'
13075 else
13076   GTK_DOC_USE_LIBTOOL_TRUE='#'
13077   GTK_DOC_USE_LIBTOOL_FALSE=
13078 fi
13079
13080    if test -n "$GTKDOC_REBASE"; then
13081   GTK_DOC_USE_REBASE_TRUE=
13082   GTK_DOC_USE_REBASE_FALSE='#'
13083 else
13084   GTK_DOC_USE_REBASE_TRUE='#'
13085   GTK_DOC_USE_REBASE_FALSE=
13086 fi
13087
13088
13089
13090 # Checks for typedefs, structures, and compiler characteristics.
13091 GUM_CFLAGS='$(GLIB_CFLAGS) -D_POSIX_C_SOURCE=\"200809L\" -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE'
13092 GUM_CFLAGS="$GUM_CFLAGS -Wall -Werror $GCOV_CFLAGS"
13093
13094 GUM_INCLUDES='-I$(top_builddir) -I$(top_srcdir)'
13095
13096
13097 # Gum common library cflags, libs, includes
13098 GUM_COMMON_CFLAGS='$(GUM_CFLAGS) -DG_LOG_DOMAIN=\"gum-common\"'
13099
13100 GUM_COMMON_LIBS='$(GLIB_LIBS) $(CRYPT_LIB) $(GCOV_LIBS)'
13101
13102 GUM_COMMON_INCLUDES='$(GUM_INCLUDES) -I$(top_srcdir)/include/gum'
13103
13104
13105 # Gum daemon cflags, libs, includes
13106 GUMD_CFLAGS='$(GUM_CFLAGS) -DG_LOG_DOMAIN=\"gumd\"'
13107
13108 GUMD_LIBS='$(GLIB_LIBS) $(GCOV_LIBS)'
13109
13110 GUMD_INCLUDES='$(GUM_COMMON_INCLUDES)'
13111
13112
13113 # Gum client library cflags, libs, includes
13114 LIBGUM_CFLAGS='$(GUM_CFLAGS) -DG_LOG_DOMAIN=\"gum\"'
13115
13116 LIBGUM_LIBS='$(GLIB_LIBS) $(GCOV_LIBS)'
13117
13118 LIBGUM_INCLUDES='$(GUM_COMMON_INCLUDES)'
13119
13120
13121 ac_config_files="$ac_config_files Makefile src/Makefile src/common/Makefile src/common/gum.conf src/common/libgum-common.pc src/common/libgum-common-uninstalled.pc src/common/dbus/Makefile src/daemon/gumd.pc src/daemon/gumd-uninstalled.pc src/daemon/Makefile src/daemon/dbus/Makefile src/daemon/dbus/services/org.tizen.SecurityAccounts.gUserManagement.service src/daemon/dbus/gumd-dbus.conf src/lib/Makefile src/lib/libgum.pc src/lib/libgum-uninstalled.pc docs/Makefile docs/version.xml test/Makefile test/common/Makefile test/daemon/Makefile test/lib/Makefile examples/Makefile"
13122
13123
13124 if test "x$enable_tests" = "xyes" ; then
13125     ac_config_files="$ac_config_files test/data/test-gumd-dbus.conf"
13126
13127
13128     if test x$enable_dbus_type != xp2p; then
13129         ac_config_files="$ac_config_files test/data/services/org.tizen.SecurityAccounts.gUserManagement.service"
13130
13131     fi
13132 fi
13133
13134 cat >confcache <<\_ACEOF
13135 # This file is a shell script that caches the results of configure
13136 # tests run on this system so they can be shared between configure
13137 # scripts and configure runs, see configure's option --config-cache.
13138 # It is not useful on other systems.  If it contains results you don't
13139 # want to keep, you may remove or edit it.
13140 #
13141 # config.status only pays attention to the cache file if you give it
13142 # the --recheck option to rerun configure.
13143 #
13144 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13145 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13146 # following values.
13147
13148 _ACEOF
13149
13150 # The following way of writing the cache mishandles newlines in values,
13151 # but we know of no workaround that is simple, portable, and efficient.
13152 # So, we kill variables containing newlines.
13153 # Ultrix sh set writes to stderr and can't be redirected directly,
13154 # and sets the high bit in the cache file unless we assign to the vars.
13155 (
13156   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13157     eval ac_val=\$$ac_var
13158     case $ac_val in #(
13159     *${as_nl}*)
13160       case $ac_var in #(
13161       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13162 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13163       esac
13164       case $ac_var in #(
13165       _ | IFS | as_nl) ;; #(
13166       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13167       *) { eval $ac_var=; unset $ac_var;} ;;
13168       esac ;;
13169     esac
13170   done
13171
13172   (set) 2>&1 |
13173     case $as_nl`(ac_space=' '; set) 2>&1` in #(
13174     *${as_nl}ac_space=\ *)
13175       # `set' does not quote correctly, so add quotes: double-quote
13176       # substitution turns \\\\ into \\, and sed turns \\ into \.
13177       sed -n \
13178         "s/'/'\\\\''/g;
13179           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13180       ;; #(
13181     *)
13182       # `set' quotes correctly as required by POSIX, so do not add quotes.
13183       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13184       ;;
13185     esac |
13186     sort
13187 ) |
13188   sed '
13189      /^ac_cv_env_/b end
13190      t clear
13191      :clear
13192      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13193      t end
13194      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13195      :end' >>confcache
13196 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13197   if test -w "$cache_file"; then
13198     if test "x$cache_file" != "x/dev/null"; then
13199       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13200 $as_echo "$as_me: updating cache $cache_file" >&6;}
13201       if test ! -f "$cache_file" || test -h "$cache_file"; then
13202         cat confcache >"$cache_file"
13203       else
13204         case $cache_file in #(
13205         */* | ?:*)
13206           mv -f confcache "$cache_file"$$ &&
13207           mv -f "$cache_file"$$ "$cache_file" ;; #(
13208         *)
13209           mv -f confcache "$cache_file" ;;
13210         esac
13211       fi
13212     fi
13213   else
13214     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13215 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13216   fi
13217 fi
13218 rm -f confcache
13219
13220 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13221 # Let make expand exec_prefix.
13222 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13223
13224 DEFS=-DHAVE_CONFIG_H
13225
13226 ac_libobjs=
13227 ac_ltlibobjs=
13228 U=
13229 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13230   # 1. Remove the extension, and $U if already installed.
13231   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13232   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13233   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13234   #    will be set to the directory where LIBOBJS objects are built.
13235   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13236   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13237 done
13238 LIBOBJS=$ac_libobjs
13239
13240 LTLIBOBJS=$ac_ltlibobjs
13241
13242
13243  if test -n "$EXEEXT"; then
13244   am__EXEEXT_TRUE=
13245   am__EXEEXT_FALSE='#'
13246 else
13247   am__EXEEXT_TRUE='#'
13248   am__EXEEXT_FALSE=
13249 fi
13250
13251 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13252   as_fn_error $? "conditional \"AMDEP\" was never defined.
13253 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13254 fi
13255 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13256   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13257 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13258 fi
13259 if test -z "${HAVE_LIBTLM_NFC_TRUE}" && test -z "${HAVE_LIBTLM_NFC_FALSE}"; then
13260   as_fn_error $? "conditional \"HAVE_LIBTLM_NFC\" was never defined.
13261 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13262 fi
13263 if test -z "${SET_PERMISSIONS_TRUE}" && test -z "${SET_PERMISSIONS_FALSE}"; then
13264   as_fn_error $? "conditional \"SET_PERMISSIONS\" was never defined.
13265 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13266 fi
13267 if test -z "${HAVE_SYSTEM_BUS_TRUE}" && test -z "${HAVE_SYSTEM_BUS_FALSE}"; then
13268   as_fn_error $? "conditional \"HAVE_SYSTEM_BUS\" was never defined.
13269 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13270 fi
13271 if test -z "${USE_DBUS_SERVICE_TRUE}" && test -z "${USE_DBUS_SERVICE_FALSE}"; then
13272   as_fn_error $? "conditional \"USE_DBUS_SERVICE\" was never defined.
13273 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13274 fi
13275 if test -z "${HAVE_TESTS_TRUE}" && test -z "${HAVE_TESTS_FALSE}"; then
13276   as_fn_error $? "conditional \"HAVE_TESTS\" was never defined.
13277 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13278 fi
13279 if test -z "${HAVE_DEBUG_TRUE}" && test -z "${HAVE_DEBUG_FALSE}"; then
13280   as_fn_error $? "conditional \"HAVE_DEBUG\" was never defined.
13281 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13282 fi
13283 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
13284   as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
13285 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13286 fi
13287 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
13288   as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
13289 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13290 fi
13291 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
13292   as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
13293 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13294 fi
13295 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
13296   as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
13297 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13298 fi
13299 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
13300   as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
13301 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13302 fi
13303
13304 : "${CONFIG_STATUS=./config.status}"
13305 ac_write_fail=0
13306 ac_clean_files_save=$ac_clean_files
13307 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13309 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13310 as_write_fail=0
13311 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13312 #! $SHELL
13313 # Generated by $as_me.
13314 # Run this file to recreate the current configuration.
13315 # Compiler output produced by configure, useful for debugging
13316 # configure, is in config.log if it exists.
13317
13318 debug=false
13319 ac_cs_recheck=false
13320 ac_cs_silent=false
13321
13322 SHELL=\${CONFIG_SHELL-$SHELL}
13323 export SHELL
13324 _ASEOF
13325 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13326 ## -------------------- ##
13327 ## M4sh Initialization. ##
13328 ## -------------------- ##
13329
13330 # Be more Bourne compatible
13331 DUALCASE=1; export DUALCASE # for MKS sh
13332 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13333   emulate sh
13334   NULLCMD=:
13335   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13336   # is contrary to our usage.  Disable this feature.
13337   alias -g '${1+"$@"}'='"$@"'
13338   setopt NO_GLOB_SUBST
13339 else
13340   case `(set -o) 2>/dev/null` in #(
13341   *posix*) :
13342     set -o posix ;; #(
13343   *) :
13344      ;;
13345 esac
13346 fi
13347
13348
13349 as_nl='
13350 '
13351 export as_nl
13352 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13353 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13354 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13355 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13356 # Prefer a ksh shell builtin over an external printf program on Solaris,
13357 # but without wasting forks for bash or zsh.
13358 if test -z "$BASH_VERSION$ZSH_VERSION" \
13359     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13360   as_echo='print -r --'
13361   as_echo_n='print -rn --'
13362 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13363   as_echo='printf %s\n'
13364   as_echo_n='printf %s'
13365 else
13366   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13367     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13368     as_echo_n='/usr/ucb/echo -n'
13369   else
13370     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13371     as_echo_n_body='eval
13372       arg=$1;
13373       case $arg in #(
13374       *"$as_nl"*)
13375         expr "X$arg" : "X\\(.*\\)$as_nl";
13376         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13377       esac;
13378       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13379     '
13380     export as_echo_n_body
13381     as_echo_n='sh -c $as_echo_n_body as_echo'
13382   fi
13383   export as_echo_body
13384   as_echo='sh -c $as_echo_body as_echo'
13385 fi
13386
13387 # The user is always right.
13388 if test "${PATH_SEPARATOR+set}" != set; then
13389   PATH_SEPARATOR=:
13390   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13391     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13392       PATH_SEPARATOR=';'
13393   }
13394 fi
13395
13396
13397 # IFS
13398 # We need space, tab and new line, in precisely that order.  Quoting is
13399 # there to prevent editors from complaining about space-tab.
13400 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13401 # splitting by setting IFS to empty value.)
13402 IFS=" ""        $as_nl"
13403
13404 # Find who we are.  Look in the path if we contain no directory separator.
13405 as_myself=
13406 case $0 in #((
13407   *[\\/]* ) as_myself=$0 ;;
13408   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13409 for as_dir in $PATH
13410 do
13411   IFS=$as_save_IFS
13412   test -z "$as_dir" && as_dir=.
13413     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13414   done
13415 IFS=$as_save_IFS
13416
13417      ;;
13418 esac
13419 # We did not find ourselves, most probably we were run as `sh COMMAND'
13420 # in which case we are not to be found in the path.
13421 if test "x$as_myself" = x; then
13422   as_myself=$0
13423 fi
13424 if test ! -f "$as_myself"; then
13425   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13426   exit 1
13427 fi
13428
13429 # Unset variables that we do not need and which cause bugs (e.g. in
13430 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
13431 # suppresses any "Segmentation fault" message there.  '((' could
13432 # trigger a bug in pdksh 5.2.14.
13433 for as_var in BASH_ENV ENV MAIL MAILPATH
13434 do eval test x\${$as_var+set} = xset \
13435   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13436 done
13437 PS1='$ '
13438 PS2='> '
13439 PS4='+ '
13440
13441 # NLS nuisances.
13442 LC_ALL=C
13443 export LC_ALL
13444 LANGUAGE=C
13445 export LANGUAGE
13446
13447 # CDPATH.
13448 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13449
13450
13451 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13452 # ----------------------------------------
13453 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13454 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13455 # script with STATUS, using 1 if that was 0.
13456 as_fn_error ()
13457 {
13458   as_status=$1; test $as_status -eq 0 && as_status=1
13459   if test "$4"; then
13460     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13461     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13462   fi
13463   $as_echo "$as_me: error: $2" >&2
13464   as_fn_exit $as_status
13465 } # as_fn_error
13466
13467
13468 # as_fn_set_status STATUS
13469 # -----------------------
13470 # Set $? to STATUS, without forking.
13471 as_fn_set_status ()
13472 {
13473   return $1
13474 } # as_fn_set_status
13475
13476 # as_fn_exit STATUS
13477 # -----------------
13478 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13479 as_fn_exit ()
13480 {
13481   set +e
13482   as_fn_set_status $1
13483   exit $1
13484 } # as_fn_exit
13485
13486 # as_fn_unset VAR
13487 # ---------------
13488 # Portably unset VAR.
13489 as_fn_unset ()
13490 {
13491   { eval $1=; unset $1;}
13492 }
13493 as_unset=as_fn_unset
13494 # as_fn_append VAR VALUE
13495 # ----------------------
13496 # Append the text in VALUE to the end of the definition contained in VAR. Take
13497 # advantage of any shell optimizations that allow amortized linear growth over
13498 # repeated appends, instead of the typical quadratic growth present in naive
13499 # implementations.
13500 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13501   eval 'as_fn_append ()
13502   {
13503     eval $1+=\$2
13504   }'
13505 else
13506   as_fn_append ()
13507   {
13508     eval $1=\$$1\$2
13509   }
13510 fi # as_fn_append
13511
13512 # as_fn_arith ARG...
13513 # ------------------
13514 # Perform arithmetic evaluation on the ARGs, and store the result in the
13515 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13516 # must be portable across $(()) and expr.
13517 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13518   eval 'as_fn_arith ()
13519   {
13520     as_val=$(( $* ))
13521   }'
13522 else
13523   as_fn_arith ()
13524   {
13525     as_val=`expr "$@" || test $? -eq 1`
13526   }
13527 fi # as_fn_arith
13528
13529
13530 if expr a : '\(a\)' >/dev/null 2>&1 &&
13531    test "X`expr 00001 : '.*\(...\)'`" = X001; then
13532   as_expr=expr
13533 else
13534   as_expr=false
13535 fi
13536
13537 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13538   as_basename=basename
13539 else
13540   as_basename=false
13541 fi
13542
13543 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13544   as_dirname=dirname
13545 else
13546   as_dirname=false
13547 fi
13548
13549 as_me=`$as_basename -- "$0" ||
13550 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13551          X"$0" : 'X\(//\)$' \| \
13552          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13553 $as_echo X/"$0" |
13554     sed '/^.*\/\([^/][^/]*\)\/*$/{
13555             s//\1/
13556             q
13557           }
13558           /^X\/\(\/\/\)$/{
13559             s//\1/
13560             q
13561           }
13562           /^X\/\(\/\).*/{
13563             s//\1/
13564             q
13565           }
13566           s/.*/./; q'`
13567
13568 # Avoid depending upon Character Ranges.
13569 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13570 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13571 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13572 as_cr_digits='0123456789'
13573 as_cr_alnum=$as_cr_Letters$as_cr_digits
13574
13575 ECHO_C= ECHO_N= ECHO_T=
13576 case `echo -n x` in #(((((
13577 -n*)
13578   case `echo 'xy\c'` in
13579   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
13580   xy)  ECHO_C='\c';;
13581   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
13582        ECHO_T=' ';;
13583   esac;;
13584 *)
13585   ECHO_N='-n';;
13586 esac
13587
13588 rm -f conf$$ conf$$.exe conf$$.file
13589 if test -d conf$$.dir; then
13590   rm -f conf$$.dir/conf$$.file
13591 else
13592   rm -f conf$$.dir
13593   mkdir conf$$.dir 2>/dev/null
13594 fi
13595 if (echo >conf$$.file) 2>/dev/null; then
13596   if ln -s conf$$.file conf$$ 2>/dev/null; then
13597     as_ln_s='ln -s'
13598     # ... but there are two gotchas:
13599     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13600     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13601     # In both cases, we have to default to `cp -p'.
13602     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13603       as_ln_s='cp -p'
13604   elif ln conf$$.file conf$$ 2>/dev/null; then
13605     as_ln_s=ln
13606   else
13607     as_ln_s='cp -p'
13608   fi
13609 else
13610   as_ln_s='cp -p'
13611 fi
13612 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13613 rmdir conf$$.dir 2>/dev/null
13614
13615
13616 # as_fn_mkdir_p
13617 # -------------
13618 # Create "$as_dir" as a directory, including parents if necessary.
13619 as_fn_mkdir_p ()
13620 {
13621
13622   case $as_dir in #(
13623   -*) as_dir=./$as_dir;;
13624   esac
13625   test -d "$as_dir" || eval $as_mkdir_p || {
13626     as_dirs=
13627     while :; do
13628       case $as_dir in #(
13629       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13630       *) as_qdir=$as_dir;;
13631       esac
13632       as_dirs="'$as_qdir' $as_dirs"
13633       as_dir=`$as_dirname -- "$as_dir" ||
13634 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13635          X"$as_dir" : 'X\(//\)[^/]' \| \
13636          X"$as_dir" : 'X\(//\)$' \| \
13637          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13638 $as_echo X"$as_dir" |
13639     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13640             s//\1/
13641             q
13642           }
13643           /^X\(\/\/\)[^/].*/{
13644             s//\1/
13645             q
13646           }
13647           /^X\(\/\/\)$/{
13648             s//\1/
13649             q
13650           }
13651           /^X\(\/\).*/{
13652             s//\1/
13653             q
13654           }
13655           s/.*/./; q'`
13656       test -d "$as_dir" && break
13657     done
13658     test -z "$as_dirs" || eval "mkdir $as_dirs"
13659   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13660
13661
13662 } # as_fn_mkdir_p
13663 if mkdir -p . 2>/dev/null; then
13664   as_mkdir_p='mkdir -p "$as_dir"'
13665 else
13666   test -d ./-p && rmdir ./-p
13667   as_mkdir_p=false
13668 fi
13669
13670 if test -x / >/dev/null 2>&1; then
13671   as_test_x='test -x'
13672 else
13673   if ls -dL / >/dev/null 2>&1; then
13674     as_ls_L_option=L
13675   else
13676     as_ls_L_option=
13677   fi
13678   as_test_x='
13679     eval sh -c '\''
13680       if test -d "$1"; then
13681         test -d "$1/.";
13682       else
13683         case $1 in #(
13684         -*)set "./$1";;
13685         esac;
13686         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13687         ???[sx]*):;;*)false;;esac;fi
13688     '\'' sh
13689   '
13690 fi
13691 as_executable_p=$as_test_x
13692
13693 # Sed expression to map a string onto a valid CPP name.
13694 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13695
13696 # Sed expression to map a string onto a valid variable name.
13697 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13698
13699
13700 exec 6>&1
13701 ## ----------------------------------- ##
13702 ## Main body of $CONFIG_STATUS script. ##
13703 ## ----------------------------------- ##
13704 _ASEOF
13705 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13706
13707 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13708 # Save the log message, to keep $0 and so on meaningful, and to
13709 # report actual input values of CONFIG_FILES etc. instead of their
13710 # values after options handling.
13711 ac_log="
13712 This file was extended by gumd $as_me 0.0.1, which was
13713 generated by GNU Autoconf 2.68.  Invocation command line was
13714
13715   CONFIG_FILES    = $CONFIG_FILES
13716   CONFIG_HEADERS  = $CONFIG_HEADERS
13717   CONFIG_LINKS    = $CONFIG_LINKS
13718   CONFIG_COMMANDS = $CONFIG_COMMANDS
13719   $ $0 $@
13720
13721 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13722 "
13723
13724 _ACEOF
13725
13726 case $ac_config_files in *"
13727 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13728 esac
13729
13730 case $ac_config_headers in *"
13731 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13732 esac
13733
13734
13735 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13736 # Files that config.status was made for.
13737 config_files="$ac_config_files"
13738 config_headers="$ac_config_headers"
13739 config_commands="$ac_config_commands"
13740
13741 _ACEOF
13742
13743 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13744 ac_cs_usage="\
13745 \`$as_me' instantiates files and other configuration actions
13746 from templates according to the current configuration.  Unless the files
13747 and actions are specified as TAGs, all are instantiated by default.
13748
13749 Usage: $0 [OPTION]... [TAG]...
13750
13751   -h, --help       print this help, then exit
13752   -V, --version    print version number and configuration settings, then exit
13753       --config     print configuration, then exit
13754   -q, --quiet, --silent
13755                    do not print progress messages
13756   -d, --debug      don't remove temporary files
13757       --recheck    update $as_me by reconfiguring in the same conditions
13758       --file=FILE[:TEMPLATE]
13759                    instantiate the configuration file FILE
13760       --header=FILE[:TEMPLATE]
13761                    instantiate the configuration header FILE
13762
13763 Configuration files:
13764 $config_files
13765
13766 Configuration headers:
13767 $config_headers
13768
13769 Configuration commands:
13770 $config_commands
13771
13772 Report bugs to the package provider.
13773 gumd home page: <https://github.com/01org/gumd>."
13774
13775 _ACEOF
13776 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13777 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13778 ac_cs_version="\\
13779 gumd config.status 0.0.1
13780 configured by $0, generated by GNU Autoconf 2.68,
13781   with options \\"\$ac_cs_config\\"
13782
13783 Copyright (C) 2010 Free Software Foundation, Inc.
13784 This config.status script is free software; the Free Software Foundation
13785 gives unlimited permission to copy, distribute and modify it."
13786
13787 ac_pwd='$ac_pwd'
13788 srcdir='$srcdir'
13789 INSTALL='$INSTALL'
13790 MKDIR_P='$MKDIR_P'
13791 AWK='$AWK'
13792 test -n "\$AWK" || AWK=awk
13793 _ACEOF
13794
13795 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13796 # The default lists apply if the user does not specify any file.
13797 ac_need_defaults=:
13798 while test $# != 0
13799 do
13800   case $1 in
13801   --*=?*)
13802     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13803     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13804     ac_shift=:
13805     ;;
13806   --*=)
13807     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13808     ac_optarg=
13809     ac_shift=:
13810     ;;
13811   *)
13812     ac_option=$1
13813     ac_optarg=$2
13814     ac_shift=shift
13815     ;;
13816   esac
13817
13818   case $ac_option in
13819   # Handling of the options.
13820   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13821     ac_cs_recheck=: ;;
13822   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13823     $as_echo "$ac_cs_version"; exit ;;
13824   --config | --confi | --conf | --con | --co | --c )
13825     $as_echo "$ac_cs_config"; exit ;;
13826   --debug | --debu | --deb | --de | --d | -d )
13827     debug=: ;;
13828   --file | --fil | --fi | --f )
13829     $ac_shift
13830     case $ac_optarg in
13831     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13832     '') as_fn_error $? "missing file argument" ;;
13833     esac
13834     as_fn_append CONFIG_FILES " '$ac_optarg'"
13835     ac_need_defaults=false;;
13836   --header | --heade | --head | --hea )
13837     $ac_shift
13838     case $ac_optarg in
13839     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13840     esac
13841     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13842     ac_need_defaults=false;;
13843   --he | --h)
13844     # Conflict between --help and --header
13845     as_fn_error $? "ambiguous option: \`$1'
13846 Try \`$0 --help' for more information.";;
13847   --help | --hel | -h )
13848     $as_echo "$ac_cs_usage"; exit ;;
13849   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13850   | -silent | --silent | --silen | --sile | --sil | --si | --s)
13851     ac_cs_silent=: ;;
13852
13853   # This is an error.
13854   -*) as_fn_error $? "unrecognized option: \`$1'
13855 Try \`$0 --help' for more information." ;;
13856
13857   *) as_fn_append ac_config_targets " $1"
13858      ac_need_defaults=false ;;
13859
13860   esac
13861   shift
13862 done
13863
13864 ac_configure_extra_args=
13865
13866 if $ac_cs_silent; then
13867   exec 6>/dev/null
13868   ac_configure_extra_args="$ac_configure_extra_args --silent"
13869 fi
13870
13871 _ACEOF
13872 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13873 if \$ac_cs_recheck; then
13874   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13875   shift
13876   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13877   CONFIG_SHELL='$SHELL'
13878   export CONFIG_SHELL
13879   exec "\$@"
13880 fi
13881
13882 _ACEOF
13883 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13884 exec 5>>config.log
13885 {
13886   echo
13887   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13888 ## Running $as_me. ##
13889 _ASBOX
13890   $as_echo "$ac_log"
13891 } >&5
13892
13893 _ACEOF
13894 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13895 #
13896 # INIT-COMMANDS
13897 #
13898 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13899
13900
13901 # The HP-UX ksh and POSIX shell print the target directory to stdout
13902 # if CDPATH is set.
13903 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13904
13905 sed_quote_subst='$sed_quote_subst'
13906 double_quote_subst='$double_quote_subst'
13907 delay_variable_subst='$delay_variable_subst'
13908 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13909 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13910 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13911 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13912 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13913 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13914 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13915 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13916 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13917 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13918 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13919 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13920 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13921 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13922 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13923 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13924 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13925 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13926 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13927 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13928 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13929 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13930 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13931 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13932 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13933 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13934 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13935 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13936 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13937 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13938 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13939 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13940 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13941 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13942 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13943 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13944 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13945 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13946 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13947 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13948 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13949 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13950 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13951 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13952 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13953 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13954 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13955 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13956 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13957 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13958 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13959 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13960 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13961 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13962 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13963 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13964 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"`'
13965 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13966 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13967 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13968 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13969 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13970 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13971 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13972 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13973 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13974 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13975 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13976 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13977 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13978 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13979 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13980 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13981 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13982 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13983 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13984 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13985 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13986 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13987 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13988 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13989 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13990 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13991 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13992 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13993 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13994 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13995 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13996 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13997 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13998 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13999 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14000 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14001 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14002 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14003 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14004 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14005 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14006 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14007 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14008 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14009 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14010 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14011 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14012 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14013 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14014 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14015 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14016 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14017 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14018 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14019 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14020 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14021 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14022 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14023 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14024 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14025 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14026 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14027 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14028 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14029 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14030 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14031 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14032 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14033 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14034 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14035 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14036 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14037 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14038
14039 LTCC='$LTCC'
14040 LTCFLAGS='$LTCFLAGS'
14041 compiler='$compiler_DEFAULT'
14042
14043 # A function that is used when there is no print builtin or printf.
14044 func_fallback_echo ()
14045 {
14046   eval 'cat <<_LTECHO_EOF
14047 \$1
14048 _LTECHO_EOF'
14049 }
14050
14051 # Quote evaled strings.
14052 for var in SHELL \
14053 ECHO \
14054 PATH_SEPARATOR \
14055 SED \
14056 GREP \
14057 EGREP \
14058 FGREP \
14059 LD \
14060 NM \
14061 LN_S \
14062 lt_SP2NL \
14063 lt_NL2SP \
14064 reload_flag \
14065 OBJDUMP \
14066 deplibs_check_method \
14067 file_magic_cmd \
14068 file_magic_glob \
14069 want_nocaseglob \
14070 DLLTOOL \
14071 sharedlib_from_linklib_cmd \
14072 AR \
14073 AR_FLAGS \
14074 archiver_list_spec \
14075 STRIP \
14076 RANLIB \
14077 CC \
14078 CFLAGS \
14079 compiler \
14080 lt_cv_sys_global_symbol_pipe \
14081 lt_cv_sys_global_symbol_to_cdecl \
14082 lt_cv_sys_global_symbol_to_c_name_address \
14083 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14084 nm_file_list_spec \
14085 lt_prog_compiler_no_builtin_flag \
14086 lt_prog_compiler_pic \
14087 lt_prog_compiler_wl \
14088 lt_prog_compiler_static \
14089 lt_cv_prog_compiler_c_o \
14090 need_locks \
14091 MANIFEST_TOOL \
14092 DSYMUTIL \
14093 NMEDIT \
14094 LIPO \
14095 OTOOL \
14096 OTOOL64 \
14097 shrext_cmds \
14098 export_dynamic_flag_spec \
14099 whole_archive_flag_spec \
14100 compiler_needs_object \
14101 with_gnu_ld \
14102 allow_undefined_flag \
14103 no_undefined_flag \
14104 hardcode_libdir_flag_spec \
14105 hardcode_libdir_separator \
14106 exclude_expsyms \
14107 include_expsyms \
14108 file_list_spec \
14109 variables_saved_for_relink \
14110 libname_spec \
14111 library_names_spec \
14112 soname_spec \
14113 install_override_mode \
14114 finish_eval \
14115 old_striplib \
14116 striplib; do
14117     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14118     *[\\\\\\\`\\"\\\$]*)
14119       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14120       ;;
14121     *)
14122       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14123       ;;
14124     esac
14125 done
14126
14127 # Double-quote double-evaled strings.
14128 for var in reload_cmds \
14129 old_postinstall_cmds \
14130 old_postuninstall_cmds \
14131 old_archive_cmds \
14132 extract_expsyms_cmds \
14133 old_archive_from_new_cmds \
14134 old_archive_from_expsyms_cmds \
14135 archive_cmds \
14136 archive_expsym_cmds \
14137 module_cmds \
14138 module_expsym_cmds \
14139 export_symbols_cmds \
14140 prelink_cmds \
14141 postlink_cmds \
14142 postinstall_cmds \
14143 postuninstall_cmds \
14144 finish_cmds \
14145 sys_lib_search_path_spec \
14146 sys_lib_dlsearch_path_spec; do
14147     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14148     *[\\\\\\\`\\"\\\$]*)
14149       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14150       ;;
14151     *)
14152       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14153       ;;
14154     esac
14155 done
14156
14157 ac_aux_dir='$ac_aux_dir'
14158 xsi_shell='$xsi_shell'
14159 lt_shell_append='$lt_shell_append'
14160
14161 # See if we are running on zsh, and set the options which allow our
14162 # commands through without removal of \ escapes INIT.
14163 if test -n "\${ZSH_VERSION+set}" ; then
14164    setopt NO_GLOB_SUBST
14165 fi
14166
14167
14168     PACKAGE='$PACKAGE'
14169     VERSION='$VERSION'
14170     TIMESTAMP='$TIMESTAMP'
14171     RM='$RM'
14172     ofile='$ofile'
14173
14174
14175
14176
14177 _ACEOF
14178
14179 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14180
14181 # Handling of arguments.
14182 for ac_config_target in $ac_config_targets
14183 do
14184   case $ac_config_target in
14185     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14186     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14187     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14188     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14189     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14190     "src/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/Makefile" ;;
14191     "src/common/gum.conf") CONFIG_FILES="$CONFIG_FILES src/common/gum.conf" ;;
14192     "src/common/libgum-common.pc") CONFIG_FILES="$CONFIG_FILES src/common/libgum-common.pc" ;;
14193     "src/common/libgum-common-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES src/common/libgum-common-uninstalled.pc" ;;
14194     "src/common/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/dbus/Makefile" ;;
14195     "src/daemon/gumd.pc") CONFIG_FILES="$CONFIG_FILES src/daemon/gumd.pc" ;;
14196     "src/daemon/gumd-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES src/daemon/gumd-uninstalled.pc" ;;
14197     "src/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/Makefile" ;;
14198     "src/daemon/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/Makefile" ;;
14199     "src/daemon/dbus/services/org.tizen.SecurityAccounts.gUserManagement.service") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/services/org.tizen.SecurityAccounts.gUserManagement.service" ;;
14200     "src/daemon/dbus/gumd-dbus.conf") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/gumd-dbus.conf" ;;
14201     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
14202     "src/lib/libgum.pc") CONFIG_FILES="$CONFIG_FILES src/lib/libgum.pc" ;;
14203     "src/lib/libgum-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES src/lib/libgum-uninstalled.pc" ;;
14204     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
14205     "docs/version.xml") CONFIG_FILES="$CONFIG_FILES docs/version.xml" ;;
14206     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
14207     "test/common/Makefile") CONFIG_FILES="$CONFIG_FILES test/common/Makefile" ;;
14208     "test/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES test/daemon/Makefile" ;;
14209     "test/lib/Makefile") CONFIG_FILES="$CONFIG_FILES test/lib/Makefile" ;;
14210     "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
14211     "test/data/test-gumd-dbus.conf") CONFIG_FILES="$CONFIG_FILES test/data/test-gumd-dbus.conf" ;;
14212     "test/data/services/org.tizen.SecurityAccounts.gUserManagement.service") CONFIG_FILES="$CONFIG_FILES test/data/services/org.tizen.SecurityAccounts.gUserManagement.service" ;;
14213
14214   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14215   esac
14216 done
14217
14218
14219 # If the user did not use the arguments to specify the items to instantiate,
14220 # then the envvar interface is used.  Set only those that are not.
14221 # We use the long form for the default assignment because of an extremely
14222 # bizarre bug on SunOS 4.1.3.
14223 if $ac_need_defaults; then
14224   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14225   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14226   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14227 fi
14228
14229 # Have a temporary directory for convenience.  Make it in the build tree
14230 # simply because there is no reason against having it here, and in addition,
14231 # creating and moving files from /tmp can sometimes cause problems.
14232 # Hook for its removal unless debugging.
14233 # Note that there is a small window in which the directory will not be cleaned:
14234 # after its creation but before its name has been assigned to `$tmp'.
14235 $debug ||
14236 {
14237   tmp= ac_tmp=
14238   trap 'exit_status=$?
14239   : "${ac_tmp:=$tmp}"
14240   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14241 ' 0
14242   trap 'as_fn_exit 1' 1 2 13 15
14243 }
14244 # Create a (secure) tmp directory for tmp files.
14245
14246 {
14247   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14248   test -d "$tmp"
14249 }  ||
14250 {
14251   tmp=./conf$$-$RANDOM
14252   (umask 077 && mkdir "$tmp")
14253 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14254 ac_tmp=$tmp
14255
14256 # Set up the scripts for CONFIG_FILES section.
14257 # No need to generate them if there are no CONFIG_FILES.
14258 # This happens for instance with `./config.status config.h'.
14259 if test -n "$CONFIG_FILES"; then
14260
14261
14262 ac_cr=`echo X | tr X '\015'`
14263 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14264 # But we know of no other shell where ac_cr would be empty at this
14265 # point, so we can use a bashism as a fallback.
14266 if test "x$ac_cr" = x; then
14267   eval ac_cr=\$\'\\r\'
14268 fi
14269 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14270 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14271   ac_cs_awk_cr='\\r'
14272 else
14273   ac_cs_awk_cr=$ac_cr
14274 fi
14275
14276 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14277 _ACEOF
14278
14279
14280 {
14281   echo "cat >conf$$subs.awk <<_ACEOF" &&
14282   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14283   echo "_ACEOF"
14284 } >conf$$subs.sh ||
14285   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14286 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14287 ac_delim='%!_!# '
14288 for ac_last_try in false false false false false :; do
14289   . ./conf$$subs.sh ||
14290     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14291
14292   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14293   if test $ac_delim_n = $ac_delim_num; then
14294     break
14295   elif $ac_last_try; then
14296     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14297   else
14298     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14299   fi
14300 done
14301 rm -f conf$$subs.sh
14302
14303 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14304 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14305 _ACEOF
14306 sed -n '
14307 h
14308 s/^/S["/; s/!.*/"]=/
14309 p
14310 g
14311 s/^[^!]*!//
14312 :repl
14313 t repl
14314 s/'"$ac_delim"'$//
14315 t delim
14316 :nl
14317 h
14318 s/\(.\{148\}\)..*/\1/
14319 t more1
14320 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14321 p
14322 n
14323 b repl
14324 :more1
14325 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14326 p
14327 g
14328 s/.\{148\}//
14329 t nl
14330 :delim
14331 h
14332 s/\(.\{148\}\)..*/\1/
14333 t more2
14334 s/["\\]/\\&/g; s/^/"/; s/$/"/
14335 p
14336 b
14337 :more2
14338 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14339 p
14340 g
14341 s/.\{148\}//
14342 t delim
14343 ' <conf$$subs.awk | sed '
14344 /^[^""]/{
14345   N
14346   s/\n//
14347 }
14348 ' >>$CONFIG_STATUS || ac_write_fail=1
14349 rm -f conf$$subs.awk
14350 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14351 _ACAWK
14352 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14353   for (key in S) S_is_set[key] = 1
14354   FS = "\a"
14355
14356 }
14357 {
14358   line = $ 0
14359   nfields = split(line, field, "@")
14360   substed = 0
14361   len = length(field[1])
14362   for (i = 2; i < nfields; i++) {
14363     key = field[i]
14364     keylen = length(key)
14365     if (S_is_set[key]) {
14366       value = S[key]
14367       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14368       len += length(value) + length(field[++i])
14369       substed = 1
14370     } else
14371       len += 1 + keylen
14372   }
14373
14374   print line
14375 }
14376
14377 _ACAWK
14378 _ACEOF
14379 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14380 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14381   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14382 else
14383   cat
14384 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14385   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14386 _ACEOF
14387
14388 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14389 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14390 # trailing colons and then remove the whole line if VPATH becomes empty
14391 # (actually we leave an empty line to preserve line numbers).
14392 if test "x$srcdir" = x.; then
14393   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
14394 h
14395 s///
14396 s/^/:/
14397 s/[      ]*$/:/
14398 s/:\$(srcdir):/:/g
14399 s/:\${srcdir}:/:/g
14400 s/:@srcdir@:/:/g
14401 s/^:*//
14402 s/:*$//
14403 x
14404 s/\(=[   ]*\).*/\1/
14405 G
14406 s/\n//
14407 s/^[^=]*=[       ]*$//
14408 }'
14409 fi
14410
14411 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14412 fi # test -n "$CONFIG_FILES"
14413
14414 # Set up the scripts for CONFIG_HEADERS section.
14415 # No need to generate them if there are no CONFIG_HEADERS.
14416 # This happens for instance with `./config.status Makefile'.
14417 if test -n "$CONFIG_HEADERS"; then
14418 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14419 BEGIN {
14420 _ACEOF
14421
14422 # Transform confdefs.h into an awk script `defines.awk', embedded as
14423 # here-document in config.status, that substitutes the proper values into
14424 # config.h.in to produce config.h.
14425
14426 # Create a delimiter string that does not exist in confdefs.h, to ease
14427 # handling of long lines.
14428 ac_delim='%!_!# '
14429 for ac_last_try in false false :; do
14430   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14431   if test -z "$ac_tt"; then
14432     break
14433   elif $ac_last_try; then
14434     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14435   else
14436     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14437   fi
14438 done
14439
14440 # For the awk script, D is an array of macro values keyed by name,
14441 # likewise P contains macro parameters if any.  Preserve backslash
14442 # newline sequences.
14443
14444 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14445 sed -n '
14446 s/.\{148\}/&'"$ac_delim"'/g
14447 t rset
14448 :rset
14449 s/^[     ]*#[    ]*define[       ][      ]*/ /
14450 t def
14451 d
14452 :def
14453 s/\\$//
14454 t bsnl
14455 s/["\\]/\\&/g
14456 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14457 D["\1"]=" \3"/p
14458 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
14459 d
14460 :bsnl
14461 s/["\\]/\\&/g
14462 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14463 D["\1"]=" \3\\\\\\n"\\/p
14464 t cont
14465 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14466 t cont
14467 d
14468 :cont
14469 n
14470 s/.\{148\}/&'"$ac_delim"'/g
14471 t clear
14472 :clear
14473 s/\\$//
14474 t bsnlc
14475 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14476 d
14477 :bsnlc
14478 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14479 b cont
14480 ' <confdefs.h | sed '
14481 s/'"$ac_delim"'/"\\\
14482 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14483
14484 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14485   for (key in D) D_is_set[key] = 1
14486   FS = "\a"
14487 }
14488 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14489   line = \$ 0
14490   split(line, arg, " ")
14491   if (arg[1] == "#") {
14492     defundef = arg[2]
14493     mac1 = arg[3]
14494   } else {
14495     defundef = substr(arg[1], 2)
14496     mac1 = arg[2]
14497   }
14498   split(mac1, mac2, "(") #)
14499   macro = mac2[1]
14500   prefix = substr(line, 1, index(line, defundef) - 1)
14501   if (D_is_set[macro]) {
14502     # Preserve the white space surrounding the "#".
14503     print prefix "define", macro P[macro] D[macro]
14504     next
14505   } else {
14506     # Replace #undef with comments.  This is necessary, for example,
14507     # in the case of _POSIX_SOURCE, which is predefined and required
14508     # on some systems where configure will not decide to define it.
14509     if (defundef == "undef") {
14510       print "/*", prefix defundef, macro, "*/"
14511       next
14512     }
14513   }
14514 }
14515 { print }
14516 _ACAWK
14517 _ACEOF
14518 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14519   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14520 fi # test -n "$CONFIG_HEADERS"
14521
14522
14523 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
14524 shift
14525 for ac_tag
14526 do
14527   case $ac_tag in
14528   :[FHLC]) ac_mode=$ac_tag; continue;;
14529   esac
14530   case $ac_mode$ac_tag in
14531   :[FHL]*:*);;
14532   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14533   :[FH]-) ac_tag=-:-;;
14534   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14535   esac
14536   ac_save_IFS=$IFS
14537   IFS=:
14538   set x $ac_tag
14539   IFS=$ac_save_IFS
14540   shift
14541   ac_file=$1
14542   shift
14543
14544   case $ac_mode in
14545   :L) ac_source=$1;;
14546   :[FH])
14547     ac_file_inputs=
14548     for ac_f
14549     do
14550       case $ac_f in
14551       -) ac_f="$ac_tmp/stdin";;
14552       *) # Look for the file first in the build tree, then in the source tree
14553          # (if the path is not absolute).  The absolute path cannot be DOS-style,
14554          # because $ac_f cannot contain `:'.
14555          test -f "$ac_f" ||
14556            case $ac_f in
14557            [\\/$]*) false;;
14558            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14559            esac ||
14560            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14561       esac
14562       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14563       as_fn_append ac_file_inputs " '$ac_f'"
14564     done
14565
14566     # Let's still pretend it is `configure' which instantiates (i.e., don't
14567     # use $as_me), people would be surprised to read:
14568     #    /* config.h.  Generated by config.status.  */
14569     configure_input='Generated from '`
14570           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14571         `' by configure.'
14572     if test x"$ac_file" != x-; then
14573       configure_input="$ac_file.  $configure_input"
14574       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14575 $as_echo "$as_me: creating $ac_file" >&6;}
14576     fi
14577     # Neutralize special characters interpreted by sed in replacement strings.
14578     case $configure_input in #(
14579     *\&* | *\|* | *\\* )
14580        ac_sed_conf_input=`$as_echo "$configure_input" |
14581        sed 's/[\\\\&|]/\\\\&/g'`;; #(
14582     *) ac_sed_conf_input=$configure_input;;
14583     esac
14584
14585     case $ac_tag in
14586     *:-:* | *:-) cat >"$ac_tmp/stdin" \
14587       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14588     esac
14589     ;;
14590   esac
14591
14592   ac_dir=`$as_dirname -- "$ac_file" ||
14593 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14594          X"$ac_file" : 'X\(//\)[^/]' \| \
14595          X"$ac_file" : 'X\(//\)$' \| \
14596          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14597 $as_echo X"$ac_file" |
14598     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14599             s//\1/
14600             q
14601           }
14602           /^X\(\/\/\)[^/].*/{
14603             s//\1/
14604             q
14605           }
14606           /^X\(\/\/\)$/{
14607             s//\1/
14608             q
14609           }
14610           /^X\(\/\).*/{
14611             s//\1/
14612             q
14613           }
14614           s/.*/./; q'`
14615   as_dir="$ac_dir"; as_fn_mkdir_p
14616   ac_builddir=.
14617
14618 case "$ac_dir" in
14619 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14620 *)
14621   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14622   # A ".." for each directory in $ac_dir_suffix.
14623   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14624   case $ac_top_builddir_sub in
14625   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14626   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14627   esac ;;
14628 esac
14629 ac_abs_top_builddir=$ac_pwd
14630 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14631 # for backward compatibility:
14632 ac_top_builddir=$ac_top_build_prefix
14633
14634 case $srcdir in
14635   .)  # We are building in place.
14636     ac_srcdir=.
14637     ac_top_srcdir=$ac_top_builddir_sub
14638     ac_abs_top_srcdir=$ac_pwd ;;
14639   [\\/]* | ?:[\\/]* )  # Absolute name.
14640     ac_srcdir=$srcdir$ac_dir_suffix;
14641     ac_top_srcdir=$srcdir
14642     ac_abs_top_srcdir=$srcdir ;;
14643   *) # Relative name.
14644     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14645     ac_top_srcdir=$ac_top_build_prefix$srcdir
14646     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14647 esac
14648 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14649
14650
14651   case $ac_mode in
14652   :F)
14653   #
14654   # CONFIG_FILE
14655   #
14656
14657   case $INSTALL in
14658   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14659   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14660   esac
14661   ac_MKDIR_P=$MKDIR_P
14662   case $MKDIR_P in
14663   [\\/$]* | ?:[\\/]* ) ;;
14664   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14665   esac
14666 _ACEOF
14667
14668 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14669 # If the template does not know about datarootdir, expand it.
14670 # FIXME: This hack should be removed a few years after 2.60.
14671 ac_datarootdir_hack=; ac_datarootdir_seen=
14672 ac_sed_dataroot='
14673 /datarootdir/ {
14674   p
14675   q
14676 }
14677 /@datadir@/p
14678 /@docdir@/p
14679 /@infodir@/p
14680 /@localedir@/p
14681 /@mandir@/p'
14682 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14683 *datarootdir*) ac_datarootdir_seen=yes;;
14684 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14685   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14686 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14687 _ACEOF
14688 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14689   ac_datarootdir_hack='
14690   s&@datadir@&$datadir&g
14691   s&@docdir@&$docdir&g
14692   s&@infodir@&$infodir&g
14693   s&@localedir@&$localedir&g
14694   s&@mandir@&$mandir&g
14695   s&\\\${datarootdir}&$datarootdir&g' ;;
14696 esac
14697 _ACEOF
14698
14699 # Neutralize VPATH when `$srcdir' = `.'.
14700 # Shell code in configure.ac might set extrasub.
14701 # FIXME: do we really want to maintain this feature?
14702 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14703 ac_sed_extra="$ac_vpsub
14704 $extrasub
14705 _ACEOF
14706 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14707 :t
14708 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14709 s|@configure_input@|$ac_sed_conf_input|;t t
14710 s&@top_builddir@&$ac_top_builddir_sub&;t t
14711 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14712 s&@srcdir@&$ac_srcdir&;t t
14713 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14714 s&@top_srcdir@&$ac_top_srcdir&;t t
14715 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14716 s&@builddir@&$ac_builddir&;t t
14717 s&@abs_builddir@&$ac_abs_builddir&;t t
14718 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14719 s&@INSTALL@&$ac_INSTALL&;t t
14720 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14721 $ac_datarootdir_hack
14722 "
14723 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14724   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14725
14726 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14727   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14728   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
14729       "$ac_tmp/out"`; test -z "$ac_out"; } &&
14730   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14731 which seems to be undefined.  Please make sure it is defined" >&5
14732 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14733 which seems to be undefined.  Please make sure it is defined" >&2;}
14734
14735   rm -f "$ac_tmp/stdin"
14736   case $ac_file in
14737   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14738   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14739   esac \
14740   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14741  ;;
14742   :H)
14743   #
14744   # CONFIG_HEADER
14745   #
14746   if test x"$ac_file" != x-; then
14747     {
14748       $as_echo "/* $configure_input  */" \
14749       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14750     } >"$ac_tmp/config.h" \
14751       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14752     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14753       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14754 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14755     else
14756       rm -f "$ac_file"
14757       mv "$ac_tmp/config.h" "$ac_file" \
14758         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14759     fi
14760   else
14761     $as_echo "/* $configure_input  */" \
14762       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14763       || as_fn_error $? "could not create -" "$LINENO" 5
14764   fi
14765 # Compute "$ac_file"'s index in $config_headers.
14766 _am_arg="$ac_file"
14767 _am_stamp_count=1
14768 for _am_header in $config_headers :; do
14769   case $_am_header in
14770     $_am_arg | $_am_arg:* )
14771       break ;;
14772     * )
14773       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14774   esac
14775 done
14776 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14777 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14778          X"$_am_arg" : 'X\(//\)[^/]' \| \
14779          X"$_am_arg" : 'X\(//\)$' \| \
14780          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14781 $as_echo X"$_am_arg" |
14782     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14783             s//\1/
14784             q
14785           }
14786           /^X\(\/\/\)[^/].*/{
14787             s//\1/
14788             q
14789           }
14790           /^X\(\/\/\)$/{
14791             s//\1/
14792             q
14793           }
14794           /^X\(\/\).*/{
14795             s//\1/
14796             q
14797           }
14798           s/.*/./; q'`/stamp-h$_am_stamp_count
14799  ;;
14800
14801   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14802 $as_echo "$as_me: executing $ac_file commands" >&6;}
14803  ;;
14804   esac
14805
14806
14807   case $ac_file$ac_mode in
14808     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14809   # Autoconf 2.62 quotes --file arguments for eval, but not when files
14810   # are listed without --file.  Let's play safe and only enable the eval
14811   # if we detect the quoting.
14812   case $CONFIG_FILES in
14813   *\'*) eval set x "$CONFIG_FILES" ;;
14814   *)   set x $CONFIG_FILES ;;
14815   esac
14816   shift
14817   for mf
14818   do
14819     # Strip MF so we end up with the name of the file.
14820     mf=`echo "$mf" | sed -e 's/:.*$//'`
14821     # Check whether this is an Automake generated Makefile or not.
14822     # We used to match only the files named `Makefile.in', but
14823     # some people rename them; so instead we look at the file content.
14824     # Grep'ing the first line is not enough: some people post-process
14825     # each Makefile.in and add a new line on top of each file to say so.
14826     # Grep'ing the whole file is not good either: AIX grep has a line
14827     # limit of 2048, but all sed's we know have understand at least 4000.
14828     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14829       dirpart=`$as_dirname -- "$mf" ||
14830 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14831          X"$mf" : 'X\(//\)[^/]' \| \
14832          X"$mf" : 'X\(//\)$' \| \
14833          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14834 $as_echo X"$mf" |
14835     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14836             s//\1/
14837             q
14838           }
14839           /^X\(\/\/\)[^/].*/{
14840             s//\1/
14841             q
14842           }
14843           /^X\(\/\/\)$/{
14844             s//\1/
14845             q
14846           }
14847           /^X\(\/\).*/{
14848             s//\1/
14849             q
14850           }
14851           s/.*/./; q'`
14852     else
14853       continue
14854     fi
14855     # Extract the definition of DEPDIR, am__include, and am__quote
14856     # from the Makefile without running `make'.
14857     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14858     test -z "$DEPDIR" && continue
14859     am__include=`sed -n 's/^am__include = //p' < "$mf"`
14860     test -z "am__include" && continue
14861     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14862     # When using ansi2knr, U may be empty or an underscore; expand it
14863     U=`sed -n 's/^U = //p' < "$mf"`
14864     # Find all dependency output files, they are included files with
14865     # $(DEPDIR) in their names.  We invoke sed twice because it is the
14866     # simplest approach to changing $(DEPDIR) to its actual value in the
14867     # expansion.
14868     for file in `sed -n "
14869       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14870          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14871       # Make sure the directory exists.
14872       test -f "$dirpart/$file" && continue
14873       fdir=`$as_dirname -- "$file" ||
14874 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14875          X"$file" : 'X\(//\)[^/]' \| \
14876          X"$file" : 'X\(//\)$' \| \
14877          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14878 $as_echo X"$file" |
14879     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14880             s//\1/
14881             q
14882           }
14883           /^X\(\/\/\)[^/].*/{
14884             s//\1/
14885             q
14886           }
14887           /^X\(\/\/\)$/{
14888             s//\1/
14889             q
14890           }
14891           /^X\(\/\).*/{
14892             s//\1/
14893             q
14894           }
14895           s/.*/./; q'`
14896       as_dir=$dirpart/$fdir; as_fn_mkdir_p
14897       # echo "creating $dirpart/$file"
14898       echo '# dummy' > "$dirpart/$file"
14899     done
14900   done
14901 }
14902  ;;
14903     "libtool":C)
14904
14905     # See if we are running on zsh, and set the options which allow our
14906     # commands through without removal of \ escapes.
14907     if test -n "${ZSH_VERSION+set}" ; then
14908       setopt NO_GLOB_SUBST
14909     fi
14910
14911     cfgfile="${ofile}T"
14912     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14913     $RM "$cfgfile"
14914
14915     cat <<_LT_EOF >> "$cfgfile"
14916 #! $SHELL
14917
14918 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14919 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14920 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14921 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14922 #
14923 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14924 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14925 #                 Foundation, Inc.
14926 #   Written by Gordon Matzigkeit, 1996
14927 #
14928 #   This file is part of GNU Libtool.
14929 #
14930 # GNU Libtool is free software; you can redistribute it and/or
14931 # modify it under the terms of the GNU General Public License as
14932 # published by the Free Software Foundation; either version 2 of
14933 # the License, or (at your option) any later version.
14934 #
14935 # As a special exception to the GNU General Public License,
14936 # if you distribute this file as part of a program or library that
14937 # is built using GNU Libtool, you may include this file under the
14938 # same distribution terms that you use for the rest of that program.
14939 #
14940 # GNU Libtool is distributed in the hope that it will be useful,
14941 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14942 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14943 # GNU General Public License for more details.
14944 #
14945 # You should have received a copy of the GNU General Public License
14946 # along with GNU Libtool; see the file COPYING.  If not, a copy
14947 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14948 # obtained by writing to the Free Software Foundation, Inc.,
14949 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14950
14951
14952 # The names of the tagged configurations supported by this script.
14953 available_tags=""
14954
14955 # ### BEGIN LIBTOOL CONFIG
14956
14957 # Which release of libtool.m4 was used?
14958 macro_version=$macro_version
14959 macro_revision=$macro_revision
14960
14961 # Whether or not to build static libraries.
14962 build_old_libs=$enable_static
14963
14964 # Whether or not to build shared libraries.
14965 build_libtool_libs=$enable_shared
14966
14967 # What type of objects to build.
14968 pic_mode=$pic_mode
14969
14970 # Whether or not to optimize for fast installation.
14971 fast_install=$enable_fast_install
14972
14973 # Shell to use when invoking shell scripts.
14974 SHELL=$lt_SHELL
14975
14976 # An echo program that protects backslashes.
14977 ECHO=$lt_ECHO
14978
14979 # The PATH separator for the build system.
14980 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14981
14982 # The host system.
14983 host_alias=$host_alias
14984 host=$host
14985 host_os=$host_os
14986
14987 # The build system.
14988 build_alias=$build_alias
14989 build=$build
14990 build_os=$build_os
14991
14992 # A sed program that does not truncate output.
14993 SED=$lt_SED
14994
14995 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14996 Xsed="\$SED -e 1s/^X//"
14997
14998 # A grep program that handles long lines.
14999 GREP=$lt_GREP
15000
15001 # An ERE matcher.
15002 EGREP=$lt_EGREP
15003
15004 # A literal string matcher.
15005 FGREP=$lt_FGREP
15006
15007 # A BSD- or MS-compatible name lister.
15008 NM=$lt_NM
15009
15010 # Whether we need soft or hard links.
15011 LN_S=$lt_LN_S
15012
15013 # What is the maximum length of a command?
15014 max_cmd_len=$max_cmd_len
15015
15016 # Object file suffix (normally "o").
15017 objext=$ac_objext
15018
15019 # Executable file suffix (normally "").
15020 exeext=$exeext
15021
15022 # whether the shell understands "unset".
15023 lt_unset=$lt_unset
15024
15025 # turn spaces into newlines.
15026 SP2NL=$lt_lt_SP2NL
15027
15028 # turn newlines into spaces.
15029 NL2SP=$lt_lt_NL2SP
15030
15031 # convert \$build file names to \$host format.
15032 to_host_file_cmd=$lt_cv_to_host_file_cmd
15033
15034 # convert \$build files to toolchain format.
15035 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15036
15037 # An object symbol dumper.
15038 OBJDUMP=$lt_OBJDUMP
15039
15040 # Method to check whether dependent libraries are shared objects.
15041 deplibs_check_method=$lt_deplibs_check_method
15042
15043 # Command to use when deplibs_check_method = "file_magic".
15044 file_magic_cmd=$lt_file_magic_cmd
15045
15046 # How to find potential files when deplibs_check_method = "file_magic".
15047 file_magic_glob=$lt_file_magic_glob
15048
15049 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15050 want_nocaseglob=$lt_want_nocaseglob
15051
15052 # DLL creation program.
15053 DLLTOOL=$lt_DLLTOOL
15054
15055 # Command to associate shared and link libraries.
15056 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15057
15058 # The archiver.
15059 AR=$lt_AR
15060
15061 # Flags to create an archive.
15062 AR_FLAGS=$lt_AR_FLAGS
15063
15064 # How to feed a file listing to the archiver.
15065 archiver_list_spec=$lt_archiver_list_spec
15066
15067 # A symbol stripping program.
15068 STRIP=$lt_STRIP
15069
15070 # Commands used to install an old-style archive.
15071 RANLIB=$lt_RANLIB
15072 old_postinstall_cmds=$lt_old_postinstall_cmds
15073 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15074
15075 # Whether to use a lock for old archive extraction.
15076 lock_old_archive_extraction=$lock_old_archive_extraction
15077
15078 # A C compiler.
15079 LTCC=$lt_CC
15080
15081 # LTCC compiler flags.
15082 LTCFLAGS=$lt_CFLAGS
15083
15084 # Take the output of nm and produce a listing of raw symbols and C names.
15085 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15086
15087 # Transform the output of nm in a proper C declaration.
15088 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15089
15090 # Transform the output of nm in a C name address pair.
15091 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15092
15093 # Transform the output of nm in a C name address pair when lib prefix is needed.
15094 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15095
15096 # Specify filename containing input files for \$NM.
15097 nm_file_list_spec=$lt_nm_file_list_spec
15098
15099 # The root where to search for dependent libraries,and in which our libraries should be installed.
15100 lt_sysroot=$lt_sysroot
15101
15102 # The name of the directory that contains temporary libtool files.
15103 objdir=$objdir
15104
15105 # Used to examine libraries when file_magic_cmd begins with "file".
15106 MAGIC_CMD=$MAGIC_CMD
15107
15108 # Must we lock files when doing compilation?
15109 need_locks=$lt_need_locks
15110
15111 # Manifest tool.
15112 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15113
15114 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15115 DSYMUTIL=$lt_DSYMUTIL
15116
15117 # Tool to change global to local symbols on Mac OS X.
15118 NMEDIT=$lt_NMEDIT
15119
15120 # Tool to manipulate fat objects and archives on Mac OS X.
15121 LIPO=$lt_LIPO
15122
15123 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15124 OTOOL=$lt_OTOOL
15125
15126 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15127 OTOOL64=$lt_OTOOL64
15128
15129 # Old archive suffix (normally "a").
15130 libext=$libext
15131
15132 # Shared library suffix (normally ".so").
15133 shrext_cmds=$lt_shrext_cmds
15134
15135 # The commands to extract the exported symbol list from a shared archive.
15136 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15137
15138 # Variables whose values should be saved in libtool wrapper scripts and
15139 # restored at link time.
15140 variables_saved_for_relink=$lt_variables_saved_for_relink
15141
15142 # Do we need the "lib" prefix for modules?
15143 need_lib_prefix=$need_lib_prefix
15144
15145 # Do we need a version for libraries?
15146 need_version=$need_version
15147
15148 # Library versioning type.
15149 version_type=$version_type
15150
15151 # Shared library runtime path variable.
15152 runpath_var=$runpath_var
15153
15154 # Shared library path variable.
15155 shlibpath_var=$shlibpath_var
15156
15157 # Is shlibpath searched before the hard-coded library search path?
15158 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15159
15160 # Format of library name prefix.
15161 libname_spec=$lt_libname_spec
15162
15163 # List of archive names.  First name is the real one, the rest are links.
15164 # The last name is the one that the linker finds with -lNAME
15165 library_names_spec=$lt_library_names_spec
15166
15167 # The coded name of the library, if different from the real name.
15168 soname_spec=$lt_soname_spec
15169
15170 # Permission mode override for installation of shared libraries.
15171 install_override_mode=$lt_install_override_mode
15172
15173 # Command to use after installation of a shared archive.
15174 postinstall_cmds=$lt_postinstall_cmds
15175
15176 # Command to use after uninstallation of a shared archive.
15177 postuninstall_cmds=$lt_postuninstall_cmds
15178
15179 # Commands used to finish a libtool library installation in a directory.
15180 finish_cmds=$lt_finish_cmds
15181
15182 # As "finish_cmds", except a single script fragment to be evaled but
15183 # not shown.
15184 finish_eval=$lt_finish_eval
15185
15186 # Whether we should hardcode library paths into libraries.
15187 hardcode_into_libs=$hardcode_into_libs
15188
15189 # Compile-time system search path for libraries.
15190 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15191
15192 # Run-time system search path for libraries.
15193 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15194
15195 # Whether dlopen is supported.
15196 dlopen_support=$enable_dlopen
15197
15198 # Whether dlopen of programs is supported.
15199 dlopen_self=$enable_dlopen_self
15200
15201 # Whether dlopen of statically linked programs is supported.
15202 dlopen_self_static=$enable_dlopen_self_static
15203
15204 # Commands to strip libraries.
15205 old_striplib=$lt_old_striplib
15206 striplib=$lt_striplib
15207
15208
15209 # The linker used to build libraries.
15210 LD=$lt_LD
15211
15212 # How to create reloadable object files.
15213 reload_flag=$lt_reload_flag
15214 reload_cmds=$lt_reload_cmds
15215
15216 # Commands used to build an old-style archive.
15217 old_archive_cmds=$lt_old_archive_cmds
15218
15219 # A language specific compiler.
15220 CC=$lt_compiler
15221
15222 # Is the compiler the GNU compiler?
15223 with_gcc=$GCC
15224
15225 # Compiler flag to turn off builtin functions.
15226 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15227
15228 # Additional compiler flags for building library objects.
15229 pic_flag=$lt_lt_prog_compiler_pic
15230
15231 # How to pass a linker flag through the compiler.
15232 wl=$lt_lt_prog_compiler_wl
15233
15234 # Compiler flag to prevent dynamic linking.
15235 link_static_flag=$lt_lt_prog_compiler_static
15236
15237 # Does compiler simultaneously support -c and -o options?
15238 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15239
15240 # Whether or not to add -lc for building shared libraries.
15241 build_libtool_need_lc=$archive_cmds_need_lc
15242
15243 # Whether or not to disallow shared libs when runtime libs are static.
15244 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15245
15246 # Compiler flag to allow reflexive dlopens.
15247 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15248
15249 # Compiler flag to generate shared objects directly from archives.
15250 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15251
15252 # Whether the compiler copes with passing no objects directly.
15253 compiler_needs_object=$lt_compiler_needs_object
15254
15255 # Create an old-style archive from a shared archive.
15256 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15257
15258 # Create a temporary old-style archive to link instead of a shared archive.
15259 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15260
15261 # Commands used to build a shared archive.
15262 archive_cmds=$lt_archive_cmds
15263 archive_expsym_cmds=$lt_archive_expsym_cmds
15264
15265 # Commands used to build a loadable module if different from building
15266 # a shared archive.
15267 module_cmds=$lt_module_cmds
15268 module_expsym_cmds=$lt_module_expsym_cmds
15269
15270 # Whether we are building with GNU ld or not.
15271 with_gnu_ld=$lt_with_gnu_ld
15272
15273 # Flag that allows shared libraries with undefined symbols to be built.
15274 allow_undefined_flag=$lt_allow_undefined_flag
15275
15276 # Flag that enforces no undefined symbols.
15277 no_undefined_flag=$lt_no_undefined_flag
15278
15279 # Flag to hardcode \$libdir into a binary during linking.
15280 # This must work even if \$libdir does not exist
15281 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15282
15283 # Whether we need a single "-rpath" flag with a separated argument.
15284 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15285
15286 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15287 # DIR into the resulting binary.
15288 hardcode_direct=$hardcode_direct
15289
15290 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15291 # DIR into the resulting binary and the resulting library dependency is
15292 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15293 # library is relocated.
15294 hardcode_direct_absolute=$hardcode_direct_absolute
15295
15296 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15297 # into the resulting binary.
15298 hardcode_minus_L=$hardcode_minus_L
15299
15300 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15301 # into the resulting binary.
15302 hardcode_shlibpath_var=$hardcode_shlibpath_var
15303
15304 # Set to "yes" if building a shared library automatically hardcodes DIR
15305 # into the library and all subsequent libraries and executables linked
15306 # against it.
15307 hardcode_automatic=$hardcode_automatic
15308
15309 # Set to yes if linker adds runtime paths of dependent libraries
15310 # to runtime path list.
15311 inherit_rpath=$inherit_rpath
15312
15313 # Whether libtool must link a program against all its dependency libraries.
15314 link_all_deplibs=$link_all_deplibs
15315
15316 # Set to "yes" if exported symbols are required.
15317 always_export_symbols=$always_export_symbols
15318
15319 # The commands to list exported symbols.
15320 export_symbols_cmds=$lt_export_symbols_cmds
15321
15322 # Symbols that should not be listed in the preloaded symbols.
15323 exclude_expsyms=$lt_exclude_expsyms
15324
15325 # Symbols that must always be exported.
15326 include_expsyms=$lt_include_expsyms
15327
15328 # Commands necessary for linking programs (against libraries) with templates.
15329 prelink_cmds=$lt_prelink_cmds
15330
15331 # Commands necessary for finishing linking programs.
15332 postlink_cmds=$lt_postlink_cmds
15333
15334 # Specify filename containing input files.
15335 file_list_spec=$lt_file_list_spec
15336
15337 # How to hardcode a shared library path into an executable.
15338 hardcode_action=$hardcode_action
15339
15340 # ### END LIBTOOL CONFIG
15341
15342 _LT_EOF
15343
15344   case $host_os in
15345   aix3*)
15346     cat <<\_LT_EOF >> "$cfgfile"
15347 # AIX sometimes has problems with the GCC collect2 program.  For some
15348 # reason, if we set the COLLECT_NAMES environment variable, the problems
15349 # vanish in a puff of smoke.
15350 if test "X${COLLECT_NAMES+set}" != Xset; then
15351   COLLECT_NAMES=
15352   export COLLECT_NAMES
15353 fi
15354 _LT_EOF
15355     ;;
15356   esac
15357
15358
15359 ltmain="$ac_aux_dir/ltmain.sh"
15360
15361
15362   # We use sed instead of cat because bash on DJGPP gets confused if
15363   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15364   # text mode, it properly converts lines to CR/LF.  This bash problem
15365   # is reportedly fixed, but why not run on old versions too?
15366   sed '$q' "$ltmain" >> "$cfgfile" \
15367      || (rm -f "$cfgfile"; exit 1)
15368
15369   if test x"$xsi_shell" = xyes; then
15370   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15371 func_dirname ()\
15372 {\
15373 \    case ${1} in\
15374 \      */*) func_dirname_result="${1%/*}${2}" ;;\
15375 \      *  ) func_dirname_result="${3}" ;;\
15376 \    esac\
15377 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15378   && mv -f "$cfgfile.tmp" "$cfgfile" \
15379     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15380 test 0 -eq $? || _lt_function_replace_fail=:
15381
15382
15383   sed -e '/^func_basename ()$/,/^} # func_basename /c\
15384 func_basename ()\
15385 {\
15386 \    func_basename_result="${1##*/}"\
15387 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15388   && mv -f "$cfgfile.tmp" "$cfgfile" \
15389     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15390 test 0 -eq $? || _lt_function_replace_fail=:
15391
15392
15393   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15394 func_dirname_and_basename ()\
15395 {\
15396 \    case ${1} in\
15397 \      */*) func_dirname_result="${1%/*}${2}" ;;\
15398 \      *  ) func_dirname_result="${3}" ;;\
15399 \    esac\
15400 \    func_basename_result="${1##*/}"\
15401 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15402   && mv -f "$cfgfile.tmp" "$cfgfile" \
15403     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15404 test 0 -eq $? || _lt_function_replace_fail=:
15405
15406
15407   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15408 func_stripname ()\
15409 {\
15410 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15411 \    # positional parameters, so assign one to ordinary parameter first.\
15412 \    func_stripname_result=${3}\
15413 \    func_stripname_result=${func_stripname_result#"${1}"}\
15414 \    func_stripname_result=${func_stripname_result%"${2}"}\
15415 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15416   && mv -f "$cfgfile.tmp" "$cfgfile" \
15417     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15418 test 0 -eq $? || _lt_function_replace_fail=:
15419
15420
15421   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15422 func_split_long_opt ()\
15423 {\
15424 \    func_split_long_opt_name=${1%%=*}\
15425 \    func_split_long_opt_arg=${1#*=}\
15426 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15427   && mv -f "$cfgfile.tmp" "$cfgfile" \
15428     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15429 test 0 -eq $? || _lt_function_replace_fail=:
15430
15431
15432   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15433 func_split_short_opt ()\
15434 {\
15435 \    func_split_short_opt_arg=${1#??}\
15436 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15437 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15438   && mv -f "$cfgfile.tmp" "$cfgfile" \
15439     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15440 test 0 -eq $? || _lt_function_replace_fail=:
15441
15442
15443   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15444 func_lo2o ()\
15445 {\
15446 \    case ${1} in\
15447 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15448 \      *)    func_lo2o_result=${1} ;;\
15449 \    esac\
15450 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15451   && mv -f "$cfgfile.tmp" "$cfgfile" \
15452     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15453 test 0 -eq $? || _lt_function_replace_fail=:
15454
15455
15456   sed -e '/^func_xform ()$/,/^} # func_xform /c\
15457 func_xform ()\
15458 {\
15459     func_xform_result=${1%.*}.lo\
15460 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15461   && mv -f "$cfgfile.tmp" "$cfgfile" \
15462     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15463 test 0 -eq $? || _lt_function_replace_fail=:
15464
15465
15466   sed -e '/^func_arith ()$/,/^} # func_arith /c\
15467 func_arith ()\
15468 {\
15469     func_arith_result=$(( $* ))\
15470 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15471   && mv -f "$cfgfile.tmp" "$cfgfile" \
15472     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15473 test 0 -eq $? || _lt_function_replace_fail=:
15474
15475
15476   sed -e '/^func_len ()$/,/^} # func_len /c\
15477 func_len ()\
15478 {\
15479     func_len_result=${#1}\
15480 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15481   && mv -f "$cfgfile.tmp" "$cfgfile" \
15482     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15483 test 0 -eq $? || _lt_function_replace_fail=:
15484
15485 fi
15486
15487 if test x"$lt_shell_append" = xyes; then
15488   sed -e '/^func_append ()$/,/^} # func_append /c\
15489 func_append ()\
15490 {\
15491     eval "${1}+=\\${2}"\
15492 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15493   && mv -f "$cfgfile.tmp" "$cfgfile" \
15494     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15495 test 0 -eq $? || _lt_function_replace_fail=:
15496
15497
15498   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15499 func_append_quoted ()\
15500 {\
15501 \    func_quote_for_eval "${2}"\
15502 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15503 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15504   && mv -f "$cfgfile.tmp" "$cfgfile" \
15505     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15506 test 0 -eq $? || _lt_function_replace_fail=:
15507
15508
15509   # Save a `func_append' function call where possible by direct use of '+='
15510   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15511     && mv -f "$cfgfile.tmp" "$cfgfile" \
15512       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15513   test 0 -eq $? || _lt_function_replace_fail=:
15514 else
15515   # Save a `func_append' function call even when '+=' is not available
15516   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15517     && mv -f "$cfgfile.tmp" "$cfgfile" \
15518       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15519   test 0 -eq $? || _lt_function_replace_fail=:
15520 fi
15521
15522 if test x"$_lt_function_replace_fail" = x":"; then
15523   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15524 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15525 fi
15526
15527
15528    mv -f "$cfgfile" "$ofile" ||
15529     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15530   chmod +x "$ofile"
15531
15532  ;;
15533
15534   esac
15535 done # for ac_tag
15536
15537
15538 as_fn_exit 0
15539 _ACEOF
15540 ac_clean_files=$ac_clean_files_save
15541
15542 test $ac_write_fail = 0 ||
15543   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15544
15545
15546 # configure is writing to config.log, and then calls config.status.
15547 # config.status does its own redirection, appending to config.log.
15548 # Unfortunately, on DOS this fails, as config.log is still kept open
15549 # by configure, so config.status won't be able to write to it; its
15550 # output is simply discarded.  So we exec the FD to /dev/null,
15551 # effectively closing config.log, so it can be properly (re)opened and
15552 # appended to by config.status.  When coming back to configure, we
15553 # need to make the FD available again.
15554 if test "$no_create" != yes; then
15555   ac_cs_success=:
15556   ac_config_status_args=
15557   test "$silent" = yes &&
15558     ac_config_status_args="$ac_config_status_args --quiet"
15559   exec 5>/dev/null
15560   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15561   exec 5>>config.log
15562   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15563   # would make configure fail if this is the last instruction.
15564   $ac_cs_success || as_fn_exit 1
15565 fi
15566 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15567   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15568 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15569 fi
15570