Release 1.0.3
[platform/upstream/gsignond.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for gsignond 1.0.3.
4 #
5 #
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7 #
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18   emulate sh
19   NULLCMD=:
20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21   # is contrary to our usage.  Disable this feature.
22   alias -g '${1+"$@"}'='"$@"'
23   setopt NO_GLOB_SUBST
24 else
25   case `(set -o) 2>/dev/null` in #(
26   *posix*) :
27     set -o posix ;; #(
28   *) :
29      ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45   as_echo='print -r --'
46   as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48   as_echo='printf %s\n'
49   as_echo_n='printf %s'
50 else
51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53     as_echo_n='/usr/ucb/echo -n'
54   else
55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56     as_echo_n_body='eval
57       arg=$1;
58       case $arg in #(
59       *"$as_nl"*)
60         expr "X$arg" : "X\\(.*\\)$as_nl";
61         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62       esac;
63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64     '
65     export as_echo_n_body
66     as_echo_n='sh -c $as_echo_n_body as_echo'
67   fi
68   export as_echo_body
69   as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74   PATH_SEPARATOR=:
75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77       PATH_SEPARATOR=';'
78   }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order.  Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" ""        $as_nl"
88
89 # Find who we are.  Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92   *[\\/]* ) as_myself=$0 ;;
93   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
95 do
96   IFS=$as_save_IFS
97   test -z "$as_dir" && as_dir=.
98     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99   done
100 IFS=$as_save_IFS
101
102      ;;
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107   as_myself=$0
108 fi
109 if test ! -f "$as_myself"; then
110   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111   exit 1
112 fi
113
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there.  '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
125
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
131
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135 # Use a proper internal environment variable to ensure we don't fall
136   # into an infinite loop, continuously re-executing ourselves.
137   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138     _as_can_reexec=no; export _as_can_reexec;
139     # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147   *v*x* | *x*v* ) as_opts=-vx ;;
148   *v* ) as_opts=-v ;;
149   *x* ) as_opts=-x ;;
150   * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
157   fi
158   # We don't want this to propagate to other subprocesses.
159           { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162   emulate sh
163   NULLCMD=:
164   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165   # is contrary to our usage.  Disable this feature.
166   alias -g '\${1+\"\$@\"}'='\"\$@\"'
167   setopt NO_GLOB_SUBST
168 else
169   case \`(set -o) 2>/dev/null\` in #(
170   *posix*) :
171     set -o posix ;; #(
172   *) :
173      ;;
174 esac
175 fi
176 "
177   as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
182
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190 else
191   exitcode=1; echo positional parameters were not saved.
192 fi
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199
200   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
201     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
202     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
203     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204     PATH=/empty FPATH=/empty; export PATH FPATH
205     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
206       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
207 test \$(( 1 + 1 )) = 2 || exit 1"
208   if (eval "$as_required") 2>/dev/null; then :
209   as_have_required=yes
210 else
211   as_have_required=no
212 fi
213   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
214
215 else
216   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217 as_found=false
218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
219 do
220   IFS=$as_save_IFS
221   test -z "$as_dir" && as_dir=.
222   as_found=:
223   case $as_dir in #(
224          /*)
225            for as_base in sh bash ksh sh5; do
226              # Try only shells that exist, to save several forks.
227              as_shell=$as_dir/$as_base
228              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230   CONFIG_SHELL=$as_shell as_have_required=yes
231                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232   break 2
233 fi
234 fi
235            done;;
236        esac
237   as_found=false
238 done
239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241   CONFIG_SHELL=$SHELL as_have_required=yes
242 fi; }
243 IFS=$as_save_IFS
244
245
246       if test "x$CONFIG_SHELL" != x; then :
247   export CONFIG_SHELL
248              # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
252 BASH_ENV=/dev/null
253 ENV=/dev/null
254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255 case $- in # ((((
256   *v*x* | *x*v* ) as_opts=-vx ;;
257   *v* ) as_opts=-v ;;
258   *x* ) as_opts=-x ;;
259   * ) as_opts= ;;
260 esac
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265 exit 255
266 fi
267
268     if test x$as_have_required = xno; then :
269   $as_echo "$0: This script requires a shell more modern than all"
270   $as_echo "$0: the shells that I found on your system."
271   if test x${ZSH_VERSION+set} = xset ; then
272     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
274   else
275     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
279   fi
280   exit 1
281 fi
282 fi
283 fi
284 SHELL=${CONFIG_SHELL-/bin/sh}
285 export SHELL
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE= GREP_OPTIONS=
288 unset CLICOLOR_FORCE GREP_OPTIONS
289
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
293 # as_fn_unset VAR
294 # ---------------
295 # Portably unset VAR.
296 as_fn_unset ()
297 {
298   { eval $1=; unset $1;}
299 }
300 as_unset=as_fn_unset
301
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
305 as_fn_set_status ()
306 {
307   return $1
308 } # as_fn_set_status
309
310 # as_fn_exit STATUS
311 # -----------------
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313 as_fn_exit ()
314 {
315   set +e
316   as_fn_set_status $1
317   exit $1
318 } # as_fn_exit
319
320 # as_fn_mkdir_p
321 # -------------
322 # Create "$as_dir" as a directory, including parents if necessary.
323 as_fn_mkdir_p ()
324 {
325
326   case $as_dir in #(
327   -*) as_dir=./$as_dir;;
328   esac
329   test -d "$as_dir" || eval $as_mkdir_p || {
330     as_dirs=
331     while :; do
332       case $as_dir in #(
333       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334       *) as_qdir=$as_dir;;
335       esac
336       as_dirs="'$as_qdir' $as_dirs"
337       as_dir=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339          X"$as_dir" : 'X\(//\)[^/]' \| \
340          X"$as_dir" : 'X\(//\)$' \| \
341          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344             s//\1/
345             q
346           }
347           /^X\(\/\/\)[^/].*/{
348             s//\1/
349             q
350           }
351           /^X\(\/\/\)$/{
352             s//\1/
353             q
354           }
355           /^X\(\/\).*/{
356             s//\1/
357             q
358           }
359           s/.*/./; q'`
360       test -d "$as_dir" && break
361     done
362     test -z "$as_dirs" || eval "mkdir $as_dirs"
363   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
364
365
366 } # as_fn_mkdir_p
367
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p ()
372 {
373   test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
380 # implementations.
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382   eval 'as_fn_append ()
383   {
384     eval $1+=\$2
385   }'
386 else
387   as_fn_append ()
388   {
389     eval $1=\$$1\$2
390   }
391 fi # as_fn_append
392
393 # as_fn_arith ARG...
394 # ------------------
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399   eval 'as_fn_arith ()
400   {
401     as_val=$(( $* ))
402   }'
403 else
404   as_fn_arith ()
405   {
406     as_val=`expr "$@" || test $? -eq 1`
407   }
408 fi # as_fn_arith
409
410
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
416 as_fn_error ()
417 {
418   as_status=$1; test $as_status -eq 0 && as_status=1
419   if test "$4"; then
420     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
422   fi
423   $as_echo "$as_me: error: $2" >&2
424   as_fn_exit $as_status
425 } # as_fn_error
426
427 if expr a : '\(a\)' >/dev/null 2>&1 &&
428    test "X`expr 00001 : '.*\(...\)'`" = X001; then
429   as_expr=expr
430 else
431   as_expr=false
432 fi
433
434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435   as_basename=basename
436 else
437   as_basename=false
438 fi
439
440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441   as_dirname=dirname
442 else
443   as_dirname=false
444 fi
445
446 as_me=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448          X"$0" : 'X\(//\)$' \| \
449          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
450 $as_echo X/"$0" |
451     sed '/^.*\/\([^/][^/]*\)\/*$/{
452             s//\1/
453             q
454           }
455           /^X\/\(\/\/\)$/{
456             s//\1/
457             q
458           }
459           /^X\/\(\/\).*/{
460             s//\1/
461             q
462           }
463           s/.*/./; q'`
464
465 # Avoid depending upon Character Ranges.
466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits='0123456789'
470 as_cr_alnum=$as_cr_Letters$as_cr_digits
471
472
473   as_lineno_1=$LINENO as_lineno_1a=$LINENO
474   as_lineno_2=$LINENO as_lineno_2a=$LINENO
475   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
478   sed -n '
479     p
480     /[$]LINENO/=
481   ' <$as_myself |
482     sed '
483       s/[$]LINENO.*/&-/
484       t lineno
485       b
486       :lineno
487       N
488       :loop
489       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490       t loop
491       s/-\n.*//
492     ' >$as_me.lineno &&
493   chmod +x "$as_me.lineno" ||
494     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
495
496   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497   # already done that, so ensure we don't try to do so again and fall
498   # in an infinite loop.  This has already happened in practice.
499   _as_can_reexec=no; export _as_can_reexec
500   # Don't try to exec as it changes $[0], causing all sort of problems
501   # (the dirname of $[0] is not the place where we might find the
502   # original and so on.  Autoconf is especially sensitive to this).
503   . "./$as_me.lineno"
504   # Exit status is that of the last command.
505   exit
506 }
507
508 ECHO_C= ECHO_N= ECHO_T=
509 case `echo -n x` in #(((((
510 -n*)
511   case `echo 'xy\c'` in
512   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
513   xy)  ECHO_C='\c';;
514   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
515        ECHO_T=' ';;
516   esac;;
517 *)
518   ECHO_N='-n';;
519 esac
520
521 rm -f conf$$ conf$$.exe conf$$.file
522 if test -d conf$$.dir; then
523   rm -f conf$$.dir/conf$$.file
524 else
525   rm -f conf$$.dir
526   mkdir conf$$.dir 2>/dev/null
527 fi
528 if (echo >conf$$.file) 2>/dev/null; then
529   if ln -s conf$$.file conf$$ 2>/dev/null; then
530     as_ln_s='ln -s'
531     # ... but there are two gotchas:
532     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534     # In both cases, we have to default to `cp -pR'.
535     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536       as_ln_s='cp -pR'
537   elif ln conf$$.file conf$$ 2>/dev/null; then
538     as_ln_s=ln
539   else
540     as_ln_s='cp -pR'
541   fi
542 else
543   as_ln_s='cp -pR'
544 fi
545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546 rmdir conf$$.dir 2>/dev/null
547
548 if mkdir -p . 2>/dev/null; then
549   as_mkdir_p='mkdir -p "$as_dir"'
550 else
551   test -d ./-p && rmdir ./-p
552   as_mkdir_p=false
553 fi
554
555 as_test_x='test -x'
556 as_executable_p=as_fn_executable_p
557
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
560
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
563
564 SHELL=${CONFIG_SHELL-/bin/sh}
565
566
567 test -n "$DJDIR" || exec 7<&0 </dev/null
568 exec 6>&1
569
570 # Name of the host.
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
574
575 #
576 # Initializations.
577 #
578 ac_default_prefix=/usr/local
579 ac_clean_files=
580 ac_config_libobj_dir=.
581 LIBOBJS=
582 cross_compiling=no
583 subdirs=
584 MFLAGS=
585 MAKEFLAGS=
586
587 # Identity of this package.
588 PACKAGE_NAME='gsignond'
589 PACKAGE_TARNAME='gsignond'
590 PACKAGE_VERSION='1.0.3'
591 PACKAGE_STRING='gsignond 1.0.3'
592 PACKAGE_BUGREPORT=''
593 PACKAGE_URL='http://01.org/gsso'
594
595 ac_unique_file="src/daemon/main.c"
596 # Factoring default headers for most tests.
597 ac_includes_default="\
598 #include <stdio.h>
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
601 #endif
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
604 #endif
605 #ifdef STDC_HEADERS
606 # include <stdlib.h>
607 # include <stddef.h>
608 #else
609 # ifdef HAVE_STDLIB_H
610 #  include <stdlib.h>
611 # endif
612 #endif
613 #ifdef HAVE_STRING_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
615 #  include <memory.h>
616 # endif
617 # include <string.h>
618 #endif
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
621 #endif
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
624 #endif
625 #ifdef HAVE_STDINT_H
626 # include <stdint.h>
627 #endif
628 #ifdef HAVE_UNISTD_H
629 # include <unistd.h>
630 #endif"
631
632 ac_subst_vars='am__EXEEXT_FALSE
633 am__EXEEXT_TRUE
634 LTLIBOBJS
635 LIBOBJS
636 GTK_DOC_USE_REBASE_FALSE
637 GTK_DOC_USE_REBASE_TRUE
638 GTK_DOC_USE_LIBTOOL_FALSE
639 GTK_DOC_USE_LIBTOOL_TRUE
640 GTK_DOC_BUILD_PDF_FALSE
641 GTK_DOC_BUILD_PDF_TRUE
642 GTK_DOC_BUILD_HTML_FALSE
643 GTK_DOC_BUILD_HTML_TRUE
644 ENABLE_GTK_DOC_FALSE
645 ENABLE_GTK_DOC_TRUE
646 HAVE_GTK_DOC_FALSE
647 HAVE_GTK_DOC_TRUE
648 GTKDOC_DEPS_LIBS
649 GTKDOC_DEPS_CFLAGS
650 HTML_DIR
651 GTKDOC_MKPDF
652 GTKDOC_REBASE
653 GTKDOC_CHECK_PATH
654 GTKDOC_CHECK
655 DBUS_INTERFACES_DIR
656 DBUS_SERVICES_DIR
657 SET_PERMISSIONS_FALSE
658 SET_PERMISSIONS_TRUE
659 HAVE_DEBUG_FALSE
660 HAVE_DEBUG_TRUE
661 MESSAGE_BUS_TYPE
662 USE_GTESTDBUS_FALSE
663 USE_GTESTDBUS_TRUE
664 BASE_STORAGE_DIR
665 KEYCHAIN_SYSCTX
666 GTestDBus_LIBS
667 GTestDBus_CFLAGS
668 GLIB_MKENUMS
669 HAVE_LIBECRYPTFS_FALSE
670 HAVE_LIBECRYPTFS_TRUE
671 LIBECRYPTFS_LIBS
672 LIBECRYPTFS_CFLAGS
673 HAVE_LIBSMACK_FALSE
674 HAVE_LIBSMACK_TRUE
675 LIBSMACK_LIBS
676 LIBSMACK_CFLAGS
677 CHECK_LIBS
678 CHECK_CFLAGS
679 GSIGNOND_LIBS
680 GSIGNOND_CFLAGS
681 PKG_CONFIG_LIBDIR
682 PKG_CONFIG_PATH
683 PKG_CONFIG
684 CPP
685 OTOOL64
686 OTOOL
687 LIPO
688 NMEDIT
689 DSYMUTIL
690 MANIFEST_TOOL
691 RANLIB
692 DLLTOOL
693 OBJDUMP
694 LN_S
695 NM
696 ac_ct_DUMPBIN
697 DUMPBIN
698 LD
699 FGREP
700 EGREP
701 GREP
702 SED
703 host_os
704 host_vendor
705 host_cpu
706 host
707 build_os
708 build_vendor
709 build_cpu
710 build
711 LIBTOOL
712 ifGNUmake
713 ac_ct_AR
714 AR
715 am__fastdepCC_FALSE
716 am__fastdepCC_TRUE
717 CCDEPMODE
718 am__nodep
719 AMDEPBACKSLASH
720 AMDEP_FALSE
721 AMDEP_TRUE
722 am__quote
723 am__include
724 DEPDIR
725 OBJEXT
726 EXEEXT
727 ac_ct_CC
728 CPPFLAGS
729 LDFLAGS
730 CFLAGS
731 CC
732 AM_BACKSLASH
733 AM_DEFAULT_VERBOSITY
734 AM_DEFAULT_V
735 AM_V
736 am__untar
737 am__tar
738 AMTAR
739 am__leading_dot
740 SET_MAKE
741 AWK
742 mkdir_p
743 MKDIR_P
744 INSTALL_STRIP_PROGRAM
745 STRIP
746 install_sh
747 MAKEINFO
748 AUTOHEADER
749 AUTOMAKE
750 AUTOCONF
751 ACLOCAL
752 VERSION
753 PACKAGE
754 CYGPATH_W
755 am__isrc
756 INSTALL_DATA
757 INSTALL_SCRIPT
758 INSTALL_PROGRAM
759 target_alias
760 host_alias
761 build_alias
762 LIBS
763 ECHO_T
764 ECHO_N
765 ECHO_C
766 DEFS
767 mandir
768 localedir
769 libdir
770 psdir
771 pdfdir
772 dvidir
773 htmldir
774 infodir
775 docdir
776 oldincludedir
777 includedir
778 localstatedir
779 sharedstatedir
780 sysconfdir
781 datadir
782 datarootdir
783 libexecdir
784 sbindir
785 bindir
786 program_transform_name
787 prefix
788 exec_prefix
789 PACKAGE_URL
790 PACKAGE_BUGREPORT
791 PACKAGE_STRING
792 PACKAGE_VERSION
793 PACKAGE_TARNAME
794 PACKAGE_NAME
795 PATH_SEPARATOR
796 SHELL'
797 ac_subst_files=''
798 ac_user_opts='
799 enable_option_checking
800 enable_silent_rules
801 enable_dependency_tracking
802 enable_static
803 enable_shared
804 with_pic
805 enable_fast_install
806 with_gnu_ld
807 with_sysroot
808 enable_libtool_lock
809 enable_coverage
810 enable_distcheck
811 enable_dbus_type
812 enable_keychain
813 enable_storagedir
814 enable_debug
815 enable_sql_log
816 enable_acltriggers
817 with_html_dir
818 enable_gtk_doc
819 enable_gtk_doc_html
820 enable_gtk_doc_pdf
821 '
822       ac_precious_vars='build_alias
823 host_alias
824 target_alias
825 CC
826 CFLAGS
827 LDFLAGS
828 LIBS
829 CPPFLAGS
830 CPP
831 PKG_CONFIG
832 PKG_CONFIG_PATH
833 PKG_CONFIG_LIBDIR
834 GSIGNOND_CFLAGS
835 GSIGNOND_LIBS
836 CHECK_CFLAGS
837 CHECK_LIBS
838 LIBSMACK_CFLAGS
839 LIBSMACK_LIBS
840 LIBECRYPTFS_CFLAGS
841 LIBECRYPTFS_LIBS
842 GTestDBus_CFLAGS
843 GTestDBus_LIBS
844 GTKDOC_DEPS_CFLAGS
845 GTKDOC_DEPS_LIBS'
846
847
848 # Initialize some variables set by options.
849 ac_init_help=
850 ac_init_version=false
851 ac_unrecognized_opts=
852 ac_unrecognized_sep=
853 # The variables have the same names as the options, with
854 # dashes changed to underlines.
855 cache_file=/dev/null
856 exec_prefix=NONE
857 no_create=
858 no_recursion=
859 prefix=NONE
860 program_prefix=NONE
861 program_suffix=NONE
862 program_transform_name=s,x,x,
863 silent=
864 site=
865 srcdir=
866 verbose=
867 x_includes=NONE
868 x_libraries=NONE
869
870 # Installation directory options.
871 # These are left unexpanded so users can "make install exec_prefix=/foo"
872 # and all the variables that are supposed to be based on exec_prefix
873 # by default will actually change.
874 # Use braces instead of parens because sh, perl, etc. also accept them.
875 # (The list follows the same order as the GNU Coding Standards.)
876 bindir='${exec_prefix}/bin'
877 sbindir='${exec_prefix}/sbin'
878 libexecdir='${exec_prefix}/libexec'
879 datarootdir='${prefix}/share'
880 datadir='${datarootdir}'
881 sysconfdir='${prefix}/etc'
882 sharedstatedir='${prefix}/com'
883 localstatedir='${prefix}/var'
884 includedir='${prefix}/include'
885 oldincludedir='/usr/include'
886 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
887 infodir='${datarootdir}/info'
888 htmldir='${docdir}'
889 dvidir='${docdir}'
890 pdfdir='${docdir}'
891 psdir='${docdir}'
892 libdir='${exec_prefix}/lib'
893 localedir='${datarootdir}/locale'
894 mandir='${datarootdir}/man'
895
896 ac_prev=
897 ac_dashdash=
898 for ac_option
899 do
900   # If the previous option needs an argument, assign it.
901   if test -n "$ac_prev"; then
902     eval $ac_prev=\$ac_option
903     ac_prev=
904     continue
905   fi
906
907   case $ac_option in
908   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
909   *=)   ac_optarg= ;;
910   *)    ac_optarg=yes ;;
911   esac
912
913   # Accept the important Cygnus configure options, so we can diagnose typos.
914
915   case $ac_dashdash$ac_option in
916   --)
917     ac_dashdash=yes ;;
918
919   -bindir | --bindir | --bindi | --bind | --bin | --bi)
920     ac_prev=bindir ;;
921   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
922     bindir=$ac_optarg ;;
923
924   -build | --build | --buil | --bui | --bu)
925     ac_prev=build_alias ;;
926   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
927     build_alias=$ac_optarg ;;
928
929   -cache-file | --cache-file | --cache-fil | --cache-fi \
930   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
931     ac_prev=cache_file ;;
932   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
933   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
934     cache_file=$ac_optarg ;;
935
936   --config-cache | -C)
937     cache_file=config.cache ;;
938
939   -datadir | --datadir | --datadi | --datad)
940     ac_prev=datadir ;;
941   -datadir=* | --datadir=* | --datadi=* | --datad=*)
942     datadir=$ac_optarg ;;
943
944   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
945   | --dataroo | --dataro | --datar)
946     ac_prev=datarootdir ;;
947   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
948   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
949     datarootdir=$ac_optarg ;;
950
951   -disable-* | --disable-*)
952     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
953     # Reject names that are not valid shell variable names.
954     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
955       as_fn_error $? "invalid feature name: $ac_useropt"
956     ac_useropt_orig=$ac_useropt
957     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
958     case $ac_user_opts in
959       *"
960 "enable_$ac_useropt"
961 "*) ;;
962       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
963          ac_unrecognized_sep=', ';;
964     esac
965     eval enable_$ac_useropt=no ;;
966
967   -docdir | --docdir | --docdi | --doc | --do)
968     ac_prev=docdir ;;
969   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
970     docdir=$ac_optarg ;;
971
972   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
973     ac_prev=dvidir ;;
974   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
975     dvidir=$ac_optarg ;;
976
977   -enable-* | --enable-*)
978     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
979     # Reject names that are not valid shell variable names.
980     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
981       as_fn_error $? "invalid feature name: $ac_useropt"
982     ac_useropt_orig=$ac_useropt
983     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
984     case $ac_user_opts in
985       *"
986 "enable_$ac_useropt"
987 "*) ;;
988       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
989          ac_unrecognized_sep=', ';;
990     esac
991     eval enable_$ac_useropt=\$ac_optarg ;;
992
993   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
994   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
995   | --exec | --exe | --ex)
996     ac_prev=exec_prefix ;;
997   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
998   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
999   | --exec=* | --exe=* | --ex=*)
1000     exec_prefix=$ac_optarg ;;
1001
1002   -gas | --gas | --ga | --g)
1003     # Obsolete; use --with-gas.
1004     with_gas=yes ;;
1005
1006   -help | --help | --hel | --he | -h)
1007     ac_init_help=long ;;
1008   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1009     ac_init_help=recursive ;;
1010   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1011     ac_init_help=short ;;
1012
1013   -host | --host | --hos | --ho)
1014     ac_prev=host_alias ;;
1015   -host=* | --host=* | --hos=* | --ho=*)
1016     host_alias=$ac_optarg ;;
1017
1018   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1019     ac_prev=htmldir ;;
1020   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1021   | --ht=*)
1022     htmldir=$ac_optarg ;;
1023
1024   -includedir | --includedir | --includedi | --included | --include \
1025   | --includ | --inclu | --incl | --inc)
1026     ac_prev=includedir ;;
1027   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1028   | --includ=* | --inclu=* | --incl=* | --inc=*)
1029     includedir=$ac_optarg ;;
1030
1031   -infodir | --infodir | --infodi | --infod | --info | --inf)
1032     ac_prev=infodir ;;
1033   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1034     infodir=$ac_optarg ;;
1035
1036   -libdir | --libdir | --libdi | --libd)
1037     ac_prev=libdir ;;
1038   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1039     libdir=$ac_optarg ;;
1040
1041   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1042   | --libexe | --libex | --libe)
1043     ac_prev=libexecdir ;;
1044   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1045   | --libexe=* | --libex=* | --libe=*)
1046     libexecdir=$ac_optarg ;;
1047
1048   -localedir | --localedir | --localedi | --localed | --locale)
1049     ac_prev=localedir ;;
1050   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1051     localedir=$ac_optarg ;;
1052
1053   -localstatedir | --localstatedir | --localstatedi | --localstated \
1054   | --localstate | --localstat | --localsta | --localst | --locals)
1055     ac_prev=localstatedir ;;
1056   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1057   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1058     localstatedir=$ac_optarg ;;
1059
1060   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1061     ac_prev=mandir ;;
1062   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1063     mandir=$ac_optarg ;;
1064
1065   -nfp | --nfp | --nf)
1066     # Obsolete; use --without-fp.
1067     with_fp=no ;;
1068
1069   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1070   | --no-cr | --no-c | -n)
1071     no_create=yes ;;
1072
1073   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1074   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1075     no_recursion=yes ;;
1076
1077   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1078   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1079   | --oldin | --oldi | --old | --ol | --o)
1080     ac_prev=oldincludedir ;;
1081   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1082   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1083   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1084     oldincludedir=$ac_optarg ;;
1085
1086   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1087     ac_prev=prefix ;;
1088   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1089     prefix=$ac_optarg ;;
1090
1091   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1092   | --program-pre | --program-pr | --program-p)
1093     ac_prev=program_prefix ;;
1094   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1095   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1096     program_prefix=$ac_optarg ;;
1097
1098   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1099   | --program-suf | --program-su | --program-s)
1100     ac_prev=program_suffix ;;
1101   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1102   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1103     program_suffix=$ac_optarg ;;
1104
1105   -program-transform-name | --program-transform-name \
1106   | --program-transform-nam | --program-transform-na \
1107   | --program-transform-n | --program-transform- \
1108   | --program-transform | --program-transfor \
1109   | --program-transfo | --program-transf \
1110   | --program-trans | --program-tran \
1111   | --progr-tra | --program-tr | --program-t)
1112     ac_prev=program_transform_name ;;
1113   -program-transform-name=* | --program-transform-name=* \
1114   | --program-transform-nam=* | --program-transform-na=* \
1115   | --program-transform-n=* | --program-transform-=* \
1116   | --program-transform=* | --program-transfor=* \
1117   | --program-transfo=* | --program-transf=* \
1118   | --program-trans=* | --program-tran=* \
1119   | --progr-tra=* | --program-tr=* | --program-t=*)
1120     program_transform_name=$ac_optarg ;;
1121
1122   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1123     ac_prev=pdfdir ;;
1124   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1125     pdfdir=$ac_optarg ;;
1126
1127   -psdir | --psdir | --psdi | --psd | --ps)
1128     ac_prev=psdir ;;
1129   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1130     psdir=$ac_optarg ;;
1131
1132   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1133   | -silent | --silent | --silen | --sile | --sil)
1134     silent=yes ;;
1135
1136   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1137     ac_prev=sbindir ;;
1138   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1139   | --sbi=* | --sb=*)
1140     sbindir=$ac_optarg ;;
1141
1142   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1143   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1144   | --sharedst | --shareds | --shared | --share | --shar \
1145   | --sha | --sh)
1146     ac_prev=sharedstatedir ;;
1147   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1148   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1149   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1150   | --sha=* | --sh=*)
1151     sharedstatedir=$ac_optarg ;;
1152
1153   -site | --site | --sit)
1154     ac_prev=site ;;
1155   -site=* | --site=* | --sit=*)
1156     site=$ac_optarg ;;
1157
1158   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1159     ac_prev=srcdir ;;
1160   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1161     srcdir=$ac_optarg ;;
1162
1163   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1164   | --syscon | --sysco | --sysc | --sys | --sy)
1165     ac_prev=sysconfdir ;;
1166   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1167   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1168     sysconfdir=$ac_optarg ;;
1169
1170   -target | --target | --targe | --targ | --tar | --ta | --t)
1171     ac_prev=target_alias ;;
1172   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1173     target_alias=$ac_optarg ;;
1174
1175   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1176     verbose=yes ;;
1177
1178   -version | --version | --versio | --versi | --vers | -V)
1179     ac_init_version=: ;;
1180
1181   -with-* | --with-*)
1182     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1183     # Reject names that are not valid shell variable names.
1184     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1185       as_fn_error $? "invalid package name: $ac_useropt"
1186     ac_useropt_orig=$ac_useropt
1187     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1188     case $ac_user_opts in
1189       *"
1190 "with_$ac_useropt"
1191 "*) ;;
1192       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1193          ac_unrecognized_sep=', ';;
1194     esac
1195     eval with_$ac_useropt=\$ac_optarg ;;
1196
1197   -without-* | --without-*)
1198     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1199     # Reject names that are not valid shell variable names.
1200     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1201       as_fn_error $? "invalid package name: $ac_useropt"
1202     ac_useropt_orig=$ac_useropt
1203     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1204     case $ac_user_opts in
1205       *"
1206 "with_$ac_useropt"
1207 "*) ;;
1208       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1209          ac_unrecognized_sep=', ';;
1210     esac
1211     eval with_$ac_useropt=no ;;
1212
1213   --x)
1214     # Obsolete; use --with-x.
1215     with_x=yes ;;
1216
1217   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1218   | --x-incl | --x-inc | --x-in | --x-i)
1219     ac_prev=x_includes ;;
1220   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1221   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1222     x_includes=$ac_optarg ;;
1223
1224   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1225   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1226     ac_prev=x_libraries ;;
1227   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1228   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1229     x_libraries=$ac_optarg ;;
1230
1231   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1232 Try \`$0 --help' for more information"
1233     ;;
1234
1235   *=*)
1236     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1237     # Reject names that are not valid shell variable names.
1238     case $ac_envvar in #(
1239       '' | [0-9]* | *[!_$as_cr_alnum]* )
1240       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1241     esac
1242     eval $ac_envvar=\$ac_optarg
1243     export $ac_envvar ;;
1244
1245   *)
1246     # FIXME: should be removed in autoconf 3.0.
1247     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1248     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1249       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1250     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1251     ;;
1252
1253   esac
1254 done
1255
1256 if test -n "$ac_prev"; then
1257   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1258   as_fn_error $? "missing argument to $ac_option"
1259 fi
1260
1261 if test -n "$ac_unrecognized_opts"; then
1262   case $enable_option_checking in
1263     no) ;;
1264     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1265     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1266   esac
1267 fi
1268
1269 # Check all directory arguments for consistency.
1270 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1271                 datadir sysconfdir sharedstatedir localstatedir includedir \
1272                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1273                 libdir localedir mandir
1274 do
1275   eval ac_val=\$$ac_var
1276   # Remove trailing slashes.
1277   case $ac_val in
1278     */ )
1279       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1280       eval $ac_var=\$ac_val;;
1281   esac
1282   # Be sure to have absolute directory names.
1283   case $ac_val in
1284     [\\/$]* | ?:[\\/]* )  continue;;
1285     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1286   esac
1287   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1288 done
1289
1290 # There might be people who depend on the old broken behavior: `$host'
1291 # used to hold the argument of --host etc.
1292 # FIXME: To remove some day.
1293 build=$build_alias
1294 host=$host_alias
1295 target=$target_alias
1296
1297 # FIXME: To remove some day.
1298 if test "x$host_alias" != x; then
1299   if test "x$build_alias" = x; then
1300     cross_compiling=maybe
1301   elif test "x$build_alias" != "x$host_alias"; then
1302     cross_compiling=yes
1303   fi
1304 fi
1305
1306 ac_tool_prefix=
1307 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1308
1309 test "$silent" = yes && exec 6>/dev/null
1310
1311
1312 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1313 ac_ls_di=`ls -di .` &&
1314 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1315   as_fn_error $? "working directory cannot be determined"
1316 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1317   as_fn_error $? "pwd does not report name of working directory"
1318
1319
1320 # Find the source files, if location was not specified.
1321 if test -z "$srcdir"; then
1322   ac_srcdir_defaulted=yes
1323   # Try the directory containing this script, then the parent directory.
1324   ac_confdir=`$as_dirname -- "$as_myself" ||
1325 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1326          X"$as_myself" : 'X\(//\)[^/]' \| \
1327          X"$as_myself" : 'X\(//\)$' \| \
1328          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1329 $as_echo X"$as_myself" |
1330     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1331             s//\1/
1332             q
1333           }
1334           /^X\(\/\/\)[^/].*/{
1335             s//\1/
1336             q
1337           }
1338           /^X\(\/\/\)$/{
1339             s//\1/
1340             q
1341           }
1342           /^X\(\/\).*/{
1343             s//\1/
1344             q
1345           }
1346           s/.*/./; q'`
1347   srcdir=$ac_confdir
1348   if test ! -r "$srcdir/$ac_unique_file"; then
1349     srcdir=..
1350   fi
1351 else
1352   ac_srcdir_defaulted=no
1353 fi
1354 if test ! -r "$srcdir/$ac_unique_file"; then
1355   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1356   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1357 fi
1358 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1359 ac_abs_confdir=`(
1360         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1361         pwd)`
1362 # When building in place, set srcdir=.
1363 if test "$ac_abs_confdir" = "$ac_pwd"; then
1364   srcdir=.
1365 fi
1366 # Remove unnecessary trailing slashes from srcdir.
1367 # Double slashes in file names in object file debugging info
1368 # mess up M-x gdb in Emacs.
1369 case $srcdir in
1370 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1371 esac
1372 for ac_var in $ac_precious_vars; do
1373   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1374   eval ac_env_${ac_var}_value=\$${ac_var}
1375   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1376   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1377 done
1378
1379 #
1380 # Report the --help message.
1381 #
1382 if test "$ac_init_help" = "long"; then
1383   # Omit some internal or obsolete options to make the list less imposing.
1384   # This message is too long to be a string in the A/UX 3.1 sh.
1385   cat <<_ACEOF
1386 \`configure' configures gsignond 1.0.3 to adapt to many kinds of systems.
1387
1388 Usage: $0 [OPTION]... [VAR=VALUE]...
1389
1390 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1391 VAR=VALUE.  See below for descriptions of some of the useful variables.
1392
1393 Defaults for the options are specified in brackets.
1394
1395 Configuration:
1396   -h, --help              display this help and exit
1397       --help=short        display options specific to this package
1398       --help=recursive    display the short help of all the included packages
1399   -V, --version           display version information and exit
1400   -q, --quiet, --silent   do not print \`checking ...' messages
1401       --cache-file=FILE   cache test results in FILE [disabled]
1402   -C, --config-cache      alias for \`--cache-file=config.cache'
1403   -n, --no-create         do not create output files
1404       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1405
1406 Installation directories:
1407   --prefix=PREFIX         install architecture-independent files in PREFIX
1408                           [$ac_default_prefix]
1409   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1410                           [PREFIX]
1411
1412 By default, \`make install' will install all the files in
1413 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1414 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1415 for instance \`--prefix=\$HOME'.
1416
1417 For better control, use the options below.
1418
1419 Fine tuning of the installation directories:
1420   --bindir=DIR            user executables [EPREFIX/bin]
1421   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1422   --libexecdir=DIR        program executables [EPREFIX/libexec]
1423   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1424   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1425   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1426   --libdir=DIR            object code libraries [EPREFIX/lib]
1427   --includedir=DIR        C header files [PREFIX/include]
1428   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1429   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1430   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1431   --infodir=DIR           info documentation [DATAROOTDIR/info]
1432   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1433   --mandir=DIR            man documentation [DATAROOTDIR/man]
1434   --docdir=DIR            documentation root [DATAROOTDIR/doc/gsignond]
1435   --htmldir=DIR           html documentation [DOCDIR]
1436   --dvidir=DIR            dvi documentation [DOCDIR]
1437   --pdfdir=DIR            pdf documentation [DOCDIR]
1438   --psdir=DIR             ps documentation [DOCDIR]
1439 _ACEOF
1440
1441   cat <<\_ACEOF
1442
1443 Program names:
1444   --program-prefix=PREFIX            prepend PREFIX to installed program names
1445   --program-suffix=SUFFIX            append SUFFIX to installed program names
1446   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1447
1448 System types:
1449   --build=BUILD     configure for building on BUILD [guessed]
1450   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1451 _ACEOF
1452 fi
1453
1454 if test -n "$ac_init_help"; then
1455   case $ac_init_help in
1456      short | recursive ) echo "Configuration of gsignond 1.0.3:";;
1457    esac
1458   cat <<\_ACEOF
1459
1460 Optional Features:
1461   --disable-option-checking  ignore unrecognized --enable/--with options
1462   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1463   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1464   --enable-silent-rules   less verbose build output (undo: "make V=1")
1465   --disable-silent-rules  verbose build output (undo: "make V=0")
1466   --enable-dependency-tracking
1467                           do not reject slow dependency extractors
1468   --disable-dependency-tracking
1469                           speeds up one-time build
1470   --enable-static[=PKGS]  build static libraries [default=no]
1471   --enable-shared[=PKGS]  build shared libraries [default=yes]
1472   --enable-fast-install[=PKGS]
1473                           optimize for fast installation [default=yes]
1474   --disable-libtool-lock  avoid locking (might break parallel builds)
1475   --enable-coverage       compile with coverage info
1476   --enable-distcheck build for distcheck target
1477   --enable-dbus-type=dbus-type specify daemon dbus type:
1478                           p2p(default): uses peer to peer dbus
1479                           session: uses session message bus
1480                           system: uses system message bus
1481   --enable-keychain=sysctx
1482                           enable keychain access with
1483                           system context "sysctx"
1484   --enable-storagedir=path
1485                           enable storage at location "path"
1486                           instead of default "/var/db"
1487   --enable-debug          enable debug features
1488   --enable-sql-log        enable sql log feature
1489   --enable-acltriggers    enable ACL before delete triggers
1490   --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1491   --enable-gtk-doc-html   build documentation in html format [[default=yes]]
1492   --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1493
1494 Optional Packages:
1495   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1496   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1497   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1498                           both]
1499   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1500   --with-sysroot=DIR Search for dependent libraries within DIR
1501                         (or the compiler's sysroot if not specified).
1502   --with-html-dir=PATH    path to installed docs
1503
1504 Some influential environment variables:
1505   CC          C compiler command
1506   CFLAGS      C compiler flags
1507   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1508               nonstandard directory <lib dir>
1509   LIBS        libraries to pass to the linker, e.g. -l<library>
1510   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1511               you have headers in a nonstandard directory <include dir>
1512   CPP         C preprocessor
1513   PKG_CONFIG  path to pkg-config utility
1514   PKG_CONFIG_PATH
1515               directories to add to pkg-config's search path
1516   PKG_CONFIG_LIBDIR
1517               path overriding pkg-config's built-in search path
1518   GSIGNOND_CFLAGS
1519               C compiler flags for GSIGNOND, overriding pkg-config
1520   GSIGNOND_LIBS
1521               linker flags for GSIGNOND, overriding pkg-config
1522   CHECK_CFLAGS
1523               C compiler flags for CHECK, overriding pkg-config
1524   CHECK_LIBS  linker flags for CHECK, overriding pkg-config
1525   LIBSMACK_CFLAGS
1526               C compiler flags for LIBSMACK, overriding pkg-config
1527   LIBSMACK_LIBS
1528               linker flags for LIBSMACK, overriding pkg-config
1529   LIBECRYPTFS_CFLAGS
1530               C compiler flags for LIBECRYPTFS, overriding pkg-config
1531   LIBECRYPTFS_LIBS
1532               linker flags for LIBECRYPTFS, overriding pkg-config
1533   GTestDBus_CFLAGS
1534               C compiler flags for GTestDBus, overriding pkg-config
1535   GTestDBus_LIBS
1536               linker flags for GTestDBus, overriding pkg-config
1537   GTKDOC_DEPS_CFLAGS
1538               C compiler flags for GTKDOC_DEPS, overriding pkg-config
1539   GTKDOC_DEPS_LIBS
1540               linker flags for GTKDOC_DEPS, overriding pkg-config
1541
1542 Use these variables to override the choices made by `configure' or to help
1543 it to find libraries and programs with nonstandard names/locations.
1544
1545 Report bugs to the package provider.
1546 gsignond home page: <http://01.org/gsso>.
1547 _ACEOF
1548 ac_status=$?
1549 fi
1550
1551 if test "$ac_init_help" = "recursive"; then
1552   # If there are subdirs, report their specific --help.
1553   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1554     test -d "$ac_dir" ||
1555       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1556       continue
1557     ac_builddir=.
1558
1559 case "$ac_dir" in
1560 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1561 *)
1562   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1563   # A ".." for each directory in $ac_dir_suffix.
1564   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1565   case $ac_top_builddir_sub in
1566   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1567   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1568   esac ;;
1569 esac
1570 ac_abs_top_builddir=$ac_pwd
1571 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1572 # for backward compatibility:
1573 ac_top_builddir=$ac_top_build_prefix
1574
1575 case $srcdir in
1576   .)  # We are building in place.
1577     ac_srcdir=.
1578     ac_top_srcdir=$ac_top_builddir_sub
1579     ac_abs_top_srcdir=$ac_pwd ;;
1580   [\\/]* | ?:[\\/]* )  # Absolute name.
1581     ac_srcdir=$srcdir$ac_dir_suffix;
1582     ac_top_srcdir=$srcdir
1583     ac_abs_top_srcdir=$srcdir ;;
1584   *) # Relative name.
1585     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1586     ac_top_srcdir=$ac_top_build_prefix$srcdir
1587     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1588 esac
1589 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1590
1591     cd "$ac_dir" || { ac_status=$?; continue; }
1592     # Check for guested configure.
1593     if test -f "$ac_srcdir/configure.gnu"; then
1594       echo &&
1595       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1596     elif test -f "$ac_srcdir/configure"; then
1597       echo &&
1598       $SHELL "$ac_srcdir/configure" --help=recursive
1599     else
1600       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1601     fi || ac_status=$?
1602     cd "$ac_pwd" || { ac_status=$?; break; }
1603   done
1604 fi
1605
1606 test -n "$ac_init_help" && exit $ac_status
1607 if $ac_init_version; then
1608   cat <<\_ACEOF
1609 gsignond configure 1.0.3
1610 generated by GNU Autoconf 2.69
1611
1612 Copyright (C) 2012 Free Software Foundation, Inc.
1613 This configure script is free software; the Free Software Foundation
1614 gives unlimited permission to copy, distribute and modify it.
1615 _ACEOF
1616   exit
1617 fi
1618
1619 ## ------------------------ ##
1620 ## Autoconf initialization. ##
1621 ## ------------------------ ##
1622
1623 # ac_fn_c_try_compile LINENO
1624 # --------------------------
1625 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1626 ac_fn_c_try_compile ()
1627 {
1628   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1629   rm -f conftest.$ac_objext
1630   if { { ac_try="$ac_compile"
1631 case "(($ac_try" in
1632   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1633   *) ac_try_echo=$ac_try;;
1634 esac
1635 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1636 $as_echo "$ac_try_echo"; } >&5
1637   (eval "$ac_compile") 2>conftest.err
1638   ac_status=$?
1639   if test -s conftest.err; then
1640     grep -v '^ *+' conftest.err >conftest.er1
1641     cat conftest.er1 >&5
1642     mv -f conftest.er1 conftest.err
1643   fi
1644   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1645   test $ac_status = 0; } && {
1646          test -z "$ac_c_werror_flag" ||
1647          test ! -s conftest.err
1648        } && test -s conftest.$ac_objext; then :
1649   ac_retval=0
1650 else
1651   $as_echo "$as_me: failed program was:" >&5
1652 sed 's/^/| /' conftest.$ac_ext >&5
1653
1654         ac_retval=1
1655 fi
1656   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1657   as_fn_set_status $ac_retval
1658
1659 } # ac_fn_c_try_compile
1660
1661 # ac_fn_c_try_link LINENO
1662 # -----------------------
1663 # Try to link conftest.$ac_ext, and return whether this succeeded.
1664 ac_fn_c_try_link ()
1665 {
1666   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1667   rm -f conftest.$ac_objext conftest$ac_exeext
1668   if { { ac_try="$ac_link"
1669 case "(($ac_try" in
1670   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1671   *) ac_try_echo=$ac_try;;
1672 esac
1673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1674 $as_echo "$ac_try_echo"; } >&5
1675   (eval "$ac_link") 2>conftest.err
1676   ac_status=$?
1677   if test -s conftest.err; then
1678     grep -v '^ *+' conftest.err >conftest.er1
1679     cat conftest.er1 >&5
1680     mv -f conftest.er1 conftest.err
1681   fi
1682   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1683   test $ac_status = 0; } && {
1684          test -z "$ac_c_werror_flag" ||
1685          test ! -s conftest.err
1686        } && test -s conftest$ac_exeext && {
1687          test "$cross_compiling" = yes ||
1688          test -x conftest$ac_exeext
1689        }; then :
1690   ac_retval=0
1691 else
1692   $as_echo "$as_me: failed program was:" >&5
1693 sed 's/^/| /' conftest.$ac_ext >&5
1694
1695         ac_retval=1
1696 fi
1697   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1698   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1699   # interfere with the next link command; also delete a directory that is
1700   # left behind by Apple's compiler.  We do this before executing the actions.
1701   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1702   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1703   as_fn_set_status $ac_retval
1704
1705 } # ac_fn_c_try_link
1706
1707 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1708 # -------------------------------------------------------
1709 # Tests whether HEADER exists and can be compiled using the include files in
1710 # INCLUDES, setting the cache variable VAR accordingly.
1711 ac_fn_c_check_header_compile ()
1712 {
1713   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1714   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1715 $as_echo_n "checking for $2... " >&6; }
1716 if eval \${$3+:} false; then :
1717   $as_echo_n "(cached) " >&6
1718 else
1719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1720 /* end confdefs.h.  */
1721 $4
1722 #include <$2>
1723 _ACEOF
1724 if ac_fn_c_try_compile "$LINENO"; then :
1725   eval "$3=yes"
1726 else
1727   eval "$3=no"
1728 fi
1729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1730 fi
1731 eval ac_res=\$$3
1732                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1733 $as_echo "$ac_res" >&6; }
1734   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1735
1736 } # ac_fn_c_check_header_compile
1737
1738 # ac_fn_c_try_cpp LINENO
1739 # ----------------------
1740 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1741 ac_fn_c_try_cpp ()
1742 {
1743   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1744   if { { ac_try="$ac_cpp conftest.$ac_ext"
1745 case "(($ac_try" in
1746   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1747   *) ac_try_echo=$ac_try;;
1748 esac
1749 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1750 $as_echo "$ac_try_echo"; } >&5
1751   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1752   ac_status=$?
1753   if test -s conftest.err; then
1754     grep -v '^ *+' conftest.err >conftest.er1
1755     cat conftest.er1 >&5
1756     mv -f conftest.er1 conftest.err
1757   fi
1758   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1759   test $ac_status = 0; } > conftest.i && {
1760          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1761          test ! -s conftest.err
1762        }; then :
1763   ac_retval=0
1764 else
1765   $as_echo "$as_me: failed program was:" >&5
1766 sed 's/^/| /' conftest.$ac_ext >&5
1767
1768     ac_retval=1
1769 fi
1770   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1771   as_fn_set_status $ac_retval
1772
1773 } # ac_fn_c_try_cpp
1774
1775 # ac_fn_c_try_run LINENO
1776 # ----------------------
1777 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1778 # that executables *can* be run.
1779 ac_fn_c_try_run ()
1780 {
1781   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1782   if { { ac_try="$ac_link"
1783 case "(($ac_try" in
1784   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1785   *) ac_try_echo=$ac_try;;
1786 esac
1787 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1788 $as_echo "$ac_try_echo"; } >&5
1789   (eval "$ac_link") 2>&5
1790   ac_status=$?
1791   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1792   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1793   { { case "(($ac_try" in
1794   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1795   *) ac_try_echo=$ac_try;;
1796 esac
1797 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1798 $as_echo "$ac_try_echo"; } >&5
1799   (eval "$ac_try") 2>&5
1800   ac_status=$?
1801   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1802   test $ac_status = 0; }; }; then :
1803   ac_retval=0
1804 else
1805   $as_echo "$as_me: program exited with status $ac_status" >&5
1806        $as_echo "$as_me: failed program was:" >&5
1807 sed 's/^/| /' conftest.$ac_ext >&5
1808
1809        ac_retval=$ac_status
1810 fi
1811   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1812   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1813   as_fn_set_status $ac_retval
1814
1815 } # ac_fn_c_try_run
1816
1817 # ac_fn_c_check_func LINENO FUNC VAR
1818 # ----------------------------------
1819 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1820 ac_fn_c_check_func ()
1821 {
1822   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1823   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1824 $as_echo_n "checking for $2... " >&6; }
1825 if eval \${$3+:} false; then :
1826   $as_echo_n "(cached) " >&6
1827 else
1828   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1829 /* end confdefs.h.  */
1830 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1831    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1832 #define $2 innocuous_$2
1833
1834 /* System header to define __stub macros and hopefully few prototypes,
1835     which can conflict with char $2 (); below.
1836     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1837     <limits.h> exists even on freestanding compilers.  */
1838
1839 #ifdef __STDC__
1840 # include <limits.h>
1841 #else
1842 # include <assert.h>
1843 #endif
1844
1845 #undef $2
1846
1847 /* Override any GCC internal prototype to avoid an error.
1848    Use char because int might match the return type of a GCC
1849    builtin and then its argument prototype would still apply.  */
1850 #ifdef __cplusplus
1851 extern "C"
1852 #endif
1853 char $2 ();
1854 /* The GNU C library defines this for functions which it implements
1855     to always fail with ENOSYS.  Some functions are actually named
1856     something starting with __ and the normal name is an alias.  */
1857 #if defined __stub_$2 || defined __stub___$2
1858 choke me
1859 #endif
1860
1861 int
1862 main ()
1863 {
1864 return $2 ();
1865   ;
1866   return 0;
1867 }
1868 _ACEOF
1869 if ac_fn_c_try_link "$LINENO"; then :
1870   eval "$3=yes"
1871 else
1872   eval "$3=no"
1873 fi
1874 rm -f core conftest.err conftest.$ac_objext \
1875     conftest$ac_exeext conftest.$ac_ext
1876 fi
1877 eval ac_res=\$$3
1878                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1879 $as_echo "$ac_res" >&6; }
1880   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1881
1882 } # ac_fn_c_check_func
1883
1884 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1885 # -------------------------------------------------------
1886 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1887 # the include files in INCLUDES and setting the cache variable VAR
1888 # accordingly.
1889 ac_fn_c_check_header_mongrel ()
1890 {
1891   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1892   if eval \${$3+:} false; then :
1893   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1894 $as_echo_n "checking for $2... " >&6; }
1895 if eval \${$3+:} false; then :
1896   $as_echo_n "(cached) " >&6
1897 fi
1898 eval ac_res=\$$3
1899                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1900 $as_echo "$ac_res" >&6; }
1901 else
1902   # Is the header compilable?
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1904 $as_echo_n "checking $2 usability... " >&6; }
1905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1906 /* end confdefs.h.  */
1907 $4
1908 #include <$2>
1909 _ACEOF
1910 if ac_fn_c_try_compile "$LINENO"; then :
1911   ac_header_compiler=yes
1912 else
1913   ac_header_compiler=no
1914 fi
1915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1917 $as_echo "$ac_header_compiler" >&6; }
1918
1919 # Is the header present?
1920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1921 $as_echo_n "checking $2 presence... " >&6; }
1922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1923 /* end confdefs.h.  */
1924 #include <$2>
1925 _ACEOF
1926 if ac_fn_c_try_cpp "$LINENO"; then :
1927   ac_header_preproc=yes
1928 else
1929   ac_header_preproc=no
1930 fi
1931 rm -f conftest.err conftest.i conftest.$ac_ext
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1933 $as_echo "$ac_header_preproc" >&6; }
1934
1935 # So?  What about this header?
1936 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1937   yes:no: )
1938     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1939 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1940     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1941 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1942     ;;
1943   no:yes:* )
1944     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1945 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1946     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1947 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1948     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1949 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1950     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1951 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1952     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1953 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1954     ;;
1955 esac
1956   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1957 $as_echo_n "checking for $2... " >&6; }
1958 if eval \${$3+:} false; then :
1959   $as_echo_n "(cached) " >&6
1960 else
1961   eval "$3=\$ac_header_compiler"
1962 fi
1963 eval ac_res=\$$3
1964                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1965 $as_echo "$ac_res" >&6; }
1966 fi
1967   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1968
1969 } # ac_fn_c_check_header_mongrel
1970 cat >config.log <<_ACEOF
1971 This file contains any messages produced by compilers while
1972 running configure, to aid debugging if configure makes a mistake.
1973
1974 It was created by gsignond $as_me 1.0.3, which was
1975 generated by GNU Autoconf 2.69.  Invocation command line was
1976
1977   $ $0 $@
1978
1979 _ACEOF
1980 exec 5>>config.log
1981 {
1982 cat <<_ASUNAME
1983 ## --------- ##
1984 ## Platform. ##
1985 ## --------- ##
1986
1987 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1988 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1989 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1990 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1991 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1992
1993 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1994 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1995
1996 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1997 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1998 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1999 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2000 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2001 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2002 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2003
2004 _ASUNAME
2005
2006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2007 for as_dir in $PATH
2008 do
2009   IFS=$as_save_IFS
2010   test -z "$as_dir" && as_dir=.
2011     $as_echo "PATH: $as_dir"
2012   done
2013 IFS=$as_save_IFS
2014
2015 } >&5
2016
2017 cat >&5 <<_ACEOF
2018
2019
2020 ## ----------- ##
2021 ## Core tests. ##
2022 ## ----------- ##
2023
2024 _ACEOF
2025
2026
2027 # Keep a trace of the command line.
2028 # Strip out --no-create and --no-recursion so they do not pile up.
2029 # Strip out --silent because we don't want to record it for future runs.
2030 # Also quote any args containing shell meta-characters.
2031 # Make two passes to allow for proper duplicate-argument suppression.
2032 ac_configure_args=
2033 ac_configure_args0=
2034 ac_configure_args1=
2035 ac_must_keep_next=false
2036 for ac_pass in 1 2
2037 do
2038   for ac_arg
2039   do
2040     case $ac_arg in
2041     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2042     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2043     | -silent | --silent | --silen | --sile | --sil)
2044       continue ;;
2045     *\'*)
2046       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2047     esac
2048     case $ac_pass in
2049     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2050     2)
2051       as_fn_append ac_configure_args1 " '$ac_arg'"
2052       if test $ac_must_keep_next = true; then
2053         ac_must_keep_next=false # Got value, back to normal.
2054       else
2055         case $ac_arg in
2056           *=* | --config-cache | -C | -disable-* | --disable-* \
2057           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2058           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2059           | -with-* | --with-* | -without-* | --without-* | --x)
2060             case "$ac_configure_args0 " in
2061               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2062             esac
2063             ;;
2064           -* ) ac_must_keep_next=true ;;
2065         esac
2066       fi
2067       as_fn_append ac_configure_args " '$ac_arg'"
2068       ;;
2069     esac
2070   done
2071 done
2072 { ac_configure_args0=; unset ac_configure_args0;}
2073 { ac_configure_args1=; unset ac_configure_args1;}
2074
2075 # When interrupted or exit'd, cleanup temporary files, and complete
2076 # config.log.  We remove comments because anyway the quotes in there
2077 # would cause problems or look ugly.
2078 # WARNING: Use '\'' to represent an apostrophe within the trap.
2079 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2080 trap 'exit_status=$?
2081   # Save into config.log some information that might help in debugging.
2082   {
2083     echo
2084
2085     $as_echo "## ---------------- ##
2086 ## Cache variables. ##
2087 ## ---------------- ##"
2088     echo
2089     # The following way of writing the cache mishandles newlines in values,
2090 (
2091   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2092     eval ac_val=\$$ac_var
2093     case $ac_val in #(
2094     *${as_nl}*)
2095       case $ac_var in #(
2096       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2097 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2098       esac
2099       case $ac_var in #(
2100       _ | IFS | as_nl) ;; #(
2101       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2102       *) { eval $ac_var=; unset $ac_var;} ;;
2103       esac ;;
2104     esac
2105   done
2106   (set) 2>&1 |
2107     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2108     *${as_nl}ac_space=\ *)
2109       sed -n \
2110         "s/'\''/'\''\\\\'\'''\''/g;
2111           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2112       ;; #(
2113     *)
2114       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2115       ;;
2116     esac |
2117     sort
2118 )
2119     echo
2120
2121     $as_echo "## ----------------- ##
2122 ## Output variables. ##
2123 ## ----------------- ##"
2124     echo
2125     for ac_var in $ac_subst_vars
2126     do
2127       eval ac_val=\$$ac_var
2128       case $ac_val in
2129       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2130       esac
2131       $as_echo "$ac_var='\''$ac_val'\''"
2132     done | sort
2133     echo
2134
2135     if test -n "$ac_subst_files"; then
2136       $as_echo "## ------------------- ##
2137 ## File substitutions. ##
2138 ## ------------------- ##"
2139       echo
2140       for ac_var in $ac_subst_files
2141       do
2142         eval ac_val=\$$ac_var
2143         case $ac_val in
2144         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2145         esac
2146         $as_echo "$ac_var='\''$ac_val'\''"
2147       done | sort
2148       echo
2149     fi
2150
2151     if test -s confdefs.h; then
2152       $as_echo "## ----------- ##
2153 ## confdefs.h. ##
2154 ## ----------- ##"
2155       echo
2156       cat confdefs.h
2157       echo
2158     fi
2159     test "$ac_signal" != 0 &&
2160       $as_echo "$as_me: caught signal $ac_signal"
2161     $as_echo "$as_me: exit $exit_status"
2162   } >&5
2163   rm -f core *.core core.conftest.* &&
2164     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2165     exit $exit_status
2166 ' 0
2167 for ac_signal in 1 2 13 15; do
2168   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2169 done
2170 ac_signal=0
2171
2172 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2173 rm -f -r conftest* confdefs.h
2174
2175 $as_echo "/* confdefs.h */" > confdefs.h
2176
2177 # Predefined preprocessor variables.
2178
2179 cat >>confdefs.h <<_ACEOF
2180 #define PACKAGE_NAME "$PACKAGE_NAME"
2181 _ACEOF
2182
2183 cat >>confdefs.h <<_ACEOF
2184 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2185 _ACEOF
2186
2187 cat >>confdefs.h <<_ACEOF
2188 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2189 _ACEOF
2190
2191 cat >>confdefs.h <<_ACEOF
2192 #define PACKAGE_STRING "$PACKAGE_STRING"
2193 _ACEOF
2194
2195 cat >>confdefs.h <<_ACEOF
2196 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2197 _ACEOF
2198
2199 cat >>confdefs.h <<_ACEOF
2200 #define PACKAGE_URL "$PACKAGE_URL"
2201 _ACEOF
2202
2203
2204 # Let the site file select an alternate cache file if it wants to.
2205 # Prefer an explicitly selected file to automatically selected ones.
2206 ac_site_file1=NONE
2207 ac_site_file2=NONE
2208 if test -n "$CONFIG_SITE"; then
2209   # We do not want a PATH search for config.site.
2210   case $CONFIG_SITE in #((
2211     -*)  ac_site_file1=./$CONFIG_SITE;;
2212     */*) ac_site_file1=$CONFIG_SITE;;
2213     *)   ac_site_file1=./$CONFIG_SITE;;
2214   esac
2215 elif test "x$prefix" != xNONE; then
2216   ac_site_file1=$prefix/share/config.site
2217   ac_site_file2=$prefix/etc/config.site
2218 else
2219   ac_site_file1=$ac_default_prefix/share/config.site
2220   ac_site_file2=$ac_default_prefix/etc/config.site
2221 fi
2222 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2223 do
2224   test "x$ac_site_file" = xNONE && continue
2225   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2226     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2227 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2228     sed 's/^/| /' "$ac_site_file" >&5
2229     . "$ac_site_file" \
2230       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2231 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2232 as_fn_error $? "failed to load site script $ac_site_file
2233 See \`config.log' for more details" "$LINENO" 5; }
2234   fi
2235 done
2236
2237 if test -r "$cache_file"; then
2238   # Some versions of bash will fail to source /dev/null (special files
2239   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2240   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2241     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2242 $as_echo "$as_me: loading cache $cache_file" >&6;}
2243     case $cache_file in
2244       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2245       *)                      . "./$cache_file";;
2246     esac
2247   fi
2248 else
2249   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2250 $as_echo "$as_me: creating cache $cache_file" >&6;}
2251   >$cache_file
2252 fi
2253
2254 # Check that the precious variables saved in the cache have kept the same
2255 # value.
2256 ac_cache_corrupted=false
2257 for ac_var in $ac_precious_vars; do
2258   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2259   eval ac_new_set=\$ac_env_${ac_var}_set
2260   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2261   eval ac_new_val=\$ac_env_${ac_var}_value
2262   case $ac_old_set,$ac_new_set in
2263     set,)
2264       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2265 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2266       ac_cache_corrupted=: ;;
2267     ,set)
2268       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2269 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2270       ac_cache_corrupted=: ;;
2271     ,);;
2272     *)
2273       if test "x$ac_old_val" != "x$ac_new_val"; then
2274         # differences in whitespace do not lead to failure.
2275         ac_old_val_w=`echo x $ac_old_val`
2276         ac_new_val_w=`echo x $ac_new_val`
2277         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2278           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2279 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2280           ac_cache_corrupted=:
2281         else
2282           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2283 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2284           eval $ac_var=\$ac_old_val
2285         fi
2286         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2287 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2288         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2289 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2290       fi;;
2291   esac
2292   # Pass precious variables to config.status.
2293   if test "$ac_new_set" = set; then
2294     case $ac_new_val in
2295     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2296     *) ac_arg=$ac_var=$ac_new_val ;;
2297     esac
2298     case " $ac_configure_args " in
2299       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2300       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2301     esac
2302   fi
2303 done
2304 if $ac_cache_corrupted; then
2305   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2306 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2307   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2308 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2309   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2310 fi
2311 ## -------------------- ##
2312 ## Main body of script. ##
2313 ## -------------------- ##
2314
2315 ac_ext=c
2316 ac_cpp='$CPP $CPPFLAGS'
2317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2320
2321
2322
2323 ac_config_headers="$ac_config_headers config.h"
2324
2325 ac_aux_dir=
2326 for ac_dir in build-aux "$srcdir"/build-aux; do
2327   if test -f "$ac_dir/install-sh"; then
2328     ac_aux_dir=$ac_dir
2329     ac_install_sh="$ac_aux_dir/install-sh -c"
2330     break
2331   elif test -f "$ac_dir/install.sh"; then
2332     ac_aux_dir=$ac_dir
2333     ac_install_sh="$ac_aux_dir/install.sh -c"
2334     break
2335   elif test -f "$ac_dir/shtool"; then
2336     ac_aux_dir=$ac_dir
2337     ac_install_sh="$ac_aux_dir/shtool install -c"
2338     break
2339   fi
2340 done
2341 if test -z "$ac_aux_dir"; then
2342   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2343 fi
2344
2345 # These three variables are undocumented and unsupported,
2346 # and are intended to be withdrawn in a future Autoconf release.
2347 # They can cause serious problems if a builder's source tree is in a directory
2348 # whose full name contains unusual characters.
2349 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2350 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2351 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2352
2353
2354
2355
2356 am__api_version='1.14'
2357
2358 # Find a good install program.  We prefer a C program (faster),
2359 # so one script is as good as another.  But avoid the broken or
2360 # incompatible versions:
2361 # SysV /etc/install, /usr/sbin/install
2362 # SunOS /usr/etc/install
2363 # IRIX /sbin/install
2364 # AIX /bin/install
2365 # AmigaOS /C/install, which installs bootblocks on floppy discs
2366 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2367 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2368 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2369 # OS/2's system install, which has a completely different semantic
2370 # ./install, which can be erroneously created by make from ./install.sh.
2371 # Reject install programs that cannot install multiple files.
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2373 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2374 if test -z "$INSTALL"; then
2375 if ${ac_cv_path_install+:} false; then :
2376   $as_echo_n "(cached) " >&6
2377 else
2378   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2379 for as_dir in $PATH
2380 do
2381   IFS=$as_save_IFS
2382   test -z "$as_dir" && as_dir=.
2383     # Account for people who put trailing slashes in PATH elements.
2384 case $as_dir/ in #((
2385   ./ | .// | /[cC]/* | \
2386   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2387   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2388   /usr/ucb/* ) ;;
2389   *)
2390     # OSF1 and SCO ODT 3.0 have their own names for install.
2391     # Don't use installbsd from OSF since it installs stuff as root
2392     # by default.
2393     for ac_prog in ginstall scoinst install; do
2394       for ac_exec_ext in '' $ac_executable_extensions; do
2395         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2396           if test $ac_prog = install &&
2397             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2398             # AIX install.  It has an incompatible calling convention.
2399             :
2400           elif test $ac_prog = install &&
2401             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2402             # program-specific install script used by HP pwplus--don't use.
2403             :
2404           else
2405             rm -rf conftest.one conftest.two conftest.dir
2406             echo one > conftest.one
2407             echo two > conftest.two
2408             mkdir conftest.dir
2409             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2410               test -s conftest.one && test -s conftest.two &&
2411               test -s conftest.dir/conftest.one &&
2412               test -s conftest.dir/conftest.two
2413             then
2414               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2415               break 3
2416             fi
2417           fi
2418         fi
2419       done
2420     done
2421     ;;
2422 esac
2423
2424   done
2425 IFS=$as_save_IFS
2426
2427 rm -rf conftest.one conftest.two conftest.dir
2428
2429 fi
2430   if test "${ac_cv_path_install+set}" = set; then
2431     INSTALL=$ac_cv_path_install
2432   else
2433     # As a last resort, use the slow shell script.  Don't cache a
2434     # value for INSTALL within a source directory, because that will
2435     # break other packages using the cache if that directory is
2436     # removed, or if the value is a relative name.
2437     INSTALL=$ac_install_sh
2438   fi
2439 fi
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2441 $as_echo "$INSTALL" >&6; }
2442
2443 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2444 # It thinks the first close brace ends the variable substitution.
2445 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2446
2447 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2448
2449 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2450
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2452 $as_echo_n "checking whether build environment is sane... " >&6; }
2453 # Reject unsafe characters in $srcdir or the absolute working directory
2454 # name.  Accept space and tab only in the latter.
2455 am_lf='
2456 '
2457 case `pwd` in
2458   *[\\\"\#\$\&\'\`$am_lf]*)
2459     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2460 esac
2461 case $srcdir in
2462   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2463     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2464 esac
2465
2466 # Do 'set' in a subshell so we don't clobber the current shell's
2467 # arguments.  Must try -L first in case configure is actually a
2468 # symlink; some systems play weird games with the mod time of symlinks
2469 # (eg FreeBSD returns the mod time of the symlink's containing
2470 # directory).
2471 if (
2472    am_has_slept=no
2473    for am_try in 1 2; do
2474      echo "timestamp, slept: $am_has_slept" > conftest.file
2475      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2476      if test "$*" = "X"; then
2477         # -L didn't work.
2478         set X `ls -t "$srcdir/configure" conftest.file`
2479      fi
2480      if test "$*" != "X $srcdir/configure conftest.file" \
2481         && test "$*" != "X conftest.file $srcdir/configure"; then
2482
2483         # If neither matched, then we have a broken ls.  This can happen
2484         # if, for instance, CONFIG_SHELL is bash and it inherits a
2485         # broken ls alias from the environment.  This has actually
2486         # happened.  Such a system could not be considered "sane".
2487         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2488   alias in your environment" "$LINENO" 5
2489      fi
2490      if test "$2" = conftest.file || test $am_try -eq 2; then
2491        break
2492      fi
2493      # Just in case.
2494      sleep 1
2495      am_has_slept=yes
2496    done
2497    test "$2" = conftest.file
2498    )
2499 then
2500    # Ok.
2501    :
2502 else
2503    as_fn_error $? "newly created file is older than distributed files!
2504 Check your system clock" "$LINENO" 5
2505 fi
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2507 $as_echo "yes" >&6; }
2508 # If we didn't sleep, we still need to ensure time stamps of config.status and
2509 # generated files are strictly newer.
2510 am_sleep_pid=
2511 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2512   ( sleep 1 ) &
2513   am_sleep_pid=$!
2514 fi
2515
2516 rm -f conftest.file
2517
2518 test "$program_prefix" != NONE &&
2519   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2520 # Use a double $ so make ignores it.
2521 test "$program_suffix" != NONE &&
2522   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2523 # Double any \ or $.
2524 # By default was `s,x,x', remove it if useless.
2525 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2526 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2527
2528 # expand $ac_aux_dir to an absolute path
2529 am_aux_dir=`cd $ac_aux_dir && pwd`
2530
2531 if test x"${MISSING+set}" != xset; then
2532   case $am_aux_dir in
2533   *\ * | *\     *)
2534     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2535   *)
2536     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2537   esac
2538 fi
2539 # Use eval to expand $SHELL
2540 if eval "$MISSING --is-lightweight"; then
2541   am_missing_run="$MISSING "
2542 else
2543   am_missing_run=
2544   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2545 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2546 fi
2547
2548 if test x"${install_sh}" != xset; then
2549   case $am_aux_dir in
2550   *\ * | *\     *)
2551     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2552   *)
2553     install_sh="\${SHELL} $am_aux_dir/install-sh"
2554   esac
2555 fi
2556
2557 # Installed binaries are usually stripped using 'strip' when the user
2558 # run "make install-strip".  However 'strip' might not be the right
2559 # tool to use in cross-compilation environments, therefore Automake
2560 # will honor the 'STRIP' environment variable to overrule this program.
2561 if test "$cross_compiling" != no; then
2562   if test -n "$ac_tool_prefix"; then
2563   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2564 set dummy ${ac_tool_prefix}strip; ac_word=$2
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2566 $as_echo_n "checking for $ac_word... " >&6; }
2567 if ${ac_cv_prog_STRIP+:} false; then :
2568   $as_echo_n "(cached) " >&6
2569 else
2570   if test -n "$STRIP"; then
2571   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2572 else
2573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2574 for as_dir in $PATH
2575 do
2576   IFS=$as_save_IFS
2577   test -z "$as_dir" && as_dir=.
2578     for ac_exec_ext in '' $ac_executable_extensions; do
2579   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2580     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2581     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2582     break 2
2583   fi
2584 done
2585   done
2586 IFS=$as_save_IFS
2587
2588 fi
2589 fi
2590 STRIP=$ac_cv_prog_STRIP
2591 if test -n "$STRIP"; then
2592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2593 $as_echo "$STRIP" >&6; }
2594 else
2595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2596 $as_echo "no" >&6; }
2597 fi
2598
2599
2600 fi
2601 if test -z "$ac_cv_prog_STRIP"; then
2602   ac_ct_STRIP=$STRIP
2603   # Extract the first word of "strip", so it can be a program name with args.
2604 set dummy strip; ac_word=$2
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2606 $as_echo_n "checking for $ac_word... " >&6; }
2607 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2608   $as_echo_n "(cached) " >&6
2609 else
2610   if test -n "$ac_ct_STRIP"; then
2611   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2612 else
2613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2614 for as_dir in $PATH
2615 do
2616   IFS=$as_save_IFS
2617   test -z "$as_dir" && as_dir=.
2618     for ac_exec_ext in '' $ac_executable_extensions; do
2619   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2620     ac_cv_prog_ac_ct_STRIP="strip"
2621     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2622     break 2
2623   fi
2624 done
2625   done
2626 IFS=$as_save_IFS
2627
2628 fi
2629 fi
2630 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2631 if test -n "$ac_ct_STRIP"; then
2632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2633 $as_echo "$ac_ct_STRIP" >&6; }
2634 else
2635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2636 $as_echo "no" >&6; }
2637 fi
2638
2639   if test "x$ac_ct_STRIP" = x; then
2640     STRIP=":"
2641   else
2642     case $cross_compiling:$ac_tool_warned in
2643 yes:)
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2645 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2646 ac_tool_warned=yes ;;
2647 esac
2648     STRIP=$ac_ct_STRIP
2649   fi
2650 else
2651   STRIP="$ac_cv_prog_STRIP"
2652 fi
2653
2654 fi
2655 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2656
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2658 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2659 if test -z "$MKDIR_P"; then
2660   if ${ac_cv_path_mkdir+:} false; then :
2661   $as_echo_n "(cached) " >&6
2662 else
2663   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2664 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2665 do
2666   IFS=$as_save_IFS
2667   test -z "$as_dir" && as_dir=.
2668     for ac_prog in mkdir gmkdir; do
2669          for ac_exec_ext in '' $ac_executable_extensions; do
2670            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2671            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2672              'mkdir (GNU coreutils) '* | \
2673              'mkdir (coreutils) '* | \
2674              'mkdir (fileutils) '4.1*)
2675                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2676                break 3;;
2677            esac
2678          done
2679        done
2680   done
2681 IFS=$as_save_IFS
2682
2683 fi
2684
2685   test -d ./--version && rmdir ./--version
2686   if test "${ac_cv_path_mkdir+set}" = set; then
2687     MKDIR_P="$ac_cv_path_mkdir -p"
2688   else
2689     # As a last resort, use the slow shell script.  Don't cache a
2690     # value for MKDIR_P within a source directory, because that will
2691     # break other packages using the cache if that directory is
2692     # removed, or if the value is a relative name.
2693     MKDIR_P="$ac_install_sh -d"
2694   fi
2695 fi
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2697 $as_echo "$MKDIR_P" >&6; }
2698
2699 for ac_prog in gawk mawk nawk awk
2700 do
2701   # Extract the first word of "$ac_prog", so it can be a program name with args.
2702 set dummy $ac_prog; ac_word=$2
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2704 $as_echo_n "checking for $ac_word... " >&6; }
2705 if ${ac_cv_prog_AWK+:} false; then :
2706   $as_echo_n "(cached) " >&6
2707 else
2708   if test -n "$AWK"; then
2709   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2710 else
2711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2712 for as_dir in $PATH
2713 do
2714   IFS=$as_save_IFS
2715   test -z "$as_dir" && as_dir=.
2716     for ac_exec_ext in '' $ac_executable_extensions; do
2717   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2718     ac_cv_prog_AWK="$ac_prog"
2719     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2720     break 2
2721   fi
2722 done
2723   done
2724 IFS=$as_save_IFS
2725
2726 fi
2727 fi
2728 AWK=$ac_cv_prog_AWK
2729 if test -n "$AWK"; then
2730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2731 $as_echo "$AWK" >&6; }
2732 else
2733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2734 $as_echo "no" >&6; }
2735 fi
2736
2737
2738   test -n "$AWK" && break
2739 done
2740
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2742 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2743 set x ${MAKE-make}
2744 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2745 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2746   $as_echo_n "(cached) " >&6
2747 else
2748   cat >conftest.make <<\_ACEOF
2749 SHELL = /bin/sh
2750 all:
2751         @echo '@@@%%%=$(MAKE)=@@@%%%'
2752 _ACEOF
2753 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2754 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2755   *@@@%%%=?*=@@@%%%*)
2756     eval ac_cv_prog_make_${ac_make}_set=yes;;
2757   *)
2758     eval ac_cv_prog_make_${ac_make}_set=no;;
2759 esac
2760 rm -f conftest.make
2761 fi
2762 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2764 $as_echo "yes" >&6; }
2765   SET_MAKE=
2766 else
2767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2768 $as_echo "no" >&6; }
2769   SET_MAKE="MAKE=${MAKE-make}"
2770 fi
2771
2772 rm -rf .tst 2>/dev/null
2773 mkdir .tst 2>/dev/null
2774 if test -d .tst; then
2775   am__leading_dot=.
2776 else
2777   am__leading_dot=_
2778 fi
2779 rmdir .tst 2>/dev/null
2780
2781 # Check whether --enable-silent-rules was given.
2782 if test "${enable_silent_rules+set}" = set; then :
2783   enableval=$enable_silent_rules;
2784 fi
2785
2786 case $enable_silent_rules in # (((
2787   yes) AM_DEFAULT_VERBOSITY=0;;
2788    no) AM_DEFAULT_VERBOSITY=1;;
2789     *) AM_DEFAULT_VERBOSITY=1;;
2790 esac
2791 am_make=${MAKE-make}
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2793 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2794 if ${am_cv_make_support_nested_variables+:} false; then :
2795   $as_echo_n "(cached) " >&6
2796 else
2797   if $as_echo 'TRUE=$(BAR$(V))
2798 BAR0=false
2799 BAR1=true
2800 V=1
2801 am__doit:
2802         @$(TRUE)
2803 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2804   am_cv_make_support_nested_variables=yes
2805 else
2806   am_cv_make_support_nested_variables=no
2807 fi
2808 fi
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2810 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2811 if test $am_cv_make_support_nested_variables = yes; then
2812     AM_V='$(V)'
2813   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2814 else
2815   AM_V=$AM_DEFAULT_VERBOSITY
2816   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2817 fi
2818 AM_BACKSLASH='\'
2819
2820 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2821   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2822   # is not polluted with repeated "-I."
2823   am__isrc=' -I$(srcdir)'
2824   # test to see if srcdir already configured
2825   if test -f $srcdir/config.status; then
2826     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2827   fi
2828 fi
2829
2830 # test whether we have cygpath
2831 if test -z "$CYGPATH_W"; then
2832   if (cygpath --version) >/dev/null 2>/dev/null; then
2833     CYGPATH_W='cygpath -w'
2834   else
2835     CYGPATH_W=echo
2836   fi
2837 fi
2838
2839
2840 # Define the identity of the package.
2841  PACKAGE='gsignond'
2842  VERSION='1.0.3'
2843
2844
2845 cat >>confdefs.h <<_ACEOF
2846 #define PACKAGE "$PACKAGE"
2847 _ACEOF
2848
2849
2850 cat >>confdefs.h <<_ACEOF
2851 #define VERSION "$VERSION"
2852 _ACEOF
2853
2854 # Some tools Automake needs.
2855
2856 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2857
2858
2859 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2860
2861
2862 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2863
2864
2865 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2866
2867
2868 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2869
2870 # For better backward compatibility.  To be removed once Automake 1.9.x
2871 # dies out for good.  For more background, see:
2872 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2873 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2874 mkdir_p='$(MKDIR_P)'
2875
2876 # We need awk for the "check" target.  The system "awk" is bad on
2877 # some platforms.
2878 # Always define AMTAR for backward compatibility.  Yes, it's still used
2879 # in the wild :-(  We should find a proper way to deprecate it ...
2880 AMTAR='$${TAR-tar}'
2881
2882
2883 # We'll loop over all known methods to create a tar archive until one works.
2884 _am_tools='gnutar  pax cpio none'
2885
2886
2887
2888   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2889 $as_echo_n "checking how to create a pax tar archive... " >&6; }
2890
2891   # Go ahead even if we have the value already cached.  We do so because we
2892   # need to set the values for the 'am__tar' and 'am__untar' variables.
2893   _am_tools=${am_cv_prog_tar_pax-$_am_tools}
2894
2895   for _am_tool in $_am_tools; do
2896     case $_am_tool in
2897     gnutar)
2898       for _am_tar in tar gnutar gtar; do
2899         { echo "$as_me:$LINENO: $_am_tar --version" >&5
2900    ($_am_tar --version) >&5 2>&5
2901    ac_status=$?
2902    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2903    (exit $ac_status); } && break
2904       done
2905       am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2906       am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2907       am__untar="$_am_tar -xf -"
2908       ;;
2909     plaintar)
2910       # Must skip GNU tar: if it does not support --format= it doesn't create
2911       # ustar tarball either.
2912       (tar --version) >/dev/null 2>&1 && continue
2913       am__tar='tar chf - "$$tardir"'
2914       am__tar_='tar chf - "$tardir"'
2915       am__untar='tar xf -'
2916       ;;
2917     pax)
2918       am__tar='pax -L -x pax -w "$$tardir"'
2919       am__tar_='pax -L -x pax -w "$tardir"'
2920       am__untar='pax -r'
2921       ;;
2922     cpio)
2923       am__tar='find "$$tardir" -print | cpio -o -H pax -L'
2924       am__tar_='find "$tardir" -print | cpio -o -H pax -L'
2925       am__untar='cpio -i -H pax -d'
2926       ;;
2927     none)
2928       am__tar=false
2929       am__tar_=false
2930       am__untar=false
2931       ;;
2932     esac
2933
2934     # If the value was cached, stop now.  We just wanted to have am__tar
2935     # and am__untar set.
2936     test -n "${am_cv_prog_tar_pax}" && break
2937
2938     # tar/untar a dummy directory, and stop if the command works.
2939     rm -rf conftest.dir
2940     mkdir conftest.dir
2941     echo GrepMe > conftest.dir/file
2942     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2943    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2944    ac_status=$?
2945    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2946    (exit $ac_status); }
2947     rm -rf conftest.dir
2948     if test -s conftest.tar; then
2949       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2950    ($am__untar <conftest.tar) >&5 2>&5
2951    ac_status=$?
2952    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2953    (exit $ac_status); }
2954       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
2955    (cat conftest.dir/file) >&5 2>&5
2956    ac_status=$?
2957    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2958    (exit $ac_status); }
2959       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2960     fi
2961   done
2962   rm -rf conftest.dir
2963
2964   if ${am_cv_prog_tar_pax+:} false; then :
2965   $as_echo_n "(cached) " >&6
2966 else
2967   am_cv_prog_tar_pax=$_am_tool
2968 fi
2969
2970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
2971 $as_echo "$am_cv_prog_tar_pax" >&6; }
2972
2973
2974
2975
2976
2977
2978 # POSIX will say in a future version that running "rm -f" with no argument
2979 # is OK; and we want to be able to make that assumption in our Makefile
2980 # recipes.  So use an aggressive probe to check that the usage we want is
2981 # actually supported "in the wild" to an acceptable degree.
2982 # See automake bug#10828.
2983 # To make any issue more visible, cause the running configure to be aborted
2984 # by default if the 'rm' program in use doesn't match our expectations; the
2985 # user can still override this though.
2986 if rm -f && rm -fr && rm -rf; then : OK; else
2987   cat >&2 <<'END'
2988 Oops!
2989
2990 Your 'rm' program seems unable to run without file operands specified
2991 on the command line, even when the '-f' option is present.  This is contrary
2992 to the behaviour of most rm programs out there, and not conforming with
2993 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2994
2995 Please tell bug-automake@gnu.org about your system, including the value
2996 of your $PATH and any error possibly output before this message.  This
2997 can help us improve future automake versions.
2998
2999 END
3000   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3001     echo 'Configuration will proceed anyway, since you have set the' >&2
3002     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3003     echo >&2
3004   else
3005     cat >&2 <<'END'
3006 Aborting the configuration process, to ensure you take notice of the issue.
3007
3008 You can download and install GNU coreutils to get an 'rm' implementation
3009 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3010
3011 If you want to complete the configuration process using your problematic
3012 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3013 to "yes", and re-run configure.
3014
3015 END
3016     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3017   fi
3018 fi
3019
3020 # Checks for programs.
3021 ac_ext=c
3022 ac_cpp='$CPP $CPPFLAGS'
3023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3026 if test -n "$ac_tool_prefix"; then
3027   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3028 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3030 $as_echo_n "checking for $ac_word... " >&6; }
3031 if ${ac_cv_prog_CC+:} false; then :
3032   $as_echo_n "(cached) " >&6
3033 else
3034   if test -n "$CC"; then
3035   ac_cv_prog_CC="$CC" # Let the user override the test.
3036 else
3037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3038 for as_dir in $PATH
3039 do
3040   IFS=$as_save_IFS
3041   test -z "$as_dir" && as_dir=.
3042     for ac_exec_ext in '' $ac_executable_extensions; do
3043   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3044     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3045     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3046     break 2
3047   fi
3048 done
3049   done
3050 IFS=$as_save_IFS
3051
3052 fi
3053 fi
3054 CC=$ac_cv_prog_CC
3055 if test -n "$CC"; then
3056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3057 $as_echo "$CC" >&6; }
3058 else
3059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3060 $as_echo "no" >&6; }
3061 fi
3062
3063
3064 fi
3065 if test -z "$ac_cv_prog_CC"; then
3066   ac_ct_CC=$CC
3067   # Extract the first word of "gcc", so it can be a program name with args.
3068 set dummy gcc; ac_word=$2
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3070 $as_echo_n "checking for $ac_word... " >&6; }
3071 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3072   $as_echo_n "(cached) " >&6
3073 else
3074   if test -n "$ac_ct_CC"; then
3075   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3076 else
3077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3078 for as_dir in $PATH
3079 do
3080   IFS=$as_save_IFS
3081   test -z "$as_dir" && as_dir=.
3082     for ac_exec_ext in '' $ac_executable_extensions; do
3083   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3084     ac_cv_prog_ac_ct_CC="gcc"
3085     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3086     break 2
3087   fi
3088 done
3089   done
3090 IFS=$as_save_IFS
3091
3092 fi
3093 fi
3094 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3095 if test -n "$ac_ct_CC"; then
3096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3097 $as_echo "$ac_ct_CC" >&6; }
3098 else
3099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3100 $as_echo "no" >&6; }
3101 fi
3102
3103   if test "x$ac_ct_CC" = x; then
3104     CC=""
3105   else
3106     case $cross_compiling:$ac_tool_warned in
3107 yes:)
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3109 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3110 ac_tool_warned=yes ;;
3111 esac
3112     CC=$ac_ct_CC
3113   fi
3114 else
3115   CC="$ac_cv_prog_CC"
3116 fi
3117
3118 if test -z "$CC"; then
3119           if test -n "$ac_tool_prefix"; then
3120     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3121 set dummy ${ac_tool_prefix}cc; ac_word=$2
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3123 $as_echo_n "checking for $ac_word... " >&6; }
3124 if ${ac_cv_prog_CC+:} false; then :
3125   $as_echo_n "(cached) " >&6
3126 else
3127   if test -n "$CC"; then
3128   ac_cv_prog_CC="$CC" # Let the user override the test.
3129 else
3130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3131 for as_dir in $PATH
3132 do
3133   IFS=$as_save_IFS
3134   test -z "$as_dir" && as_dir=.
3135     for ac_exec_ext in '' $ac_executable_extensions; do
3136   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3137     ac_cv_prog_CC="${ac_tool_prefix}cc"
3138     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3139     break 2
3140   fi
3141 done
3142   done
3143 IFS=$as_save_IFS
3144
3145 fi
3146 fi
3147 CC=$ac_cv_prog_CC
3148 if test -n "$CC"; then
3149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3150 $as_echo "$CC" >&6; }
3151 else
3152   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3153 $as_echo "no" >&6; }
3154 fi
3155
3156
3157   fi
3158 fi
3159 if test -z "$CC"; then
3160   # Extract the first word of "cc", so it can be a program name with args.
3161 set dummy cc; ac_word=$2
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3163 $as_echo_n "checking for $ac_word... " >&6; }
3164 if ${ac_cv_prog_CC+:} false; then :
3165   $as_echo_n "(cached) " >&6
3166 else
3167   if test -n "$CC"; then
3168   ac_cv_prog_CC="$CC" # Let the user override the test.
3169 else
3170   ac_prog_rejected=no
3171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3172 for as_dir in $PATH
3173 do
3174   IFS=$as_save_IFS
3175   test -z "$as_dir" && as_dir=.
3176     for ac_exec_ext in '' $ac_executable_extensions; do
3177   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3178     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3179        ac_prog_rejected=yes
3180        continue
3181      fi
3182     ac_cv_prog_CC="cc"
3183     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3184     break 2
3185   fi
3186 done
3187   done
3188 IFS=$as_save_IFS
3189
3190 if test $ac_prog_rejected = yes; then
3191   # We found a bogon in the path, so make sure we never use it.
3192   set dummy $ac_cv_prog_CC
3193   shift
3194   if test $# != 0; then
3195     # We chose a different compiler from the bogus one.
3196     # However, it has the same basename, so the bogon will be chosen
3197     # first if we set CC to just the basename; use the full file name.
3198     shift
3199     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3200   fi
3201 fi
3202 fi
3203 fi
3204 CC=$ac_cv_prog_CC
3205 if test -n "$CC"; then
3206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3207 $as_echo "$CC" >&6; }
3208 else
3209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3210 $as_echo "no" >&6; }
3211 fi
3212
3213
3214 fi
3215 if test -z "$CC"; then
3216   if test -n "$ac_tool_prefix"; then
3217   for ac_prog in cl.exe
3218   do
3219     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3220 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3222 $as_echo_n "checking for $ac_word... " >&6; }
3223 if ${ac_cv_prog_CC+:} false; then :
3224   $as_echo_n "(cached) " >&6
3225 else
3226   if test -n "$CC"; then
3227   ac_cv_prog_CC="$CC" # Let the user override the test.
3228 else
3229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3230 for as_dir in $PATH
3231 do
3232   IFS=$as_save_IFS
3233   test -z "$as_dir" && as_dir=.
3234     for ac_exec_ext in '' $ac_executable_extensions; do
3235   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3236     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3237     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3238     break 2
3239   fi
3240 done
3241   done
3242 IFS=$as_save_IFS
3243
3244 fi
3245 fi
3246 CC=$ac_cv_prog_CC
3247 if test -n "$CC"; then
3248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3249 $as_echo "$CC" >&6; }
3250 else
3251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3252 $as_echo "no" >&6; }
3253 fi
3254
3255
3256     test -n "$CC" && break
3257   done
3258 fi
3259 if test -z "$CC"; then
3260   ac_ct_CC=$CC
3261   for ac_prog in cl.exe
3262 do
3263   # Extract the first word of "$ac_prog", so it can be a program name with args.
3264 set dummy $ac_prog; ac_word=$2
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3266 $as_echo_n "checking for $ac_word... " >&6; }
3267 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3268   $as_echo_n "(cached) " >&6
3269 else
3270   if test -n "$ac_ct_CC"; then
3271   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3272 else
3273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3274 for as_dir in $PATH
3275 do
3276   IFS=$as_save_IFS
3277   test -z "$as_dir" && as_dir=.
3278     for ac_exec_ext in '' $ac_executable_extensions; do
3279   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3280     ac_cv_prog_ac_ct_CC="$ac_prog"
3281     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3282     break 2
3283   fi
3284 done
3285   done
3286 IFS=$as_save_IFS
3287
3288 fi
3289 fi
3290 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3291 if test -n "$ac_ct_CC"; then
3292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3293 $as_echo "$ac_ct_CC" >&6; }
3294 else
3295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3296 $as_echo "no" >&6; }
3297 fi
3298
3299
3300   test -n "$ac_ct_CC" && break
3301 done
3302
3303   if test "x$ac_ct_CC" = x; then
3304     CC=""
3305   else
3306     case $cross_compiling:$ac_tool_warned in
3307 yes:)
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3309 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3310 ac_tool_warned=yes ;;
3311 esac
3312     CC=$ac_ct_CC
3313   fi
3314 fi
3315
3316 fi
3317
3318
3319 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3320 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3321 as_fn_error $? "no acceptable C compiler found in \$PATH
3322 See \`config.log' for more details" "$LINENO" 5; }
3323
3324 # Provide some information about the compiler.
3325 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3326 set X $ac_compile
3327 ac_compiler=$2
3328 for ac_option in --version -v -V -qversion; do
3329   { { ac_try="$ac_compiler $ac_option >&5"
3330 case "(($ac_try" in
3331   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3332   *) ac_try_echo=$ac_try;;
3333 esac
3334 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3335 $as_echo "$ac_try_echo"; } >&5
3336   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3337   ac_status=$?
3338   if test -s conftest.err; then
3339     sed '10a\
3340 ... rest of stderr output deleted ...
3341          10q' conftest.err >conftest.er1
3342     cat conftest.er1 >&5
3343   fi
3344   rm -f conftest.er1 conftest.err
3345   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3346   test $ac_status = 0; }
3347 done
3348
3349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3350 /* end confdefs.h.  */
3351
3352 int
3353 main ()
3354 {
3355
3356   ;
3357   return 0;
3358 }
3359 _ACEOF
3360 ac_clean_files_save=$ac_clean_files
3361 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3362 # Try to create an executable without -o first, disregard a.out.
3363 # It will help us diagnose broken compilers, and finding out an intuition
3364 # of exeext.
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3366 $as_echo_n "checking whether the C compiler works... " >&6; }
3367 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3368
3369 # The possible output files:
3370 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3371
3372 ac_rmfiles=
3373 for ac_file in $ac_files
3374 do
3375   case $ac_file in
3376     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3377     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3378   esac
3379 done
3380 rm -f $ac_rmfiles
3381
3382 if { { ac_try="$ac_link_default"
3383 case "(($ac_try" in
3384   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3385   *) ac_try_echo=$ac_try;;
3386 esac
3387 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3388 $as_echo "$ac_try_echo"; } >&5
3389   (eval "$ac_link_default") 2>&5
3390   ac_status=$?
3391   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3392   test $ac_status = 0; }; then :
3393   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3394 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3395 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3396 # so that the user can short-circuit this test for compilers unknown to
3397 # Autoconf.
3398 for ac_file in $ac_files ''
3399 do
3400   test -f "$ac_file" || continue
3401   case $ac_file in
3402     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3403         ;;
3404     [ab].out )
3405         # We found the default executable, but exeext='' is most
3406         # certainly right.
3407         break;;
3408     *.* )
3409         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3410         then :; else
3411            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3412         fi
3413         # We set ac_cv_exeext here because the later test for it is not
3414         # safe: cross compilers may not add the suffix if given an `-o'
3415         # argument, so we may need to know it at that point already.
3416         # Even if this section looks crufty: it has the advantage of
3417         # actually working.
3418         break;;
3419     * )
3420         break;;
3421   esac
3422 done
3423 test "$ac_cv_exeext" = no && ac_cv_exeext=
3424
3425 else
3426   ac_file=''
3427 fi
3428 if test -z "$ac_file"; then :
3429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3430 $as_echo "no" >&6; }
3431 $as_echo "$as_me: failed program was:" >&5
3432 sed 's/^/| /' conftest.$ac_ext >&5
3433
3434 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3435 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3436 as_fn_error 77 "C compiler cannot create executables
3437 See \`config.log' for more details" "$LINENO" 5; }
3438 else
3439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3440 $as_echo "yes" >&6; }
3441 fi
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3443 $as_echo_n "checking for C compiler default output file name... " >&6; }
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3445 $as_echo "$ac_file" >&6; }
3446 ac_exeext=$ac_cv_exeext
3447
3448 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3449 ac_clean_files=$ac_clean_files_save
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3451 $as_echo_n "checking for suffix of executables... " >&6; }
3452 if { { ac_try="$ac_link"
3453 case "(($ac_try" in
3454   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3455   *) ac_try_echo=$ac_try;;
3456 esac
3457 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3458 $as_echo "$ac_try_echo"; } >&5
3459   (eval "$ac_link") 2>&5
3460   ac_status=$?
3461   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3462   test $ac_status = 0; }; then :
3463   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3464 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3465 # work properly (i.e., refer to `conftest.exe'), while it won't with
3466 # `rm'.
3467 for ac_file in conftest.exe conftest conftest.*; do
3468   test -f "$ac_file" || continue
3469   case $ac_file in
3470     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3471     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3472           break;;
3473     * ) break;;
3474   esac
3475 done
3476 else
3477   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3478 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3479 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3480 See \`config.log' for more details" "$LINENO" 5; }
3481 fi
3482 rm -f conftest conftest$ac_cv_exeext
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3484 $as_echo "$ac_cv_exeext" >&6; }
3485
3486 rm -f conftest.$ac_ext
3487 EXEEXT=$ac_cv_exeext
3488 ac_exeext=$EXEEXT
3489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3490 /* end confdefs.h.  */
3491 #include <stdio.h>
3492 int
3493 main ()
3494 {
3495 FILE *f = fopen ("conftest.out", "w");
3496  return ferror (f) || fclose (f) != 0;
3497
3498   ;
3499   return 0;
3500 }
3501 _ACEOF
3502 ac_clean_files="$ac_clean_files conftest.out"
3503 # Check that the compiler produces executables we can run.  If not, either
3504 # the compiler is broken, or we cross compile.
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3506 $as_echo_n "checking whether we are cross compiling... " >&6; }
3507 if test "$cross_compiling" != yes; then
3508   { { ac_try="$ac_link"
3509 case "(($ac_try" in
3510   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3511   *) ac_try_echo=$ac_try;;
3512 esac
3513 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3514 $as_echo "$ac_try_echo"; } >&5
3515   (eval "$ac_link") 2>&5
3516   ac_status=$?
3517   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3518   test $ac_status = 0; }
3519   if { ac_try='./conftest$ac_cv_exeext'
3520   { { case "(($ac_try" in
3521   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3522   *) ac_try_echo=$ac_try;;
3523 esac
3524 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3525 $as_echo "$ac_try_echo"; } >&5
3526   (eval "$ac_try") 2>&5
3527   ac_status=$?
3528   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3529   test $ac_status = 0; }; }; then
3530     cross_compiling=no
3531   else
3532     if test "$cross_compiling" = maybe; then
3533         cross_compiling=yes
3534     else
3535         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3536 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3537 as_fn_error $? "cannot run C compiled programs.
3538 If you meant to cross compile, use \`--host'.
3539 See \`config.log' for more details" "$LINENO" 5; }
3540     fi
3541   fi
3542 fi
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3544 $as_echo "$cross_compiling" >&6; }
3545
3546 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3547 ac_clean_files=$ac_clean_files_save
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3549 $as_echo_n "checking for suffix of object files... " >&6; }
3550 if ${ac_cv_objext+:} false; then :
3551   $as_echo_n "(cached) " >&6
3552 else
3553   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3554 /* end confdefs.h.  */
3555
3556 int
3557 main ()
3558 {
3559
3560   ;
3561   return 0;
3562 }
3563 _ACEOF
3564 rm -f conftest.o conftest.obj
3565 if { { ac_try="$ac_compile"
3566 case "(($ac_try" in
3567   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3568   *) ac_try_echo=$ac_try;;
3569 esac
3570 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3571 $as_echo "$ac_try_echo"; } >&5
3572   (eval "$ac_compile") 2>&5
3573   ac_status=$?
3574   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3575   test $ac_status = 0; }; then :
3576   for ac_file in conftest.o conftest.obj conftest.*; do
3577   test -f "$ac_file" || continue;
3578   case $ac_file in
3579     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3580     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3581        break;;
3582   esac
3583 done
3584 else
3585   $as_echo "$as_me: failed program was:" >&5
3586 sed 's/^/| /' conftest.$ac_ext >&5
3587
3588 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3589 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3590 as_fn_error $? "cannot compute suffix of object files: cannot compile
3591 See \`config.log' for more details" "$LINENO" 5; }
3592 fi
3593 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3594 fi
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3596 $as_echo "$ac_cv_objext" >&6; }
3597 OBJEXT=$ac_cv_objext
3598 ac_objext=$OBJEXT
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3600 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3601 if ${ac_cv_c_compiler_gnu+:} false; then :
3602   $as_echo_n "(cached) " >&6
3603 else
3604   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3605 /* end confdefs.h.  */
3606
3607 int
3608 main ()
3609 {
3610 #ifndef __GNUC__
3611        choke me
3612 #endif
3613
3614   ;
3615   return 0;
3616 }
3617 _ACEOF
3618 if ac_fn_c_try_compile "$LINENO"; then :
3619   ac_compiler_gnu=yes
3620 else
3621   ac_compiler_gnu=no
3622 fi
3623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3624 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3625
3626 fi
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3628 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3629 if test $ac_compiler_gnu = yes; then
3630   GCC=yes
3631 else
3632   GCC=
3633 fi
3634 ac_test_CFLAGS=${CFLAGS+set}
3635 ac_save_CFLAGS=$CFLAGS
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3637 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3638 if ${ac_cv_prog_cc_g+:} false; then :
3639   $as_echo_n "(cached) " >&6
3640 else
3641   ac_save_c_werror_flag=$ac_c_werror_flag
3642    ac_c_werror_flag=yes
3643    ac_cv_prog_cc_g=no
3644    CFLAGS="-g"
3645    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3646 /* end confdefs.h.  */
3647
3648 int
3649 main ()
3650 {
3651
3652   ;
3653   return 0;
3654 }
3655 _ACEOF
3656 if ac_fn_c_try_compile "$LINENO"; then :
3657   ac_cv_prog_cc_g=yes
3658 else
3659   CFLAGS=""
3660       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3661 /* end confdefs.h.  */
3662
3663 int
3664 main ()
3665 {
3666
3667   ;
3668   return 0;
3669 }
3670 _ACEOF
3671 if ac_fn_c_try_compile "$LINENO"; then :
3672
3673 else
3674   ac_c_werror_flag=$ac_save_c_werror_flag
3675          CFLAGS="-g"
3676          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3677 /* end confdefs.h.  */
3678
3679 int
3680 main ()
3681 {
3682
3683   ;
3684   return 0;
3685 }
3686 _ACEOF
3687 if ac_fn_c_try_compile "$LINENO"; then :
3688   ac_cv_prog_cc_g=yes
3689 fi
3690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3691 fi
3692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3693 fi
3694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3695    ac_c_werror_flag=$ac_save_c_werror_flag
3696 fi
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3698 $as_echo "$ac_cv_prog_cc_g" >&6; }
3699 if test "$ac_test_CFLAGS" = set; then
3700   CFLAGS=$ac_save_CFLAGS
3701 elif test $ac_cv_prog_cc_g = yes; then
3702   if test "$GCC" = yes; then
3703     CFLAGS="-g -O2"
3704   else
3705     CFLAGS="-g"
3706   fi
3707 else
3708   if test "$GCC" = yes; then
3709     CFLAGS="-O2"
3710   else
3711     CFLAGS=
3712   fi
3713 fi
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3715 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3716 if ${ac_cv_prog_cc_c89+:} false; then :
3717   $as_echo_n "(cached) " >&6
3718 else
3719   ac_cv_prog_cc_c89=no
3720 ac_save_CC=$CC
3721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3722 /* end confdefs.h.  */
3723 #include <stdarg.h>
3724 #include <stdio.h>
3725 struct stat;
3726 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3727 struct buf { int x; };
3728 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3729 static char *e (p, i)
3730      char **p;
3731      int i;
3732 {
3733   return p[i];
3734 }
3735 static char *f (char * (*g) (char **, int), char **p, ...)
3736 {
3737   char *s;
3738   va_list v;
3739   va_start (v,p);
3740   s = g (p, va_arg (v,int));
3741   va_end (v);
3742   return s;
3743 }
3744
3745 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3746    function prototypes and stuff, but not '\xHH' hex character constants.
3747    These don't provoke an error unfortunately, instead are silently treated
3748    as 'x'.  The following induces an error, until -std is added to get
3749    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3750    array size at least.  It's necessary to write '\x00'==0 to get something
3751    that's true only with -std.  */
3752 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3753
3754 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3755    inside strings and character constants.  */
3756 #define FOO(x) 'x'
3757 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3758
3759 int test (int i, double x);
3760 struct s1 {int (*f) (int a);};
3761 struct s2 {int (*f) (double a);};
3762 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3763 int argc;
3764 char **argv;
3765 int
3766 main ()
3767 {
3768 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3769   ;
3770   return 0;
3771 }
3772 _ACEOF
3773 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3774         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3775 do
3776   CC="$ac_save_CC $ac_arg"
3777   if ac_fn_c_try_compile "$LINENO"; then :
3778   ac_cv_prog_cc_c89=$ac_arg
3779 fi
3780 rm -f core conftest.err conftest.$ac_objext
3781   test "x$ac_cv_prog_cc_c89" != "xno" && break
3782 done
3783 rm -f conftest.$ac_ext
3784 CC=$ac_save_CC
3785
3786 fi
3787 # AC_CACHE_VAL
3788 case "x$ac_cv_prog_cc_c89" in
3789   x)
3790     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3791 $as_echo "none needed" >&6; } ;;
3792   xno)
3793     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3794 $as_echo "unsupported" >&6; } ;;
3795   *)
3796     CC="$CC $ac_cv_prog_cc_c89"
3797     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3798 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3799 esac
3800 if test "x$ac_cv_prog_cc_c89" != xno; then :
3801
3802 fi
3803
3804 ac_ext=c
3805 ac_cpp='$CPP $CPPFLAGS'
3806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3809
3810 ac_ext=c
3811 ac_cpp='$CPP $CPPFLAGS'
3812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3816 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3817 if ${am_cv_prog_cc_c_o+:} false; then :
3818   $as_echo_n "(cached) " >&6
3819 else
3820   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3821 /* end confdefs.h.  */
3822
3823 int
3824 main ()
3825 {
3826
3827   ;
3828   return 0;
3829 }
3830 _ACEOF
3831   # Make sure it works both with $CC and with simple cc.
3832   # Following AC_PROG_CC_C_O, we do the test twice because some
3833   # compilers refuse to overwrite an existing .o file with -o,
3834   # though they will create one.
3835   am_cv_prog_cc_c_o=yes
3836   for am_i in 1 2; do
3837     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3838    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3839    ac_status=$?
3840    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3841    (exit $ac_status); } \
3842          && test -f conftest2.$ac_objext; then
3843       : OK
3844     else
3845       am_cv_prog_cc_c_o=no
3846       break
3847     fi
3848   done
3849   rm -f core conftest*
3850   unset am_i
3851 fi
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3853 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3854 if test "$am_cv_prog_cc_c_o" != yes; then
3855    # Losing compiler, so override with the script.
3856    # FIXME: It is wrong to rewrite CC.
3857    # But if we don't then we get into trouble of one sort or another.
3858    # A longer-term fix would be to have automake use am__CC in this case,
3859    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3860    CC="$am_aux_dir/compile $CC"
3861 fi
3862 ac_ext=c
3863 ac_cpp='$CPP $CPPFLAGS'
3864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3867
3868 DEPDIR="${am__leading_dot}deps"
3869
3870 ac_config_commands="$ac_config_commands depfiles"
3871
3872
3873 am_make=${MAKE-make}
3874 cat > confinc << 'END'
3875 am__doit:
3876         @echo this is the am__doit target
3877 .PHONY: am__doit
3878 END
3879 # If we don't find an include directive, just comment out the code.
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3881 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3882 am__include="#"
3883 am__quote=
3884 _am_result=none
3885 # First try GNU make style include.
3886 echo "include confinc" > confmf
3887 # Ignore all kinds of additional output from 'make'.
3888 case `$am_make -s -f confmf 2> /dev/null` in #(
3889 *the\ am__doit\ target*)
3890   am__include=include
3891   am__quote=
3892   _am_result=GNU
3893   ;;
3894 esac
3895 # Now try BSD make style include.
3896 if test "$am__include" = "#"; then
3897    echo '.include "confinc"' > confmf
3898    case `$am_make -s -f confmf 2> /dev/null` in #(
3899    *the\ am__doit\ target*)
3900      am__include=.include
3901      am__quote="\""
3902      _am_result=BSD
3903      ;;
3904    esac
3905 fi
3906
3907
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3909 $as_echo "$_am_result" >&6; }
3910 rm -f confinc confmf
3911
3912 # Check whether --enable-dependency-tracking was given.
3913 if test "${enable_dependency_tracking+set}" = set; then :
3914   enableval=$enable_dependency_tracking;
3915 fi
3916
3917 if test "x$enable_dependency_tracking" != xno; then
3918   am_depcomp="$ac_aux_dir/depcomp"
3919   AMDEPBACKSLASH='\'
3920   am__nodep='_no'
3921 fi
3922  if test "x$enable_dependency_tracking" != xno; then
3923   AMDEP_TRUE=
3924   AMDEP_FALSE='#'
3925 else
3926   AMDEP_TRUE='#'
3927   AMDEP_FALSE=
3928 fi
3929
3930
3931
3932 depcc="$CC"   am_compiler_list=
3933
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3935 $as_echo_n "checking dependency style of $depcc... " >&6; }
3936 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3937   $as_echo_n "(cached) " >&6
3938 else
3939   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3940   # We make a subdir and do the tests there.  Otherwise we can end up
3941   # making bogus files that we don't know about and never remove.  For
3942   # instance it was reported that on HP-UX the gcc test will end up
3943   # making a dummy file named 'D' -- because '-MD' means "put the output
3944   # in D".
3945   rm -rf conftest.dir
3946   mkdir conftest.dir
3947   # Copy depcomp to subdir because otherwise we won't find it if we're
3948   # using a relative directory.
3949   cp "$am_depcomp" conftest.dir
3950   cd conftest.dir
3951   # We will build objects and dependencies in a subdirectory because
3952   # it helps to detect inapplicable dependency modes.  For instance
3953   # both Tru64's cc and ICC support -MD to output dependencies as a
3954   # side effect of compilation, but ICC will put the dependencies in
3955   # the current directory while Tru64 will put them in the object
3956   # directory.
3957   mkdir sub
3958
3959   am_cv_CC_dependencies_compiler_type=none
3960   if test "$am_compiler_list" = ""; then
3961      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3962   fi
3963   am__universal=false
3964   case " $depcc " in #(
3965      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3966      esac
3967
3968   for depmode in $am_compiler_list; do
3969     # Setup a source with many dependencies, because some compilers
3970     # like to wrap large dependency lists on column 80 (with \), and
3971     # we should not choose a depcomp mode which is confused by this.
3972     #
3973     # We need to recreate these files for each test, as the compiler may
3974     # overwrite some of them when testing with obscure command lines.
3975     # This happens at least with the AIX C compiler.
3976     : > sub/conftest.c
3977     for i in 1 2 3 4 5 6; do
3978       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3979       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3980       # Solaris 10 /bin/sh.
3981       echo '/* dummy */' > sub/conftst$i.h
3982     done
3983     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3984
3985     # We check with '-c' and '-o' for the sake of the "dashmstdout"
3986     # mode.  It turns out that the SunPro C++ compiler does not properly
3987     # handle '-M -o', and we need to detect this.  Also, some Intel
3988     # versions had trouble with output in subdirs.
3989     am__obj=sub/conftest.${OBJEXT-o}
3990     am__minus_obj="-o $am__obj"
3991     case $depmode in
3992     gcc)
3993       # This depmode causes a compiler race in universal mode.
3994       test "$am__universal" = false || continue
3995       ;;
3996     nosideeffect)
3997       # After this tag, mechanisms are not by side-effect, so they'll
3998       # only be used when explicitly requested.
3999       if test "x$enable_dependency_tracking" = xyes; then
4000         continue
4001       else
4002         break
4003       fi
4004       ;;
4005     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4006       # This compiler won't grok '-c -o', but also, the minuso test has
4007       # not run yet.  These depmodes are late enough in the game, and
4008       # so weak that their functioning should not be impacted.
4009       am__obj=conftest.${OBJEXT-o}
4010       am__minus_obj=
4011       ;;
4012     none) break ;;
4013     esac
4014     if depmode=$depmode \
4015        source=sub/conftest.c object=$am__obj \
4016        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4017        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4018          >/dev/null 2>conftest.err &&
4019        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4020        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4021        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4022        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4023       # icc doesn't choke on unknown options, it will just issue warnings
4024       # or remarks (even with -Werror).  So we grep stderr for any message
4025       # that says an option was ignored or not supported.
4026       # When given -MP, icc 7.0 and 7.1 complain thusly:
4027       #   icc: Command line warning: ignoring option '-M'; no argument required
4028       # The diagnosis changed in icc 8.0:
4029       #   icc: Command line remark: option '-MP' not supported
4030       if (grep 'ignoring option' conftest.err ||
4031           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4032         am_cv_CC_dependencies_compiler_type=$depmode
4033         break
4034       fi
4035     fi
4036   done
4037
4038   cd ..
4039   rm -rf conftest.dir
4040 else
4041   am_cv_CC_dependencies_compiler_type=none
4042 fi
4043
4044 fi
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4046 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4047 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4048
4049  if
4050   test "x$enable_dependency_tracking" != xno \
4051   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4052   am__fastdepCC_TRUE=
4053   am__fastdepCC_FALSE='#'
4054 else
4055   am__fastdepCC_TRUE='#'
4056   am__fastdepCC_FALSE=
4057 fi
4058
4059
4060
4061 if test -n "$ac_tool_prefix"; then
4062   for ac_prog in ar lib "link -lib"
4063   do
4064     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4065 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4067 $as_echo_n "checking for $ac_word... " >&6; }
4068 if ${ac_cv_prog_AR+:} false; then :
4069   $as_echo_n "(cached) " >&6
4070 else
4071   if test -n "$AR"; then
4072   ac_cv_prog_AR="$AR" # Let the user override the test.
4073 else
4074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4075 for as_dir in $PATH
4076 do
4077   IFS=$as_save_IFS
4078   test -z "$as_dir" && as_dir=.
4079     for ac_exec_ext in '' $ac_executable_extensions; do
4080   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4081     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4082     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4083     break 2
4084   fi
4085 done
4086   done
4087 IFS=$as_save_IFS
4088
4089 fi
4090 fi
4091 AR=$ac_cv_prog_AR
4092 if test -n "$AR"; then
4093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4094 $as_echo "$AR" >&6; }
4095 else
4096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4097 $as_echo "no" >&6; }
4098 fi
4099
4100
4101     test -n "$AR" && break
4102   done
4103 fi
4104 if test -z "$AR"; then
4105   ac_ct_AR=$AR
4106   for ac_prog in ar lib "link -lib"
4107 do
4108   # Extract the first word of "$ac_prog", so it can be a program name with args.
4109 set dummy $ac_prog; ac_word=$2
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4111 $as_echo_n "checking for $ac_word... " >&6; }
4112 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4113   $as_echo_n "(cached) " >&6
4114 else
4115   if test -n "$ac_ct_AR"; then
4116   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4117 else
4118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4119 for as_dir in $PATH
4120 do
4121   IFS=$as_save_IFS
4122   test -z "$as_dir" && as_dir=.
4123     for ac_exec_ext in '' $ac_executable_extensions; do
4124   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4125     ac_cv_prog_ac_ct_AR="$ac_prog"
4126     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4127     break 2
4128   fi
4129 done
4130   done
4131 IFS=$as_save_IFS
4132
4133 fi
4134 fi
4135 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4136 if test -n "$ac_ct_AR"; then
4137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4138 $as_echo "$ac_ct_AR" >&6; }
4139 else
4140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4141 $as_echo "no" >&6; }
4142 fi
4143
4144
4145   test -n "$ac_ct_AR" && break
4146 done
4147
4148   if test "x$ac_ct_AR" = x; then
4149     AR="false"
4150   else
4151     case $cross_compiling:$ac_tool_warned in
4152 yes:)
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4154 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4155 ac_tool_warned=yes ;;
4156 esac
4157     AR=$ac_ct_AR
4158   fi
4159 fi
4160
4161 : ${AR=ar}
4162
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4164 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4165 if ${am_cv_ar_interface+:} false; then :
4166   $as_echo_n "(cached) " >&6
4167 else
4168   ac_ext=c
4169 ac_cpp='$CPP $CPPFLAGS'
4170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4173
4174    am_cv_ar_interface=ar
4175    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4176 /* end confdefs.h.  */
4177 int some_variable = 0;
4178 _ACEOF
4179 if ac_fn_c_try_compile "$LINENO"; then :
4180   am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4181       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4182   (eval $am_ar_try) 2>&5
4183   ac_status=$?
4184   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4185   test $ac_status = 0; }
4186       if test "$ac_status" -eq 0; then
4187         am_cv_ar_interface=ar
4188       else
4189         am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4190         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4191   (eval $am_ar_try) 2>&5
4192   ac_status=$?
4193   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4194   test $ac_status = 0; }
4195         if test "$ac_status" -eq 0; then
4196           am_cv_ar_interface=lib
4197         else
4198           am_cv_ar_interface=unknown
4199         fi
4200       fi
4201       rm -f conftest.lib libconftest.a
4202
4203 fi
4204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4205    ac_ext=c
4206 ac_cpp='$CPP $CPPFLAGS'
4207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4210
4211 fi
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4213 $as_echo "$am_cv_ar_interface" >&6; }
4214
4215 case $am_cv_ar_interface in
4216 ar)
4217   ;;
4218 lib)
4219   # Microsoft lib, so override with the ar-lib wrapper script.
4220   # FIXME: It is wrong to rewrite AR.
4221   # But if we don't then we get into trouble of one sort or another.
4222   # A longer-term fix would be to have automake use am__AR in this case,
4223   # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4224   # similar.
4225   AR="$am_aux_dir/ar-lib $AR"
4226   ;;
4227 unknown)
4228   as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4229   ;;
4230 esac
4231
4232  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
4233 $as_echo_n "checking for GNU make... " >&6; }
4234 if ${_cv_gnu_make_command+:} false; then :
4235   $as_echo_n "(cached) " >&6
4236 else
4237   _cv_gnu_make_command='' ;
4238                 for a in "$MAKE" make gmake gnumake ; do
4239                         if test -z "$a" ; then continue ; fi ;
4240                         if  ( sh -c "$a --version" 2> /dev/null | grep GNU  2>&1 > /dev/null ) ;  then
4241                                 _cv_gnu_make_command=$a ;
4242                                 break;
4243                         fi
4244                 done ;
4245
4246 fi
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5
4248 $as_echo "$_cv_gnu_make_command" >&6; } ;
4249         if test  "x$_cv_gnu_make_command" != "x"  ; then
4250                 ifGNUmake='' ;
4251         else
4252                 ifGNUmake='#' ;
4253                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"Not found\"" >&5
4254 $as_echo "\"Not found\"" >&6; };
4255         fi
4256
4257
4258 if test "x$ifGNUmake" = "x#" ; then
4259         as_fn_error $? "\"GNUmake is required\"" "$LINENO" 5
4260 fi
4261
4262 #libtool
4263
4264 case `pwd` in
4265   *\ * | *\     *)
4266     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4267 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4268 esac
4269
4270
4271
4272 macro_version='2.4.2'
4273 macro_revision='1.3337'
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287 ltmain="$ac_aux_dir/ltmain.sh"
4288
4289 # Make sure we can run config.sub.
4290 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4291   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4292
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4294 $as_echo_n "checking build system type... " >&6; }
4295 if ${ac_cv_build+:} false; then :
4296   $as_echo_n "(cached) " >&6
4297 else
4298   ac_build_alias=$build_alias
4299 test "x$ac_build_alias" = x &&
4300   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4301 test "x$ac_build_alias" = x &&
4302   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4303 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4304   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4305
4306 fi
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4308 $as_echo "$ac_cv_build" >&6; }
4309 case $ac_cv_build in
4310 *-*-*) ;;
4311 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4312 esac
4313 build=$ac_cv_build
4314 ac_save_IFS=$IFS; IFS='-'
4315 set x $ac_cv_build
4316 shift
4317 build_cpu=$1
4318 build_vendor=$2
4319 shift; shift
4320 # Remember, the first character of IFS is used to create $*,
4321 # except with old shells:
4322 build_os=$*
4323 IFS=$ac_save_IFS
4324 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4325
4326
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4328 $as_echo_n "checking host system type... " >&6; }
4329 if ${ac_cv_host+:} false; then :
4330   $as_echo_n "(cached) " >&6
4331 else
4332   if test "x$host_alias" = x; then
4333   ac_cv_host=$ac_cv_build
4334 else
4335   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4336     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4337 fi
4338
4339 fi
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4341 $as_echo "$ac_cv_host" >&6; }
4342 case $ac_cv_host in
4343 *-*-*) ;;
4344 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4345 esac
4346 host=$ac_cv_host
4347 ac_save_IFS=$IFS; IFS='-'
4348 set x $ac_cv_host
4349 shift
4350 host_cpu=$1
4351 host_vendor=$2
4352 shift; shift
4353 # Remember, the first character of IFS is used to create $*,
4354 # except with old shells:
4355 host_os=$*
4356 IFS=$ac_save_IFS
4357 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4358
4359
4360 # Backslashify metacharacters that are still active within
4361 # double-quoted strings.
4362 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4363
4364 # Same as above, but do not quote variable references.
4365 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4366
4367 # Sed substitution to delay expansion of an escaped shell variable in a
4368 # double_quote_subst'ed string.
4369 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4370
4371 # Sed substitution to delay expansion of an escaped single quote.
4372 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4373
4374 # Sed substitution to avoid accidental globbing in evaled expressions
4375 no_glob_subst='s/\*/\\\*/g'
4376
4377 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4378 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4379 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4380
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4382 $as_echo_n "checking how to print strings... " >&6; }
4383 # Test print first, because it will be a builtin if present.
4384 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4385    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4386   ECHO='print -r --'
4387 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4388   ECHO='printf %s\n'
4389 else
4390   # Use this function as a fallback that always works.
4391   func_fallback_echo ()
4392   {
4393     eval 'cat <<_LTECHO_EOF
4394 $1
4395 _LTECHO_EOF'
4396   }
4397   ECHO='func_fallback_echo'
4398 fi
4399
4400 # func_echo_all arg...
4401 # Invoke $ECHO with all args, space-separated.
4402 func_echo_all ()
4403 {
4404     $ECHO ""
4405 }
4406
4407 case "$ECHO" in
4408   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4409 $as_echo "printf" >&6; } ;;
4410   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4411 $as_echo "print -r" >&6; } ;;
4412   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4413 $as_echo "cat" >&6; } ;;
4414 esac
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4430 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4431 if ${ac_cv_path_SED+:} false; then :
4432   $as_echo_n "(cached) " >&6
4433 else
4434             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4435      for ac_i in 1 2 3 4 5 6 7; do
4436        ac_script="$ac_script$as_nl$ac_script"
4437      done
4438      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4439      { ac_script=; unset ac_script;}
4440      if test -z "$SED"; then
4441   ac_path_SED_found=false
4442   # Loop through the user's path and test for each of PROGNAME-LIST
4443   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4444 for as_dir in $PATH
4445 do
4446   IFS=$as_save_IFS
4447   test -z "$as_dir" && as_dir=.
4448     for ac_prog in sed gsed; do
4449     for ac_exec_ext in '' $ac_executable_extensions; do
4450       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4451       as_fn_executable_p "$ac_path_SED" || continue
4452 # Check for GNU ac_path_SED and select it if it is found.
4453   # Check for GNU $ac_path_SED
4454 case `"$ac_path_SED" --version 2>&1` in
4455 *GNU*)
4456   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4457 *)
4458   ac_count=0
4459   $as_echo_n 0123456789 >"conftest.in"
4460   while :
4461   do
4462     cat "conftest.in" "conftest.in" >"conftest.tmp"
4463     mv "conftest.tmp" "conftest.in"
4464     cp "conftest.in" "conftest.nl"
4465     $as_echo '' >> "conftest.nl"
4466     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4467     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4468     as_fn_arith $ac_count + 1 && ac_count=$as_val
4469     if test $ac_count -gt ${ac_path_SED_max-0}; then
4470       # Best one so far, save it but keep looking for a better one
4471       ac_cv_path_SED="$ac_path_SED"
4472       ac_path_SED_max=$ac_count
4473     fi
4474     # 10*(2^10) chars as input seems more than enough
4475     test $ac_count -gt 10 && break
4476   done
4477   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4478 esac
4479
4480       $ac_path_SED_found && break 3
4481     done
4482   done
4483   done
4484 IFS=$as_save_IFS
4485   if test -z "$ac_cv_path_SED"; then
4486     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4487   fi
4488 else
4489   ac_cv_path_SED=$SED
4490 fi
4491
4492 fi
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4494 $as_echo "$ac_cv_path_SED" >&6; }
4495  SED="$ac_cv_path_SED"
4496   rm -f conftest.sed
4497
4498 test -z "$SED" && SED=sed
4499 Xsed="$SED -e 1s/^X//"
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4512 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4513 if ${ac_cv_path_GREP+:} false; then :
4514   $as_echo_n "(cached) " >&6
4515 else
4516   if test -z "$GREP"; then
4517   ac_path_GREP_found=false
4518   # Loop through the user's path and test for each of PROGNAME-LIST
4519   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4520 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4521 do
4522   IFS=$as_save_IFS
4523   test -z "$as_dir" && as_dir=.
4524     for ac_prog in grep ggrep; do
4525     for ac_exec_ext in '' $ac_executable_extensions; do
4526       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4527       as_fn_executable_p "$ac_path_GREP" || continue
4528 # Check for GNU ac_path_GREP and select it if it is found.
4529   # Check for GNU $ac_path_GREP
4530 case `"$ac_path_GREP" --version 2>&1` in
4531 *GNU*)
4532   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4533 *)
4534   ac_count=0
4535   $as_echo_n 0123456789 >"conftest.in"
4536   while :
4537   do
4538     cat "conftest.in" "conftest.in" >"conftest.tmp"
4539     mv "conftest.tmp" "conftest.in"
4540     cp "conftest.in" "conftest.nl"
4541     $as_echo 'GREP' >> "conftest.nl"
4542     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4543     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4544     as_fn_arith $ac_count + 1 && ac_count=$as_val
4545     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4546       # Best one so far, save it but keep looking for a better one
4547       ac_cv_path_GREP="$ac_path_GREP"
4548       ac_path_GREP_max=$ac_count
4549     fi
4550     # 10*(2^10) chars as input seems more than enough
4551     test $ac_count -gt 10 && break
4552   done
4553   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4554 esac
4555
4556       $ac_path_GREP_found && break 3
4557     done
4558   done
4559   done
4560 IFS=$as_save_IFS
4561   if test -z "$ac_cv_path_GREP"; then
4562     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4563   fi
4564 else
4565   ac_cv_path_GREP=$GREP
4566 fi
4567
4568 fi
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4570 $as_echo "$ac_cv_path_GREP" >&6; }
4571  GREP="$ac_cv_path_GREP"
4572
4573
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4575 $as_echo_n "checking for egrep... " >&6; }
4576 if ${ac_cv_path_EGREP+:} false; then :
4577   $as_echo_n "(cached) " >&6
4578 else
4579   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4580    then ac_cv_path_EGREP="$GREP -E"
4581    else
4582      if test -z "$EGREP"; then
4583   ac_path_EGREP_found=false
4584   # Loop through the user's path and test for each of PROGNAME-LIST
4585   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4586 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4587 do
4588   IFS=$as_save_IFS
4589   test -z "$as_dir" && as_dir=.
4590     for ac_prog in egrep; do
4591     for ac_exec_ext in '' $ac_executable_extensions; do
4592       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4593       as_fn_executable_p "$ac_path_EGREP" || continue
4594 # Check for GNU ac_path_EGREP and select it if it is found.
4595   # Check for GNU $ac_path_EGREP
4596 case `"$ac_path_EGREP" --version 2>&1` in
4597 *GNU*)
4598   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4599 *)
4600   ac_count=0
4601   $as_echo_n 0123456789 >"conftest.in"
4602   while :
4603   do
4604     cat "conftest.in" "conftest.in" >"conftest.tmp"
4605     mv "conftest.tmp" "conftest.in"
4606     cp "conftest.in" "conftest.nl"
4607     $as_echo 'EGREP' >> "conftest.nl"
4608     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4609     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4610     as_fn_arith $ac_count + 1 && ac_count=$as_val
4611     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4612       # Best one so far, save it but keep looking for a better one
4613       ac_cv_path_EGREP="$ac_path_EGREP"
4614       ac_path_EGREP_max=$ac_count
4615     fi
4616     # 10*(2^10) chars as input seems more than enough
4617     test $ac_count -gt 10 && break
4618   done
4619   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4620 esac
4621
4622       $ac_path_EGREP_found && break 3
4623     done
4624   done
4625   done
4626 IFS=$as_save_IFS
4627   if test -z "$ac_cv_path_EGREP"; then
4628     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4629   fi
4630 else
4631   ac_cv_path_EGREP=$EGREP
4632 fi
4633
4634    fi
4635 fi
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4637 $as_echo "$ac_cv_path_EGREP" >&6; }
4638  EGREP="$ac_cv_path_EGREP"
4639
4640
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4642 $as_echo_n "checking for fgrep... " >&6; }
4643 if ${ac_cv_path_FGREP+:} false; then :
4644   $as_echo_n "(cached) " >&6
4645 else
4646   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4647    then ac_cv_path_FGREP="$GREP -F"
4648    else
4649      if test -z "$FGREP"; then
4650   ac_path_FGREP_found=false
4651   # Loop through the user's path and test for each of PROGNAME-LIST
4652   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4653 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4654 do
4655   IFS=$as_save_IFS
4656   test -z "$as_dir" && as_dir=.
4657     for ac_prog in fgrep; do
4658     for ac_exec_ext in '' $ac_executable_extensions; do
4659       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4660       as_fn_executable_p "$ac_path_FGREP" || continue
4661 # Check for GNU ac_path_FGREP and select it if it is found.
4662   # Check for GNU $ac_path_FGREP
4663 case `"$ac_path_FGREP" --version 2>&1` in
4664 *GNU*)
4665   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4666 *)
4667   ac_count=0
4668   $as_echo_n 0123456789 >"conftest.in"
4669   while :
4670   do
4671     cat "conftest.in" "conftest.in" >"conftest.tmp"
4672     mv "conftest.tmp" "conftest.in"
4673     cp "conftest.in" "conftest.nl"
4674     $as_echo 'FGREP' >> "conftest.nl"
4675     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4676     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4677     as_fn_arith $ac_count + 1 && ac_count=$as_val
4678     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4679       # Best one so far, save it but keep looking for a better one
4680       ac_cv_path_FGREP="$ac_path_FGREP"
4681       ac_path_FGREP_max=$ac_count
4682     fi
4683     # 10*(2^10) chars as input seems more than enough
4684     test $ac_count -gt 10 && break
4685   done
4686   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4687 esac
4688
4689       $ac_path_FGREP_found && break 3
4690     done
4691   done
4692   done
4693 IFS=$as_save_IFS
4694   if test -z "$ac_cv_path_FGREP"; then
4695     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4696   fi
4697 else
4698   ac_cv_path_FGREP=$FGREP
4699 fi
4700
4701    fi
4702 fi
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4704 $as_echo "$ac_cv_path_FGREP" >&6; }
4705  FGREP="$ac_cv_path_FGREP"
4706
4707
4708 test -z "$GREP" && GREP=grep
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728 # Check whether --with-gnu-ld was given.
4729 if test "${with_gnu_ld+set}" = set; then :
4730   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4731 else
4732   with_gnu_ld=no
4733 fi
4734
4735 ac_prog=ld
4736 if test "$GCC" = yes; then
4737   # Check if gcc -print-prog-name=ld gives a path.
4738   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4739 $as_echo_n "checking for ld used by $CC... " >&6; }
4740   case $host in
4741   *-*-mingw*)
4742     # gcc leaves a trailing carriage return which upsets mingw
4743     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4744   *)
4745     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4746   esac
4747   case $ac_prog in
4748     # Accept absolute paths.
4749     [\\/]* | ?:[\\/]*)
4750       re_direlt='/[^/][^/]*/\.\./'
4751       # Canonicalize the pathname of ld
4752       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4753       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4754         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4755       done
4756       test -z "$LD" && LD="$ac_prog"
4757       ;;
4758   "")
4759     # If it fails, then pretend we aren't using GCC.
4760     ac_prog=ld
4761     ;;
4762   *)
4763     # If it is relative, then search for the first ld in PATH.
4764     with_gnu_ld=unknown
4765     ;;
4766   esac
4767 elif test "$with_gnu_ld" = yes; then
4768   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4769 $as_echo_n "checking for GNU ld... " >&6; }
4770 else
4771   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4772 $as_echo_n "checking for non-GNU ld... " >&6; }
4773 fi
4774 if ${lt_cv_path_LD+:} false; then :
4775   $as_echo_n "(cached) " >&6
4776 else
4777   if test -z "$LD"; then
4778   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4779   for ac_dir in $PATH; do
4780     IFS="$lt_save_ifs"
4781     test -z "$ac_dir" && ac_dir=.
4782     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4783       lt_cv_path_LD="$ac_dir/$ac_prog"
4784       # Check to see if the program is GNU ld.  I'd rather use --version,
4785       # but apparently some variants of GNU ld only accept -v.
4786       # Break only if it was the GNU/non-GNU ld that we prefer.
4787       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4788       *GNU* | *'with BFD'*)
4789         test "$with_gnu_ld" != no && break
4790         ;;
4791       *)
4792         test "$with_gnu_ld" != yes && break
4793         ;;
4794       esac
4795     fi
4796   done
4797   IFS="$lt_save_ifs"
4798 else
4799   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4800 fi
4801 fi
4802
4803 LD="$lt_cv_path_LD"
4804 if test -n "$LD"; then
4805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4806 $as_echo "$LD" >&6; }
4807 else
4808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4809 $as_echo "no" >&6; }
4810 fi
4811 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4813 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4814 if ${lt_cv_prog_gnu_ld+:} false; then :
4815   $as_echo_n "(cached) " >&6
4816 else
4817   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4818 case `$LD -v 2>&1 </dev/null` in
4819 *GNU* | *'with BFD'*)
4820   lt_cv_prog_gnu_ld=yes
4821   ;;
4822 *)
4823   lt_cv_prog_gnu_ld=no
4824   ;;
4825 esac
4826 fi
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4828 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4829 with_gnu_ld=$lt_cv_prog_gnu_ld
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4840 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4841 if ${lt_cv_path_NM+:} false; then :
4842   $as_echo_n "(cached) " >&6
4843 else
4844   if test -n "$NM"; then
4845   # Let the user override the test.
4846   lt_cv_path_NM="$NM"
4847 else
4848   lt_nm_to_check="${ac_tool_prefix}nm"
4849   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4850     lt_nm_to_check="$lt_nm_to_check nm"
4851   fi
4852   for lt_tmp_nm in $lt_nm_to_check; do
4853     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4854     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4855       IFS="$lt_save_ifs"
4856       test -z "$ac_dir" && ac_dir=.
4857       tmp_nm="$ac_dir/$lt_tmp_nm"
4858       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4859         # Check to see if the nm accepts a BSD-compat flag.
4860         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4861         #   nm: unknown option "B" ignored
4862         # Tru64's nm complains that /dev/null is an invalid object file
4863         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4864         */dev/null* | *'Invalid file or object type'*)
4865           lt_cv_path_NM="$tmp_nm -B"
4866           break
4867           ;;
4868         *)
4869           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4870           */dev/null*)
4871             lt_cv_path_NM="$tmp_nm -p"
4872             break
4873             ;;
4874           *)
4875             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4876             continue # so that we can try to find one that supports BSD flags
4877             ;;
4878           esac
4879           ;;
4880         esac
4881       fi
4882     done
4883     IFS="$lt_save_ifs"
4884   done
4885   : ${lt_cv_path_NM=no}
4886 fi
4887 fi
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4889 $as_echo "$lt_cv_path_NM" >&6; }
4890 if test "$lt_cv_path_NM" != "no"; then
4891   NM="$lt_cv_path_NM"
4892 else
4893   # Didn't find any BSD compatible name lister, look for dumpbin.
4894   if test -n "$DUMPBIN"; then :
4895     # Let the user override the test.
4896   else
4897     if test -n "$ac_tool_prefix"; then
4898   for ac_prog in dumpbin "link -dump"
4899   do
4900     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4901 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4903 $as_echo_n "checking for $ac_word... " >&6; }
4904 if ${ac_cv_prog_DUMPBIN+:} false; then :
4905   $as_echo_n "(cached) " >&6
4906 else
4907   if test -n "$DUMPBIN"; then
4908   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4909 else
4910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4911 for as_dir in $PATH
4912 do
4913   IFS=$as_save_IFS
4914   test -z "$as_dir" && as_dir=.
4915     for ac_exec_ext in '' $ac_executable_extensions; do
4916   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4917     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4918     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4919     break 2
4920   fi
4921 done
4922   done
4923 IFS=$as_save_IFS
4924
4925 fi
4926 fi
4927 DUMPBIN=$ac_cv_prog_DUMPBIN
4928 if test -n "$DUMPBIN"; then
4929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4930 $as_echo "$DUMPBIN" >&6; }
4931 else
4932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4933 $as_echo "no" >&6; }
4934 fi
4935
4936
4937     test -n "$DUMPBIN" && break
4938   done
4939 fi
4940 if test -z "$DUMPBIN"; then
4941   ac_ct_DUMPBIN=$DUMPBIN
4942   for ac_prog in dumpbin "link -dump"
4943 do
4944   # Extract the first word of "$ac_prog", so it can be a program name with args.
4945 set dummy $ac_prog; ac_word=$2
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4947 $as_echo_n "checking for $ac_word... " >&6; }
4948 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4949   $as_echo_n "(cached) " >&6
4950 else
4951   if test -n "$ac_ct_DUMPBIN"; then
4952   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4953 else
4954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4955 for as_dir in $PATH
4956 do
4957   IFS=$as_save_IFS
4958   test -z "$as_dir" && as_dir=.
4959     for ac_exec_ext in '' $ac_executable_extensions; do
4960   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4961     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4962     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4963     break 2
4964   fi
4965 done
4966   done
4967 IFS=$as_save_IFS
4968
4969 fi
4970 fi
4971 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4972 if test -n "$ac_ct_DUMPBIN"; then
4973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4974 $as_echo "$ac_ct_DUMPBIN" >&6; }
4975 else
4976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4977 $as_echo "no" >&6; }
4978 fi
4979
4980
4981   test -n "$ac_ct_DUMPBIN" && break
4982 done
4983
4984   if test "x$ac_ct_DUMPBIN" = x; then
4985     DUMPBIN=":"
4986   else
4987     case $cross_compiling:$ac_tool_warned in
4988 yes:)
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4990 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4991 ac_tool_warned=yes ;;
4992 esac
4993     DUMPBIN=$ac_ct_DUMPBIN
4994   fi
4995 fi
4996
4997     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4998     *COFF*)
4999       DUMPBIN="$DUMPBIN -symbols"
5000       ;;
5001     *)
5002       DUMPBIN=:
5003       ;;
5004     esac
5005   fi
5006
5007   if test "$DUMPBIN" != ":"; then
5008     NM="$DUMPBIN"
5009   fi
5010 fi
5011 test -z "$NM" && NM=nm
5012
5013
5014
5015
5016
5017
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5019 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5020 if ${lt_cv_nm_interface+:} false; then :
5021   $as_echo_n "(cached) " >&6
5022 else
5023   lt_cv_nm_interface="BSD nm"
5024   echo "int some_variable = 0;" > conftest.$ac_ext
5025   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5026   (eval "$ac_compile" 2>conftest.err)
5027   cat conftest.err >&5
5028   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5029   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5030   cat conftest.err >&5
5031   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5032   cat conftest.out >&5
5033   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5034     lt_cv_nm_interface="MS dumpbin"
5035   fi
5036   rm -f conftest*
5037 fi
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5039 $as_echo "$lt_cv_nm_interface" >&6; }
5040
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5042 $as_echo_n "checking whether ln -s works... " >&6; }
5043 LN_S=$as_ln_s
5044 if test "$LN_S" = "ln -s"; then
5045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5046 $as_echo "yes" >&6; }
5047 else
5048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5049 $as_echo "no, using $LN_S" >&6; }
5050 fi
5051
5052 # find the maximum length of command line arguments
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5054 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5055 if ${lt_cv_sys_max_cmd_len+:} false; then :
5056   $as_echo_n "(cached) " >&6
5057 else
5058     i=0
5059   teststring="ABCD"
5060
5061   case $build_os in
5062   msdosdjgpp*)
5063     # On DJGPP, this test can blow up pretty badly due to problems in libc
5064     # (any single argument exceeding 2000 bytes causes a buffer overrun
5065     # during glob expansion).  Even if it were fixed, the result of this
5066     # check would be larger than it should be.
5067     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5068     ;;
5069
5070   gnu*)
5071     # Under GNU Hurd, this test is not required because there is
5072     # no limit to the length of command line arguments.
5073     # Libtool will interpret -1 as no limit whatsoever
5074     lt_cv_sys_max_cmd_len=-1;
5075     ;;
5076
5077   cygwin* | mingw* | cegcc*)
5078     # On Win9x/ME, this test blows up -- it succeeds, but takes
5079     # about 5 minutes as the teststring grows exponentially.
5080     # Worse, since 9x/ME are not pre-emptively multitasking,
5081     # you end up with a "frozen" computer, even though with patience
5082     # the test eventually succeeds (with a max line length of 256k).
5083     # Instead, let's just punt: use the minimum linelength reported by
5084     # all of the supported platforms: 8192 (on NT/2K/XP).
5085     lt_cv_sys_max_cmd_len=8192;
5086     ;;
5087
5088   mint*)
5089     # On MiNT this can take a long time and run out of memory.
5090     lt_cv_sys_max_cmd_len=8192;
5091     ;;
5092
5093   amigaos*)
5094     # On AmigaOS with pdksh, this test takes hours, literally.
5095     # So we just punt and use a minimum line length of 8192.
5096     lt_cv_sys_max_cmd_len=8192;
5097     ;;
5098
5099   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5100     # This has been around since 386BSD, at least.  Likely further.
5101     if test -x /sbin/sysctl; then
5102       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5103     elif test -x /usr/sbin/sysctl; then
5104       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5105     else
5106       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5107     fi
5108     # And add a safety zone
5109     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5110     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5111     ;;
5112
5113   interix*)
5114     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5115     lt_cv_sys_max_cmd_len=196608
5116     ;;
5117
5118   os2*)
5119     # The test takes a long time on OS/2.
5120     lt_cv_sys_max_cmd_len=8192
5121     ;;
5122
5123   osf*)
5124     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5125     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5126     # nice to cause kernel panics so lets avoid the loop below.
5127     # First set a reasonable default.
5128     lt_cv_sys_max_cmd_len=16384
5129     #
5130     if test -x /sbin/sysconfig; then
5131       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5132         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5133       esac
5134     fi
5135     ;;
5136   sco3.2v5*)
5137     lt_cv_sys_max_cmd_len=102400
5138     ;;
5139   sysv5* | sco5v6* | sysv4.2uw2*)
5140     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5141     if test -n "$kargmax"; then
5142       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5143     else
5144       lt_cv_sys_max_cmd_len=32768
5145     fi
5146     ;;
5147   *)
5148     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5149     if test -n "$lt_cv_sys_max_cmd_len" && \
5150         test undefined != "$lt_cv_sys_max_cmd_len"; then
5151       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5152       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5153     else
5154       # Make teststring a little bigger before we do anything with it.
5155       # a 1K string should be a reasonable start.
5156       for i in 1 2 3 4 5 6 7 8 ; do
5157         teststring=$teststring$teststring
5158       done
5159       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5160       # If test is not a shell built-in, we'll probably end up computing a
5161       # maximum length that is only half of the actual maximum length, but
5162       # we can't tell.
5163       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5164                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5165               test $i != 17 # 1/2 MB should be enough
5166       do
5167         i=`expr $i + 1`
5168         teststring=$teststring$teststring
5169       done
5170       # Only check the string length outside the loop.
5171       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5172       teststring=
5173       # Add a significant safety factor because C++ compilers can tack on
5174       # massive amounts of additional arguments before passing them to the
5175       # linker.  It appears as though 1/2 is a usable value.
5176       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5177     fi
5178     ;;
5179   esac
5180
5181 fi
5182
5183 if test -n $lt_cv_sys_max_cmd_len ; then
5184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5185 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5186 else
5187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5188 $as_echo "none" >&6; }
5189 fi
5190 max_cmd_len=$lt_cv_sys_max_cmd_len
5191
5192
5193
5194
5195
5196
5197 : ${CP="cp -f"}
5198 : ${MV="mv -f"}
5199 : ${RM="rm -f"}
5200
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5202 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5203 # Try some XSI features
5204 xsi_shell=no
5205 ( _lt_dummy="a/b/c"
5206   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5207       = c,a/b,b/c, \
5208     && eval 'test $(( 1 + 1 )) -eq 2 \
5209     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5210   && xsi_shell=yes
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5212 $as_echo "$xsi_shell" >&6; }
5213
5214
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5216 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5217 lt_shell_append=no
5218 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5219     >/dev/null 2>&1 \
5220   && lt_shell_append=yes
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5222 $as_echo "$lt_shell_append" >&6; }
5223
5224
5225 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5226   lt_unset=unset
5227 else
5228   lt_unset=false
5229 fi
5230
5231
5232
5233
5234
5235 # test EBCDIC or ASCII
5236 case `echo X|tr X '\101'` in
5237  A) # ASCII based system
5238     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5239   lt_SP2NL='tr \040 \012'
5240   lt_NL2SP='tr \015\012 \040\040'
5241   ;;
5242  *) # EBCDIC based system
5243   lt_SP2NL='tr \100 \n'
5244   lt_NL2SP='tr \r\n \100\100'
5245   ;;
5246 esac
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5257 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5258 if ${lt_cv_to_host_file_cmd+:} false; then :
5259   $as_echo_n "(cached) " >&6
5260 else
5261   case $host in
5262   *-*-mingw* )
5263     case $build in
5264       *-*-mingw* ) # actually msys
5265         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5266         ;;
5267       *-*-cygwin* )
5268         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5269         ;;
5270       * ) # otherwise, assume *nix
5271         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5272         ;;
5273     esac
5274     ;;
5275   *-*-cygwin* )
5276     case $build in
5277       *-*-mingw* ) # actually msys
5278         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5279         ;;
5280       *-*-cygwin* )
5281         lt_cv_to_host_file_cmd=func_convert_file_noop
5282         ;;
5283       * ) # otherwise, assume *nix
5284         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5285         ;;
5286     esac
5287     ;;
5288   * ) # unhandled hosts (and "normal" native builds)
5289     lt_cv_to_host_file_cmd=func_convert_file_noop
5290     ;;
5291 esac
5292
5293 fi
5294
5295 to_host_file_cmd=$lt_cv_to_host_file_cmd
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5297 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5298
5299
5300
5301
5302
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5304 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5305 if ${lt_cv_to_tool_file_cmd+:} false; then :
5306   $as_echo_n "(cached) " >&6
5307 else
5308   #assume ordinary cross tools, or native build.
5309 lt_cv_to_tool_file_cmd=func_convert_file_noop
5310 case $host in
5311   *-*-mingw* )
5312     case $build in
5313       *-*-mingw* ) # actually msys
5314         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5315         ;;
5316     esac
5317     ;;
5318 esac
5319
5320 fi
5321
5322 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5324 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5325
5326
5327
5328
5329
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5331 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5332 if ${lt_cv_ld_reload_flag+:} false; then :
5333   $as_echo_n "(cached) " >&6
5334 else
5335   lt_cv_ld_reload_flag='-r'
5336 fi
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5338 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5339 reload_flag=$lt_cv_ld_reload_flag
5340 case $reload_flag in
5341 "" | " "*) ;;
5342 *) reload_flag=" $reload_flag" ;;
5343 esac
5344 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5345 case $host_os in
5346   cygwin* | mingw* | pw32* | cegcc*)
5347     if test "$GCC" != yes; then
5348       reload_cmds=false
5349     fi
5350     ;;
5351   darwin*)
5352     if test "$GCC" = yes; then
5353       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5354     else
5355       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5356     fi
5357     ;;
5358 esac
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368 if test -n "$ac_tool_prefix"; then
5369   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5370 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5372 $as_echo_n "checking for $ac_word... " >&6; }
5373 if ${ac_cv_prog_OBJDUMP+:} false; then :
5374   $as_echo_n "(cached) " >&6
5375 else
5376   if test -n "$OBJDUMP"; then
5377   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5378 else
5379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5380 for as_dir in $PATH
5381 do
5382   IFS=$as_save_IFS
5383   test -z "$as_dir" && as_dir=.
5384     for ac_exec_ext in '' $ac_executable_extensions; do
5385   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5386     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5387     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5388     break 2
5389   fi
5390 done
5391   done
5392 IFS=$as_save_IFS
5393
5394 fi
5395 fi
5396 OBJDUMP=$ac_cv_prog_OBJDUMP
5397 if test -n "$OBJDUMP"; then
5398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5399 $as_echo "$OBJDUMP" >&6; }
5400 else
5401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5402 $as_echo "no" >&6; }
5403 fi
5404
5405
5406 fi
5407 if test -z "$ac_cv_prog_OBJDUMP"; then
5408   ac_ct_OBJDUMP=$OBJDUMP
5409   # Extract the first word of "objdump", so it can be a program name with args.
5410 set dummy objdump; ac_word=$2
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5412 $as_echo_n "checking for $ac_word... " >&6; }
5413 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5414   $as_echo_n "(cached) " >&6
5415 else
5416   if test -n "$ac_ct_OBJDUMP"; then
5417   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5418 else
5419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5420 for as_dir in $PATH
5421 do
5422   IFS=$as_save_IFS
5423   test -z "$as_dir" && as_dir=.
5424     for ac_exec_ext in '' $ac_executable_extensions; do
5425   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5426     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5427     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5428     break 2
5429   fi
5430 done
5431   done
5432 IFS=$as_save_IFS
5433
5434 fi
5435 fi
5436 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5437 if test -n "$ac_ct_OBJDUMP"; then
5438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5439 $as_echo "$ac_ct_OBJDUMP" >&6; }
5440 else
5441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5442 $as_echo "no" >&6; }
5443 fi
5444
5445   if test "x$ac_ct_OBJDUMP" = x; then
5446     OBJDUMP="false"
5447   else
5448     case $cross_compiling:$ac_tool_warned in
5449 yes:)
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5451 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5452 ac_tool_warned=yes ;;
5453 esac
5454     OBJDUMP=$ac_ct_OBJDUMP
5455   fi
5456 else
5457   OBJDUMP="$ac_cv_prog_OBJDUMP"
5458 fi
5459
5460 test -z "$OBJDUMP" && OBJDUMP=objdump
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5471 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5472 if ${lt_cv_deplibs_check_method+:} false; then :
5473   $as_echo_n "(cached) " >&6
5474 else
5475   lt_cv_file_magic_cmd='$MAGIC_CMD'
5476 lt_cv_file_magic_test_file=
5477 lt_cv_deplibs_check_method='unknown'
5478 # Need to set the preceding variable on all platforms that support
5479 # interlibrary dependencies.
5480 # 'none' -- dependencies not supported.
5481 # `unknown' -- same as none, but documents that we really don't know.
5482 # 'pass_all' -- all dependencies passed with no checks.
5483 # 'test_compile' -- check by making test program.
5484 # 'file_magic [[regex]]' -- check by looking for files in library path
5485 # which responds to the $file_magic_cmd with a given extended regex.
5486 # If you have `file' or equivalent on your system and you're not sure
5487 # whether `pass_all' will *always* work, you probably want this one.
5488
5489 case $host_os in
5490 aix[4-9]*)
5491   lt_cv_deplibs_check_method=pass_all
5492   ;;
5493
5494 beos*)
5495   lt_cv_deplibs_check_method=pass_all
5496   ;;
5497
5498 bsdi[45]*)
5499   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5500   lt_cv_file_magic_cmd='/usr/bin/file -L'
5501   lt_cv_file_magic_test_file=/shlib/libc.so
5502   ;;
5503
5504 cygwin*)
5505   # func_win32_libid is a shell function defined in ltmain.sh
5506   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5507   lt_cv_file_magic_cmd='func_win32_libid'
5508   ;;
5509
5510 mingw* | pw32*)
5511   # Base MSYS/MinGW do not provide the 'file' command needed by
5512   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5513   # unless we find 'file', for example because we are cross-compiling.
5514   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5515   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5516     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5517     lt_cv_file_magic_cmd='func_win32_libid'
5518   else
5519     # Keep this pattern in sync with the one in func_win32_libid.
5520     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5521     lt_cv_file_magic_cmd='$OBJDUMP -f'
5522   fi
5523   ;;
5524
5525 cegcc*)
5526   # use the weaker test based on 'objdump'. See mingw*.
5527   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5528   lt_cv_file_magic_cmd='$OBJDUMP -f'
5529   ;;
5530
5531 darwin* | rhapsody*)
5532   lt_cv_deplibs_check_method=pass_all
5533   ;;
5534
5535 freebsd* | dragonfly*)
5536   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5537     case $host_cpu in
5538     i*86 )
5539       # Not sure whether the presence of OpenBSD here was a mistake.
5540       # Let's accept both of them until this is cleared up.
5541       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5542       lt_cv_file_magic_cmd=/usr/bin/file
5543       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5544       ;;
5545     esac
5546   else
5547     lt_cv_deplibs_check_method=pass_all
5548   fi
5549   ;;
5550
5551 haiku*)
5552   lt_cv_deplibs_check_method=pass_all
5553   ;;
5554
5555 hpux10.20* | hpux11*)
5556   lt_cv_file_magic_cmd=/usr/bin/file
5557   case $host_cpu in
5558   ia64*)
5559     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5560     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5561     ;;
5562   hppa*64*)
5563     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]'
5564     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5565     ;;
5566   *)
5567     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5568     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5569     ;;
5570   esac
5571   ;;
5572
5573 interix[3-9]*)
5574   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5575   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5576   ;;
5577
5578 irix5* | irix6* | nonstopux*)
5579   case $LD in
5580   *-32|*"-32 ") libmagic=32-bit;;
5581   *-n32|*"-n32 ") libmagic=N32;;
5582   *-64|*"-64 ") libmagic=64-bit;;
5583   *) libmagic=never-match;;
5584   esac
5585   lt_cv_deplibs_check_method=pass_all
5586   ;;
5587
5588 # This must be glibc/ELF.
5589 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5590   lt_cv_deplibs_check_method=pass_all
5591   ;;
5592
5593 netbsd* | netbsdelf*-gnu)
5594   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5595     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5596   else
5597     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5598   fi
5599   ;;
5600
5601 newos6*)
5602   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5603   lt_cv_file_magic_cmd=/usr/bin/file
5604   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5605   ;;
5606
5607 *nto* | *qnx*)
5608   lt_cv_deplibs_check_method=pass_all
5609   ;;
5610
5611 openbsd*)
5612   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5613     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5614   else
5615     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5616   fi
5617   ;;
5618
5619 osf3* | osf4* | osf5*)
5620   lt_cv_deplibs_check_method=pass_all
5621   ;;
5622
5623 rdos*)
5624   lt_cv_deplibs_check_method=pass_all
5625   ;;
5626
5627 solaris*)
5628   lt_cv_deplibs_check_method=pass_all
5629   ;;
5630
5631 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5632   lt_cv_deplibs_check_method=pass_all
5633   ;;
5634
5635 sysv4 | sysv4.3*)
5636   case $host_vendor in
5637   motorola)
5638     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]'
5639     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5640     ;;
5641   ncr)
5642     lt_cv_deplibs_check_method=pass_all
5643     ;;
5644   sequent)
5645     lt_cv_file_magic_cmd='/bin/file'
5646     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5647     ;;
5648   sni)
5649     lt_cv_file_magic_cmd='/bin/file'
5650     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5651     lt_cv_file_magic_test_file=/lib/libc.so
5652     ;;
5653   siemens)
5654     lt_cv_deplibs_check_method=pass_all
5655     ;;
5656   pc)
5657     lt_cv_deplibs_check_method=pass_all
5658     ;;
5659   esac
5660   ;;
5661
5662 tpf*)
5663   lt_cv_deplibs_check_method=pass_all
5664   ;;
5665 esac
5666
5667 fi
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5669 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5670
5671 file_magic_glob=
5672 want_nocaseglob=no
5673 if test "$build" = "$host"; then
5674   case $host_os in
5675   mingw* | pw32*)
5676     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5677       want_nocaseglob=yes
5678     else
5679       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5680     fi
5681     ;;
5682   esac
5683 fi
5684
5685 file_magic_cmd=$lt_cv_file_magic_cmd
5686 deplibs_check_method=$lt_cv_deplibs_check_method
5687 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710 if test -n "$ac_tool_prefix"; then
5711   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5712 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5714 $as_echo_n "checking for $ac_word... " >&6; }
5715 if ${ac_cv_prog_DLLTOOL+:} false; then :
5716   $as_echo_n "(cached) " >&6
5717 else
5718   if test -n "$DLLTOOL"; then
5719   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5720 else
5721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5722 for as_dir in $PATH
5723 do
5724   IFS=$as_save_IFS
5725   test -z "$as_dir" && as_dir=.
5726     for ac_exec_ext in '' $ac_executable_extensions; do
5727   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5728     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5729     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5730     break 2
5731   fi
5732 done
5733   done
5734 IFS=$as_save_IFS
5735
5736 fi
5737 fi
5738 DLLTOOL=$ac_cv_prog_DLLTOOL
5739 if test -n "$DLLTOOL"; then
5740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5741 $as_echo "$DLLTOOL" >&6; }
5742 else
5743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5744 $as_echo "no" >&6; }
5745 fi
5746
5747
5748 fi
5749 if test -z "$ac_cv_prog_DLLTOOL"; then
5750   ac_ct_DLLTOOL=$DLLTOOL
5751   # Extract the first word of "dlltool", so it can be a program name with args.
5752 set dummy dlltool; ac_word=$2
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5754 $as_echo_n "checking for $ac_word... " >&6; }
5755 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5756   $as_echo_n "(cached) " >&6
5757 else
5758   if test -n "$ac_ct_DLLTOOL"; then
5759   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5760 else
5761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5762 for as_dir in $PATH
5763 do
5764   IFS=$as_save_IFS
5765   test -z "$as_dir" && as_dir=.
5766     for ac_exec_ext in '' $ac_executable_extensions; do
5767   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5768     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5769     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5770     break 2
5771   fi
5772 done
5773   done
5774 IFS=$as_save_IFS
5775
5776 fi
5777 fi
5778 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5779 if test -n "$ac_ct_DLLTOOL"; then
5780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5781 $as_echo "$ac_ct_DLLTOOL" >&6; }
5782 else
5783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5784 $as_echo "no" >&6; }
5785 fi
5786
5787   if test "x$ac_ct_DLLTOOL" = x; then
5788     DLLTOOL="false"
5789   else
5790     case $cross_compiling:$ac_tool_warned in
5791 yes:)
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5793 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5794 ac_tool_warned=yes ;;
5795 esac
5796     DLLTOOL=$ac_ct_DLLTOOL
5797   fi
5798 else
5799   DLLTOOL="$ac_cv_prog_DLLTOOL"
5800 fi
5801
5802 test -z "$DLLTOOL" && DLLTOOL=dlltool
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5814 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5815 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5816   $as_echo_n "(cached) " >&6
5817 else
5818   lt_cv_sharedlib_from_linklib_cmd='unknown'
5819
5820 case $host_os in
5821 cygwin* | mingw* | pw32* | cegcc*)
5822   # two different shell functions defined in ltmain.sh
5823   # decide which to use based on capabilities of $DLLTOOL
5824   case `$DLLTOOL --help 2>&1` in
5825   *--identify-strict*)
5826     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5827     ;;
5828   *)
5829     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5830     ;;
5831   esac
5832   ;;
5833 *)
5834   # fallback: assume linklib IS sharedlib
5835   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5836   ;;
5837 esac
5838
5839 fi
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5841 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5842 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5843 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5844
5845
5846
5847
5848
5849
5850
5851 if test -n "$ac_tool_prefix"; then
5852   for ac_prog in ar
5853   do
5854     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5855 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5857 $as_echo_n "checking for $ac_word... " >&6; }
5858 if ${ac_cv_prog_AR+:} false; then :
5859   $as_echo_n "(cached) " >&6
5860 else
5861   if test -n "$AR"; then
5862   ac_cv_prog_AR="$AR" # Let the user override the test.
5863 else
5864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5865 for as_dir in $PATH
5866 do
5867   IFS=$as_save_IFS
5868   test -z "$as_dir" && as_dir=.
5869     for ac_exec_ext in '' $ac_executable_extensions; do
5870   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5871     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5872     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5873     break 2
5874   fi
5875 done
5876   done
5877 IFS=$as_save_IFS
5878
5879 fi
5880 fi
5881 AR=$ac_cv_prog_AR
5882 if test -n "$AR"; then
5883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5884 $as_echo "$AR" >&6; }
5885 else
5886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5887 $as_echo "no" >&6; }
5888 fi
5889
5890
5891     test -n "$AR" && break
5892   done
5893 fi
5894 if test -z "$AR"; then
5895   ac_ct_AR=$AR
5896   for ac_prog in ar
5897 do
5898   # Extract the first word of "$ac_prog", so it can be a program name with args.
5899 set dummy $ac_prog; ac_word=$2
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5901 $as_echo_n "checking for $ac_word... " >&6; }
5902 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5903   $as_echo_n "(cached) " >&6
5904 else
5905   if test -n "$ac_ct_AR"; then
5906   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5907 else
5908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5909 for as_dir in $PATH
5910 do
5911   IFS=$as_save_IFS
5912   test -z "$as_dir" && as_dir=.
5913     for ac_exec_ext in '' $ac_executable_extensions; do
5914   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5915     ac_cv_prog_ac_ct_AR="$ac_prog"
5916     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5917     break 2
5918   fi
5919 done
5920   done
5921 IFS=$as_save_IFS
5922
5923 fi
5924 fi
5925 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5926 if test -n "$ac_ct_AR"; then
5927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5928 $as_echo "$ac_ct_AR" >&6; }
5929 else
5930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5931 $as_echo "no" >&6; }
5932 fi
5933
5934
5935   test -n "$ac_ct_AR" && break
5936 done
5937
5938   if test "x$ac_ct_AR" = x; then
5939     AR="false"
5940   else
5941     case $cross_compiling:$ac_tool_warned in
5942 yes:)
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5944 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5945 ac_tool_warned=yes ;;
5946 esac
5947     AR=$ac_ct_AR
5948   fi
5949 fi
5950
5951 : ${AR=ar}
5952 : ${AR_FLAGS=cru}
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5965 $as_echo_n "checking for archiver @FILE support... " >&6; }
5966 if ${lt_cv_ar_at_file+:} false; then :
5967   $as_echo_n "(cached) " >&6
5968 else
5969   lt_cv_ar_at_file=no
5970    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5971 /* end confdefs.h.  */
5972
5973 int
5974 main ()
5975 {
5976
5977   ;
5978   return 0;
5979 }
5980 _ACEOF
5981 if ac_fn_c_try_compile "$LINENO"; then :
5982   echo conftest.$ac_objext > conftest.lst
5983       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5984       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5985   (eval $lt_ar_try) 2>&5
5986   ac_status=$?
5987   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5988   test $ac_status = 0; }
5989       if test "$ac_status" -eq 0; then
5990         # Ensure the archiver fails upon bogus file names.
5991         rm -f conftest.$ac_objext libconftest.a
5992         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5993   (eval $lt_ar_try) 2>&5
5994   ac_status=$?
5995   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5996   test $ac_status = 0; }
5997         if test "$ac_status" -ne 0; then
5998           lt_cv_ar_at_file=@
5999         fi
6000       fi
6001       rm -f conftest.* libconftest.a
6002
6003 fi
6004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6005
6006 fi
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6008 $as_echo "$lt_cv_ar_at_file" >&6; }
6009
6010 if test "x$lt_cv_ar_at_file" = xno; then
6011   archiver_list_spec=
6012 else
6013   archiver_list_spec=$lt_cv_ar_at_file
6014 fi
6015
6016
6017
6018
6019
6020
6021
6022 if test -n "$ac_tool_prefix"; then
6023   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6024 set dummy ${ac_tool_prefix}strip; ac_word=$2
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6026 $as_echo_n "checking for $ac_word... " >&6; }
6027 if ${ac_cv_prog_STRIP+:} false; then :
6028   $as_echo_n "(cached) " >&6
6029 else
6030   if test -n "$STRIP"; then
6031   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6032 else
6033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6034 for as_dir in $PATH
6035 do
6036   IFS=$as_save_IFS
6037   test -z "$as_dir" && as_dir=.
6038     for ac_exec_ext in '' $ac_executable_extensions; do
6039   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6040     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6041     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6042     break 2
6043   fi
6044 done
6045   done
6046 IFS=$as_save_IFS
6047
6048 fi
6049 fi
6050 STRIP=$ac_cv_prog_STRIP
6051 if test -n "$STRIP"; then
6052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6053 $as_echo "$STRIP" >&6; }
6054 else
6055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6056 $as_echo "no" >&6; }
6057 fi
6058
6059
6060 fi
6061 if test -z "$ac_cv_prog_STRIP"; then
6062   ac_ct_STRIP=$STRIP
6063   # Extract the first word of "strip", so it can be a program name with args.
6064 set dummy strip; ac_word=$2
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6066 $as_echo_n "checking for $ac_word... " >&6; }
6067 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6068   $as_echo_n "(cached) " >&6
6069 else
6070   if test -n "$ac_ct_STRIP"; then
6071   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6072 else
6073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6074 for as_dir in $PATH
6075 do
6076   IFS=$as_save_IFS
6077   test -z "$as_dir" && as_dir=.
6078     for ac_exec_ext in '' $ac_executable_extensions; do
6079   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6080     ac_cv_prog_ac_ct_STRIP="strip"
6081     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6082     break 2
6083   fi
6084 done
6085   done
6086 IFS=$as_save_IFS
6087
6088 fi
6089 fi
6090 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6091 if test -n "$ac_ct_STRIP"; then
6092   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6093 $as_echo "$ac_ct_STRIP" >&6; }
6094 else
6095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6096 $as_echo "no" >&6; }
6097 fi
6098
6099   if test "x$ac_ct_STRIP" = x; then
6100     STRIP=":"
6101   else
6102     case $cross_compiling:$ac_tool_warned in
6103 yes:)
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6105 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6106 ac_tool_warned=yes ;;
6107 esac
6108     STRIP=$ac_ct_STRIP
6109   fi
6110 else
6111   STRIP="$ac_cv_prog_STRIP"
6112 fi
6113
6114 test -z "$STRIP" && STRIP=:
6115
6116
6117
6118
6119
6120
6121 if test -n "$ac_tool_prefix"; then
6122   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6123 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6125 $as_echo_n "checking for $ac_word... " >&6; }
6126 if ${ac_cv_prog_RANLIB+:} false; then :
6127   $as_echo_n "(cached) " >&6
6128 else
6129   if test -n "$RANLIB"; then
6130   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6131 else
6132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6133 for as_dir in $PATH
6134 do
6135   IFS=$as_save_IFS
6136   test -z "$as_dir" && as_dir=.
6137     for ac_exec_ext in '' $ac_executable_extensions; do
6138   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6139     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6140     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6141     break 2
6142   fi
6143 done
6144   done
6145 IFS=$as_save_IFS
6146
6147 fi
6148 fi
6149 RANLIB=$ac_cv_prog_RANLIB
6150 if test -n "$RANLIB"; then
6151   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6152 $as_echo "$RANLIB" >&6; }
6153 else
6154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6155 $as_echo "no" >&6; }
6156 fi
6157
6158
6159 fi
6160 if test -z "$ac_cv_prog_RANLIB"; then
6161   ac_ct_RANLIB=$RANLIB
6162   # Extract the first word of "ranlib", so it can be a program name with args.
6163 set dummy ranlib; ac_word=$2
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6165 $as_echo_n "checking for $ac_word... " >&6; }
6166 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6167   $as_echo_n "(cached) " >&6
6168 else
6169   if test -n "$ac_ct_RANLIB"; then
6170   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6171 else
6172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6173 for as_dir in $PATH
6174 do
6175   IFS=$as_save_IFS
6176   test -z "$as_dir" && as_dir=.
6177     for ac_exec_ext in '' $ac_executable_extensions; do
6178   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6179     ac_cv_prog_ac_ct_RANLIB="ranlib"
6180     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6181     break 2
6182   fi
6183 done
6184   done
6185 IFS=$as_save_IFS
6186
6187 fi
6188 fi
6189 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6190 if test -n "$ac_ct_RANLIB"; then
6191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6192 $as_echo "$ac_ct_RANLIB" >&6; }
6193 else
6194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6195 $as_echo "no" >&6; }
6196 fi
6197
6198   if test "x$ac_ct_RANLIB" = x; then
6199     RANLIB=":"
6200   else
6201     case $cross_compiling:$ac_tool_warned in
6202 yes:)
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6204 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6205 ac_tool_warned=yes ;;
6206 esac
6207     RANLIB=$ac_ct_RANLIB
6208   fi
6209 else
6210   RANLIB="$ac_cv_prog_RANLIB"
6211 fi
6212
6213 test -z "$RANLIB" && RANLIB=:
6214
6215
6216
6217
6218
6219
6220 # Determine commands to create old-style static archives.
6221 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6222 old_postinstall_cmds='chmod 644 $oldlib'
6223 old_postuninstall_cmds=
6224
6225 if test -n "$RANLIB"; then
6226   case $host_os in
6227   openbsd*)
6228     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6229     ;;
6230   *)
6231     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6232     ;;
6233   esac
6234   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6235 fi
6236
6237 case $host_os in
6238   darwin*)
6239     lock_old_archive_extraction=yes ;;
6240   *)
6241     lock_old_archive_extraction=no ;;
6242 esac
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282 # If no C compiler was specified, use CC.
6283 LTCC=${LTCC-"$CC"}
6284
6285 # If no C compiler flags were specified, use CFLAGS.
6286 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6287
6288 # Allow CC to be a program name with arguments.
6289 compiler=$CC
6290
6291
6292 # Check for command to grab the raw symbol name followed by C symbol from nm.
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6294 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6295 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6296   $as_echo_n "(cached) " >&6
6297 else
6298
6299 # These are sane defaults that work on at least a few old systems.
6300 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6301
6302 # Character class describing NM global symbol codes.
6303 symcode='[BCDEGRST]'
6304
6305 # Regexp to match symbols that can be accessed directly from C.
6306 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6307
6308 # Define system-specific variables.
6309 case $host_os in
6310 aix*)
6311   symcode='[BCDT]'
6312   ;;
6313 cygwin* | mingw* | pw32* | cegcc*)
6314   symcode='[ABCDGISTW]'
6315   ;;
6316 hpux*)
6317   if test "$host_cpu" = ia64; then
6318     symcode='[ABCDEGRST]'
6319   fi
6320   ;;
6321 irix* | nonstopux*)
6322   symcode='[BCDEGRST]'
6323   ;;
6324 osf*)
6325   symcode='[BCDEGQRST]'
6326   ;;
6327 solaris*)
6328   symcode='[BDRT]'
6329   ;;
6330 sco3.2v5*)
6331   symcode='[DT]'
6332   ;;
6333 sysv4.2uw2*)
6334   symcode='[DT]'
6335   ;;
6336 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6337   symcode='[ABDT]'
6338   ;;
6339 sysv4)
6340   symcode='[DFNSTU]'
6341   ;;
6342 esac
6343
6344 # If we're using GNU nm, then use its standard symbol codes.
6345 case `$NM -V 2>&1` in
6346 *GNU* | *'with BFD'*)
6347   symcode='[ABCDGIRSTW]' ;;
6348 esac
6349
6350 # Transform an extracted symbol line into a proper C declaration.
6351 # Some systems (esp. on ia64) link data and code symbols differently,
6352 # so use this general approach.
6353 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6354
6355 # Transform an extracted symbol line into symbol name and symbol address
6356 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6357 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'"
6358
6359 # Handle CRLF in mingw tool chain
6360 opt_cr=
6361 case $build_os in
6362 mingw*)
6363   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6364   ;;
6365 esac
6366
6367 # Try without a prefix underscore, then with it.
6368 for ac_symprfx in "" "_"; do
6369
6370   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6371   symxfrm="\\1 $ac_symprfx\\2 \\2"
6372
6373   # Write the raw and C identifiers.
6374   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6375     # Fake it for dumpbin and say T for any non-static function
6376     # and D for any global variable.
6377     # Also find C++ and __fastcall symbols from MSVC++,
6378     # which start with @ or ?.
6379     lt_cv_sys_global_symbol_pipe="$AWK '"\
6380 "     {last_section=section; section=\$ 3};"\
6381 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6382 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6383 "     \$ 0!~/External *\|/{next};"\
6384 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6385 "     {if(hide[section]) next};"\
6386 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6387 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6388 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6389 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6390 "     ' prfx=^$ac_symprfx"
6391   else
6392     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6393   fi
6394   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6395
6396   # Check to see that the pipe works correctly.
6397   pipe_works=no
6398
6399   rm -f conftest*
6400   cat > conftest.$ac_ext <<_LT_EOF
6401 #ifdef __cplusplus
6402 extern "C" {
6403 #endif
6404 char nm_test_var;
6405 void nm_test_func(void);
6406 void nm_test_func(void){}
6407 #ifdef __cplusplus
6408 }
6409 #endif
6410 int main(){nm_test_var='a';nm_test_func();return(0);}
6411 _LT_EOF
6412
6413   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6414   (eval $ac_compile) 2>&5
6415   ac_status=$?
6416   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6417   test $ac_status = 0; }; then
6418     # Now try to grab the symbols.
6419     nlist=conftest.nm
6420     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6421   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6422   ac_status=$?
6423   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6424   test $ac_status = 0; } && test -s "$nlist"; then
6425       # Try sorting and uniquifying the output.
6426       if sort "$nlist" | uniq > "$nlist"T; then
6427         mv -f "$nlist"T "$nlist"
6428       else
6429         rm -f "$nlist"T
6430       fi
6431
6432       # Make sure that we snagged all the symbols we need.
6433       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6434         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6435           cat <<_LT_EOF > conftest.$ac_ext
6436 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6437 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6438 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6439    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6440 # define LT_DLSYM_CONST
6441 #elif defined(__osf__)
6442 /* This system does not cope well with relocations in const data.  */
6443 # define LT_DLSYM_CONST
6444 #else
6445 # define LT_DLSYM_CONST const
6446 #endif
6447
6448 #ifdef __cplusplus
6449 extern "C" {
6450 #endif
6451
6452 _LT_EOF
6453           # Now generate the symbol file.
6454           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6455
6456           cat <<_LT_EOF >> conftest.$ac_ext
6457
6458 /* The mapping between symbol names and symbols.  */
6459 LT_DLSYM_CONST struct {
6460   const char *name;
6461   void       *address;
6462 }
6463 lt__PROGRAM__LTX_preloaded_symbols[] =
6464 {
6465   { "@PROGRAM@", (void *) 0 },
6466 _LT_EOF
6467           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6468           cat <<\_LT_EOF >> conftest.$ac_ext
6469   {0, (void *) 0}
6470 };
6471
6472 /* This works around a problem in FreeBSD linker */
6473 #ifdef FREEBSD_WORKAROUND
6474 static const void *lt_preloaded_setup() {
6475   return lt__PROGRAM__LTX_preloaded_symbols;
6476 }
6477 #endif
6478
6479 #ifdef __cplusplus
6480 }
6481 #endif
6482 _LT_EOF
6483           # Now try linking the two files.
6484           mv conftest.$ac_objext conftstm.$ac_objext
6485           lt_globsym_save_LIBS=$LIBS
6486           lt_globsym_save_CFLAGS=$CFLAGS
6487           LIBS="conftstm.$ac_objext"
6488           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6489           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6490   (eval $ac_link) 2>&5
6491   ac_status=$?
6492   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6493   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6494             pipe_works=yes
6495           fi
6496           LIBS=$lt_globsym_save_LIBS
6497           CFLAGS=$lt_globsym_save_CFLAGS
6498         else
6499           echo "cannot find nm_test_func in $nlist" >&5
6500         fi
6501       else
6502         echo "cannot find nm_test_var in $nlist" >&5
6503       fi
6504     else
6505       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6506     fi
6507   else
6508     echo "$progname: failed program was:" >&5
6509     cat conftest.$ac_ext >&5
6510   fi
6511   rm -rf conftest* conftst*
6512
6513   # Do not use the global_symbol_pipe unless it works.
6514   if test "$pipe_works" = yes; then
6515     break
6516   else
6517     lt_cv_sys_global_symbol_pipe=
6518   fi
6519 done
6520
6521 fi
6522
6523 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6524   lt_cv_sys_global_symbol_to_cdecl=
6525 fi
6526 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6528 $as_echo "failed" >&6; }
6529 else
6530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6531 $as_echo "ok" >&6; }
6532 fi
6533
6534 # Response file support.
6535 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6536   nm_file_list_spec='@'
6537 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6538   nm_file_list_spec='@'
6539 fi
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6568 $as_echo_n "checking for sysroot... " >&6; }
6569
6570 # Check whether --with-sysroot was given.
6571 if test "${with_sysroot+set}" = set; then :
6572   withval=$with_sysroot;
6573 else
6574   with_sysroot=no
6575 fi
6576
6577
6578 lt_sysroot=
6579 case ${with_sysroot} in #(
6580  yes)
6581    if test "$GCC" = yes; then
6582      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6583    fi
6584    ;; #(
6585  /*)
6586    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6587    ;; #(
6588  no|'')
6589    ;; #(
6590  *)
6591    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6592 $as_echo "${with_sysroot}" >&6; }
6593    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6594    ;;
6595 esac
6596
6597  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6598 $as_echo "${lt_sysroot:-no}" >&6; }
6599
6600
6601
6602
6603
6604 # Check whether --enable-libtool-lock was given.
6605 if test "${enable_libtool_lock+set}" = set; then :
6606   enableval=$enable_libtool_lock;
6607 fi
6608
6609 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6610
6611 # Some flags need to be propagated to the compiler or linker for good
6612 # libtool support.
6613 case $host in
6614 ia64-*-hpux*)
6615   # Find out which ABI we are using.
6616   echo 'int i;' > conftest.$ac_ext
6617   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6618   (eval $ac_compile) 2>&5
6619   ac_status=$?
6620   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6621   test $ac_status = 0; }; then
6622     case `/usr/bin/file conftest.$ac_objext` in
6623       *ELF-32*)
6624         HPUX_IA64_MODE="32"
6625         ;;
6626       *ELF-64*)
6627         HPUX_IA64_MODE="64"
6628         ;;
6629     esac
6630   fi
6631   rm -rf conftest*
6632   ;;
6633 *-*-irix6*)
6634   # Find out which ABI we are using.
6635   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6636   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6637   (eval $ac_compile) 2>&5
6638   ac_status=$?
6639   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6640   test $ac_status = 0; }; then
6641     if test "$lt_cv_prog_gnu_ld" = yes; then
6642       case `/usr/bin/file conftest.$ac_objext` in
6643         *32-bit*)
6644           LD="${LD-ld} -melf32bsmip"
6645           ;;
6646         *N32*)
6647           LD="${LD-ld} -melf32bmipn32"
6648           ;;
6649         *64-bit*)
6650           LD="${LD-ld} -melf64bmip"
6651         ;;
6652       esac
6653     else
6654       case `/usr/bin/file conftest.$ac_objext` in
6655         *32-bit*)
6656           LD="${LD-ld} -32"
6657           ;;
6658         *N32*)
6659           LD="${LD-ld} -n32"
6660           ;;
6661         *64-bit*)
6662           LD="${LD-ld} -64"
6663           ;;
6664       esac
6665     fi
6666   fi
6667   rm -rf conftest*
6668   ;;
6669
6670 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6671 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6672   # Find out which ABI we are using.
6673   echo 'int i;' > conftest.$ac_ext
6674   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6675   (eval $ac_compile) 2>&5
6676   ac_status=$?
6677   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6678   test $ac_status = 0; }; then
6679     case `/usr/bin/file conftest.o` in
6680       *32-bit*)
6681         case $host in
6682           x86_64-*kfreebsd*-gnu)
6683             LD="${LD-ld} -m elf_i386_fbsd"
6684             ;;
6685           x86_64-*linux*)
6686             case `/usr/bin/file conftest.o` in
6687               *x86-64*)
6688                 LD="${LD-ld} -m elf32_x86_64"
6689                 ;;
6690               *)
6691                 LD="${LD-ld} -m elf_i386"
6692                 ;;
6693             esac
6694             ;;
6695           powerpc64le-*)
6696             LD="${LD-ld} -m elf32lppclinux"
6697             ;;
6698           powerpc64-*)
6699             LD="${LD-ld} -m elf32ppclinux"
6700             ;;
6701           s390x-*linux*)
6702             LD="${LD-ld} -m elf_s390"
6703             ;;
6704           sparc64-*linux*)
6705             LD="${LD-ld} -m elf32_sparc"
6706             ;;
6707         esac
6708         ;;
6709       *64-bit*)
6710         case $host in
6711           x86_64-*kfreebsd*-gnu)
6712             LD="${LD-ld} -m elf_x86_64_fbsd"
6713             ;;
6714           x86_64-*linux*)
6715             LD="${LD-ld} -m elf_x86_64"
6716             ;;
6717           powerpcle-*)
6718             LD="${LD-ld} -m elf64lppc"
6719             ;;
6720           powerpc-*)
6721             LD="${LD-ld} -m elf64ppc"
6722             ;;
6723           s390*-*linux*|s390*-*tpf*)
6724             LD="${LD-ld} -m elf64_s390"
6725             ;;
6726           sparc*-*linux*)
6727             LD="${LD-ld} -m elf64_sparc"
6728             ;;
6729         esac
6730         ;;
6731     esac
6732   fi
6733   rm -rf conftest*
6734   ;;
6735
6736 *-*-sco3.2v5*)
6737   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6738   SAVE_CFLAGS="$CFLAGS"
6739   CFLAGS="$CFLAGS -belf"
6740   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6741 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6742 if ${lt_cv_cc_needs_belf+:} false; then :
6743   $as_echo_n "(cached) " >&6
6744 else
6745   ac_ext=c
6746 ac_cpp='$CPP $CPPFLAGS'
6747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6750
6751      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6752 /* end confdefs.h.  */
6753
6754 int
6755 main ()
6756 {
6757
6758   ;
6759   return 0;
6760 }
6761 _ACEOF
6762 if ac_fn_c_try_link "$LINENO"; then :
6763   lt_cv_cc_needs_belf=yes
6764 else
6765   lt_cv_cc_needs_belf=no
6766 fi
6767 rm -f core conftest.err conftest.$ac_objext \
6768     conftest$ac_exeext conftest.$ac_ext
6769      ac_ext=c
6770 ac_cpp='$CPP $CPPFLAGS'
6771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6774
6775 fi
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6777 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6778   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6779     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6780     CFLAGS="$SAVE_CFLAGS"
6781   fi
6782   ;;
6783 *-*solaris*)
6784   # Find out which ABI we are using.
6785   echo 'int i;' > conftest.$ac_ext
6786   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6787   (eval $ac_compile) 2>&5
6788   ac_status=$?
6789   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6790   test $ac_status = 0; }; then
6791     case `/usr/bin/file conftest.o` in
6792     *64-bit*)
6793       case $lt_cv_prog_gnu_ld in
6794       yes*)
6795         case $host in
6796         i?86-*-solaris*)
6797           LD="${LD-ld} -m elf_x86_64"
6798           ;;
6799         sparc*-*-solaris*)
6800           LD="${LD-ld} -m elf64_sparc"
6801           ;;
6802         esac
6803         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6804         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6805           LD="${LD-ld}_sol2"
6806         fi
6807         ;;
6808       *)
6809         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6810           LD="${LD-ld} -64"
6811         fi
6812         ;;
6813       esac
6814       ;;
6815     esac
6816   fi
6817   rm -rf conftest*
6818   ;;
6819 esac
6820
6821 need_locks="$enable_libtool_lock"
6822
6823 if test -n "$ac_tool_prefix"; then
6824   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6825 set dummy ${ac_tool_prefix}mt; ac_word=$2
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6827 $as_echo_n "checking for $ac_word... " >&6; }
6828 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6829   $as_echo_n "(cached) " >&6
6830 else
6831   if test -n "$MANIFEST_TOOL"; then
6832   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6833 else
6834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6835 for as_dir in $PATH
6836 do
6837   IFS=$as_save_IFS
6838   test -z "$as_dir" && as_dir=.
6839     for ac_exec_ext in '' $ac_executable_extensions; do
6840   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6841     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6842     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6843     break 2
6844   fi
6845 done
6846   done
6847 IFS=$as_save_IFS
6848
6849 fi
6850 fi
6851 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6852 if test -n "$MANIFEST_TOOL"; then
6853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6854 $as_echo "$MANIFEST_TOOL" >&6; }
6855 else
6856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6857 $as_echo "no" >&6; }
6858 fi
6859
6860
6861 fi
6862 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6863   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6864   # Extract the first word of "mt", so it can be a program name with args.
6865 set dummy mt; ac_word=$2
6866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6867 $as_echo_n "checking for $ac_word... " >&6; }
6868 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6869   $as_echo_n "(cached) " >&6
6870 else
6871   if test -n "$ac_ct_MANIFEST_TOOL"; then
6872   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6873 else
6874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6875 for as_dir in $PATH
6876 do
6877   IFS=$as_save_IFS
6878   test -z "$as_dir" && as_dir=.
6879     for ac_exec_ext in '' $ac_executable_extensions; do
6880   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6881     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6882     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6883     break 2
6884   fi
6885 done
6886   done
6887 IFS=$as_save_IFS
6888
6889 fi
6890 fi
6891 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6892 if test -n "$ac_ct_MANIFEST_TOOL"; then
6893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6894 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6895 else
6896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6897 $as_echo "no" >&6; }
6898 fi
6899
6900   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6901     MANIFEST_TOOL=":"
6902   else
6903     case $cross_compiling:$ac_tool_warned in
6904 yes:)
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6906 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6907 ac_tool_warned=yes ;;
6908 esac
6909     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6910   fi
6911 else
6912   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6913 fi
6914
6915 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6917 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6918 if ${lt_cv_path_mainfest_tool+:} false; then :
6919   $as_echo_n "(cached) " >&6
6920 else
6921   lt_cv_path_mainfest_tool=no
6922   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6923   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6924   cat conftest.err >&5
6925   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6926     lt_cv_path_mainfest_tool=yes
6927   fi
6928   rm -f conftest*
6929 fi
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6931 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6932 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6933   MANIFEST_TOOL=:
6934 fi
6935
6936
6937
6938
6939
6940
6941   case $host_os in
6942     rhapsody* | darwin*)
6943     if test -n "$ac_tool_prefix"; then
6944   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6945 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6947 $as_echo_n "checking for $ac_word... " >&6; }
6948 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6949   $as_echo_n "(cached) " >&6
6950 else
6951   if test -n "$DSYMUTIL"; then
6952   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6953 else
6954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6955 for as_dir in $PATH
6956 do
6957   IFS=$as_save_IFS
6958   test -z "$as_dir" && as_dir=.
6959     for ac_exec_ext in '' $ac_executable_extensions; do
6960   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6961     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6962     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6963     break 2
6964   fi
6965 done
6966   done
6967 IFS=$as_save_IFS
6968
6969 fi
6970 fi
6971 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6972 if test -n "$DSYMUTIL"; then
6973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6974 $as_echo "$DSYMUTIL" >&6; }
6975 else
6976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6977 $as_echo "no" >&6; }
6978 fi
6979
6980
6981 fi
6982 if test -z "$ac_cv_prog_DSYMUTIL"; then
6983   ac_ct_DSYMUTIL=$DSYMUTIL
6984   # Extract the first word of "dsymutil", so it can be a program name with args.
6985 set dummy dsymutil; ac_word=$2
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6987 $as_echo_n "checking for $ac_word... " >&6; }
6988 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6989   $as_echo_n "(cached) " >&6
6990 else
6991   if test -n "$ac_ct_DSYMUTIL"; then
6992   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6993 else
6994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6995 for as_dir in $PATH
6996 do
6997   IFS=$as_save_IFS
6998   test -z "$as_dir" && as_dir=.
6999     for ac_exec_ext in '' $ac_executable_extensions; do
7000   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7001     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7002     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7003     break 2
7004   fi
7005 done
7006   done
7007 IFS=$as_save_IFS
7008
7009 fi
7010 fi
7011 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7012 if test -n "$ac_ct_DSYMUTIL"; then
7013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7014 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7015 else
7016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7017 $as_echo "no" >&6; }
7018 fi
7019
7020   if test "x$ac_ct_DSYMUTIL" = x; then
7021     DSYMUTIL=":"
7022   else
7023     case $cross_compiling:$ac_tool_warned in
7024 yes:)
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7026 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7027 ac_tool_warned=yes ;;
7028 esac
7029     DSYMUTIL=$ac_ct_DSYMUTIL
7030   fi
7031 else
7032   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7033 fi
7034
7035     if test -n "$ac_tool_prefix"; then
7036   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7037 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7039 $as_echo_n "checking for $ac_word... " >&6; }
7040 if ${ac_cv_prog_NMEDIT+:} false; then :
7041   $as_echo_n "(cached) " >&6
7042 else
7043   if test -n "$NMEDIT"; then
7044   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7045 else
7046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7047 for as_dir in $PATH
7048 do
7049   IFS=$as_save_IFS
7050   test -z "$as_dir" && as_dir=.
7051     for ac_exec_ext in '' $ac_executable_extensions; do
7052   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7053     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7054     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7055     break 2
7056   fi
7057 done
7058   done
7059 IFS=$as_save_IFS
7060
7061 fi
7062 fi
7063 NMEDIT=$ac_cv_prog_NMEDIT
7064 if test -n "$NMEDIT"; then
7065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7066 $as_echo "$NMEDIT" >&6; }
7067 else
7068   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7069 $as_echo "no" >&6; }
7070 fi
7071
7072
7073 fi
7074 if test -z "$ac_cv_prog_NMEDIT"; then
7075   ac_ct_NMEDIT=$NMEDIT
7076   # Extract the first word of "nmedit", so it can be a program name with args.
7077 set dummy nmedit; ac_word=$2
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7079 $as_echo_n "checking for $ac_word... " >&6; }
7080 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7081   $as_echo_n "(cached) " >&6
7082 else
7083   if test -n "$ac_ct_NMEDIT"; then
7084   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7085 else
7086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7087 for as_dir in $PATH
7088 do
7089   IFS=$as_save_IFS
7090   test -z "$as_dir" && as_dir=.
7091     for ac_exec_ext in '' $ac_executable_extensions; do
7092   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7093     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7094     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7095     break 2
7096   fi
7097 done
7098   done
7099 IFS=$as_save_IFS
7100
7101 fi
7102 fi
7103 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7104 if test -n "$ac_ct_NMEDIT"; then
7105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7106 $as_echo "$ac_ct_NMEDIT" >&6; }
7107 else
7108   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7109 $as_echo "no" >&6; }
7110 fi
7111
7112   if test "x$ac_ct_NMEDIT" = x; then
7113     NMEDIT=":"
7114   else
7115     case $cross_compiling:$ac_tool_warned in
7116 yes:)
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7118 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7119 ac_tool_warned=yes ;;
7120 esac
7121     NMEDIT=$ac_ct_NMEDIT
7122   fi
7123 else
7124   NMEDIT="$ac_cv_prog_NMEDIT"
7125 fi
7126
7127     if test -n "$ac_tool_prefix"; then
7128   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7129 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7131 $as_echo_n "checking for $ac_word... " >&6; }
7132 if ${ac_cv_prog_LIPO+:} false; then :
7133   $as_echo_n "(cached) " >&6
7134 else
7135   if test -n "$LIPO"; then
7136   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7137 else
7138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7139 for as_dir in $PATH
7140 do
7141   IFS=$as_save_IFS
7142   test -z "$as_dir" && as_dir=.
7143     for ac_exec_ext in '' $ac_executable_extensions; do
7144   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7145     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7146     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7147     break 2
7148   fi
7149 done
7150   done
7151 IFS=$as_save_IFS
7152
7153 fi
7154 fi
7155 LIPO=$ac_cv_prog_LIPO
7156 if test -n "$LIPO"; then
7157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7158 $as_echo "$LIPO" >&6; }
7159 else
7160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7161 $as_echo "no" >&6; }
7162 fi
7163
7164
7165 fi
7166 if test -z "$ac_cv_prog_LIPO"; then
7167   ac_ct_LIPO=$LIPO
7168   # Extract the first word of "lipo", so it can be a program name with args.
7169 set dummy lipo; ac_word=$2
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7171 $as_echo_n "checking for $ac_word... " >&6; }
7172 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7173   $as_echo_n "(cached) " >&6
7174 else
7175   if test -n "$ac_ct_LIPO"; then
7176   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7177 else
7178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7179 for as_dir in $PATH
7180 do
7181   IFS=$as_save_IFS
7182   test -z "$as_dir" && as_dir=.
7183     for ac_exec_ext in '' $ac_executable_extensions; do
7184   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7185     ac_cv_prog_ac_ct_LIPO="lipo"
7186     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7187     break 2
7188   fi
7189 done
7190   done
7191 IFS=$as_save_IFS
7192
7193 fi
7194 fi
7195 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7196 if test -n "$ac_ct_LIPO"; then
7197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7198 $as_echo "$ac_ct_LIPO" >&6; }
7199 else
7200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7201 $as_echo "no" >&6; }
7202 fi
7203
7204   if test "x$ac_ct_LIPO" = x; then
7205     LIPO=":"
7206   else
7207     case $cross_compiling:$ac_tool_warned in
7208 yes:)
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7210 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7211 ac_tool_warned=yes ;;
7212 esac
7213     LIPO=$ac_ct_LIPO
7214   fi
7215 else
7216   LIPO="$ac_cv_prog_LIPO"
7217 fi
7218
7219     if test -n "$ac_tool_prefix"; then
7220   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7221 set dummy ${ac_tool_prefix}otool; ac_word=$2
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7223 $as_echo_n "checking for $ac_word... " >&6; }
7224 if ${ac_cv_prog_OTOOL+:} false; then :
7225   $as_echo_n "(cached) " >&6
7226 else
7227   if test -n "$OTOOL"; then
7228   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7229 else
7230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7231 for as_dir in $PATH
7232 do
7233   IFS=$as_save_IFS
7234   test -z "$as_dir" && as_dir=.
7235     for ac_exec_ext in '' $ac_executable_extensions; do
7236   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7237     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7238     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7239     break 2
7240   fi
7241 done
7242   done
7243 IFS=$as_save_IFS
7244
7245 fi
7246 fi
7247 OTOOL=$ac_cv_prog_OTOOL
7248 if test -n "$OTOOL"; then
7249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7250 $as_echo "$OTOOL" >&6; }
7251 else
7252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7253 $as_echo "no" >&6; }
7254 fi
7255
7256
7257 fi
7258 if test -z "$ac_cv_prog_OTOOL"; then
7259   ac_ct_OTOOL=$OTOOL
7260   # Extract the first word of "otool", so it can be a program name with args.
7261 set dummy otool; ac_word=$2
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7263 $as_echo_n "checking for $ac_word... " >&6; }
7264 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7265   $as_echo_n "(cached) " >&6
7266 else
7267   if test -n "$ac_ct_OTOOL"; then
7268   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7269 else
7270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7271 for as_dir in $PATH
7272 do
7273   IFS=$as_save_IFS
7274   test -z "$as_dir" && as_dir=.
7275     for ac_exec_ext in '' $ac_executable_extensions; do
7276   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7277     ac_cv_prog_ac_ct_OTOOL="otool"
7278     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7279     break 2
7280   fi
7281 done
7282   done
7283 IFS=$as_save_IFS
7284
7285 fi
7286 fi
7287 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7288 if test -n "$ac_ct_OTOOL"; then
7289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7290 $as_echo "$ac_ct_OTOOL" >&6; }
7291 else
7292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7293 $as_echo "no" >&6; }
7294 fi
7295
7296   if test "x$ac_ct_OTOOL" = x; then
7297     OTOOL=":"
7298   else
7299     case $cross_compiling:$ac_tool_warned in
7300 yes:)
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7302 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7303 ac_tool_warned=yes ;;
7304 esac
7305     OTOOL=$ac_ct_OTOOL
7306   fi
7307 else
7308   OTOOL="$ac_cv_prog_OTOOL"
7309 fi
7310
7311     if test -n "$ac_tool_prefix"; then
7312   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7313 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7315 $as_echo_n "checking for $ac_word... " >&6; }
7316 if ${ac_cv_prog_OTOOL64+:} false; then :
7317   $as_echo_n "(cached) " >&6
7318 else
7319   if test -n "$OTOOL64"; then
7320   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7321 else
7322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7323 for as_dir in $PATH
7324 do
7325   IFS=$as_save_IFS
7326   test -z "$as_dir" && as_dir=.
7327     for ac_exec_ext in '' $ac_executable_extensions; do
7328   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7329     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7330     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7331     break 2
7332   fi
7333 done
7334   done
7335 IFS=$as_save_IFS
7336
7337 fi
7338 fi
7339 OTOOL64=$ac_cv_prog_OTOOL64
7340 if test -n "$OTOOL64"; then
7341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7342 $as_echo "$OTOOL64" >&6; }
7343 else
7344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7345 $as_echo "no" >&6; }
7346 fi
7347
7348
7349 fi
7350 if test -z "$ac_cv_prog_OTOOL64"; then
7351   ac_ct_OTOOL64=$OTOOL64
7352   # Extract the first word of "otool64", so it can be a program name with args.
7353 set dummy otool64; ac_word=$2
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7355 $as_echo_n "checking for $ac_word... " >&6; }
7356 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7357   $as_echo_n "(cached) " >&6
7358 else
7359   if test -n "$ac_ct_OTOOL64"; then
7360   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7361 else
7362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7363 for as_dir in $PATH
7364 do
7365   IFS=$as_save_IFS
7366   test -z "$as_dir" && as_dir=.
7367     for ac_exec_ext in '' $ac_executable_extensions; do
7368   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7369     ac_cv_prog_ac_ct_OTOOL64="otool64"
7370     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7371     break 2
7372   fi
7373 done
7374   done
7375 IFS=$as_save_IFS
7376
7377 fi
7378 fi
7379 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7380 if test -n "$ac_ct_OTOOL64"; then
7381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7382 $as_echo "$ac_ct_OTOOL64" >&6; }
7383 else
7384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7385 $as_echo "no" >&6; }
7386 fi
7387
7388   if test "x$ac_ct_OTOOL64" = x; then
7389     OTOOL64=":"
7390   else
7391     case $cross_compiling:$ac_tool_warned in
7392 yes:)
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7394 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7395 ac_tool_warned=yes ;;
7396 esac
7397     OTOOL64=$ac_ct_OTOOL64
7398   fi
7399 else
7400   OTOOL64="$ac_cv_prog_OTOOL64"
7401 fi
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7430 $as_echo_n "checking for -single_module linker flag... " >&6; }
7431 if ${lt_cv_apple_cc_single_mod+:} false; then :
7432   $as_echo_n "(cached) " >&6
7433 else
7434   lt_cv_apple_cc_single_mod=no
7435       if test -z "${LT_MULTI_MODULE}"; then
7436         # By default we will add the -single_module flag. You can override
7437         # by either setting the environment variable LT_MULTI_MODULE
7438         # non-empty at configure time, or by adding -multi_module to the
7439         # link flags.
7440         rm -rf libconftest.dylib*
7441         echo "int foo(void){return 1;}" > conftest.c
7442         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7443 -dynamiclib -Wl,-single_module conftest.c" >&5
7444         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7445           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7446         _lt_result=$?
7447         # If there is a non-empty error log, and "single_module"
7448         # appears in it, assume the flag caused a linker warning
7449         if test -s conftest.err && $GREP single_module conftest.err; then
7450           cat conftest.err >&5
7451         # Otherwise, if the output was created with a 0 exit code from
7452         # the compiler, it worked.
7453         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7454           lt_cv_apple_cc_single_mod=yes
7455         else
7456           cat conftest.err >&5
7457         fi
7458         rm -rf libconftest.dylib*
7459         rm -f conftest.*
7460       fi
7461 fi
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7463 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7464
7465     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7466 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7467 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7468   $as_echo_n "(cached) " >&6
7469 else
7470   lt_cv_ld_exported_symbols_list=no
7471       save_LDFLAGS=$LDFLAGS
7472       echo "_main" > conftest.sym
7473       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7474       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7475 /* end confdefs.h.  */
7476
7477 int
7478 main ()
7479 {
7480
7481   ;
7482   return 0;
7483 }
7484 _ACEOF
7485 if ac_fn_c_try_link "$LINENO"; then :
7486   lt_cv_ld_exported_symbols_list=yes
7487 else
7488   lt_cv_ld_exported_symbols_list=no
7489 fi
7490 rm -f core conftest.err conftest.$ac_objext \
7491     conftest$ac_exeext conftest.$ac_ext
7492         LDFLAGS="$save_LDFLAGS"
7493
7494 fi
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7496 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7497
7498     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7499 $as_echo_n "checking for -force_load linker flag... " >&6; }
7500 if ${lt_cv_ld_force_load+:} false; then :
7501   $as_echo_n "(cached) " >&6
7502 else
7503   lt_cv_ld_force_load=no
7504       cat > conftest.c << _LT_EOF
7505 int forced_loaded() { return 2;}
7506 _LT_EOF
7507       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7508       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7509       echo "$AR cru libconftest.a conftest.o" >&5
7510       $AR cru libconftest.a conftest.o 2>&5
7511       echo "$RANLIB libconftest.a" >&5
7512       $RANLIB libconftest.a 2>&5
7513       cat > conftest.c << _LT_EOF
7514 int main() { return 0;}
7515 _LT_EOF
7516       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7517       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7518       _lt_result=$?
7519       if test -s conftest.err && $GREP force_load conftest.err; then
7520         cat conftest.err >&5
7521       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7522         lt_cv_ld_force_load=yes
7523       else
7524         cat conftest.err >&5
7525       fi
7526         rm -f conftest.err libconftest.a conftest conftest.c
7527         rm -rf conftest.dSYM
7528
7529 fi
7530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7531 $as_echo "$lt_cv_ld_force_load" >&6; }
7532     case $host_os in
7533     rhapsody* | darwin1.[012])
7534       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7535     darwin1.*)
7536       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7537     darwin*) # darwin 5.x on
7538       # if running on 10.5 or later, the deployment target defaults
7539       # to the OS version, if on x86, and 10.4, the deployment
7540       # target defaults to 10.4. Don't you love it?
7541       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7542         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7543           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7544         10.[012]*)
7545           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7546         10.*)
7547           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7548       esac
7549     ;;
7550   esac
7551     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7552       _lt_dar_single_mod='$single_module'
7553     fi
7554     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7555       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7556     else
7557       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7558     fi
7559     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7560       _lt_dsymutil='~$DSYMUTIL $lib || :'
7561     else
7562       _lt_dsymutil=
7563     fi
7564     ;;
7565   esac
7566
7567 ac_ext=c
7568 ac_cpp='$CPP $CPPFLAGS'
7569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7573 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7574 # On Suns, sometimes $CPP names a directory.
7575 if test -n "$CPP" && test -d "$CPP"; then
7576   CPP=
7577 fi
7578 if test -z "$CPP"; then
7579   if ${ac_cv_prog_CPP+:} false; then :
7580   $as_echo_n "(cached) " >&6
7581 else
7582       # Double quotes because CPP needs to be expanded
7583     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7584     do
7585       ac_preproc_ok=false
7586 for ac_c_preproc_warn_flag in '' yes
7587 do
7588   # Use a header file that comes with gcc, so configuring glibc
7589   # with a fresh cross-compiler works.
7590   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7591   # <limits.h> exists even on freestanding compilers.
7592   # On the NeXT, cc -E runs the code through the compiler's parser,
7593   # not just through cpp. "Syntax error" is here to catch this case.
7594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7595 /* end confdefs.h.  */
7596 #ifdef __STDC__
7597 # include <limits.h>
7598 #else
7599 # include <assert.h>
7600 #endif
7601                      Syntax error
7602 _ACEOF
7603 if ac_fn_c_try_cpp "$LINENO"; then :
7604
7605 else
7606   # Broken: fails on valid input.
7607 continue
7608 fi
7609 rm -f conftest.err conftest.i conftest.$ac_ext
7610
7611   # OK, works on sane cases.  Now check whether nonexistent headers
7612   # can be detected and how.
7613   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7614 /* end confdefs.h.  */
7615 #include <ac_nonexistent.h>
7616 _ACEOF
7617 if ac_fn_c_try_cpp "$LINENO"; then :
7618   # Broken: success on invalid input.
7619 continue
7620 else
7621   # Passes both tests.
7622 ac_preproc_ok=:
7623 break
7624 fi
7625 rm -f conftest.err conftest.i conftest.$ac_ext
7626
7627 done
7628 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7629 rm -f conftest.i conftest.err conftest.$ac_ext
7630 if $ac_preproc_ok; then :
7631   break
7632 fi
7633
7634     done
7635     ac_cv_prog_CPP=$CPP
7636
7637 fi
7638   CPP=$ac_cv_prog_CPP
7639 else
7640   ac_cv_prog_CPP=$CPP
7641 fi
7642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7643 $as_echo "$CPP" >&6; }
7644 ac_preproc_ok=false
7645 for ac_c_preproc_warn_flag in '' yes
7646 do
7647   # Use a header file that comes with gcc, so configuring glibc
7648   # with a fresh cross-compiler works.
7649   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7650   # <limits.h> exists even on freestanding compilers.
7651   # On the NeXT, cc -E runs the code through the compiler's parser,
7652   # not just through cpp. "Syntax error" is here to catch this case.
7653   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7654 /* end confdefs.h.  */
7655 #ifdef __STDC__
7656 # include <limits.h>
7657 #else
7658 # include <assert.h>
7659 #endif
7660                      Syntax error
7661 _ACEOF
7662 if ac_fn_c_try_cpp "$LINENO"; then :
7663
7664 else
7665   # Broken: fails on valid input.
7666 continue
7667 fi
7668 rm -f conftest.err conftest.i conftest.$ac_ext
7669
7670   # OK, works on sane cases.  Now check whether nonexistent headers
7671   # can be detected and how.
7672   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7673 /* end confdefs.h.  */
7674 #include <ac_nonexistent.h>
7675 _ACEOF
7676 if ac_fn_c_try_cpp "$LINENO"; then :
7677   # Broken: success on invalid input.
7678 continue
7679 else
7680   # Passes both tests.
7681 ac_preproc_ok=:
7682 break
7683 fi
7684 rm -f conftest.err conftest.i conftest.$ac_ext
7685
7686 done
7687 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7688 rm -f conftest.i conftest.err conftest.$ac_ext
7689 if $ac_preproc_ok; then :
7690
7691 else
7692   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7693 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7694 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7695 See \`config.log' for more details" "$LINENO" 5; }
7696 fi
7697
7698 ac_ext=c
7699 ac_cpp='$CPP $CPPFLAGS'
7700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7703
7704
7705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7706 $as_echo_n "checking for ANSI C header files... " >&6; }
7707 if ${ac_cv_header_stdc+:} false; then :
7708   $as_echo_n "(cached) " >&6
7709 else
7710   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7711 /* end confdefs.h.  */
7712 #include <stdlib.h>
7713 #include <stdarg.h>
7714 #include <string.h>
7715 #include <float.h>
7716
7717 int
7718 main ()
7719 {
7720
7721   ;
7722   return 0;
7723 }
7724 _ACEOF
7725 if ac_fn_c_try_compile "$LINENO"; then :
7726   ac_cv_header_stdc=yes
7727 else
7728   ac_cv_header_stdc=no
7729 fi
7730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7731
7732 if test $ac_cv_header_stdc = yes; then
7733   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7735 /* end confdefs.h.  */
7736 #include <string.h>
7737
7738 _ACEOF
7739 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7740   $EGREP "memchr" >/dev/null 2>&1; then :
7741
7742 else
7743   ac_cv_header_stdc=no
7744 fi
7745 rm -f conftest*
7746
7747 fi
7748
7749 if test $ac_cv_header_stdc = yes; then
7750   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7751   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7752 /* end confdefs.h.  */
7753 #include <stdlib.h>
7754
7755 _ACEOF
7756 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7757   $EGREP "free" >/dev/null 2>&1; then :
7758
7759 else
7760   ac_cv_header_stdc=no
7761 fi
7762 rm -f conftest*
7763
7764 fi
7765
7766 if test $ac_cv_header_stdc = yes; then
7767   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7768   if test "$cross_compiling" = yes; then :
7769   :
7770 else
7771   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7772 /* end confdefs.h.  */
7773 #include <ctype.h>
7774 #include <stdlib.h>
7775 #if ((' ' & 0x0FF) == 0x020)
7776 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7777 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7778 #else
7779 # define ISLOWER(c) \
7780                    (('a' <= (c) && (c) <= 'i') \
7781                      || ('j' <= (c) && (c) <= 'r') \
7782                      || ('s' <= (c) && (c) <= 'z'))
7783 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7784 #endif
7785
7786 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7787 int
7788 main ()
7789 {
7790   int i;
7791   for (i = 0; i < 256; i++)
7792     if (XOR (islower (i), ISLOWER (i))
7793         || toupper (i) != TOUPPER (i))
7794       return 2;
7795   return 0;
7796 }
7797 _ACEOF
7798 if ac_fn_c_try_run "$LINENO"; then :
7799
7800 else
7801   ac_cv_header_stdc=no
7802 fi
7803 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7804   conftest.$ac_objext conftest.beam conftest.$ac_ext
7805 fi
7806
7807 fi
7808 fi
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7810 $as_echo "$ac_cv_header_stdc" >&6; }
7811 if test $ac_cv_header_stdc = yes; then
7812
7813 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7814
7815 fi
7816
7817 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7818 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7819                   inttypes.h stdint.h unistd.h
7820 do :
7821   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7822 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7823 "
7824 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7825   cat >>confdefs.h <<_ACEOF
7826 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7827 _ACEOF
7828
7829 fi
7830
7831 done
7832
7833
7834 for ac_header in dlfcn.h
7835 do :
7836   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7837 "
7838 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7839   cat >>confdefs.h <<_ACEOF
7840 #define HAVE_DLFCN_H 1
7841 _ACEOF
7842
7843 fi
7844
7845 done
7846
7847
7848
7849
7850
7851 # Set options
7852 # Check whether --enable-static was given.
7853 if test "${enable_static+set}" = set; then :
7854   enableval=$enable_static; p=${PACKAGE-default}
7855     case $enableval in
7856     yes) enable_static=yes ;;
7857     no) enable_static=no ;;
7858     *)
7859      enable_static=no
7860       # Look at the argument we got.  We use all the common list separators.
7861       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7862       for pkg in $enableval; do
7863         IFS="$lt_save_ifs"
7864         if test "X$pkg" = "X$p"; then
7865           enable_static=yes
7866         fi
7867       done
7868       IFS="$lt_save_ifs"
7869       ;;
7870     esac
7871 else
7872   enable_static=no
7873 fi
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884         enable_dlopen=no
7885
7886
7887   enable_win32_dll=no
7888
7889
7890             # Check whether --enable-shared was given.
7891 if test "${enable_shared+set}" = set; then :
7892   enableval=$enable_shared; p=${PACKAGE-default}
7893     case $enableval in
7894     yes) enable_shared=yes ;;
7895     no) enable_shared=no ;;
7896     *)
7897       enable_shared=no
7898       # Look at the argument we got.  We use all the common list separators.
7899       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7900       for pkg in $enableval; do
7901         IFS="$lt_save_ifs"
7902         if test "X$pkg" = "X$p"; then
7903           enable_shared=yes
7904         fi
7905       done
7906       IFS="$lt_save_ifs"
7907       ;;
7908     esac
7909 else
7910   enable_shared=yes
7911 fi
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923 # Check whether --with-pic was given.
7924 if test "${with_pic+set}" = set; then :
7925   withval=$with_pic; lt_p=${PACKAGE-default}
7926     case $withval in
7927     yes|no) pic_mode=$withval ;;
7928     *)
7929       pic_mode=default
7930       # Look at the argument we got.  We use all the common list separators.
7931       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7932       for lt_pkg in $withval; do
7933         IFS="$lt_save_ifs"
7934         if test "X$lt_pkg" = "X$lt_p"; then
7935           pic_mode=yes
7936         fi
7937       done
7938       IFS="$lt_save_ifs"
7939       ;;
7940     esac
7941 else
7942   pic_mode=default
7943 fi
7944
7945
7946 test -z "$pic_mode" && pic_mode=default
7947
7948
7949
7950
7951
7952
7953
7954   # Check whether --enable-fast-install was given.
7955 if test "${enable_fast_install+set}" = set; then :
7956   enableval=$enable_fast_install; p=${PACKAGE-default}
7957     case $enableval in
7958     yes) enable_fast_install=yes ;;
7959     no) enable_fast_install=no ;;
7960     *)
7961       enable_fast_install=no
7962       # Look at the argument we got.  We use all the common list separators.
7963       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7964       for pkg in $enableval; do
7965         IFS="$lt_save_ifs"
7966         if test "X$pkg" = "X$p"; then
7967           enable_fast_install=yes
7968         fi
7969       done
7970       IFS="$lt_save_ifs"
7971       ;;
7972     esac
7973 else
7974   enable_fast_install=yes
7975 fi
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987 # This can be used to rebuild libtool when needed
7988 LIBTOOL_DEPS="$ltmain"
7989
7990 # Always use our own libtool.
7991 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022 test -z "$LN_S" && LN_S="ln -s"
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037 if test -n "${ZSH_VERSION+set}" ; then
8038    setopt NO_GLOB_SUBST
8039 fi
8040
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8042 $as_echo_n "checking for objdir... " >&6; }
8043 if ${lt_cv_objdir+:} false; then :
8044   $as_echo_n "(cached) " >&6
8045 else
8046   rm -f .libs 2>/dev/null
8047 mkdir .libs 2>/dev/null
8048 if test -d .libs; then
8049   lt_cv_objdir=.libs
8050 else
8051   # MS-DOS does not allow filenames that begin with a dot.
8052   lt_cv_objdir=_libs
8053 fi
8054 rmdir .libs 2>/dev/null
8055 fi
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8057 $as_echo "$lt_cv_objdir" >&6; }
8058 objdir=$lt_cv_objdir
8059
8060
8061
8062
8063
8064 cat >>confdefs.h <<_ACEOF
8065 #define LT_OBJDIR "$lt_cv_objdir/"
8066 _ACEOF
8067
8068
8069
8070
8071 case $host_os in
8072 aix3*)
8073   # AIX sometimes has problems with the GCC collect2 program.  For some
8074   # reason, if we set the COLLECT_NAMES environment variable, the problems
8075   # vanish in a puff of smoke.
8076   if test "X${COLLECT_NAMES+set}" != Xset; then
8077     COLLECT_NAMES=
8078     export COLLECT_NAMES
8079   fi
8080   ;;
8081 esac
8082
8083 # Global variables:
8084 ofile=libtool
8085 can_build_shared=yes
8086
8087 # All known linkers require a `.a' archive for static linking (except MSVC,
8088 # which needs '.lib').
8089 libext=a
8090
8091 with_gnu_ld="$lt_cv_prog_gnu_ld"
8092
8093 old_CC="$CC"
8094 old_CFLAGS="$CFLAGS"
8095
8096 # Set sane defaults for various variables
8097 test -z "$CC" && CC=cc
8098 test -z "$LTCC" && LTCC=$CC
8099 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8100 test -z "$LD" && LD=ld
8101 test -z "$ac_objext" && ac_objext=o
8102
8103 for cc_temp in $compiler""; do
8104   case $cc_temp in
8105     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8106     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8107     \-*) ;;
8108     *) break;;
8109   esac
8110 done
8111 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8112
8113
8114 # Only perform the check for file, if the check method requires it
8115 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8116 case $deplibs_check_method in
8117 file_magic*)
8118   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8119     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8120 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8121 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8122   $as_echo_n "(cached) " >&6
8123 else
8124   case $MAGIC_CMD in
8125 [\\/*] |  ?:[\\/]*)
8126   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8127   ;;
8128 *)
8129   lt_save_MAGIC_CMD="$MAGIC_CMD"
8130   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8131   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8132   for ac_dir in $ac_dummy; do
8133     IFS="$lt_save_ifs"
8134     test -z "$ac_dir" && ac_dir=.
8135     if test -f $ac_dir/${ac_tool_prefix}file; then
8136       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8137       if test -n "$file_magic_test_file"; then
8138         case $deplibs_check_method in
8139         "file_magic "*)
8140           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8141           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8142           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8143             $EGREP "$file_magic_regex" > /dev/null; then
8144             :
8145           else
8146             cat <<_LT_EOF 1>&2
8147
8148 *** Warning: the command libtool uses to detect shared libraries,
8149 *** $file_magic_cmd, produces output that libtool cannot recognize.
8150 *** The result is that libtool may fail to recognize shared libraries
8151 *** as such.  This will affect the creation of libtool libraries that
8152 *** depend on shared libraries, but programs linked with such libtool
8153 *** libraries will work regardless of this problem.  Nevertheless, you
8154 *** may want to report the problem to your system manager and/or to
8155 *** bug-libtool@gnu.org
8156
8157 _LT_EOF
8158           fi ;;
8159         esac
8160       fi
8161       break
8162     fi
8163   done
8164   IFS="$lt_save_ifs"
8165   MAGIC_CMD="$lt_save_MAGIC_CMD"
8166   ;;
8167 esac
8168 fi
8169
8170 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8171 if test -n "$MAGIC_CMD"; then
8172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8173 $as_echo "$MAGIC_CMD" >&6; }
8174 else
8175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8176 $as_echo "no" >&6; }
8177 fi
8178
8179
8180
8181
8182
8183 if test -z "$lt_cv_path_MAGIC_CMD"; then
8184   if test -n "$ac_tool_prefix"; then
8185     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8186 $as_echo_n "checking for file... " >&6; }
8187 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8188   $as_echo_n "(cached) " >&6
8189 else
8190   case $MAGIC_CMD in
8191 [\\/*] |  ?:[\\/]*)
8192   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8193   ;;
8194 *)
8195   lt_save_MAGIC_CMD="$MAGIC_CMD"
8196   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8197   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8198   for ac_dir in $ac_dummy; do
8199     IFS="$lt_save_ifs"
8200     test -z "$ac_dir" && ac_dir=.
8201     if test -f $ac_dir/file; then
8202       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8203       if test -n "$file_magic_test_file"; then
8204         case $deplibs_check_method in
8205         "file_magic "*)
8206           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8207           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8208           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8209             $EGREP "$file_magic_regex" > /dev/null; then
8210             :
8211           else
8212             cat <<_LT_EOF 1>&2
8213
8214 *** Warning: the command libtool uses to detect shared libraries,
8215 *** $file_magic_cmd, produces output that libtool cannot recognize.
8216 *** The result is that libtool may fail to recognize shared libraries
8217 *** as such.  This will affect the creation of libtool libraries that
8218 *** depend on shared libraries, but programs linked with such libtool
8219 *** libraries will work regardless of this problem.  Nevertheless, you
8220 *** may want to report the problem to your system manager and/or to
8221 *** bug-libtool@gnu.org
8222
8223 _LT_EOF
8224           fi ;;
8225         esac
8226       fi
8227       break
8228     fi
8229   done
8230   IFS="$lt_save_ifs"
8231   MAGIC_CMD="$lt_save_MAGIC_CMD"
8232   ;;
8233 esac
8234 fi
8235
8236 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8237 if test -n "$MAGIC_CMD"; then
8238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8239 $as_echo "$MAGIC_CMD" >&6; }
8240 else
8241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8242 $as_echo "no" >&6; }
8243 fi
8244
8245
8246   else
8247     MAGIC_CMD=:
8248   fi
8249 fi
8250
8251   fi
8252   ;;
8253 esac
8254
8255 # Use C for the default configuration in the libtool script
8256
8257 lt_save_CC="$CC"
8258 ac_ext=c
8259 ac_cpp='$CPP $CPPFLAGS'
8260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8263
8264
8265 # Source file extension for C test sources.
8266 ac_ext=c
8267
8268 # Object file extension for compiled C test sources.
8269 objext=o
8270 objext=$objext
8271
8272 # Code to be used in simple compile tests
8273 lt_simple_compile_test_code="int some_variable = 0;"
8274
8275 # Code to be used in simple link tests
8276 lt_simple_link_test_code='int main(){return(0);}'
8277
8278
8279
8280
8281
8282
8283
8284 # If no C compiler was specified, use CC.
8285 LTCC=${LTCC-"$CC"}
8286
8287 # If no C compiler flags were specified, use CFLAGS.
8288 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8289
8290 # Allow CC to be a program name with arguments.
8291 compiler=$CC
8292
8293 # Save the default compiler, since it gets overwritten when the other
8294 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8295 compiler_DEFAULT=$CC
8296
8297 # save warnings/boilerplate of simple test code
8298 ac_outfile=conftest.$ac_objext
8299 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8300 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8301 _lt_compiler_boilerplate=`cat conftest.err`
8302 $RM conftest*
8303
8304 ac_outfile=conftest.$ac_objext
8305 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8306 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8307 _lt_linker_boilerplate=`cat conftest.err`
8308 $RM -r conftest*
8309
8310
8311 ## CAVEAT EMPTOR:
8312 ## There is no encapsulation within the following macros, do not change
8313 ## the running order or otherwise move them around unless you know exactly
8314 ## what you are doing...
8315 if test -n "$compiler"; then
8316
8317 lt_prog_compiler_no_builtin_flag=
8318
8319 if test "$GCC" = yes; then
8320   case $cc_basename in
8321   nvcc*)
8322     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8323   *)
8324     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8325   esac
8326
8327   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8328 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8329 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8330   $as_echo_n "(cached) " >&6
8331 else
8332   lt_cv_prog_compiler_rtti_exceptions=no
8333    ac_outfile=conftest.$ac_objext
8334    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8335    lt_compiler_flag="-fno-rtti -fno-exceptions"
8336    # Insert the option either (1) after the last *FLAGS variable, or
8337    # (2) before a word containing "conftest.", or (3) at the end.
8338    # Note that $ac_compile itself does not contain backslashes and begins
8339    # with a dollar sign (not a hyphen), so the echo should work correctly.
8340    # The option is referenced via a variable to avoid confusing sed.
8341    lt_compile=`echo "$ac_compile" | $SED \
8342    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8343    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8344    -e 's:$: $lt_compiler_flag:'`
8345    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8346    (eval "$lt_compile" 2>conftest.err)
8347    ac_status=$?
8348    cat conftest.err >&5
8349    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8350    if (exit $ac_status) && test -s "$ac_outfile"; then
8351      # The compiler can only warn and ignore the option if not recognized
8352      # So say no if there are warnings other than the usual output.
8353      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8354      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8355      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8356        lt_cv_prog_compiler_rtti_exceptions=yes
8357      fi
8358    fi
8359    $RM conftest*
8360
8361 fi
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8363 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8364
8365 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8366     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8367 else
8368     :
8369 fi
8370
8371 fi
8372
8373
8374
8375
8376
8377
8378   lt_prog_compiler_wl=
8379 lt_prog_compiler_pic=
8380 lt_prog_compiler_static=
8381
8382
8383   if test "$GCC" = yes; then
8384     lt_prog_compiler_wl='-Wl,'
8385     lt_prog_compiler_static='-static'
8386
8387     case $host_os in
8388       aix*)
8389       # All AIX code is PIC.
8390       if test "$host_cpu" = ia64; then
8391         # AIX 5 now supports IA64 processor
8392         lt_prog_compiler_static='-Bstatic'
8393       fi
8394       ;;
8395
8396     amigaos*)
8397       case $host_cpu in
8398       powerpc)
8399             # see comment about AmigaOS4 .so support
8400             lt_prog_compiler_pic='-fPIC'
8401         ;;
8402       m68k)
8403             # FIXME: we need at least 68020 code to build shared libraries, but
8404             # adding the `-m68020' flag to GCC prevents building anything better,
8405             # like `-m68040'.
8406             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8407         ;;
8408       esac
8409       ;;
8410
8411     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8412       # PIC is the default for these OSes.
8413       ;;
8414
8415     mingw* | cygwin* | pw32* | os2* | cegcc*)
8416       # This hack is so that the source file can tell whether it is being
8417       # built for inclusion in a dll (and should export symbols for example).
8418       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8419       # (--disable-auto-import) libraries
8420       lt_prog_compiler_pic='-DDLL_EXPORT'
8421       ;;
8422
8423     darwin* | rhapsody*)
8424       # PIC is the default on this platform
8425       # Common symbols not allowed in MH_DYLIB files
8426       lt_prog_compiler_pic='-fno-common'
8427       ;;
8428
8429     haiku*)
8430       # PIC is the default for Haiku.
8431       # The "-static" flag exists, but is broken.
8432       lt_prog_compiler_static=
8433       ;;
8434
8435     hpux*)
8436       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8437       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8438       # sets the default TLS model and affects inlining.
8439       case $host_cpu in
8440       hppa*64*)
8441         # +Z the default
8442         ;;
8443       *)
8444         lt_prog_compiler_pic='-fPIC'
8445         ;;
8446       esac
8447       ;;
8448
8449     interix[3-9]*)
8450       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8451       # Instead, we relocate shared libraries at runtime.
8452       ;;
8453
8454     msdosdjgpp*)
8455       # Just because we use GCC doesn't mean we suddenly get shared libraries
8456       # on systems that don't support them.
8457       lt_prog_compiler_can_build_shared=no
8458       enable_shared=no
8459       ;;
8460
8461     *nto* | *qnx*)
8462       # QNX uses GNU C++, but need to define -shared option too, otherwise
8463       # it will coredump.
8464       lt_prog_compiler_pic='-fPIC -shared'
8465       ;;
8466
8467     sysv4*MP*)
8468       if test -d /usr/nec; then
8469         lt_prog_compiler_pic=-Kconform_pic
8470       fi
8471       ;;
8472
8473     *)
8474       lt_prog_compiler_pic='-fPIC'
8475       ;;
8476     esac
8477
8478     case $cc_basename in
8479     nvcc*) # Cuda Compiler Driver 2.2
8480       lt_prog_compiler_wl='-Xlinker '
8481       if test -n "$lt_prog_compiler_pic"; then
8482         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8483       fi
8484       ;;
8485     esac
8486   else
8487     # PORTME Check for flag to pass linker flags through the system compiler.
8488     case $host_os in
8489     aix*)
8490       lt_prog_compiler_wl='-Wl,'
8491       if test "$host_cpu" = ia64; then
8492         # AIX 5 now supports IA64 processor
8493         lt_prog_compiler_static='-Bstatic'
8494       else
8495         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8496       fi
8497       ;;
8498
8499     mingw* | cygwin* | pw32* | os2* | cegcc*)
8500       # This hack is so that the source file can tell whether it is being
8501       # built for inclusion in a dll (and should export symbols for example).
8502       lt_prog_compiler_pic='-DDLL_EXPORT'
8503       ;;
8504
8505     hpux9* | hpux10* | hpux11*)
8506       lt_prog_compiler_wl='-Wl,'
8507       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8508       # not for PA HP-UX.
8509       case $host_cpu in
8510       hppa*64*|ia64*)
8511         # +Z the default
8512         ;;
8513       *)
8514         lt_prog_compiler_pic='+Z'
8515         ;;
8516       esac
8517       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8518       lt_prog_compiler_static='${wl}-a ${wl}archive'
8519       ;;
8520
8521     irix5* | irix6* | nonstopux*)
8522       lt_prog_compiler_wl='-Wl,'
8523       # PIC (with -KPIC) is the default.
8524       lt_prog_compiler_static='-non_shared'
8525       ;;
8526
8527     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8528       case $cc_basename in
8529       # old Intel for x86_64 which still supported -KPIC.
8530       ecc*)
8531         lt_prog_compiler_wl='-Wl,'
8532         lt_prog_compiler_pic='-KPIC'
8533         lt_prog_compiler_static='-static'
8534         ;;
8535       # icc used to be incompatible with GCC.
8536       # ICC 10 doesn't accept -KPIC any more.
8537       icc* | ifort*)
8538         lt_prog_compiler_wl='-Wl,'
8539         lt_prog_compiler_pic='-fPIC'
8540         lt_prog_compiler_static='-static'
8541         ;;
8542       # Lahey Fortran 8.1.
8543       lf95*)
8544         lt_prog_compiler_wl='-Wl,'
8545         lt_prog_compiler_pic='--shared'
8546         lt_prog_compiler_static='--static'
8547         ;;
8548       nagfor*)
8549         # NAG Fortran compiler
8550         lt_prog_compiler_wl='-Wl,-Wl,,'
8551         lt_prog_compiler_pic='-PIC'
8552         lt_prog_compiler_static='-Bstatic'
8553         ;;
8554       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8555         # Portland Group compilers (*not* the Pentium gcc compiler,
8556         # which looks to be a dead project)
8557         lt_prog_compiler_wl='-Wl,'
8558         lt_prog_compiler_pic='-fpic'
8559         lt_prog_compiler_static='-Bstatic'
8560         ;;
8561       ccc*)
8562         lt_prog_compiler_wl='-Wl,'
8563         # All Alpha code is PIC.
8564         lt_prog_compiler_static='-non_shared'
8565         ;;
8566       xl* | bgxl* | bgf* | mpixl*)
8567         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8568         lt_prog_compiler_wl='-Wl,'
8569         lt_prog_compiler_pic='-qpic'
8570         lt_prog_compiler_static='-qstaticlink'
8571         ;;
8572       *)
8573         case `$CC -V 2>&1 | sed 5q` in
8574         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8575           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8576           lt_prog_compiler_pic='-KPIC'
8577           lt_prog_compiler_static='-Bstatic'
8578           lt_prog_compiler_wl=''
8579           ;;
8580         *Sun\ F* | *Sun*Fortran*)
8581           lt_prog_compiler_pic='-KPIC'
8582           lt_prog_compiler_static='-Bstatic'
8583           lt_prog_compiler_wl='-Qoption ld '
8584           ;;
8585         *Sun\ C*)
8586           # Sun C 5.9
8587           lt_prog_compiler_pic='-KPIC'
8588           lt_prog_compiler_static='-Bstatic'
8589           lt_prog_compiler_wl='-Wl,'
8590           ;;
8591         *Intel*\ [CF]*Compiler*)
8592           lt_prog_compiler_wl='-Wl,'
8593           lt_prog_compiler_pic='-fPIC'
8594           lt_prog_compiler_static='-static'
8595           ;;
8596         *Portland\ Group*)
8597           lt_prog_compiler_wl='-Wl,'
8598           lt_prog_compiler_pic='-fpic'
8599           lt_prog_compiler_static='-Bstatic'
8600           ;;
8601         esac
8602         ;;
8603       esac
8604       ;;
8605
8606     newsos6)
8607       lt_prog_compiler_pic='-KPIC'
8608       lt_prog_compiler_static='-Bstatic'
8609       ;;
8610
8611     *nto* | *qnx*)
8612       # QNX uses GNU C++, but need to define -shared option too, otherwise
8613       # it will coredump.
8614       lt_prog_compiler_pic='-fPIC -shared'
8615       ;;
8616
8617     osf3* | osf4* | osf5*)
8618       lt_prog_compiler_wl='-Wl,'
8619       # All OSF/1 code is PIC.
8620       lt_prog_compiler_static='-non_shared'
8621       ;;
8622
8623     rdos*)
8624       lt_prog_compiler_static='-non_shared'
8625       ;;
8626
8627     solaris*)
8628       lt_prog_compiler_pic='-KPIC'
8629       lt_prog_compiler_static='-Bstatic'
8630       case $cc_basename in
8631       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8632         lt_prog_compiler_wl='-Qoption ld ';;
8633       *)
8634         lt_prog_compiler_wl='-Wl,';;
8635       esac
8636       ;;
8637
8638     sunos4*)
8639       lt_prog_compiler_wl='-Qoption ld '
8640       lt_prog_compiler_pic='-PIC'
8641       lt_prog_compiler_static='-Bstatic'
8642       ;;
8643
8644     sysv4 | sysv4.2uw2* | sysv4.3*)
8645       lt_prog_compiler_wl='-Wl,'
8646       lt_prog_compiler_pic='-KPIC'
8647       lt_prog_compiler_static='-Bstatic'
8648       ;;
8649
8650     sysv4*MP*)
8651       if test -d /usr/nec ;then
8652         lt_prog_compiler_pic='-Kconform_pic'
8653         lt_prog_compiler_static='-Bstatic'
8654       fi
8655       ;;
8656
8657     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8658       lt_prog_compiler_wl='-Wl,'
8659       lt_prog_compiler_pic='-KPIC'
8660       lt_prog_compiler_static='-Bstatic'
8661       ;;
8662
8663     unicos*)
8664       lt_prog_compiler_wl='-Wl,'
8665       lt_prog_compiler_can_build_shared=no
8666       ;;
8667
8668     uts4*)
8669       lt_prog_compiler_pic='-pic'
8670       lt_prog_compiler_static='-Bstatic'
8671       ;;
8672
8673     *)
8674       lt_prog_compiler_can_build_shared=no
8675       ;;
8676     esac
8677   fi
8678
8679 case $host_os in
8680   # For platforms which do not support PIC, -DPIC is meaningless:
8681   *djgpp*)
8682     lt_prog_compiler_pic=
8683     ;;
8684   *)
8685     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8686     ;;
8687 esac
8688
8689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8690 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8691 if ${lt_cv_prog_compiler_pic+:} false; then :
8692   $as_echo_n "(cached) " >&6
8693 else
8694   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8695 fi
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8697 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8698 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8699
8700 #
8701 # Check to make sure the PIC flag actually works.
8702 #
8703 if test -n "$lt_prog_compiler_pic"; then
8704   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8705 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8706 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8707   $as_echo_n "(cached) " >&6
8708 else
8709   lt_cv_prog_compiler_pic_works=no
8710    ac_outfile=conftest.$ac_objext
8711    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8712    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8713    # Insert the option either (1) after the last *FLAGS variable, or
8714    # (2) before a word containing "conftest.", or (3) at the end.
8715    # Note that $ac_compile itself does not contain backslashes and begins
8716    # with a dollar sign (not a hyphen), so the echo should work correctly.
8717    # The option is referenced via a variable to avoid confusing sed.
8718    lt_compile=`echo "$ac_compile" | $SED \
8719    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8720    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8721    -e 's:$: $lt_compiler_flag:'`
8722    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8723    (eval "$lt_compile" 2>conftest.err)
8724    ac_status=$?
8725    cat conftest.err >&5
8726    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8727    if (exit $ac_status) && test -s "$ac_outfile"; then
8728      # The compiler can only warn and ignore the option if not recognized
8729      # So say no if there are warnings other than the usual output.
8730      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8731      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8732      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8733        lt_cv_prog_compiler_pic_works=yes
8734      fi
8735    fi
8736    $RM conftest*
8737
8738 fi
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8740 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8741
8742 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8743     case $lt_prog_compiler_pic in
8744      "" | " "*) ;;
8745      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8746      esac
8747 else
8748     lt_prog_compiler_pic=
8749      lt_prog_compiler_can_build_shared=no
8750 fi
8751
8752 fi
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764 #
8765 # Check to make sure the static flag actually works.
8766 #
8767 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8769 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8770 if ${lt_cv_prog_compiler_static_works+:} false; then :
8771   $as_echo_n "(cached) " >&6
8772 else
8773   lt_cv_prog_compiler_static_works=no
8774    save_LDFLAGS="$LDFLAGS"
8775    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8776    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8777    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8778      # The linker can only warn and ignore the option if not recognized
8779      # So say no if there are warnings
8780      if test -s conftest.err; then
8781        # Append any errors to the config.log.
8782        cat conftest.err 1>&5
8783        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8784        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8785        if diff conftest.exp conftest.er2 >/dev/null; then
8786          lt_cv_prog_compiler_static_works=yes
8787        fi
8788      else
8789        lt_cv_prog_compiler_static_works=yes
8790      fi
8791    fi
8792    $RM -r conftest*
8793    LDFLAGS="$save_LDFLAGS"
8794
8795 fi
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8797 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8798
8799 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8800     :
8801 else
8802     lt_prog_compiler_static=
8803 fi
8804
8805
8806
8807
8808
8809
8810
8811   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8812 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8813 if ${lt_cv_prog_compiler_c_o+:} false; then :
8814   $as_echo_n "(cached) " >&6
8815 else
8816   lt_cv_prog_compiler_c_o=no
8817    $RM -r conftest 2>/dev/null
8818    mkdir conftest
8819    cd conftest
8820    mkdir out
8821    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8822
8823    lt_compiler_flag="-o out/conftest2.$ac_objext"
8824    # Insert the option either (1) after the last *FLAGS variable, or
8825    # (2) before a word containing "conftest.", or (3) at the end.
8826    # Note that $ac_compile itself does not contain backslashes and begins
8827    # with a dollar sign (not a hyphen), so the echo should work correctly.
8828    lt_compile=`echo "$ac_compile" | $SED \
8829    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8830    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8831    -e 's:$: $lt_compiler_flag:'`
8832    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8833    (eval "$lt_compile" 2>out/conftest.err)
8834    ac_status=$?
8835    cat out/conftest.err >&5
8836    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8837    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8838    then
8839      # The compiler can only warn and ignore the option if not recognized
8840      # So say no if there are warnings
8841      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8842      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8843      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8844        lt_cv_prog_compiler_c_o=yes
8845      fi
8846    fi
8847    chmod u+w . 2>&5
8848    $RM conftest*
8849    # SGI C++ compiler will create directory out/ii_files/ for
8850    # template instantiation
8851    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8852    $RM out/* && rmdir out
8853    cd ..
8854    $RM -r conftest
8855    $RM conftest*
8856
8857 fi
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8859 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8860
8861
8862
8863
8864
8865
8866   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8867 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8868 if ${lt_cv_prog_compiler_c_o+:} false; then :
8869   $as_echo_n "(cached) " >&6
8870 else
8871   lt_cv_prog_compiler_c_o=no
8872    $RM -r conftest 2>/dev/null
8873    mkdir conftest
8874    cd conftest
8875    mkdir out
8876    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8877
8878    lt_compiler_flag="-o out/conftest2.$ac_objext"
8879    # Insert the option either (1) after the last *FLAGS variable, or
8880    # (2) before a word containing "conftest.", or (3) at the end.
8881    # Note that $ac_compile itself does not contain backslashes and begins
8882    # with a dollar sign (not a hyphen), so the echo should work correctly.
8883    lt_compile=`echo "$ac_compile" | $SED \
8884    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8885    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8886    -e 's:$: $lt_compiler_flag:'`
8887    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8888    (eval "$lt_compile" 2>out/conftest.err)
8889    ac_status=$?
8890    cat out/conftest.err >&5
8891    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8892    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8893    then
8894      # The compiler can only warn and ignore the option if not recognized
8895      # So say no if there are warnings
8896      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8897      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8898      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8899        lt_cv_prog_compiler_c_o=yes
8900      fi
8901    fi
8902    chmod u+w . 2>&5
8903    $RM conftest*
8904    # SGI C++ compiler will create directory out/ii_files/ for
8905    # template instantiation
8906    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8907    $RM out/* && rmdir out
8908    cd ..
8909    $RM -r conftest
8910    $RM conftest*
8911
8912 fi
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8914 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8915
8916
8917
8918
8919 hard_links="nottested"
8920 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8921   # do not overwrite the value of need_locks provided by the user
8922   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8923 $as_echo_n "checking if we can lock with hard links... " >&6; }
8924   hard_links=yes
8925   $RM conftest*
8926   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8927   touch conftest.a
8928   ln conftest.a conftest.b 2>&5 || hard_links=no
8929   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8931 $as_echo "$hard_links" >&6; }
8932   if test "$hard_links" = no; then
8933     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8934 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8935     need_locks=warn
8936   fi
8937 else
8938   need_locks=no
8939 fi
8940
8941
8942
8943
8944
8945
8946   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8947 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8948
8949   runpath_var=
8950   allow_undefined_flag=
8951   always_export_symbols=no
8952   archive_cmds=
8953   archive_expsym_cmds=
8954   compiler_needs_object=no
8955   enable_shared_with_static_runtimes=no
8956   export_dynamic_flag_spec=
8957   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8958   hardcode_automatic=no
8959   hardcode_direct=no
8960   hardcode_direct_absolute=no
8961   hardcode_libdir_flag_spec=
8962   hardcode_libdir_separator=
8963   hardcode_minus_L=no
8964   hardcode_shlibpath_var=unsupported
8965   inherit_rpath=no
8966   link_all_deplibs=unknown
8967   module_cmds=
8968   module_expsym_cmds=
8969   old_archive_from_new_cmds=
8970   old_archive_from_expsyms_cmds=
8971   thread_safe_flag_spec=
8972   whole_archive_flag_spec=
8973   # include_expsyms should be a list of space-separated symbols to be *always*
8974   # included in the symbol list
8975   include_expsyms=
8976   # exclude_expsyms can be an extended regexp of symbols to exclude
8977   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8978   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8979   # as well as any symbol that contains `d'.
8980   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8981   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8982   # platforms (ab)use it in PIC code, but their linkers get confused if
8983   # the symbol is explicitly referenced.  Since portable code cannot
8984   # rely on this symbol name, it's probably fine to never include it in
8985   # preloaded symbol tables.
8986   # Exclude shared library initialization/finalization symbols.
8987   extract_expsyms_cmds=
8988
8989   case $host_os in
8990   cygwin* | mingw* | pw32* | cegcc*)
8991     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8992     # When not using gcc, we currently assume that we are using
8993     # Microsoft Visual C++.
8994     if test "$GCC" != yes; then
8995       with_gnu_ld=no
8996     fi
8997     ;;
8998   interix*)
8999     # we just hope/assume this is gcc and not c89 (= MSVC++)
9000     with_gnu_ld=yes
9001     ;;
9002   openbsd*)
9003     with_gnu_ld=no
9004     ;;
9005   linux* | k*bsd*-gnu | gnu*)
9006     link_all_deplibs=no
9007     ;;
9008   esac
9009
9010   ld_shlibs=yes
9011
9012   # On some targets, GNU ld is compatible enough with the native linker
9013   # that we're better off using the native interface for both.
9014   lt_use_gnu_ld_interface=no
9015   if test "$with_gnu_ld" = yes; then
9016     case $host_os in
9017       aix*)
9018         # The AIX port of GNU ld has always aspired to compatibility
9019         # with the native linker.  However, as the warning in the GNU ld
9020         # block says, versions before 2.19.5* couldn't really create working
9021         # shared libraries, regardless of the interface used.
9022         case `$LD -v 2>&1` in
9023           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9024           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9025           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9026           *)
9027             lt_use_gnu_ld_interface=yes
9028             ;;
9029         esac
9030         ;;
9031       *)
9032         lt_use_gnu_ld_interface=yes
9033         ;;
9034     esac
9035   fi
9036
9037   if test "$lt_use_gnu_ld_interface" = yes; then
9038     # If archive_cmds runs LD, not CC, wlarc should be empty
9039     wlarc='${wl}'
9040
9041     # Set some defaults for GNU ld with shared library support. These
9042     # are reset later if shared libraries are not supported. Putting them
9043     # here allows them to be overridden if necessary.
9044     runpath_var=LD_RUN_PATH
9045     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9046     export_dynamic_flag_spec='${wl}--export-dynamic'
9047     # ancient GNU ld didn't support --whole-archive et. al.
9048     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9049       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9050     else
9051       whole_archive_flag_spec=
9052     fi
9053     supports_anon_versioning=no
9054     case `$LD -v 2>&1` in
9055       *GNU\ gold*) supports_anon_versioning=yes ;;
9056       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9057       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9058       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9059       *\ 2.11.*) ;; # other 2.11 versions
9060       *) supports_anon_versioning=yes ;;
9061     esac
9062
9063     # See if GNU ld supports shared libraries.
9064     case $host_os in
9065     aix[3-9]*)
9066       # On AIX/PPC, the GNU linker is very broken
9067       if test "$host_cpu" != ia64; then
9068         ld_shlibs=no
9069         cat <<_LT_EOF 1>&2
9070
9071 *** Warning: the GNU linker, at least up to release 2.19, is reported
9072 *** to be unable to reliably create shared libraries on AIX.
9073 *** Therefore, libtool is disabling shared libraries support.  If you
9074 *** really care for shared libraries, you may want to install binutils
9075 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9076 *** You will then need to restart the configuration process.
9077
9078 _LT_EOF
9079       fi
9080       ;;
9081
9082     amigaos*)
9083       case $host_cpu in
9084       powerpc)
9085             # see comment about AmigaOS4 .so support
9086             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9087             archive_expsym_cmds=''
9088         ;;
9089       m68k)
9090             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)'
9091             hardcode_libdir_flag_spec='-L$libdir'
9092             hardcode_minus_L=yes
9093         ;;
9094       esac
9095       ;;
9096
9097     beos*)
9098       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9099         allow_undefined_flag=unsupported
9100         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9101         # support --undefined.  This deserves some investigation.  FIXME
9102         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9103       else
9104         ld_shlibs=no
9105       fi
9106       ;;
9107
9108     cygwin* | mingw* | pw32* | cegcc*)
9109       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9110       # as there is no search path for DLLs.
9111       hardcode_libdir_flag_spec='-L$libdir'
9112       export_dynamic_flag_spec='${wl}--export-all-symbols'
9113       allow_undefined_flag=unsupported
9114       always_export_symbols=no
9115       enable_shared_with_static_runtimes=yes
9116       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'
9117       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9118
9119       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9120         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9121         # If the export-symbols file already is a .def file (1st line
9122         # is EXPORTS), use it as is; otherwise, prepend...
9123         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9124           cp $export_symbols $output_objdir/$soname.def;
9125         else
9126           echo EXPORTS > $output_objdir/$soname.def;
9127           cat $export_symbols >> $output_objdir/$soname.def;
9128         fi~
9129         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9130       else
9131         ld_shlibs=no
9132       fi
9133       ;;
9134
9135     haiku*)
9136       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9137       link_all_deplibs=yes
9138       ;;
9139
9140     interix[3-9]*)
9141       hardcode_direct=no
9142       hardcode_shlibpath_var=no
9143       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9144       export_dynamic_flag_spec='${wl}-E'
9145       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9146       # Instead, shared libraries are loaded at an image base (0x10000000 by
9147       # default) and relocated if they conflict, which is a slow very memory
9148       # consuming and fragmenting process.  To avoid this, we pick a random,
9149       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9150       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9151       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9152       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'
9153       ;;
9154
9155     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9156       tmp_diet=no
9157       if test "$host_os" = linux-dietlibc; then
9158         case $cc_basename in
9159           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9160         esac
9161       fi
9162       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9163          && test "$tmp_diet" = no
9164       then
9165         tmp_addflag=' $pic_flag'
9166         tmp_sharedflag='-shared'
9167         case $cc_basename,$host_cpu in
9168         pgcc*)                          # Portland Group C compiler
9169           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'
9170           tmp_addflag=' $pic_flag'
9171           ;;
9172         pgf77* | pgf90* | pgf95* | pgfortran*)
9173                                         # Portland Group f77 and f90 compilers
9174           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'
9175           tmp_addflag=' $pic_flag -Mnomain' ;;
9176         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9177           tmp_addflag=' -i_dynamic' ;;
9178         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9179           tmp_addflag=' -i_dynamic -nofor_main' ;;
9180         ifc* | ifort*)                  # Intel Fortran compiler
9181           tmp_addflag=' -nofor_main' ;;
9182         lf95*)                          # Lahey Fortran 8.1
9183           whole_archive_flag_spec=
9184           tmp_sharedflag='--shared' ;;
9185         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9186           tmp_sharedflag='-qmkshrobj'
9187           tmp_addflag= ;;
9188         nvcc*)  # Cuda Compiler Driver 2.2
9189           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'
9190           compiler_needs_object=yes
9191           ;;
9192         esac
9193         case `$CC -V 2>&1 | sed 5q` in
9194         *Sun\ C*)                       # Sun C 5.9
9195           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'
9196           compiler_needs_object=yes
9197           tmp_sharedflag='-G' ;;
9198         *Sun\ F*)                       # Sun Fortran 8.3
9199           tmp_sharedflag='-G' ;;
9200         esac
9201         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9202
9203         if test "x$supports_anon_versioning" = xyes; then
9204           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9205             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9206             echo "local: *; };" >> $output_objdir/$libname.ver~
9207             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9208         fi
9209
9210         case $cc_basename in
9211         xlf* | bgf* | bgxlf* | mpixlf*)
9212           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9213           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9214           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9215           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9216           if test "x$supports_anon_versioning" = xyes; then
9217             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9218               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9219               echo "local: *; };" >> $output_objdir/$libname.ver~
9220               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9221           fi
9222           ;;
9223         esac
9224       else
9225         ld_shlibs=no
9226       fi
9227       ;;
9228
9229     netbsd* | netbsdelf*-gnu)
9230       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9231         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9232         wlarc=
9233       else
9234         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9235         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9236       fi
9237       ;;
9238
9239     solaris*)
9240       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9241         ld_shlibs=no
9242         cat <<_LT_EOF 1>&2
9243
9244 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9245 *** create shared libraries on Solaris systems.  Therefore, libtool
9246 *** is disabling shared libraries support.  We urge you to upgrade GNU
9247 *** binutils to release 2.9.1 or newer.  Another option is to modify
9248 *** your PATH or compiler configuration so that the native linker is
9249 *** used, and then restart.
9250
9251 _LT_EOF
9252       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9253         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9254         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9255       else
9256         ld_shlibs=no
9257       fi
9258       ;;
9259
9260     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9261       case `$LD -v 2>&1` in
9262         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9263         ld_shlibs=no
9264         cat <<_LT_EOF 1>&2
9265
9266 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9267 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9268 *** is disabling shared libraries support.  We urge you to upgrade GNU
9269 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9270 *** your PATH or compiler configuration so that the native linker is
9271 *** used, and then restart.
9272
9273 _LT_EOF
9274         ;;
9275         *)
9276           # For security reasons, it is highly recommended that you always
9277           # use absolute paths for naming shared libraries, and exclude the
9278           # DT_RUNPATH tag from executables and libraries.  But doing so
9279           # requires that you compile everything twice, which is a pain.
9280           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9281             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9282             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9283             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9284           else
9285             ld_shlibs=no
9286           fi
9287         ;;
9288       esac
9289       ;;
9290
9291     sunos4*)
9292       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9293       wlarc=
9294       hardcode_direct=yes
9295       hardcode_shlibpath_var=no
9296       ;;
9297
9298     *)
9299       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9300         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9301         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9302       else
9303         ld_shlibs=no
9304       fi
9305       ;;
9306     esac
9307
9308     if test "$ld_shlibs" = no; then
9309       runpath_var=
9310       hardcode_libdir_flag_spec=
9311       export_dynamic_flag_spec=
9312       whole_archive_flag_spec=
9313     fi
9314   else
9315     # PORTME fill in a description of your system's linker (not GNU ld)
9316     case $host_os in
9317     aix3*)
9318       allow_undefined_flag=unsupported
9319       always_export_symbols=yes
9320       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'
9321       # Note: this linker hardcodes the directories in LIBPATH if there
9322       # are no directories specified by -L.
9323       hardcode_minus_L=yes
9324       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9325         # Neither direct hardcoding nor static linking is supported with a
9326         # broken collect2.
9327         hardcode_direct=unsupported
9328       fi
9329       ;;
9330
9331     aix[4-9]*)
9332       if test "$host_cpu" = ia64; then
9333         # On IA64, the linker does run time linking by default, so we don't
9334         # have to do anything special.
9335         aix_use_runtimelinking=no
9336         exp_sym_flag='-Bexport'
9337         no_entry_flag=""
9338       else
9339         # If we're using GNU nm, then we don't want the "-C" option.
9340         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9341         # Also, AIX nm treats weak defined symbols like other global
9342         # defined symbols, whereas GNU nm marks them as "W".
9343         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9344           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'
9345         else
9346           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'
9347         fi
9348         aix_use_runtimelinking=no
9349
9350         # Test if we are trying to use run time linking or normal
9351         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9352         # need to do runtime linking.
9353         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9354           for ld_flag in $LDFLAGS; do
9355           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9356             aix_use_runtimelinking=yes
9357             break
9358           fi
9359           done
9360           ;;
9361         esac
9362
9363         exp_sym_flag='-bexport'
9364         no_entry_flag='-bnoentry'
9365       fi
9366
9367       # When large executables or shared objects are built, AIX ld can
9368       # have problems creating the table of contents.  If linking a library
9369       # or program results in "error TOC overflow" add -mminimal-toc to
9370       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9371       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9372
9373       archive_cmds=''
9374       hardcode_direct=yes
9375       hardcode_direct_absolute=yes
9376       hardcode_libdir_separator=':'
9377       link_all_deplibs=yes
9378       file_list_spec='${wl}-f,'
9379
9380       if test "$GCC" = yes; then
9381         case $host_os in aix4.[012]|aix4.[012].*)
9382         # We only want to do this on AIX 4.2 and lower, the check
9383         # below for broken collect2 doesn't work under 4.3+
9384           collect2name=`${CC} -print-prog-name=collect2`
9385           if test -f "$collect2name" &&
9386            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9387           then
9388           # We have reworked collect2
9389           :
9390           else
9391           # We have old collect2
9392           hardcode_direct=unsupported
9393           # It fails to find uninstalled libraries when the uninstalled
9394           # path is not listed in the libpath.  Setting hardcode_minus_L
9395           # to unsupported forces relinking
9396           hardcode_minus_L=yes
9397           hardcode_libdir_flag_spec='-L$libdir'
9398           hardcode_libdir_separator=
9399           fi
9400           ;;
9401         esac
9402         shared_flag='-shared'
9403         if test "$aix_use_runtimelinking" = yes; then
9404           shared_flag="$shared_flag "'${wl}-G'
9405         fi
9406         link_all_deplibs=no
9407       else
9408         # not using gcc
9409         if test "$host_cpu" = ia64; then
9410         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9411         # chokes on -Wl,-G. The following line is correct:
9412           shared_flag='-G'
9413         else
9414           if test "$aix_use_runtimelinking" = yes; then
9415             shared_flag='${wl}-G'
9416           else
9417             shared_flag='${wl}-bM:SRE'
9418           fi
9419         fi
9420       fi
9421
9422       export_dynamic_flag_spec='${wl}-bexpall'
9423       # It seems that -bexpall does not export symbols beginning with
9424       # underscore (_), so it is better to generate a list of symbols to export.
9425       always_export_symbols=yes
9426       if test "$aix_use_runtimelinking" = yes; then
9427         # Warning - without using the other runtime loading flags (-brtl),
9428         # -berok will link without error, but may produce a broken library.
9429         allow_undefined_flag='-berok'
9430         # Determine the default libpath from the value encoded in an
9431         # empty executable.
9432         if test "${lt_cv_aix_libpath+set}" = set; then
9433   aix_libpath=$lt_cv_aix_libpath
9434 else
9435   if ${lt_cv_aix_libpath_+:} false; then :
9436   $as_echo_n "(cached) " >&6
9437 else
9438   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9439 /* end confdefs.h.  */
9440
9441 int
9442 main ()
9443 {
9444
9445   ;
9446   return 0;
9447 }
9448 _ACEOF
9449 if ac_fn_c_try_link "$LINENO"; then :
9450
9451   lt_aix_libpath_sed='
9452       /Import File Strings/,/^$/ {
9453           /^0/ {
9454               s/^0  *\([^ ]*\) *$/\1/
9455               p
9456           }
9457       }'
9458   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9459   # Check for a 64-bit object if we didn't find anything.
9460   if test -z "$lt_cv_aix_libpath_"; then
9461     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9462   fi
9463 fi
9464 rm -f core conftest.err conftest.$ac_objext \
9465     conftest$ac_exeext conftest.$ac_ext
9466   if test -z "$lt_cv_aix_libpath_"; then
9467     lt_cv_aix_libpath_="/usr/lib:/lib"
9468   fi
9469
9470 fi
9471
9472   aix_libpath=$lt_cv_aix_libpath_
9473 fi
9474
9475         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9476         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"
9477       else
9478         if test "$host_cpu" = ia64; then
9479           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9480           allow_undefined_flag="-z nodefs"
9481           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"
9482         else
9483          # Determine the default libpath from the value encoded in an
9484          # empty executable.
9485          if test "${lt_cv_aix_libpath+set}" = set; then
9486   aix_libpath=$lt_cv_aix_libpath
9487 else
9488   if ${lt_cv_aix_libpath_+:} false; then :
9489   $as_echo_n "(cached) " >&6
9490 else
9491   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9492 /* end confdefs.h.  */
9493
9494 int
9495 main ()
9496 {
9497
9498   ;
9499   return 0;
9500 }
9501 _ACEOF
9502 if ac_fn_c_try_link "$LINENO"; then :
9503
9504   lt_aix_libpath_sed='
9505       /Import File Strings/,/^$/ {
9506           /^0/ {
9507               s/^0  *\([^ ]*\) *$/\1/
9508               p
9509           }
9510       }'
9511   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9512   # Check for a 64-bit object if we didn't find anything.
9513   if test -z "$lt_cv_aix_libpath_"; then
9514     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9515   fi
9516 fi
9517 rm -f core conftest.err conftest.$ac_objext \
9518     conftest$ac_exeext conftest.$ac_ext
9519   if test -z "$lt_cv_aix_libpath_"; then
9520     lt_cv_aix_libpath_="/usr/lib:/lib"
9521   fi
9522
9523 fi
9524
9525   aix_libpath=$lt_cv_aix_libpath_
9526 fi
9527
9528          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9529           # Warning - without using the other run time loading flags,
9530           # -berok will link without error, but may produce a broken library.
9531           no_undefined_flag=' ${wl}-bernotok'
9532           allow_undefined_flag=' ${wl}-berok'
9533           if test "$with_gnu_ld" = yes; then
9534             # We only use this code for GNU lds that support --whole-archive.
9535             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9536           else
9537             # Exported symbols can be pulled into shared objects from archives
9538             whole_archive_flag_spec='$convenience'
9539           fi
9540           archive_cmds_need_lc=yes
9541           # This is similar to how AIX traditionally builds its shared libraries.
9542           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'
9543         fi
9544       fi
9545       ;;
9546
9547     amigaos*)
9548       case $host_cpu in
9549       powerpc)
9550             # see comment about AmigaOS4 .so support
9551             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9552             archive_expsym_cmds=''
9553         ;;
9554       m68k)
9555             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)'
9556             hardcode_libdir_flag_spec='-L$libdir'
9557             hardcode_minus_L=yes
9558         ;;
9559       esac
9560       ;;
9561
9562     bsdi[45]*)
9563       export_dynamic_flag_spec=-rdynamic
9564       ;;
9565
9566     cygwin* | mingw* | pw32* | cegcc*)
9567       # When not using gcc, we currently assume that we are using
9568       # Microsoft Visual C++.
9569       # hardcode_libdir_flag_spec is actually meaningless, as there is
9570       # no search path for DLLs.
9571       case $cc_basename in
9572       cl*)
9573         # Native MSVC
9574         hardcode_libdir_flag_spec=' '
9575         allow_undefined_flag=unsupported
9576         always_export_symbols=yes
9577         file_list_spec='@'
9578         # Tell ltmain to make .lib files, not .a files.
9579         libext=lib
9580         # Tell ltmain to make .dll files, not .so files.
9581         shrext_cmds=".dll"
9582         # FIXME: Setting linknames here is a bad hack.
9583         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9584         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9585             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9586           else
9587             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9588           fi~
9589           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9590           linknames='
9591         # The linker will not automatically build a static lib if we build a DLL.
9592         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9593         enable_shared_with_static_runtimes=yes
9594         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9595         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9596         # Don't use ranlib
9597         old_postinstall_cmds='chmod 644 $oldlib'
9598         postlink_cmds='lt_outputfile="@OUTPUT@"~
9599           lt_tool_outputfile="@TOOL_OUTPUT@"~
9600           case $lt_outputfile in
9601             *.exe|*.EXE) ;;
9602             *)
9603               lt_outputfile="$lt_outputfile.exe"
9604               lt_tool_outputfile="$lt_tool_outputfile.exe"
9605               ;;
9606           esac~
9607           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9608             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9609             $RM "$lt_outputfile.manifest";
9610           fi'
9611         ;;
9612       *)
9613         # Assume MSVC wrapper
9614         hardcode_libdir_flag_spec=' '
9615         allow_undefined_flag=unsupported
9616         # Tell ltmain to make .lib files, not .a files.
9617         libext=lib
9618         # Tell ltmain to make .dll files, not .so files.
9619         shrext_cmds=".dll"
9620         # FIXME: Setting linknames here is a bad hack.
9621         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9622         # The linker will automatically build a .lib file if we build a DLL.
9623         old_archive_from_new_cmds='true'
9624         # FIXME: Should let the user specify the lib program.
9625         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9626         enable_shared_with_static_runtimes=yes
9627         ;;
9628       esac
9629       ;;
9630
9631     darwin* | rhapsody*)
9632
9633
9634   archive_cmds_need_lc=no
9635   hardcode_direct=no
9636   hardcode_automatic=yes
9637   hardcode_shlibpath_var=unsupported
9638   if test "$lt_cv_ld_force_load" = "yes"; then
9639     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\"`'
9640
9641   else
9642     whole_archive_flag_spec=''
9643   fi
9644   link_all_deplibs=yes
9645   allow_undefined_flag="$_lt_dar_allow_undefined"
9646   case $cc_basename in
9647      ifort*) _lt_dar_can_shared=yes ;;
9648      *) _lt_dar_can_shared=$GCC ;;
9649   esac
9650   if test "$_lt_dar_can_shared" = "yes"; then
9651     output_verbose_link_cmd=func_echo_all
9652     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9653     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9654     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}"
9655     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}"
9656
9657   else
9658   ld_shlibs=no
9659   fi
9660
9661       ;;
9662
9663     dgux*)
9664       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9665       hardcode_libdir_flag_spec='-L$libdir'
9666       hardcode_shlibpath_var=no
9667       ;;
9668
9669     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9670     # support.  Future versions do this automatically, but an explicit c++rt0.o
9671     # does not break anything, and helps significantly (at the cost of a little
9672     # extra space).
9673     freebsd2.2*)
9674       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9675       hardcode_libdir_flag_spec='-R$libdir'
9676       hardcode_direct=yes
9677       hardcode_shlibpath_var=no
9678       ;;
9679
9680     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9681     freebsd2.*)
9682       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9683       hardcode_direct=yes
9684       hardcode_minus_L=yes
9685       hardcode_shlibpath_var=no
9686       ;;
9687
9688     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9689     freebsd* | dragonfly*)
9690       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9691       hardcode_libdir_flag_spec='-R$libdir'
9692       hardcode_direct=yes
9693       hardcode_shlibpath_var=no
9694       ;;
9695
9696     hpux9*)
9697       if test "$GCC" = yes; then
9698         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'
9699       else
9700         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'
9701       fi
9702       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9703       hardcode_libdir_separator=:
9704       hardcode_direct=yes
9705
9706       # hardcode_minus_L: Not really in the search PATH,
9707       # but as the default location of the library.
9708       hardcode_minus_L=yes
9709       export_dynamic_flag_spec='${wl}-E'
9710       ;;
9711
9712     hpux10*)
9713       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9714         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9715       else
9716         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9717       fi
9718       if test "$with_gnu_ld" = no; then
9719         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9720         hardcode_libdir_separator=:
9721         hardcode_direct=yes
9722         hardcode_direct_absolute=yes
9723         export_dynamic_flag_spec='${wl}-E'
9724         # hardcode_minus_L: Not really in the search PATH,
9725         # but as the default location of the library.
9726         hardcode_minus_L=yes
9727       fi
9728       ;;
9729
9730     hpux11*)
9731       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9732         case $host_cpu in
9733         hppa*64*)
9734           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9735           ;;
9736         ia64*)
9737           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9738           ;;
9739         *)
9740           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9741           ;;
9742         esac
9743       else
9744         case $host_cpu in
9745         hppa*64*)
9746           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9747           ;;
9748         ia64*)
9749           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9750           ;;
9751         *)
9752
9753           # Older versions of the 11.00 compiler do not understand -b yet
9754           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9755           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9756 $as_echo_n "checking if $CC understands -b... " >&6; }
9757 if ${lt_cv_prog_compiler__b+:} false; then :
9758   $as_echo_n "(cached) " >&6
9759 else
9760   lt_cv_prog_compiler__b=no
9761    save_LDFLAGS="$LDFLAGS"
9762    LDFLAGS="$LDFLAGS -b"
9763    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9764    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9765      # The linker can only warn and ignore the option if not recognized
9766      # So say no if there are warnings
9767      if test -s conftest.err; then
9768        # Append any errors to the config.log.
9769        cat conftest.err 1>&5
9770        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9771        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9772        if diff conftest.exp conftest.er2 >/dev/null; then
9773          lt_cv_prog_compiler__b=yes
9774        fi
9775      else
9776        lt_cv_prog_compiler__b=yes
9777      fi
9778    fi
9779    $RM -r conftest*
9780    LDFLAGS="$save_LDFLAGS"
9781
9782 fi
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9784 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9785
9786 if test x"$lt_cv_prog_compiler__b" = xyes; then
9787     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9788 else
9789     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9790 fi
9791
9792           ;;
9793         esac
9794       fi
9795       if test "$with_gnu_ld" = no; then
9796         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9797         hardcode_libdir_separator=:
9798
9799         case $host_cpu in
9800         hppa*64*|ia64*)
9801           hardcode_direct=no
9802           hardcode_shlibpath_var=no
9803           ;;
9804         *)
9805           hardcode_direct=yes
9806           hardcode_direct_absolute=yes
9807           export_dynamic_flag_spec='${wl}-E'
9808
9809           # hardcode_minus_L: Not really in the search PATH,
9810           # but as the default location of the library.
9811           hardcode_minus_L=yes
9812           ;;
9813         esac
9814       fi
9815       ;;
9816
9817     irix5* | irix6* | nonstopux*)
9818       if test "$GCC" = yes; then
9819         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'
9820         # Try to use the -exported_symbol ld option, if it does not
9821         # work, assume that -exports_file does not work either and
9822         # implicitly export all symbols.
9823         # This should be the same for all languages, so no per-tag cache variable.
9824         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9825 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9826 if ${lt_cv_irix_exported_symbol+:} false; then :
9827   $as_echo_n "(cached) " >&6
9828 else
9829   save_LDFLAGS="$LDFLAGS"
9830            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9831            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9832 /* end confdefs.h.  */
9833 int foo (void) { return 0; }
9834 _ACEOF
9835 if ac_fn_c_try_link "$LINENO"; then :
9836   lt_cv_irix_exported_symbol=yes
9837 else
9838   lt_cv_irix_exported_symbol=no
9839 fi
9840 rm -f core conftest.err conftest.$ac_objext \
9841     conftest$ac_exeext conftest.$ac_ext
9842            LDFLAGS="$save_LDFLAGS"
9843 fi
9844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9845 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9846         if test "$lt_cv_irix_exported_symbol" = yes; then
9847           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'
9848         fi
9849       else
9850         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'
9851         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'
9852       fi
9853       archive_cmds_need_lc='no'
9854       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9855       hardcode_libdir_separator=:
9856       inherit_rpath=yes
9857       link_all_deplibs=yes
9858       ;;
9859
9860     netbsd* | netbsdelf*-gnu)
9861       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9862         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9863       else
9864         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9865       fi
9866       hardcode_libdir_flag_spec='-R$libdir'
9867       hardcode_direct=yes
9868       hardcode_shlibpath_var=no
9869       ;;
9870
9871     newsos6)
9872       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9873       hardcode_direct=yes
9874       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9875       hardcode_libdir_separator=:
9876       hardcode_shlibpath_var=no
9877       ;;
9878
9879     *nto* | *qnx*)
9880       ;;
9881
9882     openbsd*)
9883       if test -f /usr/libexec/ld.so; then
9884         hardcode_direct=yes
9885         hardcode_shlibpath_var=no
9886         hardcode_direct_absolute=yes
9887         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9888           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9889           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9890           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9891           export_dynamic_flag_spec='${wl}-E'
9892         else
9893           case $host_os in
9894            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9895              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9896              hardcode_libdir_flag_spec='-R$libdir'
9897              ;;
9898            *)
9899              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9900              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9901              ;;
9902           esac
9903         fi
9904       else
9905         ld_shlibs=no
9906       fi
9907       ;;
9908
9909     os2*)
9910       hardcode_libdir_flag_spec='-L$libdir'
9911       hardcode_minus_L=yes
9912       allow_undefined_flag=unsupported
9913       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'
9914       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9915       ;;
9916
9917     osf3*)
9918       if test "$GCC" = yes; then
9919         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9920         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'
9921       else
9922         allow_undefined_flag=' -expect_unresolved \*'
9923         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'
9924       fi
9925       archive_cmds_need_lc='no'
9926       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9927       hardcode_libdir_separator=:
9928       ;;
9929
9930     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9931       if test "$GCC" = yes; then
9932         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9933         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'
9934         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9935       else
9936         allow_undefined_flag=' -expect_unresolved \*'
9937         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'
9938         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~
9939         $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'
9940
9941         # Both c and cxx compiler support -rpath directly
9942         hardcode_libdir_flag_spec='-rpath $libdir'
9943       fi
9944       archive_cmds_need_lc='no'
9945       hardcode_libdir_separator=:
9946       ;;
9947
9948     solaris*)
9949       no_undefined_flag=' -z defs'
9950       if test "$GCC" = yes; then
9951         wlarc='${wl}'
9952         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9953         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9954           $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'
9955       else
9956         case `$CC -V 2>&1` in
9957         *"Compilers 5.0"*)
9958           wlarc=''
9959           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9960           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9961           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9962           ;;
9963         *)
9964           wlarc='${wl}'
9965           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9966           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9967           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9968           ;;
9969         esac
9970       fi
9971       hardcode_libdir_flag_spec='-R$libdir'
9972       hardcode_shlibpath_var=no
9973       case $host_os in
9974       solaris2.[0-5] | solaris2.[0-5].*) ;;
9975       *)
9976         # The compiler driver will combine and reorder linker options,
9977         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9978         # but is careful enough not to reorder.
9979         # Supported since Solaris 2.6 (maybe 2.5.1?)
9980         if test "$GCC" = yes; then
9981           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9982         else
9983           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9984         fi
9985         ;;
9986       esac
9987       link_all_deplibs=yes
9988       ;;
9989
9990     sunos4*)
9991       if test "x$host_vendor" = xsequent; then
9992         # Use $CC to link under sequent, because it throws in some extra .o
9993         # files that make .init and .fini sections work.
9994         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9995       else
9996         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9997       fi
9998       hardcode_libdir_flag_spec='-L$libdir'
9999       hardcode_direct=yes
10000       hardcode_minus_L=yes
10001       hardcode_shlibpath_var=no
10002       ;;
10003
10004     sysv4)
10005       case $host_vendor in
10006         sni)
10007           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10008           hardcode_direct=yes # is this really true???
10009         ;;
10010         siemens)
10011           ## LD is ld it makes a PLAMLIB
10012           ## CC just makes a GrossModule.
10013           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10014           reload_cmds='$CC -r -o $output$reload_objs'
10015           hardcode_direct=no
10016         ;;
10017         motorola)
10018           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10019           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10020         ;;
10021       esac
10022       runpath_var='LD_RUN_PATH'
10023       hardcode_shlibpath_var=no
10024       ;;
10025
10026     sysv4.3*)
10027       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10028       hardcode_shlibpath_var=no
10029       export_dynamic_flag_spec='-Bexport'
10030       ;;
10031
10032     sysv4*MP*)
10033       if test -d /usr/nec; then
10034         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10035         hardcode_shlibpath_var=no
10036         runpath_var=LD_RUN_PATH
10037         hardcode_runpath_var=yes
10038         ld_shlibs=yes
10039       fi
10040       ;;
10041
10042     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10043       no_undefined_flag='${wl}-z,text'
10044       archive_cmds_need_lc=no
10045       hardcode_shlibpath_var=no
10046       runpath_var='LD_RUN_PATH'
10047
10048       if test "$GCC" = yes; then
10049         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10050         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10051       else
10052         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10053         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10054       fi
10055       ;;
10056
10057     sysv5* | sco3.2v5* | sco5v6*)
10058       # Note: We can NOT use -z defs as we might desire, because we do not
10059       # link with -lc, and that would cause any symbols used from libc to
10060       # always be unresolved, which means just about no library would
10061       # ever link correctly.  If we're not using GNU ld we use -z text
10062       # though, which does catch some bad symbols but isn't as heavy-handed
10063       # as -z defs.
10064       no_undefined_flag='${wl}-z,text'
10065       allow_undefined_flag='${wl}-z,nodefs'
10066       archive_cmds_need_lc=no
10067       hardcode_shlibpath_var=no
10068       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10069       hardcode_libdir_separator=':'
10070       link_all_deplibs=yes
10071       export_dynamic_flag_spec='${wl}-Bexport'
10072       runpath_var='LD_RUN_PATH'
10073
10074       if test "$GCC" = yes; then
10075         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10076         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10077       else
10078         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10079         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10080       fi
10081       ;;
10082
10083     uts4*)
10084       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10085       hardcode_libdir_flag_spec='-L$libdir'
10086       hardcode_shlibpath_var=no
10087       ;;
10088
10089     *)
10090       ld_shlibs=no
10091       ;;
10092     esac
10093
10094     if test x$host_vendor = xsni; then
10095       case $host in
10096       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10097         export_dynamic_flag_spec='${wl}-Blargedynsym'
10098         ;;
10099       esac
10100     fi
10101   fi
10102
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10104 $as_echo "$ld_shlibs" >&6; }
10105 test "$ld_shlibs" = no && can_build_shared=no
10106
10107 with_gnu_ld=$with_gnu_ld
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123 #
10124 # Do we need to explicitly link libc?
10125 #
10126 case "x$archive_cmds_need_lc" in
10127 x|xyes)
10128   # Assume -lc should be added
10129   archive_cmds_need_lc=yes
10130
10131   if test "$enable_shared" = yes && test "$GCC" = yes; then
10132     case $archive_cmds in
10133     *'~'*)
10134       # FIXME: we may have to deal with multi-command sequences.
10135       ;;
10136     '$CC '*)
10137       # Test whether the compiler implicitly links with -lc since on some
10138       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10139       # to ld, don't add -lc before -lgcc.
10140       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10141 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10142 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10143   $as_echo_n "(cached) " >&6
10144 else
10145   $RM conftest*
10146         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10147
10148         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10149   (eval $ac_compile) 2>&5
10150   ac_status=$?
10151   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10152   test $ac_status = 0; } 2>conftest.err; then
10153           soname=conftest
10154           lib=conftest
10155           libobjs=conftest.$ac_objext
10156           deplibs=
10157           wl=$lt_prog_compiler_wl
10158           pic_flag=$lt_prog_compiler_pic
10159           compiler_flags=-v
10160           linker_flags=-v
10161           verstring=
10162           output_objdir=.
10163           libname=conftest
10164           lt_save_allow_undefined_flag=$allow_undefined_flag
10165           allow_undefined_flag=
10166           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10167   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10168   ac_status=$?
10169   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10170   test $ac_status = 0; }
10171           then
10172             lt_cv_archive_cmds_need_lc=no
10173           else
10174             lt_cv_archive_cmds_need_lc=yes
10175           fi
10176           allow_undefined_flag=$lt_save_allow_undefined_flag
10177         else
10178           cat conftest.err 1>&5
10179         fi
10180         $RM conftest*
10181
10182 fi
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10184 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10185       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10186       ;;
10187     esac
10188   fi
10189   ;;
10190 esac
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10344 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10345
10346 if test "$GCC" = yes; then
10347   case $host_os in
10348     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10349     *) lt_awk_arg="/^libraries:/" ;;
10350   esac
10351   case $host_os in
10352     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10353     *) lt_sed_strip_eq="s,=/,/,g" ;;
10354   esac
10355   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10356   case $lt_search_path_spec in
10357   *\;*)
10358     # if the path contains ";" then we assume it to be the separator
10359     # otherwise default to the standard path separator (i.e. ":") - it is
10360     # assumed that no part of a normal pathname contains ";" but that should
10361     # okay in the real world where ";" in dirpaths is itself problematic.
10362     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10363     ;;
10364   *)
10365     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10366     ;;
10367   esac
10368   # Ok, now we have the path, separated by spaces, we can step through it
10369   # and add multilib dir if necessary.
10370   lt_tmp_lt_search_path_spec=
10371   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10372   for lt_sys_path in $lt_search_path_spec; do
10373     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10374       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10375     else
10376       test -d "$lt_sys_path" && \
10377         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10378     fi
10379   done
10380   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10381 BEGIN {RS=" "; FS="/|\n";} {
10382   lt_foo="";
10383   lt_count=0;
10384   for (lt_i = NF; lt_i > 0; lt_i--) {
10385     if ($lt_i != "" && $lt_i != ".") {
10386       if ($lt_i == "..") {
10387         lt_count++;
10388       } else {
10389         if (lt_count == 0) {
10390           lt_foo="/" $lt_i lt_foo;
10391         } else {
10392           lt_count--;
10393         }
10394       }
10395     }
10396   }
10397   if (lt_foo != "") { lt_freq[lt_foo]++; }
10398   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10399 }'`
10400   # AWK program above erroneously prepends '/' to C:/dos/paths
10401   # for these hosts.
10402   case $host_os in
10403     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10404       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10405   esac
10406   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10407 else
10408   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10409 fi
10410 library_names_spec=
10411 libname_spec='lib$name'
10412 soname_spec=
10413 shrext_cmds=".so"
10414 postinstall_cmds=
10415 postuninstall_cmds=
10416 finish_cmds=
10417 finish_eval=
10418 shlibpath_var=
10419 shlibpath_overrides_runpath=unknown
10420 version_type=none
10421 dynamic_linker="$host_os ld.so"
10422 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10423 need_lib_prefix=unknown
10424 hardcode_into_libs=no
10425
10426 # when you set need_version to no, make sure it does not cause -set_version
10427 # flags to be left without arguments
10428 need_version=unknown
10429
10430 case $host_os in
10431 aix3*)
10432   version_type=linux # correct to gnu/linux during the next big refactor
10433   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10434   shlibpath_var=LIBPATH
10435
10436   # AIX 3 has no versioning support, so we append a major version to the name.
10437   soname_spec='${libname}${release}${shared_ext}$major'
10438   ;;
10439
10440 aix[4-9]*)
10441   version_type=linux # correct to gnu/linux during the next big refactor
10442   need_lib_prefix=no
10443   need_version=no
10444   hardcode_into_libs=yes
10445   if test "$host_cpu" = ia64; then
10446     # AIX 5 supports IA64
10447     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10448     shlibpath_var=LD_LIBRARY_PATH
10449   else
10450     # With GCC up to 2.95.x, collect2 would create an import file
10451     # for dependence libraries.  The import file would start with
10452     # the line `#! .'.  This would cause the generated library to
10453     # depend on `.', always an invalid library.  This was fixed in
10454     # development snapshots of GCC prior to 3.0.
10455     case $host_os in
10456       aix4 | aix4.[01] | aix4.[01].*)
10457       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10458            echo ' yes '
10459            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10460         :
10461       else
10462         can_build_shared=no
10463       fi
10464       ;;
10465     esac
10466     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10467     # soname into executable. Probably we can add versioning support to
10468     # collect2, so additional links can be useful in future.
10469     if test "$aix_use_runtimelinking" = yes; then
10470       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10471       # instead of lib<name>.a to let people know that these are not
10472       # typical AIX shared libraries.
10473       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10474     else
10475       # We preserve .a as extension for shared libraries through AIX4.2
10476       # and later when we are not doing run time linking.
10477       library_names_spec='${libname}${release}.a $libname.a'
10478       soname_spec='${libname}${release}${shared_ext}$major'
10479     fi
10480     shlibpath_var=LIBPATH
10481   fi
10482   ;;
10483
10484 amigaos*)
10485   case $host_cpu in
10486   powerpc)
10487     # Since July 2007 AmigaOS4 officially supports .so libraries.
10488     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10489     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10490     ;;
10491   m68k)
10492     library_names_spec='$libname.ixlibrary $libname.a'
10493     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10494     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'
10495     ;;
10496   esac
10497   ;;
10498
10499 beos*)
10500   library_names_spec='${libname}${shared_ext}'
10501   dynamic_linker="$host_os ld.so"
10502   shlibpath_var=LIBRARY_PATH
10503   ;;
10504
10505 bsdi[45]*)
10506   version_type=linux # correct to gnu/linux during the next big refactor
10507   need_version=no
10508   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10509   soname_spec='${libname}${release}${shared_ext}$major'
10510   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10511   shlibpath_var=LD_LIBRARY_PATH
10512   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10513   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10514   # the default ld.so.conf also contains /usr/contrib/lib and
10515   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10516   # libtool to hard-code these into programs
10517   ;;
10518
10519 cygwin* | mingw* | pw32* | cegcc*)
10520   version_type=windows
10521   shrext_cmds=".dll"
10522   need_version=no
10523   need_lib_prefix=no
10524
10525   case $GCC,$cc_basename in
10526   yes,*)
10527     # gcc
10528     library_names_spec='$libname.dll.a'
10529     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10530     postinstall_cmds='base_file=`basename \${file}`~
10531       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10532       dldir=$destdir/`dirname \$dlpath`~
10533       test -d \$dldir || mkdir -p \$dldir~
10534       $install_prog $dir/$dlname \$dldir/$dlname~
10535       chmod a+x \$dldir/$dlname~
10536       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10537         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10538       fi'
10539     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10540       dlpath=$dir/\$dldll~
10541        $RM \$dlpath'
10542     shlibpath_overrides_runpath=yes
10543
10544     case $host_os in
10545     cygwin*)
10546       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10547       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10548
10549       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10550       ;;
10551     mingw* | cegcc*)
10552       # MinGW DLLs use traditional 'lib' prefix
10553       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10554       ;;
10555     pw32*)
10556       # pw32 DLLs use 'pw' prefix rather than 'lib'
10557       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10558       ;;
10559     esac
10560     dynamic_linker='Win32 ld.exe'
10561     ;;
10562
10563   *,cl*)
10564     # Native MSVC
10565     libname_spec='$name'
10566     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10567     library_names_spec='${libname}.dll.lib'
10568
10569     case $build_os in
10570     mingw*)
10571       sys_lib_search_path_spec=
10572       lt_save_ifs=$IFS
10573       IFS=';'
10574       for lt_path in $LIB
10575       do
10576         IFS=$lt_save_ifs
10577         # Let DOS variable expansion print the short 8.3 style file name.
10578         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10579         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10580       done
10581       IFS=$lt_save_ifs
10582       # Convert to MSYS style.
10583       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10584       ;;
10585     cygwin*)
10586       # Convert to unix form, then to dos form, then back to unix form
10587       # but this time dos style (no spaces!) so that the unix form looks
10588       # like /cygdrive/c/PROGRA~1:/cygdr...
10589       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10590       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10591       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10592       ;;
10593     *)
10594       sys_lib_search_path_spec="$LIB"
10595       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10596         # It is most probably a Windows format PATH.
10597         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10598       else
10599         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10600       fi
10601       # FIXME: find the short name or the path components, as spaces are
10602       # common. (e.g. "Program Files" -> "PROGRA~1")
10603       ;;
10604     esac
10605
10606     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10607     postinstall_cmds='base_file=`basename \${file}`~
10608       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10609       dldir=$destdir/`dirname \$dlpath`~
10610       test -d \$dldir || mkdir -p \$dldir~
10611       $install_prog $dir/$dlname \$dldir/$dlname'
10612     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10613       dlpath=$dir/\$dldll~
10614        $RM \$dlpath'
10615     shlibpath_overrides_runpath=yes
10616     dynamic_linker='Win32 link.exe'
10617     ;;
10618
10619   *)
10620     # Assume MSVC wrapper
10621     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10622     dynamic_linker='Win32 ld.exe'
10623     ;;
10624   esac
10625   # FIXME: first we should search . and the directory the executable is in
10626   shlibpath_var=PATH
10627   ;;
10628
10629 darwin* | rhapsody*)
10630   dynamic_linker="$host_os dyld"
10631   version_type=darwin
10632   need_lib_prefix=no
10633   need_version=no
10634   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10635   soname_spec='${libname}${release}${major}$shared_ext'
10636   shlibpath_overrides_runpath=yes
10637   shlibpath_var=DYLD_LIBRARY_PATH
10638   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10639
10640   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10641   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10642   ;;
10643
10644 dgux*)
10645   version_type=linux # correct to gnu/linux during the next big refactor
10646   need_lib_prefix=no
10647   need_version=no
10648   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10649   soname_spec='${libname}${release}${shared_ext}$major'
10650   shlibpath_var=LD_LIBRARY_PATH
10651   ;;
10652
10653 freebsd* | dragonfly*)
10654   # DragonFly does not have aout.  When/if they implement a new
10655   # versioning mechanism, adjust this.
10656   if test -x /usr/bin/objformat; then
10657     objformat=`/usr/bin/objformat`
10658   else
10659     case $host_os in
10660     freebsd[23].*) objformat=aout ;;
10661     *) objformat=elf ;;
10662     esac
10663   fi
10664   version_type=freebsd-$objformat
10665   case $version_type in
10666     freebsd-elf*)
10667       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10668       need_version=no
10669       need_lib_prefix=no
10670       ;;
10671     freebsd-*)
10672       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10673       need_version=yes
10674       ;;
10675   esac
10676   shlibpath_var=LD_LIBRARY_PATH
10677   case $host_os in
10678   freebsd2.*)
10679     shlibpath_overrides_runpath=yes
10680     ;;
10681   freebsd3.[01]* | freebsdelf3.[01]*)
10682     shlibpath_overrides_runpath=yes
10683     hardcode_into_libs=yes
10684     ;;
10685   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10686   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10687     shlibpath_overrides_runpath=no
10688     hardcode_into_libs=yes
10689     ;;
10690   *) # from 4.6 on, and DragonFly
10691     shlibpath_overrides_runpath=yes
10692     hardcode_into_libs=yes
10693     ;;
10694   esac
10695   ;;
10696
10697 haiku*)
10698   version_type=linux # correct to gnu/linux during the next big refactor
10699   need_lib_prefix=no
10700   need_version=no
10701   dynamic_linker="$host_os runtime_loader"
10702   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10703   soname_spec='${libname}${release}${shared_ext}$major'
10704   shlibpath_var=LIBRARY_PATH
10705   shlibpath_overrides_runpath=yes
10706   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10707   hardcode_into_libs=yes
10708   ;;
10709
10710 hpux9* | hpux10* | hpux11*)
10711   # Give a soname corresponding to the major version so that dld.sl refuses to
10712   # link against other versions.
10713   version_type=sunos
10714   need_lib_prefix=no
10715   need_version=no
10716   case $host_cpu in
10717   ia64*)
10718     shrext_cmds='.so'
10719     hardcode_into_libs=yes
10720     dynamic_linker="$host_os dld.so"
10721     shlibpath_var=LD_LIBRARY_PATH
10722     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10723     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10724     soname_spec='${libname}${release}${shared_ext}$major'
10725     if test "X$HPUX_IA64_MODE" = X32; then
10726       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10727     else
10728       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10729     fi
10730     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10731     ;;
10732   hppa*64*)
10733     shrext_cmds='.sl'
10734     hardcode_into_libs=yes
10735     dynamic_linker="$host_os dld.sl"
10736     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10737     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10738     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10739     soname_spec='${libname}${release}${shared_ext}$major'
10740     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10741     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10742     ;;
10743   *)
10744     shrext_cmds='.sl'
10745     dynamic_linker="$host_os dld.sl"
10746     shlibpath_var=SHLIB_PATH
10747     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10748     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10749     soname_spec='${libname}${release}${shared_ext}$major'
10750     ;;
10751   esac
10752   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10753   postinstall_cmds='chmod 555 $lib'
10754   # or fails outright, so override atomically:
10755   install_override_mode=555
10756   ;;
10757
10758 interix[3-9]*)
10759   version_type=linux # correct to gnu/linux during the next big refactor
10760   need_lib_prefix=no
10761   need_version=no
10762   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10763   soname_spec='${libname}${release}${shared_ext}$major'
10764   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10765   shlibpath_var=LD_LIBRARY_PATH
10766   shlibpath_overrides_runpath=no
10767   hardcode_into_libs=yes
10768   ;;
10769
10770 irix5* | irix6* | nonstopux*)
10771   case $host_os in
10772     nonstopux*) version_type=nonstopux ;;
10773     *)
10774         if test "$lt_cv_prog_gnu_ld" = yes; then
10775                 version_type=linux # correct to gnu/linux during the next big refactor
10776         else
10777                 version_type=irix
10778         fi ;;
10779   esac
10780   need_lib_prefix=no
10781   need_version=no
10782   soname_spec='${libname}${release}${shared_ext}$major'
10783   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10784   case $host_os in
10785   irix5* | nonstopux*)
10786     libsuff= shlibsuff=
10787     ;;
10788   *)
10789     case $LD in # libtool.m4 will add one of these switches to LD
10790     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10791       libsuff= shlibsuff= libmagic=32-bit;;
10792     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10793       libsuff=32 shlibsuff=N32 libmagic=N32;;
10794     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10795       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10796     *) libsuff= shlibsuff= libmagic=never-match;;
10797     esac
10798     ;;
10799   esac
10800   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10801   shlibpath_overrides_runpath=no
10802   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10803   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10804   hardcode_into_libs=yes
10805   ;;
10806
10807 # No shared lib support for Linux oldld, aout, or coff.
10808 linux*oldld* | linux*aout* | linux*coff*)
10809   dynamic_linker=no
10810   ;;
10811
10812 # This must be glibc/ELF.
10813 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10814   version_type=linux # correct to gnu/linux during the next big refactor
10815   need_lib_prefix=no
10816   need_version=no
10817   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10818   soname_spec='${libname}${release}${shared_ext}$major'
10819   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10820   shlibpath_var=LD_LIBRARY_PATH
10821   shlibpath_overrides_runpath=no
10822
10823   # Some binutils ld are patched to set DT_RUNPATH
10824   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10825   $as_echo_n "(cached) " >&6
10826 else
10827   lt_cv_shlibpath_overrides_runpath=no
10828     save_LDFLAGS=$LDFLAGS
10829     save_libdir=$libdir
10830     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10831          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10832     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10833 /* end confdefs.h.  */
10834
10835 int
10836 main ()
10837 {
10838
10839   ;
10840   return 0;
10841 }
10842 _ACEOF
10843 if ac_fn_c_try_link "$LINENO"; then :
10844   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10845   lt_cv_shlibpath_overrides_runpath=yes
10846 fi
10847 fi
10848 rm -f core conftest.err conftest.$ac_objext \
10849     conftest$ac_exeext conftest.$ac_ext
10850     LDFLAGS=$save_LDFLAGS
10851     libdir=$save_libdir
10852
10853 fi
10854
10855   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10856
10857   # This implies no fast_install, which is unacceptable.
10858   # Some rework will be needed to allow for fast_install
10859   # before this can be enabled.
10860   hardcode_into_libs=yes
10861
10862   # Append ld.so.conf contents to the search path
10863   if test -f /etc/ld.so.conf; then
10864     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' ' '`
10865     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10866   fi
10867
10868   # We used to test for /lib/ld.so.1 and disable shared libraries on
10869   # powerpc, because MkLinux only supported shared libraries with the
10870   # GNU dynamic linker.  Since this was broken with cross compilers,
10871   # most powerpc-linux boxes support dynamic linking these days and
10872   # people can always --disable-shared, the test was removed, and we
10873   # assume the GNU/Linux dynamic linker is in use.
10874   dynamic_linker='GNU/Linux ld.so'
10875   ;;
10876
10877 netbsdelf*-gnu)
10878   version_type=linux
10879   need_lib_prefix=no
10880   need_version=no
10881   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10882   soname_spec='${libname}${release}${shared_ext}$major'
10883   shlibpath_var=LD_LIBRARY_PATH
10884   shlibpath_overrides_runpath=no
10885   hardcode_into_libs=yes
10886   dynamic_linker='NetBSD ld.elf_so'
10887   ;;
10888
10889 netbsd*)
10890   version_type=sunos
10891   need_lib_prefix=no
10892   need_version=no
10893   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10894     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10895     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10896     dynamic_linker='NetBSD (a.out) ld.so'
10897   else
10898     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10899     soname_spec='${libname}${release}${shared_ext}$major'
10900     dynamic_linker='NetBSD ld.elf_so'
10901   fi
10902   shlibpath_var=LD_LIBRARY_PATH
10903   shlibpath_overrides_runpath=yes
10904   hardcode_into_libs=yes
10905   ;;
10906
10907 newsos6)
10908   version_type=linux # correct to gnu/linux during the next big refactor
10909   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10910   shlibpath_var=LD_LIBRARY_PATH
10911   shlibpath_overrides_runpath=yes
10912   ;;
10913
10914 *nto* | *qnx*)
10915   version_type=qnx
10916   need_lib_prefix=no
10917   need_version=no
10918   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10919   soname_spec='${libname}${release}${shared_ext}$major'
10920   shlibpath_var=LD_LIBRARY_PATH
10921   shlibpath_overrides_runpath=no
10922   hardcode_into_libs=yes
10923   dynamic_linker='ldqnx.so'
10924   ;;
10925
10926 openbsd*)
10927   version_type=sunos
10928   sys_lib_dlsearch_path_spec="/usr/lib"
10929   need_lib_prefix=no
10930   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10931   case $host_os in
10932     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10933     *)                          need_version=no  ;;
10934   esac
10935   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10936   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10937   shlibpath_var=LD_LIBRARY_PATH
10938   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10939     case $host_os in
10940       openbsd2.[89] | openbsd2.[89].*)
10941         shlibpath_overrides_runpath=no
10942         ;;
10943       *)
10944         shlibpath_overrides_runpath=yes
10945         ;;
10946       esac
10947   else
10948     shlibpath_overrides_runpath=yes
10949   fi
10950   ;;
10951
10952 os2*)
10953   libname_spec='$name'
10954   shrext_cmds=".dll"
10955   need_lib_prefix=no
10956   library_names_spec='$libname${shared_ext} $libname.a'
10957   dynamic_linker='OS/2 ld.exe'
10958   shlibpath_var=LIBPATH
10959   ;;
10960
10961 osf3* | osf4* | osf5*)
10962   version_type=osf
10963   need_lib_prefix=no
10964   need_version=no
10965   soname_spec='${libname}${release}${shared_ext}$major'
10966   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10967   shlibpath_var=LD_LIBRARY_PATH
10968   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10969   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10970   ;;
10971
10972 rdos*)
10973   dynamic_linker=no
10974   ;;
10975
10976 solaris*)
10977   version_type=linux # correct to gnu/linux during the next big refactor
10978   need_lib_prefix=no
10979   need_version=no
10980   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10981   soname_spec='${libname}${release}${shared_ext}$major'
10982   shlibpath_var=LD_LIBRARY_PATH
10983   shlibpath_overrides_runpath=yes
10984   hardcode_into_libs=yes
10985   # ldd complains unless libraries are executable
10986   postinstall_cmds='chmod +x $lib'
10987   ;;
10988
10989 sunos4*)
10990   version_type=sunos
10991   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10992   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10993   shlibpath_var=LD_LIBRARY_PATH
10994   shlibpath_overrides_runpath=yes
10995   if test "$with_gnu_ld" = yes; then
10996     need_lib_prefix=no
10997   fi
10998   need_version=yes
10999   ;;
11000
11001 sysv4 | sysv4.3*)
11002   version_type=linux # correct to gnu/linux during the next big refactor
11003   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11004   soname_spec='${libname}${release}${shared_ext}$major'
11005   shlibpath_var=LD_LIBRARY_PATH
11006   case $host_vendor in
11007     sni)
11008       shlibpath_overrides_runpath=no
11009       need_lib_prefix=no
11010       runpath_var=LD_RUN_PATH
11011       ;;
11012     siemens)
11013       need_lib_prefix=no
11014       ;;
11015     motorola)
11016       need_lib_prefix=no
11017       need_version=no
11018       shlibpath_overrides_runpath=no
11019       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11020       ;;
11021   esac
11022   ;;
11023
11024 sysv4*MP*)
11025   if test -d /usr/nec ;then
11026     version_type=linux # correct to gnu/linux during the next big refactor
11027     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11028     soname_spec='$libname${shared_ext}.$major'
11029     shlibpath_var=LD_LIBRARY_PATH
11030   fi
11031   ;;
11032
11033 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11034   version_type=freebsd-elf
11035   need_lib_prefix=no
11036   need_version=no
11037   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11038   soname_spec='${libname}${release}${shared_ext}$major'
11039   shlibpath_var=LD_LIBRARY_PATH
11040   shlibpath_overrides_runpath=yes
11041   hardcode_into_libs=yes
11042   if test "$with_gnu_ld" = yes; then
11043     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11044   else
11045     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11046     case $host_os in
11047       sco3.2v5*)
11048         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11049         ;;
11050     esac
11051   fi
11052   sys_lib_dlsearch_path_spec='/usr/lib'
11053   ;;
11054
11055 tpf*)
11056   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11057   version_type=linux # correct to gnu/linux during the next big refactor
11058   need_lib_prefix=no
11059   need_version=no
11060   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11061   shlibpath_var=LD_LIBRARY_PATH
11062   shlibpath_overrides_runpath=no
11063   hardcode_into_libs=yes
11064   ;;
11065
11066 uts4*)
11067   version_type=linux # correct to gnu/linux during the next big refactor
11068   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11069   soname_spec='${libname}${release}${shared_ext}$major'
11070   shlibpath_var=LD_LIBRARY_PATH
11071   ;;
11072
11073 *)
11074   dynamic_linker=no
11075   ;;
11076 esac
11077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11078 $as_echo "$dynamic_linker" >&6; }
11079 test "$dynamic_linker" = no && can_build_shared=no
11080
11081 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11082 if test "$GCC" = yes; then
11083   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11084 fi
11085
11086 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11087   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11088 fi
11089 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11090   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11091 fi
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11185 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11186 hardcode_action=
11187 if test -n "$hardcode_libdir_flag_spec" ||
11188    test -n "$runpath_var" ||
11189    test "X$hardcode_automatic" = "Xyes" ; then
11190
11191   # We can hardcode non-existent directories.
11192   if test "$hardcode_direct" != no &&
11193      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11194      # have to relink, otherwise we might link with an installed library
11195      # when we should be linking with a yet-to-be-installed one
11196      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11197      test "$hardcode_minus_L" != no; then
11198     # Linking always hardcodes the temporary library directory.
11199     hardcode_action=relink
11200   else
11201     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11202     hardcode_action=immediate
11203   fi
11204 else
11205   # We cannot hardcode anything, or else we can only hardcode existing
11206   # directories.
11207   hardcode_action=unsupported
11208 fi
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11210 $as_echo "$hardcode_action" >&6; }
11211
11212 if test "$hardcode_action" = relink ||
11213    test "$inherit_rpath" = yes; then
11214   # Fast installation is not supported
11215   enable_fast_install=no
11216 elif test "$shlibpath_overrides_runpath" = yes ||
11217      test "$enable_shared" = no; then
11218   # Fast installation is not necessary
11219   enable_fast_install=needless
11220 fi
11221
11222
11223
11224
11225
11226
11227   if test "x$enable_dlopen" != xyes; then
11228   enable_dlopen=unknown
11229   enable_dlopen_self=unknown
11230   enable_dlopen_self_static=unknown
11231 else
11232   lt_cv_dlopen=no
11233   lt_cv_dlopen_libs=
11234
11235   case $host_os in
11236   beos*)
11237     lt_cv_dlopen="load_add_on"
11238     lt_cv_dlopen_libs=
11239     lt_cv_dlopen_self=yes
11240     ;;
11241
11242   mingw* | pw32* | cegcc*)
11243     lt_cv_dlopen="LoadLibrary"
11244     lt_cv_dlopen_libs=
11245     ;;
11246
11247   cygwin*)
11248     lt_cv_dlopen="dlopen"
11249     lt_cv_dlopen_libs=
11250     ;;
11251
11252   darwin*)
11253   # if libdl is installed we need to link against it
11254     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11255 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11256 if ${ac_cv_lib_dl_dlopen+:} false; then :
11257   $as_echo_n "(cached) " >&6
11258 else
11259   ac_check_lib_save_LIBS=$LIBS
11260 LIBS="-ldl  $LIBS"
11261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11262 /* end confdefs.h.  */
11263
11264 /* Override any GCC internal prototype to avoid an error.
11265    Use char because int might match the return type of a GCC
11266    builtin and then its argument prototype would still apply.  */
11267 #ifdef __cplusplus
11268 extern "C"
11269 #endif
11270 char dlopen ();
11271 int
11272 main ()
11273 {
11274 return dlopen ();
11275   ;
11276   return 0;
11277 }
11278 _ACEOF
11279 if ac_fn_c_try_link "$LINENO"; then :
11280   ac_cv_lib_dl_dlopen=yes
11281 else
11282   ac_cv_lib_dl_dlopen=no
11283 fi
11284 rm -f core conftest.err conftest.$ac_objext \
11285     conftest$ac_exeext conftest.$ac_ext
11286 LIBS=$ac_check_lib_save_LIBS
11287 fi
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11289 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11290 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11291   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11292 else
11293
11294     lt_cv_dlopen="dyld"
11295     lt_cv_dlopen_libs=
11296     lt_cv_dlopen_self=yes
11297
11298 fi
11299
11300     ;;
11301
11302   *)
11303     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11304 if test "x$ac_cv_func_shl_load" = xyes; then :
11305   lt_cv_dlopen="shl_load"
11306 else
11307   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11308 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11309 if ${ac_cv_lib_dld_shl_load+:} false; then :
11310   $as_echo_n "(cached) " >&6
11311 else
11312   ac_check_lib_save_LIBS=$LIBS
11313 LIBS="-ldld  $LIBS"
11314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11315 /* end confdefs.h.  */
11316
11317 /* Override any GCC internal prototype to avoid an error.
11318    Use char because int might match the return type of a GCC
11319    builtin and then its argument prototype would still apply.  */
11320 #ifdef __cplusplus
11321 extern "C"
11322 #endif
11323 char shl_load ();
11324 int
11325 main ()
11326 {
11327 return shl_load ();
11328   ;
11329   return 0;
11330 }
11331 _ACEOF
11332 if ac_fn_c_try_link "$LINENO"; then :
11333   ac_cv_lib_dld_shl_load=yes
11334 else
11335   ac_cv_lib_dld_shl_load=no
11336 fi
11337 rm -f core conftest.err conftest.$ac_objext \
11338     conftest$ac_exeext conftest.$ac_ext
11339 LIBS=$ac_check_lib_save_LIBS
11340 fi
11341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11342 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11343 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11344   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11345 else
11346   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11347 if test "x$ac_cv_func_dlopen" = xyes; then :
11348   lt_cv_dlopen="dlopen"
11349 else
11350   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11351 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11352 if ${ac_cv_lib_dl_dlopen+:} false; then :
11353   $as_echo_n "(cached) " >&6
11354 else
11355   ac_check_lib_save_LIBS=$LIBS
11356 LIBS="-ldl  $LIBS"
11357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11358 /* end confdefs.h.  */
11359
11360 /* Override any GCC internal prototype to avoid an error.
11361    Use char because int might match the return type of a GCC
11362    builtin and then its argument prototype would still apply.  */
11363 #ifdef __cplusplus
11364 extern "C"
11365 #endif
11366 char dlopen ();
11367 int
11368 main ()
11369 {
11370 return dlopen ();
11371   ;
11372   return 0;
11373 }
11374 _ACEOF
11375 if ac_fn_c_try_link "$LINENO"; then :
11376   ac_cv_lib_dl_dlopen=yes
11377 else
11378   ac_cv_lib_dl_dlopen=no
11379 fi
11380 rm -f core conftest.err conftest.$ac_objext \
11381     conftest$ac_exeext conftest.$ac_ext
11382 LIBS=$ac_check_lib_save_LIBS
11383 fi
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11385 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11386 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11387   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11388 else
11389   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11390 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11391 if ${ac_cv_lib_svld_dlopen+:} false; then :
11392   $as_echo_n "(cached) " >&6
11393 else
11394   ac_check_lib_save_LIBS=$LIBS
11395 LIBS="-lsvld  $LIBS"
11396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11397 /* end confdefs.h.  */
11398
11399 /* Override any GCC internal prototype to avoid an error.
11400    Use char because int might match the return type of a GCC
11401    builtin and then its argument prototype would still apply.  */
11402 #ifdef __cplusplus
11403 extern "C"
11404 #endif
11405 char dlopen ();
11406 int
11407 main ()
11408 {
11409 return dlopen ();
11410   ;
11411   return 0;
11412 }
11413 _ACEOF
11414 if ac_fn_c_try_link "$LINENO"; then :
11415   ac_cv_lib_svld_dlopen=yes
11416 else
11417   ac_cv_lib_svld_dlopen=no
11418 fi
11419 rm -f core conftest.err conftest.$ac_objext \
11420     conftest$ac_exeext conftest.$ac_ext
11421 LIBS=$ac_check_lib_save_LIBS
11422 fi
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11424 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11425 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11426   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11427 else
11428   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11429 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11430 if ${ac_cv_lib_dld_dld_link+:} false; then :
11431   $as_echo_n "(cached) " >&6
11432 else
11433   ac_check_lib_save_LIBS=$LIBS
11434 LIBS="-ldld  $LIBS"
11435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11436 /* end confdefs.h.  */
11437
11438 /* Override any GCC internal prototype to avoid an error.
11439    Use char because int might match the return type of a GCC
11440    builtin and then its argument prototype would still apply.  */
11441 #ifdef __cplusplus
11442 extern "C"
11443 #endif
11444 char dld_link ();
11445 int
11446 main ()
11447 {
11448 return dld_link ();
11449   ;
11450   return 0;
11451 }
11452 _ACEOF
11453 if ac_fn_c_try_link "$LINENO"; then :
11454   ac_cv_lib_dld_dld_link=yes
11455 else
11456   ac_cv_lib_dld_dld_link=no
11457 fi
11458 rm -f core conftest.err conftest.$ac_objext \
11459     conftest$ac_exeext conftest.$ac_ext
11460 LIBS=$ac_check_lib_save_LIBS
11461 fi
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11463 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11464 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11465   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11466 fi
11467
11468
11469 fi
11470
11471
11472 fi
11473
11474
11475 fi
11476
11477
11478 fi
11479
11480
11481 fi
11482
11483     ;;
11484   esac
11485
11486   if test "x$lt_cv_dlopen" != xno; then
11487     enable_dlopen=yes
11488   else
11489     enable_dlopen=no
11490   fi
11491
11492   case $lt_cv_dlopen in
11493   dlopen)
11494     save_CPPFLAGS="$CPPFLAGS"
11495     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11496
11497     save_LDFLAGS="$LDFLAGS"
11498     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11499
11500     save_LIBS="$LIBS"
11501     LIBS="$lt_cv_dlopen_libs $LIBS"
11502
11503     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11504 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11505 if ${lt_cv_dlopen_self+:} false; then :
11506   $as_echo_n "(cached) " >&6
11507 else
11508           if test "$cross_compiling" = yes; then :
11509   lt_cv_dlopen_self=cross
11510 else
11511   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11512   lt_status=$lt_dlunknown
11513   cat > conftest.$ac_ext <<_LT_EOF
11514 #line $LINENO "configure"
11515 #include "confdefs.h"
11516
11517 #if HAVE_DLFCN_H
11518 #include <dlfcn.h>
11519 #endif
11520
11521 #include <stdio.h>
11522
11523 #ifdef RTLD_GLOBAL
11524 #  define LT_DLGLOBAL           RTLD_GLOBAL
11525 #else
11526 #  ifdef DL_GLOBAL
11527 #    define LT_DLGLOBAL         DL_GLOBAL
11528 #  else
11529 #    define LT_DLGLOBAL         0
11530 #  endif
11531 #endif
11532
11533 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11534    find out it does not work in some platform. */
11535 #ifndef LT_DLLAZY_OR_NOW
11536 #  ifdef RTLD_LAZY
11537 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11538 #  else
11539 #    ifdef DL_LAZY
11540 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11541 #    else
11542 #      ifdef RTLD_NOW
11543 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11544 #      else
11545 #        ifdef DL_NOW
11546 #          define LT_DLLAZY_OR_NOW      DL_NOW
11547 #        else
11548 #          define LT_DLLAZY_OR_NOW      0
11549 #        endif
11550 #      endif
11551 #    endif
11552 #  endif
11553 #endif
11554
11555 /* When -fvisbility=hidden is used, assume the code has been annotated
11556    correspondingly for the symbols needed.  */
11557 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11558 int fnord () __attribute__((visibility("default")));
11559 #endif
11560
11561 int fnord () { return 42; }
11562 int main ()
11563 {
11564   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11565   int status = $lt_dlunknown;
11566
11567   if (self)
11568     {
11569       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11570       else
11571         {
11572           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11573           else puts (dlerror ());
11574         }
11575       /* dlclose (self); */
11576     }
11577   else
11578     puts (dlerror ());
11579
11580   return status;
11581 }
11582 _LT_EOF
11583   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11584   (eval $ac_link) 2>&5
11585   ac_status=$?
11586   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11587   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11588     (./conftest; exit; ) >&5 2>/dev/null
11589     lt_status=$?
11590     case x$lt_status in
11591       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11592       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11593       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11594     esac
11595   else :
11596     # compilation failed
11597     lt_cv_dlopen_self=no
11598   fi
11599 fi
11600 rm -fr conftest*
11601
11602
11603 fi
11604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11605 $as_echo "$lt_cv_dlopen_self" >&6; }
11606
11607     if test "x$lt_cv_dlopen_self" = xyes; then
11608       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11609       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11610 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11611 if ${lt_cv_dlopen_self_static+:} false; then :
11612   $as_echo_n "(cached) " >&6
11613 else
11614           if test "$cross_compiling" = yes; then :
11615   lt_cv_dlopen_self_static=cross
11616 else
11617   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11618   lt_status=$lt_dlunknown
11619   cat > conftest.$ac_ext <<_LT_EOF
11620 #line $LINENO "configure"
11621 #include "confdefs.h"
11622
11623 #if HAVE_DLFCN_H
11624 #include <dlfcn.h>
11625 #endif
11626
11627 #include <stdio.h>
11628
11629 #ifdef RTLD_GLOBAL
11630 #  define LT_DLGLOBAL           RTLD_GLOBAL
11631 #else
11632 #  ifdef DL_GLOBAL
11633 #    define LT_DLGLOBAL         DL_GLOBAL
11634 #  else
11635 #    define LT_DLGLOBAL         0
11636 #  endif
11637 #endif
11638
11639 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11640    find out it does not work in some platform. */
11641 #ifndef LT_DLLAZY_OR_NOW
11642 #  ifdef RTLD_LAZY
11643 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11644 #  else
11645 #    ifdef DL_LAZY
11646 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11647 #    else
11648 #      ifdef RTLD_NOW
11649 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11650 #      else
11651 #        ifdef DL_NOW
11652 #          define LT_DLLAZY_OR_NOW      DL_NOW
11653 #        else
11654 #          define LT_DLLAZY_OR_NOW      0
11655 #        endif
11656 #      endif
11657 #    endif
11658 #  endif
11659 #endif
11660
11661 /* When -fvisbility=hidden is used, assume the code has been annotated
11662    correspondingly for the symbols needed.  */
11663 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11664 int fnord () __attribute__((visibility("default")));
11665 #endif
11666
11667 int fnord () { return 42; }
11668 int main ()
11669 {
11670   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11671   int status = $lt_dlunknown;
11672
11673   if (self)
11674     {
11675       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11676       else
11677         {
11678           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11679           else puts (dlerror ());
11680         }
11681       /* dlclose (self); */
11682     }
11683   else
11684     puts (dlerror ());
11685
11686   return status;
11687 }
11688 _LT_EOF
11689   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11690   (eval $ac_link) 2>&5
11691   ac_status=$?
11692   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11693   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11694     (./conftest; exit; ) >&5 2>/dev/null
11695     lt_status=$?
11696     case x$lt_status in
11697       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11698       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11699       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11700     esac
11701   else :
11702     # compilation failed
11703     lt_cv_dlopen_self_static=no
11704   fi
11705 fi
11706 rm -fr conftest*
11707
11708
11709 fi
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11711 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11712     fi
11713
11714     CPPFLAGS="$save_CPPFLAGS"
11715     LDFLAGS="$save_LDFLAGS"
11716     LIBS="$save_LIBS"
11717     ;;
11718   esac
11719
11720   case $lt_cv_dlopen_self in
11721   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11722   *) enable_dlopen_self=unknown ;;
11723   esac
11724
11725   case $lt_cv_dlopen_self_static in
11726   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11727   *) enable_dlopen_self_static=unknown ;;
11728   esac
11729 fi
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747 striplib=
11748 old_striplib=
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11750 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11751 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11752   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11753   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11755 $as_echo "yes" >&6; }
11756 else
11757 # FIXME - insert some real tests, host_os isn't really good enough
11758   case $host_os in
11759   darwin*)
11760     if test -n "$STRIP" ; then
11761       striplib="$STRIP -x"
11762       old_striplib="$STRIP -S"
11763       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11764 $as_echo "yes" >&6; }
11765     else
11766       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11767 $as_echo "no" >&6; }
11768     fi
11769     ;;
11770   *)
11771     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11772 $as_echo "no" >&6; }
11773     ;;
11774   esac
11775 fi
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788   # Report which library types will actually be built
11789   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11790 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11792 $as_echo "$can_build_shared" >&6; }
11793
11794   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11795 $as_echo_n "checking whether to build shared libraries... " >&6; }
11796   test "$can_build_shared" = "no" && enable_shared=no
11797
11798   # On AIX, shared libraries and static libraries use the same namespace, and
11799   # are all built from PIC.
11800   case $host_os in
11801   aix3*)
11802     test "$enable_shared" = yes && enable_static=no
11803     if test -n "$RANLIB"; then
11804       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11805       postinstall_cmds='$RANLIB $lib'
11806     fi
11807     ;;
11808
11809   aix[4-9]*)
11810     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11811       test "$enable_shared" = yes && enable_static=no
11812     fi
11813     ;;
11814   esac
11815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11816 $as_echo "$enable_shared" >&6; }
11817
11818   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11819 $as_echo_n "checking whether to build static libraries... " >&6; }
11820   # Make sure either enable_shared or enable_static is yes.
11821   test "$enable_shared" = yes || enable_static=yes
11822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11823 $as_echo "$enable_static" >&6; }
11824
11825
11826
11827
11828 fi
11829 ac_ext=c
11830 ac_cpp='$CPP $CPPFLAGS'
11831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11834
11835 CC="$lt_save_CC"
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851         ac_config_commands="$ac_config_commands libtool"
11852
11853
11854
11855
11856 # Only expand once:
11857
11858
11859
11860 # Checks for libraries.
11861
11862
11863
11864
11865
11866
11867
11868 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11869         if test -n "$ac_tool_prefix"; then
11870   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11871 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11873 $as_echo_n "checking for $ac_word... " >&6; }
11874 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11875   $as_echo_n "(cached) " >&6
11876 else
11877   case $PKG_CONFIG in
11878   [\\/]* | ?:[\\/]*)
11879   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11880   ;;
11881   *)
11882   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11883 for as_dir in $PATH
11884 do
11885   IFS=$as_save_IFS
11886   test -z "$as_dir" && as_dir=.
11887     for ac_exec_ext in '' $ac_executable_extensions; do
11888   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11889     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11890     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11891     break 2
11892   fi
11893 done
11894   done
11895 IFS=$as_save_IFS
11896
11897   ;;
11898 esac
11899 fi
11900 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11901 if test -n "$PKG_CONFIG"; then
11902   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11903 $as_echo "$PKG_CONFIG" >&6; }
11904 else
11905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11906 $as_echo "no" >&6; }
11907 fi
11908
11909
11910 fi
11911 if test -z "$ac_cv_path_PKG_CONFIG"; then
11912   ac_pt_PKG_CONFIG=$PKG_CONFIG
11913   # Extract the first word of "pkg-config", so it can be a program name with args.
11914 set dummy pkg-config; ac_word=$2
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11916 $as_echo_n "checking for $ac_word... " >&6; }
11917 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11918   $as_echo_n "(cached) " >&6
11919 else
11920   case $ac_pt_PKG_CONFIG in
11921   [\\/]* | ?:[\\/]*)
11922   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11923   ;;
11924   *)
11925   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11926 for as_dir in $PATH
11927 do
11928   IFS=$as_save_IFS
11929   test -z "$as_dir" && as_dir=.
11930     for ac_exec_ext in '' $ac_executable_extensions; do
11931   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11932     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11933     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11934     break 2
11935   fi
11936 done
11937   done
11938 IFS=$as_save_IFS
11939
11940   ;;
11941 esac
11942 fi
11943 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11944 if test -n "$ac_pt_PKG_CONFIG"; then
11945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11946 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11947 else
11948   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11949 $as_echo "no" >&6; }
11950 fi
11951
11952   if test "x$ac_pt_PKG_CONFIG" = x; then
11953     PKG_CONFIG=""
11954   else
11955     case $cross_compiling:$ac_tool_warned in
11956 yes:)
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11958 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11959 ac_tool_warned=yes ;;
11960 esac
11961     PKG_CONFIG=$ac_pt_PKG_CONFIG
11962   fi
11963 else
11964   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11965 fi
11966
11967 fi
11968 if test -n "$PKG_CONFIG"; then
11969         _pkg_min_version=0.9.0
11970         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11971 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11972         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11973                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11974 $as_echo "yes" >&6; }
11975         else
11976                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11977 $as_echo "no" >&6; }
11978                 PKG_CONFIG=""
11979         fi
11980 fi
11981
11982 pkg_failed=no
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSIGNOND" >&5
11984 $as_echo_n "checking for GSIGNOND... " >&6; }
11985
11986 if test -n "$GSIGNOND_CFLAGS"; then
11987     pkg_cv_GSIGNOND_CFLAGS="$GSIGNOND_CFLAGS"
11988  elif test -n "$PKG_CONFIG"; then
11989     if test -n "$PKG_CONFIG" && \
11990     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.30
11991                    gio-2.0
11992                    gio-unix-2.0
11993                    gmodule-2.0
11994                    sqlite3\""; } >&5
11995   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.30
11996                    gio-2.0
11997                    gio-unix-2.0
11998                    gmodule-2.0
11999                    sqlite3") 2>&5
12000   ac_status=$?
12001   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12002   test $ac_status = 0; }; then
12003   pkg_cv_GSIGNOND_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.30
12004                    gio-2.0
12005                    gio-unix-2.0
12006                    gmodule-2.0
12007                    sqlite3" 2>/dev/null`
12008                       test "x$?" != "x0" && pkg_failed=yes
12009 else
12010   pkg_failed=yes
12011 fi
12012  else
12013     pkg_failed=untried
12014 fi
12015 if test -n "$GSIGNOND_LIBS"; then
12016     pkg_cv_GSIGNOND_LIBS="$GSIGNOND_LIBS"
12017  elif test -n "$PKG_CONFIG"; then
12018     if test -n "$PKG_CONFIG" && \
12019     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.30
12020                    gio-2.0
12021                    gio-unix-2.0
12022                    gmodule-2.0
12023                    sqlite3\""; } >&5
12024   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.30
12025                    gio-2.0
12026                    gio-unix-2.0
12027                    gmodule-2.0
12028                    sqlite3") 2>&5
12029   ac_status=$?
12030   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12031   test $ac_status = 0; }; then
12032   pkg_cv_GSIGNOND_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.30
12033                    gio-2.0
12034                    gio-unix-2.0
12035                    gmodule-2.0
12036                    sqlite3" 2>/dev/null`
12037                       test "x$?" != "x0" && pkg_failed=yes
12038 else
12039   pkg_failed=yes
12040 fi
12041  else
12042     pkg_failed=untried
12043 fi
12044
12045
12046
12047 if test $pkg_failed = yes; then
12048         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12049 $as_echo "no" >&6; }
12050
12051 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12052         _pkg_short_errors_supported=yes
12053 else
12054         _pkg_short_errors_supported=no
12055 fi
12056         if test $_pkg_short_errors_supported = yes; then
12057                 GSIGNOND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.30
12058                    gio-2.0
12059                    gio-unix-2.0
12060                    gmodule-2.0
12061                    sqlite3" 2>&1`
12062         else
12063                 GSIGNOND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.30
12064                    gio-2.0
12065                    gio-unix-2.0
12066                    gmodule-2.0
12067                    sqlite3" 2>&1`
12068         fi
12069         # Put the nasty error message in config.log where it belongs
12070         echo "$GSIGNOND_PKG_ERRORS" >&5
12071
12072         as_fn_error $? "Package requirements (glib-2.0 >= 2.30
12073                    gio-2.0
12074                    gio-unix-2.0
12075                    gmodule-2.0
12076                    sqlite3) were not met:
12077
12078 $GSIGNOND_PKG_ERRORS
12079
12080 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12081 installed software in a non-standard prefix.
12082
12083 Alternatively, you may set the environment variables GSIGNOND_CFLAGS
12084 and GSIGNOND_LIBS to avoid the need to call pkg-config.
12085 See the pkg-config man page for more details." "$LINENO" 5
12086 elif test $pkg_failed = untried; then
12087         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12088 $as_echo "no" >&6; }
12089         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12090 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12091 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12092 is in your PATH or set the PKG_CONFIG environment variable to the full
12093 path to pkg-config.
12094
12095 Alternatively, you may set the environment variables GSIGNOND_CFLAGS
12096 and GSIGNOND_LIBS to avoid the need to call pkg-config.
12097 See the pkg-config man page for more details.
12098
12099 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12100 See \`config.log' for more details" "$LINENO" 5; }
12101 else
12102         GSIGNOND_CFLAGS=$pkg_cv_GSIGNOND_CFLAGS
12103         GSIGNOND_LIBS=$pkg_cv_GSIGNOND_LIBS
12104         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12105 $as_echo "yes" >&6; }
12106
12107 fi
12108
12109
12110
12111
12112 # AM_PATH_CHECK() is deprecated, but check documentation fails to tell that :-/
12113
12114 pkg_failed=no
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
12116 $as_echo_n "checking for CHECK... " >&6; }
12117
12118 if test -n "$CHECK_CFLAGS"; then
12119     pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
12120  elif test -n "$PKG_CONFIG"; then
12121     if test -n "$PKG_CONFIG" && \
12122     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
12123   ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
12124   ac_status=$?
12125   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12126   test $ac_status = 0; }; then
12127   pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.4" 2>/dev/null`
12128                       test "x$?" != "x0" && pkg_failed=yes
12129 else
12130   pkg_failed=yes
12131 fi
12132  else
12133     pkg_failed=untried
12134 fi
12135 if test -n "$CHECK_LIBS"; then
12136     pkg_cv_CHECK_LIBS="$CHECK_LIBS"
12137  elif test -n "$PKG_CONFIG"; then
12138     if test -n "$PKG_CONFIG" && \
12139     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
12140   ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
12141   ac_status=$?
12142   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12143   test $ac_status = 0; }; then
12144   pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.4" 2>/dev/null`
12145                       test "x$?" != "x0" && pkg_failed=yes
12146 else
12147   pkg_failed=yes
12148 fi
12149  else
12150     pkg_failed=untried
12151 fi
12152
12153
12154
12155 if test $pkg_failed = yes; then
12156         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12157 $as_echo "no" >&6; }
12158
12159 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12160         _pkg_short_errors_supported=yes
12161 else
12162         _pkg_short_errors_supported=no
12163 fi
12164         if test $_pkg_short_errors_supported = yes; then
12165                 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
12166         else
12167                 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
12168         fi
12169         # Put the nasty error message in config.log where it belongs
12170         echo "$CHECK_PKG_ERRORS" >&5
12171
12172         have_check=no
12173 elif test $pkg_failed = untried; then
12174         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12175 $as_echo "no" >&6; }
12176         have_check=no
12177 else
12178         CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
12179         CHECK_LIBS=$pkg_cv_CHECK_LIBS
12180         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12181 $as_echo "yes" >&6; }
12182         have_check=yes
12183 fi
12184
12185
12186
12187
12188 pkg_failed=no
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSMACK" >&5
12190 $as_echo_n "checking for LIBSMACK... " >&6; }
12191
12192 if test -n "$LIBSMACK_CFLAGS"; then
12193     pkg_cv_LIBSMACK_CFLAGS="$LIBSMACK_CFLAGS"
12194  elif test -n "$PKG_CONFIG"; then
12195     if test -n "$PKG_CONFIG" && \
12196     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsmack >= 1.0\""; } >&5
12197   ($PKG_CONFIG --exists --print-errors "libsmack >= 1.0") 2>&5
12198   ac_status=$?
12199   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12200   test $ac_status = 0; }; then
12201   pkg_cv_LIBSMACK_CFLAGS=`$PKG_CONFIG --cflags "libsmack >= 1.0" 2>/dev/null`
12202                       test "x$?" != "x0" && pkg_failed=yes
12203 else
12204   pkg_failed=yes
12205 fi
12206  else
12207     pkg_failed=untried
12208 fi
12209 if test -n "$LIBSMACK_LIBS"; then
12210     pkg_cv_LIBSMACK_LIBS="$LIBSMACK_LIBS"
12211  elif test -n "$PKG_CONFIG"; then
12212     if test -n "$PKG_CONFIG" && \
12213     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsmack >= 1.0\""; } >&5
12214   ($PKG_CONFIG --exists --print-errors "libsmack >= 1.0") 2>&5
12215   ac_status=$?
12216   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12217   test $ac_status = 0; }; then
12218   pkg_cv_LIBSMACK_LIBS=`$PKG_CONFIG --libs "libsmack >= 1.0" 2>/dev/null`
12219                       test "x$?" != "x0" && pkg_failed=yes
12220 else
12221   pkg_failed=yes
12222 fi
12223  else
12224     pkg_failed=untried
12225 fi
12226
12227
12228
12229 if test $pkg_failed = yes; then
12230         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12231 $as_echo "no" >&6; }
12232
12233 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12234         _pkg_short_errors_supported=yes
12235 else
12236         _pkg_short_errors_supported=no
12237 fi
12238         if test $_pkg_short_errors_supported = yes; then
12239                 LIBSMACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsmack >= 1.0" 2>&1`
12240         else
12241                 LIBSMACK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsmack >= 1.0" 2>&1`
12242         fi
12243         # Put the nasty error message in config.log where it belongs
12244         echo "$LIBSMACK_PKG_ERRORS" >&5
12245
12246         libsmack=no
12247 elif test $pkg_failed = untried; then
12248         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12249 $as_echo "no" >&6; }
12250         libsmack=no
12251 else
12252         LIBSMACK_CFLAGS=$pkg_cv_LIBSMACK_CFLAGS
12253         LIBSMACK_LIBS=$pkg_cv_LIBSMACK_LIBS
12254         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12255 $as_echo "yes" >&6; }
12256         libsmack=yes
12257 fi
12258  if test x$libsmack = xyes; then
12259   HAVE_LIBSMACK_TRUE=
12260   HAVE_LIBSMACK_FALSE='#'
12261 else
12262   HAVE_LIBSMACK_TRUE='#'
12263   HAVE_LIBSMACK_FALSE=
12264 fi
12265
12266 if test "x$libsmack" = xyes; then
12267
12268 $as_echo "#define HAVE_LIBSMACK 1" >>confdefs.h
12269
12270 fi
12271
12272
12273 pkg_failed=no
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBECRYPTFS" >&5
12275 $as_echo_n "checking for LIBECRYPTFS... " >&6; }
12276
12277 if test -n "$LIBECRYPTFS_CFLAGS"; then
12278     pkg_cv_LIBECRYPTFS_CFLAGS="$LIBECRYPTFS_CFLAGS"
12279  elif test -n "$PKG_CONFIG"; then
12280     if test -n "$PKG_CONFIG" && \
12281     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libecryptfs >= 96\""; } >&5
12282   ($PKG_CONFIG --exists --print-errors "libecryptfs >= 96") 2>&5
12283   ac_status=$?
12284   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12285   test $ac_status = 0; }; then
12286   pkg_cv_LIBECRYPTFS_CFLAGS=`$PKG_CONFIG --cflags "libecryptfs >= 96" 2>/dev/null`
12287                       test "x$?" != "x0" && pkg_failed=yes
12288 else
12289   pkg_failed=yes
12290 fi
12291  else
12292     pkg_failed=untried
12293 fi
12294 if test -n "$LIBECRYPTFS_LIBS"; then
12295     pkg_cv_LIBECRYPTFS_LIBS="$LIBECRYPTFS_LIBS"
12296  elif test -n "$PKG_CONFIG"; then
12297     if test -n "$PKG_CONFIG" && \
12298     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libecryptfs >= 96\""; } >&5
12299   ($PKG_CONFIG --exists --print-errors "libecryptfs >= 96") 2>&5
12300   ac_status=$?
12301   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12302   test $ac_status = 0; }; then
12303   pkg_cv_LIBECRYPTFS_LIBS=`$PKG_CONFIG --libs "libecryptfs >= 96" 2>/dev/null`
12304                       test "x$?" != "x0" && pkg_failed=yes
12305 else
12306   pkg_failed=yes
12307 fi
12308  else
12309     pkg_failed=untried
12310 fi
12311
12312
12313
12314 if test $pkg_failed = yes; then
12315         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12316 $as_echo "no" >&6; }
12317
12318 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12319         _pkg_short_errors_supported=yes
12320 else
12321         _pkg_short_errors_supported=no
12322 fi
12323         if test $_pkg_short_errors_supported = yes; then
12324                 LIBECRYPTFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libecryptfs >= 96" 2>&1`
12325         else
12326                 LIBECRYPTFS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libecryptfs >= 96" 2>&1`
12327         fi
12328         # Put the nasty error message in config.log where it belongs
12329         echo "$LIBECRYPTFS_PKG_ERRORS" >&5
12330
12331         libecryptfs=no
12332 elif test $pkg_failed = untried; then
12333         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12334 $as_echo "no" >&6; }
12335         libecryptfs=no
12336 else
12337         LIBECRYPTFS_CFLAGS=$pkg_cv_LIBECRYPTFS_CFLAGS
12338         LIBECRYPTFS_LIBS=$pkg_cv_LIBECRYPTFS_LIBS
12339         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12340 $as_echo "yes" >&6; }
12341         libecryptfs=yes
12342 fi
12343  if test x$libecryptfs = xyes; then
12344   HAVE_LIBECRYPTFS_TRUE=
12345   HAVE_LIBECRYPTFS_FALSE='#'
12346 else
12347   HAVE_LIBECRYPTFS_TRUE='#'
12348   HAVE_LIBECRYPTFS_FALSE=
12349 fi
12350
12351 if test "x$libecryptfs" = xes; then
12352
12353 $as_echo "#define HAVE_LIBECRYPTFS 1" >>confdefs.h
12354
12355 fi
12356
12357 # Extract the first word of "glib-mkenums", so it can be a program name with args.
12358 set dummy glib-mkenums; ac_word=$2
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12360 $as_echo_n "checking for $ac_word... " >&6; }
12361 if ${ac_cv_path_GLIB_MKENUMS+:} false; then :
12362   $as_echo_n "(cached) " >&6
12363 else
12364   case $GLIB_MKENUMS in
12365   [\\/]* | ?:[\\/]*)
12366   ac_cv_path_GLIB_MKENUMS="$GLIB_MKENUMS" # Let the user override the test with a path.
12367   ;;
12368   *)
12369   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12370 for as_dir in $PATH
12371 do
12372   IFS=$as_save_IFS
12373   test -z "$as_dir" && as_dir=.
12374     for ac_exec_ext in '' $ac_executable_extensions; do
12375   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12376     ac_cv_path_GLIB_MKENUMS="$as_dir/$ac_word$ac_exec_ext"
12377     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12378     break 2
12379   fi
12380 done
12381   done
12382 IFS=$as_save_IFS
12383
12384   ;;
12385 esac
12386 fi
12387 GLIB_MKENUMS=$ac_cv_path_GLIB_MKENUMS
12388 if test -n "$GLIB_MKENUMS"; then
12389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_MKENUMS" >&5
12390 $as_echo "$GLIB_MKENUMS" >&6; }
12391 else
12392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12393 $as_echo "no" >&6; }
12394 fi
12395
12396
12397
12398 # Check whether --enable-coverage was given.
12399 if test "${enable_coverage+set}" = set; then :
12400   enableval=$enable_coverage;
12401 fi
12402
12403 if test "x$enable_coverage" = "xyes"; then :
12404   CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"
12405 fi
12406
12407 # allow fake installations for "distcheck"
12408 # Check whether --enable-distcheck was given.
12409 if test "${enable_distcheck+set}" = set; then :
12410   enableval=$enable_distcheck; enable_distcheck=yes
12411 else
12412   enable_distcheck=no
12413 fi
12414
12415 echo -n "running distcheck... "
12416 echo $enable_distcheck
12417
12418 # Check whether --enable-dbus-type was given.
12419 if test "${enable_dbus_type+set}" = set; then :
12420   enableval=$enable_dbus_type; enable_dbus_type=$enableval
12421 else
12422   enable_dbus_type=p2p
12423 fi
12424
12425 echo "----------------------"
12426 echo " DBUS TYPE : '$enable_dbus_type'"
12427 echo "----------------------"
12428 if test "x$enable_dbus_type" = "xp2p" ; then
12429
12430 $as_echo "#define USE_P2P 1" >>confdefs.h
12431
12432 elif test "x$enable_dbus_type" = "xsession" ; then
12433
12434 $as_echo "#define GSIGNOND_BUS_TYPE G_BUS_TYPE_SESSION" >>confdefs.h
12435
12436     if test "x$enable_distcheck" = "xyes" ; then
12437         DBUS_SERVICES_DIR="${datadir}/dbus-1/services"
12438     else
12439         DBUS_SERVICES_DIR="`pkg-config --variable session_bus_services_dir dbus-1`"
12440     fi
12441
12442
12443 pkg_failed=no
12444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTestDBus" >&5
12445 $as_echo_n "checking for GTestDBus... " >&6; }
12446
12447 if test -n "$GTestDBus_CFLAGS"; then
12448     pkg_cv_GTestDBus_CFLAGS="$GTestDBus_CFLAGS"
12449  elif test -n "$PKG_CONFIG"; then
12450     if test -n "$PKG_CONFIG" && \
12451     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.34\""; } >&5
12452   ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.34") 2>&5
12453   ac_status=$?
12454   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12455   test $ac_status = 0; }; then
12456   pkg_cv_GTestDBus_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.34" 2>/dev/null`
12457                       test "x$?" != "x0" && pkg_failed=yes
12458 else
12459   pkg_failed=yes
12460 fi
12461  else
12462     pkg_failed=untried
12463 fi
12464 if test -n "$GTestDBus_LIBS"; then
12465     pkg_cv_GTestDBus_LIBS="$GTestDBus_LIBS"
12466  elif test -n "$PKG_CONFIG"; then
12467     if test -n "$PKG_CONFIG" && \
12468     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.34\""; } >&5
12469   ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.34") 2>&5
12470   ac_status=$?
12471   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12472   test $ac_status = 0; }; then
12473   pkg_cv_GTestDBus_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.34" 2>/dev/null`
12474                       test "x$?" != "x0" && pkg_failed=yes
12475 else
12476   pkg_failed=yes
12477 fi
12478  else
12479     pkg_failed=untried
12480 fi
12481
12482
12483
12484 if test $pkg_failed = yes; then
12485         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12486 $as_echo "no" >&6; }
12487
12488 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12489         _pkg_short_errors_supported=yes
12490 else
12491         _pkg_short_errors_supported=no
12492 fi
12493         if test $_pkg_short_errors_supported = yes; then
12494                 GTestDBus_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.34" 2>&1`
12495         else
12496                 GTestDBus_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.34" 2>&1`
12497         fi
12498         # Put the nasty error message in config.log where it belongs
12499         echo "$GTestDBus_PKG_ERRORS" >&5
12500
12501         gtestdbus=no
12502 elif test $pkg_failed = untried; then
12503         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12504 $as_echo "no" >&6; }
12505         gtestdbus=no
12506 else
12507         GTestDBus_CFLAGS=$pkg_cv_GTestDBus_CFLAGS
12508         GTestDBus_LIBS=$pkg_cv_GTestDBus_LIBS
12509         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12510 $as_echo "yes" >&6; }
12511         gtestdbus=yes
12512 fi
12513     if test "x$gtestdbus" = xyes; then
12514
12515 $as_echo "#define HAVE_GTESTDBUS 1" >>confdefs.h
12516
12517     fi
12518 elif test "x$enable_dbus_type" = "xsystem" ; then
12519
12520 $as_echo "#define GSIGNOND_BUS_TYPE G_BUS_TYPE_SYSTEM" >>confdefs.h
12521
12522     if test "x$enable_distcheck" = "xyes" ; then
12523         DBUS_SERVICES_DIR="${datadir}/dbus-1/system-services"
12524     else
12525         DBUS_SERVICES_DIR="`pkg-config --variable system_bus_services_dir dbus-1`"
12526     fi
12527 fi
12528 if test "x$enable_dbus_type" != "xp2p" ; then
12529     if test "x$enable_distcheck" = "xyes" ; then
12530         DBUS_INTERFACES_DIR="${datadir}/dbus-1/interfaces"
12531     else
12532         DBUS_INTERFACES_DIR="`pkg-config --variable interfaces_dir dbus-1`"
12533     fi
12534 fi
12535
12536 # Check whether --enable-keychain was given.
12537 if test "${enable_keychain+set}" = set; then :
12538   enableval=$enable_keychain; enable_keychain=$enableval
12539 fi
12540
12541 if test "x$enable_keychain" != "x" ; then
12542
12543 cat >>confdefs.h <<_ACEOF
12544 #define KEYCHAIN_SYSCTX "$enable_keychain"
12545 _ACEOF
12546
12547     KEYCHAIN_SYSCTX="#KeychainSystemContext = $enable_keychain"
12548
12549 else
12550     KEYCHAIN_SYSCTX="#KeychainSystemContext = \"\""
12551
12552 fi
12553
12554 # Check whether --enable-storagedir was given.
12555 if test "${enable_storagedir+set}" = set; then :
12556   enableval=$enable_storagedir; enable_storagedir=$enableval
12557 else
12558   enable_storagedir="/var/db"
12559 fi
12560
12561
12562 cat >>confdefs.h <<_ACEOF
12563 #define BASE_STORAGE_DIR "$enable_storagedir"
12564 _ACEOF
12565
12566 BASE_STORAGE_DIR="#StoragePath = $enable_storagedir"
12567
12568
12569 # Check whether --enable-debug was given.
12570 if test "${enable_debug+set}" = set; then :
12571   enableval=$enable_debug; enable_debug=yes
12572 else
12573   enable_debug=no
12574 fi
12575
12576 echo -n "enable debug features... "
12577 echo $enable_debug
12578 if test "x$enable_debug" = "xyes" ; then
12579
12580 $as_echo "#define ENABLE_DEBUG 1" >>confdefs.h
12581
12582     # Check whether --enable-sql-log was given.
12583 if test "${enable_sql_log+set}" = set; then :
12584   enableval=$enable_sql_log; enable_sql_log=yes
12585 else
12586   enable_sql_log=no
12587 fi
12588
12589     echo -n "enable sql log feature... "
12590     echo $enable_sql_log
12591     if test "x$enable_sql_log" = "xyes" ; then
12592
12593 $as_echo "#define ENABLE_SQL_LOG 1" >>confdefs.h
12594
12595     fi
12596 fi
12597
12598 # Check whether --enable-acltriggers was given.
12599 if test "${enable_acltriggers+set}" = set; then :
12600   enableval=$enable_acltriggers; enable_acl_triggers=yes
12601 else
12602   enable_acl_triggers=no
12603 fi
12604
12605 if test "x$enable_acl_triggers" = "xyes" ; then
12606
12607 $as_echo "#define ENABLE_DB_ACL_TRIGGERS 1" >>confdefs.h
12608
12609 fi
12610
12611  if test x$gtestdbus = xyes; then
12612   USE_GTESTDBUS_TRUE=
12613   USE_GTESTDBUS_FALSE='#'
12614 else
12615   USE_GTESTDBUS_TRUE='#'
12616   USE_GTESTDBUS_FALSE=
12617 fi
12618
12619 MESSAGE_BUS_TYPE=$enable_dbus_type
12620
12621
12622  if test x$enable_debug = xyes; then
12623   HAVE_DEBUG_TRUE=
12624   HAVE_DEBUG_FALSE='#'
12625 else
12626   HAVE_DEBUG_TRUE='#'
12627   HAVE_DEBUG_FALSE=
12628 fi
12629
12630  if test x$enable_distcheck != xyes; then
12631   SET_PERMISSIONS_TRUE=
12632   SET_PERMISSIONS_FALSE='#'
12633 else
12634   SET_PERMISSIONS_TRUE='#'
12635   SET_PERMISSIONS_FALSE=
12636 fi
12637
12638
12639
12640
12641
12642 # gtk-doc
12643
12644
12645
12646   gtk_doc_requires="gtk-doc >= 1.18"
12647   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk-doc" >&5
12648 $as_echo_n "checking for gtk-doc... " >&6; }
12649   if test -n "$PKG_CONFIG" && \
12650     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_doc_requires\""; } >&5
12651   ($PKG_CONFIG --exists --print-errors "$gtk_doc_requires") 2>&5
12652   ac_status=$?
12653   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12654   test $ac_status = 0; }; then
12655   have_gtk_doc=yes
12656 else
12657   have_gtk_doc=no
12658 fi
12659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gtk_doc" >&5
12660 $as_echo "$have_gtk_doc" >&6; }
12661
12662   if test "$have_gtk_doc" = "no"; then
12663       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
12664   You will not be able to create source packages with 'make dist'
12665   because $gtk_doc_requires is not found." >&5
12666 $as_echo "$as_me: WARNING:
12667   You will not be able to create source packages with 'make dist'
12668   because $gtk_doc_requires is not found." >&2;}
12669   fi
12670
12671             # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12672 set dummy gtkdoc-check; ac_word=$2
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12674 $as_echo_n "checking for $ac_word... " >&6; }
12675 if ${ac_cv_prog_GTKDOC_CHECK+:} false; then :
12676   $as_echo_n "(cached) " >&6
12677 else
12678   if test -n "$GTKDOC_CHECK"; then
12679   ac_cv_prog_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test.
12680 else
12681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12682 for as_dir in $PATH
12683 do
12684   IFS=$as_save_IFS
12685   test -z "$as_dir" && as_dir=.
12686     for ac_exec_ext in '' $ac_executable_extensions; do
12687   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12688     ac_cv_prog_GTKDOC_CHECK="gtkdoc-check.test"
12689     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12690     break 2
12691   fi
12692 done
12693   done
12694 IFS=$as_save_IFS
12695
12696 fi
12697 fi
12698 GTKDOC_CHECK=$ac_cv_prog_GTKDOC_CHECK
12699 if test -n "$GTKDOC_CHECK"; then
12700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
12701 $as_echo "$GTKDOC_CHECK" >&6; }
12702 else
12703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12704 $as_echo "no" >&6; }
12705 fi
12706
12707
12708   # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12709 set dummy gtkdoc-check; ac_word=$2
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12711 $as_echo_n "checking for $ac_word... " >&6; }
12712 if ${ac_cv_path_GTKDOC_CHECK_PATH+:} false; then :
12713   $as_echo_n "(cached) " >&6
12714 else
12715   case $GTKDOC_CHECK_PATH in
12716   [\\/]* | ?:[\\/]*)
12717   ac_cv_path_GTKDOC_CHECK_PATH="$GTKDOC_CHECK_PATH" # Let the user override the test with a path.
12718   ;;
12719   *)
12720   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12721 for as_dir in $PATH
12722 do
12723   IFS=$as_save_IFS
12724   test -z "$as_dir" && as_dir=.
12725     for ac_exec_ext in '' $ac_executable_extensions; do
12726   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12727     ac_cv_path_GTKDOC_CHECK_PATH="$as_dir/$ac_word$ac_exec_ext"
12728     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12729     break 2
12730   fi
12731 done
12732   done
12733 IFS=$as_save_IFS
12734
12735   ;;
12736 esac
12737 fi
12738 GTKDOC_CHECK_PATH=$ac_cv_path_GTKDOC_CHECK_PATH
12739 if test -n "$GTKDOC_CHECK_PATH"; then
12740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK_PATH" >&5
12741 $as_echo "$GTKDOC_CHECK_PATH" >&6; }
12742 else
12743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12744 $as_echo "no" >&6; }
12745 fi
12746
12747
12748   for ac_prog in gtkdoc-rebase
12749 do
12750   # Extract the first word of "$ac_prog", so it can be a program name with args.
12751 set dummy $ac_prog; ac_word=$2
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12753 $as_echo_n "checking for $ac_word... " >&6; }
12754 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
12755   $as_echo_n "(cached) " >&6
12756 else
12757   case $GTKDOC_REBASE in
12758   [\\/]* | ?:[\\/]*)
12759   ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
12760   ;;
12761   *)
12762   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12763 for as_dir in $PATH
12764 do
12765   IFS=$as_save_IFS
12766   test -z "$as_dir" && as_dir=.
12767     for ac_exec_ext in '' $ac_executable_extensions; do
12768   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12769     ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
12770     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12771     break 2
12772   fi
12773 done
12774   done
12775 IFS=$as_save_IFS
12776
12777   ;;
12778 esac
12779 fi
12780 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
12781 if test -n "$GTKDOC_REBASE"; then
12782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
12783 $as_echo "$GTKDOC_REBASE" >&6; }
12784 else
12785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12786 $as_echo "no" >&6; }
12787 fi
12788
12789
12790   test -n "$GTKDOC_REBASE" && break
12791 done
12792 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
12793
12794   # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
12795 set dummy gtkdoc-mkpdf; ac_word=$2
12796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12797 $as_echo_n "checking for $ac_word... " >&6; }
12798 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
12799   $as_echo_n "(cached) " >&6
12800 else
12801   case $GTKDOC_MKPDF in
12802   [\\/]* | ?:[\\/]*)
12803   ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
12804   ;;
12805   *)
12806   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12807 for as_dir in $PATH
12808 do
12809   IFS=$as_save_IFS
12810   test -z "$as_dir" && as_dir=.
12811     for ac_exec_ext in '' $ac_executable_extensions; do
12812   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12813     ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
12814     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12815     break 2
12816   fi
12817 done
12818   done
12819 IFS=$as_save_IFS
12820
12821   ;;
12822 esac
12823 fi
12824 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
12825 if test -n "$GTKDOC_MKPDF"; then
12826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
12827 $as_echo "$GTKDOC_MKPDF" >&6; }
12828 else
12829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12830 $as_echo "no" >&6; }
12831 fi
12832
12833
12834
12835
12836 # Check whether --with-html-dir was given.
12837 if test "${with_html_dir+set}" = set; then :
12838   withval=$with_html_dir;
12839 else
12840   with_html_dir='${datadir}/gtk-doc/html'
12841 fi
12842
12843   HTML_DIR="$with_html_dir"
12844
12845
12846     # Check whether --enable-gtk-doc was given.
12847 if test "${enable_gtk_doc+set}" = set; then :
12848   enableval=$enable_gtk_doc;
12849 else
12850   enable_gtk_doc=no
12851 fi
12852
12853
12854   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
12855 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
12856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
12857 $as_echo "$enable_gtk_doc" >&6; }
12858
12859   if test "x$enable_gtk_doc" = "xyes" && test "$have_gtk_doc" = "no"; then
12860     as_fn_error $? "
12861   You must have $gtk_doc_requires installed to build documentation for
12862   $PACKAGE_NAME. Please install gtk-doc or disable building the
12863   documentation by adding '--disable-gtk-doc' to '$0'." "$LINENO" 5
12864   fi
12865
12866     if test "x$PACKAGE_NAME" != "xglib"; then
12867
12868 pkg_failed=no
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
12870 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
12871
12872 if test -n "$GTKDOC_DEPS_CFLAGS"; then
12873     pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
12874  elif test -n "$PKG_CONFIG"; then
12875     if test -n "$PKG_CONFIG" && \
12876     { { $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
12877   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
12878   ac_status=$?
12879   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12880   test $ac_status = 0; }; then
12881   pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
12882                       test "x$?" != "x0" && pkg_failed=yes
12883 else
12884   pkg_failed=yes
12885 fi
12886  else
12887     pkg_failed=untried
12888 fi
12889 if test -n "$GTKDOC_DEPS_LIBS"; then
12890     pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
12891  elif test -n "$PKG_CONFIG"; then
12892     if test -n "$PKG_CONFIG" && \
12893     { { $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
12894   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
12895   ac_status=$?
12896   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12897   test $ac_status = 0; }; then
12898   pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
12899                       test "x$?" != "x0" && pkg_failed=yes
12900 else
12901   pkg_failed=yes
12902 fi
12903  else
12904     pkg_failed=untried
12905 fi
12906
12907
12908
12909 if test $pkg_failed = yes; then
12910         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12911 $as_echo "no" >&6; }
12912
12913 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12914         _pkg_short_errors_supported=yes
12915 else
12916         _pkg_short_errors_supported=no
12917 fi
12918         if test $_pkg_short_errors_supported = yes; then
12919                 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`
12920         else
12921                 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
12922         fi
12923         # Put the nasty error message in config.log where it belongs
12924         echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
12925
12926         :
12927 elif test $pkg_failed = untried; then
12928         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12929 $as_echo "no" >&6; }
12930         :
12931 else
12932         GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
12933         GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
12934         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12935 $as_echo "yes" >&6; }
12936
12937 fi
12938   fi
12939
12940     # Check whether --enable-gtk-doc-html was given.
12941 if test "${enable_gtk_doc_html+set}" = set; then :
12942   enableval=$enable_gtk_doc_html;
12943 else
12944   enable_gtk_doc_html=yes
12945 fi
12946
12947     # Check whether --enable-gtk-doc-pdf was given.
12948 if test "${enable_gtk_doc_pdf+set}" = set; then :
12949   enableval=$enable_gtk_doc_pdf;
12950 else
12951   enable_gtk_doc_pdf=no
12952 fi
12953
12954
12955   if test -z "$GTKDOC_MKPDF"; then
12956     enable_gtk_doc_pdf=no
12957   fi
12958
12959   if test -z "$AM_DEFAULT_VERBOSITY"; then
12960     AM_DEFAULT_VERBOSITY=1
12961   fi
12962
12963
12964    if test x$have_gtk_doc = xyes; then
12965   HAVE_GTK_DOC_TRUE=
12966   HAVE_GTK_DOC_FALSE='#'
12967 else
12968   HAVE_GTK_DOC_TRUE='#'
12969   HAVE_GTK_DOC_FALSE=
12970 fi
12971
12972    if test x$enable_gtk_doc = xyes; then
12973   ENABLE_GTK_DOC_TRUE=
12974   ENABLE_GTK_DOC_FALSE='#'
12975 else
12976   ENABLE_GTK_DOC_TRUE='#'
12977   ENABLE_GTK_DOC_FALSE=
12978 fi
12979
12980    if test x$enable_gtk_doc_html = xyes; then
12981   GTK_DOC_BUILD_HTML_TRUE=
12982   GTK_DOC_BUILD_HTML_FALSE='#'
12983 else
12984   GTK_DOC_BUILD_HTML_TRUE='#'
12985   GTK_DOC_BUILD_HTML_FALSE=
12986 fi
12987
12988    if test x$enable_gtk_doc_pdf = xyes; then
12989   GTK_DOC_BUILD_PDF_TRUE=
12990   GTK_DOC_BUILD_PDF_FALSE='#'
12991 else
12992   GTK_DOC_BUILD_PDF_TRUE='#'
12993   GTK_DOC_BUILD_PDF_FALSE=
12994 fi
12995
12996    if test -n "$LIBTOOL"; then
12997   GTK_DOC_USE_LIBTOOL_TRUE=
12998   GTK_DOC_USE_LIBTOOL_FALSE='#'
12999 else
13000   GTK_DOC_USE_LIBTOOL_TRUE='#'
13001   GTK_DOC_USE_LIBTOOL_FALSE=
13002 fi
13003
13004    if test -n "$GTKDOC_REBASE"; then
13005   GTK_DOC_USE_REBASE_TRUE=
13006   GTK_DOC_USE_REBASE_FALSE='#'
13007 else
13008   GTK_DOC_USE_REBASE_TRUE='#'
13009   GTK_DOC_USE_REBASE_FALSE=
13010 fi
13011
13012
13013
13014 # Checks for header files.
13015 for ac_header in string.h
13016 do :
13017   ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
13018 if test "x$ac_cv_header_string_h" = xyes; then :
13019   cat >>confdefs.h <<_ACEOF
13020 #define HAVE_STRING_H 1
13021 _ACEOF
13022
13023 fi
13024
13025 done
13026
13027
13028 # Enable feature sets
13029 GSIGNOND_CFLAGS="$GSIGNOND_CFLAGS -D_POSIX_C_SOURCE=\\\"200809L\\\" -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE"
13030
13031 # Checks for typedefs, structures, and compiler characteristics.
13032 GSIGNOND_CFLAGS="$GSIGNOND_CFLAGS -Wall -DG_LOG_DOMAIN=\\\"gsignond\\\""
13033 if test "x$enable_debug" = "xno" ; then
13034     GSIGNOND_CFLAGS="$GSIGNOND_CFLAGS -Werror"
13035 fi
13036
13037 # GSIGNOND_LIBS="$GSIGNOND_LIBS -lduma"
13038
13039 # Checks for library functions.
13040
13041 ac_config_files="$ac_config_files Makefile ${PACKAGE_NAME}.pc ${PACKAGE_NAME}-uninstalled.pc gsignond.conf docs/Makefile src/Makefile src/common/Makefile src/common/db/Makefile src/daemon/Makefile src/daemon/db/Makefile src/daemon/dbus/Makefile src/daemon/dbus/services/com.google.code.AccountsSSO.gSingleSignOn.service src/daemon/plugins/Makefile src/gplugind/Makefile src/extensions/Makefile src/extensions/test/Makefile src/extensions/tizen/Makefile src/plugins/Makefile src/plugins/password/Makefile src/plugins/ssotest/Makefile src/plugins/digest/Makefile test/Makefile test/common/Makefile test/db/Makefile test/daemon/Makefile test/daemon/gsignond-dbus.conf test/plugins/Makefile"
13042
13043 cat >confcache <<\_ACEOF
13044 # This file is a shell script that caches the results of configure
13045 # tests run on this system so they can be shared between configure
13046 # scripts and configure runs, see configure's option --config-cache.
13047 # It is not useful on other systems.  If it contains results you don't
13048 # want to keep, you may remove or edit it.
13049 #
13050 # config.status only pays attention to the cache file if you give it
13051 # the --recheck option to rerun configure.
13052 #
13053 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13054 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13055 # following values.
13056
13057 _ACEOF
13058
13059 # The following way of writing the cache mishandles newlines in values,
13060 # but we know of no workaround that is simple, portable, and efficient.
13061 # So, we kill variables containing newlines.
13062 # Ultrix sh set writes to stderr and can't be redirected directly,
13063 # and sets the high bit in the cache file unless we assign to the vars.
13064 (
13065   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13066     eval ac_val=\$$ac_var
13067     case $ac_val in #(
13068     *${as_nl}*)
13069       case $ac_var in #(
13070       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13071 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13072       esac
13073       case $ac_var in #(
13074       _ | IFS | as_nl) ;; #(
13075       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13076       *) { eval $ac_var=; unset $ac_var;} ;;
13077       esac ;;
13078     esac
13079   done
13080
13081   (set) 2>&1 |
13082     case $as_nl`(ac_space=' '; set) 2>&1` in #(
13083     *${as_nl}ac_space=\ *)
13084       # `set' does not quote correctly, so add quotes: double-quote
13085       # substitution turns \\\\ into \\, and sed turns \\ into \.
13086       sed -n \
13087         "s/'/'\\\\''/g;
13088           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13089       ;; #(
13090     *)
13091       # `set' quotes correctly as required by POSIX, so do not add quotes.
13092       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13093       ;;
13094     esac |
13095     sort
13096 ) |
13097   sed '
13098      /^ac_cv_env_/b end
13099      t clear
13100      :clear
13101      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13102      t end
13103      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13104      :end' >>confcache
13105 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13106   if test -w "$cache_file"; then
13107     if test "x$cache_file" != "x/dev/null"; then
13108       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13109 $as_echo "$as_me: updating cache $cache_file" >&6;}
13110       if test ! -f "$cache_file" || test -h "$cache_file"; then
13111         cat confcache >"$cache_file"
13112       else
13113         case $cache_file in #(
13114         */* | ?:*)
13115           mv -f confcache "$cache_file"$$ &&
13116           mv -f "$cache_file"$$ "$cache_file" ;; #(
13117         *)
13118           mv -f confcache "$cache_file" ;;
13119         esac
13120       fi
13121     fi
13122   else
13123     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13124 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13125   fi
13126 fi
13127 rm -f confcache
13128
13129 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13130 # Let make expand exec_prefix.
13131 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13132
13133 DEFS=-DHAVE_CONFIG_H
13134
13135 ac_libobjs=
13136 ac_ltlibobjs=
13137 U=
13138 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13139   # 1. Remove the extension, and $U if already installed.
13140   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13141   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13142   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13143   #    will be set to the directory where LIBOBJS objects are built.
13144   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13145   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13146 done
13147 LIBOBJS=$ac_libobjs
13148
13149 LTLIBOBJS=$ac_ltlibobjs
13150
13151
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13153 $as_echo_n "checking that generated files are newer than configure... " >&6; }
13154    if test -n "$am_sleep_pid"; then
13155      # Hide warnings about reused PIDs.
13156      wait $am_sleep_pid 2>/dev/null
13157    fi
13158    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13159 $as_echo "done" >&6; }
13160  if test -n "$EXEEXT"; then
13161   am__EXEEXT_TRUE=
13162   am__EXEEXT_FALSE='#'
13163 else
13164   am__EXEEXT_TRUE='#'
13165   am__EXEEXT_FALSE=
13166 fi
13167
13168 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13169   as_fn_error $? "conditional \"AMDEP\" was never defined.
13170 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13171 fi
13172 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13173   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13174 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13175 fi
13176 if test -z "${HAVE_LIBSMACK_TRUE}" && test -z "${HAVE_LIBSMACK_FALSE}"; then
13177   as_fn_error $? "conditional \"HAVE_LIBSMACK\" was never defined.
13178 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13179 fi
13180 if test -z "${HAVE_LIBECRYPTFS_TRUE}" && test -z "${HAVE_LIBECRYPTFS_FALSE}"; then
13181   as_fn_error $? "conditional \"HAVE_LIBECRYPTFS\" was never defined.
13182 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13183 fi
13184 if test -z "${USE_GTESTDBUS_TRUE}" && test -z "${USE_GTESTDBUS_FALSE}"; then
13185   as_fn_error $? "conditional \"USE_GTESTDBUS\" was never defined.
13186 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13187 fi
13188 if test -z "${HAVE_DEBUG_TRUE}" && test -z "${HAVE_DEBUG_FALSE}"; then
13189   as_fn_error $? "conditional \"HAVE_DEBUG\" was never defined.
13190 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13191 fi
13192 if test -z "${SET_PERMISSIONS_TRUE}" && test -z "${SET_PERMISSIONS_FALSE}"; then
13193   as_fn_error $? "conditional \"SET_PERMISSIONS\" was never defined.
13194 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13195 fi
13196 if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then
13197   as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined.
13198 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13199 fi
13200 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
13201   as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
13202 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13203 fi
13204 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
13205   as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
13206 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13207 fi
13208 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
13209   as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
13210 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13211 fi
13212 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
13213   as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
13214 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13215 fi
13216 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
13217   as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
13218 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13219 fi
13220
13221 : "${CONFIG_STATUS=./config.status}"
13222 ac_write_fail=0
13223 ac_clean_files_save=$ac_clean_files
13224 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13226 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13227 as_write_fail=0
13228 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13229 #! $SHELL
13230 # Generated by $as_me.
13231 # Run this file to recreate the current configuration.
13232 # Compiler output produced by configure, useful for debugging
13233 # configure, is in config.log if it exists.
13234
13235 debug=false
13236 ac_cs_recheck=false
13237 ac_cs_silent=false
13238
13239 SHELL=\${CONFIG_SHELL-$SHELL}
13240 export SHELL
13241 _ASEOF
13242 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13243 ## -------------------- ##
13244 ## M4sh Initialization. ##
13245 ## -------------------- ##
13246
13247 # Be more Bourne compatible
13248 DUALCASE=1; export DUALCASE # for MKS sh
13249 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13250   emulate sh
13251   NULLCMD=:
13252   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13253   # is contrary to our usage.  Disable this feature.
13254   alias -g '${1+"$@"}'='"$@"'
13255   setopt NO_GLOB_SUBST
13256 else
13257   case `(set -o) 2>/dev/null` in #(
13258   *posix*) :
13259     set -o posix ;; #(
13260   *) :
13261      ;;
13262 esac
13263 fi
13264
13265
13266 as_nl='
13267 '
13268 export as_nl
13269 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13270 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13271 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13272 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13273 # Prefer a ksh shell builtin over an external printf program on Solaris,
13274 # but without wasting forks for bash or zsh.
13275 if test -z "$BASH_VERSION$ZSH_VERSION" \
13276     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13277   as_echo='print -r --'
13278   as_echo_n='print -rn --'
13279 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13280   as_echo='printf %s\n'
13281   as_echo_n='printf %s'
13282 else
13283   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13284     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13285     as_echo_n='/usr/ucb/echo -n'
13286   else
13287     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13288     as_echo_n_body='eval
13289       arg=$1;
13290       case $arg in #(
13291       *"$as_nl"*)
13292         expr "X$arg" : "X\\(.*\\)$as_nl";
13293         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13294       esac;
13295       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13296     '
13297     export as_echo_n_body
13298     as_echo_n='sh -c $as_echo_n_body as_echo'
13299   fi
13300   export as_echo_body
13301   as_echo='sh -c $as_echo_body as_echo'
13302 fi
13303
13304 # The user is always right.
13305 if test "${PATH_SEPARATOR+set}" != set; then
13306   PATH_SEPARATOR=:
13307   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13308     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13309       PATH_SEPARATOR=';'
13310   }
13311 fi
13312
13313
13314 # IFS
13315 # We need space, tab and new line, in precisely that order.  Quoting is
13316 # there to prevent editors from complaining about space-tab.
13317 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13318 # splitting by setting IFS to empty value.)
13319 IFS=" ""        $as_nl"
13320
13321 # Find who we are.  Look in the path if we contain no directory separator.
13322 as_myself=
13323 case $0 in #((
13324   *[\\/]* ) as_myself=$0 ;;
13325   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13326 for as_dir in $PATH
13327 do
13328   IFS=$as_save_IFS
13329   test -z "$as_dir" && as_dir=.
13330     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13331   done
13332 IFS=$as_save_IFS
13333
13334      ;;
13335 esac
13336 # We did not find ourselves, most probably we were run as `sh COMMAND'
13337 # in which case we are not to be found in the path.
13338 if test "x$as_myself" = x; then
13339   as_myself=$0
13340 fi
13341 if test ! -f "$as_myself"; then
13342   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13343   exit 1
13344 fi
13345
13346 # Unset variables that we do not need and which cause bugs (e.g. in
13347 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
13348 # suppresses any "Segmentation fault" message there.  '((' could
13349 # trigger a bug in pdksh 5.2.14.
13350 for as_var in BASH_ENV ENV MAIL MAILPATH
13351 do eval test x\${$as_var+set} = xset \
13352   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13353 done
13354 PS1='$ '
13355 PS2='> '
13356 PS4='+ '
13357
13358 # NLS nuisances.
13359 LC_ALL=C
13360 export LC_ALL
13361 LANGUAGE=C
13362 export LANGUAGE
13363
13364 # CDPATH.
13365 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13366
13367
13368 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13369 # ----------------------------------------
13370 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13371 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13372 # script with STATUS, using 1 if that was 0.
13373 as_fn_error ()
13374 {
13375   as_status=$1; test $as_status -eq 0 && as_status=1
13376   if test "$4"; then
13377     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13378     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13379   fi
13380   $as_echo "$as_me: error: $2" >&2
13381   as_fn_exit $as_status
13382 } # as_fn_error
13383
13384
13385 # as_fn_set_status STATUS
13386 # -----------------------
13387 # Set $? to STATUS, without forking.
13388 as_fn_set_status ()
13389 {
13390   return $1
13391 } # as_fn_set_status
13392
13393 # as_fn_exit STATUS
13394 # -----------------
13395 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13396 as_fn_exit ()
13397 {
13398   set +e
13399   as_fn_set_status $1
13400   exit $1
13401 } # as_fn_exit
13402
13403 # as_fn_unset VAR
13404 # ---------------
13405 # Portably unset VAR.
13406 as_fn_unset ()
13407 {
13408   { eval $1=; unset $1;}
13409 }
13410 as_unset=as_fn_unset
13411 # as_fn_append VAR VALUE
13412 # ----------------------
13413 # Append the text in VALUE to the end of the definition contained in VAR. Take
13414 # advantage of any shell optimizations that allow amortized linear growth over
13415 # repeated appends, instead of the typical quadratic growth present in naive
13416 # implementations.
13417 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13418   eval 'as_fn_append ()
13419   {
13420     eval $1+=\$2
13421   }'
13422 else
13423   as_fn_append ()
13424   {
13425     eval $1=\$$1\$2
13426   }
13427 fi # as_fn_append
13428
13429 # as_fn_arith ARG...
13430 # ------------------
13431 # Perform arithmetic evaluation on the ARGs, and store the result in the
13432 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13433 # must be portable across $(()) and expr.
13434 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13435   eval 'as_fn_arith ()
13436   {
13437     as_val=$(( $* ))
13438   }'
13439 else
13440   as_fn_arith ()
13441   {
13442     as_val=`expr "$@" || test $? -eq 1`
13443   }
13444 fi # as_fn_arith
13445
13446
13447 if expr a : '\(a\)' >/dev/null 2>&1 &&
13448    test "X`expr 00001 : '.*\(...\)'`" = X001; then
13449   as_expr=expr
13450 else
13451   as_expr=false
13452 fi
13453
13454 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13455   as_basename=basename
13456 else
13457   as_basename=false
13458 fi
13459
13460 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13461   as_dirname=dirname
13462 else
13463   as_dirname=false
13464 fi
13465
13466 as_me=`$as_basename -- "$0" ||
13467 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13468          X"$0" : 'X\(//\)$' \| \
13469          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13470 $as_echo X/"$0" |
13471     sed '/^.*\/\([^/][^/]*\)\/*$/{
13472             s//\1/
13473             q
13474           }
13475           /^X\/\(\/\/\)$/{
13476             s//\1/
13477             q
13478           }
13479           /^X\/\(\/\).*/{
13480             s//\1/
13481             q
13482           }
13483           s/.*/./; q'`
13484
13485 # Avoid depending upon Character Ranges.
13486 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13487 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13488 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13489 as_cr_digits='0123456789'
13490 as_cr_alnum=$as_cr_Letters$as_cr_digits
13491
13492 ECHO_C= ECHO_N= ECHO_T=
13493 case `echo -n x` in #(((((
13494 -n*)
13495   case `echo 'xy\c'` in
13496   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
13497   xy)  ECHO_C='\c';;
13498   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
13499        ECHO_T=' ';;
13500   esac;;
13501 *)
13502   ECHO_N='-n';;
13503 esac
13504
13505 rm -f conf$$ conf$$.exe conf$$.file
13506 if test -d conf$$.dir; then
13507   rm -f conf$$.dir/conf$$.file
13508 else
13509   rm -f conf$$.dir
13510   mkdir conf$$.dir 2>/dev/null
13511 fi
13512 if (echo >conf$$.file) 2>/dev/null; then
13513   if ln -s conf$$.file conf$$ 2>/dev/null; then
13514     as_ln_s='ln -s'
13515     # ... but there are two gotchas:
13516     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13517     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13518     # In both cases, we have to default to `cp -pR'.
13519     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13520       as_ln_s='cp -pR'
13521   elif ln conf$$.file conf$$ 2>/dev/null; then
13522     as_ln_s=ln
13523   else
13524     as_ln_s='cp -pR'
13525   fi
13526 else
13527   as_ln_s='cp -pR'
13528 fi
13529 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13530 rmdir conf$$.dir 2>/dev/null
13531
13532
13533 # as_fn_mkdir_p
13534 # -------------
13535 # Create "$as_dir" as a directory, including parents if necessary.
13536 as_fn_mkdir_p ()
13537 {
13538
13539   case $as_dir in #(
13540   -*) as_dir=./$as_dir;;
13541   esac
13542   test -d "$as_dir" || eval $as_mkdir_p || {
13543     as_dirs=
13544     while :; do
13545       case $as_dir in #(
13546       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13547       *) as_qdir=$as_dir;;
13548       esac
13549       as_dirs="'$as_qdir' $as_dirs"
13550       as_dir=`$as_dirname -- "$as_dir" ||
13551 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13552          X"$as_dir" : 'X\(//\)[^/]' \| \
13553          X"$as_dir" : 'X\(//\)$' \| \
13554          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13555 $as_echo X"$as_dir" |
13556     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13557             s//\1/
13558             q
13559           }
13560           /^X\(\/\/\)[^/].*/{
13561             s//\1/
13562             q
13563           }
13564           /^X\(\/\/\)$/{
13565             s//\1/
13566             q
13567           }
13568           /^X\(\/\).*/{
13569             s//\1/
13570             q
13571           }
13572           s/.*/./; q'`
13573       test -d "$as_dir" && break
13574     done
13575     test -z "$as_dirs" || eval "mkdir $as_dirs"
13576   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13577
13578
13579 } # as_fn_mkdir_p
13580 if mkdir -p . 2>/dev/null; then
13581   as_mkdir_p='mkdir -p "$as_dir"'
13582 else
13583   test -d ./-p && rmdir ./-p
13584   as_mkdir_p=false
13585 fi
13586
13587
13588 # as_fn_executable_p FILE
13589 # -----------------------
13590 # Test if FILE is an executable regular file.
13591 as_fn_executable_p ()
13592 {
13593   test -f "$1" && test -x "$1"
13594 } # as_fn_executable_p
13595 as_test_x='test -x'
13596 as_executable_p=as_fn_executable_p
13597
13598 # Sed expression to map a string onto a valid CPP name.
13599 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13600
13601 # Sed expression to map a string onto a valid variable name.
13602 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13603
13604
13605 exec 6>&1
13606 ## ----------------------------------- ##
13607 ## Main body of $CONFIG_STATUS script. ##
13608 ## ----------------------------------- ##
13609 _ASEOF
13610 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13611
13612 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13613 # Save the log message, to keep $0 and so on meaningful, and to
13614 # report actual input values of CONFIG_FILES etc. instead of their
13615 # values after options handling.
13616 ac_log="
13617 This file was extended by gsignond $as_me 1.0.3, which was
13618 generated by GNU Autoconf 2.69.  Invocation command line was
13619
13620   CONFIG_FILES    = $CONFIG_FILES
13621   CONFIG_HEADERS  = $CONFIG_HEADERS
13622   CONFIG_LINKS    = $CONFIG_LINKS
13623   CONFIG_COMMANDS = $CONFIG_COMMANDS
13624   $ $0 $@
13625
13626 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13627 "
13628
13629 _ACEOF
13630
13631 case $ac_config_files in *"
13632 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13633 esac
13634
13635 case $ac_config_headers in *"
13636 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13637 esac
13638
13639
13640 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13641 # Files that config.status was made for.
13642 config_files="$ac_config_files"
13643 config_headers="$ac_config_headers"
13644 config_commands="$ac_config_commands"
13645
13646 _ACEOF
13647
13648 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13649 ac_cs_usage="\
13650 \`$as_me' instantiates files and other configuration actions
13651 from templates according to the current configuration.  Unless the files
13652 and actions are specified as TAGs, all are instantiated by default.
13653
13654 Usage: $0 [OPTION]... [TAG]...
13655
13656   -h, --help       print this help, then exit
13657   -V, --version    print version number and configuration settings, then exit
13658       --config     print configuration, then exit
13659   -q, --quiet, --silent
13660                    do not print progress messages
13661   -d, --debug      don't remove temporary files
13662       --recheck    update $as_me by reconfiguring in the same conditions
13663       --file=FILE[:TEMPLATE]
13664                    instantiate the configuration file FILE
13665       --header=FILE[:TEMPLATE]
13666                    instantiate the configuration header FILE
13667
13668 Configuration files:
13669 $config_files
13670
13671 Configuration headers:
13672 $config_headers
13673
13674 Configuration commands:
13675 $config_commands
13676
13677 Report bugs to the package provider.
13678 gsignond home page: <http://01.org/gsso>."
13679
13680 _ACEOF
13681 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13682 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13683 ac_cs_version="\\
13684 gsignond config.status 1.0.3
13685 configured by $0, generated by GNU Autoconf 2.69,
13686   with options \\"\$ac_cs_config\\"
13687
13688 Copyright (C) 2012 Free Software Foundation, Inc.
13689 This config.status script is free software; the Free Software Foundation
13690 gives unlimited permission to copy, distribute and modify it."
13691
13692 ac_pwd='$ac_pwd'
13693 srcdir='$srcdir'
13694 INSTALL='$INSTALL'
13695 MKDIR_P='$MKDIR_P'
13696 AWK='$AWK'
13697 test -n "\$AWK" || AWK=awk
13698 _ACEOF
13699
13700 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13701 # The default lists apply if the user does not specify any file.
13702 ac_need_defaults=:
13703 while test $# != 0
13704 do
13705   case $1 in
13706   --*=?*)
13707     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13708     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13709     ac_shift=:
13710     ;;
13711   --*=)
13712     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13713     ac_optarg=
13714     ac_shift=:
13715     ;;
13716   *)
13717     ac_option=$1
13718     ac_optarg=$2
13719     ac_shift=shift
13720     ;;
13721   esac
13722
13723   case $ac_option in
13724   # Handling of the options.
13725   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13726     ac_cs_recheck=: ;;
13727   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13728     $as_echo "$ac_cs_version"; exit ;;
13729   --config | --confi | --conf | --con | --co | --c )
13730     $as_echo "$ac_cs_config"; exit ;;
13731   --debug | --debu | --deb | --de | --d | -d )
13732     debug=: ;;
13733   --file | --fil | --fi | --f )
13734     $ac_shift
13735     case $ac_optarg in
13736     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13737     '') as_fn_error $? "missing file argument" ;;
13738     esac
13739     as_fn_append CONFIG_FILES " '$ac_optarg'"
13740     ac_need_defaults=false;;
13741   --header | --heade | --head | --hea )
13742     $ac_shift
13743     case $ac_optarg in
13744     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13745     esac
13746     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13747     ac_need_defaults=false;;
13748   --he | --h)
13749     # Conflict between --help and --header
13750     as_fn_error $? "ambiguous option: \`$1'
13751 Try \`$0 --help' for more information.";;
13752   --help | --hel | -h )
13753     $as_echo "$ac_cs_usage"; exit ;;
13754   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13755   | -silent | --silent | --silen | --sile | --sil | --si | --s)
13756     ac_cs_silent=: ;;
13757
13758   # This is an error.
13759   -*) as_fn_error $? "unrecognized option: \`$1'
13760 Try \`$0 --help' for more information." ;;
13761
13762   *) as_fn_append ac_config_targets " $1"
13763      ac_need_defaults=false ;;
13764
13765   esac
13766   shift
13767 done
13768
13769 ac_configure_extra_args=
13770
13771 if $ac_cs_silent; then
13772   exec 6>/dev/null
13773   ac_configure_extra_args="$ac_configure_extra_args --silent"
13774 fi
13775
13776 _ACEOF
13777 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13778 if \$ac_cs_recheck; then
13779   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13780   shift
13781   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13782   CONFIG_SHELL='$SHELL'
13783   export CONFIG_SHELL
13784   exec "\$@"
13785 fi
13786
13787 _ACEOF
13788 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13789 exec 5>>config.log
13790 {
13791   echo
13792   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13793 ## Running $as_me. ##
13794 _ASBOX
13795   $as_echo "$ac_log"
13796 } >&5
13797
13798 _ACEOF
13799 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13800 #
13801 # INIT-COMMANDS
13802 #
13803 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13804
13805
13806 # The HP-UX ksh and POSIX shell print the target directory to stdout
13807 # if CDPATH is set.
13808 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13809
13810 sed_quote_subst='$sed_quote_subst'
13811 double_quote_subst='$double_quote_subst'
13812 delay_variable_subst='$delay_variable_subst'
13813 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13814 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13815 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13816 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13817 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13818 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13819 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13820 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13821 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13822 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13823 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13824 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13825 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13826 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13827 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13828 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13829 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13830 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13831 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13832 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13833 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13834 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13835 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13836 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13837 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13838 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13839 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13840 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13841 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13842 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13843 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13844 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13845 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13846 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13847 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13848 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13849 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13850 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13851 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13852 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13853 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13854 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13855 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13856 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13857 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13858 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13859 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13860 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13861 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13862 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13863 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13864 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13865 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13866 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13867 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13868 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13869 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"`'
13870 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13871 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13872 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13873 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13874 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13875 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13876 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13877 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13878 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13879 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13880 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13881 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13882 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13883 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13884 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13885 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13886 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13887 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13888 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13889 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13890 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13891 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13892 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13893 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13894 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13895 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13896 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13897 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13898 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13899 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13900 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13901 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13902 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13903 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13904 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13905 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13906 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13907 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13908 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13909 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13910 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13911 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13912 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13913 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13914 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13915 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13916 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13917 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13918 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13919 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13920 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13921 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13922 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13923 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13924 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13925 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13926 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13927 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13928 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13929 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13930 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13931 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13932 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13933 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13934 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13935 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13936 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13937 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13938 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13939 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13940 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13941 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13942 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13943
13944 LTCC='$LTCC'
13945 LTCFLAGS='$LTCFLAGS'
13946 compiler='$compiler_DEFAULT'
13947
13948 # A function that is used when there is no print builtin or printf.
13949 func_fallback_echo ()
13950 {
13951   eval 'cat <<_LTECHO_EOF
13952 \$1
13953 _LTECHO_EOF'
13954 }
13955
13956 # Quote evaled strings.
13957 for var in SHELL \
13958 ECHO \
13959 PATH_SEPARATOR \
13960 SED \
13961 GREP \
13962 EGREP \
13963 FGREP \
13964 LD \
13965 NM \
13966 LN_S \
13967 lt_SP2NL \
13968 lt_NL2SP \
13969 reload_flag \
13970 OBJDUMP \
13971 deplibs_check_method \
13972 file_magic_cmd \
13973 file_magic_glob \
13974 want_nocaseglob \
13975 DLLTOOL \
13976 sharedlib_from_linklib_cmd \
13977 AR \
13978 AR_FLAGS \
13979 archiver_list_spec \
13980 STRIP \
13981 RANLIB \
13982 CC \
13983 CFLAGS \
13984 compiler \
13985 lt_cv_sys_global_symbol_pipe \
13986 lt_cv_sys_global_symbol_to_cdecl \
13987 lt_cv_sys_global_symbol_to_c_name_address \
13988 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13989 nm_file_list_spec \
13990 lt_prog_compiler_no_builtin_flag \
13991 lt_prog_compiler_pic \
13992 lt_prog_compiler_wl \
13993 lt_prog_compiler_static \
13994 lt_cv_prog_compiler_c_o \
13995 need_locks \
13996 MANIFEST_TOOL \
13997 DSYMUTIL \
13998 NMEDIT \
13999 LIPO \
14000 OTOOL \
14001 OTOOL64 \
14002 shrext_cmds \
14003 export_dynamic_flag_spec \
14004 whole_archive_flag_spec \
14005 compiler_needs_object \
14006 with_gnu_ld \
14007 allow_undefined_flag \
14008 no_undefined_flag \
14009 hardcode_libdir_flag_spec \
14010 hardcode_libdir_separator \
14011 exclude_expsyms \
14012 include_expsyms \
14013 file_list_spec \
14014 variables_saved_for_relink \
14015 libname_spec \
14016 library_names_spec \
14017 soname_spec \
14018 install_override_mode \
14019 finish_eval \
14020 old_striplib \
14021 striplib; do
14022     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14023     *[\\\\\\\`\\"\\\$]*)
14024       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14025       ;;
14026     *)
14027       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14028       ;;
14029     esac
14030 done
14031
14032 # Double-quote double-evaled strings.
14033 for var in reload_cmds \
14034 old_postinstall_cmds \
14035 old_postuninstall_cmds \
14036 old_archive_cmds \
14037 extract_expsyms_cmds \
14038 old_archive_from_new_cmds \
14039 old_archive_from_expsyms_cmds \
14040 archive_cmds \
14041 archive_expsym_cmds \
14042 module_cmds \
14043 module_expsym_cmds \
14044 export_symbols_cmds \
14045 prelink_cmds \
14046 postlink_cmds \
14047 postinstall_cmds \
14048 postuninstall_cmds \
14049 finish_cmds \
14050 sys_lib_search_path_spec \
14051 sys_lib_dlsearch_path_spec; do
14052     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14053     *[\\\\\\\`\\"\\\$]*)
14054       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14055       ;;
14056     *)
14057       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14058       ;;
14059     esac
14060 done
14061
14062 ac_aux_dir='$ac_aux_dir'
14063 xsi_shell='$xsi_shell'
14064 lt_shell_append='$lt_shell_append'
14065
14066 # See if we are running on zsh, and set the options which allow our
14067 # commands through without removal of \ escapes INIT.
14068 if test -n "\${ZSH_VERSION+set}" ; then
14069    setopt NO_GLOB_SUBST
14070 fi
14071
14072
14073     PACKAGE='$PACKAGE'
14074     VERSION='$VERSION'
14075     TIMESTAMP='$TIMESTAMP'
14076     RM='$RM'
14077     ofile='$ofile'
14078
14079
14080
14081
14082 _ACEOF
14083
14084 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14085
14086 # Handling of arguments.
14087 for ac_config_target in $ac_config_targets
14088 do
14089   case $ac_config_target in
14090     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14091     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14092     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14093     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14094     "${PACKAGE_NAME}.pc") CONFIG_FILES="$CONFIG_FILES ${PACKAGE_NAME}.pc" ;;
14095     "${PACKAGE_NAME}-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES ${PACKAGE_NAME}-uninstalled.pc" ;;
14096     "gsignond.conf") CONFIG_FILES="$CONFIG_FILES gsignond.conf" ;;
14097     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
14098     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14099     "src/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/Makefile" ;;
14100     "src/common/db/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/db/Makefile" ;;
14101     "src/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/Makefile" ;;
14102     "src/daemon/db/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/db/Makefile" ;;
14103     "src/daemon/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/Makefile" ;;
14104     "src/daemon/dbus/services/com.google.code.AccountsSSO.gSingleSignOn.service") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/services/com.google.code.AccountsSSO.gSingleSignOn.service" ;;
14105     "src/daemon/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/plugins/Makefile" ;;
14106     "src/gplugind/Makefile") CONFIG_FILES="$CONFIG_FILES src/gplugind/Makefile" ;;
14107     "src/extensions/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/Makefile" ;;
14108     "src/extensions/test/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/test/Makefile" ;;
14109     "src/extensions/tizen/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/tizen/Makefile" ;;
14110     "src/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/Makefile" ;;
14111     "src/plugins/password/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/password/Makefile" ;;
14112     "src/plugins/ssotest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/ssotest/Makefile" ;;
14113     "src/plugins/digest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/digest/Makefile" ;;
14114     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
14115     "test/common/Makefile") CONFIG_FILES="$CONFIG_FILES test/common/Makefile" ;;
14116     "test/db/Makefile") CONFIG_FILES="$CONFIG_FILES test/db/Makefile" ;;
14117     "test/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES test/daemon/Makefile" ;;
14118     "test/daemon/gsignond-dbus.conf") CONFIG_FILES="$CONFIG_FILES test/daemon/gsignond-dbus.conf" ;;
14119     "test/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES test/plugins/Makefile" ;;
14120
14121   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14122   esac
14123 done
14124
14125
14126 # If the user did not use the arguments to specify the items to instantiate,
14127 # then the envvar interface is used.  Set only those that are not.
14128 # We use the long form for the default assignment because of an extremely
14129 # bizarre bug on SunOS 4.1.3.
14130 if $ac_need_defaults; then
14131   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14132   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14133   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14134 fi
14135
14136 # Have a temporary directory for convenience.  Make it in the build tree
14137 # simply because there is no reason against having it here, and in addition,
14138 # creating and moving files from /tmp can sometimes cause problems.
14139 # Hook for its removal unless debugging.
14140 # Note that there is a small window in which the directory will not be cleaned:
14141 # after its creation but before its name has been assigned to `$tmp'.
14142 $debug ||
14143 {
14144   tmp= ac_tmp=
14145   trap 'exit_status=$?
14146   : "${ac_tmp:=$tmp}"
14147   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14148 ' 0
14149   trap 'as_fn_exit 1' 1 2 13 15
14150 }
14151 # Create a (secure) tmp directory for tmp files.
14152
14153 {
14154   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14155   test -d "$tmp"
14156 }  ||
14157 {
14158   tmp=./conf$$-$RANDOM
14159   (umask 077 && mkdir "$tmp")
14160 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14161 ac_tmp=$tmp
14162
14163 # Set up the scripts for CONFIG_FILES section.
14164 # No need to generate them if there are no CONFIG_FILES.
14165 # This happens for instance with `./config.status config.h'.
14166 if test -n "$CONFIG_FILES"; then
14167
14168
14169 ac_cr=`echo X | tr X '\015'`
14170 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14171 # But we know of no other shell where ac_cr would be empty at this
14172 # point, so we can use a bashism as a fallback.
14173 if test "x$ac_cr" = x; then
14174   eval ac_cr=\$\'\\r\'
14175 fi
14176 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14177 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14178   ac_cs_awk_cr='\\r'
14179 else
14180   ac_cs_awk_cr=$ac_cr
14181 fi
14182
14183 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14184 _ACEOF
14185
14186
14187 {
14188   echo "cat >conf$$subs.awk <<_ACEOF" &&
14189   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14190   echo "_ACEOF"
14191 } >conf$$subs.sh ||
14192   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14193 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14194 ac_delim='%!_!# '
14195 for ac_last_try in false false false false false :; do
14196   . ./conf$$subs.sh ||
14197     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14198
14199   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14200   if test $ac_delim_n = $ac_delim_num; then
14201     break
14202   elif $ac_last_try; then
14203     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14204   else
14205     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14206   fi
14207 done
14208 rm -f conf$$subs.sh
14209
14210 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14211 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14212 _ACEOF
14213 sed -n '
14214 h
14215 s/^/S["/; s/!.*/"]=/
14216 p
14217 g
14218 s/^[^!]*!//
14219 :repl
14220 t repl
14221 s/'"$ac_delim"'$//
14222 t delim
14223 :nl
14224 h
14225 s/\(.\{148\}\)..*/\1/
14226 t more1
14227 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14228 p
14229 n
14230 b repl
14231 :more1
14232 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14233 p
14234 g
14235 s/.\{148\}//
14236 t nl
14237 :delim
14238 h
14239 s/\(.\{148\}\)..*/\1/
14240 t more2
14241 s/["\\]/\\&/g; s/^/"/; s/$/"/
14242 p
14243 b
14244 :more2
14245 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14246 p
14247 g
14248 s/.\{148\}//
14249 t delim
14250 ' <conf$$subs.awk | sed '
14251 /^[^""]/{
14252   N
14253   s/\n//
14254 }
14255 ' >>$CONFIG_STATUS || ac_write_fail=1
14256 rm -f conf$$subs.awk
14257 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14258 _ACAWK
14259 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14260   for (key in S) S_is_set[key] = 1
14261   FS = "\a"
14262
14263 }
14264 {
14265   line = $ 0
14266   nfields = split(line, field, "@")
14267   substed = 0
14268   len = length(field[1])
14269   for (i = 2; i < nfields; i++) {
14270     key = field[i]
14271     keylen = length(key)
14272     if (S_is_set[key]) {
14273       value = S[key]
14274       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14275       len += length(value) + length(field[++i])
14276       substed = 1
14277     } else
14278       len += 1 + keylen
14279   }
14280
14281   print line
14282 }
14283
14284 _ACAWK
14285 _ACEOF
14286 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14287 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14288   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14289 else
14290   cat
14291 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14292   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14293 _ACEOF
14294
14295 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14296 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14297 # trailing colons and then remove the whole line if VPATH becomes empty
14298 # (actually we leave an empty line to preserve line numbers).
14299 if test "x$srcdir" = x.; then
14300   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
14301 h
14302 s///
14303 s/^/:/
14304 s/[      ]*$/:/
14305 s/:\$(srcdir):/:/g
14306 s/:\${srcdir}:/:/g
14307 s/:@srcdir@:/:/g
14308 s/^:*//
14309 s/:*$//
14310 x
14311 s/\(=[   ]*\).*/\1/
14312 G
14313 s/\n//
14314 s/^[^=]*=[       ]*$//
14315 }'
14316 fi
14317
14318 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14319 fi # test -n "$CONFIG_FILES"
14320
14321 # Set up the scripts for CONFIG_HEADERS section.
14322 # No need to generate them if there are no CONFIG_HEADERS.
14323 # This happens for instance with `./config.status Makefile'.
14324 if test -n "$CONFIG_HEADERS"; then
14325 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14326 BEGIN {
14327 _ACEOF
14328
14329 # Transform confdefs.h into an awk script `defines.awk', embedded as
14330 # here-document in config.status, that substitutes the proper values into
14331 # config.h.in to produce config.h.
14332
14333 # Create a delimiter string that does not exist in confdefs.h, to ease
14334 # handling of long lines.
14335 ac_delim='%!_!# '
14336 for ac_last_try in false false :; do
14337   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14338   if test -z "$ac_tt"; then
14339     break
14340   elif $ac_last_try; then
14341     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14342   else
14343     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14344   fi
14345 done
14346
14347 # For the awk script, D is an array of macro values keyed by name,
14348 # likewise P contains macro parameters if any.  Preserve backslash
14349 # newline sequences.
14350
14351 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14352 sed -n '
14353 s/.\{148\}/&'"$ac_delim"'/g
14354 t rset
14355 :rset
14356 s/^[     ]*#[    ]*define[       ][      ]*/ /
14357 t def
14358 d
14359 :def
14360 s/\\$//
14361 t bsnl
14362 s/["\\]/\\&/g
14363 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14364 D["\1"]=" \3"/p
14365 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
14366 d
14367 :bsnl
14368 s/["\\]/\\&/g
14369 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14370 D["\1"]=" \3\\\\\\n"\\/p
14371 t cont
14372 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14373 t cont
14374 d
14375 :cont
14376 n
14377 s/.\{148\}/&'"$ac_delim"'/g
14378 t clear
14379 :clear
14380 s/\\$//
14381 t bsnlc
14382 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14383 d
14384 :bsnlc
14385 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14386 b cont
14387 ' <confdefs.h | sed '
14388 s/'"$ac_delim"'/"\\\
14389 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14390
14391 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14392   for (key in D) D_is_set[key] = 1
14393   FS = "\a"
14394 }
14395 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14396   line = \$ 0
14397   split(line, arg, " ")
14398   if (arg[1] == "#") {
14399     defundef = arg[2]
14400     mac1 = arg[3]
14401   } else {
14402     defundef = substr(arg[1], 2)
14403     mac1 = arg[2]
14404   }
14405   split(mac1, mac2, "(") #)
14406   macro = mac2[1]
14407   prefix = substr(line, 1, index(line, defundef) - 1)
14408   if (D_is_set[macro]) {
14409     # Preserve the white space surrounding the "#".
14410     print prefix "define", macro P[macro] D[macro]
14411     next
14412   } else {
14413     # Replace #undef with comments.  This is necessary, for example,
14414     # in the case of _POSIX_SOURCE, which is predefined and required
14415     # on some systems where configure will not decide to define it.
14416     if (defundef == "undef") {
14417       print "/*", prefix defundef, macro, "*/"
14418       next
14419     }
14420   }
14421 }
14422 { print }
14423 _ACAWK
14424 _ACEOF
14425 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14426   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14427 fi # test -n "$CONFIG_HEADERS"
14428
14429
14430 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
14431 shift
14432 for ac_tag
14433 do
14434   case $ac_tag in
14435   :[FHLC]) ac_mode=$ac_tag; continue;;
14436   esac
14437   case $ac_mode$ac_tag in
14438   :[FHL]*:*);;
14439   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14440   :[FH]-) ac_tag=-:-;;
14441   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14442   esac
14443   ac_save_IFS=$IFS
14444   IFS=:
14445   set x $ac_tag
14446   IFS=$ac_save_IFS
14447   shift
14448   ac_file=$1
14449   shift
14450
14451   case $ac_mode in
14452   :L) ac_source=$1;;
14453   :[FH])
14454     ac_file_inputs=
14455     for ac_f
14456     do
14457       case $ac_f in
14458       -) ac_f="$ac_tmp/stdin";;
14459       *) # Look for the file first in the build tree, then in the source tree
14460          # (if the path is not absolute).  The absolute path cannot be DOS-style,
14461          # because $ac_f cannot contain `:'.
14462          test -f "$ac_f" ||
14463            case $ac_f in
14464            [\\/$]*) false;;
14465            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14466            esac ||
14467            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14468       esac
14469       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14470       as_fn_append ac_file_inputs " '$ac_f'"
14471     done
14472
14473     # Let's still pretend it is `configure' which instantiates (i.e., don't
14474     # use $as_me), people would be surprised to read:
14475     #    /* config.h.  Generated by config.status.  */
14476     configure_input='Generated from '`
14477           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14478         `' by configure.'
14479     if test x"$ac_file" != x-; then
14480       configure_input="$ac_file.  $configure_input"
14481       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14482 $as_echo "$as_me: creating $ac_file" >&6;}
14483     fi
14484     # Neutralize special characters interpreted by sed in replacement strings.
14485     case $configure_input in #(
14486     *\&* | *\|* | *\\* )
14487        ac_sed_conf_input=`$as_echo "$configure_input" |
14488        sed 's/[\\\\&|]/\\\\&/g'`;; #(
14489     *) ac_sed_conf_input=$configure_input;;
14490     esac
14491
14492     case $ac_tag in
14493     *:-:* | *:-) cat >"$ac_tmp/stdin" \
14494       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14495     esac
14496     ;;
14497   esac
14498
14499   ac_dir=`$as_dirname -- "$ac_file" ||
14500 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14501          X"$ac_file" : 'X\(//\)[^/]' \| \
14502          X"$ac_file" : 'X\(//\)$' \| \
14503          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14504 $as_echo X"$ac_file" |
14505     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14506             s//\1/
14507             q
14508           }
14509           /^X\(\/\/\)[^/].*/{
14510             s//\1/
14511             q
14512           }
14513           /^X\(\/\/\)$/{
14514             s//\1/
14515             q
14516           }
14517           /^X\(\/\).*/{
14518             s//\1/
14519             q
14520           }
14521           s/.*/./; q'`
14522   as_dir="$ac_dir"; as_fn_mkdir_p
14523   ac_builddir=.
14524
14525 case "$ac_dir" in
14526 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14527 *)
14528   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14529   # A ".." for each directory in $ac_dir_suffix.
14530   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14531   case $ac_top_builddir_sub in
14532   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14533   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14534   esac ;;
14535 esac
14536 ac_abs_top_builddir=$ac_pwd
14537 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14538 # for backward compatibility:
14539 ac_top_builddir=$ac_top_build_prefix
14540
14541 case $srcdir in
14542   .)  # We are building in place.
14543     ac_srcdir=.
14544     ac_top_srcdir=$ac_top_builddir_sub
14545     ac_abs_top_srcdir=$ac_pwd ;;
14546   [\\/]* | ?:[\\/]* )  # Absolute name.
14547     ac_srcdir=$srcdir$ac_dir_suffix;
14548     ac_top_srcdir=$srcdir
14549     ac_abs_top_srcdir=$srcdir ;;
14550   *) # Relative name.
14551     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14552     ac_top_srcdir=$ac_top_build_prefix$srcdir
14553     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14554 esac
14555 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14556
14557
14558   case $ac_mode in
14559   :F)
14560   #
14561   # CONFIG_FILE
14562   #
14563
14564   case $INSTALL in
14565   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14566   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14567   esac
14568   ac_MKDIR_P=$MKDIR_P
14569   case $MKDIR_P in
14570   [\\/$]* | ?:[\\/]* ) ;;
14571   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14572   esac
14573 _ACEOF
14574
14575 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14576 # If the template does not know about datarootdir, expand it.
14577 # FIXME: This hack should be removed a few years after 2.60.
14578 ac_datarootdir_hack=; ac_datarootdir_seen=
14579 ac_sed_dataroot='
14580 /datarootdir/ {
14581   p
14582   q
14583 }
14584 /@datadir@/p
14585 /@docdir@/p
14586 /@infodir@/p
14587 /@localedir@/p
14588 /@mandir@/p'
14589 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14590 *datarootdir*) ac_datarootdir_seen=yes;;
14591 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14592   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14593 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14594 _ACEOF
14595 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14596   ac_datarootdir_hack='
14597   s&@datadir@&$datadir&g
14598   s&@docdir@&$docdir&g
14599   s&@infodir@&$infodir&g
14600   s&@localedir@&$localedir&g
14601   s&@mandir@&$mandir&g
14602   s&\\\${datarootdir}&$datarootdir&g' ;;
14603 esac
14604 _ACEOF
14605
14606 # Neutralize VPATH when `$srcdir' = `.'.
14607 # Shell code in configure.ac might set extrasub.
14608 # FIXME: do we really want to maintain this feature?
14609 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14610 ac_sed_extra="$ac_vpsub
14611 $extrasub
14612 _ACEOF
14613 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14614 :t
14615 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14616 s|@configure_input@|$ac_sed_conf_input|;t t
14617 s&@top_builddir@&$ac_top_builddir_sub&;t t
14618 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14619 s&@srcdir@&$ac_srcdir&;t t
14620 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14621 s&@top_srcdir@&$ac_top_srcdir&;t t
14622 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14623 s&@builddir@&$ac_builddir&;t t
14624 s&@abs_builddir@&$ac_abs_builddir&;t t
14625 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14626 s&@INSTALL@&$ac_INSTALL&;t t
14627 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14628 $ac_datarootdir_hack
14629 "
14630 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14631   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14632
14633 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14634   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14635   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
14636       "$ac_tmp/out"`; test -z "$ac_out"; } &&
14637   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14638 which seems to be undefined.  Please make sure it is defined" >&5
14639 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14640 which seems to be undefined.  Please make sure it is defined" >&2;}
14641
14642   rm -f "$ac_tmp/stdin"
14643   case $ac_file in
14644   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14645   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14646   esac \
14647   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14648  ;;
14649   :H)
14650   #
14651   # CONFIG_HEADER
14652   #
14653   if test x"$ac_file" != x-; then
14654     {
14655       $as_echo "/* $configure_input  */" \
14656       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14657     } >"$ac_tmp/config.h" \
14658       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14659     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14660       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14661 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14662     else
14663       rm -f "$ac_file"
14664       mv "$ac_tmp/config.h" "$ac_file" \
14665         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14666     fi
14667   else
14668     $as_echo "/* $configure_input  */" \
14669       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14670       || as_fn_error $? "could not create -" "$LINENO" 5
14671   fi
14672 # Compute "$ac_file"'s index in $config_headers.
14673 _am_arg="$ac_file"
14674 _am_stamp_count=1
14675 for _am_header in $config_headers :; do
14676   case $_am_header in
14677     $_am_arg | $_am_arg:* )
14678       break ;;
14679     * )
14680       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14681   esac
14682 done
14683 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14684 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14685          X"$_am_arg" : 'X\(//\)[^/]' \| \
14686          X"$_am_arg" : 'X\(//\)$' \| \
14687          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14688 $as_echo X"$_am_arg" |
14689     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14690             s//\1/
14691             q
14692           }
14693           /^X\(\/\/\)[^/].*/{
14694             s//\1/
14695             q
14696           }
14697           /^X\(\/\/\)$/{
14698             s//\1/
14699             q
14700           }
14701           /^X\(\/\).*/{
14702             s//\1/
14703             q
14704           }
14705           s/.*/./; q'`/stamp-h$_am_stamp_count
14706  ;;
14707
14708   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14709 $as_echo "$as_me: executing $ac_file commands" >&6;}
14710  ;;
14711   esac
14712
14713
14714   case $ac_file$ac_mode in
14715     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14716   # Older Autoconf quotes --file arguments for eval, but not when files
14717   # are listed without --file.  Let's play safe and only enable the eval
14718   # if we detect the quoting.
14719   case $CONFIG_FILES in
14720   *\'*) eval set x "$CONFIG_FILES" ;;
14721   *)   set x $CONFIG_FILES ;;
14722   esac
14723   shift
14724   for mf
14725   do
14726     # Strip MF so we end up with the name of the file.
14727     mf=`echo "$mf" | sed -e 's/:.*$//'`
14728     # Check whether this is an Automake generated Makefile or not.
14729     # We used to match only the files named 'Makefile.in', but
14730     # some people rename them; so instead we look at the file content.
14731     # Grep'ing the first line is not enough: some people post-process
14732     # each Makefile.in and add a new line on top of each file to say so.
14733     # Grep'ing the whole file is not good either: AIX grep has a line
14734     # limit of 2048, but all sed's we know have understand at least 4000.
14735     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14736       dirpart=`$as_dirname -- "$mf" ||
14737 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14738          X"$mf" : 'X\(//\)[^/]' \| \
14739          X"$mf" : 'X\(//\)$' \| \
14740          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14741 $as_echo X"$mf" |
14742     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14743             s//\1/
14744             q
14745           }
14746           /^X\(\/\/\)[^/].*/{
14747             s//\1/
14748             q
14749           }
14750           /^X\(\/\/\)$/{
14751             s//\1/
14752             q
14753           }
14754           /^X\(\/\).*/{
14755             s//\1/
14756             q
14757           }
14758           s/.*/./; q'`
14759     else
14760       continue
14761     fi
14762     # Extract the definition of DEPDIR, am__include, and am__quote
14763     # from the Makefile without running 'make'.
14764     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14765     test -z "$DEPDIR" && continue
14766     am__include=`sed -n 's/^am__include = //p' < "$mf"`
14767     test -z "$am__include" && continue
14768     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14769     # Find all dependency output files, they are included files with
14770     # $(DEPDIR) in their names.  We invoke sed twice because it is the
14771     # simplest approach to changing $(DEPDIR) to its actual value in the
14772     # expansion.
14773     for file in `sed -n "
14774       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14775          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
14776       # Make sure the directory exists.
14777       test -f "$dirpart/$file" && continue
14778       fdir=`$as_dirname -- "$file" ||
14779 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14780          X"$file" : 'X\(//\)[^/]' \| \
14781          X"$file" : 'X\(//\)$' \| \
14782          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14783 $as_echo X"$file" |
14784     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14785             s//\1/
14786             q
14787           }
14788           /^X\(\/\/\)[^/].*/{
14789             s//\1/
14790             q
14791           }
14792           /^X\(\/\/\)$/{
14793             s//\1/
14794             q
14795           }
14796           /^X\(\/\).*/{
14797             s//\1/
14798             q
14799           }
14800           s/.*/./; q'`
14801       as_dir=$dirpart/$fdir; as_fn_mkdir_p
14802       # echo "creating $dirpart/$file"
14803       echo '# dummy' > "$dirpart/$file"
14804     done
14805   done
14806 }
14807  ;;
14808     "libtool":C)
14809
14810     # See if we are running on zsh, and set the options which allow our
14811     # commands through without removal of \ escapes.
14812     if test -n "${ZSH_VERSION+set}" ; then
14813       setopt NO_GLOB_SUBST
14814     fi
14815
14816     cfgfile="${ofile}T"
14817     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14818     $RM "$cfgfile"
14819
14820     cat <<_LT_EOF >> "$cfgfile"
14821 #! $SHELL
14822
14823 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14824 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14825 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14826 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14827 #
14828 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14829 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14830 #                 Foundation, Inc.
14831 #   Written by Gordon Matzigkeit, 1996
14832 #
14833 #   This file is part of GNU Libtool.
14834 #
14835 # GNU Libtool is free software; you can redistribute it and/or
14836 # modify it under the terms of the GNU General Public License as
14837 # published by the Free Software Foundation; either version 2 of
14838 # the License, or (at your option) any later version.
14839 #
14840 # As a special exception to the GNU General Public License,
14841 # if you distribute this file as part of a program or library that
14842 # is built using GNU Libtool, you may include this file under the
14843 # same distribution terms that you use for the rest of that program.
14844 #
14845 # GNU Libtool is distributed in the hope that it will be useful,
14846 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14847 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14848 # GNU General Public License for more details.
14849 #
14850 # You should have received a copy of the GNU General Public License
14851 # along with GNU Libtool; see the file COPYING.  If not, a copy
14852 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14853 # obtained by writing to the Free Software Foundation, Inc.,
14854 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14855
14856
14857 # The names of the tagged configurations supported by this script.
14858 available_tags=""
14859
14860 # ### BEGIN LIBTOOL CONFIG
14861
14862 # Which release of libtool.m4 was used?
14863 macro_version=$macro_version
14864 macro_revision=$macro_revision
14865
14866 # Whether or not to build static libraries.
14867 build_old_libs=$enable_static
14868
14869 # Whether or not to build shared libraries.
14870 build_libtool_libs=$enable_shared
14871
14872 # What type of objects to build.
14873 pic_mode=$pic_mode
14874
14875 # Whether or not to optimize for fast installation.
14876 fast_install=$enable_fast_install
14877
14878 # Shell to use when invoking shell scripts.
14879 SHELL=$lt_SHELL
14880
14881 # An echo program that protects backslashes.
14882 ECHO=$lt_ECHO
14883
14884 # The PATH separator for the build system.
14885 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14886
14887 # The host system.
14888 host_alias=$host_alias
14889 host=$host
14890 host_os=$host_os
14891
14892 # The build system.
14893 build_alias=$build_alias
14894 build=$build
14895 build_os=$build_os
14896
14897 # A sed program that does not truncate output.
14898 SED=$lt_SED
14899
14900 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14901 Xsed="\$SED -e 1s/^X//"
14902
14903 # A grep program that handles long lines.
14904 GREP=$lt_GREP
14905
14906 # An ERE matcher.
14907 EGREP=$lt_EGREP
14908
14909 # A literal string matcher.
14910 FGREP=$lt_FGREP
14911
14912 # A BSD- or MS-compatible name lister.
14913 NM=$lt_NM
14914
14915 # Whether we need soft or hard links.
14916 LN_S=$lt_LN_S
14917
14918 # What is the maximum length of a command?
14919 max_cmd_len=$max_cmd_len
14920
14921 # Object file suffix (normally "o").
14922 objext=$ac_objext
14923
14924 # Executable file suffix (normally "").
14925 exeext=$exeext
14926
14927 # whether the shell understands "unset".
14928 lt_unset=$lt_unset
14929
14930 # turn spaces into newlines.
14931 SP2NL=$lt_lt_SP2NL
14932
14933 # turn newlines into spaces.
14934 NL2SP=$lt_lt_NL2SP
14935
14936 # convert \$build file names to \$host format.
14937 to_host_file_cmd=$lt_cv_to_host_file_cmd
14938
14939 # convert \$build files to toolchain format.
14940 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14941
14942 # An object symbol dumper.
14943 OBJDUMP=$lt_OBJDUMP
14944
14945 # Method to check whether dependent libraries are shared objects.
14946 deplibs_check_method=$lt_deplibs_check_method
14947
14948 # Command to use when deplibs_check_method = "file_magic".
14949 file_magic_cmd=$lt_file_magic_cmd
14950
14951 # How to find potential files when deplibs_check_method = "file_magic".
14952 file_magic_glob=$lt_file_magic_glob
14953
14954 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14955 want_nocaseglob=$lt_want_nocaseglob
14956
14957 # DLL creation program.
14958 DLLTOOL=$lt_DLLTOOL
14959
14960 # Command to associate shared and link libraries.
14961 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14962
14963 # The archiver.
14964 AR=$lt_AR
14965
14966 # Flags to create an archive.
14967 AR_FLAGS=$lt_AR_FLAGS
14968
14969 # How to feed a file listing to the archiver.
14970 archiver_list_spec=$lt_archiver_list_spec
14971
14972 # A symbol stripping program.
14973 STRIP=$lt_STRIP
14974
14975 # Commands used to install an old-style archive.
14976 RANLIB=$lt_RANLIB
14977 old_postinstall_cmds=$lt_old_postinstall_cmds
14978 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14979
14980 # Whether to use a lock for old archive extraction.
14981 lock_old_archive_extraction=$lock_old_archive_extraction
14982
14983 # A C compiler.
14984 LTCC=$lt_CC
14985
14986 # LTCC compiler flags.
14987 LTCFLAGS=$lt_CFLAGS
14988
14989 # Take the output of nm and produce a listing of raw symbols and C names.
14990 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14991
14992 # Transform the output of nm in a proper C declaration.
14993 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14994
14995 # Transform the output of nm in a C name address pair.
14996 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14997
14998 # Transform the output of nm in a C name address pair when lib prefix is needed.
14999 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15000
15001 # Specify filename containing input files for \$NM.
15002 nm_file_list_spec=$lt_nm_file_list_spec
15003
15004 # The root where to search for dependent libraries,and in which our libraries should be installed.
15005 lt_sysroot=$lt_sysroot
15006
15007 # The name of the directory that contains temporary libtool files.
15008 objdir=$objdir
15009
15010 # Used to examine libraries when file_magic_cmd begins with "file".
15011 MAGIC_CMD=$MAGIC_CMD
15012
15013 # Must we lock files when doing compilation?
15014 need_locks=$lt_need_locks
15015
15016 # Manifest tool.
15017 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15018
15019 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15020 DSYMUTIL=$lt_DSYMUTIL
15021
15022 # Tool to change global to local symbols on Mac OS X.
15023 NMEDIT=$lt_NMEDIT
15024
15025 # Tool to manipulate fat objects and archives on Mac OS X.
15026 LIPO=$lt_LIPO
15027
15028 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15029 OTOOL=$lt_OTOOL
15030
15031 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15032 OTOOL64=$lt_OTOOL64
15033
15034 # Old archive suffix (normally "a").
15035 libext=$libext
15036
15037 # Shared library suffix (normally ".so").
15038 shrext_cmds=$lt_shrext_cmds
15039
15040 # The commands to extract the exported symbol list from a shared archive.
15041 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15042
15043 # Variables whose values should be saved in libtool wrapper scripts and
15044 # restored at link time.
15045 variables_saved_for_relink=$lt_variables_saved_for_relink
15046
15047 # Do we need the "lib" prefix for modules?
15048 need_lib_prefix=$need_lib_prefix
15049
15050 # Do we need a version for libraries?
15051 need_version=$need_version
15052
15053 # Library versioning type.
15054 version_type=$version_type
15055
15056 # Shared library runtime path variable.
15057 runpath_var=$runpath_var
15058
15059 # Shared library path variable.
15060 shlibpath_var=$shlibpath_var
15061
15062 # Is shlibpath searched before the hard-coded library search path?
15063 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15064
15065 # Format of library name prefix.
15066 libname_spec=$lt_libname_spec
15067
15068 # List of archive names.  First name is the real one, the rest are links.
15069 # The last name is the one that the linker finds with -lNAME
15070 library_names_spec=$lt_library_names_spec
15071
15072 # The coded name of the library, if different from the real name.
15073 soname_spec=$lt_soname_spec
15074
15075 # Permission mode override for installation of shared libraries.
15076 install_override_mode=$lt_install_override_mode
15077
15078 # Command to use after installation of a shared archive.
15079 postinstall_cmds=$lt_postinstall_cmds
15080
15081 # Command to use after uninstallation of a shared archive.
15082 postuninstall_cmds=$lt_postuninstall_cmds
15083
15084 # Commands used to finish a libtool library installation in a directory.
15085 finish_cmds=$lt_finish_cmds
15086
15087 # As "finish_cmds", except a single script fragment to be evaled but
15088 # not shown.
15089 finish_eval=$lt_finish_eval
15090
15091 # Whether we should hardcode library paths into libraries.
15092 hardcode_into_libs=$hardcode_into_libs
15093
15094 # Compile-time system search path for libraries.
15095 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15096
15097 # Run-time system search path for libraries.
15098 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15099
15100 # Whether dlopen is supported.
15101 dlopen_support=$enable_dlopen
15102
15103 # Whether dlopen of programs is supported.
15104 dlopen_self=$enable_dlopen_self
15105
15106 # Whether dlopen of statically linked programs is supported.
15107 dlopen_self_static=$enable_dlopen_self_static
15108
15109 # Commands to strip libraries.
15110 old_striplib=$lt_old_striplib
15111 striplib=$lt_striplib
15112
15113
15114 # The linker used to build libraries.
15115 LD=$lt_LD
15116
15117 # How to create reloadable object files.
15118 reload_flag=$lt_reload_flag
15119 reload_cmds=$lt_reload_cmds
15120
15121 # Commands used to build an old-style archive.
15122 old_archive_cmds=$lt_old_archive_cmds
15123
15124 # A language specific compiler.
15125 CC=$lt_compiler
15126
15127 # Is the compiler the GNU compiler?
15128 with_gcc=$GCC
15129
15130 # Compiler flag to turn off builtin functions.
15131 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15132
15133 # Additional compiler flags for building library objects.
15134 pic_flag=$lt_lt_prog_compiler_pic
15135
15136 # How to pass a linker flag through the compiler.
15137 wl=$lt_lt_prog_compiler_wl
15138
15139 # Compiler flag to prevent dynamic linking.
15140 link_static_flag=$lt_lt_prog_compiler_static
15141
15142 # Does compiler simultaneously support -c and -o options?
15143 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15144
15145 # Whether or not to add -lc for building shared libraries.
15146 build_libtool_need_lc=$archive_cmds_need_lc
15147
15148 # Whether or not to disallow shared libs when runtime libs are static.
15149 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15150
15151 # Compiler flag to allow reflexive dlopens.
15152 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15153
15154 # Compiler flag to generate shared objects directly from archives.
15155 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15156
15157 # Whether the compiler copes with passing no objects directly.
15158 compiler_needs_object=$lt_compiler_needs_object
15159
15160 # Create an old-style archive from a shared archive.
15161 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15162
15163 # Create a temporary old-style archive to link instead of a shared archive.
15164 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15165
15166 # Commands used to build a shared archive.
15167 archive_cmds=$lt_archive_cmds
15168 archive_expsym_cmds=$lt_archive_expsym_cmds
15169
15170 # Commands used to build a loadable module if different from building
15171 # a shared archive.
15172 module_cmds=$lt_module_cmds
15173 module_expsym_cmds=$lt_module_expsym_cmds
15174
15175 # Whether we are building with GNU ld or not.
15176 with_gnu_ld=$lt_with_gnu_ld
15177
15178 # Flag that allows shared libraries with undefined symbols to be built.
15179 allow_undefined_flag=$lt_allow_undefined_flag
15180
15181 # Flag that enforces no undefined symbols.
15182 no_undefined_flag=$lt_no_undefined_flag
15183
15184 # Flag to hardcode \$libdir into a binary during linking.
15185 # This must work even if \$libdir does not exist
15186 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15187
15188 # Whether we need a single "-rpath" flag with a separated argument.
15189 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15190
15191 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15192 # DIR into the resulting binary.
15193 hardcode_direct=$hardcode_direct
15194
15195 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15196 # DIR into the resulting binary and the resulting library dependency is
15197 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15198 # library is relocated.
15199 hardcode_direct_absolute=$hardcode_direct_absolute
15200
15201 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15202 # into the resulting binary.
15203 hardcode_minus_L=$hardcode_minus_L
15204
15205 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15206 # into the resulting binary.
15207 hardcode_shlibpath_var=$hardcode_shlibpath_var
15208
15209 # Set to "yes" if building a shared library automatically hardcodes DIR
15210 # into the library and all subsequent libraries and executables linked
15211 # against it.
15212 hardcode_automatic=$hardcode_automatic
15213
15214 # Set to yes if linker adds runtime paths of dependent libraries
15215 # to runtime path list.
15216 inherit_rpath=$inherit_rpath
15217
15218 # Whether libtool must link a program against all its dependency libraries.
15219 link_all_deplibs=$link_all_deplibs
15220
15221 # Set to "yes" if exported symbols are required.
15222 always_export_symbols=$always_export_symbols
15223
15224 # The commands to list exported symbols.
15225 export_symbols_cmds=$lt_export_symbols_cmds
15226
15227 # Symbols that should not be listed in the preloaded symbols.
15228 exclude_expsyms=$lt_exclude_expsyms
15229
15230 # Symbols that must always be exported.
15231 include_expsyms=$lt_include_expsyms
15232
15233 # Commands necessary for linking programs (against libraries) with templates.
15234 prelink_cmds=$lt_prelink_cmds
15235
15236 # Commands necessary for finishing linking programs.
15237 postlink_cmds=$lt_postlink_cmds
15238
15239 # Specify filename containing input files.
15240 file_list_spec=$lt_file_list_spec
15241
15242 # How to hardcode a shared library path into an executable.
15243 hardcode_action=$hardcode_action
15244
15245 # ### END LIBTOOL CONFIG
15246
15247 _LT_EOF
15248
15249   case $host_os in
15250   aix3*)
15251     cat <<\_LT_EOF >> "$cfgfile"
15252 # AIX sometimes has problems with the GCC collect2 program.  For some
15253 # reason, if we set the COLLECT_NAMES environment variable, the problems
15254 # vanish in a puff of smoke.
15255 if test "X${COLLECT_NAMES+set}" != Xset; then
15256   COLLECT_NAMES=
15257   export COLLECT_NAMES
15258 fi
15259 _LT_EOF
15260     ;;
15261   esac
15262
15263
15264 ltmain="$ac_aux_dir/ltmain.sh"
15265
15266
15267   # We use sed instead of cat because bash on DJGPP gets confused if
15268   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15269   # text mode, it properly converts lines to CR/LF.  This bash problem
15270   # is reportedly fixed, but why not run on old versions too?
15271   sed '$q' "$ltmain" >> "$cfgfile" \
15272      || (rm -f "$cfgfile"; exit 1)
15273
15274   if test x"$xsi_shell" = xyes; then
15275   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15276 func_dirname ()\
15277 {\
15278 \    case ${1} in\
15279 \      */*) func_dirname_result="${1%/*}${2}" ;;\
15280 \      *  ) func_dirname_result="${3}" ;;\
15281 \    esac\
15282 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15283   && mv -f "$cfgfile.tmp" "$cfgfile" \
15284     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15285 test 0 -eq $? || _lt_function_replace_fail=:
15286
15287
15288   sed -e '/^func_basename ()$/,/^} # func_basename /c\
15289 func_basename ()\
15290 {\
15291 \    func_basename_result="${1##*/}"\
15292 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15293   && mv -f "$cfgfile.tmp" "$cfgfile" \
15294     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15295 test 0 -eq $? || _lt_function_replace_fail=:
15296
15297
15298   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15299 func_dirname_and_basename ()\
15300 {\
15301 \    case ${1} in\
15302 \      */*) func_dirname_result="${1%/*}${2}" ;;\
15303 \      *  ) func_dirname_result="${3}" ;;\
15304 \    esac\
15305 \    func_basename_result="${1##*/}"\
15306 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15307   && mv -f "$cfgfile.tmp" "$cfgfile" \
15308     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15309 test 0 -eq $? || _lt_function_replace_fail=:
15310
15311
15312   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15313 func_stripname ()\
15314 {\
15315 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15316 \    # positional parameters, so assign one to ordinary parameter first.\
15317 \    func_stripname_result=${3}\
15318 \    func_stripname_result=${func_stripname_result#"${1}"}\
15319 \    func_stripname_result=${func_stripname_result%"${2}"}\
15320 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15321   && mv -f "$cfgfile.tmp" "$cfgfile" \
15322     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15323 test 0 -eq $? || _lt_function_replace_fail=:
15324
15325
15326   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15327 func_split_long_opt ()\
15328 {\
15329 \    func_split_long_opt_name=${1%%=*}\
15330 \    func_split_long_opt_arg=${1#*=}\
15331 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15332   && mv -f "$cfgfile.tmp" "$cfgfile" \
15333     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15334 test 0 -eq $? || _lt_function_replace_fail=:
15335
15336
15337   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15338 func_split_short_opt ()\
15339 {\
15340 \    func_split_short_opt_arg=${1#??}\
15341 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15342 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15343   && mv -f "$cfgfile.tmp" "$cfgfile" \
15344     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15345 test 0 -eq $? || _lt_function_replace_fail=:
15346
15347
15348   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15349 func_lo2o ()\
15350 {\
15351 \    case ${1} in\
15352 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15353 \      *)    func_lo2o_result=${1} ;;\
15354 \    esac\
15355 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15356   && mv -f "$cfgfile.tmp" "$cfgfile" \
15357     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15358 test 0 -eq $? || _lt_function_replace_fail=:
15359
15360
15361   sed -e '/^func_xform ()$/,/^} # func_xform /c\
15362 func_xform ()\
15363 {\
15364     func_xform_result=${1%.*}.lo\
15365 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15366   && mv -f "$cfgfile.tmp" "$cfgfile" \
15367     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15368 test 0 -eq $? || _lt_function_replace_fail=:
15369
15370
15371   sed -e '/^func_arith ()$/,/^} # func_arith /c\
15372 func_arith ()\
15373 {\
15374     func_arith_result=$(( $* ))\
15375 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15376   && mv -f "$cfgfile.tmp" "$cfgfile" \
15377     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15378 test 0 -eq $? || _lt_function_replace_fail=:
15379
15380
15381   sed -e '/^func_len ()$/,/^} # func_len /c\
15382 func_len ()\
15383 {\
15384     func_len_result=${#1}\
15385 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15386   && mv -f "$cfgfile.tmp" "$cfgfile" \
15387     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15388 test 0 -eq $? || _lt_function_replace_fail=:
15389
15390 fi
15391
15392 if test x"$lt_shell_append" = xyes; then
15393   sed -e '/^func_append ()$/,/^} # func_append /c\
15394 func_append ()\
15395 {\
15396     eval "${1}+=\\${2}"\
15397 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15398   && mv -f "$cfgfile.tmp" "$cfgfile" \
15399     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15400 test 0 -eq $? || _lt_function_replace_fail=:
15401
15402
15403   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15404 func_append_quoted ()\
15405 {\
15406 \    func_quote_for_eval "${2}"\
15407 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15408 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15409   && mv -f "$cfgfile.tmp" "$cfgfile" \
15410     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15411 test 0 -eq $? || _lt_function_replace_fail=:
15412
15413
15414   # Save a `func_append' function call where possible by direct use of '+='
15415   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $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 else
15420   # Save a `func_append' function call even when '+=' is not available
15421   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15422     && mv -f "$cfgfile.tmp" "$cfgfile" \
15423       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15424   test 0 -eq $? || _lt_function_replace_fail=:
15425 fi
15426
15427 if test x"$_lt_function_replace_fail" = x":"; then
15428   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15429 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15430 fi
15431
15432
15433    mv -f "$cfgfile" "$ofile" ||
15434     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15435   chmod +x "$ofile"
15436
15437  ;;
15438
15439   esac
15440 done # for ac_tag
15441
15442
15443 as_fn_exit 0
15444 _ACEOF
15445 ac_clean_files=$ac_clean_files_save
15446
15447 test $ac_write_fail = 0 ||
15448   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15449
15450
15451 # configure is writing to config.log, and then calls config.status.
15452 # config.status does its own redirection, appending to config.log.
15453 # Unfortunately, on DOS this fails, as config.log is still kept open
15454 # by configure, so config.status won't be able to write to it; its
15455 # output is simply discarded.  So we exec the FD to /dev/null,
15456 # effectively closing config.log, so it can be properly (re)opened and
15457 # appended to by config.status.  When coming back to configure, we
15458 # need to make the FD available again.
15459 if test "$no_create" != yes; then
15460   ac_cs_success=:
15461   ac_config_status_args=
15462   test "$silent" = yes &&
15463     ac_config_status_args="$ac_config_status_args --quiet"
15464   exec 5>/dev/null
15465   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15466   exec 5>>config.log
15467   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15468   # would make configure fail if this is the last instruction.
15469   $ac_cs_success || as_fn_exit 1
15470 fi
15471 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15472   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15473 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15474 fi
15475
15476
15477 if test x$enable_dbus_type != xp2p; then
15478     ac_config_files="$ac_config_files test/daemon/services/com.google.code.AccountsSSO.gSingleSignOn.service"
15479
15480 cat >confcache <<\_ACEOF
15481 # This file is a shell script that caches the results of configure
15482 # tests run on this system so they can be shared between configure
15483 # scripts and configure runs, see configure's option --config-cache.
15484 # It is not useful on other systems.  If it contains results you don't
15485 # want to keep, you may remove or edit it.
15486 #
15487 # config.status only pays attention to the cache file if you give it
15488 # the --recheck option to rerun configure.
15489 #
15490 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15491 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15492 # following values.
15493
15494 _ACEOF
15495
15496 # The following way of writing the cache mishandles newlines in values,
15497 # but we know of no workaround that is simple, portable, and efficient.
15498 # So, we kill variables containing newlines.
15499 # Ultrix sh set writes to stderr and can't be redirected directly,
15500 # and sets the high bit in the cache file unless we assign to the vars.
15501 (
15502   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15503     eval ac_val=\$$ac_var
15504     case $ac_val in #(
15505     *${as_nl}*)
15506       case $ac_var in #(
15507       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15508 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15509       esac
15510       case $ac_var in #(
15511       _ | IFS | as_nl) ;; #(
15512       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15513       *) { eval $ac_var=; unset $ac_var;} ;;
15514       esac ;;
15515     esac
15516   done
15517
15518   (set) 2>&1 |
15519     case $as_nl`(ac_space=' '; set) 2>&1` in #(
15520     *${as_nl}ac_space=\ *)
15521       # `set' does not quote correctly, so add quotes: double-quote
15522       # substitution turns \\\\ into \\, and sed turns \\ into \.
15523       sed -n \
15524         "s/'/'\\\\''/g;
15525           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15526       ;; #(
15527     *)
15528       # `set' quotes correctly as required by POSIX, so do not add quotes.
15529       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15530       ;;
15531     esac |
15532     sort
15533 ) |
15534   sed '
15535      /^ac_cv_env_/b end
15536      t clear
15537      :clear
15538      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15539      t end
15540      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15541      :end' >>confcache
15542 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15543   if test -w "$cache_file"; then
15544     if test "x$cache_file" != "x/dev/null"; then
15545       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15546 $as_echo "$as_me: updating cache $cache_file" >&6;}
15547       if test ! -f "$cache_file" || test -h "$cache_file"; then
15548         cat confcache >"$cache_file"
15549       else
15550         case $cache_file in #(
15551         */* | ?:*)
15552           mv -f confcache "$cache_file"$$ &&
15553           mv -f "$cache_file"$$ "$cache_file" ;; #(
15554         *)
15555           mv -f confcache "$cache_file" ;;
15556         esac
15557       fi
15558     fi
15559   else
15560     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15561 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15562   fi
15563 fi
15564 rm -f confcache
15565
15566 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15567 # Let make expand exec_prefix.
15568 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15569
15570 DEFS=-DHAVE_CONFIG_H
15571
15572 ac_libobjs=
15573 ac_ltlibobjs=
15574 U=
15575 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15576   # 1. Remove the extension, and $U if already installed.
15577   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15578   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15579   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
15580   #    will be set to the directory where LIBOBJS objects are built.
15581   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15582   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15583 done
15584 LIBOBJS=$ac_libobjs
15585
15586 LTLIBOBJS=$ac_ltlibobjs
15587
15588
15589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15590 $as_echo_n "checking that generated files are newer than configure... " >&6; }
15591    if test -n "$am_sleep_pid"; then
15592      # Hide warnings about reused PIDs.
15593      wait $am_sleep_pid 2>/dev/null
15594    fi
15595    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15596 $as_echo "done" >&6; }
15597  if test -n "$EXEEXT"; then
15598   am__EXEEXT_TRUE=
15599   am__EXEEXT_FALSE='#'
15600 else
15601   am__EXEEXT_TRUE='#'
15602   am__EXEEXT_FALSE=
15603 fi
15604
15605 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15606   as_fn_error $? "conditional \"AMDEP\" was never defined.
15607 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15608 fi
15609 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15610   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15611 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15612 fi
15613 if test -z "${HAVE_LIBSMACK_TRUE}" && test -z "${HAVE_LIBSMACK_FALSE}"; then
15614   as_fn_error $? "conditional \"HAVE_LIBSMACK\" was never defined.
15615 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15616 fi
15617 if test -z "${HAVE_LIBECRYPTFS_TRUE}" && test -z "${HAVE_LIBECRYPTFS_FALSE}"; then
15618   as_fn_error $? "conditional \"HAVE_LIBECRYPTFS\" was never defined.
15619 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15620 fi
15621 if test -z "${USE_GTESTDBUS_TRUE}" && test -z "${USE_GTESTDBUS_FALSE}"; then
15622   as_fn_error $? "conditional \"USE_GTESTDBUS\" was never defined.
15623 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15624 fi
15625 if test -z "${HAVE_DEBUG_TRUE}" && test -z "${HAVE_DEBUG_FALSE}"; then
15626   as_fn_error $? "conditional \"HAVE_DEBUG\" was never defined.
15627 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15628 fi
15629 if test -z "${SET_PERMISSIONS_TRUE}" && test -z "${SET_PERMISSIONS_FALSE}"; then
15630   as_fn_error $? "conditional \"SET_PERMISSIONS\" was never defined.
15631 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15632 fi
15633 if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then
15634   as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined.
15635 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15636 fi
15637 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
15638   as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
15639 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15640 fi
15641 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
15642   as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
15643 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15644 fi
15645 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
15646   as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
15647 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15648 fi
15649 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
15650   as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
15651 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15652 fi
15653 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
15654   as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
15655 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15656 fi
15657 if test -z "${am__EXEEXT_TRUE}" && test -z "${am__EXEEXT_FALSE}"; then
15658   as_fn_error $? "conditional \"am__EXEEXT\" was never defined.
15659 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15660 fi
15661
15662 : "${CONFIG_STATUS=./config.status}"
15663 ac_write_fail=0
15664 ac_clean_files_save=$ac_clean_files
15665 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15666 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15667 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15668 as_write_fail=0
15669 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15670 #! $SHELL
15671 # Generated by $as_me.
15672 # Run this file to recreate the current configuration.
15673 # Compiler output produced by configure, useful for debugging
15674 # configure, is in config.log if it exists.
15675
15676 debug=false
15677 ac_cs_recheck=false
15678 ac_cs_silent=false
15679
15680 SHELL=\${CONFIG_SHELL-$SHELL}
15681 export SHELL
15682 _ASEOF
15683 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15684 ## -------------------- ##
15685 ## M4sh Initialization. ##
15686 ## -------------------- ##
15687
15688 # Be more Bourne compatible
15689 DUALCASE=1; export DUALCASE # for MKS sh
15690 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15691   emulate sh
15692   NULLCMD=:
15693   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15694   # is contrary to our usage.  Disable this feature.
15695   alias -g '${1+"$@"}'='"$@"'
15696   setopt NO_GLOB_SUBST
15697 else
15698   case `(set -o) 2>/dev/null` in #(
15699   *posix*) :
15700     set -o posix ;; #(
15701   *) :
15702      ;;
15703 esac
15704 fi
15705
15706
15707 as_nl='
15708 '
15709 export as_nl
15710 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15711 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15712 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15713 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15714 # Prefer a ksh shell builtin over an external printf program on Solaris,
15715 # but without wasting forks for bash or zsh.
15716 if test -z "$BASH_VERSION$ZSH_VERSION" \
15717     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15718   as_echo='print -r --'
15719   as_echo_n='print -rn --'
15720 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15721   as_echo='printf %s\n'
15722   as_echo_n='printf %s'
15723 else
15724   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15725     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15726     as_echo_n='/usr/ucb/echo -n'
15727   else
15728     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15729     as_echo_n_body='eval
15730       arg=$1;
15731       case $arg in #(
15732       *"$as_nl"*)
15733         expr "X$arg" : "X\\(.*\\)$as_nl";
15734         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15735       esac;
15736       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15737     '
15738     export as_echo_n_body
15739     as_echo_n='sh -c $as_echo_n_body as_echo'
15740   fi
15741   export as_echo_body
15742   as_echo='sh -c $as_echo_body as_echo'
15743 fi
15744
15745 # The user is always right.
15746 if test "${PATH_SEPARATOR+set}" != set; then
15747   PATH_SEPARATOR=:
15748   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15749     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15750       PATH_SEPARATOR=';'
15751   }
15752 fi
15753
15754
15755 # IFS
15756 # We need space, tab and new line, in precisely that order.  Quoting is
15757 # there to prevent editors from complaining about space-tab.
15758 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15759 # splitting by setting IFS to empty value.)
15760 IFS=" ""        $as_nl"
15761
15762 # Find who we are.  Look in the path if we contain no directory separator.
15763 as_myself=
15764 case $0 in #((
15765   *[\\/]* ) as_myself=$0 ;;
15766   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15767 for as_dir in $PATH
15768 do
15769   IFS=$as_save_IFS
15770   test -z "$as_dir" && as_dir=.
15771     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15772   done
15773 IFS=$as_save_IFS
15774
15775      ;;
15776 esac
15777 # We did not find ourselves, most probably we were run as `sh COMMAND'
15778 # in which case we are not to be found in the path.
15779 if test "x$as_myself" = x; then
15780   as_myself=$0
15781 fi
15782 if test ! -f "$as_myself"; then
15783   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15784   exit 1
15785 fi
15786
15787 # Unset variables that we do not need and which cause bugs (e.g. in
15788 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
15789 # suppresses any "Segmentation fault" message there.  '((' could
15790 # trigger a bug in pdksh 5.2.14.
15791 for as_var in BASH_ENV ENV MAIL MAILPATH
15792 do eval test x\${$as_var+set} = xset \
15793   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15794 done
15795 PS1='$ '
15796 PS2='> '
15797 PS4='+ '
15798
15799 # NLS nuisances.
15800 LC_ALL=C
15801 export LC_ALL
15802 LANGUAGE=C
15803 export LANGUAGE
15804
15805 # CDPATH.
15806 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15807
15808
15809 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15810 # ----------------------------------------
15811 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15812 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15813 # script with STATUS, using 1 if that was 0.
15814 as_fn_error ()
15815 {
15816   as_status=$1; test $as_status -eq 0 && as_status=1
15817   if test "$4"; then
15818     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15819     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15820   fi
15821   $as_echo "$as_me: error: $2" >&2
15822   as_fn_exit $as_status
15823 } # as_fn_error
15824
15825
15826 # as_fn_set_status STATUS
15827 # -----------------------
15828 # Set $? to STATUS, without forking.
15829 as_fn_set_status ()
15830 {
15831   return $1
15832 } # as_fn_set_status
15833
15834 # as_fn_exit STATUS
15835 # -----------------
15836 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15837 as_fn_exit ()
15838 {
15839   set +e
15840   as_fn_set_status $1
15841   exit $1
15842 } # as_fn_exit
15843
15844 # as_fn_unset VAR
15845 # ---------------
15846 # Portably unset VAR.
15847 as_fn_unset ()
15848 {
15849   { eval $1=; unset $1;}
15850 }
15851 as_unset=as_fn_unset
15852 # as_fn_append VAR VALUE
15853 # ----------------------
15854 # Append the text in VALUE to the end of the definition contained in VAR. Take
15855 # advantage of any shell optimizations that allow amortized linear growth over
15856 # repeated appends, instead of the typical quadratic growth present in naive
15857 # implementations.
15858 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15859   eval 'as_fn_append ()
15860   {
15861     eval $1+=\$2
15862   }'
15863 else
15864   as_fn_append ()
15865   {
15866     eval $1=\$$1\$2
15867   }
15868 fi # as_fn_append
15869
15870 # as_fn_arith ARG...
15871 # ------------------
15872 # Perform arithmetic evaluation on the ARGs, and store the result in the
15873 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15874 # must be portable across $(()) and expr.
15875 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15876   eval 'as_fn_arith ()
15877   {
15878     as_val=$(( $* ))
15879   }'
15880 else
15881   as_fn_arith ()
15882   {
15883     as_val=`expr "$@" || test $? -eq 1`
15884   }
15885 fi # as_fn_arith
15886
15887
15888 if expr a : '\(a\)' >/dev/null 2>&1 &&
15889    test "X`expr 00001 : '.*\(...\)'`" = X001; then
15890   as_expr=expr
15891 else
15892   as_expr=false
15893 fi
15894
15895 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15896   as_basename=basename
15897 else
15898   as_basename=false
15899 fi
15900
15901 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15902   as_dirname=dirname
15903 else
15904   as_dirname=false
15905 fi
15906
15907 as_me=`$as_basename -- "$0" ||
15908 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15909          X"$0" : 'X\(//\)$' \| \
15910          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15911 $as_echo X/"$0" |
15912     sed '/^.*\/\([^/][^/]*\)\/*$/{
15913             s//\1/
15914             q
15915           }
15916           /^X\/\(\/\/\)$/{
15917             s//\1/
15918             q
15919           }
15920           /^X\/\(\/\).*/{
15921             s//\1/
15922             q
15923           }
15924           s/.*/./; q'`
15925
15926 # Avoid depending upon Character Ranges.
15927 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15928 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15929 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15930 as_cr_digits='0123456789'
15931 as_cr_alnum=$as_cr_Letters$as_cr_digits
15932
15933 ECHO_C= ECHO_N= ECHO_T=
15934 case `echo -n x` in #(((((
15935 -n*)
15936   case `echo 'xy\c'` in
15937   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
15938   xy)  ECHO_C='\c';;
15939   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
15940        ECHO_T=' ';;
15941   esac;;
15942 *)
15943   ECHO_N='-n';;
15944 esac
15945
15946 rm -f conf$$ conf$$.exe conf$$.file
15947 if test -d conf$$.dir; then
15948   rm -f conf$$.dir/conf$$.file
15949 else
15950   rm -f conf$$.dir
15951   mkdir conf$$.dir 2>/dev/null
15952 fi
15953 if (echo >conf$$.file) 2>/dev/null; then
15954   if ln -s conf$$.file conf$$ 2>/dev/null; then
15955     as_ln_s='ln -s'
15956     # ... but there are two gotchas:
15957     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15958     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15959     # In both cases, we have to default to `cp -pR'.
15960     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15961       as_ln_s='cp -pR'
15962   elif ln conf$$.file conf$$ 2>/dev/null; then
15963     as_ln_s=ln
15964   else
15965     as_ln_s='cp -pR'
15966   fi
15967 else
15968   as_ln_s='cp -pR'
15969 fi
15970 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15971 rmdir conf$$.dir 2>/dev/null
15972
15973
15974 # as_fn_mkdir_p
15975 # -------------
15976 # Create "$as_dir" as a directory, including parents if necessary.
15977 as_fn_mkdir_p ()
15978 {
15979
15980   case $as_dir in #(
15981   -*) as_dir=./$as_dir;;
15982   esac
15983   test -d "$as_dir" || eval $as_mkdir_p || {
15984     as_dirs=
15985     while :; do
15986       case $as_dir in #(
15987       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15988       *) as_qdir=$as_dir;;
15989       esac
15990       as_dirs="'$as_qdir' $as_dirs"
15991       as_dir=`$as_dirname -- "$as_dir" ||
15992 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15993          X"$as_dir" : 'X\(//\)[^/]' \| \
15994          X"$as_dir" : 'X\(//\)$' \| \
15995          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15996 $as_echo X"$as_dir" |
15997     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15998             s//\1/
15999             q
16000           }
16001           /^X\(\/\/\)[^/].*/{
16002             s//\1/
16003             q
16004           }
16005           /^X\(\/\/\)$/{
16006             s//\1/
16007             q
16008           }
16009           /^X\(\/\).*/{
16010             s//\1/
16011             q
16012           }
16013           s/.*/./; q'`
16014       test -d "$as_dir" && break
16015     done
16016     test -z "$as_dirs" || eval "mkdir $as_dirs"
16017   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16018
16019
16020 } # as_fn_mkdir_p
16021 if mkdir -p . 2>/dev/null; then
16022   as_mkdir_p='mkdir -p "$as_dir"'
16023 else
16024   test -d ./-p && rmdir ./-p
16025   as_mkdir_p=false
16026 fi
16027
16028
16029 # as_fn_executable_p FILE
16030 # -----------------------
16031 # Test if FILE is an executable regular file.
16032 as_fn_executable_p ()
16033 {
16034   test -f "$1" && test -x "$1"
16035 } # as_fn_executable_p
16036 as_test_x='test -x'
16037 as_executable_p=as_fn_executable_p
16038
16039 # Sed expression to map a string onto a valid CPP name.
16040 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16041
16042 # Sed expression to map a string onto a valid variable name.
16043 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16044
16045
16046 exec 6>&1
16047 ## ----------------------------------- ##
16048 ## Main body of $CONFIG_STATUS script. ##
16049 ## ----------------------------------- ##
16050 _ASEOF
16051 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16052
16053 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16054 # Save the log message, to keep $0 and so on meaningful, and to
16055 # report actual input values of CONFIG_FILES etc. instead of their
16056 # values after options handling.
16057 ac_log="
16058 This file was extended by gsignond $as_me 1.0.3, which was
16059 generated by GNU Autoconf 2.69.  Invocation command line was
16060
16061   CONFIG_FILES    = $CONFIG_FILES
16062   CONFIG_HEADERS  = $CONFIG_HEADERS
16063   CONFIG_LINKS    = $CONFIG_LINKS
16064   CONFIG_COMMANDS = $CONFIG_COMMANDS
16065   $ $0 $@
16066
16067 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16068 "
16069
16070 _ACEOF
16071
16072 case $ac_config_files in *"
16073 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16074 esac
16075
16076 case $ac_config_headers in *"
16077 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16078 esac
16079
16080
16081 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16082 # Files that config.status was made for.
16083 config_files="$ac_config_files"
16084 config_headers="$ac_config_headers"
16085 config_commands="$ac_config_commands"
16086
16087 _ACEOF
16088
16089 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16090 ac_cs_usage="\
16091 \`$as_me' instantiates files and other configuration actions
16092 from templates according to the current configuration.  Unless the files
16093 and actions are specified as TAGs, all are instantiated by default.
16094
16095 Usage: $0 [OPTION]... [TAG]...
16096
16097   -h, --help       print this help, then exit
16098   -V, --version    print version number and configuration settings, then exit
16099       --config     print configuration, then exit
16100   -q, --quiet, --silent
16101                    do not print progress messages
16102   -d, --debug      don't remove temporary files
16103       --recheck    update $as_me by reconfiguring in the same conditions
16104       --file=FILE[:TEMPLATE]
16105                    instantiate the configuration file FILE
16106       --header=FILE[:TEMPLATE]
16107                    instantiate the configuration header FILE
16108
16109 Configuration files:
16110 $config_files
16111
16112 Configuration headers:
16113 $config_headers
16114
16115 Configuration commands:
16116 $config_commands
16117
16118 Report bugs to the package provider.
16119 gsignond home page: <http://01.org/gsso>."
16120
16121 _ACEOF
16122 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16123 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16124 ac_cs_version="\\
16125 gsignond config.status 1.0.3
16126 configured by $0, generated by GNU Autoconf 2.69,
16127   with options \\"\$ac_cs_config\\"
16128
16129 Copyright (C) 2012 Free Software Foundation, Inc.
16130 This config.status script is free software; the Free Software Foundation
16131 gives unlimited permission to copy, distribute and modify it."
16132
16133 ac_pwd='$ac_pwd'
16134 srcdir='$srcdir'
16135 INSTALL='$INSTALL'
16136 MKDIR_P='$MKDIR_P'
16137 AWK='$AWK'
16138 test -n "\$AWK" || AWK=awk
16139 _ACEOF
16140
16141 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16142 # The default lists apply if the user does not specify any file.
16143 ac_need_defaults=:
16144 while test $# != 0
16145 do
16146   case $1 in
16147   --*=?*)
16148     ac_option=`expr "X$1" : 'X\([^=]*\)='`
16149     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16150     ac_shift=:
16151     ;;
16152   --*=)
16153     ac_option=`expr "X$1" : 'X\([^=]*\)='`
16154     ac_optarg=
16155     ac_shift=:
16156     ;;
16157   *)
16158     ac_option=$1
16159     ac_optarg=$2
16160     ac_shift=shift
16161     ;;
16162   esac
16163
16164   case $ac_option in
16165   # Handling of the options.
16166   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16167     ac_cs_recheck=: ;;
16168   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16169     $as_echo "$ac_cs_version"; exit ;;
16170   --config | --confi | --conf | --con | --co | --c )
16171     $as_echo "$ac_cs_config"; exit ;;
16172   --debug | --debu | --deb | --de | --d | -d )
16173     debug=: ;;
16174   --file | --fil | --fi | --f )
16175     $ac_shift
16176     case $ac_optarg in
16177     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16178     '') as_fn_error $? "missing file argument" ;;
16179     esac
16180     as_fn_append CONFIG_FILES " '$ac_optarg'"
16181     ac_need_defaults=false;;
16182   --header | --heade | --head | --hea )
16183     $ac_shift
16184     case $ac_optarg in
16185     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16186     esac
16187     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16188     ac_need_defaults=false;;
16189   --he | --h)
16190     # Conflict between --help and --header
16191     as_fn_error $? "ambiguous option: \`$1'
16192 Try \`$0 --help' for more information.";;
16193   --help | --hel | -h )
16194     $as_echo "$ac_cs_usage"; exit ;;
16195   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16196   | -silent | --silent | --silen | --sile | --sil | --si | --s)
16197     ac_cs_silent=: ;;
16198
16199   # This is an error.
16200   -*) as_fn_error $? "unrecognized option: \`$1'
16201 Try \`$0 --help' for more information." ;;
16202
16203   *) as_fn_append ac_config_targets " $1"
16204      ac_need_defaults=false ;;
16205
16206   esac
16207   shift
16208 done
16209
16210 ac_configure_extra_args=
16211
16212 if $ac_cs_silent; then
16213   exec 6>/dev/null
16214   ac_configure_extra_args="$ac_configure_extra_args --silent"
16215 fi
16216
16217 _ACEOF
16218 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16219 if \$ac_cs_recheck; then
16220   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16221   shift
16222   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16223   CONFIG_SHELL='$SHELL'
16224   export CONFIG_SHELL
16225   exec "\$@"
16226 fi
16227
16228 _ACEOF
16229 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16230 exec 5>>config.log
16231 {
16232   echo
16233   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16234 ## Running $as_me. ##
16235 _ASBOX
16236   $as_echo "$ac_log"
16237 } >&5
16238
16239 _ACEOF
16240 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16241 #
16242 # INIT-COMMANDS
16243 #
16244 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16245
16246
16247 # The HP-UX ksh and POSIX shell print the target directory to stdout
16248 # if CDPATH is set.
16249 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16250
16251 sed_quote_subst='$sed_quote_subst'
16252 double_quote_subst='$double_quote_subst'
16253 delay_variable_subst='$delay_variable_subst'
16254 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16255 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16256 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16257 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16258 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16259 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16260 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16261 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16262 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16263 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16264 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16265 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16266 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16267 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16268 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16269 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16270 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16271 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16272 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16273 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16274 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16275 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16276 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16277 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16278 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16279 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16280 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16281 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16282 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16283 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16284 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16285 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16286 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16287 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16288 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16289 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16290 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16291 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16292 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16293 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16294 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16295 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16296 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16297 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16298 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16299 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16300 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16301 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16302 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16303 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16304 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16305 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16306 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16307 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16308 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16309 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16310 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"`'
16311 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16312 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16313 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16314 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16315 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16316 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16317 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16318 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16319 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16320 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16321 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16322 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16323 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16324 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16325 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16326 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16327 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16328 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16329 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16330 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16331 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16332 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16333 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16334 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16335 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16336 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16337 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16338 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16339 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16340 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16341 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16342 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16343 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16344 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16345 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16346 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16347 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16348 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16349 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16350 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16351 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16352 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16353 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16354 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16355 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16356 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16357 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16358 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16359 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16360 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16361 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16362 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16363 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16364 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16365 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16366 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16367 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16368 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16369 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16370 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16371 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16372 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16373 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16374 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16375 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16376 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16377 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16378 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16379 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16380 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16381 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16382 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16383 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16384
16385 LTCC='$LTCC'
16386 LTCFLAGS='$LTCFLAGS'
16387 compiler='$compiler_DEFAULT'
16388
16389 # A function that is used when there is no print builtin or printf.
16390 func_fallback_echo ()
16391 {
16392   eval 'cat <<_LTECHO_EOF
16393 \$1
16394 _LTECHO_EOF'
16395 }
16396
16397 # Quote evaled strings.
16398 for var in SHELL \
16399 ECHO \
16400 PATH_SEPARATOR \
16401 SED \
16402 GREP \
16403 EGREP \
16404 FGREP \
16405 LD \
16406 NM \
16407 LN_S \
16408 lt_SP2NL \
16409 lt_NL2SP \
16410 reload_flag \
16411 OBJDUMP \
16412 deplibs_check_method \
16413 file_magic_cmd \
16414 file_magic_glob \
16415 want_nocaseglob \
16416 DLLTOOL \
16417 sharedlib_from_linklib_cmd \
16418 AR \
16419 AR_FLAGS \
16420 archiver_list_spec \
16421 STRIP \
16422 RANLIB \
16423 CC \
16424 CFLAGS \
16425 compiler \
16426 lt_cv_sys_global_symbol_pipe \
16427 lt_cv_sys_global_symbol_to_cdecl \
16428 lt_cv_sys_global_symbol_to_c_name_address \
16429 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16430 nm_file_list_spec \
16431 lt_prog_compiler_no_builtin_flag \
16432 lt_prog_compiler_pic \
16433 lt_prog_compiler_wl \
16434 lt_prog_compiler_static \
16435 lt_cv_prog_compiler_c_o \
16436 need_locks \
16437 MANIFEST_TOOL \
16438 DSYMUTIL \
16439 NMEDIT \
16440 LIPO \
16441 OTOOL \
16442 OTOOL64 \
16443 shrext_cmds \
16444 export_dynamic_flag_spec \
16445 whole_archive_flag_spec \
16446 compiler_needs_object \
16447 with_gnu_ld \
16448 allow_undefined_flag \
16449 no_undefined_flag \
16450 hardcode_libdir_flag_spec \
16451 hardcode_libdir_separator \
16452 exclude_expsyms \
16453 include_expsyms \
16454 file_list_spec \
16455 variables_saved_for_relink \
16456 libname_spec \
16457 library_names_spec \
16458 soname_spec \
16459 install_override_mode \
16460 finish_eval \
16461 old_striplib \
16462 striplib; do
16463     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16464     *[\\\\\\\`\\"\\\$]*)
16465       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16466       ;;
16467     *)
16468       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16469       ;;
16470     esac
16471 done
16472
16473 # Double-quote double-evaled strings.
16474 for var in reload_cmds \
16475 old_postinstall_cmds \
16476 old_postuninstall_cmds \
16477 old_archive_cmds \
16478 extract_expsyms_cmds \
16479 old_archive_from_new_cmds \
16480 old_archive_from_expsyms_cmds \
16481 archive_cmds \
16482 archive_expsym_cmds \
16483 module_cmds \
16484 module_expsym_cmds \
16485 export_symbols_cmds \
16486 prelink_cmds \
16487 postlink_cmds \
16488 postinstall_cmds \
16489 postuninstall_cmds \
16490 finish_cmds \
16491 sys_lib_search_path_spec \
16492 sys_lib_dlsearch_path_spec; do
16493     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16494     *[\\\\\\\`\\"\\\$]*)
16495       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16496       ;;
16497     *)
16498       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16499       ;;
16500     esac
16501 done
16502
16503 ac_aux_dir='$ac_aux_dir'
16504 xsi_shell='$xsi_shell'
16505 lt_shell_append='$lt_shell_append'
16506
16507 # See if we are running on zsh, and set the options which allow our
16508 # commands through without removal of \ escapes INIT.
16509 if test -n "\${ZSH_VERSION+set}" ; then
16510    setopt NO_GLOB_SUBST
16511 fi
16512
16513
16514     PACKAGE='$PACKAGE'
16515     VERSION='$VERSION'
16516     TIMESTAMP='$TIMESTAMP'
16517     RM='$RM'
16518     ofile='$ofile'
16519
16520 ac_aux_dir='$ac_aux_dir'
16521
16522
16523
16524 _ACEOF
16525
16526 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16527
16528 # Handling of arguments.
16529 for ac_config_target in $ac_config_targets
16530 do
16531   case $ac_config_target in
16532     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16533     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16534     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16535     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16536     "${PACKAGE_NAME}.pc") CONFIG_FILES="$CONFIG_FILES ${PACKAGE_NAME}.pc" ;;
16537     "${PACKAGE_NAME}-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES ${PACKAGE_NAME}-uninstalled.pc" ;;
16538     "gsignond.conf") CONFIG_FILES="$CONFIG_FILES gsignond.conf" ;;
16539     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
16540     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16541     "src/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/Makefile" ;;
16542     "src/common/db/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/db/Makefile" ;;
16543     "src/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/Makefile" ;;
16544     "src/daemon/db/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/db/Makefile" ;;
16545     "src/daemon/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/Makefile" ;;
16546     "src/daemon/dbus/services/com.google.code.AccountsSSO.gSingleSignOn.service") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/services/com.google.code.AccountsSSO.gSingleSignOn.service" ;;
16547     "src/daemon/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/plugins/Makefile" ;;
16548     "src/gplugind/Makefile") CONFIG_FILES="$CONFIG_FILES src/gplugind/Makefile" ;;
16549     "src/extensions/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/Makefile" ;;
16550     "src/extensions/test/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/test/Makefile" ;;
16551     "src/extensions/tizen/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/tizen/Makefile" ;;
16552     "src/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/Makefile" ;;
16553     "src/plugins/password/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/password/Makefile" ;;
16554     "src/plugins/ssotest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/ssotest/Makefile" ;;
16555     "src/plugins/digest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/digest/Makefile" ;;
16556     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
16557     "test/common/Makefile") CONFIG_FILES="$CONFIG_FILES test/common/Makefile" ;;
16558     "test/db/Makefile") CONFIG_FILES="$CONFIG_FILES test/db/Makefile" ;;
16559     "test/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES test/daemon/Makefile" ;;
16560     "test/daemon/gsignond-dbus.conf") CONFIG_FILES="$CONFIG_FILES test/daemon/gsignond-dbus.conf" ;;
16561     "test/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES test/plugins/Makefile" ;;
16562     "test/daemon/services/com.google.code.AccountsSSO.gSingleSignOn.service") CONFIG_FILES="$CONFIG_FILES test/daemon/services/com.google.code.AccountsSSO.gSingleSignOn.service" ;;
16563
16564   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16565   esac
16566 done
16567
16568
16569 # If the user did not use the arguments to specify the items to instantiate,
16570 # then the envvar interface is used.  Set only those that are not.
16571 # We use the long form for the default assignment because of an extremely
16572 # bizarre bug on SunOS 4.1.3.
16573 if $ac_need_defaults; then
16574   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16575   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16576   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16577 fi
16578
16579 # Have a temporary directory for convenience.  Make it in the build tree
16580 # simply because there is no reason against having it here, and in addition,
16581 # creating and moving files from /tmp can sometimes cause problems.
16582 # Hook for its removal unless debugging.
16583 # Note that there is a small window in which the directory will not be cleaned:
16584 # after its creation but before its name has been assigned to `$tmp'.
16585 $debug ||
16586 {
16587   tmp= ac_tmp=
16588   trap 'exit_status=$?
16589   : "${ac_tmp:=$tmp}"
16590   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16591 ' 0
16592   trap 'as_fn_exit 1' 1 2 13 15
16593 }
16594 # Create a (secure) tmp directory for tmp files.
16595
16596 {
16597   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16598   test -d "$tmp"
16599 }  ||
16600 {
16601   tmp=./conf$$-$RANDOM
16602   (umask 077 && mkdir "$tmp")
16603 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16604 ac_tmp=$tmp
16605
16606 # Set up the scripts for CONFIG_FILES section.
16607 # No need to generate them if there are no CONFIG_FILES.
16608 # This happens for instance with `./config.status config.h'.
16609 if test -n "$CONFIG_FILES"; then
16610
16611
16612 ac_cr=`echo X | tr X '\015'`
16613 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16614 # But we know of no other shell where ac_cr would be empty at this
16615 # point, so we can use a bashism as a fallback.
16616 if test "x$ac_cr" = x; then
16617   eval ac_cr=\$\'\\r\'
16618 fi
16619 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16620 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16621   ac_cs_awk_cr='\\r'
16622 else
16623   ac_cs_awk_cr=$ac_cr
16624 fi
16625
16626 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16627 _ACEOF
16628
16629
16630 {
16631   echo "cat >conf$$subs.awk <<_ACEOF" &&
16632   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16633   echo "_ACEOF"
16634 } >conf$$subs.sh ||
16635   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16636 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16637 ac_delim='%!_!# '
16638 for ac_last_try in false false false false false :; do
16639   . ./conf$$subs.sh ||
16640     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16641
16642   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16643   if test $ac_delim_n = $ac_delim_num; then
16644     break
16645   elif $ac_last_try; then
16646     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16647   else
16648     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16649   fi
16650 done
16651 rm -f conf$$subs.sh
16652
16653 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16654 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16655 _ACEOF
16656 sed -n '
16657 h
16658 s/^/S["/; s/!.*/"]=/
16659 p
16660 g
16661 s/^[^!]*!//
16662 :repl
16663 t repl
16664 s/'"$ac_delim"'$//
16665 t delim
16666 :nl
16667 h
16668 s/\(.\{148\}\)..*/\1/
16669 t more1
16670 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16671 p
16672 n
16673 b repl
16674 :more1
16675 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16676 p
16677 g
16678 s/.\{148\}//
16679 t nl
16680 :delim
16681 h
16682 s/\(.\{148\}\)..*/\1/
16683 t more2
16684 s/["\\]/\\&/g; s/^/"/; s/$/"/
16685 p
16686 b
16687 :more2
16688 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16689 p
16690 g
16691 s/.\{148\}//
16692 t delim
16693 ' <conf$$subs.awk | sed '
16694 /^[^""]/{
16695   N
16696   s/\n//
16697 }
16698 ' >>$CONFIG_STATUS || ac_write_fail=1
16699 rm -f conf$$subs.awk
16700 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16701 _ACAWK
16702 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16703   for (key in S) S_is_set[key] = 1
16704   FS = "\a"
16705
16706 }
16707 {
16708   line = $ 0
16709   nfields = split(line, field, "@")
16710   substed = 0
16711   len = length(field[1])
16712   for (i = 2; i < nfields; i++) {
16713     key = field[i]
16714     keylen = length(key)
16715     if (S_is_set[key]) {
16716       value = S[key]
16717       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16718       len += length(value) + length(field[++i])
16719       substed = 1
16720     } else
16721       len += 1 + keylen
16722   }
16723
16724   print line
16725 }
16726
16727 _ACAWK
16728 _ACEOF
16729 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16730 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16731   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16732 else
16733   cat
16734 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16735   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16736 _ACEOF
16737
16738 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16739 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16740 # trailing colons and then remove the whole line if VPATH becomes empty
16741 # (actually we leave an empty line to preserve line numbers).
16742 if test "x$srcdir" = x.; then
16743   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
16744 h
16745 s///
16746 s/^/:/
16747 s/[      ]*$/:/
16748 s/:\$(srcdir):/:/g
16749 s/:\${srcdir}:/:/g
16750 s/:@srcdir@:/:/g
16751 s/^:*//
16752 s/:*$//
16753 x
16754 s/\(=[   ]*\).*/\1/
16755 G
16756 s/\n//
16757 s/^[^=]*=[       ]*$//
16758 }'
16759 fi
16760
16761 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16762 fi # test -n "$CONFIG_FILES"
16763
16764 # Set up the scripts for CONFIG_HEADERS section.
16765 # No need to generate them if there are no CONFIG_HEADERS.
16766 # This happens for instance with `./config.status Makefile'.
16767 if test -n "$CONFIG_HEADERS"; then
16768 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16769 BEGIN {
16770 _ACEOF
16771
16772 # Transform confdefs.h into an awk script `defines.awk', embedded as
16773 # here-document in config.status, that substitutes the proper values into
16774 # config.h.in to produce config.h.
16775
16776 # Create a delimiter string that does not exist in confdefs.h, to ease
16777 # handling of long lines.
16778 ac_delim='%!_!# '
16779 for ac_last_try in false false :; do
16780   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16781   if test -z "$ac_tt"; then
16782     break
16783   elif $ac_last_try; then
16784     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16785   else
16786     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16787   fi
16788 done
16789
16790 # For the awk script, D is an array of macro values keyed by name,
16791 # likewise P contains macro parameters if any.  Preserve backslash
16792 # newline sequences.
16793
16794 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16795 sed -n '
16796 s/.\{148\}/&'"$ac_delim"'/g
16797 t rset
16798 :rset
16799 s/^[     ]*#[    ]*define[       ][      ]*/ /
16800 t def
16801 d
16802 :def
16803 s/\\$//
16804 t bsnl
16805 s/["\\]/\\&/g
16806 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16807 D["\1"]=" \3"/p
16808 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
16809 d
16810 :bsnl
16811 s/["\\]/\\&/g
16812 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16813 D["\1"]=" \3\\\\\\n"\\/p
16814 t cont
16815 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16816 t cont
16817 d
16818 :cont
16819 n
16820 s/.\{148\}/&'"$ac_delim"'/g
16821 t clear
16822 :clear
16823 s/\\$//
16824 t bsnlc
16825 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16826 d
16827 :bsnlc
16828 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16829 b cont
16830 ' <confdefs.h | sed '
16831 s/'"$ac_delim"'/"\\\
16832 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16833
16834 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16835   for (key in D) D_is_set[key] = 1
16836   FS = "\a"
16837 }
16838 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16839   line = \$ 0
16840   split(line, arg, " ")
16841   if (arg[1] == "#") {
16842     defundef = arg[2]
16843     mac1 = arg[3]
16844   } else {
16845     defundef = substr(arg[1], 2)
16846     mac1 = arg[2]
16847   }
16848   split(mac1, mac2, "(") #)
16849   macro = mac2[1]
16850   prefix = substr(line, 1, index(line, defundef) - 1)
16851   if (D_is_set[macro]) {
16852     # Preserve the white space surrounding the "#".
16853     print prefix "define", macro P[macro] D[macro]
16854     next
16855   } else {
16856     # Replace #undef with comments.  This is necessary, for example,
16857     # in the case of _POSIX_SOURCE, which is predefined and required
16858     # on some systems where configure will not decide to define it.
16859     if (defundef == "undef") {
16860       print "/*", prefix defundef, macro, "*/"
16861       next
16862     }
16863   }
16864 }
16865 { print }
16866 _ACAWK
16867 _ACEOF
16868 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16869   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16870 fi # test -n "$CONFIG_HEADERS"
16871
16872
16873 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
16874 shift
16875 for ac_tag
16876 do
16877   case $ac_tag in
16878   :[FHLC]) ac_mode=$ac_tag; continue;;
16879   esac
16880   case $ac_mode$ac_tag in
16881   :[FHL]*:*);;
16882   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16883   :[FH]-) ac_tag=-:-;;
16884   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16885   esac
16886   ac_save_IFS=$IFS
16887   IFS=:
16888   set x $ac_tag
16889   IFS=$ac_save_IFS
16890   shift
16891   ac_file=$1
16892   shift
16893
16894   case $ac_mode in
16895   :L) ac_source=$1;;
16896   :[FH])
16897     ac_file_inputs=
16898     for ac_f
16899     do
16900       case $ac_f in
16901       -) ac_f="$ac_tmp/stdin";;
16902       *) # Look for the file first in the build tree, then in the source tree
16903          # (if the path is not absolute).  The absolute path cannot be DOS-style,
16904          # because $ac_f cannot contain `:'.
16905          test -f "$ac_f" ||
16906            case $ac_f in
16907            [\\/$]*) false;;
16908            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16909            esac ||
16910            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16911       esac
16912       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16913       as_fn_append ac_file_inputs " '$ac_f'"
16914     done
16915
16916     # Let's still pretend it is `configure' which instantiates (i.e., don't
16917     # use $as_me), people would be surprised to read:
16918     #    /* config.h.  Generated by config.status.  */
16919     configure_input='Generated from '`
16920           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16921         `' by configure.'
16922     if test x"$ac_file" != x-; then
16923       configure_input="$ac_file.  $configure_input"
16924       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16925 $as_echo "$as_me: creating $ac_file" >&6;}
16926     fi
16927     # Neutralize special characters interpreted by sed in replacement strings.
16928     case $configure_input in #(
16929     *\&* | *\|* | *\\* )
16930        ac_sed_conf_input=`$as_echo "$configure_input" |
16931        sed 's/[\\\\&|]/\\\\&/g'`;; #(
16932     *) ac_sed_conf_input=$configure_input;;
16933     esac
16934
16935     case $ac_tag in
16936     *:-:* | *:-) cat >"$ac_tmp/stdin" \
16937       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16938     esac
16939     ;;
16940   esac
16941
16942   ac_dir=`$as_dirname -- "$ac_file" ||
16943 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16944          X"$ac_file" : 'X\(//\)[^/]' \| \
16945          X"$ac_file" : 'X\(//\)$' \| \
16946          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16947 $as_echo X"$ac_file" |
16948     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16949             s//\1/
16950             q
16951           }
16952           /^X\(\/\/\)[^/].*/{
16953             s//\1/
16954             q
16955           }
16956           /^X\(\/\/\)$/{
16957             s//\1/
16958             q
16959           }
16960           /^X\(\/\).*/{
16961             s//\1/
16962             q
16963           }
16964           s/.*/./; q'`
16965   as_dir="$ac_dir"; as_fn_mkdir_p
16966   ac_builddir=.
16967
16968 case "$ac_dir" in
16969 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16970 *)
16971   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16972   # A ".." for each directory in $ac_dir_suffix.
16973   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16974   case $ac_top_builddir_sub in
16975   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16976   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16977   esac ;;
16978 esac
16979 ac_abs_top_builddir=$ac_pwd
16980 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16981 # for backward compatibility:
16982 ac_top_builddir=$ac_top_build_prefix
16983
16984 case $srcdir in
16985   .)  # We are building in place.
16986     ac_srcdir=.
16987     ac_top_srcdir=$ac_top_builddir_sub
16988     ac_abs_top_srcdir=$ac_pwd ;;
16989   [\\/]* | ?:[\\/]* )  # Absolute name.
16990     ac_srcdir=$srcdir$ac_dir_suffix;
16991     ac_top_srcdir=$srcdir
16992     ac_abs_top_srcdir=$srcdir ;;
16993   *) # Relative name.
16994     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16995     ac_top_srcdir=$ac_top_build_prefix$srcdir
16996     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16997 esac
16998 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16999
17000
17001   case $ac_mode in
17002   :F)
17003   #
17004   # CONFIG_FILE
17005   #
17006
17007   case $INSTALL in
17008   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17009   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17010   esac
17011   ac_MKDIR_P=$MKDIR_P
17012   case $MKDIR_P in
17013   [\\/$]* | ?:[\\/]* ) ;;
17014   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17015   esac
17016 _ACEOF
17017
17018 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17019 # If the template does not know about datarootdir, expand it.
17020 # FIXME: This hack should be removed a few years after 2.60.
17021 ac_datarootdir_hack=; ac_datarootdir_seen=
17022 ac_sed_dataroot='
17023 /datarootdir/ {
17024   p
17025   q
17026 }
17027 /@datadir@/p
17028 /@docdir@/p
17029 /@infodir@/p
17030 /@localedir@/p
17031 /@mandir@/p'
17032 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17033 *datarootdir*) ac_datarootdir_seen=yes;;
17034 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17035   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17036 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17037 _ACEOF
17038 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17039   ac_datarootdir_hack='
17040   s&@datadir@&$datadir&g
17041   s&@docdir@&$docdir&g
17042   s&@infodir@&$infodir&g
17043   s&@localedir@&$localedir&g
17044   s&@mandir@&$mandir&g
17045   s&\\\${datarootdir}&$datarootdir&g' ;;
17046 esac
17047 _ACEOF
17048
17049 # Neutralize VPATH when `$srcdir' = `.'.
17050 # Shell code in configure.ac might set extrasub.
17051 # FIXME: do we really want to maintain this feature?
17052 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17053 ac_sed_extra="$ac_vpsub
17054 $extrasub
17055 _ACEOF
17056 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17057 :t
17058 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17059 s|@configure_input@|$ac_sed_conf_input|;t t
17060 s&@top_builddir@&$ac_top_builddir_sub&;t t
17061 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17062 s&@srcdir@&$ac_srcdir&;t t
17063 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17064 s&@top_srcdir@&$ac_top_srcdir&;t t
17065 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17066 s&@builddir@&$ac_builddir&;t t
17067 s&@abs_builddir@&$ac_abs_builddir&;t t
17068 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17069 s&@INSTALL@&$ac_INSTALL&;t t
17070 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17071 $ac_datarootdir_hack
17072 "
17073 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17074   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17075
17076 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17077   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17078   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
17079       "$ac_tmp/out"`; test -z "$ac_out"; } &&
17080   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17081 which seems to be undefined.  Please make sure it is defined" >&5
17082 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17083 which seems to be undefined.  Please make sure it is defined" >&2;}
17084
17085   rm -f "$ac_tmp/stdin"
17086   case $ac_file in
17087   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17088   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17089   esac \
17090   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17091  ;;
17092   :H)
17093   #
17094   # CONFIG_HEADER
17095   #
17096   if test x"$ac_file" != x-; then
17097     {
17098       $as_echo "/* $configure_input  */" \
17099       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17100     } >"$ac_tmp/config.h" \
17101       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17102     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17103       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17104 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17105     else
17106       rm -f "$ac_file"
17107       mv "$ac_tmp/config.h" "$ac_file" \
17108         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17109     fi
17110   else
17111     $as_echo "/* $configure_input  */" \
17112       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17113       || as_fn_error $? "could not create -" "$LINENO" 5
17114   fi
17115 # Compute "$ac_file"'s index in $config_headers.
17116 _am_arg="$ac_file"
17117 _am_stamp_count=1
17118 for _am_header in $config_headers :; do
17119   case $_am_header in
17120     $_am_arg | $_am_arg:* )
17121       break ;;
17122     * )
17123       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17124   esac
17125 done
17126 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17127 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17128          X"$_am_arg" : 'X\(//\)[^/]' \| \
17129          X"$_am_arg" : 'X\(//\)$' \| \
17130          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17131 $as_echo X"$_am_arg" |
17132     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17133             s//\1/
17134             q
17135           }
17136           /^X\(\/\/\)[^/].*/{
17137             s//\1/
17138             q
17139           }
17140           /^X\(\/\/\)$/{
17141             s//\1/
17142             q
17143           }
17144           /^X\(\/\).*/{
17145             s//\1/
17146             q
17147           }
17148           s/.*/./; q'`/stamp-h$_am_stamp_count
17149  ;;
17150
17151   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17152 $as_echo "$as_me: executing $ac_file commands" >&6;}
17153  ;;
17154   esac
17155
17156
17157   case $ac_file$ac_mode in
17158     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17159   # Older Autoconf quotes --file arguments for eval, but not when files
17160   # are listed without --file.  Let's play safe and only enable the eval
17161   # if we detect the quoting.
17162   case $CONFIG_FILES in
17163   *\'*) eval set x "$CONFIG_FILES" ;;
17164   *)   set x $CONFIG_FILES ;;
17165   esac
17166   shift
17167   for mf
17168   do
17169     # Strip MF so we end up with the name of the file.
17170     mf=`echo "$mf" | sed -e 's/:.*$//'`
17171     # Check whether this is an Automake generated Makefile or not.
17172     # We used to match only the files named 'Makefile.in', but
17173     # some people rename them; so instead we look at the file content.
17174     # Grep'ing the first line is not enough: some people post-process
17175     # each Makefile.in and add a new line on top of each file to say so.
17176     # Grep'ing the whole file is not good either: AIX grep has a line
17177     # limit of 2048, but all sed's we know have understand at least 4000.
17178     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17179       dirpart=`$as_dirname -- "$mf" ||
17180 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17181          X"$mf" : 'X\(//\)[^/]' \| \
17182          X"$mf" : 'X\(//\)$' \| \
17183          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17184 $as_echo X"$mf" |
17185     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17186             s//\1/
17187             q
17188           }
17189           /^X\(\/\/\)[^/].*/{
17190             s//\1/
17191             q
17192           }
17193           /^X\(\/\/\)$/{
17194             s//\1/
17195             q
17196           }
17197           /^X\(\/\).*/{
17198             s//\1/
17199             q
17200           }
17201           s/.*/./; q'`
17202     else
17203       continue
17204     fi
17205     # Extract the definition of DEPDIR, am__include, and am__quote
17206     # from the Makefile without running 'make'.
17207     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17208     test -z "$DEPDIR" && continue
17209     am__include=`sed -n 's/^am__include = //p' < "$mf"`
17210     test -z "$am__include" && continue
17211     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17212     # Find all dependency output files, they are included files with
17213     # $(DEPDIR) in their names.  We invoke sed twice because it is the
17214     # simplest approach to changing $(DEPDIR) to its actual value in the
17215     # expansion.
17216     for file in `sed -n "
17217       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17218          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17219       # Make sure the directory exists.
17220       test -f "$dirpart/$file" && continue
17221       fdir=`$as_dirname -- "$file" ||
17222 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17223          X"$file" : 'X\(//\)[^/]' \| \
17224          X"$file" : 'X\(//\)$' \| \
17225          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17226 $as_echo X"$file" |
17227     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17228             s//\1/
17229             q
17230           }
17231           /^X\(\/\/\)[^/].*/{
17232             s//\1/
17233             q
17234           }
17235           /^X\(\/\/\)$/{
17236             s//\1/
17237             q
17238           }
17239           /^X\(\/\).*/{
17240             s//\1/
17241             q
17242           }
17243           s/.*/./; q'`
17244       as_dir=$dirpart/$fdir; as_fn_mkdir_p
17245       # echo "creating $dirpart/$file"
17246       echo '# dummy' > "$dirpart/$file"
17247     done
17248   done
17249 }
17250  ;;
17251     "libtool":C)
17252
17253     # See if we are running on zsh, and set the options which allow our
17254     # commands through without removal of \ escapes.
17255     if test -n "${ZSH_VERSION+set}" ; then
17256       setopt NO_GLOB_SUBST
17257     fi
17258
17259     cfgfile="${ofile}T"
17260     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17261     $RM "$cfgfile"
17262
17263     cat <<_LT_EOF >> "$cfgfile"
17264 #! $SHELL
17265
17266 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17267 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17268 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17269 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17270 #
17271 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17272 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17273 #                 Foundation, Inc.
17274 #   Written by Gordon Matzigkeit, 1996
17275 #
17276 #   This file is part of GNU Libtool.
17277 #
17278 # GNU Libtool is free software; you can redistribute it and/or
17279 # modify it under the terms of the GNU General Public License as
17280 # published by the Free Software Foundation; either version 2 of
17281 # the License, or (at your option) any later version.
17282 #
17283 # As a special exception to the GNU General Public License,
17284 # if you distribute this file as part of a program or library that
17285 # is built using GNU Libtool, you may include this file under the
17286 # same distribution terms that you use for the rest of that program.
17287 #
17288 # GNU Libtool is distributed in the hope that it will be useful,
17289 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17290 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17291 # GNU General Public License for more details.
17292 #
17293 # You should have received a copy of the GNU General Public License
17294 # along with GNU Libtool; see the file COPYING.  If not, a copy
17295 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17296 # obtained by writing to the Free Software Foundation, Inc.,
17297 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17298
17299
17300 # The names of the tagged configurations supported by this script.
17301 available_tags=""
17302
17303 # ### BEGIN LIBTOOL CONFIG
17304
17305 # Which release of libtool.m4 was used?
17306 macro_version=$macro_version
17307 macro_revision=$macro_revision
17308
17309 # Whether or not to build static libraries.
17310 build_old_libs=$enable_static
17311
17312 # Whether or not to build shared libraries.
17313 build_libtool_libs=$enable_shared
17314
17315 # What type of objects to build.
17316 pic_mode=$pic_mode
17317
17318 # Whether or not to optimize for fast installation.
17319 fast_install=$enable_fast_install
17320
17321 # Shell to use when invoking shell scripts.
17322 SHELL=$lt_SHELL
17323
17324 # An echo program that protects backslashes.
17325 ECHO=$lt_ECHO
17326
17327 # The PATH separator for the build system.
17328 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17329
17330 # The host system.
17331 host_alias=$host_alias
17332 host=$host
17333 host_os=$host_os
17334
17335 # The build system.
17336 build_alias=$build_alias
17337 build=$build
17338 build_os=$build_os
17339
17340 # A sed program that does not truncate output.
17341 SED=$lt_SED
17342
17343 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17344 Xsed="\$SED -e 1s/^X//"
17345
17346 # A grep program that handles long lines.
17347 GREP=$lt_GREP
17348
17349 # An ERE matcher.
17350 EGREP=$lt_EGREP
17351
17352 # A literal string matcher.
17353 FGREP=$lt_FGREP
17354
17355 # A BSD- or MS-compatible name lister.
17356 NM=$lt_NM
17357
17358 # Whether we need soft or hard links.
17359 LN_S=$lt_LN_S
17360
17361 # What is the maximum length of a command?
17362 max_cmd_len=$max_cmd_len
17363
17364 # Object file suffix (normally "o").
17365 objext=$ac_objext
17366
17367 # Executable file suffix (normally "").
17368 exeext=$exeext
17369
17370 # whether the shell understands "unset".
17371 lt_unset=$lt_unset
17372
17373 # turn spaces into newlines.
17374 SP2NL=$lt_lt_SP2NL
17375
17376 # turn newlines into spaces.
17377 NL2SP=$lt_lt_NL2SP
17378
17379 # convert \$build file names to \$host format.
17380 to_host_file_cmd=$lt_cv_to_host_file_cmd
17381
17382 # convert \$build files to toolchain format.
17383 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17384
17385 # An object symbol dumper.
17386 OBJDUMP=$lt_OBJDUMP
17387
17388 # Method to check whether dependent libraries are shared objects.
17389 deplibs_check_method=$lt_deplibs_check_method
17390
17391 # Command to use when deplibs_check_method = "file_magic".
17392 file_magic_cmd=$lt_file_magic_cmd
17393
17394 # How to find potential files when deplibs_check_method = "file_magic".
17395 file_magic_glob=$lt_file_magic_glob
17396
17397 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17398 want_nocaseglob=$lt_want_nocaseglob
17399
17400 # DLL creation program.
17401 DLLTOOL=$lt_DLLTOOL
17402
17403 # Command to associate shared and link libraries.
17404 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17405
17406 # The archiver.
17407 AR=$lt_AR
17408
17409 # Flags to create an archive.
17410 AR_FLAGS=$lt_AR_FLAGS
17411
17412 # How to feed a file listing to the archiver.
17413 archiver_list_spec=$lt_archiver_list_spec
17414
17415 # A symbol stripping program.
17416 STRIP=$lt_STRIP
17417
17418 # Commands used to install an old-style archive.
17419 RANLIB=$lt_RANLIB
17420 old_postinstall_cmds=$lt_old_postinstall_cmds
17421 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17422
17423 # Whether to use a lock for old archive extraction.
17424 lock_old_archive_extraction=$lock_old_archive_extraction
17425
17426 # A C compiler.
17427 LTCC=$lt_CC
17428
17429 # LTCC compiler flags.
17430 LTCFLAGS=$lt_CFLAGS
17431
17432 # Take the output of nm and produce a listing of raw symbols and C names.
17433 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17434
17435 # Transform the output of nm in a proper C declaration.
17436 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17437
17438 # Transform the output of nm in a C name address pair.
17439 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17440
17441 # Transform the output of nm in a C name address pair when lib prefix is needed.
17442 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17443
17444 # Specify filename containing input files for \$NM.
17445 nm_file_list_spec=$lt_nm_file_list_spec
17446
17447 # The root where to search for dependent libraries,and in which our libraries should be installed.
17448 lt_sysroot=$lt_sysroot
17449
17450 # The name of the directory that contains temporary libtool files.
17451 objdir=$objdir
17452
17453 # Used to examine libraries when file_magic_cmd begins with "file".
17454 MAGIC_CMD=$MAGIC_CMD
17455
17456 # Must we lock files when doing compilation?
17457 need_locks=$lt_need_locks
17458
17459 # Manifest tool.
17460 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17461
17462 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17463 DSYMUTIL=$lt_DSYMUTIL
17464
17465 # Tool to change global to local symbols on Mac OS X.
17466 NMEDIT=$lt_NMEDIT
17467
17468 # Tool to manipulate fat objects and archives on Mac OS X.
17469 LIPO=$lt_LIPO
17470
17471 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17472 OTOOL=$lt_OTOOL
17473
17474 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17475 OTOOL64=$lt_OTOOL64
17476
17477 # Old archive suffix (normally "a").
17478 libext=$libext
17479
17480 # Shared library suffix (normally ".so").
17481 shrext_cmds=$lt_shrext_cmds
17482
17483 # The commands to extract the exported symbol list from a shared archive.
17484 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17485
17486 # Variables whose values should be saved in libtool wrapper scripts and
17487 # restored at link time.
17488 variables_saved_for_relink=$lt_variables_saved_for_relink
17489
17490 # Do we need the "lib" prefix for modules?
17491 need_lib_prefix=$need_lib_prefix
17492
17493 # Do we need a version for libraries?
17494 need_version=$need_version
17495
17496 # Library versioning type.
17497 version_type=$version_type
17498
17499 # Shared library runtime path variable.
17500 runpath_var=$runpath_var
17501
17502 # Shared library path variable.
17503 shlibpath_var=$shlibpath_var
17504
17505 # Is shlibpath searched before the hard-coded library search path?
17506 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17507
17508 # Format of library name prefix.
17509 libname_spec=$lt_libname_spec
17510
17511 # List of archive names.  First name is the real one, the rest are links.
17512 # The last name is the one that the linker finds with -lNAME
17513 library_names_spec=$lt_library_names_spec
17514
17515 # The coded name of the library, if different from the real name.
17516 soname_spec=$lt_soname_spec
17517
17518 # Permission mode override for installation of shared libraries.
17519 install_override_mode=$lt_install_override_mode
17520
17521 # Command to use after installation of a shared archive.
17522 postinstall_cmds=$lt_postinstall_cmds
17523
17524 # Command to use after uninstallation of a shared archive.
17525 postuninstall_cmds=$lt_postuninstall_cmds
17526
17527 # Commands used to finish a libtool library installation in a directory.
17528 finish_cmds=$lt_finish_cmds
17529
17530 # As "finish_cmds", except a single script fragment to be evaled but
17531 # not shown.
17532 finish_eval=$lt_finish_eval
17533
17534 # Whether we should hardcode library paths into libraries.
17535 hardcode_into_libs=$hardcode_into_libs
17536
17537 # Compile-time system search path for libraries.
17538 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17539
17540 # Run-time system search path for libraries.
17541 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17542
17543 # Whether dlopen is supported.
17544 dlopen_support=$enable_dlopen
17545
17546 # Whether dlopen of programs is supported.
17547 dlopen_self=$enable_dlopen_self
17548
17549 # Whether dlopen of statically linked programs is supported.
17550 dlopen_self_static=$enable_dlopen_self_static
17551
17552 # Commands to strip libraries.
17553 old_striplib=$lt_old_striplib
17554 striplib=$lt_striplib
17555
17556
17557 # The linker used to build libraries.
17558 LD=$lt_LD
17559
17560 # How to create reloadable object files.
17561 reload_flag=$lt_reload_flag
17562 reload_cmds=$lt_reload_cmds
17563
17564 # Commands used to build an old-style archive.
17565 old_archive_cmds=$lt_old_archive_cmds
17566
17567 # A language specific compiler.
17568 CC=$lt_compiler
17569
17570 # Is the compiler the GNU compiler?
17571 with_gcc=$GCC
17572
17573 # Compiler flag to turn off builtin functions.
17574 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17575
17576 # Additional compiler flags for building library objects.
17577 pic_flag=$lt_lt_prog_compiler_pic
17578
17579 # How to pass a linker flag through the compiler.
17580 wl=$lt_lt_prog_compiler_wl
17581
17582 # Compiler flag to prevent dynamic linking.
17583 link_static_flag=$lt_lt_prog_compiler_static
17584
17585 # Does compiler simultaneously support -c and -o options?
17586 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17587
17588 # Whether or not to add -lc for building shared libraries.
17589 build_libtool_need_lc=$archive_cmds_need_lc
17590
17591 # Whether or not to disallow shared libs when runtime libs are static.
17592 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17593
17594 # Compiler flag to allow reflexive dlopens.
17595 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17596
17597 # Compiler flag to generate shared objects directly from archives.
17598 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17599
17600 # Whether the compiler copes with passing no objects directly.
17601 compiler_needs_object=$lt_compiler_needs_object
17602
17603 # Create an old-style archive from a shared archive.
17604 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17605
17606 # Create a temporary old-style archive to link instead of a shared archive.
17607 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17608
17609 # Commands used to build a shared archive.
17610 archive_cmds=$lt_archive_cmds
17611 archive_expsym_cmds=$lt_archive_expsym_cmds
17612
17613 # Commands used to build a loadable module if different from building
17614 # a shared archive.
17615 module_cmds=$lt_module_cmds
17616 module_expsym_cmds=$lt_module_expsym_cmds
17617
17618 # Whether we are building with GNU ld or not.
17619 with_gnu_ld=$lt_with_gnu_ld
17620
17621 # Flag that allows shared libraries with undefined symbols to be built.
17622 allow_undefined_flag=$lt_allow_undefined_flag
17623
17624 # Flag that enforces no undefined symbols.
17625 no_undefined_flag=$lt_no_undefined_flag
17626
17627 # Flag to hardcode \$libdir into a binary during linking.
17628 # This must work even if \$libdir does not exist
17629 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17630
17631 # Whether we need a single "-rpath" flag with a separated argument.
17632 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17633
17634 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17635 # DIR into the resulting binary.
17636 hardcode_direct=$hardcode_direct
17637
17638 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17639 # DIR into the resulting binary and the resulting library dependency is
17640 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17641 # library is relocated.
17642 hardcode_direct_absolute=$hardcode_direct_absolute
17643
17644 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17645 # into the resulting binary.
17646 hardcode_minus_L=$hardcode_minus_L
17647
17648 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17649 # into the resulting binary.
17650 hardcode_shlibpath_var=$hardcode_shlibpath_var
17651
17652 # Set to "yes" if building a shared library automatically hardcodes DIR
17653 # into the library and all subsequent libraries and executables linked
17654 # against it.
17655 hardcode_automatic=$hardcode_automatic
17656
17657 # Set to yes if linker adds runtime paths of dependent libraries
17658 # to runtime path list.
17659 inherit_rpath=$inherit_rpath
17660
17661 # Whether libtool must link a program against all its dependency libraries.
17662 link_all_deplibs=$link_all_deplibs
17663
17664 # Set to "yes" if exported symbols are required.
17665 always_export_symbols=$always_export_symbols
17666
17667 # The commands to list exported symbols.
17668 export_symbols_cmds=$lt_export_symbols_cmds
17669
17670 # Symbols that should not be listed in the preloaded symbols.
17671 exclude_expsyms=$lt_exclude_expsyms
17672
17673 # Symbols that must always be exported.
17674 include_expsyms=$lt_include_expsyms
17675
17676 # Commands necessary for linking programs (against libraries) with templates.
17677 prelink_cmds=$lt_prelink_cmds
17678
17679 # Commands necessary for finishing linking programs.
17680 postlink_cmds=$lt_postlink_cmds
17681
17682 # Specify filename containing input files.
17683 file_list_spec=$lt_file_list_spec
17684
17685 # How to hardcode a shared library path into an executable.
17686 hardcode_action=$hardcode_action
17687
17688 # ### END LIBTOOL CONFIG
17689
17690 _LT_EOF
17691
17692   case $host_os in
17693   aix3*)
17694     cat <<\_LT_EOF >> "$cfgfile"
17695 # AIX sometimes has problems with the GCC collect2 program.  For some
17696 # reason, if we set the COLLECT_NAMES environment variable, the problems
17697 # vanish in a puff of smoke.
17698 if test "X${COLLECT_NAMES+set}" != Xset; then
17699   COLLECT_NAMES=
17700   export COLLECT_NAMES
17701 fi
17702 _LT_EOF
17703     ;;
17704   esac
17705
17706
17707 ltmain="$ac_aux_dir/ltmain.sh"
17708
17709
17710   # We use sed instead of cat because bash on DJGPP gets confused if
17711   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17712   # text mode, it properly converts lines to CR/LF.  This bash problem
17713   # is reportedly fixed, but why not run on old versions too?
17714   sed '$q' "$ltmain" >> "$cfgfile" \
17715      || (rm -f "$cfgfile"; exit 1)
17716
17717   if test x"$xsi_shell" = xyes; then
17718   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17719 func_dirname ()\
17720 {\
17721 \    case ${1} in\
17722 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17723 \      *  ) func_dirname_result="${3}" ;;\
17724 \    esac\
17725 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17726   && mv -f "$cfgfile.tmp" "$cfgfile" \
17727     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17728 test 0 -eq $? || _lt_function_replace_fail=:
17729
17730
17731   sed -e '/^func_basename ()$/,/^} # func_basename /c\
17732 func_basename ()\
17733 {\
17734 \    func_basename_result="${1##*/}"\
17735 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17736   && mv -f "$cfgfile.tmp" "$cfgfile" \
17737     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17738 test 0 -eq $? || _lt_function_replace_fail=:
17739
17740
17741   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17742 func_dirname_and_basename ()\
17743 {\
17744 \    case ${1} in\
17745 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17746 \      *  ) func_dirname_result="${3}" ;;\
17747 \    esac\
17748 \    func_basename_result="${1##*/}"\
17749 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17750   && mv -f "$cfgfile.tmp" "$cfgfile" \
17751     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17752 test 0 -eq $? || _lt_function_replace_fail=:
17753
17754
17755   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17756 func_stripname ()\
17757 {\
17758 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17759 \    # positional parameters, so assign one to ordinary parameter first.\
17760 \    func_stripname_result=${3}\
17761 \    func_stripname_result=${func_stripname_result#"${1}"}\
17762 \    func_stripname_result=${func_stripname_result%"${2}"}\
17763 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17764   && mv -f "$cfgfile.tmp" "$cfgfile" \
17765     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17766 test 0 -eq $? || _lt_function_replace_fail=:
17767
17768
17769   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17770 func_split_long_opt ()\
17771 {\
17772 \    func_split_long_opt_name=${1%%=*}\
17773 \    func_split_long_opt_arg=${1#*=}\
17774 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17775   && mv -f "$cfgfile.tmp" "$cfgfile" \
17776     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17777 test 0 -eq $? || _lt_function_replace_fail=:
17778
17779
17780   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17781 func_split_short_opt ()\
17782 {\
17783 \    func_split_short_opt_arg=${1#??}\
17784 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17785 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17786   && mv -f "$cfgfile.tmp" "$cfgfile" \
17787     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17788 test 0 -eq $? || _lt_function_replace_fail=:
17789
17790
17791   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17792 func_lo2o ()\
17793 {\
17794 \    case ${1} in\
17795 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17796 \      *)    func_lo2o_result=${1} ;;\
17797 \    esac\
17798 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17799   && mv -f "$cfgfile.tmp" "$cfgfile" \
17800     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17801 test 0 -eq $? || _lt_function_replace_fail=:
17802
17803
17804   sed -e '/^func_xform ()$/,/^} # func_xform /c\
17805 func_xform ()\
17806 {\
17807     func_xform_result=${1%.*}.lo\
17808 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17809   && mv -f "$cfgfile.tmp" "$cfgfile" \
17810     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17811 test 0 -eq $? || _lt_function_replace_fail=:
17812
17813
17814   sed -e '/^func_arith ()$/,/^} # func_arith /c\
17815 func_arith ()\
17816 {\
17817     func_arith_result=$(( $* ))\
17818 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17819   && mv -f "$cfgfile.tmp" "$cfgfile" \
17820     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17821 test 0 -eq $? || _lt_function_replace_fail=:
17822
17823
17824   sed -e '/^func_len ()$/,/^} # func_len /c\
17825 func_len ()\
17826 {\
17827     func_len_result=${#1}\
17828 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17829   && mv -f "$cfgfile.tmp" "$cfgfile" \
17830     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17831 test 0 -eq $? || _lt_function_replace_fail=:
17832
17833 fi
17834
17835 if test x"$lt_shell_append" = xyes; then
17836   sed -e '/^func_append ()$/,/^} # func_append /c\
17837 func_append ()\
17838 {\
17839     eval "${1}+=\\${2}"\
17840 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17841   && mv -f "$cfgfile.tmp" "$cfgfile" \
17842     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17843 test 0 -eq $? || _lt_function_replace_fail=:
17844
17845
17846   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17847 func_append_quoted ()\
17848 {\
17849 \    func_quote_for_eval "${2}"\
17850 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17851 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17852   && mv -f "$cfgfile.tmp" "$cfgfile" \
17853     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17854 test 0 -eq $? || _lt_function_replace_fail=:
17855
17856
17857   # Save a `func_append' function call where possible by direct use of '+='
17858   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17859     && mv -f "$cfgfile.tmp" "$cfgfile" \
17860       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17861   test 0 -eq $? || _lt_function_replace_fail=:
17862 else
17863   # Save a `func_append' function call even when '+=' is not available
17864   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17865     && mv -f "$cfgfile.tmp" "$cfgfile" \
17866       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17867   test 0 -eq $? || _lt_function_replace_fail=:
17868 fi
17869
17870 if test x"$_lt_function_replace_fail" = x":"; then
17871   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17872 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17873 fi
17874
17875
17876    mv -f "$cfgfile" "$ofile" ||
17877     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17878   chmod +x "$ofile"
17879
17880  ;;
17881
17882   esac
17883 done # for ac_tag
17884
17885
17886 as_fn_exit 0
17887 _ACEOF
17888 ac_clean_files=$ac_clean_files_save
17889
17890 test $ac_write_fail = 0 ||
17891   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17892
17893
17894 # configure is writing to config.log, and then calls config.status.
17895 # config.status does its own redirection, appending to config.log.
17896 # Unfortunately, on DOS this fails, as config.log is still kept open
17897 # by configure, so config.status won't be able to write to it; its
17898 # output is simply discarded.  So we exec the FD to /dev/null,
17899 # effectively closing config.log, so it can be properly (re)opened and
17900 # appended to by config.status.  When coming back to configure, we
17901 # need to make the FD available again.
17902 if test "$no_create" != yes; then
17903   ac_cs_success=:
17904   ac_config_status_args=
17905   test "$silent" = yes &&
17906     ac_config_status_args="$ac_config_status_args --quiet"
17907   exec 5>/dev/null
17908   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17909   exec 5>>config.log
17910   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17911   # would make configure fail if this is the last instruction.
17912   $ac_cs_success || as_fn_exit 1
17913 fi
17914 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17915   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17916 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17917 fi
17918
17919 fi