8c6f951e5a3370da90a1bec4b0c8677a51b9cf98
[profile/ivi/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 0.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='0.0.3'
591 PACKAGE_STRING='gsignond 0.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 GTKDOC_DEPS_LIBS
647 GTKDOC_DEPS_CFLAGS
648 HTML_DIR
649 GTKDOC_MKPDF
650 GTKDOC_REBASE
651 GTKDOC_CHECK
652 DBUS_INTERFACES_DIR
653 DBUS_SERVICES_DIR
654 SET_PERMISSIONS_FALSE
655 SET_PERMISSIONS_TRUE
656 HAVE_DEBUG_FALSE
657 HAVE_DEBUG_TRUE
658 MESSAGE_BUS_TYPE
659 USE_GTESTDBUS_FALSE
660 USE_GTESTDBUS_TRUE
661 GTestDBus_LIBS
662 GTestDBus_CFLAGS
663 GLIB_MKENUMS
664 HAVE_LIBECRYPTFS_FALSE
665 HAVE_LIBECRYPTFS_TRUE
666 LIBECRYPTFS_LIBS
667 LIBECRYPTFS_CFLAGS
668 HAVE_LIBSMACK_FALSE
669 HAVE_LIBSMACK_TRUE
670 LIBSMACK_LIBS
671 LIBSMACK_CFLAGS
672 CHECK_LIBS
673 CHECK_CFLAGS
674 GSIGNOND_LIBS
675 GSIGNOND_CFLAGS
676 PKG_CONFIG_LIBDIR
677 PKG_CONFIG_PATH
678 PKG_CONFIG
679 CPP
680 OTOOL64
681 OTOOL
682 LIPO
683 NMEDIT
684 DSYMUTIL
685 MANIFEST_TOOL
686 RANLIB
687 DLLTOOL
688 OBJDUMP
689 LN_S
690 NM
691 ac_ct_DUMPBIN
692 DUMPBIN
693 LD
694 FGREP
695 EGREP
696 GREP
697 SED
698 host_os
699 host_vendor
700 host_cpu
701 host
702 build_os
703 build_vendor
704 build_cpu
705 build
706 LIBTOOL
707 ifGNUmake
708 ac_ct_AR
709 AR
710 am__fastdepCC_FALSE
711 am__fastdepCC_TRUE
712 CCDEPMODE
713 am__nodep
714 AMDEPBACKSLASH
715 AMDEP_FALSE
716 AMDEP_TRUE
717 am__quote
718 am__include
719 DEPDIR
720 OBJEXT
721 EXEEXT
722 ac_ct_CC
723 CPPFLAGS
724 LDFLAGS
725 CFLAGS
726 CC
727 AM_BACKSLASH
728 AM_DEFAULT_VERBOSITY
729 AM_DEFAULT_V
730 AM_V
731 am__untar
732 am__tar
733 AMTAR
734 am__leading_dot
735 SET_MAKE
736 AWK
737 mkdir_p
738 MKDIR_P
739 INSTALL_STRIP_PROGRAM
740 STRIP
741 install_sh
742 MAKEINFO
743 AUTOHEADER
744 AUTOMAKE
745 AUTOCONF
746 ACLOCAL
747 VERSION
748 PACKAGE
749 CYGPATH_W
750 am__isrc
751 INSTALL_DATA
752 INSTALL_SCRIPT
753 INSTALL_PROGRAM
754 target_alias
755 host_alias
756 build_alias
757 LIBS
758 ECHO_T
759 ECHO_N
760 ECHO_C
761 DEFS
762 mandir
763 localedir
764 libdir
765 psdir
766 pdfdir
767 dvidir
768 htmldir
769 infodir
770 docdir
771 oldincludedir
772 includedir
773 localstatedir
774 sharedstatedir
775 sysconfdir
776 datadir
777 datarootdir
778 libexecdir
779 sbindir
780 bindir
781 program_transform_name
782 prefix
783 exec_prefix
784 PACKAGE_URL
785 PACKAGE_BUGREPORT
786 PACKAGE_STRING
787 PACKAGE_VERSION
788 PACKAGE_TARNAME
789 PACKAGE_NAME
790 PATH_SEPARATOR
791 SHELL'
792 ac_subst_files=''
793 ac_user_opts='
794 enable_option_checking
795 enable_silent_rules
796 enable_dependency_tracking
797 enable_static
798 enable_shared
799 with_pic
800 enable_fast_install
801 with_gnu_ld
802 with_sysroot
803 enable_libtool_lock
804 enable_distcheck
805 enable_dbus_type
806 enable_keychain
807 enable_debug
808 enable_sql_log
809 enable_acltriggers
810 with_html_dir
811 enable_gtk_doc
812 enable_gtk_doc_html
813 enable_gtk_doc_pdf
814 '
815       ac_precious_vars='build_alias
816 host_alias
817 target_alias
818 CC
819 CFLAGS
820 LDFLAGS
821 LIBS
822 CPPFLAGS
823 CPP
824 PKG_CONFIG
825 PKG_CONFIG_PATH
826 PKG_CONFIG_LIBDIR
827 GSIGNOND_CFLAGS
828 GSIGNOND_LIBS
829 CHECK_CFLAGS
830 CHECK_LIBS
831 LIBSMACK_CFLAGS
832 LIBSMACK_LIBS
833 LIBECRYPTFS_CFLAGS
834 LIBECRYPTFS_LIBS
835 GTestDBus_CFLAGS
836 GTestDBus_LIBS
837 GTKDOC_DEPS_CFLAGS
838 GTKDOC_DEPS_LIBS'
839
840
841 # Initialize some variables set by options.
842 ac_init_help=
843 ac_init_version=false
844 ac_unrecognized_opts=
845 ac_unrecognized_sep=
846 # The variables have the same names as the options, with
847 # dashes changed to underlines.
848 cache_file=/dev/null
849 exec_prefix=NONE
850 no_create=
851 no_recursion=
852 prefix=NONE
853 program_prefix=NONE
854 program_suffix=NONE
855 program_transform_name=s,x,x,
856 silent=
857 site=
858 srcdir=
859 verbose=
860 x_includes=NONE
861 x_libraries=NONE
862
863 # Installation directory options.
864 # These are left unexpanded so users can "make install exec_prefix=/foo"
865 # and all the variables that are supposed to be based on exec_prefix
866 # by default will actually change.
867 # Use braces instead of parens because sh, perl, etc. also accept them.
868 # (The list follows the same order as the GNU Coding Standards.)
869 bindir='${exec_prefix}/bin'
870 sbindir='${exec_prefix}/sbin'
871 libexecdir='${exec_prefix}/libexec'
872 datarootdir='${prefix}/share'
873 datadir='${datarootdir}'
874 sysconfdir='${prefix}/etc'
875 sharedstatedir='${prefix}/com'
876 localstatedir='${prefix}/var'
877 includedir='${prefix}/include'
878 oldincludedir='/usr/include'
879 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
880 infodir='${datarootdir}/info'
881 htmldir='${docdir}'
882 dvidir='${docdir}'
883 pdfdir='${docdir}'
884 psdir='${docdir}'
885 libdir='${exec_prefix}/lib'
886 localedir='${datarootdir}/locale'
887 mandir='${datarootdir}/man'
888
889 ac_prev=
890 ac_dashdash=
891 for ac_option
892 do
893   # If the previous option needs an argument, assign it.
894   if test -n "$ac_prev"; then
895     eval $ac_prev=\$ac_option
896     ac_prev=
897     continue
898   fi
899
900   case $ac_option in
901   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
902   *=)   ac_optarg= ;;
903   *)    ac_optarg=yes ;;
904   esac
905
906   # Accept the important Cygnus configure options, so we can diagnose typos.
907
908   case $ac_dashdash$ac_option in
909   --)
910     ac_dashdash=yes ;;
911
912   -bindir | --bindir | --bindi | --bind | --bin | --bi)
913     ac_prev=bindir ;;
914   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
915     bindir=$ac_optarg ;;
916
917   -build | --build | --buil | --bui | --bu)
918     ac_prev=build_alias ;;
919   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
920     build_alias=$ac_optarg ;;
921
922   -cache-file | --cache-file | --cache-fil | --cache-fi \
923   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
924     ac_prev=cache_file ;;
925   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
926   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
927     cache_file=$ac_optarg ;;
928
929   --config-cache | -C)
930     cache_file=config.cache ;;
931
932   -datadir | --datadir | --datadi | --datad)
933     ac_prev=datadir ;;
934   -datadir=* | --datadir=* | --datadi=* | --datad=*)
935     datadir=$ac_optarg ;;
936
937   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
938   | --dataroo | --dataro | --datar)
939     ac_prev=datarootdir ;;
940   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
941   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
942     datarootdir=$ac_optarg ;;
943
944   -disable-* | --disable-*)
945     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
946     # Reject names that are not valid shell variable names.
947     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
948       as_fn_error $? "invalid feature name: $ac_useropt"
949     ac_useropt_orig=$ac_useropt
950     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
951     case $ac_user_opts in
952       *"
953 "enable_$ac_useropt"
954 "*) ;;
955       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
956          ac_unrecognized_sep=', ';;
957     esac
958     eval enable_$ac_useropt=no ;;
959
960   -docdir | --docdir | --docdi | --doc | --do)
961     ac_prev=docdir ;;
962   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
963     docdir=$ac_optarg ;;
964
965   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
966     ac_prev=dvidir ;;
967   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
968     dvidir=$ac_optarg ;;
969
970   -enable-* | --enable-*)
971     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
972     # Reject names that are not valid shell variable names.
973     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
974       as_fn_error $? "invalid feature name: $ac_useropt"
975     ac_useropt_orig=$ac_useropt
976     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
977     case $ac_user_opts in
978       *"
979 "enable_$ac_useropt"
980 "*) ;;
981       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
982          ac_unrecognized_sep=', ';;
983     esac
984     eval enable_$ac_useropt=\$ac_optarg ;;
985
986   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
987   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
988   | --exec | --exe | --ex)
989     ac_prev=exec_prefix ;;
990   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
991   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
992   | --exec=* | --exe=* | --ex=*)
993     exec_prefix=$ac_optarg ;;
994
995   -gas | --gas | --ga | --g)
996     # Obsolete; use --with-gas.
997     with_gas=yes ;;
998
999   -help | --help | --hel | --he | -h)
1000     ac_init_help=long ;;
1001   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1002     ac_init_help=recursive ;;
1003   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1004     ac_init_help=short ;;
1005
1006   -host | --host | --hos | --ho)
1007     ac_prev=host_alias ;;
1008   -host=* | --host=* | --hos=* | --ho=*)
1009     host_alias=$ac_optarg ;;
1010
1011   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1012     ac_prev=htmldir ;;
1013   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1014   | --ht=*)
1015     htmldir=$ac_optarg ;;
1016
1017   -includedir | --includedir | --includedi | --included | --include \
1018   | --includ | --inclu | --incl | --inc)
1019     ac_prev=includedir ;;
1020   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1021   | --includ=* | --inclu=* | --incl=* | --inc=*)
1022     includedir=$ac_optarg ;;
1023
1024   -infodir | --infodir | --infodi | --infod | --info | --inf)
1025     ac_prev=infodir ;;
1026   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1027     infodir=$ac_optarg ;;
1028
1029   -libdir | --libdir | --libdi | --libd)
1030     ac_prev=libdir ;;
1031   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1032     libdir=$ac_optarg ;;
1033
1034   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1035   | --libexe | --libex | --libe)
1036     ac_prev=libexecdir ;;
1037   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1038   | --libexe=* | --libex=* | --libe=*)
1039     libexecdir=$ac_optarg ;;
1040
1041   -localedir | --localedir | --localedi | --localed | --locale)
1042     ac_prev=localedir ;;
1043   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1044     localedir=$ac_optarg ;;
1045
1046   -localstatedir | --localstatedir | --localstatedi | --localstated \
1047   | --localstate | --localstat | --localsta | --localst | --locals)
1048     ac_prev=localstatedir ;;
1049   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1050   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1051     localstatedir=$ac_optarg ;;
1052
1053   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1054     ac_prev=mandir ;;
1055   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1056     mandir=$ac_optarg ;;
1057
1058   -nfp | --nfp | --nf)
1059     # Obsolete; use --without-fp.
1060     with_fp=no ;;
1061
1062   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1063   | --no-cr | --no-c | -n)
1064     no_create=yes ;;
1065
1066   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1067   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1068     no_recursion=yes ;;
1069
1070   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1071   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1072   | --oldin | --oldi | --old | --ol | --o)
1073     ac_prev=oldincludedir ;;
1074   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1075   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1076   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1077     oldincludedir=$ac_optarg ;;
1078
1079   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1080     ac_prev=prefix ;;
1081   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1082     prefix=$ac_optarg ;;
1083
1084   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1085   | --program-pre | --program-pr | --program-p)
1086     ac_prev=program_prefix ;;
1087   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1088   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1089     program_prefix=$ac_optarg ;;
1090
1091   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1092   | --program-suf | --program-su | --program-s)
1093     ac_prev=program_suffix ;;
1094   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1095   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1096     program_suffix=$ac_optarg ;;
1097
1098   -program-transform-name | --program-transform-name \
1099   | --program-transform-nam | --program-transform-na \
1100   | --program-transform-n | --program-transform- \
1101   | --program-transform | --program-transfor \
1102   | --program-transfo | --program-transf \
1103   | --program-trans | --program-tran \
1104   | --progr-tra | --program-tr | --program-t)
1105     ac_prev=program_transform_name ;;
1106   -program-transform-name=* | --program-transform-name=* \
1107   | --program-transform-nam=* | --program-transform-na=* \
1108   | --program-transform-n=* | --program-transform-=* \
1109   | --program-transform=* | --program-transfor=* \
1110   | --program-transfo=* | --program-transf=* \
1111   | --program-trans=* | --program-tran=* \
1112   | --progr-tra=* | --program-tr=* | --program-t=*)
1113     program_transform_name=$ac_optarg ;;
1114
1115   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1116     ac_prev=pdfdir ;;
1117   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1118     pdfdir=$ac_optarg ;;
1119
1120   -psdir | --psdir | --psdi | --psd | --ps)
1121     ac_prev=psdir ;;
1122   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1123     psdir=$ac_optarg ;;
1124
1125   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1126   | -silent | --silent | --silen | --sile | --sil)
1127     silent=yes ;;
1128
1129   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1130     ac_prev=sbindir ;;
1131   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1132   | --sbi=* | --sb=*)
1133     sbindir=$ac_optarg ;;
1134
1135   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1136   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1137   | --sharedst | --shareds | --shared | --share | --shar \
1138   | --sha | --sh)
1139     ac_prev=sharedstatedir ;;
1140   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1141   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1142   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1143   | --sha=* | --sh=*)
1144     sharedstatedir=$ac_optarg ;;
1145
1146   -site | --site | --sit)
1147     ac_prev=site ;;
1148   -site=* | --site=* | --sit=*)
1149     site=$ac_optarg ;;
1150
1151   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1152     ac_prev=srcdir ;;
1153   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1154     srcdir=$ac_optarg ;;
1155
1156   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1157   | --syscon | --sysco | --sysc | --sys | --sy)
1158     ac_prev=sysconfdir ;;
1159   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1160   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1161     sysconfdir=$ac_optarg ;;
1162
1163   -target | --target | --targe | --targ | --tar | --ta | --t)
1164     ac_prev=target_alias ;;
1165   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1166     target_alias=$ac_optarg ;;
1167
1168   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1169     verbose=yes ;;
1170
1171   -version | --version | --versio | --versi | --vers | -V)
1172     ac_init_version=: ;;
1173
1174   -with-* | --with-*)
1175     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1176     # Reject names that are not valid shell variable names.
1177     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1178       as_fn_error $? "invalid package name: $ac_useropt"
1179     ac_useropt_orig=$ac_useropt
1180     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1181     case $ac_user_opts in
1182       *"
1183 "with_$ac_useropt"
1184 "*) ;;
1185       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1186          ac_unrecognized_sep=', ';;
1187     esac
1188     eval with_$ac_useropt=\$ac_optarg ;;
1189
1190   -without-* | --without-*)
1191     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1192     # Reject names that are not valid shell variable names.
1193     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1194       as_fn_error $? "invalid package name: $ac_useropt"
1195     ac_useropt_orig=$ac_useropt
1196     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1197     case $ac_user_opts in
1198       *"
1199 "with_$ac_useropt"
1200 "*) ;;
1201       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1202          ac_unrecognized_sep=', ';;
1203     esac
1204     eval with_$ac_useropt=no ;;
1205
1206   --x)
1207     # Obsolete; use --with-x.
1208     with_x=yes ;;
1209
1210   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1211   | --x-incl | --x-inc | --x-in | --x-i)
1212     ac_prev=x_includes ;;
1213   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1214   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1215     x_includes=$ac_optarg ;;
1216
1217   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1218   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1219     ac_prev=x_libraries ;;
1220   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1221   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1222     x_libraries=$ac_optarg ;;
1223
1224   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1225 Try \`$0 --help' for more information"
1226     ;;
1227
1228   *=*)
1229     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1230     # Reject names that are not valid shell variable names.
1231     case $ac_envvar in #(
1232       '' | [0-9]* | *[!_$as_cr_alnum]* )
1233       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1234     esac
1235     eval $ac_envvar=\$ac_optarg
1236     export $ac_envvar ;;
1237
1238   *)
1239     # FIXME: should be removed in autoconf 3.0.
1240     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1241     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1242       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1243     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1244     ;;
1245
1246   esac
1247 done
1248
1249 if test -n "$ac_prev"; then
1250   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1251   as_fn_error $? "missing argument to $ac_option"
1252 fi
1253
1254 if test -n "$ac_unrecognized_opts"; then
1255   case $enable_option_checking in
1256     no) ;;
1257     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1258     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1259   esac
1260 fi
1261
1262 # Check all directory arguments for consistency.
1263 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1264                 datadir sysconfdir sharedstatedir localstatedir includedir \
1265                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1266                 libdir localedir mandir
1267 do
1268   eval ac_val=\$$ac_var
1269   # Remove trailing slashes.
1270   case $ac_val in
1271     */ )
1272       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1273       eval $ac_var=\$ac_val;;
1274   esac
1275   # Be sure to have absolute directory names.
1276   case $ac_val in
1277     [\\/$]* | ?:[\\/]* )  continue;;
1278     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1279   esac
1280   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1281 done
1282
1283 # There might be people who depend on the old broken behavior: `$host'
1284 # used to hold the argument of --host etc.
1285 # FIXME: To remove some day.
1286 build=$build_alias
1287 host=$host_alias
1288 target=$target_alias
1289
1290 # FIXME: To remove some day.
1291 if test "x$host_alias" != x; then
1292   if test "x$build_alias" = x; then
1293     cross_compiling=maybe
1294   elif test "x$build_alias" != "x$host_alias"; then
1295     cross_compiling=yes
1296   fi
1297 fi
1298
1299 ac_tool_prefix=
1300 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1301
1302 test "$silent" = yes && exec 6>/dev/null
1303
1304
1305 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1306 ac_ls_di=`ls -di .` &&
1307 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1308   as_fn_error $? "working directory cannot be determined"
1309 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1310   as_fn_error $? "pwd does not report name of working directory"
1311
1312
1313 # Find the source files, if location was not specified.
1314 if test -z "$srcdir"; then
1315   ac_srcdir_defaulted=yes
1316   # Try the directory containing this script, then the parent directory.
1317   ac_confdir=`$as_dirname -- "$as_myself" ||
1318 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1319          X"$as_myself" : 'X\(//\)[^/]' \| \
1320          X"$as_myself" : 'X\(//\)$' \| \
1321          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1322 $as_echo X"$as_myself" |
1323     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1324             s//\1/
1325             q
1326           }
1327           /^X\(\/\/\)[^/].*/{
1328             s//\1/
1329             q
1330           }
1331           /^X\(\/\/\)$/{
1332             s//\1/
1333             q
1334           }
1335           /^X\(\/\).*/{
1336             s//\1/
1337             q
1338           }
1339           s/.*/./; q'`
1340   srcdir=$ac_confdir
1341   if test ! -r "$srcdir/$ac_unique_file"; then
1342     srcdir=..
1343   fi
1344 else
1345   ac_srcdir_defaulted=no
1346 fi
1347 if test ! -r "$srcdir/$ac_unique_file"; then
1348   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1349   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1350 fi
1351 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1352 ac_abs_confdir=`(
1353         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1354         pwd)`
1355 # When building in place, set srcdir=.
1356 if test "$ac_abs_confdir" = "$ac_pwd"; then
1357   srcdir=.
1358 fi
1359 # Remove unnecessary trailing slashes from srcdir.
1360 # Double slashes in file names in object file debugging info
1361 # mess up M-x gdb in Emacs.
1362 case $srcdir in
1363 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1364 esac
1365 for ac_var in $ac_precious_vars; do
1366   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1367   eval ac_env_${ac_var}_value=\$${ac_var}
1368   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1369   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1370 done
1371
1372 #
1373 # Report the --help message.
1374 #
1375 if test "$ac_init_help" = "long"; then
1376   # Omit some internal or obsolete options to make the list less imposing.
1377   # This message is too long to be a string in the A/UX 3.1 sh.
1378   cat <<_ACEOF
1379 \`configure' configures gsignond 0.0.3 to adapt to many kinds of systems.
1380
1381 Usage: $0 [OPTION]... [VAR=VALUE]...
1382
1383 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1384 VAR=VALUE.  See below for descriptions of some of the useful variables.
1385
1386 Defaults for the options are specified in brackets.
1387
1388 Configuration:
1389   -h, --help              display this help and exit
1390       --help=short        display options specific to this package
1391       --help=recursive    display the short help of all the included packages
1392   -V, --version           display version information and exit
1393   -q, --quiet, --silent   do not print \`checking ...' messages
1394       --cache-file=FILE   cache test results in FILE [disabled]
1395   -C, --config-cache      alias for \`--cache-file=config.cache'
1396   -n, --no-create         do not create output files
1397       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1398
1399 Installation directories:
1400   --prefix=PREFIX         install architecture-independent files in PREFIX
1401                           [$ac_default_prefix]
1402   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1403                           [PREFIX]
1404
1405 By default, \`make install' will install all the files in
1406 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1407 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1408 for instance \`--prefix=\$HOME'.
1409
1410 For better control, use the options below.
1411
1412 Fine tuning of the installation directories:
1413   --bindir=DIR            user executables [EPREFIX/bin]
1414   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1415   --libexecdir=DIR        program executables [EPREFIX/libexec]
1416   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1417   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1418   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1419   --libdir=DIR            object code libraries [EPREFIX/lib]
1420   --includedir=DIR        C header files [PREFIX/include]
1421   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1422   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1423   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1424   --infodir=DIR           info documentation [DATAROOTDIR/info]
1425   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1426   --mandir=DIR            man documentation [DATAROOTDIR/man]
1427   --docdir=DIR            documentation root [DATAROOTDIR/doc/gsignond]
1428   --htmldir=DIR           html documentation [DOCDIR]
1429   --dvidir=DIR            dvi documentation [DOCDIR]
1430   --pdfdir=DIR            pdf documentation [DOCDIR]
1431   --psdir=DIR             ps documentation [DOCDIR]
1432 _ACEOF
1433
1434   cat <<\_ACEOF
1435
1436 Program names:
1437   --program-prefix=PREFIX            prepend PREFIX to installed program names
1438   --program-suffix=SUFFIX            append SUFFIX to installed program names
1439   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1440
1441 System types:
1442   --build=BUILD     configure for building on BUILD [guessed]
1443   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1444 _ACEOF
1445 fi
1446
1447 if test -n "$ac_init_help"; then
1448   case $ac_init_help in
1449      short | recursive ) echo "Configuration of gsignond 0.0.3:";;
1450    esac
1451   cat <<\_ACEOF
1452
1453 Optional Features:
1454   --disable-option-checking  ignore unrecognized --enable/--with options
1455   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1456   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1457   --enable-silent-rules          less verbose build output (undo: `make V=1')
1458   --disable-silent-rules         verbose build output (undo: `make V=0')
1459   --disable-dependency-tracking  speeds up one-time build
1460   --enable-dependency-tracking   do not reject slow dependency extractors
1461   --enable-static[=PKGS]  build static libraries [default=no]
1462   --enable-shared[=PKGS]  build shared libraries [default=yes]
1463   --enable-fast-install[=PKGS]
1464                           optimize for fast installation [default=yes]
1465   --disable-libtool-lock  avoid locking (might break parallel builds)
1466   --enable-distcheck build for distcheck target
1467   --enable-dbus-type=dbus-type specify daemon dbus type:
1468                           p2p(default): uses peer to peer dbus
1469                           session: uses session message bus
1470                           system: uses system message bus
1471   --enable-keychain=sysctx
1472                           enable keychain access with
1473                           system context "sysctx"
1474   --enable-debug          enable debug features
1475   --enable-sql-log        enable sql log feature
1476   --enable-acltriggers    enable ACL before delete triggers
1477   --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1478   --enable-gtk-doc-html   build documentation in html format [[default=yes]]
1479   --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1480
1481 Optional Packages:
1482   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1483   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1484   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1485                           both]
1486   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1487   --with-sysroot=DIR Search for dependent libraries within DIR
1488                         (or the compiler's sysroot if not specified).
1489   --with-html-dir=PATH    path to installed docs
1490
1491 Some influential environment variables:
1492   CC          C compiler command
1493   CFLAGS      C compiler flags
1494   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1495               nonstandard directory <lib dir>
1496   LIBS        libraries to pass to the linker, e.g. -l<library>
1497   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1498               you have headers in a nonstandard directory <include dir>
1499   CPP         C preprocessor
1500   PKG_CONFIG  path to pkg-config utility
1501   PKG_CONFIG_PATH
1502               directories to add to pkg-config's search path
1503   PKG_CONFIG_LIBDIR
1504               path overriding pkg-config's built-in search path
1505   GSIGNOND_CFLAGS
1506               C compiler flags for GSIGNOND, overriding pkg-config
1507   GSIGNOND_LIBS
1508               linker flags for GSIGNOND, overriding pkg-config
1509   CHECK_CFLAGS
1510               C compiler flags for CHECK, overriding pkg-config
1511   CHECK_LIBS  linker flags for CHECK, overriding pkg-config
1512   LIBSMACK_CFLAGS
1513               C compiler flags for LIBSMACK, overriding pkg-config
1514   LIBSMACK_LIBS
1515               linker flags for LIBSMACK, overriding pkg-config
1516   LIBECRYPTFS_CFLAGS
1517               C compiler flags for LIBECRYPTFS, overriding pkg-config
1518   LIBECRYPTFS_LIBS
1519               linker flags for LIBECRYPTFS, overriding pkg-config
1520   GTestDBus_CFLAGS
1521               C compiler flags for GTestDBus, overriding pkg-config
1522   GTestDBus_LIBS
1523               linker flags for GTestDBus, overriding pkg-config
1524   GTKDOC_DEPS_CFLAGS
1525               C compiler flags for GTKDOC_DEPS, overriding pkg-config
1526   GTKDOC_DEPS_LIBS
1527               linker flags for GTKDOC_DEPS, overriding pkg-config
1528
1529 Use these variables to override the choices made by `configure' or to help
1530 it to find libraries and programs with nonstandard names/locations.
1531
1532 Report bugs to the package provider.
1533 gsignond home page: <http://01.org/gsso>.
1534 _ACEOF
1535 ac_status=$?
1536 fi
1537
1538 if test "$ac_init_help" = "recursive"; then
1539   # If there are subdirs, report their specific --help.
1540   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1541     test -d "$ac_dir" ||
1542       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1543       continue
1544     ac_builddir=.
1545
1546 case "$ac_dir" in
1547 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1548 *)
1549   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1550   # A ".." for each directory in $ac_dir_suffix.
1551   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1552   case $ac_top_builddir_sub in
1553   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1554   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1555   esac ;;
1556 esac
1557 ac_abs_top_builddir=$ac_pwd
1558 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1559 # for backward compatibility:
1560 ac_top_builddir=$ac_top_build_prefix
1561
1562 case $srcdir in
1563   .)  # We are building in place.
1564     ac_srcdir=.
1565     ac_top_srcdir=$ac_top_builddir_sub
1566     ac_abs_top_srcdir=$ac_pwd ;;
1567   [\\/]* | ?:[\\/]* )  # Absolute name.
1568     ac_srcdir=$srcdir$ac_dir_suffix;
1569     ac_top_srcdir=$srcdir
1570     ac_abs_top_srcdir=$srcdir ;;
1571   *) # Relative name.
1572     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1573     ac_top_srcdir=$ac_top_build_prefix$srcdir
1574     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1575 esac
1576 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1577
1578     cd "$ac_dir" || { ac_status=$?; continue; }
1579     # Check for guested configure.
1580     if test -f "$ac_srcdir/configure.gnu"; then
1581       echo &&
1582       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1583     elif test -f "$ac_srcdir/configure"; then
1584       echo &&
1585       $SHELL "$ac_srcdir/configure" --help=recursive
1586     else
1587       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1588     fi || ac_status=$?
1589     cd "$ac_pwd" || { ac_status=$?; break; }
1590   done
1591 fi
1592
1593 test -n "$ac_init_help" && exit $ac_status
1594 if $ac_init_version; then
1595   cat <<\_ACEOF
1596 gsignond configure 0.0.3
1597 generated by GNU Autoconf 2.69
1598
1599 Copyright (C) 2012 Free Software Foundation, Inc.
1600 This configure script is free software; the Free Software Foundation
1601 gives unlimited permission to copy, distribute and modify it.
1602 _ACEOF
1603   exit
1604 fi
1605
1606 ## ------------------------ ##
1607 ## Autoconf initialization. ##
1608 ## ------------------------ ##
1609
1610 # ac_fn_c_try_compile LINENO
1611 # --------------------------
1612 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1613 ac_fn_c_try_compile ()
1614 {
1615   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1616   rm -f conftest.$ac_objext
1617   if { { ac_try="$ac_compile"
1618 case "(($ac_try" in
1619   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1620   *) ac_try_echo=$ac_try;;
1621 esac
1622 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1623 $as_echo "$ac_try_echo"; } >&5
1624   (eval "$ac_compile") 2>conftest.err
1625   ac_status=$?
1626   if test -s conftest.err; then
1627     grep -v '^ *+' conftest.err >conftest.er1
1628     cat conftest.er1 >&5
1629     mv -f conftest.er1 conftest.err
1630   fi
1631   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1632   test $ac_status = 0; } && {
1633          test -z "$ac_c_werror_flag" ||
1634          test ! -s conftest.err
1635        } && test -s conftest.$ac_objext; then :
1636   ac_retval=0
1637 else
1638   $as_echo "$as_me: failed program was:" >&5
1639 sed 's/^/| /' conftest.$ac_ext >&5
1640
1641         ac_retval=1
1642 fi
1643   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1644   as_fn_set_status $ac_retval
1645
1646 } # ac_fn_c_try_compile
1647
1648 # ac_fn_c_try_link LINENO
1649 # -----------------------
1650 # Try to link conftest.$ac_ext, and return whether this succeeded.
1651 ac_fn_c_try_link ()
1652 {
1653   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1654   rm -f conftest.$ac_objext conftest$ac_exeext
1655   if { { ac_try="$ac_link"
1656 case "(($ac_try" in
1657   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1658   *) ac_try_echo=$ac_try;;
1659 esac
1660 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1661 $as_echo "$ac_try_echo"; } >&5
1662   (eval "$ac_link") 2>conftest.err
1663   ac_status=$?
1664   if test -s conftest.err; then
1665     grep -v '^ *+' conftest.err >conftest.er1
1666     cat conftest.er1 >&5
1667     mv -f conftest.er1 conftest.err
1668   fi
1669   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1670   test $ac_status = 0; } && {
1671          test -z "$ac_c_werror_flag" ||
1672          test ! -s conftest.err
1673        } && test -s conftest$ac_exeext && {
1674          test "$cross_compiling" = yes ||
1675          test -x conftest$ac_exeext
1676        }; then :
1677   ac_retval=0
1678 else
1679   $as_echo "$as_me: failed program was:" >&5
1680 sed 's/^/| /' conftest.$ac_ext >&5
1681
1682         ac_retval=1
1683 fi
1684   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1685   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1686   # interfere with the next link command; also delete a directory that is
1687   # left behind by Apple's compiler.  We do this before executing the actions.
1688   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1689   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1690   as_fn_set_status $ac_retval
1691
1692 } # ac_fn_c_try_link
1693
1694 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1695 # -------------------------------------------------------
1696 # Tests whether HEADER exists and can be compiled using the include files in
1697 # INCLUDES, setting the cache variable VAR accordingly.
1698 ac_fn_c_check_header_compile ()
1699 {
1700   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1701   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1702 $as_echo_n "checking for $2... " >&6; }
1703 if eval \${$3+:} false; then :
1704   $as_echo_n "(cached) " >&6
1705 else
1706   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1707 /* end confdefs.h.  */
1708 $4
1709 #include <$2>
1710 _ACEOF
1711 if ac_fn_c_try_compile "$LINENO"; then :
1712   eval "$3=yes"
1713 else
1714   eval "$3=no"
1715 fi
1716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1717 fi
1718 eval ac_res=\$$3
1719                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1720 $as_echo "$ac_res" >&6; }
1721   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1722
1723 } # ac_fn_c_check_header_compile
1724
1725 # ac_fn_c_try_cpp LINENO
1726 # ----------------------
1727 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1728 ac_fn_c_try_cpp ()
1729 {
1730   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1731   if { { ac_try="$ac_cpp conftest.$ac_ext"
1732 case "(($ac_try" in
1733   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1734   *) ac_try_echo=$ac_try;;
1735 esac
1736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1737 $as_echo "$ac_try_echo"; } >&5
1738   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1739   ac_status=$?
1740   if test -s conftest.err; then
1741     grep -v '^ *+' conftest.err >conftest.er1
1742     cat conftest.er1 >&5
1743     mv -f conftest.er1 conftest.err
1744   fi
1745   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1746   test $ac_status = 0; } > conftest.i && {
1747          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1748          test ! -s conftest.err
1749        }; then :
1750   ac_retval=0
1751 else
1752   $as_echo "$as_me: failed program was:" >&5
1753 sed 's/^/| /' conftest.$ac_ext >&5
1754
1755     ac_retval=1
1756 fi
1757   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1758   as_fn_set_status $ac_retval
1759
1760 } # ac_fn_c_try_cpp
1761
1762 # ac_fn_c_try_run LINENO
1763 # ----------------------
1764 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1765 # that executables *can* be run.
1766 ac_fn_c_try_run ()
1767 {
1768   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1769   if { { ac_try="$ac_link"
1770 case "(($ac_try" in
1771   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1772   *) ac_try_echo=$ac_try;;
1773 esac
1774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1775 $as_echo "$ac_try_echo"; } >&5
1776   (eval "$ac_link") 2>&5
1777   ac_status=$?
1778   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1779   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1780   { { case "(($ac_try" in
1781   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1782   *) ac_try_echo=$ac_try;;
1783 esac
1784 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1785 $as_echo "$ac_try_echo"; } >&5
1786   (eval "$ac_try") 2>&5
1787   ac_status=$?
1788   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1789   test $ac_status = 0; }; }; then :
1790   ac_retval=0
1791 else
1792   $as_echo "$as_me: program exited with status $ac_status" >&5
1793        $as_echo "$as_me: failed program was:" >&5
1794 sed 's/^/| /' conftest.$ac_ext >&5
1795
1796        ac_retval=$ac_status
1797 fi
1798   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1799   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1800   as_fn_set_status $ac_retval
1801
1802 } # ac_fn_c_try_run
1803
1804 # ac_fn_c_check_func LINENO FUNC VAR
1805 # ----------------------------------
1806 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1807 ac_fn_c_check_func ()
1808 {
1809   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1810   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1811 $as_echo_n "checking for $2... " >&6; }
1812 if eval \${$3+:} false; then :
1813   $as_echo_n "(cached) " >&6
1814 else
1815   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1816 /* end confdefs.h.  */
1817 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1818    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1819 #define $2 innocuous_$2
1820
1821 /* System header to define __stub macros and hopefully few prototypes,
1822     which can conflict with char $2 (); below.
1823     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1824     <limits.h> exists even on freestanding compilers.  */
1825
1826 #ifdef __STDC__
1827 # include <limits.h>
1828 #else
1829 # include <assert.h>
1830 #endif
1831
1832 #undef $2
1833
1834 /* Override any GCC internal prototype to avoid an error.
1835    Use char because int might match the return type of a GCC
1836    builtin and then its argument prototype would still apply.  */
1837 #ifdef __cplusplus
1838 extern "C"
1839 #endif
1840 char $2 ();
1841 /* The GNU C library defines this for functions which it implements
1842     to always fail with ENOSYS.  Some functions are actually named
1843     something starting with __ and the normal name is an alias.  */
1844 #if defined __stub_$2 || defined __stub___$2
1845 choke me
1846 #endif
1847
1848 int
1849 main ()
1850 {
1851 return $2 ();
1852   ;
1853   return 0;
1854 }
1855 _ACEOF
1856 if ac_fn_c_try_link "$LINENO"; then :
1857   eval "$3=yes"
1858 else
1859   eval "$3=no"
1860 fi
1861 rm -f core conftest.err conftest.$ac_objext \
1862     conftest$ac_exeext conftest.$ac_ext
1863 fi
1864 eval ac_res=\$$3
1865                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1866 $as_echo "$ac_res" >&6; }
1867   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1868
1869 } # ac_fn_c_check_func
1870
1871 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1872 # -------------------------------------------------------
1873 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1874 # the include files in INCLUDES and setting the cache variable VAR
1875 # accordingly.
1876 ac_fn_c_check_header_mongrel ()
1877 {
1878   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1879   if eval \${$3+:} false; then :
1880   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1881 $as_echo_n "checking for $2... " >&6; }
1882 if eval \${$3+:} false; then :
1883   $as_echo_n "(cached) " >&6
1884 fi
1885 eval ac_res=\$$3
1886                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1887 $as_echo "$ac_res" >&6; }
1888 else
1889   # Is the header compilable?
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1891 $as_echo_n "checking $2 usability... " >&6; }
1892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1893 /* end confdefs.h.  */
1894 $4
1895 #include <$2>
1896 _ACEOF
1897 if ac_fn_c_try_compile "$LINENO"; then :
1898   ac_header_compiler=yes
1899 else
1900   ac_header_compiler=no
1901 fi
1902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1904 $as_echo "$ac_header_compiler" >&6; }
1905
1906 # Is the header present?
1907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1908 $as_echo_n "checking $2 presence... " >&6; }
1909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1910 /* end confdefs.h.  */
1911 #include <$2>
1912 _ACEOF
1913 if ac_fn_c_try_cpp "$LINENO"; then :
1914   ac_header_preproc=yes
1915 else
1916   ac_header_preproc=no
1917 fi
1918 rm -f conftest.err conftest.i conftest.$ac_ext
1919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1920 $as_echo "$ac_header_preproc" >&6; }
1921
1922 # So?  What about this header?
1923 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1924   yes:no: )
1925     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1926 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1927     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1928 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1929     ;;
1930   no:yes:* )
1931     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1932 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1933     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1934 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1935     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1936 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1937     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1938 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1939     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1940 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1941     ;;
1942 esac
1943   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1944 $as_echo_n "checking for $2... " >&6; }
1945 if eval \${$3+:} false; then :
1946   $as_echo_n "(cached) " >&6
1947 else
1948   eval "$3=\$ac_header_compiler"
1949 fi
1950 eval ac_res=\$$3
1951                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1952 $as_echo "$ac_res" >&6; }
1953 fi
1954   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1955
1956 } # ac_fn_c_check_header_mongrel
1957 cat >config.log <<_ACEOF
1958 This file contains any messages produced by compilers while
1959 running configure, to aid debugging if configure makes a mistake.
1960
1961 It was created by gsignond $as_me 0.0.3, which was
1962 generated by GNU Autoconf 2.69.  Invocation command line was
1963
1964   $ $0 $@
1965
1966 _ACEOF
1967 exec 5>>config.log
1968 {
1969 cat <<_ASUNAME
1970 ## --------- ##
1971 ## Platform. ##
1972 ## --------- ##
1973
1974 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1975 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1976 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1977 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1978 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1979
1980 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1981 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1982
1983 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1984 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1985 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1986 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1987 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1988 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1989 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1990
1991 _ASUNAME
1992
1993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1994 for as_dir in $PATH
1995 do
1996   IFS=$as_save_IFS
1997   test -z "$as_dir" && as_dir=.
1998     $as_echo "PATH: $as_dir"
1999   done
2000 IFS=$as_save_IFS
2001
2002 } >&5
2003
2004 cat >&5 <<_ACEOF
2005
2006
2007 ## ----------- ##
2008 ## Core tests. ##
2009 ## ----------- ##
2010
2011 _ACEOF
2012
2013
2014 # Keep a trace of the command line.
2015 # Strip out --no-create and --no-recursion so they do not pile up.
2016 # Strip out --silent because we don't want to record it for future runs.
2017 # Also quote any args containing shell meta-characters.
2018 # Make two passes to allow for proper duplicate-argument suppression.
2019 ac_configure_args=
2020 ac_configure_args0=
2021 ac_configure_args1=
2022 ac_must_keep_next=false
2023 for ac_pass in 1 2
2024 do
2025   for ac_arg
2026   do
2027     case $ac_arg in
2028     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2029     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2030     | -silent | --silent | --silen | --sile | --sil)
2031       continue ;;
2032     *\'*)
2033       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2034     esac
2035     case $ac_pass in
2036     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2037     2)
2038       as_fn_append ac_configure_args1 " '$ac_arg'"
2039       if test $ac_must_keep_next = true; then
2040         ac_must_keep_next=false # Got value, back to normal.
2041       else
2042         case $ac_arg in
2043           *=* | --config-cache | -C | -disable-* | --disable-* \
2044           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2045           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2046           | -with-* | --with-* | -without-* | --without-* | --x)
2047             case "$ac_configure_args0 " in
2048               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2049             esac
2050             ;;
2051           -* ) ac_must_keep_next=true ;;
2052         esac
2053       fi
2054       as_fn_append ac_configure_args " '$ac_arg'"
2055       ;;
2056     esac
2057   done
2058 done
2059 { ac_configure_args0=; unset ac_configure_args0;}
2060 { ac_configure_args1=; unset ac_configure_args1;}
2061
2062 # When interrupted or exit'd, cleanup temporary files, and complete
2063 # config.log.  We remove comments because anyway the quotes in there
2064 # would cause problems or look ugly.
2065 # WARNING: Use '\'' to represent an apostrophe within the trap.
2066 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2067 trap 'exit_status=$?
2068   # Save into config.log some information that might help in debugging.
2069   {
2070     echo
2071
2072     $as_echo "## ---------------- ##
2073 ## Cache variables. ##
2074 ## ---------------- ##"
2075     echo
2076     # The following way of writing the cache mishandles newlines in values,
2077 (
2078   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2079     eval ac_val=\$$ac_var
2080     case $ac_val in #(
2081     *${as_nl}*)
2082       case $ac_var in #(
2083       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2084 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2085       esac
2086       case $ac_var in #(
2087       _ | IFS | as_nl) ;; #(
2088       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2089       *) { eval $ac_var=; unset $ac_var;} ;;
2090       esac ;;
2091     esac
2092   done
2093   (set) 2>&1 |
2094     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2095     *${as_nl}ac_space=\ *)
2096       sed -n \
2097         "s/'\''/'\''\\\\'\'''\''/g;
2098           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2099       ;; #(
2100     *)
2101       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2102       ;;
2103     esac |
2104     sort
2105 )
2106     echo
2107
2108     $as_echo "## ----------------- ##
2109 ## Output variables. ##
2110 ## ----------------- ##"
2111     echo
2112     for ac_var in $ac_subst_vars
2113     do
2114       eval ac_val=\$$ac_var
2115       case $ac_val in
2116       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2117       esac
2118       $as_echo "$ac_var='\''$ac_val'\''"
2119     done | sort
2120     echo
2121
2122     if test -n "$ac_subst_files"; then
2123       $as_echo "## ------------------- ##
2124 ## File substitutions. ##
2125 ## ------------------- ##"
2126       echo
2127       for ac_var in $ac_subst_files
2128       do
2129         eval ac_val=\$$ac_var
2130         case $ac_val in
2131         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2132         esac
2133         $as_echo "$ac_var='\''$ac_val'\''"
2134       done | sort
2135       echo
2136     fi
2137
2138     if test -s confdefs.h; then
2139       $as_echo "## ----------- ##
2140 ## confdefs.h. ##
2141 ## ----------- ##"
2142       echo
2143       cat confdefs.h
2144       echo
2145     fi
2146     test "$ac_signal" != 0 &&
2147       $as_echo "$as_me: caught signal $ac_signal"
2148     $as_echo "$as_me: exit $exit_status"
2149   } >&5
2150   rm -f core *.core core.conftest.* &&
2151     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2152     exit $exit_status
2153 ' 0
2154 for ac_signal in 1 2 13 15; do
2155   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2156 done
2157 ac_signal=0
2158
2159 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2160 rm -f -r conftest* confdefs.h
2161
2162 $as_echo "/* confdefs.h */" > confdefs.h
2163
2164 # Predefined preprocessor variables.
2165
2166 cat >>confdefs.h <<_ACEOF
2167 #define PACKAGE_NAME "$PACKAGE_NAME"
2168 _ACEOF
2169
2170 cat >>confdefs.h <<_ACEOF
2171 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2172 _ACEOF
2173
2174 cat >>confdefs.h <<_ACEOF
2175 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2176 _ACEOF
2177
2178 cat >>confdefs.h <<_ACEOF
2179 #define PACKAGE_STRING "$PACKAGE_STRING"
2180 _ACEOF
2181
2182 cat >>confdefs.h <<_ACEOF
2183 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2184 _ACEOF
2185
2186 cat >>confdefs.h <<_ACEOF
2187 #define PACKAGE_URL "$PACKAGE_URL"
2188 _ACEOF
2189
2190
2191 # Let the site file select an alternate cache file if it wants to.
2192 # Prefer an explicitly selected file to automatically selected ones.
2193 ac_site_file1=NONE
2194 ac_site_file2=NONE
2195 if test -n "$CONFIG_SITE"; then
2196   # We do not want a PATH search for config.site.
2197   case $CONFIG_SITE in #((
2198     -*)  ac_site_file1=./$CONFIG_SITE;;
2199     */*) ac_site_file1=$CONFIG_SITE;;
2200     *)   ac_site_file1=./$CONFIG_SITE;;
2201   esac
2202 elif test "x$prefix" != xNONE; then
2203   ac_site_file1=$prefix/share/config.site
2204   ac_site_file2=$prefix/etc/config.site
2205 else
2206   ac_site_file1=$ac_default_prefix/share/config.site
2207   ac_site_file2=$ac_default_prefix/etc/config.site
2208 fi
2209 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2210 do
2211   test "x$ac_site_file" = xNONE && continue
2212   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2213     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2214 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2215     sed 's/^/| /' "$ac_site_file" >&5
2216     . "$ac_site_file" \
2217       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2218 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2219 as_fn_error $? "failed to load site script $ac_site_file
2220 See \`config.log' for more details" "$LINENO" 5; }
2221   fi
2222 done
2223
2224 if test -r "$cache_file"; then
2225   # Some versions of bash will fail to source /dev/null (special files
2226   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2227   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2228     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2229 $as_echo "$as_me: loading cache $cache_file" >&6;}
2230     case $cache_file in
2231       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2232       *)                      . "./$cache_file";;
2233     esac
2234   fi
2235 else
2236   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2237 $as_echo "$as_me: creating cache $cache_file" >&6;}
2238   >$cache_file
2239 fi
2240
2241 # Check that the precious variables saved in the cache have kept the same
2242 # value.
2243 ac_cache_corrupted=false
2244 for ac_var in $ac_precious_vars; do
2245   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2246   eval ac_new_set=\$ac_env_${ac_var}_set
2247   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2248   eval ac_new_val=\$ac_env_${ac_var}_value
2249   case $ac_old_set,$ac_new_set in
2250     set,)
2251       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2252 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2253       ac_cache_corrupted=: ;;
2254     ,set)
2255       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2256 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2257       ac_cache_corrupted=: ;;
2258     ,);;
2259     *)
2260       if test "x$ac_old_val" != "x$ac_new_val"; then
2261         # differences in whitespace do not lead to failure.
2262         ac_old_val_w=`echo x $ac_old_val`
2263         ac_new_val_w=`echo x $ac_new_val`
2264         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2265           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2266 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2267           ac_cache_corrupted=:
2268         else
2269           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2270 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2271           eval $ac_var=\$ac_old_val
2272         fi
2273         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2274 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2275         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2276 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2277       fi;;
2278   esac
2279   # Pass precious variables to config.status.
2280   if test "$ac_new_set" = set; then
2281     case $ac_new_val in
2282     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2283     *) ac_arg=$ac_var=$ac_new_val ;;
2284     esac
2285     case " $ac_configure_args " in
2286       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2287       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2288     esac
2289   fi
2290 done
2291 if $ac_cache_corrupted; then
2292   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2293 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2294   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2295 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2296   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2297 fi
2298 ## -------------------- ##
2299 ## Main body of script. ##
2300 ## -------------------- ##
2301
2302 ac_ext=c
2303 ac_cpp='$CPP $CPPFLAGS'
2304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2307
2308
2309
2310 ac_config_headers="$ac_config_headers config.h"
2311
2312 ac_aux_dir=
2313 for ac_dir in build-aux "$srcdir"/build-aux; do
2314   if test -f "$ac_dir/install-sh"; then
2315     ac_aux_dir=$ac_dir
2316     ac_install_sh="$ac_aux_dir/install-sh -c"
2317     break
2318   elif test -f "$ac_dir/install.sh"; then
2319     ac_aux_dir=$ac_dir
2320     ac_install_sh="$ac_aux_dir/install.sh -c"
2321     break
2322   elif test -f "$ac_dir/shtool"; then
2323     ac_aux_dir=$ac_dir
2324     ac_install_sh="$ac_aux_dir/shtool install -c"
2325     break
2326   fi
2327 done
2328 if test -z "$ac_aux_dir"; then
2329   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2330 fi
2331
2332 # These three variables are undocumented and unsupported,
2333 # and are intended to be withdrawn in a future Autoconf release.
2334 # They can cause serious problems if a builder's source tree is in a directory
2335 # whose full name contains unusual characters.
2336 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2337 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2338 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2339
2340
2341
2342
2343 am__api_version='1.11'
2344
2345 # Find a good install program.  We prefer a C program (faster),
2346 # so one script is as good as another.  But avoid the broken or
2347 # incompatible versions:
2348 # SysV /etc/install, /usr/sbin/install
2349 # SunOS /usr/etc/install
2350 # IRIX /sbin/install
2351 # AIX /bin/install
2352 # AmigaOS /C/install, which installs bootblocks on floppy discs
2353 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2354 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2355 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2356 # OS/2's system install, which has a completely different semantic
2357 # ./install, which can be erroneously created by make from ./install.sh.
2358 # Reject install programs that cannot install multiple files.
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2360 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2361 if test -z "$INSTALL"; then
2362 if ${ac_cv_path_install+:} false; then :
2363   $as_echo_n "(cached) " >&6
2364 else
2365   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2366 for as_dir in $PATH
2367 do
2368   IFS=$as_save_IFS
2369   test -z "$as_dir" && as_dir=.
2370     # Account for people who put trailing slashes in PATH elements.
2371 case $as_dir/ in #((
2372   ./ | .// | /[cC]/* | \
2373   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2374   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2375   /usr/ucb/* ) ;;
2376   *)
2377     # OSF1 and SCO ODT 3.0 have their own names for install.
2378     # Don't use installbsd from OSF since it installs stuff as root
2379     # by default.
2380     for ac_prog in ginstall scoinst install; do
2381       for ac_exec_ext in '' $ac_executable_extensions; do
2382         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2383           if test $ac_prog = install &&
2384             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2385             # AIX install.  It has an incompatible calling convention.
2386             :
2387           elif test $ac_prog = install &&
2388             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2389             # program-specific install script used by HP pwplus--don't use.
2390             :
2391           else
2392             rm -rf conftest.one conftest.two conftest.dir
2393             echo one > conftest.one
2394             echo two > conftest.two
2395             mkdir conftest.dir
2396             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2397               test -s conftest.one && test -s conftest.two &&
2398               test -s conftest.dir/conftest.one &&
2399               test -s conftest.dir/conftest.two
2400             then
2401               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2402               break 3
2403             fi
2404           fi
2405         fi
2406       done
2407     done
2408     ;;
2409 esac
2410
2411   done
2412 IFS=$as_save_IFS
2413
2414 rm -rf conftest.one conftest.two conftest.dir
2415
2416 fi
2417   if test "${ac_cv_path_install+set}" = set; then
2418     INSTALL=$ac_cv_path_install
2419   else
2420     # As a last resort, use the slow shell script.  Don't cache a
2421     # value for INSTALL within a source directory, because that will
2422     # break other packages using the cache if that directory is
2423     # removed, or if the value is a relative name.
2424     INSTALL=$ac_install_sh
2425   fi
2426 fi
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2428 $as_echo "$INSTALL" >&6; }
2429
2430 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2431 # It thinks the first close brace ends the variable substitution.
2432 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2433
2434 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2435
2436 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2437
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2439 $as_echo_n "checking whether build environment is sane... " >&6; }
2440 # Just in case
2441 sleep 1
2442 echo timestamp > conftest.file
2443 # Reject unsafe characters in $srcdir or the absolute working directory
2444 # name.  Accept space and tab only in the latter.
2445 am_lf='
2446 '
2447 case `pwd` in
2448   *[\\\"\#\$\&\'\`$am_lf]*)
2449     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2450 esac
2451 case $srcdir in
2452   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2453     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2454 esac
2455
2456 # Do `set' in a subshell so we don't clobber the current shell's
2457 # arguments.  Must try -L first in case configure is actually a
2458 # symlink; some systems play weird games with the mod time of symlinks
2459 # (eg FreeBSD returns the mod time of the symlink's containing
2460 # directory).
2461 if (
2462    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2463    if test "$*" = "X"; then
2464       # -L didn't work.
2465       set X `ls -t "$srcdir/configure" conftest.file`
2466    fi
2467    rm -f conftest.file
2468    if test "$*" != "X $srcdir/configure conftest.file" \
2469       && test "$*" != "X conftest.file $srcdir/configure"; then
2470
2471       # If neither matched, then we have a broken ls.  This can happen
2472       # if, for instance, CONFIG_SHELL is bash and it inherits a
2473       # broken ls alias from the environment.  This has actually
2474       # happened.  Such a system could not be considered "sane".
2475       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2476 alias in your environment" "$LINENO" 5
2477    fi
2478
2479    test "$2" = conftest.file
2480    )
2481 then
2482    # Ok.
2483    :
2484 else
2485    as_fn_error $? "newly created file is older than distributed files!
2486 Check your system clock" "$LINENO" 5
2487 fi
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2489 $as_echo "yes" >&6; }
2490 test "$program_prefix" != NONE &&
2491   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2492 # Use a double $ so make ignores it.
2493 test "$program_suffix" != NONE &&
2494   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2495 # Double any \ or $.
2496 # By default was `s,x,x', remove it if useless.
2497 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2498 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2499
2500 # expand $ac_aux_dir to an absolute path
2501 am_aux_dir=`cd $ac_aux_dir && pwd`
2502
2503 if test x"${MISSING+set}" != xset; then
2504   case $am_aux_dir in
2505   *\ * | *\     *)
2506     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2507   *)
2508     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2509   esac
2510 fi
2511 # Use eval to expand $SHELL
2512 if eval "$MISSING --run true"; then
2513   am_missing_run="$MISSING --run "
2514 else
2515   am_missing_run=
2516   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2517 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2518 fi
2519
2520 if test x"${install_sh}" != xset; then
2521   case $am_aux_dir in
2522   *\ * | *\     *)
2523     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2524   *)
2525     install_sh="\${SHELL} $am_aux_dir/install-sh"
2526   esac
2527 fi
2528
2529 # Installed binaries are usually stripped using `strip' when the user
2530 # run `make install-strip'.  However `strip' might not be the right
2531 # tool to use in cross-compilation environments, therefore Automake
2532 # will honor the `STRIP' environment variable to overrule this program.
2533 if test "$cross_compiling" != no; then
2534   if test -n "$ac_tool_prefix"; then
2535   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2536 set dummy ${ac_tool_prefix}strip; ac_word=$2
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2538 $as_echo_n "checking for $ac_word... " >&6; }
2539 if ${ac_cv_prog_STRIP+:} false; then :
2540   $as_echo_n "(cached) " >&6
2541 else
2542   if test -n "$STRIP"; then
2543   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2544 else
2545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2546 for as_dir in $PATH
2547 do
2548   IFS=$as_save_IFS
2549   test -z "$as_dir" && as_dir=.
2550     for ac_exec_ext in '' $ac_executable_extensions; do
2551   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2552     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2553     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2554     break 2
2555   fi
2556 done
2557   done
2558 IFS=$as_save_IFS
2559
2560 fi
2561 fi
2562 STRIP=$ac_cv_prog_STRIP
2563 if test -n "$STRIP"; then
2564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2565 $as_echo "$STRIP" >&6; }
2566 else
2567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2568 $as_echo "no" >&6; }
2569 fi
2570
2571
2572 fi
2573 if test -z "$ac_cv_prog_STRIP"; then
2574   ac_ct_STRIP=$STRIP
2575   # Extract the first word of "strip", so it can be a program name with args.
2576 set dummy strip; ac_word=$2
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2578 $as_echo_n "checking for $ac_word... " >&6; }
2579 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2580   $as_echo_n "(cached) " >&6
2581 else
2582   if test -n "$ac_ct_STRIP"; then
2583   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2584 else
2585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2586 for as_dir in $PATH
2587 do
2588   IFS=$as_save_IFS
2589   test -z "$as_dir" && as_dir=.
2590     for ac_exec_ext in '' $ac_executable_extensions; do
2591   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2592     ac_cv_prog_ac_ct_STRIP="strip"
2593     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2594     break 2
2595   fi
2596 done
2597   done
2598 IFS=$as_save_IFS
2599
2600 fi
2601 fi
2602 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2603 if test -n "$ac_ct_STRIP"; then
2604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2605 $as_echo "$ac_ct_STRIP" >&6; }
2606 else
2607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2608 $as_echo "no" >&6; }
2609 fi
2610
2611   if test "x$ac_ct_STRIP" = x; then
2612     STRIP=":"
2613   else
2614     case $cross_compiling:$ac_tool_warned in
2615 yes:)
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2617 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2618 ac_tool_warned=yes ;;
2619 esac
2620     STRIP=$ac_ct_STRIP
2621   fi
2622 else
2623   STRIP="$ac_cv_prog_STRIP"
2624 fi
2625
2626 fi
2627 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2628
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2630 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2631 if test -z "$MKDIR_P"; then
2632   if ${ac_cv_path_mkdir+:} false; then :
2633   $as_echo_n "(cached) " >&6
2634 else
2635   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2636 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2637 do
2638   IFS=$as_save_IFS
2639   test -z "$as_dir" && as_dir=.
2640     for ac_prog in mkdir gmkdir; do
2641          for ac_exec_ext in '' $ac_executable_extensions; do
2642            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2643            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2644              'mkdir (GNU coreutils) '* | \
2645              'mkdir (coreutils) '* | \
2646              'mkdir (fileutils) '4.1*)
2647                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2648                break 3;;
2649            esac
2650          done
2651        done
2652   done
2653 IFS=$as_save_IFS
2654
2655 fi
2656
2657   test -d ./--version && rmdir ./--version
2658   if test "${ac_cv_path_mkdir+set}" = set; then
2659     MKDIR_P="$ac_cv_path_mkdir -p"
2660   else
2661     # As a last resort, use the slow shell script.  Don't cache a
2662     # value for MKDIR_P within a source directory, because that will
2663     # break other packages using the cache if that directory is
2664     # removed, or if the value is a relative name.
2665     MKDIR_P="$ac_install_sh -d"
2666   fi
2667 fi
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2669 $as_echo "$MKDIR_P" >&6; }
2670
2671 mkdir_p="$MKDIR_P"
2672 case $mkdir_p in
2673   [\\/$]* | ?:[\\/]*) ;;
2674   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2675 esac
2676
2677 for ac_prog in gawk mawk nawk awk
2678 do
2679   # Extract the first word of "$ac_prog", so it can be a program name with args.
2680 set dummy $ac_prog; ac_word=$2
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2682 $as_echo_n "checking for $ac_word... " >&6; }
2683 if ${ac_cv_prog_AWK+:} false; then :
2684   $as_echo_n "(cached) " >&6
2685 else
2686   if test -n "$AWK"; then
2687   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2688 else
2689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2690 for as_dir in $PATH
2691 do
2692   IFS=$as_save_IFS
2693   test -z "$as_dir" && as_dir=.
2694     for ac_exec_ext in '' $ac_executable_extensions; do
2695   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2696     ac_cv_prog_AWK="$ac_prog"
2697     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2698     break 2
2699   fi
2700 done
2701   done
2702 IFS=$as_save_IFS
2703
2704 fi
2705 fi
2706 AWK=$ac_cv_prog_AWK
2707 if test -n "$AWK"; then
2708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2709 $as_echo "$AWK" >&6; }
2710 else
2711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2712 $as_echo "no" >&6; }
2713 fi
2714
2715
2716   test -n "$AWK" && break
2717 done
2718
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2720 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2721 set x ${MAKE-make}
2722 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2723 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2724   $as_echo_n "(cached) " >&6
2725 else
2726   cat >conftest.make <<\_ACEOF
2727 SHELL = /bin/sh
2728 all:
2729         @echo '@@@%%%=$(MAKE)=@@@%%%'
2730 _ACEOF
2731 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2732 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2733   *@@@%%%=?*=@@@%%%*)
2734     eval ac_cv_prog_make_${ac_make}_set=yes;;
2735   *)
2736     eval ac_cv_prog_make_${ac_make}_set=no;;
2737 esac
2738 rm -f conftest.make
2739 fi
2740 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2742 $as_echo "yes" >&6; }
2743   SET_MAKE=
2744 else
2745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2746 $as_echo "no" >&6; }
2747   SET_MAKE="MAKE=${MAKE-make}"
2748 fi
2749
2750 rm -rf .tst 2>/dev/null
2751 mkdir .tst 2>/dev/null
2752 if test -d .tst; then
2753   am__leading_dot=.
2754 else
2755   am__leading_dot=_
2756 fi
2757 rmdir .tst 2>/dev/null
2758
2759 # Check whether --enable-silent-rules was given.
2760 if test "${enable_silent_rules+set}" = set; then :
2761   enableval=$enable_silent_rules;
2762 fi
2763
2764 case $enable_silent_rules in
2765 yes) AM_DEFAULT_VERBOSITY=0;;
2766 no)  AM_DEFAULT_VERBOSITY=1;;
2767 *)   AM_DEFAULT_VERBOSITY=1;;
2768 esac
2769 am_make=${MAKE-make}
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2771 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2772 if ${am_cv_make_support_nested_variables+:} false; then :
2773   $as_echo_n "(cached) " >&6
2774 else
2775   if $as_echo 'TRUE=$(BAR$(V))
2776 BAR0=false
2777 BAR1=true
2778 V=1
2779 am__doit:
2780         @$(TRUE)
2781 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2782   am_cv_make_support_nested_variables=yes
2783 else
2784   am_cv_make_support_nested_variables=no
2785 fi
2786 fi
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2788 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2789 if test $am_cv_make_support_nested_variables = yes; then
2790     AM_V='$(V)'
2791   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2792 else
2793   AM_V=$AM_DEFAULT_VERBOSITY
2794   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2795 fi
2796 AM_BACKSLASH='\'
2797
2798 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2799   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2800   # is not polluted with repeated "-I."
2801   am__isrc=' -I$(srcdir)'
2802   # test to see if srcdir already configured
2803   if test -f $srcdir/config.status; then
2804     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2805   fi
2806 fi
2807
2808 # test whether we have cygpath
2809 if test -z "$CYGPATH_W"; then
2810   if (cygpath --version) >/dev/null 2>/dev/null; then
2811     CYGPATH_W='cygpath -w'
2812   else
2813     CYGPATH_W=echo
2814   fi
2815 fi
2816
2817
2818 # Define the identity of the package.
2819  PACKAGE='gsignond'
2820  VERSION='0.0.3'
2821
2822
2823 cat >>confdefs.h <<_ACEOF
2824 #define PACKAGE "$PACKAGE"
2825 _ACEOF
2826
2827
2828 cat >>confdefs.h <<_ACEOF
2829 #define VERSION "$VERSION"
2830 _ACEOF
2831
2832 # Some tools Automake needs.
2833
2834 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2835
2836
2837 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2838
2839
2840 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2841
2842
2843 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2844
2845
2846 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2847
2848 # We need awk for the "check" target.  The system "awk" is bad on
2849 # some platforms.
2850 # Always define AMTAR for backward compatibility.  Yes, it's still used
2851 # in the wild :-(  We should find a proper way to deprecate it ...
2852 AMTAR='$${TAR-tar}'
2853
2854
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2856 $as_echo_n "checking how to create a pax tar archive... " >&6; }
2857 # Loop over all known methods to create a tar archive until one works.
2858 _am_tools='gnutar  pax cpio none'
2859 _am_tools=${am_cv_prog_tar_pax-$_am_tools}
2860 # Do not fold the above two line into one, because Tru64 sh and
2861 # Solaris sh will not grok spaces in the rhs of `-'.
2862 for _am_tool in $_am_tools
2863 do
2864   case $_am_tool in
2865   gnutar)
2866     for _am_tar in tar gnutar gtar;
2867     do
2868       { echo "$as_me:$LINENO: $_am_tar --version" >&5
2869    ($_am_tar --version) >&5 2>&5
2870    ac_status=$?
2871    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2872    (exit $ac_status); } && break
2873     done
2874     am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2875     am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2876     am__untar="$_am_tar -xf -"
2877     ;;
2878   plaintar)
2879     # Must skip GNU tar: if it does not support --format= it doesn't create
2880     # ustar tarball either.
2881     (tar --version) >/dev/null 2>&1 && continue
2882     am__tar='tar chf - "$$tardir"'
2883     am__tar_='tar chf - "$tardir"'
2884     am__untar='tar xf -'
2885     ;;
2886   pax)
2887     am__tar='pax -L -x pax -w "$$tardir"'
2888     am__tar_='pax -L -x pax -w "$tardir"'
2889     am__untar='pax -r'
2890     ;;
2891   cpio)
2892     am__tar='find "$$tardir" -print | cpio -o -H pax -L'
2893     am__tar_='find "$tardir" -print | cpio -o -H pax -L'
2894     am__untar='cpio -i -H pax -d'
2895     ;;
2896   none)
2897     am__tar=false
2898     am__tar_=false
2899     am__untar=false
2900     ;;
2901   esac
2902
2903   # If the value was cached, stop now.  We just wanted to have am__tar
2904   # and am__untar set.
2905   test -n "${am_cv_prog_tar_pax}" && break
2906
2907   # tar/untar a dummy directory, and stop if the command works
2908   rm -rf conftest.dir
2909   mkdir conftest.dir
2910   echo GrepMe > conftest.dir/file
2911   { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2912    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2913    ac_status=$?
2914    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2915    (exit $ac_status); }
2916   rm -rf conftest.dir
2917   if test -s conftest.tar; then
2918     { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2919    ($am__untar <conftest.tar) >&5 2>&5
2920    ac_status=$?
2921    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2922    (exit $ac_status); }
2923     grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2924   fi
2925 done
2926 rm -rf conftest.dir
2927
2928 if ${am_cv_prog_tar_pax+:} false; then :
2929   $as_echo_n "(cached) " >&6
2930 else
2931   am_cv_prog_tar_pax=$_am_tool
2932 fi
2933
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
2935 $as_echo "$am_cv_prog_tar_pax" >&6; }
2936
2937
2938
2939
2940
2941
2942 # Checks for programs.
2943 ac_ext=c
2944 ac_cpp='$CPP $CPPFLAGS'
2945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2948 if test -n "$ac_tool_prefix"; then
2949   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2950 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2952 $as_echo_n "checking for $ac_word... " >&6; }
2953 if ${ac_cv_prog_CC+:} false; then :
2954   $as_echo_n "(cached) " >&6
2955 else
2956   if test -n "$CC"; then
2957   ac_cv_prog_CC="$CC" # Let the user override the test.
2958 else
2959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2960 for as_dir in $PATH
2961 do
2962   IFS=$as_save_IFS
2963   test -z "$as_dir" && as_dir=.
2964     for ac_exec_ext in '' $ac_executable_extensions; do
2965   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2966     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2967     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2968     break 2
2969   fi
2970 done
2971   done
2972 IFS=$as_save_IFS
2973
2974 fi
2975 fi
2976 CC=$ac_cv_prog_CC
2977 if test -n "$CC"; then
2978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2979 $as_echo "$CC" >&6; }
2980 else
2981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2982 $as_echo "no" >&6; }
2983 fi
2984
2985
2986 fi
2987 if test -z "$ac_cv_prog_CC"; then
2988   ac_ct_CC=$CC
2989   # Extract the first word of "gcc", so it can be a program name with args.
2990 set dummy gcc; ac_word=$2
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2992 $as_echo_n "checking for $ac_word... " >&6; }
2993 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2994   $as_echo_n "(cached) " >&6
2995 else
2996   if test -n "$ac_ct_CC"; then
2997   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2998 else
2999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3000 for as_dir in $PATH
3001 do
3002   IFS=$as_save_IFS
3003   test -z "$as_dir" && as_dir=.
3004     for ac_exec_ext in '' $ac_executable_extensions; do
3005   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3006     ac_cv_prog_ac_ct_CC="gcc"
3007     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3008     break 2
3009   fi
3010 done
3011   done
3012 IFS=$as_save_IFS
3013
3014 fi
3015 fi
3016 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3017 if test -n "$ac_ct_CC"; then
3018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3019 $as_echo "$ac_ct_CC" >&6; }
3020 else
3021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3022 $as_echo "no" >&6; }
3023 fi
3024
3025   if test "x$ac_ct_CC" = x; then
3026     CC=""
3027   else
3028     case $cross_compiling:$ac_tool_warned in
3029 yes:)
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3031 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3032 ac_tool_warned=yes ;;
3033 esac
3034     CC=$ac_ct_CC
3035   fi
3036 else
3037   CC="$ac_cv_prog_CC"
3038 fi
3039
3040 if test -z "$CC"; then
3041           if test -n "$ac_tool_prefix"; then
3042     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3043 set dummy ${ac_tool_prefix}cc; ac_word=$2
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3045 $as_echo_n "checking for $ac_word... " >&6; }
3046 if ${ac_cv_prog_CC+:} false; then :
3047   $as_echo_n "(cached) " >&6
3048 else
3049   if test -n "$CC"; then
3050   ac_cv_prog_CC="$CC" # Let the user override the test.
3051 else
3052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3053 for as_dir in $PATH
3054 do
3055   IFS=$as_save_IFS
3056   test -z "$as_dir" && as_dir=.
3057     for ac_exec_ext in '' $ac_executable_extensions; do
3058   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3059     ac_cv_prog_CC="${ac_tool_prefix}cc"
3060     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3061     break 2
3062   fi
3063 done
3064   done
3065 IFS=$as_save_IFS
3066
3067 fi
3068 fi
3069 CC=$ac_cv_prog_CC
3070 if test -n "$CC"; then
3071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3072 $as_echo "$CC" >&6; }
3073 else
3074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3075 $as_echo "no" >&6; }
3076 fi
3077
3078
3079   fi
3080 fi
3081 if test -z "$CC"; then
3082   # Extract the first word of "cc", so it can be a program name with args.
3083 set dummy cc; ac_word=$2
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3085 $as_echo_n "checking for $ac_word... " >&6; }
3086 if ${ac_cv_prog_CC+:} false; then :
3087   $as_echo_n "(cached) " >&6
3088 else
3089   if test -n "$CC"; then
3090   ac_cv_prog_CC="$CC" # Let the user override the test.
3091 else
3092   ac_prog_rejected=no
3093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3094 for as_dir in $PATH
3095 do
3096   IFS=$as_save_IFS
3097   test -z "$as_dir" && as_dir=.
3098     for ac_exec_ext in '' $ac_executable_extensions; do
3099   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3100     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3101        ac_prog_rejected=yes
3102        continue
3103      fi
3104     ac_cv_prog_CC="cc"
3105     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3106     break 2
3107   fi
3108 done
3109   done
3110 IFS=$as_save_IFS
3111
3112 if test $ac_prog_rejected = yes; then
3113   # We found a bogon in the path, so make sure we never use it.
3114   set dummy $ac_cv_prog_CC
3115   shift
3116   if test $# != 0; then
3117     # We chose a different compiler from the bogus one.
3118     # However, it has the same basename, so the bogon will be chosen
3119     # first if we set CC to just the basename; use the full file name.
3120     shift
3121     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3122   fi
3123 fi
3124 fi
3125 fi
3126 CC=$ac_cv_prog_CC
3127 if test -n "$CC"; then
3128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3129 $as_echo "$CC" >&6; }
3130 else
3131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3132 $as_echo "no" >&6; }
3133 fi
3134
3135
3136 fi
3137 if test -z "$CC"; then
3138   if test -n "$ac_tool_prefix"; then
3139   for ac_prog in cl.exe
3140   do
3141     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3142 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3144 $as_echo_n "checking for $ac_word... " >&6; }
3145 if ${ac_cv_prog_CC+:} false; then :
3146   $as_echo_n "(cached) " >&6
3147 else
3148   if test -n "$CC"; then
3149   ac_cv_prog_CC="$CC" # Let the user override the test.
3150 else
3151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3152 for as_dir in $PATH
3153 do
3154   IFS=$as_save_IFS
3155   test -z "$as_dir" && as_dir=.
3156     for ac_exec_ext in '' $ac_executable_extensions; do
3157   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3158     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3159     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3160     break 2
3161   fi
3162 done
3163   done
3164 IFS=$as_save_IFS
3165
3166 fi
3167 fi
3168 CC=$ac_cv_prog_CC
3169 if test -n "$CC"; then
3170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3171 $as_echo "$CC" >&6; }
3172 else
3173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3174 $as_echo "no" >&6; }
3175 fi
3176
3177
3178     test -n "$CC" && break
3179   done
3180 fi
3181 if test -z "$CC"; then
3182   ac_ct_CC=$CC
3183   for ac_prog in cl.exe
3184 do
3185   # Extract the first word of "$ac_prog", so it can be a program name with args.
3186 set dummy $ac_prog; ac_word=$2
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3188 $as_echo_n "checking for $ac_word... " >&6; }
3189 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3190   $as_echo_n "(cached) " >&6
3191 else
3192   if test -n "$ac_ct_CC"; then
3193   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3194 else
3195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3196 for as_dir in $PATH
3197 do
3198   IFS=$as_save_IFS
3199   test -z "$as_dir" && as_dir=.
3200     for ac_exec_ext in '' $ac_executable_extensions; do
3201   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3202     ac_cv_prog_ac_ct_CC="$ac_prog"
3203     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3204     break 2
3205   fi
3206 done
3207   done
3208 IFS=$as_save_IFS
3209
3210 fi
3211 fi
3212 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3213 if test -n "$ac_ct_CC"; then
3214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3215 $as_echo "$ac_ct_CC" >&6; }
3216 else
3217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3218 $as_echo "no" >&6; }
3219 fi
3220
3221
3222   test -n "$ac_ct_CC" && break
3223 done
3224
3225   if test "x$ac_ct_CC" = x; then
3226     CC=""
3227   else
3228     case $cross_compiling:$ac_tool_warned in
3229 yes:)
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3231 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3232 ac_tool_warned=yes ;;
3233 esac
3234     CC=$ac_ct_CC
3235   fi
3236 fi
3237
3238 fi
3239
3240
3241 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3242 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3243 as_fn_error $? "no acceptable C compiler found in \$PATH
3244 See \`config.log' for more details" "$LINENO" 5; }
3245
3246 # Provide some information about the compiler.
3247 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3248 set X $ac_compile
3249 ac_compiler=$2
3250 for ac_option in --version -v -V -qversion; do
3251   { { ac_try="$ac_compiler $ac_option >&5"
3252 case "(($ac_try" in
3253   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3254   *) ac_try_echo=$ac_try;;
3255 esac
3256 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3257 $as_echo "$ac_try_echo"; } >&5
3258   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3259   ac_status=$?
3260   if test -s conftest.err; then
3261     sed '10a\
3262 ... rest of stderr output deleted ...
3263          10q' conftest.err >conftest.er1
3264     cat conftest.er1 >&5
3265   fi
3266   rm -f conftest.er1 conftest.err
3267   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3268   test $ac_status = 0; }
3269 done
3270
3271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3272 /* end confdefs.h.  */
3273
3274 int
3275 main ()
3276 {
3277
3278   ;
3279   return 0;
3280 }
3281 _ACEOF
3282 ac_clean_files_save=$ac_clean_files
3283 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3284 # Try to create an executable without -o first, disregard a.out.
3285 # It will help us diagnose broken compilers, and finding out an intuition
3286 # of exeext.
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3288 $as_echo_n "checking whether the C compiler works... " >&6; }
3289 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3290
3291 # The possible output files:
3292 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3293
3294 ac_rmfiles=
3295 for ac_file in $ac_files
3296 do
3297   case $ac_file in
3298     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3299     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3300   esac
3301 done
3302 rm -f $ac_rmfiles
3303
3304 if { { ac_try="$ac_link_default"
3305 case "(($ac_try" in
3306   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3307   *) ac_try_echo=$ac_try;;
3308 esac
3309 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3310 $as_echo "$ac_try_echo"; } >&5
3311   (eval "$ac_link_default") 2>&5
3312   ac_status=$?
3313   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3314   test $ac_status = 0; }; then :
3315   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3316 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3317 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3318 # so that the user can short-circuit this test for compilers unknown to
3319 # Autoconf.
3320 for ac_file in $ac_files ''
3321 do
3322   test -f "$ac_file" || continue
3323   case $ac_file in
3324     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3325         ;;
3326     [ab].out )
3327         # We found the default executable, but exeext='' is most
3328         # certainly right.
3329         break;;
3330     *.* )
3331         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3332         then :; else
3333            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3334         fi
3335         # We set ac_cv_exeext here because the later test for it is not
3336         # safe: cross compilers may not add the suffix if given an `-o'
3337         # argument, so we may need to know it at that point already.
3338         # Even if this section looks crufty: it has the advantage of
3339         # actually working.
3340         break;;
3341     * )
3342         break;;
3343   esac
3344 done
3345 test "$ac_cv_exeext" = no && ac_cv_exeext=
3346
3347 else
3348   ac_file=''
3349 fi
3350 if test -z "$ac_file"; then :
3351   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3352 $as_echo "no" >&6; }
3353 $as_echo "$as_me: failed program was:" >&5
3354 sed 's/^/| /' conftest.$ac_ext >&5
3355
3356 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3357 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3358 as_fn_error 77 "C compiler cannot create executables
3359 See \`config.log' for more details" "$LINENO" 5; }
3360 else
3361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3362 $as_echo "yes" >&6; }
3363 fi
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3365 $as_echo_n "checking for C compiler default output file name... " >&6; }
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3367 $as_echo "$ac_file" >&6; }
3368 ac_exeext=$ac_cv_exeext
3369
3370 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3371 ac_clean_files=$ac_clean_files_save
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3373 $as_echo_n "checking for suffix of executables... " >&6; }
3374 if { { ac_try="$ac_link"
3375 case "(($ac_try" in
3376   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3377   *) ac_try_echo=$ac_try;;
3378 esac
3379 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3380 $as_echo "$ac_try_echo"; } >&5
3381   (eval "$ac_link") 2>&5
3382   ac_status=$?
3383   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3384   test $ac_status = 0; }; then :
3385   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3386 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3387 # work properly (i.e., refer to `conftest.exe'), while it won't with
3388 # `rm'.
3389 for ac_file in conftest.exe conftest conftest.*; do
3390   test -f "$ac_file" || continue
3391   case $ac_file in
3392     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3393     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3394           break;;
3395     * ) break;;
3396   esac
3397 done
3398 else
3399   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3400 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3401 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3402 See \`config.log' for more details" "$LINENO" 5; }
3403 fi
3404 rm -f conftest conftest$ac_cv_exeext
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3406 $as_echo "$ac_cv_exeext" >&6; }
3407
3408 rm -f conftest.$ac_ext
3409 EXEEXT=$ac_cv_exeext
3410 ac_exeext=$EXEEXT
3411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3412 /* end confdefs.h.  */
3413 #include <stdio.h>
3414 int
3415 main ()
3416 {
3417 FILE *f = fopen ("conftest.out", "w");
3418  return ferror (f) || fclose (f) != 0;
3419
3420   ;
3421   return 0;
3422 }
3423 _ACEOF
3424 ac_clean_files="$ac_clean_files conftest.out"
3425 # Check that the compiler produces executables we can run.  If not, either
3426 # the compiler is broken, or we cross compile.
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3428 $as_echo_n "checking whether we are cross compiling... " >&6; }
3429 if test "$cross_compiling" != yes; then
3430   { { ac_try="$ac_link"
3431 case "(($ac_try" in
3432   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3433   *) ac_try_echo=$ac_try;;
3434 esac
3435 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3436 $as_echo "$ac_try_echo"; } >&5
3437   (eval "$ac_link") 2>&5
3438   ac_status=$?
3439   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3440   test $ac_status = 0; }
3441   if { ac_try='./conftest$ac_cv_exeext'
3442   { { case "(($ac_try" in
3443   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3444   *) ac_try_echo=$ac_try;;
3445 esac
3446 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3447 $as_echo "$ac_try_echo"; } >&5
3448   (eval "$ac_try") 2>&5
3449   ac_status=$?
3450   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3451   test $ac_status = 0; }; }; then
3452     cross_compiling=no
3453   else
3454     if test "$cross_compiling" = maybe; then
3455         cross_compiling=yes
3456     else
3457         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3458 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3459 as_fn_error $? "cannot run C compiled programs.
3460 If you meant to cross compile, use \`--host'.
3461 See \`config.log' for more details" "$LINENO" 5; }
3462     fi
3463   fi
3464 fi
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3466 $as_echo "$cross_compiling" >&6; }
3467
3468 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3469 ac_clean_files=$ac_clean_files_save
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3471 $as_echo_n "checking for suffix of object files... " >&6; }
3472 if ${ac_cv_objext+:} false; then :
3473   $as_echo_n "(cached) " >&6
3474 else
3475   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3476 /* end confdefs.h.  */
3477
3478 int
3479 main ()
3480 {
3481
3482   ;
3483   return 0;
3484 }
3485 _ACEOF
3486 rm -f conftest.o conftest.obj
3487 if { { ac_try="$ac_compile"
3488 case "(($ac_try" in
3489   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3490   *) ac_try_echo=$ac_try;;
3491 esac
3492 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3493 $as_echo "$ac_try_echo"; } >&5
3494   (eval "$ac_compile") 2>&5
3495   ac_status=$?
3496   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3497   test $ac_status = 0; }; then :
3498   for ac_file in conftest.o conftest.obj conftest.*; do
3499   test -f "$ac_file" || continue;
3500   case $ac_file in
3501     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3502     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3503        break;;
3504   esac
3505 done
3506 else
3507   $as_echo "$as_me: failed program was:" >&5
3508 sed 's/^/| /' conftest.$ac_ext >&5
3509
3510 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3511 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3512 as_fn_error $? "cannot compute suffix of object files: cannot compile
3513 See \`config.log' for more details" "$LINENO" 5; }
3514 fi
3515 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3516 fi
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3518 $as_echo "$ac_cv_objext" >&6; }
3519 OBJEXT=$ac_cv_objext
3520 ac_objext=$OBJEXT
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3522 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3523 if ${ac_cv_c_compiler_gnu+:} false; then :
3524   $as_echo_n "(cached) " >&6
3525 else
3526   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3527 /* end confdefs.h.  */
3528
3529 int
3530 main ()
3531 {
3532 #ifndef __GNUC__
3533        choke me
3534 #endif
3535
3536   ;
3537   return 0;
3538 }
3539 _ACEOF
3540 if ac_fn_c_try_compile "$LINENO"; then :
3541   ac_compiler_gnu=yes
3542 else
3543   ac_compiler_gnu=no
3544 fi
3545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3546 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3547
3548 fi
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3550 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3551 if test $ac_compiler_gnu = yes; then
3552   GCC=yes
3553 else
3554   GCC=
3555 fi
3556 ac_test_CFLAGS=${CFLAGS+set}
3557 ac_save_CFLAGS=$CFLAGS
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3559 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3560 if ${ac_cv_prog_cc_g+:} false; then :
3561   $as_echo_n "(cached) " >&6
3562 else
3563   ac_save_c_werror_flag=$ac_c_werror_flag
3564    ac_c_werror_flag=yes
3565    ac_cv_prog_cc_g=no
3566    CFLAGS="-g"
3567    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3568 /* end confdefs.h.  */
3569
3570 int
3571 main ()
3572 {
3573
3574   ;
3575   return 0;
3576 }
3577 _ACEOF
3578 if ac_fn_c_try_compile "$LINENO"; then :
3579   ac_cv_prog_cc_g=yes
3580 else
3581   CFLAGS=""
3582       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3583 /* end confdefs.h.  */
3584
3585 int
3586 main ()
3587 {
3588
3589   ;
3590   return 0;
3591 }
3592 _ACEOF
3593 if ac_fn_c_try_compile "$LINENO"; then :
3594
3595 else
3596   ac_c_werror_flag=$ac_save_c_werror_flag
3597          CFLAGS="-g"
3598          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3599 /* end confdefs.h.  */
3600
3601 int
3602 main ()
3603 {
3604
3605   ;
3606   return 0;
3607 }
3608 _ACEOF
3609 if ac_fn_c_try_compile "$LINENO"; then :
3610   ac_cv_prog_cc_g=yes
3611 fi
3612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3613 fi
3614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3615 fi
3616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3617    ac_c_werror_flag=$ac_save_c_werror_flag
3618 fi
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3620 $as_echo "$ac_cv_prog_cc_g" >&6; }
3621 if test "$ac_test_CFLAGS" = set; then
3622   CFLAGS=$ac_save_CFLAGS
3623 elif test $ac_cv_prog_cc_g = yes; then
3624   if test "$GCC" = yes; then
3625     CFLAGS="-g -O2"
3626   else
3627     CFLAGS="-g"
3628   fi
3629 else
3630   if test "$GCC" = yes; then
3631     CFLAGS="-O2"
3632   else
3633     CFLAGS=
3634   fi
3635 fi
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3637 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3638 if ${ac_cv_prog_cc_c89+:} false; then :
3639   $as_echo_n "(cached) " >&6
3640 else
3641   ac_cv_prog_cc_c89=no
3642 ac_save_CC=$CC
3643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3644 /* end confdefs.h.  */
3645 #include <stdarg.h>
3646 #include <stdio.h>
3647 struct stat;
3648 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3649 struct buf { int x; };
3650 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3651 static char *e (p, i)
3652      char **p;
3653      int i;
3654 {
3655   return p[i];
3656 }
3657 static char *f (char * (*g) (char **, int), char **p, ...)
3658 {
3659   char *s;
3660   va_list v;
3661   va_start (v,p);
3662   s = g (p, va_arg (v,int));
3663   va_end (v);
3664   return s;
3665 }
3666
3667 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3668    function prototypes and stuff, but not '\xHH' hex character constants.
3669    These don't provoke an error unfortunately, instead are silently treated
3670    as 'x'.  The following induces an error, until -std is added to get
3671    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3672    array size at least.  It's necessary to write '\x00'==0 to get something
3673    that's true only with -std.  */
3674 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3675
3676 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3677    inside strings and character constants.  */
3678 #define FOO(x) 'x'
3679 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3680
3681 int test (int i, double x);
3682 struct s1 {int (*f) (int a);};
3683 struct s2 {int (*f) (double a);};
3684 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3685 int argc;
3686 char **argv;
3687 int
3688 main ()
3689 {
3690 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3691   ;
3692   return 0;
3693 }
3694 _ACEOF
3695 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3696         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3697 do
3698   CC="$ac_save_CC $ac_arg"
3699   if ac_fn_c_try_compile "$LINENO"; then :
3700   ac_cv_prog_cc_c89=$ac_arg
3701 fi
3702 rm -f core conftest.err conftest.$ac_objext
3703   test "x$ac_cv_prog_cc_c89" != "xno" && break
3704 done
3705 rm -f conftest.$ac_ext
3706 CC=$ac_save_CC
3707
3708 fi
3709 # AC_CACHE_VAL
3710 case "x$ac_cv_prog_cc_c89" in
3711   x)
3712     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3713 $as_echo "none needed" >&6; } ;;
3714   xno)
3715     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3716 $as_echo "unsupported" >&6; } ;;
3717   *)
3718     CC="$CC $ac_cv_prog_cc_c89"
3719     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3720 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3721 esac
3722 if test "x$ac_cv_prog_cc_c89" != xno; then :
3723
3724 fi
3725
3726 ac_ext=c
3727 ac_cpp='$CPP $CPPFLAGS'
3728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3731 DEPDIR="${am__leading_dot}deps"
3732
3733 ac_config_commands="$ac_config_commands depfiles"
3734
3735
3736 am_make=${MAKE-make}
3737 cat > confinc << 'END'
3738 am__doit:
3739         @echo this is the am__doit target
3740 .PHONY: am__doit
3741 END
3742 # If we don't find an include directive, just comment out the code.
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3744 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3745 am__include="#"
3746 am__quote=
3747 _am_result=none
3748 # First try GNU make style include.
3749 echo "include confinc" > confmf
3750 # Ignore all kinds of additional output from `make'.
3751 case `$am_make -s -f confmf 2> /dev/null` in #(
3752 *the\ am__doit\ target*)
3753   am__include=include
3754   am__quote=
3755   _am_result=GNU
3756   ;;
3757 esac
3758 # Now try BSD make style include.
3759 if test "$am__include" = "#"; then
3760    echo '.include "confinc"' > confmf
3761    case `$am_make -s -f confmf 2> /dev/null` in #(
3762    *the\ am__doit\ target*)
3763      am__include=.include
3764      am__quote="\""
3765      _am_result=BSD
3766      ;;
3767    esac
3768 fi
3769
3770
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3772 $as_echo "$_am_result" >&6; }
3773 rm -f confinc confmf
3774
3775 # Check whether --enable-dependency-tracking was given.
3776 if test "${enable_dependency_tracking+set}" = set; then :
3777   enableval=$enable_dependency_tracking;
3778 fi
3779
3780 if test "x$enable_dependency_tracking" != xno; then
3781   am_depcomp="$ac_aux_dir/depcomp"
3782   AMDEPBACKSLASH='\'
3783   am__nodep='_no'
3784 fi
3785  if test "x$enable_dependency_tracking" != xno; then
3786   AMDEP_TRUE=
3787   AMDEP_FALSE='#'
3788 else
3789   AMDEP_TRUE='#'
3790   AMDEP_FALSE=
3791 fi
3792
3793
3794
3795 depcc="$CC"   am_compiler_list=
3796
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3798 $as_echo_n "checking dependency style of $depcc... " >&6; }
3799 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3800   $as_echo_n "(cached) " >&6
3801 else
3802   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3803   # We make a subdir and do the tests there.  Otherwise we can end up
3804   # making bogus files that we don't know about and never remove.  For
3805   # instance it was reported that on HP-UX the gcc test will end up
3806   # making a dummy file named `D' -- because `-MD' means `put the output
3807   # in D'.
3808   rm -rf conftest.dir
3809   mkdir conftest.dir
3810   # Copy depcomp to subdir because otherwise we won't find it if we're
3811   # using a relative directory.
3812   cp "$am_depcomp" conftest.dir
3813   cd conftest.dir
3814   # We will build objects and dependencies in a subdirectory because
3815   # it helps to detect inapplicable dependency modes.  For instance
3816   # both Tru64's cc and ICC support -MD to output dependencies as a
3817   # side effect of compilation, but ICC will put the dependencies in
3818   # the current directory while Tru64 will put them in the object
3819   # directory.
3820   mkdir sub
3821
3822   am_cv_CC_dependencies_compiler_type=none
3823   if test "$am_compiler_list" = ""; then
3824      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3825   fi
3826   am__universal=false
3827   case " $depcc " in #(
3828      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3829      esac
3830
3831   for depmode in $am_compiler_list; do
3832     # Setup a source with many dependencies, because some compilers
3833     # like to wrap large dependency lists on column 80 (with \), and
3834     # we should not choose a depcomp mode which is confused by this.
3835     #
3836     # We need to recreate these files for each test, as the compiler may
3837     # overwrite some of them when testing with obscure command lines.
3838     # This happens at least with the AIX C compiler.
3839     : > sub/conftest.c
3840     for i in 1 2 3 4 5 6; do
3841       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3842       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3843       # Solaris 8's {/usr,}/bin/sh.
3844       touch sub/conftst$i.h
3845     done
3846     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3847
3848     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3849     # mode.  It turns out that the SunPro C++ compiler does not properly
3850     # handle `-M -o', and we need to detect this.  Also, some Intel
3851     # versions had trouble with output in subdirs
3852     am__obj=sub/conftest.${OBJEXT-o}
3853     am__minus_obj="-o $am__obj"
3854     case $depmode in
3855     gcc)
3856       # This depmode causes a compiler race in universal mode.
3857       test "$am__universal" = false || continue
3858       ;;
3859     nosideeffect)
3860       # after this tag, mechanisms are not by side-effect, so they'll
3861       # only be used when explicitly requested
3862       if test "x$enable_dependency_tracking" = xyes; then
3863         continue
3864       else
3865         break
3866       fi
3867       ;;
3868     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3869       # This compiler won't grok `-c -o', but also, the minuso test has
3870       # not run yet.  These depmodes are late enough in the game, and
3871       # so weak that their functioning should not be impacted.
3872       am__obj=conftest.${OBJEXT-o}
3873       am__minus_obj=
3874       ;;
3875     none) break ;;
3876     esac
3877     if depmode=$depmode \
3878        source=sub/conftest.c object=$am__obj \
3879        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3880        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3881          >/dev/null 2>conftest.err &&
3882        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3883        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3884        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3885        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3886       # icc doesn't choke on unknown options, it will just issue warnings
3887       # or remarks (even with -Werror).  So we grep stderr for any message
3888       # that says an option was ignored or not supported.
3889       # When given -MP, icc 7.0 and 7.1 complain thusly:
3890       #   icc: Command line warning: ignoring option '-M'; no argument required
3891       # The diagnosis changed in icc 8.0:
3892       #   icc: Command line remark: option '-MP' not supported
3893       if (grep 'ignoring option' conftest.err ||
3894           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3895         am_cv_CC_dependencies_compiler_type=$depmode
3896         break
3897       fi
3898     fi
3899   done
3900
3901   cd ..
3902   rm -rf conftest.dir
3903 else
3904   am_cv_CC_dependencies_compiler_type=none
3905 fi
3906
3907 fi
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3909 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3910 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3911
3912  if
3913   test "x$enable_dependency_tracking" != xno \
3914   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3915   am__fastdepCC_TRUE=
3916   am__fastdepCC_FALSE='#'
3917 else
3918   am__fastdepCC_TRUE='#'
3919   am__fastdepCC_FALSE=
3920 fi
3921
3922
3923
3924 if test -n "$ac_tool_prefix"; then
3925   for ac_prog in ar lib "link -lib"
3926   do
3927     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3928 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3930 $as_echo_n "checking for $ac_word... " >&6; }
3931 if ${ac_cv_prog_AR+:} false; then :
3932   $as_echo_n "(cached) " >&6
3933 else
3934   if test -n "$AR"; then
3935   ac_cv_prog_AR="$AR" # Let the user override the test.
3936 else
3937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3938 for as_dir in $PATH
3939 do
3940   IFS=$as_save_IFS
3941   test -z "$as_dir" && as_dir=.
3942     for ac_exec_ext in '' $ac_executable_extensions; do
3943   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3944     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
3945     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3946     break 2
3947   fi
3948 done
3949   done
3950 IFS=$as_save_IFS
3951
3952 fi
3953 fi
3954 AR=$ac_cv_prog_AR
3955 if test -n "$AR"; then
3956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3957 $as_echo "$AR" >&6; }
3958 else
3959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3960 $as_echo "no" >&6; }
3961 fi
3962
3963
3964     test -n "$AR" && break
3965   done
3966 fi
3967 if test -z "$AR"; then
3968   ac_ct_AR=$AR
3969   for ac_prog in ar lib "link -lib"
3970 do
3971   # Extract the first word of "$ac_prog", so it can be a program name with args.
3972 set dummy $ac_prog; ac_word=$2
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3974 $as_echo_n "checking for $ac_word... " >&6; }
3975 if ${ac_cv_prog_ac_ct_AR+:} false; then :
3976   $as_echo_n "(cached) " >&6
3977 else
3978   if test -n "$ac_ct_AR"; then
3979   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3980 else
3981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3982 for as_dir in $PATH
3983 do
3984   IFS=$as_save_IFS
3985   test -z "$as_dir" && as_dir=.
3986     for ac_exec_ext in '' $ac_executable_extensions; do
3987   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3988     ac_cv_prog_ac_ct_AR="$ac_prog"
3989     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3990     break 2
3991   fi
3992 done
3993   done
3994 IFS=$as_save_IFS
3995
3996 fi
3997 fi
3998 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3999 if test -n "$ac_ct_AR"; then
4000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4001 $as_echo "$ac_ct_AR" >&6; }
4002 else
4003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4004 $as_echo "no" >&6; }
4005 fi
4006
4007
4008   test -n "$ac_ct_AR" && break
4009 done
4010
4011   if test "x$ac_ct_AR" = x; then
4012     AR="false"
4013   else
4014     case $cross_compiling:$ac_tool_warned in
4015 yes:)
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4017 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4018 ac_tool_warned=yes ;;
4019 esac
4020     AR=$ac_ct_AR
4021   fi
4022 fi
4023
4024 : ${AR=ar}
4025
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4027 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4028 if ${am_cv_ar_interface+:} false; then :
4029   $as_echo_n "(cached) " >&6
4030 else
4031   am_cv_ar_interface=ar
4032    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4033 /* end confdefs.h.  */
4034 int some_variable = 0;
4035 _ACEOF
4036 if ac_fn_c_try_compile "$LINENO"; then :
4037   am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4038       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4039   (eval $am_ar_try) 2>&5
4040   ac_status=$?
4041   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4042   test $ac_status = 0; }
4043       if test "$ac_status" -eq 0; then
4044         am_cv_ar_interface=ar
4045       else
4046         am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4047         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4048   (eval $am_ar_try) 2>&5
4049   ac_status=$?
4050   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4051   test $ac_status = 0; }
4052         if test "$ac_status" -eq 0; then
4053           am_cv_ar_interface=lib
4054         else
4055           am_cv_ar_interface=unknown
4056         fi
4057       fi
4058       rm -f conftest.lib libconftest.a
4059
4060 fi
4061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4062
4063 fi
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4065 $as_echo "$am_cv_ar_interface" >&6; }
4066
4067 case $am_cv_ar_interface in
4068 ar)
4069   ;;
4070 lib)
4071   # Microsoft lib, so override with the ar-lib wrapper script.
4072   # FIXME: It is wrong to rewrite AR.
4073   # But if we don't then we get into trouble of one sort or another.
4074   # A longer-term fix would be to have automake use am__AR in this case,
4075   # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4076   # similar.
4077   AR="$am_aux_dir/ar-lib $AR"
4078   ;;
4079 unknown)
4080   as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4081   ;;
4082 esac
4083
4084  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
4085 $as_echo_n "checking for GNU make... " >&6; }
4086 if ${_cv_gnu_make_command+:} false; then :
4087   $as_echo_n "(cached) " >&6
4088 else
4089   _cv_gnu_make_command='' ;
4090                 for a in "$MAKE" make gmake gnumake ; do
4091                         if test -z "$a" ; then continue ; fi ;
4092                         if  ( sh -c "$a --version" 2> /dev/null | grep GNU  2>&1 > /dev/null ) ;  then
4093                                 _cv_gnu_make_command=$a ;
4094                                 break;
4095                         fi
4096                 done ;
4097
4098 fi
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5
4100 $as_echo "$_cv_gnu_make_command" >&6; } ;
4101         if test  "x$_cv_gnu_make_command" != "x"  ; then
4102                 ifGNUmake='' ;
4103         else
4104                 ifGNUmake='#' ;
4105                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"Not found\"" >&5
4106 $as_echo "\"Not found\"" >&6; };
4107         fi
4108
4109
4110 if test "x$ifGNUmake" = "x#" ; then
4111         as_fn_error $? "\"GNUmake is required\"" "$LINENO" 5
4112 fi
4113
4114 #libtool
4115
4116 case `pwd` in
4117   *\ * | *\     *)
4118     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4119 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4120 esac
4121
4122
4123
4124 macro_version='2.4.2'
4125 macro_revision='1.3337'
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139 ltmain="$ac_aux_dir/ltmain.sh"
4140
4141 # Make sure we can run config.sub.
4142 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4143   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4144
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4146 $as_echo_n "checking build system type... " >&6; }
4147 if ${ac_cv_build+:} false; then :
4148   $as_echo_n "(cached) " >&6
4149 else
4150   ac_build_alias=$build_alias
4151 test "x$ac_build_alias" = x &&
4152   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4153 test "x$ac_build_alias" = x &&
4154   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4155 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4156   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4157
4158 fi
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4160 $as_echo "$ac_cv_build" >&6; }
4161 case $ac_cv_build in
4162 *-*-*) ;;
4163 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4164 esac
4165 build=$ac_cv_build
4166 ac_save_IFS=$IFS; IFS='-'
4167 set x $ac_cv_build
4168 shift
4169 build_cpu=$1
4170 build_vendor=$2
4171 shift; shift
4172 # Remember, the first character of IFS is used to create $*,
4173 # except with old shells:
4174 build_os=$*
4175 IFS=$ac_save_IFS
4176 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4177
4178
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4180 $as_echo_n "checking host system type... " >&6; }
4181 if ${ac_cv_host+:} false; then :
4182   $as_echo_n "(cached) " >&6
4183 else
4184   if test "x$host_alias" = x; then
4185   ac_cv_host=$ac_cv_build
4186 else
4187   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4188     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4189 fi
4190
4191 fi
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4193 $as_echo "$ac_cv_host" >&6; }
4194 case $ac_cv_host in
4195 *-*-*) ;;
4196 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4197 esac
4198 host=$ac_cv_host
4199 ac_save_IFS=$IFS; IFS='-'
4200 set x $ac_cv_host
4201 shift
4202 host_cpu=$1
4203 host_vendor=$2
4204 shift; shift
4205 # Remember, the first character of IFS is used to create $*,
4206 # except with old shells:
4207 host_os=$*
4208 IFS=$ac_save_IFS
4209 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4210
4211
4212 # Backslashify metacharacters that are still active within
4213 # double-quoted strings.
4214 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4215
4216 # Same as above, but do not quote variable references.
4217 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4218
4219 # Sed substitution to delay expansion of an escaped shell variable in a
4220 # double_quote_subst'ed string.
4221 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4222
4223 # Sed substitution to delay expansion of an escaped single quote.
4224 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4225
4226 # Sed substitution to avoid accidental globbing in evaled expressions
4227 no_glob_subst='s/\*/\\\*/g'
4228
4229 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4230 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4231 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4232
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4234 $as_echo_n "checking how to print strings... " >&6; }
4235 # Test print first, because it will be a builtin if present.
4236 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4237    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4238   ECHO='print -r --'
4239 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4240   ECHO='printf %s\n'
4241 else
4242   # Use this function as a fallback that always works.
4243   func_fallback_echo ()
4244   {
4245     eval 'cat <<_LTECHO_EOF
4246 $1
4247 _LTECHO_EOF'
4248   }
4249   ECHO='func_fallback_echo'
4250 fi
4251
4252 # func_echo_all arg...
4253 # Invoke $ECHO with all args, space-separated.
4254 func_echo_all ()
4255 {
4256     $ECHO ""
4257 }
4258
4259 case "$ECHO" in
4260   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4261 $as_echo "printf" >&6; } ;;
4262   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4263 $as_echo "print -r" >&6; } ;;
4264   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4265 $as_echo "cat" >&6; } ;;
4266 esac
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4282 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4283 if ${ac_cv_path_SED+:} false; then :
4284   $as_echo_n "(cached) " >&6
4285 else
4286             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4287      for ac_i in 1 2 3 4 5 6 7; do
4288        ac_script="$ac_script$as_nl$ac_script"
4289      done
4290      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4291      { ac_script=; unset ac_script;}
4292      if test -z "$SED"; then
4293   ac_path_SED_found=false
4294   # Loop through the user's path and test for each of PROGNAME-LIST
4295   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4296 for as_dir in $PATH
4297 do
4298   IFS=$as_save_IFS
4299   test -z "$as_dir" && as_dir=.
4300     for ac_prog in sed gsed; do
4301     for ac_exec_ext in '' $ac_executable_extensions; do
4302       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4303       as_fn_executable_p "$ac_path_SED" || continue
4304 # Check for GNU ac_path_SED and select it if it is found.
4305   # Check for GNU $ac_path_SED
4306 case `"$ac_path_SED" --version 2>&1` in
4307 *GNU*)
4308   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4309 *)
4310   ac_count=0
4311   $as_echo_n 0123456789 >"conftest.in"
4312   while :
4313   do
4314     cat "conftest.in" "conftest.in" >"conftest.tmp"
4315     mv "conftest.tmp" "conftest.in"
4316     cp "conftest.in" "conftest.nl"
4317     $as_echo '' >> "conftest.nl"
4318     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4319     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4320     as_fn_arith $ac_count + 1 && ac_count=$as_val
4321     if test $ac_count -gt ${ac_path_SED_max-0}; then
4322       # Best one so far, save it but keep looking for a better one
4323       ac_cv_path_SED="$ac_path_SED"
4324       ac_path_SED_max=$ac_count
4325     fi
4326     # 10*(2^10) chars as input seems more than enough
4327     test $ac_count -gt 10 && break
4328   done
4329   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4330 esac
4331
4332       $ac_path_SED_found && break 3
4333     done
4334   done
4335   done
4336 IFS=$as_save_IFS
4337   if test -z "$ac_cv_path_SED"; then
4338     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4339   fi
4340 else
4341   ac_cv_path_SED=$SED
4342 fi
4343
4344 fi
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4346 $as_echo "$ac_cv_path_SED" >&6; }
4347  SED="$ac_cv_path_SED"
4348   rm -f conftest.sed
4349
4350 test -z "$SED" && SED=sed
4351 Xsed="$SED -e 1s/^X//"
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4364 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4365 if ${ac_cv_path_GREP+:} false; then :
4366   $as_echo_n "(cached) " >&6
4367 else
4368   if test -z "$GREP"; then
4369   ac_path_GREP_found=false
4370   # Loop through the user's path and test for each of PROGNAME-LIST
4371   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4372 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4373 do
4374   IFS=$as_save_IFS
4375   test -z "$as_dir" && as_dir=.
4376     for ac_prog in grep ggrep; do
4377     for ac_exec_ext in '' $ac_executable_extensions; do
4378       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4379       as_fn_executable_p "$ac_path_GREP" || continue
4380 # Check for GNU ac_path_GREP and select it if it is found.
4381   # Check for GNU $ac_path_GREP
4382 case `"$ac_path_GREP" --version 2>&1` in
4383 *GNU*)
4384   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4385 *)
4386   ac_count=0
4387   $as_echo_n 0123456789 >"conftest.in"
4388   while :
4389   do
4390     cat "conftest.in" "conftest.in" >"conftest.tmp"
4391     mv "conftest.tmp" "conftest.in"
4392     cp "conftest.in" "conftest.nl"
4393     $as_echo 'GREP' >> "conftest.nl"
4394     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4395     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4396     as_fn_arith $ac_count + 1 && ac_count=$as_val
4397     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4398       # Best one so far, save it but keep looking for a better one
4399       ac_cv_path_GREP="$ac_path_GREP"
4400       ac_path_GREP_max=$ac_count
4401     fi
4402     # 10*(2^10) chars as input seems more than enough
4403     test $ac_count -gt 10 && break
4404   done
4405   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4406 esac
4407
4408       $ac_path_GREP_found && break 3
4409     done
4410   done
4411   done
4412 IFS=$as_save_IFS
4413   if test -z "$ac_cv_path_GREP"; then
4414     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4415   fi
4416 else
4417   ac_cv_path_GREP=$GREP
4418 fi
4419
4420 fi
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4422 $as_echo "$ac_cv_path_GREP" >&6; }
4423  GREP="$ac_cv_path_GREP"
4424
4425
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4427 $as_echo_n "checking for egrep... " >&6; }
4428 if ${ac_cv_path_EGREP+:} false; then :
4429   $as_echo_n "(cached) " >&6
4430 else
4431   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4432    then ac_cv_path_EGREP="$GREP -E"
4433    else
4434      if test -z "$EGREP"; then
4435   ac_path_EGREP_found=false
4436   # Loop through the user's path and test for each of PROGNAME-LIST
4437   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4438 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4439 do
4440   IFS=$as_save_IFS
4441   test -z "$as_dir" && as_dir=.
4442     for ac_prog in egrep; do
4443     for ac_exec_ext in '' $ac_executable_extensions; do
4444       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4445       as_fn_executable_p "$ac_path_EGREP" || continue
4446 # Check for GNU ac_path_EGREP and select it if it is found.
4447   # Check for GNU $ac_path_EGREP
4448 case `"$ac_path_EGREP" --version 2>&1` in
4449 *GNU*)
4450   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4451 *)
4452   ac_count=0
4453   $as_echo_n 0123456789 >"conftest.in"
4454   while :
4455   do
4456     cat "conftest.in" "conftest.in" >"conftest.tmp"
4457     mv "conftest.tmp" "conftest.in"
4458     cp "conftest.in" "conftest.nl"
4459     $as_echo 'EGREP' >> "conftest.nl"
4460     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4461     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4462     as_fn_arith $ac_count + 1 && ac_count=$as_val
4463     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4464       # Best one so far, save it but keep looking for a better one
4465       ac_cv_path_EGREP="$ac_path_EGREP"
4466       ac_path_EGREP_max=$ac_count
4467     fi
4468     # 10*(2^10) chars as input seems more than enough
4469     test $ac_count -gt 10 && break
4470   done
4471   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4472 esac
4473
4474       $ac_path_EGREP_found && break 3
4475     done
4476   done
4477   done
4478 IFS=$as_save_IFS
4479   if test -z "$ac_cv_path_EGREP"; then
4480     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4481   fi
4482 else
4483   ac_cv_path_EGREP=$EGREP
4484 fi
4485
4486    fi
4487 fi
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4489 $as_echo "$ac_cv_path_EGREP" >&6; }
4490  EGREP="$ac_cv_path_EGREP"
4491
4492
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4494 $as_echo_n "checking for fgrep... " >&6; }
4495 if ${ac_cv_path_FGREP+:} false; then :
4496   $as_echo_n "(cached) " >&6
4497 else
4498   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4499    then ac_cv_path_FGREP="$GREP -F"
4500    else
4501      if test -z "$FGREP"; then
4502   ac_path_FGREP_found=false
4503   # Loop through the user's path and test for each of PROGNAME-LIST
4504   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4505 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4506 do
4507   IFS=$as_save_IFS
4508   test -z "$as_dir" && as_dir=.
4509     for ac_prog in fgrep; do
4510     for ac_exec_ext in '' $ac_executable_extensions; do
4511       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4512       as_fn_executable_p "$ac_path_FGREP" || continue
4513 # Check for GNU ac_path_FGREP and select it if it is found.
4514   # Check for GNU $ac_path_FGREP
4515 case `"$ac_path_FGREP" --version 2>&1` in
4516 *GNU*)
4517   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4518 *)
4519   ac_count=0
4520   $as_echo_n 0123456789 >"conftest.in"
4521   while :
4522   do
4523     cat "conftest.in" "conftest.in" >"conftest.tmp"
4524     mv "conftest.tmp" "conftest.in"
4525     cp "conftest.in" "conftest.nl"
4526     $as_echo 'FGREP' >> "conftest.nl"
4527     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4528     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4529     as_fn_arith $ac_count + 1 && ac_count=$as_val
4530     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4531       # Best one so far, save it but keep looking for a better one
4532       ac_cv_path_FGREP="$ac_path_FGREP"
4533       ac_path_FGREP_max=$ac_count
4534     fi
4535     # 10*(2^10) chars as input seems more than enough
4536     test $ac_count -gt 10 && break
4537   done
4538   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4539 esac
4540
4541       $ac_path_FGREP_found && break 3
4542     done
4543   done
4544   done
4545 IFS=$as_save_IFS
4546   if test -z "$ac_cv_path_FGREP"; then
4547     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4548   fi
4549 else
4550   ac_cv_path_FGREP=$FGREP
4551 fi
4552
4553    fi
4554 fi
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4556 $as_echo "$ac_cv_path_FGREP" >&6; }
4557  FGREP="$ac_cv_path_FGREP"
4558
4559
4560 test -z "$GREP" && GREP=grep
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580 # Check whether --with-gnu-ld was given.
4581 if test "${with_gnu_ld+set}" = set; then :
4582   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4583 else
4584   with_gnu_ld=no
4585 fi
4586
4587 ac_prog=ld
4588 if test "$GCC" = yes; then
4589   # Check if gcc -print-prog-name=ld gives a path.
4590   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4591 $as_echo_n "checking for ld used by $CC... " >&6; }
4592   case $host in
4593   *-*-mingw*)
4594     # gcc leaves a trailing carriage return which upsets mingw
4595     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4596   *)
4597     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4598   esac
4599   case $ac_prog in
4600     # Accept absolute paths.
4601     [\\/]* | ?:[\\/]*)
4602       re_direlt='/[^/][^/]*/\.\./'
4603       # Canonicalize the pathname of ld
4604       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4605       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4606         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4607       done
4608       test -z "$LD" && LD="$ac_prog"
4609       ;;
4610   "")
4611     # If it fails, then pretend we aren't using GCC.
4612     ac_prog=ld
4613     ;;
4614   *)
4615     # If it is relative, then search for the first ld in PATH.
4616     with_gnu_ld=unknown
4617     ;;
4618   esac
4619 elif test "$with_gnu_ld" = yes; then
4620   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4621 $as_echo_n "checking for GNU ld... " >&6; }
4622 else
4623   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4624 $as_echo_n "checking for non-GNU ld... " >&6; }
4625 fi
4626 if ${lt_cv_path_LD+:} false; then :
4627   $as_echo_n "(cached) " >&6
4628 else
4629   if test -z "$LD"; then
4630   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4631   for ac_dir in $PATH; do
4632     IFS="$lt_save_ifs"
4633     test -z "$ac_dir" && ac_dir=.
4634     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4635       lt_cv_path_LD="$ac_dir/$ac_prog"
4636       # Check to see if the program is GNU ld.  I'd rather use --version,
4637       # but apparently some variants of GNU ld only accept -v.
4638       # Break only if it was the GNU/non-GNU ld that we prefer.
4639       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4640       *GNU* | *'with BFD'*)
4641         test "$with_gnu_ld" != no && break
4642         ;;
4643       *)
4644         test "$with_gnu_ld" != yes && break
4645         ;;
4646       esac
4647     fi
4648   done
4649   IFS="$lt_save_ifs"
4650 else
4651   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4652 fi
4653 fi
4654
4655 LD="$lt_cv_path_LD"
4656 if test -n "$LD"; then
4657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4658 $as_echo "$LD" >&6; }
4659 else
4660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4661 $as_echo "no" >&6; }
4662 fi
4663 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4665 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4666 if ${lt_cv_prog_gnu_ld+:} false; then :
4667   $as_echo_n "(cached) " >&6
4668 else
4669   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4670 case `$LD -v 2>&1 </dev/null` in
4671 *GNU* | *'with BFD'*)
4672   lt_cv_prog_gnu_ld=yes
4673   ;;
4674 *)
4675   lt_cv_prog_gnu_ld=no
4676   ;;
4677 esac
4678 fi
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4680 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4681 with_gnu_ld=$lt_cv_prog_gnu_ld
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4692 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4693 if ${lt_cv_path_NM+:} false; then :
4694   $as_echo_n "(cached) " >&6
4695 else
4696   if test -n "$NM"; then
4697   # Let the user override the test.
4698   lt_cv_path_NM="$NM"
4699 else
4700   lt_nm_to_check="${ac_tool_prefix}nm"
4701   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4702     lt_nm_to_check="$lt_nm_to_check nm"
4703   fi
4704   for lt_tmp_nm in $lt_nm_to_check; do
4705     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4706     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4707       IFS="$lt_save_ifs"
4708       test -z "$ac_dir" && ac_dir=.
4709       tmp_nm="$ac_dir/$lt_tmp_nm"
4710       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4711         # Check to see if the nm accepts a BSD-compat flag.
4712         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4713         #   nm: unknown option "B" ignored
4714         # Tru64's nm complains that /dev/null is an invalid object file
4715         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4716         */dev/null* | *'Invalid file or object type'*)
4717           lt_cv_path_NM="$tmp_nm -B"
4718           break
4719           ;;
4720         *)
4721           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4722           */dev/null*)
4723             lt_cv_path_NM="$tmp_nm -p"
4724             break
4725             ;;
4726           *)
4727             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4728             continue # so that we can try to find one that supports BSD flags
4729             ;;
4730           esac
4731           ;;
4732         esac
4733       fi
4734     done
4735     IFS="$lt_save_ifs"
4736   done
4737   : ${lt_cv_path_NM=no}
4738 fi
4739 fi
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4741 $as_echo "$lt_cv_path_NM" >&6; }
4742 if test "$lt_cv_path_NM" != "no"; then
4743   NM="$lt_cv_path_NM"
4744 else
4745   # Didn't find any BSD compatible name lister, look for dumpbin.
4746   if test -n "$DUMPBIN"; then :
4747     # Let the user override the test.
4748   else
4749     if test -n "$ac_tool_prefix"; then
4750   for ac_prog in dumpbin "link -dump"
4751   do
4752     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4753 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4755 $as_echo_n "checking for $ac_word... " >&6; }
4756 if ${ac_cv_prog_DUMPBIN+:} false; then :
4757   $as_echo_n "(cached) " >&6
4758 else
4759   if test -n "$DUMPBIN"; then
4760   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4761 else
4762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4763 for as_dir in $PATH
4764 do
4765   IFS=$as_save_IFS
4766   test -z "$as_dir" && as_dir=.
4767     for ac_exec_ext in '' $ac_executable_extensions; do
4768   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4769     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4770     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4771     break 2
4772   fi
4773 done
4774   done
4775 IFS=$as_save_IFS
4776
4777 fi
4778 fi
4779 DUMPBIN=$ac_cv_prog_DUMPBIN
4780 if test -n "$DUMPBIN"; then
4781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4782 $as_echo "$DUMPBIN" >&6; }
4783 else
4784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4785 $as_echo "no" >&6; }
4786 fi
4787
4788
4789     test -n "$DUMPBIN" && break
4790   done
4791 fi
4792 if test -z "$DUMPBIN"; then
4793   ac_ct_DUMPBIN=$DUMPBIN
4794   for ac_prog in dumpbin "link -dump"
4795 do
4796   # Extract the first word of "$ac_prog", so it can be a program name with args.
4797 set dummy $ac_prog; ac_word=$2
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4799 $as_echo_n "checking for $ac_word... " >&6; }
4800 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4801   $as_echo_n "(cached) " >&6
4802 else
4803   if test -n "$ac_ct_DUMPBIN"; then
4804   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4805 else
4806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4807 for as_dir in $PATH
4808 do
4809   IFS=$as_save_IFS
4810   test -z "$as_dir" && as_dir=.
4811     for ac_exec_ext in '' $ac_executable_extensions; do
4812   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4813     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4814     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4815     break 2
4816   fi
4817 done
4818   done
4819 IFS=$as_save_IFS
4820
4821 fi
4822 fi
4823 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4824 if test -n "$ac_ct_DUMPBIN"; then
4825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4826 $as_echo "$ac_ct_DUMPBIN" >&6; }
4827 else
4828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4829 $as_echo "no" >&6; }
4830 fi
4831
4832
4833   test -n "$ac_ct_DUMPBIN" && break
4834 done
4835
4836   if test "x$ac_ct_DUMPBIN" = x; then
4837     DUMPBIN=":"
4838   else
4839     case $cross_compiling:$ac_tool_warned in
4840 yes:)
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4842 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4843 ac_tool_warned=yes ;;
4844 esac
4845     DUMPBIN=$ac_ct_DUMPBIN
4846   fi
4847 fi
4848
4849     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4850     *COFF*)
4851       DUMPBIN="$DUMPBIN -symbols"
4852       ;;
4853     *)
4854       DUMPBIN=:
4855       ;;
4856     esac
4857   fi
4858
4859   if test "$DUMPBIN" != ":"; then
4860     NM="$DUMPBIN"
4861   fi
4862 fi
4863 test -z "$NM" && NM=nm
4864
4865
4866
4867
4868
4869
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4871 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4872 if ${lt_cv_nm_interface+:} false; then :
4873   $as_echo_n "(cached) " >&6
4874 else
4875   lt_cv_nm_interface="BSD nm"
4876   echo "int some_variable = 0;" > conftest.$ac_ext
4877   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4878   (eval "$ac_compile" 2>conftest.err)
4879   cat conftest.err >&5
4880   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4881   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4882   cat conftest.err >&5
4883   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4884   cat conftest.out >&5
4885   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4886     lt_cv_nm_interface="MS dumpbin"
4887   fi
4888   rm -f conftest*
4889 fi
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4891 $as_echo "$lt_cv_nm_interface" >&6; }
4892
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4894 $as_echo_n "checking whether ln -s works... " >&6; }
4895 LN_S=$as_ln_s
4896 if test "$LN_S" = "ln -s"; then
4897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4898 $as_echo "yes" >&6; }
4899 else
4900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4901 $as_echo "no, using $LN_S" >&6; }
4902 fi
4903
4904 # find the maximum length of command line arguments
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4906 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4907 if ${lt_cv_sys_max_cmd_len+:} false; then :
4908   $as_echo_n "(cached) " >&6
4909 else
4910     i=0
4911   teststring="ABCD"
4912
4913   case $build_os in
4914   msdosdjgpp*)
4915     # On DJGPP, this test can blow up pretty badly due to problems in libc
4916     # (any single argument exceeding 2000 bytes causes a buffer overrun
4917     # during glob expansion).  Even if it were fixed, the result of this
4918     # check would be larger than it should be.
4919     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4920     ;;
4921
4922   gnu*)
4923     # Under GNU Hurd, this test is not required because there is
4924     # no limit to the length of command line arguments.
4925     # Libtool will interpret -1 as no limit whatsoever
4926     lt_cv_sys_max_cmd_len=-1;
4927     ;;
4928
4929   cygwin* | mingw* | cegcc*)
4930     # On Win9x/ME, this test blows up -- it succeeds, but takes
4931     # about 5 minutes as the teststring grows exponentially.
4932     # Worse, since 9x/ME are not pre-emptively multitasking,
4933     # you end up with a "frozen" computer, even though with patience
4934     # the test eventually succeeds (with a max line length of 256k).
4935     # Instead, let's just punt: use the minimum linelength reported by
4936     # all of the supported platforms: 8192 (on NT/2K/XP).
4937     lt_cv_sys_max_cmd_len=8192;
4938     ;;
4939
4940   mint*)
4941     # On MiNT this can take a long time and run out of memory.
4942     lt_cv_sys_max_cmd_len=8192;
4943     ;;
4944
4945   amigaos*)
4946     # On AmigaOS with pdksh, this test takes hours, literally.
4947     # So we just punt and use a minimum line length of 8192.
4948     lt_cv_sys_max_cmd_len=8192;
4949     ;;
4950
4951   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4952     # This has been around since 386BSD, at least.  Likely further.
4953     if test -x /sbin/sysctl; then
4954       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4955     elif test -x /usr/sbin/sysctl; then
4956       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4957     else
4958       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4959     fi
4960     # And add a safety zone
4961     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4962     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4963     ;;
4964
4965   interix*)
4966     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4967     lt_cv_sys_max_cmd_len=196608
4968     ;;
4969
4970   os2*)
4971     # The test takes a long time on OS/2.
4972     lt_cv_sys_max_cmd_len=8192
4973     ;;
4974
4975   osf*)
4976     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4977     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4978     # nice to cause kernel panics so lets avoid the loop below.
4979     # First set a reasonable default.
4980     lt_cv_sys_max_cmd_len=16384
4981     #
4982     if test -x /sbin/sysconfig; then
4983       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4984         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4985       esac
4986     fi
4987     ;;
4988   sco3.2v5*)
4989     lt_cv_sys_max_cmd_len=102400
4990     ;;
4991   sysv5* | sco5v6* | sysv4.2uw2*)
4992     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4993     if test -n "$kargmax"; then
4994       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4995     else
4996       lt_cv_sys_max_cmd_len=32768
4997     fi
4998     ;;
4999   *)
5000     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5001     if test -n "$lt_cv_sys_max_cmd_len"; then
5002       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5003       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5004     else
5005       # Make teststring a little bigger before we do anything with it.
5006       # a 1K string should be a reasonable start.
5007       for i in 1 2 3 4 5 6 7 8 ; do
5008         teststring=$teststring$teststring
5009       done
5010       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5011       # If test is not a shell built-in, we'll probably end up computing a
5012       # maximum length that is only half of the actual maximum length, but
5013       # we can't tell.
5014       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5015                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5016               test $i != 17 # 1/2 MB should be enough
5017       do
5018         i=`expr $i + 1`
5019         teststring=$teststring$teststring
5020       done
5021       # Only check the string length outside the loop.
5022       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5023       teststring=
5024       # Add a significant safety factor because C++ compilers can tack on
5025       # massive amounts of additional arguments before passing them to the
5026       # linker.  It appears as though 1/2 is a usable value.
5027       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5028     fi
5029     ;;
5030   esac
5031
5032 fi
5033
5034 if test -n $lt_cv_sys_max_cmd_len ; then
5035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5036 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5037 else
5038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5039 $as_echo "none" >&6; }
5040 fi
5041 max_cmd_len=$lt_cv_sys_max_cmd_len
5042
5043
5044
5045
5046
5047
5048 : ${CP="cp -f"}
5049 : ${MV="mv -f"}
5050 : ${RM="rm -f"}
5051
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5053 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5054 # Try some XSI features
5055 xsi_shell=no
5056 ( _lt_dummy="a/b/c"
5057   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5058       = c,a/b,b/c, \
5059     && eval 'test $(( 1 + 1 )) -eq 2 \
5060     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5061   && xsi_shell=yes
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5063 $as_echo "$xsi_shell" >&6; }
5064
5065
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5067 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5068 lt_shell_append=no
5069 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5070     >/dev/null 2>&1 \
5071   && lt_shell_append=yes
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5073 $as_echo "$lt_shell_append" >&6; }
5074
5075
5076 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5077   lt_unset=unset
5078 else
5079   lt_unset=false
5080 fi
5081
5082
5083
5084
5085
5086 # test EBCDIC or ASCII
5087 case `echo X|tr X '\101'` in
5088  A) # ASCII based system
5089     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5090   lt_SP2NL='tr \040 \012'
5091   lt_NL2SP='tr \015\012 \040\040'
5092   ;;
5093  *) # EBCDIC based system
5094   lt_SP2NL='tr \100 \n'
5095   lt_NL2SP='tr \r\n \100\100'
5096   ;;
5097 esac
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5108 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5109 if ${lt_cv_to_host_file_cmd+:} false; then :
5110   $as_echo_n "(cached) " >&6
5111 else
5112   case $host in
5113   *-*-mingw* )
5114     case $build in
5115       *-*-mingw* ) # actually msys
5116         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5117         ;;
5118       *-*-cygwin* )
5119         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5120         ;;
5121       * ) # otherwise, assume *nix
5122         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5123         ;;
5124     esac
5125     ;;
5126   *-*-cygwin* )
5127     case $build in
5128       *-*-mingw* ) # actually msys
5129         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5130         ;;
5131       *-*-cygwin* )
5132         lt_cv_to_host_file_cmd=func_convert_file_noop
5133         ;;
5134       * ) # otherwise, assume *nix
5135         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5136         ;;
5137     esac
5138     ;;
5139   * ) # unhandled hosts (and "normal" native builds)
5140     lt_cv_to_host_file_cmd=func_convert_file_noop
5141     ;;
5142 esac
5143
5144 fi
5145
5146 to_host_file_cmd=$lt_cv_to_host_file_cmd
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5148 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5149
5150
5151
5152
5153
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5155 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5156 if ${lt_cv_to_tool_file_cmd+:} false; then :
5157   $as_echo_n "(cached) " >&6
5158 else
5159   #assume ordinary cross tools, or native build.
5160 lt_cv_to_tool_file_cmd=func_convert_file_noop
5161 case $host in
5162   *-*-mingw* )
5163     case $build in
5164       *-*-mingw* ) # actually msys
5165         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5166         ;;
5167     esac
5168     ;;
5169 esac
5170
5171 fi
5172
5173 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5175 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5176
5177
5178
5179
5180
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5182 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5183 if ${lt_cv_ld_reload_flag+:} false; then :
5184   $as_echo_n "(cached) " >&6
5185 else
5186   lt_cv_ld_reload_flag='-r'
5187 fi
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5189 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5190 reload_flag=$lt_cv_ld_reload_flag
5191 case $reload_flag in
5192 "" | " "*) ;;
5193 *) reload_flag=" $reload_flag" ;;
5194 esac
5195 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5196 case $host_os in
5197   cygwin* | mingw* | pw32* | cegcc*)
5198     if test "$GCC" != yes; then
5199       reload_cmds=false
5200     fi
5201     ;;
5202   darwin*)
5203     if test "$GCC" = yes; then
5204       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5205     else
5206       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5207     fi
5208     ;;
5209 esac
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219 if test -n "$ac_tool_prefix"; then
5220   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5221 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5223 $as_echo_n "checking for $ac_word... " >&6; }
5224 if ${ac_cv_prog_OBJDUMP+:} false; then :
5225   $as_echo_n "(cached) " >&6
5226 else
5227   if test -n "$OBJDUMP"; then
5228   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5229 else
5230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5231 for as_dir in $PATH
5232 do
5233   IFS=$as_save_IFS
5234   test -z "$as_dir" && as_dir=.
5235     for ac_exec_ext in '' $ac_executable_extensions; do
5236   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5237     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5238     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5239     break 2
5240   fi
5241 done
5242   done
5243 IFS=$as_save_IFS
5244
5245 fi
5246 fi
5247 OBJDUMP=$ac_cv_prog_OBJDUMP
5248 if test -n "$OBJDUMP"; then
5249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5250 $as_echo "$OBJDUMP" >&6; }
5251 else
5252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5253 $as_echo "no" >&6; }
5254 fi
5255
5256
5257 fi
5258 if test -z "$ac_cv_prog_OBJDUMP"; then
5259   ac_ct_OBJDUMP=$OBJDUMP
5260   # Extract the first word of "objdump", so it can be a program name with args.
5261 set dummy objdump; ac_word=$2
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5263 $as_echo_n "checking for $ac_word... " >&6; }
5264 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5265   $as_echo_n "(cached) " >&6
5266 else
5267   if test -n "$ac_ct_OBJDUMP"; then
5268   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5269 else
5270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5271 for as_dir in $PATH
5272 do
5273   IFS=$as_save_IFS
5274   test -z "$as_dir" && as_dir=.
5275     for ac_exec_ext in '' $ac_executable_extensions; do
5276   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5277     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5278     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5279     break 2
5280   fi
5281 done
5282   done
5283 IFS=$as_save_IFS
5284
5285 fi
5286 fi
5287 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5288 if test -n "$ac_ct_OBJDUMP"; then
5289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5290 $as_echo "$ac_ct_OBJDUMP" >&6; }
5291 else
5292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5293 $as_echo "no" >&6; }
5294 fi
5295
5296   if test "x$ac_ct_OBJDUMP" = x; then
5297     OBJDUMP="false"
5298   else
5299     case $cross_compiling:$ac_tool_warned in
5300 yes:)
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5302 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5303 ac_tool_warned=yes ;;
5304 esac
5305     OBJDUMP=$ac_ct_OBJDUMP
5306   fi
5307 else
5308   OBJDUMP="$ac_cv_prog_OBJDUMP"
5309 fi
5310
5311 test -z "$OBJDUMP" && OBJDUMP=objdump
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5322 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5323 if ${lt_cv_deplibs_check_method+:} false; then :
5324   $as_echo_n "(cached) " >&6
5325 else
5326   lt_cv_file_magic_cmd='$MAGIC_CMD'
5327 lt_cv_file_magic_test_file=
5328 lt_cv_deplibs_check_method='unknown'
5329 # Need to set the preceding variable on all platforms that support
5330 # interlibrary dependencies.
5331 # 'none' -- dependencies not supported.
5332 # `unknown' -- same as none, but documents that we really don't know.
5333 # 'pass_all' -- all dependencies passed with no checks.
5334 # 'test_compile' -- check by making test program.
5335 # 'file_magic [[regex]]' -- check by looking for files in library path
5336 # which responds to the $file_magic_cmd with a given extended regex.
5337 # If you have `file' or equivalent on your system and you're not sure
5338 # whether `pass_all' will *always* work, you probably want this one.
5339
5340 case $host_os in
5341 aix[4-9]*)
5342   lt_cv_deplibs_check_method=pass_all
5343   ;;
5344
5345 beos*)
5346   lt_cv_deplibs_check_method=pass_all
5347   ;;
5348
5349 bsdi[45]*)
5350   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5351   lt_cv_file_magic_cmd='/usr/bin/file -L'
5352   lt_cv_file_magic_test_file=/shlib/libc.so
5353   ;;
5354
5355 cygwin*)
5356   # func_win32_libid is a shell function defined in ltmain.sh
5357   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5358   lt_cv_file_magic_cmd='func_win32_libid'
5359   ;;
5360
5361 mingw* | pw32*)
5362   # Base MSYS/MinGW do not provide the 'file' command needed by
5363   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5364   # unless we find 'file', for example because we are cross-compiling.
5365   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5366   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5367     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5368     lt_cv_file_magic_cmd='func_win32_libid'
5369   else
5370     # Keep this pattern in sync with the one in func_win32_libid.
5371     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5372     lt_cv_file_magic_cmd='$OBJDUMP -f'
5373   fi
5374   ;;
5375
5376 cegcc*)
5377   # use the weaker test based on 'objdump'. See mingw*.
5378   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5379   lt_cv_file_magic_cmd='$OBJDUMP -f'
5380   ;;
5381
5382 darwin* | rhapsody*)
5383   lt_cv_deplibs_check_method=pass_all
5384   ;;
5385
5386 freebsd* | dragonfly*)
5387   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5388     case $host_cpu in
5389     i*86 )
5390       # Not sure whether the presence of OpenBSD here was a mistake.
5391       # Let's accept both of them until this is cleared up.
5392       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5393       lt_cv_file_magic_cmd=/usr/bin/file
5394       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5395       ;;
5396     esac
5397   else
5398     lt_cv_deplibs_check_method=pass_all
5399   fi
5400   ;;
5401
5402 gnu*)
5403   lt_cv_deplibs_check_method=pass_all
5404   ;;
5405
5406 haiku*)
5407   lt_cv_deplibs_check_method=pass_all
5408   ;;
5409
5410 hpux10.20* | hpux11*)
5411   lt_cv_file_magic_cmd=/usr/bin/file
5412   case $host_cpu in
5413   ia64*)
5414     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5415     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5416     ;;
5417   hppa*64*)
5418     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]'
5419     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5420     ;;
5421   *)
5422     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5423     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5424     ;;
5425   esac
5426   ;;
5427
5428 interix[3-9]*)
5429   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5430   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5431   ;;
5432
5433 irix5* | irix6* | nonstopux*)
5434   case $LD in
5435   *-32|*"-32 ") libmagic=32-bit;;
5436   *-n32|*"-n32 ") libmagic=N32;;
5437   *-64|*"-64 ") libmagic=64-bit;;
5438   *) libmagic=never-match;;
5439   esac
5440   lt_cv_deplibs_check_method=pass_all
5441   ;;
5442
5443 # This must be glibc/ELF.
5444 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5445   lt_cv_deplibs_check_method=pass_all
5446   ;;
5447
5448 netbsd* | netbsdelf*-gnu)
5449   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5450     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5451   else
5452     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5453   fi
5454   ;;
5455
5456 newos6*)
5457   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5458   lt_cv_file_magic_cmd=/usr/bin/file
5459   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5460   ;;
5461
5462 *nto* | *qnx*)
5463   lt_cv_deplibs_check_method=pass_all
5464   ;;
5465
5466 openbsd*)
5467   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5468     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5469   else
5470     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5471   fi
5472   ;;
5473
5474 osf3* | osf4* | osf5*)
5475   lt_cv_deplibs_check_method=pass_all
5476   ;;
5477
5478 rdos*)
5479   lt_cv_deplibs_check_method=pass_all
5480   ;;
5481
5482 solaris*)
5483   lt_cv_deplibs_check_method=pass_all
5484   ;;
5485
5486 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5487   lt_cv_deplibs_check_method=pass_all
5488   ;;
5489
5490 sysv4 | sysv4.3*)
5491   case $host_vendor in
5492   motorola)
5493     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]'
5494     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5495     ;;
5496   ncr)
5497     lt_cv_deplibs_check_method=pass_all
5498     ;;
5499   sequent)
5500     lt_cv_file_magic_cmd='/bin/file'
5501     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5502     ;;
5503   sni)
5504     lt_cv_file_magic_cmd='/bin/file'
5505     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5506     lt_cv_file_magic_test_file=/lib/libc.so
5507     ;;
5508   siemens)
5509     lt_cv_deplibs_check_method=pass_all
5510     ;;
5511   pc)
5512     lt_cv_deplibs_check_method=pass_all
5513     ;;
5514   esac
5515   ;;
5516
5517 tpf*)
5518   lt_cv_deplibs_check_method=pass_all
5519   ;;
5520 esac
5521
5522 fi
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5524 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5525
5526 file_magic_glob=
5527 want_nocaseglob=no
5528 if test "$build" = "$host"; then
5529   case $host_os in
5530   mingw* | pw32*)
5531     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5532       want_nocaseglob=yes
5533     else
5534       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5535     fi
5536     ;;
5537   esac
5538 fi
5539
5540 file_magic_cmd=$lt_cv_file_magic_cmd
5541 deplibs_check_method=$lt_cv_deplibs_check_method
5542 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565 if test -n "$ac_tool_prefix"; then
5566   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5567 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5569 $as_echo_n "checking for $ac_word... " >&6; }
5570 if ${ac_cv_prog_DLLTOOL+:} false; then :
5571   $as_echo_n "(cached) " >&6
5572 else
5573   if test -n "$DLLTOOL"; then
5574   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5575 else
5576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5577 for as_dir in $PATH
5578 do
5579   IFS=$as_save_IFS
5580   test -z "$as_dir" && as_dir=.
5581     for ac_exec_ext in '' $ac_executable_extensions; do
5582   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5583     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5584     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5585     break 2
5586   fi
5587 done
5588   done
5589 IFS=$as_save_IFS
5590
5591 fi
5592 fi
5593 DLLTOOL=$ac_cv_prog_DLLTOOL
5594 if test -n "$DLLTOOL"; then
5595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5596 $as_echo "$DLLTOOL" >&6; }
5597 else
5598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5599 $as_echo "no" >&6; }
5600 fi
5601
5602
5603 fi
5604 if test -z "$ac_cv_prog_DLLTOOL"; then
5605   ac_ct_DLLTOOL=$DLLTOOL
5606   # Extract the first word of "dlltool", so it can be a program name with args.
5607 set dummy dlltool; ac_word=$2
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5609 $as_echo_n "checking for $ac_word... " >&6; }
5610 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5611   $as_echo_n "(cached) " >&6
5612 else
5613   if test -n "$ac_ct_DLLTOOL"; then
5614   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5615 else
5616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5617 for as_dir in $PATH
5618 do
5619   IFS=$as_save_IFS
5620   test -z "$as_dir" && as_dir=.
5621     for ac_exec_ext in '' $ac_executable_extensions; do
5622   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5623     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5624     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5625     break 2
5626   fi
5627 done
5628   done
5629 IFS=$as_save_IFS
5630
5631 fi
5632 fi
5633 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5634 if test -n "$ac_ct_DLLTOOL"; then
5635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5636 $as_echo "$ac_ct_DLLTOOL" >&6; }
5637 else
5638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5639 $as_echo "no" >&6; }
5640 fi
5641
5642   if test "x$ac_ct_DLLTOOL" = x; then
5643     DLLTOOL="false"
5644   else
5645     case $cross_compiling:$ac_tool_warned in
5646 yes:)
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5648 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5649 ac_tool_warned=yes ;;
5650 esac
5651     DLLTOOL=$ac_ct_DLLTOOL
5652   fi
5653 else
5654   DLLTOOL="$ac_cv_prog_DLLTOOL"
5655 fi
5656
5657 test -z "$DLLTOOL" && DLLTOOL=dlltool
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5669 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5670 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5671   $as_echo_n "(cached) " >&6
5672 else
5673   lt_cv_sharedlib_from_linklib_cmd='unknown'
5674
5675 case $host_os in
5676 cygwin* | mingw* | pw32* | cegcc*)
5677   # two different shell functions defined in ltmain.sh
5678   # decide which to use based on capabilities of $DLLTOOL
5679   case `$DLLTOOL --help 2>&1` in
5680   *--identify-strict*)
5681     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5682     ;;
5683   *)
5684     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5685     ;;
5686   esac
5687   ;;
5688 *)
5689   # fallback: assume linklib IS sharedlib
5690   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5691   ;;
5692 esac
5693
5694 fi
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5696 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5697 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5698 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5699
5700
5701
5702
5703
5704
5705
5706 if test -n "$ac_tool_prefix"; then
5707   for ac_prog in ar
5708   do
5709     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5710 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5712 $as_echo_n "checking for $ac_word... " >&6; }
5713 if ${ac_cv_prog_AR+:} false; then :
5714   $as_echo_n "(cached) " >&6
5715 else
5716   if test -n "$AR"; then
5717   ac_cv_prog_AR="$AR" # Let the user override the test.
5718 else
5719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5720 for as_dir in $PATH
5721 do
5722   IFS=$as_save_IFS
5723   test -z "$as_dir" && as_dir=.
5724     for ac_exec_ext in '' $ac_executable_extensions; do
5725   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5726     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5727     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5728     break 2
5729   fi
5730 done
5731   done
5732 IFS=$as_save_IFS
5733
5734 fi
5735 fi
5736 AR=$ac_cv_prog_AR
5737 if test -n "$AR"; then
5738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5739 $as_echo "$AR" >&6; }
5740 else
5741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5742 $as_echo "no" >&6; }
5743 fi
5744
5745
5746     test -n "$AR" && break
5747   done
5748 fi
5749 if test -z "$AR"; then
5750   ac_ct_AR=$AR
5751   for ac_prog in ar
5752 do
5753   # Extract the first word of "$ac_prog", so it can be a program name with args.
5754 set dummy $ac_prog; ac_word=$2
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5756 $as_echo_n "checking for $ac_word... " >&6; }
5757 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5758   $as_echo_n "(cached) " >&6
5759 else
5760   if test -n "$ac_ct_AR"; then
5761   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5762 else
5763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5764 for as_dir in $PATH
5765 do
5766   IFS=$as_save_IFS
5767   test -z "$as_dir" && as_dir=.
5768     for ac_exec_ext in '' $ac_executable_extensions; do
5769   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5770     ac_cv_prog_ac_ct_AR="$ac_prog"
5771     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5772     break 2
5773   fi
5774 done
5775   done
5776 IFS=$as_save_IFS
5777
5778 fi
5779 fi
5780 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5781 if test -n "$ac_ct_AR"; then
5782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5783 $as_echo "$ac_ct_AR" >&6; }
5784 else
5785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5786 $as_echo "no" >&6; }
5787 fi
5788
5789
5790   test -n "$ac_ct_AR" && break
5791 done
5792
5793   if test "x$ac_ct_AR" = x; then
5794     AR="false"
5795   else
5796     case $cross_compiling:$ac_tool_warned in
5797 yes:)
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5800 ac_tool_warned=yes ;;
5801 esac
5802     AR=$ac_ct_AR
5803   fi
5804 fi
5805
5806 : ${AR=ar}
5807 : ${AR_FLAGS=cru}
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5820 $as_echo_n "checking for archiver @FILE support... " >&6; }
5821 if ${lt_cv_ar_at_file+:} false; then :
5822   $as_echo_n "(cached) " >&6
5823 else
5824   lt_cv_ar_at_file=no
5825    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5826 /* end confdefs.h.  */
5827
5828 int
5829 main ()
5830 {
5831
5832   ;
5833   return 0;
5834 }
5835 _ACEOF
5836 if ac_fn_c_try_compile "$LINENO"; then :
5837   echo conftest.$ac_objext > conftest.lst
5838       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5839       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5840   (eval $lt_ar_try) 2>&5
5841   ac_status=$?
5842   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5843   test $ac_status = 0; }
5844       if test "$ac_status" -eq 0; then
5845         # Ensure the archiver fails upon bogus file names.
5846         rm -f conftest.$ac_objext libconftest.a
5847         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5848   (eval $lt_ar_try) 2>&5
5849   ac_status=$?
5850   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5851   test $ac_status = 0; }
5852         if test "$ac_status" -ne 0; then
5853           lt_cv_ar_at_file=@
5854         fi
5855       fi
5856       rm -f conftest.* libconftest.a
5857
5858 fi
5859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5860
5861 fi
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5863 $as_echo "$lt_cv_ar_at_file" >&6; }
5864
5865 if test "x$lt_cv_ar_at_file" = xno; then
5866   archiver_list_spec=
5867 else
5868   archiver_list_spec=$lt_cv_ar_at_file
5869 fi
5870
5871
5872
5873
5874
5875
5876
5877 if test -n "$ac_tool_prefix"; then
5878   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5879 set dummy ${ac_tool_prefix}strip; ac_word=$2
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5881 $as_echo_n "checking for $ac_word... " >&6; }
5882 if ${ac_cv_prog_STRIP+:} false; then :
5883   $as_echo_n "(cached) " >&6
5884 else
5885   if test -n "$STRIP"; then
5886   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5887 else
5888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5889 for as_dir in $PATH
5890 do
5891   IFS=$as_save_IFS
5892   test -z "$as_dir" && as_dir=.
5893     for ac_exec_ext in '' $ac_executable_extensions; do
5894   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5895     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5896     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5897     break 2
5898   fi
5899 done
5900   done
5901 IFS=$as_save_IFS
5902
5903 fi
5904 fi
5905 STRIP=$ac_cv_prog_STRIP
5906 if test -n "$STRIP"; then
5907   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5908 $as_echo "$STRIP" >&6; }
5909 else
5910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5911 $as_echo "no" >&6; }
5912 fi
5913
5914
5915 fi
5916 if test -z "$ac_cv_prog_STRIP"; then
5917   ac_ct_STRIP=$STRIP
5918   # Extract the first word of "strip", so it can be a program name with args.
5919 set dummy strip; ac_word=$2
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5921 $as_echo_n "checking for $ac_word... " >&6; }
5922 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5923   $as_echo_n "(cached) " >&6
5924 else
5925   if test -n "$ac_ct_STRIP"; then
5926   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5927 else
5928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5929 for as_dir in $PATH
5930 do
5931   IFS=$as_save_IFS
5932   test -z "$as_dir" && as_dir=.
5933     for ac_exec_ext in '' $ac_executable_extensions; do
5934   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5935     ac_cv_prog_ac_ct_STRIP="strip"
5936     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5937     break 2
5938   fi
5939 done
5940   done
5941 IFS=$as_save_IFS
5942
5943 fi
5944 fi
5945 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5946 if test -n "$ac_ct_STRIP"; then
5947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5948 $as_echo "$ac_ct_STRIP" >&6; }
5949 else
5950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5951 $as_echo "no" >&6; }
5952 fi
5953
5954   if test "x$ac_ct_STRIP" = x; then
5955     STRIP=":"
5956   else
5957     case $cross_compiling:$ac_tool_warned in
5958 yes:)
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5960 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5961 ac_tool_warned=yes ;;
5962 esac
5963     STRIP=$ac_ct_STRIP
5964   fi
5965 else
5966   STRIP="$ac_cv_prog_STRIP"
5967 fi
5968
5969 test -z "$STRIP" && STRIP=:
5970
5971
5972
5973
5974
5975
5976 if test -n "$ac_tool_prefix"; then
5977   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5978 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5980 $as_echo_n "checking for $ac_word... " >&6; }
5981 if ${ac_cv_prog_RANLIB+:} false; then :
5982   $as_echo_n "(cached) " >&6
5983 else
5984   if test -n "$RANLIB"; then
5985   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5986 else
5987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5988 for as_dir in $PATH
5989 do
5990   IFS=$as_save_IFS
5991   test -z "$as_dir" && as_dir=.
5992     for ac_exec_ext in '' $ac_executable_extensions; do
5993   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5994     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5995     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5996     break 2
5997   fi
5998 done
5999   done
6000 IFS=$as_save_IFS
6001
6002 fi
6003 fi
6004 RANLIB=$ac_cv_prog_RANLIB
6005 if test -n "$RANLIB"; then
6006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6007 $as_echo "$RANLIB" >&6; }
6008 else
6009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6010 $as_echo "no" >&6; }
6011 fi
6012
6013
6014 fi
6015 if test -z "$ac_cv_prog_RANLIB"; then
6016   ac_ct_RANLIB=$RANLIB
6017   # Extract the first word of "ranlib", so it can be a program name with args.
6018 set dummy ranlib; ac_word=$2
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6020 $as_echo_n "checking for $ac_word... " >&6; }
6021 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6022   $as_echo_n "(cached) " >&6
6023 else
6024   if test -n "$ac_ct_RANLIB"; then
6025   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6026 else
6027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6028 for as_dir in $PATH
6029 do
6030   IFS=$as_save_IFS
6031   test -z "$as_dir" && as_dir=.
6032     for ac_exec_ext in '' $ac_executable_extensions; do
6033   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6034     ac_cv_prog_ac_ct_RANLIB="ranlib"
6035     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6036     break 2
6037   fi
6038 done
6039   done
6040 IFS=$as_save_IFS
6041
6042 fi
6043 fi
6044 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6045 if test -n "$ac_ct_RANLIB"; then
6046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6047 $as_echo "$ac_ct_RANLIB" >&6; }
6048 else
6049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6050 $as_echo "no" >&6; }
6051 fi
6052
6053   if test "x$ac_ct_RANLIB" = x; then
6054     RANLIB=":"
6055   else
6056     case $cross_compiling:$ac_tool_warned in
6057 yes:)
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6059 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6060 ac_tool_warned=yes ;;
6061 esac
6062     RANLIB=$ac_ct_RANLIB
6063   fi
6064 else
6065   RANLIB="$ac_cv_prog_RANLIB"
6066 fi
6067
6068 test -z "$RANLIB" && RANLIB=:
6069
6070
6071
6072
6073
6074
6075 # Determine commands to create old-style static archives.
6076 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6077 old_postinstall_cmds='chmod 644 $oldlib'
6078 old_postuninstall_cmds=
6079
6080 if test -n "$RANLIB"; then
6081   case $host_os in
6082   openbsd*)
6083     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6084     ;;
6085   *)
6086     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6087     ;;
6088   esac
6089   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6090 fi
6091
6092 case $host_os in
6093   darwin*)
6094     lock_old_archive_extraction=yes ;;
6095   *)
6096     lock_old_archive_extraction=no ;;
6097 esac
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137 # If no C compiler was specified, use CC.
6138 LTCC=${LTCC-"$CC"}
6139
6140 # If no C compiler flags were specified, use CFLAGS.
6141 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6142
6143 # Allow CC to be a program name with arguments.
6144 compiler=$CC
6145
6146
6147 # Check for command to grab the raw symbol name followed by C symbol from nm.
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6149 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6150 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6151   $as_echo_n "(cached) " >&6
6152 else
6153
6154 # These are sane defaults that work on at least a few old systems.
6155 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6156
6157 # Character class describing NM global symbol codes.
6158 symcode='[BCDEGRST]'
6159
6160 # Regexp to match symbols that can be accessed directly from C.
6161 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6162
6163 # Define system-specific variables.
6164 case $host_os in
6165 aix*)
6166   symcode='[BCDT]'
6167   ;;
6168 cygwin* | mingw* | pw32* | cegcc*)
6169   symcode='[ABCDGISTW]'
6170   ;;
6171 hpux*)
6172   if test "$host_cpu" = ia64; then
6173     symcode='[ABCDEGRST]'
6174   fi
6175   ;;
6176 irix* | nonstopux*)
6177   symcode='[BCDEGRST]'
6178   ;;
6179 osf*)
6180   symcode='[BCDEGQRST]'
6181   ;;
6182 solaris*)
6183   symcode='[BDRT]'
6184   ;;
6185 sco3.2v5*)
6186   symcode='[DT]'
6187   ;;
6188 sysv4.2uw2*)
6189   symcode='[DT]'
6190   ;;
6191 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6192   symcode='[ABDT]'
6193   ;;
6194 sysv4)
6195   symcode='[DFNSTU]'
6196   ;;
6197 esac
6198
6199 # If we're using GNU nm, then use its standard symbol codes.
6200 case `$NM -V 2>&1` in
6201 *GNU* | *'with BFD'*)
6202   symcode='[ABCDGIRSTW]' ;;
6203 esac
6204
6205 # Transform an extracted symbol line into a proper C declaration.
6206 # Some systems (esp. on ia64) link data and code symbols differently,
6207 # so use this general approach.
6208 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6209
6210 # Transform an extracted symbol line into symbol name and symbol address
6211 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6212 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'"
6213
6214 # Handle CRLF in mingw tool chain
6215 opt_cr=
6216 case $build_os in
6217 mingw*)
6218   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6219   ;;
6220 esac
6221
6222 # Try without a prefix underscore, then with it.
6223 for ac_symprfx in "" "_"; do
6224
6225   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6226   symxfrm="\\1 $ac_symprfx\\2 \\2"
6227
6228   # Write the raw and C identifiers.
6229   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6230     # Fake it for dumpbin and say T for any non-static function
6231     # and D for any global variable.
6232     # Also find C++ and __fastcall symbols from MSVC++,
6233     # which start with @ or ?.
6234     lt_cv_sys_global_symbol_pipe="$AWK '"\
6235 "     {last_section=section; section=\$ 3};"\
6236 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6237 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6238 "     \$ 0!~/External *\|/{next};"\
6239 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6240 "     {if(hide[section]) next};"\
6241 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6242 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6243 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6244 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6245 "     ' prfx=^$ac_symprfx"
6246   else
6247     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6248   fi
6249   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6250
6251   # Check to see that the pipe works correctly.
6252   pipe_works=no
6253
6254   rm -f conftest*
6255   cat > conftest.$ac_ext <<_LT_EOF
6256 #ifdef __cplusplus
6257 extern "C" {
6258 #endif
6259 char nm_test_var;
6260 void nm_test_func(void);
6261 void nm_test_func(void){}
6262 #ifdef __cplusplus
6263 }
6264 #endif
6265 int main(){nm_test_var='a';nm_test_func();return(0);}
6266 _LT_EOF
6267
6268   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6269   (eval $ac_compile) 2>&5
6270   ac_status=$?
6271   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6272   test $ac_status = 0; }; then
6273     # Now try to grab the symbols.
6274     nlist=conftest.nm
6275     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6276   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6277   ac_status=$?
6278   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6279   test $ac_status = 0; } && test -s "$nlist"; then
6280       # Try sorting and uniquifying the output.
6281       if sort "$nlist" | uniq > "$nlist"T; then
6282         mv -f "$nlist"T "$nlist"
6283       else
6284         rm -f "$nlist"T
6285       fi
6286
6287       # Make sure that we snagged all the symbols we need.
6288       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6289         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6290           cat <<_LT_EOF > conftest.$ac_ext
6291 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6292 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6293 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6294    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6295 # define LT_DLSYM_CONST
6296 #elif defined(__osf__)
6297 /* This system does not cope well with relocations in const data.  */
6298 # define LT_DLSYM_CONST
6299 #else
6300 # define LT_DLSYM_CONST const
6301 #endif
6302
6303 #ifdef __cplusplus
6304 extern "C" {
6305 #endif
6306
6307 _LT_EOF
6308           # Now generate the symbol file.
6309           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6310
6311           cat <<_LT_EOF >> conftest.$ac_ext
6312
6313 /* The mapping between symbol names and symbols.  */
6314 LT_DLSYM_CONST struct {
6315   const char *name;
6316   void       *address;
6317 }
6318 lt__PROGRAM__LTX_preloaded_symbols[] =
6319 {
6320   { "@PROGRAM@", (void *) 0 },
6321 _LT_EOF
6322           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6323           cat <<\_LT_EOF >> conftest.$ac_ext
6324   {0, (void *) 0}
6325 };
6326
6327 /* This works around a problem in FreeBSD linker */
6328 #ifdef FREEBSD_WORKAROUND
6329 static const void *lt_preloaded_setup() {
6330   return lt__PROGRAM__LTX_preloaded_symbols;
6331 }
6332 #endif
6333
6334 #ifdef __cplusplus
6335 }
6336 #endif
6337 _LT_EOF
6338           # Now try linking the two files.
6339           mv conftest.$ac_objext conftstm.$ac_objext
6340           lt_globsym_save_LIBS=$LIBS
6341           lt_globsym_save_CFLAGS=$CFLAGS
6342           LIBS="conftstm.$ac_objext"
6343           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6344           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6345   (eval $ac_link) 2>&5
6346   ac_status=$?
6347   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6348   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6349             pipe_works=yes
6350           fi
6351           LIBS=$lt_globsym_save_LIBS
6352           CFLAGS=$lt_globsym_save_CFLAGS
6353         else
6354           echo "cannot find nm_test_func in $nlist" >&5
6355         fi
6356       else
6357         echo "cannot find nm_test_var in $nlist" >&5
6358       fi
6359     else
6360       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6361     fi
6362   else
6363     echo "$progname: failed program was:" >&5
6364     cat conftest.$ac_ext >&5
6365   fi
6366   rm -rf conftest* conftst*
6367
6368   # Do not use the global_symbol_pipe unless it works.
6369   if test "$pipe_works" = yes; then
6370     break
6371   else
6372     lt_cv_sys_global_symbol_pipe=
6373   fi
6374 done
6375
6376 fi
6377
6378 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6379   lt_cv_sys_global_symbol_to_cdecl=
6380 fi
6381 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6383 $as_echo "failed" >&6; }
6384 else
6385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6386 $as_echo "ok" >&6; }
6387 fi
6388
6389 # Response file support.
6390 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6391   nm_file_list_spec='@'
6392 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6393   nm_file_list_spec='@'
6394 fi
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6423 $as_echo_n "checking for sysroot... " >&6; }
6424
6425 # Check whether --with-sysroot was given.
6426 if test "${with_sysroot+set}" = set; then :
6427   withval=$with_sysroot;
6428 else
6429   with_sysroot=no
6430 fi
6431
6432
6433 lt_sysroot=
6434 case ${with_sysroot} in #(
6435  yes)
6436    if test "$GCC" = yes; then
6437      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6438    fi
6439    ;; #(
6440  /*)
6441    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6442    ;; #(
6443  no|'')
6444    ;; #(
6445  *)
6446    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6447 $as_echo "${with_sysroot}" >&6; }
6448    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6449    ;;
6450 esac
6451
6452  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6453 $as_echo "${lt_sysroot:-no}" >&6; }
6454
6455
6456
6457
6458
6459 # Check whether --enable-libtool-lock was given.
6460 if test "${enable_libtool_lock+set}" = set; then :
6461   enableval=$enable_libtool_lock;
6462 fi
6463
6464 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6465
6466 # Some flags need to be propagated to the compiler or linker for good
6467 # libtool support.
6468 case $host in
6469 ia64-*-hpux*)
6470   # Find out which ABI we are using.
6471   echo 'int i;' > conftest.$ac_ext
6472   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6473   (eval $ac_compile) 2>&5
6474   ac_status=$?
6475   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6476   test $ac_status = 0; }; then
6477     case `/usr/bin/file conftest.$ac_objext` in
6478       *ELF-32*)
6479         HPUX_IA64_MODE="32"
6480         ;;
6481       *ELF-64*)
6482         HPUX_IA64_MODE="64"
6483         ;;
6484     esac
6485   fi
6486   rm -rf conftest*
6487   ;;
6488 *-*-irix6*)
6489   # Find out which ABI we are using.
6490   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6491   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6492   (eval $ac_compile) 2>&5
6493   ac_status=$?
6494   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6495   test $ac_status = 0; }; then
6496     if test "$lt_cv_prog_gnu_ld" = yes; then
6497       case `/usr/bin/file conftest.$ac_objext` in
6498         *32-bit*)
6499           LD="${LD-ld} -melf32bsmip"
6500           ;;
6501         *N32*)
6502           LD="${LD-ld} -melf32bmipn32"
6503           ;;
6504         *64-bit*)
6505           LD="${LD-ld} -melf64bmip"
6506         ;;
6507       esac
6508     else
6509       case `/usr/bin/file conftest.$ac_objext` in
6510         *32-bit*)
6511           LD="${LD-ld} -32"
6512           ;;
6513         *N32*)
6514           LD="${LD-ld} -n32"
6515           ;;
6516         *64-bit*)
6517           LD="${LD-ld} -64"
6518           ;;
6519       esac
6520     fi
6521   fi
6522   rm -rf conftest*
6523   ;;
6524
6525 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6526 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6527   # Find out which ABI we are using.
6528   echo 'int i;' > conftest.$ac_ext
6529   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6530   (eval $ac_compile) 2>&5
6531   ac_status=$?
6532   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6533   test $ac_status = 0; }; then
6534     case `/usr/bin/file conftest.o` in
6535       *32-bit*)
6536         case $host in
6537           x86_64-*kfreebsd*-gnu)
6538             LD="${LD-ld} -m elf_i386_fbsd"
6539             ;;
6540           x86_64-*linux*)
6541             LD="${LD-ld} -m elf_i386"
6542             ;;
6543           ppc64-*linux*|powerpc64-*linux*)
6544             LD="${LD-ld} -m elf32ppclinux"
6545             ;;
6546           s390x-*linux*)
6547             LD="${LD-ld} -m elf_s390"
6548             ;;
6549           sparc64-*linux*)
6550             LD="${LD-ld} -m elf32_sparc"
6551             ;;
6552         esac
6553         ;;
6554       *64-bit*)
6555         case $host in
6556           x86_64-*kfreebsd*-gnu)
6557             LD="${LD-ld} -m elf_x86_64_fbsd"
6558             ;;
6559           x86_64-*linux*)
6560             LD="${LD-ld} -m elf_x86_64"
6561             ;;
6562           ppc*-*linux*|powerpc*-*linux*)
6563             LD="${LD-ld} -m elf64ppc"
6564             ;;
6565           s390*-*linux*|s390*-*tpf*)
6566             LD="${LD-ld} -m elf64_s390"
6567             ;;
6568           sparc*-*linux*)
6569             LD="${LD-ld} -m elf64_sparc"
6570             ;;
6571         esac
6572         ;;
6573     esac
6574   fi
6575   rm -rf conftest*
6576   ;;
6577
6578 *-*-sco3.2v5*)
6579   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6580   SAVE_CFLAGS="$CFLAGS"
6581   CFLAGS="$CFLAGS -belf"
6582   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6583 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6584 if ${lt_cv_cc_needs_belf+:} false; then :
6585   $as_echo_n "(cached) " >&6
6586 else
6587   ac_ext=c
6588 ac_cpp='$CPP $CPPFLAGS'
6589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6592
6593      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6594 /* end confdefs.h.  */
6595
6596 int
6597 main ()
6598 {
6599
6600   ;
6601   return 0;
6602 }
6603 _ACEOF
6604 if ac_fn_c_try_link "$LINENO"; then :
6605   lt_cv_cc_needs_belf=yes
6606 else
6607   lt_cv_cc_needs_belf=no
6608 fi
6609 rm -f core conftest.err conftest.$ac_objext \
6610     conftest$ac_exeext conftest.$ac_ext
6611      ac_ext=c
6612 ac_cpp='$CPP $CPPFLAGS'
6613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6616
6617 fi
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6619 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6620   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6621     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6622     CFLAGS="$SAVE_CFLAGS"
6623   fi
6624   ;;
6625 *-*solaris*)
6626   # Find out which ABI we are using.
6627   echo 'int i;' > conftest.$ac_ext
6628   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6629   (eval $ac_compile) 2>&5
6630   ac_status=$?
6631   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6632   test $ac_status = 0; }; then
6633     case `/usr/bin/file conftest.o` in
6634     *64-bit*)
6635       case $lt_cv_prog_gnu_ld in
6636       yes*)
6637         case $host in
6638         i?86-*-solaris*)
6639           LD="${LD-ld} -m elf_x86_64"
6640           ;;
6641         sparc*-*-solaris*)
6642           LD="${LD-ld} -m elf64_sparc"
6643           ;;
6644         esac
6645         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6646         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6647           LD="${LD-ld}_sol2"
6648         fi
6649         ;;
6650       *)
6651         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6652           LD="${LD-ld} -64"
6653         fi
6654         ;;
6655       esac
6656       ;;
6657     esac
6658   fi
6659   rm -rf conftest*
6660   ;;
6661 esac
6662
6663 need_locks="$enable_libtool_lock"
6664
6665 if test -n "$ac_tool_prefix"; then
6666   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6667 set dummy ${ac_tool_prefix}mt; ac_word=$2
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6669 $as_echo_n "checking for $ac_word... " >&6; }
6670 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6671   $as_echo_n "(cached) " >&6
6672 else
6673   if test -n "$MANIFEST_TOOL"; then
6674   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6675 else
6676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6677 for as_dir in $PATH
6678 do
6679   IFS=$as_save_IFS
6680   test -z "$as_dir" && as_dir=.
6681     for ac_exec_ext in '' $ac_executable_extensions; do
6682   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6683     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6684     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6685     break 2
6686   fi
6687 done
6688   done
6689 IFS=$as_save_IFS
6690
6691 fi
6692 fi
6693 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6694 if test -n "$MANIFEST_TOOL"; then
6695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6696 $as_echo "$MANIFEST_TOOL" >&6; }
6697 else
6698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6699 $as_echo "no" >&6; }
6700 fi
6701
6702
6703 fi
6704 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6705   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6706   # Extract the first word of "mt", so it can be a program name with args.
6707 set dummy mt; ac_word=$2
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6709 $as_echo_n "checking for $ac_word... " >&6; }
6710 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6711   $as_echo_n "(cached) " >&6
6712 else
6713   if test -n "$ac_ct_MANIFEST_TOOL"; then
6714   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6715 else
6716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6717 for as_dir in $PATH
6718 do
6719   IFS=$as_save_IFS
6720   test -z "$as_dir" && as_dir=.
6721     for ac_exec_ext in '' $ac_executable_extensions; do
6722   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6723     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6724     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6725     break 2
6726   fi
6727 done
6728   done
6729 IFS=$as_save_IFS
6730
6731 fi
6732 fi
6733 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6734 if test -n "$ac_ct_MANIFEST_TOOL"; then
6735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6736 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6737 else
6738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6739 $as_echo "no" >&6; }
6740 fi
6741
6742   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6743     MANIFEST_TOOL=":"
6744   else
6745     case $cross_compiling:$ac_tool_warned in
6746 yes:)
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6748 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6749 ac_tool_warned=yes ;;
6750 esac
6751     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6752   fi
6753 else
6754   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6755 fi
6756
6757 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6759 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6760 if ${lt_cv_path_mainfest_tool+:} false; then :
6761   $as_echo_n "(cached) " >&6
6762 else
6763   lt_cv_path_mainfest_tool=no
6764   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6765   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6766   cat conftest.err >&5
6767   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6768     lt_cv_path_mainfest_tool=yes
6769   fi
6770   rm -f conftest*
6771 fi
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6773 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6774 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6775   MANIFEST_TOOL=:
6776 fi
6777
6778
6779
6780
6781
6782
6783   case $host_os in
6784     rhapsody* | darwin*)
6785     if test -n "$ac_tool_prefix"; then
6786   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6787 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6789 $as_echo_n "checking for $ac_word... " >&6; }
6790 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6791   $as_echo_n "(cached) " >&6
6792 else
6793   if test -n "$DSYMUTIL"; then
6794   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6795 else
6796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6797 for as_dir in $PATH
6798 do
6799   IFS=$as_save_IFS
6800   test -z "$as_dir" && as_dir=.
6801     for ac_exec_ext in '' $ac_executable_extensions; do
6802   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6803     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6804     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6805     break 2
6806   fi
6807 done
6808   done
6809 IFS=$as_save_IFS
6810
6811 fi
6812 fi
6813 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6814 if test -n "$DSYMUTIL"; then
6815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6816 $as_echo "$DSYMUTIL" >&6; }
6817 else
6818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6819 $as_echo "no" >&6; }
6820 fi
6821
6822
6823 fi
6824 if test -z "$ac_cv_prog_DSYMUTIL"; then
6825   ac_ct_DSYMUTIL=$DSYMUTIL
6826   # Extract the first word of "dsymutil", so it can be a program name with args.
6827 set dummy dsymutil; ac_word=$2
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6829 $as_echo_n "checking for $ac_word... " >&6; }
6830 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6831   $as_echo_n "(cached) " >&6
6832 else
6833   if test -n "$ac_ct_DSYMUTIL"; then
6834   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6835 else
6836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6837 for as_dir in $PATH
6838 do
6839   IFS=$as_save_IFS
6840   test -z "$as_dir" && as_dir=.
6841     for ac_exec_ext in '' $ac_executable_extensions; do
6842   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6843     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6844     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6845     break 2
6846   fi
6847 done
6848   done
6849 IFS=$as_save_IFS
6850
6851 fi
6852 fi
6853 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6854 if test -n "$ac_ct_DSYMUTIL"; then
6855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6856 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6857 else
6858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6859 $as_echo "no" >&6; }
6860 fi
6861
6862   if test "x$ac_ct_DSYMUTIL" = x; then
6863     DSYMUTIL=":"
6864   else
6865     case $cross_compiling:$ac_tool_warned in
6866 yes:)
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6868 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6869 ac_tool_warned=yes ;;
6870 esac
6871     DSYMUTIL=$ac_ct_DSYMUTIL
6872   fi
6873 else
6874   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6875 fi
6876
6877     if test -n "$ac_tool_prefix"; then
6878   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6879 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6881 $as_echo_n "checking for $ac_word... " >&6; }
6882 if ${ac_cv_prog_NMEDIT+:} false; then :
6883   $as_echo_n "(cached) " >&6
6884 else
6885   if test -n "$NMEDIT"; then
6886   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6887 else
6888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6889 for as_dir in $PATH
6890 do
6891   IFS=$as_save_IFS
6892   test -z "$as_dir" && as_dir=.
6893     for ac_exec_ext in '' $ac_executable_extensions; do
6894   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6895     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6896     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6897     break 2
6898   fi
6899 done
6900   done
6901 IFS=$as_save_IFS
6902
6903 fi
6904 fi
6905 NMEDIT=$ac_cv_prog_NMEDIT
6906 if test -n "$NMEDIT"; then
6907   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6908 $as_echo "$NMEDIT" >&6; }
6909 else
6910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6911 $as_echo "no" >&6; }
6912 fi
6913
6914
6915 fi
6916 if test -z "$ac_cv_prog_NMEDIT"; then
6917   ac_ct_NMEDIT=$NMEDIT
6918   # Extract the first word of "nmedit", so it can be a program name with args.
6919 set dummy nmedit; ac_word=$2
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6921 $as_echo_n "checking for $ac_word... " >&6; }
6922 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6923   $as_echo_n "(cached) " >&6
6924 else
6925   if test -n "$ac_ct_NMEDIT"; then
6926   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6927 else
6928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6929 for as_dir in $PATH
6930 do
6931   IFS=$as_save_IFS
6932   test -z "$as_dir" && as_dir=.
6933     for ac_exec_ext in '' $ac_executable_extensions; do
6934   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6935     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6936     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6937     break 2
6938   fi
6939 done
6940   done
6941 IFS=$as_save_IFS
6942
6943 fi
6944 fi
6945 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6946 if test -n "$ac_ct_NMEDIT"; then
6947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6948 $as_echo "$ac_ct_NMEDIT" >&6; }
6949 else
6950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6951 $as_echo "no" >&6; }
6952 fi
6953
6954   if test "x$ac_ct_NMEDIT" = x; then
6955     NMEDIT=":"
6956   else
6957     case $cross_compiling:$ac_tool_warned in
6958 yes:)
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6960 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6961 ac_tool_warned=yes ;;
6962 esac
6963     NMEDIT=$ac_ct_NMEDIT
6964   fi
6965 else
6966   NMEDIT="$ac_cv_prog_NMEDIT"
6967 fi
6968
6969     if test -n "$ac_tool_prefix"; then
6970   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6971 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6973 $as_echo_n "checking for $ac_word... " >&6; }
6974 if ${ac_cv_prog_LIPO+:} false; then :
6975   $as_echo_n "(cached) " >&6
6976 else
6977   if test -n "$LIPO"; then
6978   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6979 else
6980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6981 for as_dir in $PATH
6982 do
6983   IFS=$as_save_IFS
6984   test -z "$as_dir" && as_dir=.
6985     for ac_exec_ext in '' $ac_executable_extensions; do
6986   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6987     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6988     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6989     break 2
6990   fi
6991 done
6992   done
6993 IFS=$as_save_IFS
6994
6995 fi
6996 fi
6997 LIPO=$ac_cv_prog_LIPO
6998 if test -n "$LIPO"; then
6999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7000 $as_echo "$LIPO" >&6; }
7001 else
7002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7003 $as_echo "no" >&6; }
7004 fi
7005
7006
7007 fi
7008 if test -z "$ac_cv_prog_LIPO"; then
7009   ac_ct_LIPO=$LIPO
7010   # Extract the first word of "lipo", so it can be a program name with args.
7011 set dummy lipo; ac_word=$2
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7013 $as_echo_n "checking for $ac_word... " >&6; }
7014 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7015   $as_echo_n "(cached) " >&6
7016 else
7017   if test -n "$ac_ct_LIPO"; then
7018   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7019 else
7020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7021 for as_dir in $PATH
7022 do
7023   IFS=$as_save_IFS
7024   test -z "$as_dir" && as_dir=.
7025     for ac_exec_ext in '' $ac_executable_extensions; do
7026   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7027     ac_cv_prog_ac_ct_LIPO="lipo"
7028     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7029     break 2
7030   fi
7031 done
7032   done
7033 IFS=$as_save_IFS
7034
7035 fi
7036 fi
7037 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7038 if test -n "$ac_ct_LIPO"; then
7039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7040 $as_echo "$ac_ct_LIPO" >&6; }
7041 else
7042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7043 $as_echo "no" >&6; }
7044 fi
7045
7046   if test "x$ac_ct_LIPO" = x; then
7047     LIPO=":"
7048   else
7049     case $cross_compiling:$ac_tool_warned in
7050 yes:)
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7052 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7053 ac_tool_warned=yes ;;
7054 esac
7055     LIPO=$ac_ct_LIPO
7056   fi
7057 else
7058   LIPO="$ac_cv_prog_LIPO"
7059 fi
7060
7061     if test -n "$ac_tool_prefix"; then
7062   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7063 set dummy ${ac_tool_prefix}otool; ac_word=$2
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7065 $as_echo_n "checking for $ac_word... " >&6; }
7066 if ${ac_cv_prog_OTOOL+:} false; then :
7067   $as_echo_n "(cached) " >&6
7068 else
7069   if test -n "$OTOOL"; then
7070   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7071 else
7072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7073 for as_dir in $PATH
7074 do
7075   IFS=$as_save_IFS
7076   test -z "$as_dir" && as_dir=.
7077     for ac_exec_ext in '' $ac_executable_extensions; do
7078   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7079     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7080     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7081     break 2
7082   fi
7083 done
7084   done
7085 IFS=$as_save_IFS
7086
7087 fi
7088 fi
7089 OTOOL=$ac_cv_prog_OTOOL
7090 if test -n "$OTOOL"; then
7091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7092 $as_echo "$OTOOL" >&6; }
7093 else
7094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7095 $as_echo "no" >&6; }
7096 fi
7097
7098
7099 fi
7100 if test -z "$ac_cv_prog_OTOOL"; then
7101   ac_ct_OTOOL=$OTOOL
7102   # Extract the first word of "otool", so it can be a program name with args.
7103 set dummy otool; ac_word=$2
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7105 $as_echo_n "checking for $ac_word... " >&6; }
7106 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7107   $as_echo_n "(cached) " >&6
7108 else
7109   if test -n "$ac_ct_OTOOL"; then
7110   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7111 else
7112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7113 for as_dir in $PATH
7114 do
7115   IFS=$as_save_IFS
7116   test -z "$as_dir" && as_dir=.
7117     for ac_exec_ext in '' $ac_executable_extensions; do
7118   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7119     ac_cv_prog_ac_ct_OTOOL="otool"
7120     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7121     break 2
7122   fi
7123 done
7124   done
7125 IFS=$as_save_IFS
7126
7127 fi
7128 fi
7129 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7130 if test -n "$ac_ct_OTOOL"; then
7131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7132 $as_echo "$ac_ct_OTOOL" >&6; }
7133 else
7134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7135 $as_echo "no" >&6; }
7136 fi
7137
7138   if test "x$ac_ct_OTOOL" = x; then
7139     OTOOL=":"
7140   else
7141     case $cross_compiling:$ac_tool_warned in
7142 yes:)
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7144 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7145 ac_tool_warned=yes ;;
7146 esac
7147     OTOOL=$ac_ct_OTOOL
7148   fi
7149 else
7150   OTOOL="$ac_cv_prog_OTOOL"
7151 fi
7152
7153     if test -n "$ac_tool_prefix"; then
7154   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7155 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7157 $as_echo_n "checking for $ac_word... " >&6; }
7158 if ${ac_cv_prog_OTOOL64+:} false; then :
7159   $as_echo_n "(cached) " >&6
7160 else
7161   if test -n "$OTOOL64"; then
7162   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7163 else
7164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7165 for as_dir in $PATH
7166 do
7167   IFS=$as_save_IFS
7168   test -z "$as_dir" && as_dir=.
7169     for ac_exec_ext in '' $ac_executable_extensions; do
7170   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7171     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7172     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7173     break 2
7174   fi
7175 done
7176   done
7177 IFS=$as_save_IFS
7178
7179 fi
7180 fi
7181 OTOOL64=$ac_cv_prog_OTOOL64
7182 if test -n "$OTOOL64"; then
7183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7184 $as_echo "$OTOOL64" >&6; }
7185 else
7186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7187 $as_echo "no" >&6; }
7188 fi
7189
7190
7191 fi
7192 if test -z "$ac_cv_prog_OTOOL64"; then
7193   ac_ct_OTOOL64=$OTOOL64
7194   # Extract the first word of "otool64", so it can be a program name with args.
7195 set dummy otool64; ac_word=$2
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7197 $as_echo_n "checking for $ac_word... " >&6; }
7198 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7199   $as_echo_n "(cached) " >&6
7200 else
7201   if test -n "$ac_ct_OTOOL64"; then
7202   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7203 else
7204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7205 for as_dir in $PATH
7206 do
7207   IFS=$as_save_IFS
7208   test -z "$as_dir" && as_dir=.
7209     for ac_exec_ext in '' $ac_executable_extensions; do
7210   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7211     ac_cv_prog_ac_ct_OTOOL64="otool64"
7212     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7213     break 2
7214   fi
7215 done
7216   done
7217 IFS=$as_save_IFS
7218
7219 fi
7220 fi
7221 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7222 if test -n "$ac_ct_OTOOL64"; then
7223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7224 $as_echo "$ac_ct_OTOOL64" >&6; }
7225 else
7226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7227 $as_echo "no" >&6; }
7228 fi
7229
7230   if test "x$ac_ct_OTOOL64" = x; then
7231     OTOOL64=":"
7232   else
7233     case $cross_compiling:$ac_tool_warned in
7234 yes:)
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7236 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7237 ac_tool_warned=yes ;;
7238 esac
7239     OTOOL64=$ac_ct_OTOOL64
7240   fi
7241 else
7242   OTOOL64="$ac_cv_prog_OTOOL64"
7243 fi
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7272 $as_echo_n "checking for -single_module linker flag... " >&6; }
7273 if ${lt_cv_apple_cc_single_mod+:} false; then :
7274   $as_echo_n "(cached) " >&6
7275 else
7276   lt_cv_apple_cc_single_mod=no
7277       if test -z "${LT_MULTI_MODULE}"; then
7278         # By default we will add the -single_module flag. You can override
7279         # by either setting the environment variable LT_MULTI_MODULE
7280         # non-empty at configure time, or by adding -multi_module to the
7281         # link flags.
7282         rm -rf libconftest.dylib*
7283         echo "int foo(void){return 1;}" > conftest.c
7284         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7285 -dynamiclib -Wl,-single_module conftest.c" >&5
7286         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7287           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7288         _lt_result=$?
7289         # If there is a non-empty error log, and "single_module"
7290         # appears in it, assume the flag caused a linker warning
7291         if test -s conftest.err && $GREP single_module conftest.err; then
7292           cat conftest.err >&5
7293         # Otherwise, if the output was created with a 0 exit code from
7294         # the compiler, it worked.
7295         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7296           lt_cv_apple_cc_single_mod=yes
7297         else
7298           cat conftest.err >&5
7299         fi
7300         rm -rf libconftest.dylib*
7301         rm -f conftest.*
7302       fi
7303 fi
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7305 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7306
7307     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7308 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7309 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7310   $as_echo_n "(cached) " >&6
7311 else
7312   lt_cv_ld_exported_symbols_list=no
7313       save_LDFLAGS=$LDFLAGS
7314       echo "_main" > conftest.sym
7315       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7316       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7317 /* end confdefs.h.  */
7318
7319 int
7320 main ()
7321 {
7322
7323   ;
7324   return 0;
7325 }
7326 _ACEOF
7327 if ac_fn_c_try_link "$LINENO"; then :
7328   lt_cv_ld_exported_symbols_list=yes
7329 else
7330   lt_cv_ld_exported_symbols_list=no
7331 fi
7332 rm -f core conftest.err conftest.$ac_objext \
7333     conftest$ac_exeext conftest.$ac_ext
7334         LDFLAGS="$save_LDFLAGS"
7335
7336 fi
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7338 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7339
7340     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7341 $as_echo_n "checking for -force_load linker flag... " >&6; }
7342 if ${lt_cv_ld_force_load+:} false; then :
7343   $as_echo_n "(cached) " >&6
7344 else
7345   lt_cv_ld_force_load=no
7346       cat > conftest.c << _LT_EOF
7347 int forced_loaded() { return 2;}
7348 _LT_EOF
7349       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7350       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7351       echo "$AR cru libconftest.a conftest.o" >&5
7352       $AR cru libconftest.a conftest.o 2>&5
7353       echo "$RANLIB libconftest.a" >&5
7354       $RANLIB libconftest.a 2>&5
7355       cat > conftest.c << _LT_EOF
7356 int main() { return 0;}
7357 _LT_EOF
7358       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7359       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7360       _lt_result=$?
7361       if test -s conftest.err && $GREP force_load conftest.err; then
7362         cat conftest.err >&5
7363       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7364         lt_cv_ld_force_load=yes
7365       else
7366         cat conftest.err >&5
7367       fi
7368         rm -f conftest.err libconftest.a conftest conftest.c
7369         rm -rf conftest.dSYM
7370
7371 fi
7372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7373 $as_echo "$lt_cv_ld_force_load" >&6; }
7374     case $host_os in
7375     rhapsody* | darwin1.[012])
7376       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7377     darwin1.*)
7378       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7379     darwin*) # darwin 5.x on
7380       # if running on 10.5 or later, the deployment target defaults
7381       # to the OS version, if on x86, and 10.4, the deployment
7382       # target defaults to 10.4. Don't you love it?
7383       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7384         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7385           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7386         10.[012]*)
7387           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7388         10.*)
7389           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7390       esac
7391     ;;
7392   esac
7393     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7394       _lt_dar_single_mod='$single_module'
7395     fi
7396     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7397       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7398     else
7399       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7400     fi
7401     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7402       _lt_dsymutil='~$DSYMUTIL $lib || :'
7403     else
7404       _lt_dsymutil=
7405     fi
7406     ;;
7407   esac
7408
7409 ac_ext=c
7410 ac_cpp='$CPP $CPPFLAGS'
7411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7415 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7416 # On Suns, sometimes $CPP names a directory.
7417 if test -n "$CPP" && test -d "$CPP"; then
7418   CPP=
7419 fi
7420 if test -z "$CPP"; then
7421   if ${ac_cv_prog_CPP+:} false; then :
7422   $as_echo_n "(cached) " >&6
7423 else
7424       # Double quotes because CPP needs to be expanded
7425     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7426     do
7427       ac_preproc_ok=false
7428 for ac_c_preproc_warn_flag in '' yes
7429 do
7430   # Use a header file that comes with gcc, so configuring glibc
7431   # with a fresh cross-compiler works.
7432   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7433   # <limits.h> exists even on freestanding compilers.
7434   # On the NeXT, cc -E runs the code through the compiler's parser,
7435   # not just through cpp. "Syntax error" is here to catch this case.
7436   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7437 /* end confdefs.h.  */
7438 #ifdef __STDC__
7439 # include <limits.h>
7440 #else
7441 # include <assert.h>
7442 #endif
7443                      Syntax error
7444 _ACEOF
7445 if ac_fn_c_try_cpp "$LINENO"; then :
7446
7447 else
7448   # Broken: fails on valid input.
7449 continue
7450 fi
7451 rm -f conftest.err conftest.i conftest.$ac_ext
7452
7453   # OK, works on sane cases.  Now check whether nonexistent headers
7454   # can be detected and how.
7455   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7456 /* end confdefs.h.  */
7457 #include <ac_nonexistent.h>
7458 _ACEOF
7459 if ac_fn_c_try_cpp "$LINENO"; then :
7460   # Broken: success on invalid input.
7461 continue
7462 else
7463   # Passes both tests.
7464 ac_preproc_ok=:
7465 break
7466 fi
7467 rm -f conftest.err conftest.i conftest.$ac_ext
7468
7469 done
7470 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7471 rm -f conftest.i conftest.err conftest.$ac_ext
7472 if $ac_preproc_ok; then :
7473   break
7474 fi
7475
7476     done
7477     ac_cv_prog_CPP=$CPP
7478
7479 fi
7480   CPP=$ac_cv_prog_CPP
7481 else
7482   ac_cv_prog_CPP=$CPP
7483 fi
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7485 $as_echo "$CPP" >&6; }
7486 ac_preproc_ok=false
7487 for ac_c_preproc_warn_flag in '' yes
7488 do
7489   # Use a header file that comes with gcc, so configuring glibc
7490   # with a fresh cross-compiler works.
7491   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7492   # <limits.h> exists even on freestanding compilers.
7493   # On the NeXT, cc -E runs the code through the compiler's parser,
7494   # not just through cpp. "Syntax error" is here to catch this case.
7495   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7496 /* end confdefs.h.  */
7497 #ifdef __STDC__
7498 # include <limits.h>
7499 #else
7500 # include <assert.h>
7501 #endif
7502                      Syntax error
7503 _ACEOF
7504 if ac_fn_c_try_cpp "$LINENO"; then :
7505
7506 else
7507   # Broken: fails on valid input.
7508 continue
7509 fi
7510 rm -f conftest.err conftest.i conftest.$ac_ext
7511
7512   # OK, works on sane cases.  Now check whether nonexistent headers
7513   # can be detected and how.
7514   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7515 /* end confdefs.h.  */
7516 #include <ac_nonexistent.h>
7517 _ACEOF
7518 if ac_fn_c_try_cpp "$LINENO"; then :
7519   # Broken: success on invalid input.
7520 continue
7521 else
7522   # Passes both tests.
7523 ac_preproc_ok=:
7524 break
7525 fi
7526 rm -f conftest.err conftest.i conftest.$ac_ext
7527
7528 done
7529 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7530 rm -f conftest.i conftest.err conftest.$ac_ext
7531 if $ac_preproc_ok; then :
7532
7533 else
7534   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7535 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7536 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7537 See \`config.log' for more details" "$LINENO" 5; }
7538 fi
7539
7540 ac_ext=c
7541 ac_cpp='$CPP $CPPFLAGS'
7542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7545
7546
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7548 $as_echo_n "checking for ANSI C header files... " >&6; }
7549 if ${ac_cv_header_stdc+:} false; then :
7550   $as_echo_n "(cached) " >&6
7551 else
7552   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7553 /* end confdefs.h.  */
7554 #include <stdlib.h>
7555 #include <stdarg.h>
7556 #include <string.h>
7557 #include <float.h>
7558
7559 int
7560 main ()
7561 {
7562
7563   ;
7564   return 0;
7565 }
7566 _ACEOF
7567 if ac_fn_c_try_compile "$LINENO"; then :
7568   ac_cv_header_stdc=yes
7569 else
7570   ac_cv_header_stdc=no
7571 fi
7572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7573
7574 if test $ac_cv_header_stdc = yes; then
7575   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7576   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7577 /* end confdefs.h.  */
7578 #include <string.h>
7579
7580 _ACEOF
7581 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7582   $EGREP "memchr" >/dev/null 2>&1; then :
7583
7584 else
7585   ac_cv_header_stdc=no
7586 fi
7587 rm -f conftest*
7588
7589 fi
7590
7591 if test $ac_cv_header_stdc = yes; then
7592   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7593   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7594 /* end confdefs.h.  */
7595 #include <stdlib.h>
7596
7597 _ACEOF
7598 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7599   $EGREP "free" >/dev/null 2>&1; then :
7600
7601 else
7602   ac_cv_header_stdc=no
7603 fi
7604 rm -f conftest*
7605
7606 fi
7607
7608 if test $ac_cv_header_stdc = yes; then
7609   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7610   if test "$cross_compiling" = yes; then :
7611   :
7612 else
7613   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7614 /* end confdefs.h.  */
7615 #include <ctype.h>
7616 #include <stdlib.h>
7617 #if ((' ' & 0x0FF) == 0x020)
7618 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7619 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7620 #else
7621 # define ISLOWER(c) \
7622                    (('a' <= (c) && (c) <= 'i') \
7623                      || ('j' <= (c) && (c) <= 'r') \
7624                      || ('s' <= (c) && (c) <= 'z'))
7625 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7626 #endif
7627
7628 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7629 int
7630 main ()
7631 {
7632   int i;
7633   for (i = 0; i < 256; i++)
7634     if (XOR (islower (i), ISLOWER (i))
7635         || toupper (i) != TOUPPER (i))
7636       return 2;
7637   return 0;
7638 }
7639 _ACEOF
7640 if ac_fn_c_try_run "$LINENO"; then :
7641
7642 else
7643   ac_cv_header_stdc=no
7644 fi
7645 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7646   conftest.$ac_objext conftest.beam conftest.$ac_ext
7647 fi
7648
7649 fi
7650 fi
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7652 $as_echo "$ac_cv_header_stdc" >&6; }
7653 if test $ac_cv_header_stdc = yes; then
7654
7655 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7656
7657 fi
7658
7659 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7660 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7661                   inttypes.h stdint.h unistd.h
7662 do :
7663   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7664 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7665 "
7666 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7667   cat >>confdefs.h <<_ACEOF
7668 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7669 _ACEOF
7670
7671 fi
7672
7673 done
7674
7675
7676 for ac_header in dlfcn.h
7677 do :
7678   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7679 "
7680 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7681   cat >>confdefs.h <<_ACEOF
7682 #define HAVE_DLFCN_H 1
7683 _ACEOF
7684
7685 fi
7686
7687 done
7688
7689
7690
7691
7692
7693 # Set options
7694 # Check whether --enable-static was given.
7695 if test "${enable_static+set}" = set; then :
7696   enableval=$enable_static; p=${PACKAGE-default}
7697     case $enableval in
7698     yes) enable_static=yes ;;
7699     no) enable_static=no ;;
7700     *)
7701      enable_static=no
7702       # Look at the argument we got.  We use all the common list separators.
7703       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7704       for pkg in $enableval; do
7705         IFS="$lt_save_ifs"
7706         if test "X$pkg" = "X$p"; then
7707           enable_static=yes
7708         fi
7709       done
7710       IFS="$lt_save_ifs"
7711       ;;
7712     esac
7713 else
7714   enable_static=no
7715 fi
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726         enable_dlopen=no
7727
7728
7729   enable_win32_dll=no
7730
7731
7732             # Check whether --enable-shared was given.
7733 if test "${enable_shared+set}" = set; then :
7734   enableval=$enable_shared; p=${PACKAGE-default}
7735     case $enableval in
7736     yes) enable_shared=yes ;;
7737     no) enable_shared=no ;;
7738     *)
7739       enable_shared=no
7740       # Look at the argument we got.  We use all the common list separators.
7741       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7742       for pkg in $enableval; do
7743         IFS="$lt_save_ifs"
7744         if test "X$pkg" = "X$p"; then
7745           enable_shared=yes
7746         fi
7747       done
7748       IFS="$lt_save_ifs"
7749       ;;
7750     esac
7751 else
7752   enable_shared=yes
7753 fi
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765 # Check whether --with-pic was given.
7766 if test "${with_pic+set}" = set; then :
7767   withval=$with_pic; lt_p=${PACKAGE-default}
7768     case $withval in
7769     yes|no) pic_mode=$withval ;;
7770     *)
7771       pic_mode=default
7772       # Look at the argument we got.  We use all the common list separators.
7773       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7774       for lt_pkg in $withval; do
7775         IFS="$lt_save_ifs"
7776         if test "X$lt_pkg" = "X$lt_p"; then
7777           pic_mode=yes
7778         fi
7779       done
7780       IFS="$lt_save_ifs"
7781       ;;
7782     esac
7783 else
7784   pic_mode=default
7785 fi
7786
7787
7788 test -z "$pic_mode" && pic_mode=default
7789
7790
7791
7792
7793
7794
7795
7796   # Check whether --enable-fast-install was given.
7797 if test "${enable_fast_install+set}" = set; then :
7798   enableval=$enable_fast_install; p=${PACKAGE-default}
7799     case $enableval in
7800     yes) enable_fast_install=yes ;;
7801     no) enable_fast_install=no ;;
7802     *)
7803       enable_fast_install=no
7804       # Look at the argument we got.  We use all the common list separators.
7805       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7806       for pkg in $enableval; do
7807         IFS="$lt_save_ifs"
7808         if test "X$pkg" = "X$p"; then
7809           enable_fast_install=yes
7810         fi
7811       done
7812       IFS="$lt_save_ifs"
7813       ;;
7814     esac
7815 else
7816   enable_fast_install=yes
7817 fi
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829 # This can be used to rebuild libtool when needed
7830 LIBTOOL_DEPS="$ltmain"
7831
7832 # Always use our own libtool.
7833 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864 test -z "$LN_S" && LN_S="ln -s"
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879 if test -n "${ZSH_VERSION+set}" ; then
7880    setopt NO_GLOB_SUBST
7881 fi
7882
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7884 $as_echo_n "checking for objdir... " >&6; }
7885 if ${lt_cv_objdir+:} false; then :
7886   $as_echo_n "(cached) " >&6
7887 else
7888   rm -f .libs 2>/dev/null
7889 mkdir .libs 2>/dev/null
7890 if test -d .libs; then
7891   lt_cv_objdir=.libs
7892 else
7893   # MS-DOS does not allow filenames that begin with a dot.
7894   lt_cv_objdir=_libs
7895 fi
7896 rmdir .libs 2>/dev/null
7897 fi
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7899 $as_echo "$lt_cv_objdir" >&6; }
7900 objdir=$lt_cv_objdir
7901
7902
7903
7904
7905
7906 cat >>confdefs.h <<_ACEOF
7907 #define LT_OBJDIR "$lt_cv_objdir/"
7908 _ACEOF
7909
7910
7911
7912
7913 case $host_os in
7914 aix3*)
7915   # AIX sometimes has problems with the GCC collect2 program.  For some
7916   # reason, if we set the COLLECT_NAMES environment variable, the problems
7917   # vanish in a puff of smoke.
7918   if test "X${COLLECT_NAMES+set}" != Xset; then
7919     COLLECT_NAMES=
7920     export COLLECT_NAMES
7921   fi
7922   ;;
7923 esac
7924
7925 # Global variables:
7926 ofile=libtool
7927 can_build_shared=yes
7928
7929 # All known linkers require a `.a' archive for static linking (except MSVC,
7930 # which needs '.lib').
7931 libext=a
7932
7933 with_gnu_ld="$lt_cv_prog_gnu_ld"
7934
7935 old_CC="$CC"
7936 old_CFLAGS="$CFLAGS"
7937
7938 # Set sane defaults for various variables
7939 test -z "$CC" && CC=cc
7940 test -z "$LTCC" && LTCC=$CC
7941 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7942 test -z "$LD" && LD=ld
7943 test -z "$ac_objext" && ac_objext=o
7944
7945 for cc_temp in $compiler""; do
7946   case $cc_temp in
7947     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7948     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7949     \-*) ;;
7950     *) break;;
7951   esac
7952 done
7953 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7954
7955
7956 # Only perform the check for file, if the check method requires it
7957 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7958 case $deplibs_check_method in
7959 file_magic*)
7960   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7961     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7962 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7963 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7964   $as_echo_n "(cached) " >&6
7965 else
7966   case $MAGIC_CMD in
7967 [\\/*] |  ?:[\\/]*)
7968   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7969   ;;
7970 *)
7971   lt_save_MAGIC_CMD="$MAGIC_CMD"
7972   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7973   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7974   for ac_dir in $ac_dummy; do
7975     IFS="$lt_save_ifs"
7976     test -z "$ac_dir" && ac_dir=.
7977     if test -f $ac_dir/${ac_tool_prefix}file; then
7978       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7979       if test -n "$file_magic_test_file"; then
7980         case $deplibs_check_method in
7981         "file_magic "*)
7982           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7983           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7984           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7985             $EGREP "$file_magic_regex" > /dev/null; then
7986             :
7987           else
7988             cat <<_LT_EOF 1>&2
7989
7990 *** Warning: the command libtool uses to detect shared libraries,
7991 *** $file_magic_cmd, produces output that libtool cannot recognize.
7992 *** The result is that libtool may fail to recognize shared libraries
7993 *** as such.  This will affect the creation of libtool libraries that
7994 *** depend on shared libraries, but programs linked with such libtool
7995 *** libraries will work regardless of this problem.  Nevertheless, you
7996 *** may want to report the problem to your system manager and/or to
7997 *** bug-libtool@gnu.org
7998
7999 _LT_EOF
8000           fi ;;
8001         esac
8002       fi
8003       break
8004     fi
8005   done
8006   IFS="$lt_save_ifs"
8007   MAGIC_CMD="$lt_save_MAGIC_CMD"
8008   ;;
8009 esac
8010 fi
8011
8012 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8013 if test -n "$MAGIC_CMD"; then
8014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8015 $as_echo "$MAGIC_CMD" >&6; }
8016 else
8017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8018 $as_echo "no" >&6; }
8019 fi
8020
8021
8022
8023
8024
8025 if test -z "$lt_cv_path_MAGIC_CMD"; then
8026   if test -n "$ac_tool_prefix"; then
8027     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8028 $as_echo_n "checking for file... " >&6; }
8029 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8030   $as_echo_n "(cached) " >&6
8031 else
8032   case $MAGIC_CMD in
8033 [\\/*] |  ?:[\\/]*)
8034   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8035   ;;
8036 *)
8037   lt_save_MAGIC_CMD="$MAGIC_CMD"
8038   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8039   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8040   for ac_dir in $ac_dummy; do
8041     IFS="$lt_save_ifs"
8042     test -z "$ac_dir" && ac_dir=.
8043     if test -f $ac_dir/file; then
8044       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8045       if test -n "$file_magic_test_file"; then
8046         case $deplibs_check_method in
8047         "file_magic "*)
8048           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8049           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8050           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8051             $EGREP "$file_magic_regex" > /dev/null; then
8052             :
8053           else
8054             cat <<_LT_EOF 1>&2
8055
8056 *** Warning: the command libtool uses to detect shared libraries,
8057 *** $file_magic_cmd, produces output that libtool cannot recognize.
8058 *** The result is that libtool may fail to recognize shared libraries
8059 *** as such.  This will affect the creation of libtool libraries that
8060 *** depend on shared libraries, but programs linked with such libtool
8061 *** libraries will work regardless of this problem.  Nevertheless, you
8062 *** may want to report the problem to your system manager and/or to
8063 *** bug-libtool@gnu.org
8064
8065 _LT_EOF
8066           fi ;;
8067         esac
8068       fi
8069       break
8070     fi
8071   done
8072   IFS="$lt_save_ifs"
8073   MAGIC_CMD="$lt_save_MAGIC_CMD"
8074   ;;
8075 esac
8076 fi
8077
8078 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8079 if test -n "$MAGIC_CMD"; then
8080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8081 $as_echo "$MAGIC_CMD" >&6; }
8082 else
8083   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8084 $as_echo "no" >&6; }
8085 fi
8086
8087
8088   else
8089     MAGIC_CMD=:
8090   fi
8091 fi
8092
8093   fi
8094   ;;
8095 esac
8096
8097 # Use C for the default configuration in the libtool script
8098
8099 lt_save_CC="$CC"
8100 ac_ext=c
8101 ac_cpp='$CPP $CPPFLAGS'
8102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8105
8106
8107 # Source file extension for C test sources.
8108 ac_ext=c
8109
8110 # Object file extension for compiled C test sources.
8111 objext=o
8112 objext=$objext
8113
8114 # Code to be used in simple compile tests
8115 lt_simple_compile_test_code="int some_variable = 0;"
8116
8117 # Code to be used in simple link tests
8118 lt_simple_link_test_code='int main(){return(0);}'
8119
8120
8121
8122
8123
8124
8125
8126 # If no C compiler was specified, use CC.
8127 LTCC=${LTCC-"$CC"}
8128
8129 # If no C compiler flags were specified, use CFLAGS.
8130 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8131
8132 # Allow CC to be a program name with arguments.
8133 compiler=$CC
8134
8135 # Save the default compiler, since it gets overwritten when the other
8136 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8137 compiler_DEFAULT=$CC
8138
8139 # save warnings/boilerplate of simple test code
8140 ac_outfile=conftest.$ac_objext
8141 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8142 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8143 _lt_compiler_boilerplate=`cat conftest.err`
8144 $RM conftest*
8145
8146 ac_outfile=conftest.$ac_objext
8147 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8148 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8149 _lt_linker_boilerplate=`cat conftest.err`
8150 $RM -r conftest*
8151
8152
8153 ## CAVEAT EMPTOR:
8154 ## There is no encapsulation within the following macros, do not change
8155 ## the running order or otherwise move them around unless you know exactly
8156 ## what you are doing...
8157 if test -n "$compiler"; then
8158
8159 lt_prog_compiler_no_builtin_flag=
8160
8161 if test "$GCC" = yes; then
8162   case $cc_basename in
8163   nvcc*)
8164     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8165   *)
8166     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8167   esac
8168
8169   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8170 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8171 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8172   $as_echo_n "(cached) " >&6
8173 else
8174   lt_cv_prog_compiler_rtti_exceptions=no
8175    ac_outfile=conftest.$ac_objext
8176    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8177    lt_compiler_flag="-fno-rtti -fno-exceptions"
8178    # Insert the option either (1) after the last *FLAGS variable, or
8179    # (2) before a word containing "conftest.", or (3) at the end.
8180    # Note that $ac_compile itself does not contain backslashes and begins
8181    # with a dollar sign (not a hyphen), so the echo should work correctly.
8182    # The option is referenced via a variable to avoid confusing sed.
8183    lt_compile=`echo "$ac_compile" | $SED \
8184    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8185    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8186    -e 's:$: $lt_compiler_flag:'`
8187    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8188    (eval "$lt_compile" 2>conftest.err)
8189    ac_status=$?
8190    cat conftest.err >&5
8191    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8192    if (exit $ac_status) && test -s "$ac_outfile"; then
8193      # The compiler can only warn and ignore the option if not recognized
8194      # So say no if there are warnings other than the usual output.
8195      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8196      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8197      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8198        lt_cv_prog_compiler_rtti_exceptions=yes
8199      fi
8200    fi
8201    $RM conftest*
8202
8203 fi
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8205 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8206
8207 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8208     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8209 else
8210     :
8211 fi
8212
8213 fi
8214
8215
8216
8217
8218
8219
8220   lt_prog_compiler_wl=
8221 lt_prog_compiler_pic=
8222 lt_prog_compiler_static=
8223
8224
8225   if test "$GCC" = yes; then
8226     lt_prog_compiler_wl='-Wl,'
8227     lt_prog_compiler_static='-static'
8228
8229     case $host_os in
8230       aix*)
8231       # All AIX code is PIC.
8232       if test "$host_cpu" = ia64; then
8233         # AIX 5 now supports IA64 processor
8234         lt_prog_compiler_static='-Bstatic'
8235       fi
8236       ;;
8237
8238     amigaos*)
8239       case $host_cpu in
8240       powerpc)
8241             # see comment about AmigaOS4 .so support
8242             lt_prog_compiler_pic='-fPIC'
8243         ;;
8244       m68k)
8245             # FIXME: we need at least 68020 code to build shared libraries, but
8246             # adding the `-m68020' flag to GCC prevents building anything better,
8247             # like `-m68040'.
8248             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8249         ;;
8250       esac
8251       ;;
8252
8253     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8254       # PIC is the default for these OSes.
8255       ;;
8256
8257     mingw* | cygwin* | pw32* | os2* | cegcc*)
8258       # This hack is so that the source file can tell whether it is being
8259       # built for inclusion in a dll (and should export symbols for example).
8260       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8261       # (--disable-auto-import) libraries
8262       lt_prog_compiler_pic='-DDLL_EXPORT'
8263       ;;
8264
8265     darwin* | rhapsody*)
8266       # PIC is the default on this platform
8267       # Common symbols not allowed in MH_DYLIB files
8268       lt_prog_compiler_pic='-fno-common'
8269       ;;
8270
8271     haiku*)
8272       # PIC is the default for Haiku.
8273       # The "-static" flag exists, but is broken.
8274       lt_prog_compiler_static=
8275       ;;
8276
8277     hpux*)
8278       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8279       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8280       # sets the default TLS model and affects inlining.
8281       case $host_cpu in
8282       hppa*64*)
8283         # +Z the default
8284         ;;
8285       *)
8286         lt_prog_compiler_pic='-fPIC'
8287         ;;
8288       esac
8289       ;;
8290
8291     interix[3-9]*)
8292       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8293       # Instead, we relocate shared libraries at runtime.
8294       ;;
8295
8296     msdosdjgpp*)
8297       # Just because we use GCC doesn't mean we suddenly get shared libraries
8298       # on systems that don't support them.
8299       lt_prog_compiler_can_build_shared=no
8300       enable_shared=no
8301       ;;
8302
8303     *nto* | *qnx*)
8304       # QNX uses GNU C++, but need to define -shared option too, otherwise
8305       # it will coredump.
8306       lt_prog_compiler_pic='-fPIC -shared'
8307       ;;
8308
8309     sysv4*MP*)
8310       if test -d /usr/nec; then
8311         lt_prog_compiler_pic=-Kconform_pic
8312       fi
8313       ;;
8314
8315     *)
8316       lt_prog_compiler_pic='-fPIC'
8317       ;;
8318     esac
8319
8320     case $cc_basename in
8321     nvcc*) # Cuda Compiler Driver 2.2
8322       lt_prog_compiler_wl='-Xlinker '
8323       if test -n "$lt_prog_compiler_pic"; then
8324         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8325       fi
8326       ;;
8327     esac
8328   else
8329     # PORTME Check for flag to pass linker flags through the system compiler.
8330     case $host_os in
8331     aix*)
8332       lt_prog_compiler_wl='-Wl,'
8333       if test "$host_cpu" = ia64; then
8334         # AIX 5 now supports IA64 processor
8335         lt_prog_compiler_static='-Bstatic'
8336       else
8337         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8338       fi
8339       ;;
8340
8341     mingw* | cygwin* | pw32* | os2* | cegcc*)
8342       # This hack is so that the source file can tell whether it is being
8343       # built for inclusion in a dll (and should export symbols for example).
8344       lt_prog_compiler_pic='-DDLL_EXPORT'
8345       ;;
8346
8347     hpux9* | hpux10* | hpux11*)
8348       lt_prog_compiler_wl='-Wl,'
8349       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8350       # not for PA HP-UX.
8351       case $host_cpu in
8352       hppa*64*|ia64*)
8353         # +Z the default
8354         ;;
8355       *)
8356         lt_prog_compiler_pic='+Z'
8357         ;;
8358       esac
8359       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8360       lt_prog_compiler_static='${wl}-a ${wl}archive'
8361       ;;
8362
8363     irix5* | irix6* | nonstopux*)
8364       lt_prog_compiler_wl='-Wl,'
8365       # PIC (with -KPIC) is the default.
8366       lt_prog_compiler_static='-non_shared'
8367       ;;
8368
8369     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8370       case $cc_basename in
8371       # old Intel for x86_64 which still supported -KPIC.
8372       ecc*)
8373         lt_prog_compiler_wl='-Wl,'
8374         lt_prog_compiler_pic='-KPIC'
8375         lt_prog_compiler_static='-static'
8376         ;;
8377       # icc used to be incompatible with GCC.
8378       # ICC 10 doesn't accept -KPIC any more.
8379       icc* | ifort*)
8380         lt_prog_compiler_wl='-Wl,'
8381         lt_prog_compiler_pic='-fPIC'
8382         lt_prog_compiler_static='-static'
8383         ;;
8384       # Lahey Fortran 8.1.
8385       lf95*)
8386         lt_prog_compiler_wl='-Wl,'
8387         lt_prog_compiler_pic='--shared'
8388         lt_prog_compiler_static='--static'
8389         ;;
8390       nagfor*)
8391         # NAG Fortran compiler
8392         lt_prog_compiler_wl='-Wl,-Wl,,'
8393         lt_prog_compiler_pic='-PIC'
8394         lt_prog_compiler_static='-Bstatic'
8395         ;;
8396       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8397         # Portland Group compilers (*not* the Pentium gcc compiler,
8398         # which looks to be a dead project)
8399         lt_prog_compiler_wl='-Wl,'
8400         lt_prog_compiler_pic='-fpic'
8401         lt_prog_compiler_static='-Bstatic'
8402         ;;
8403       ccc*)
8404         lt_prog_compiler_wl='-Wl,'
8405         # All Alpha code is PIC.
8406         lt_prog_compiler_static='-non_shared'
8407         ;;
8408       xl* | bgxl* | bgf* | mpixl*)
8409         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8410         lt_prog_compiler_wl='-Wl,'
8411         lt_prog_compiler_pic='-qpic'
8412         lt_prog_compiler_static='-qstaticlink'
8413         ;;
8414       *)
8415         case `$CC -V 2>&1 | sed 5q` in
8416         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8417           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8418           lt_prog_compiler_pic='-KPIC'
8419           lt_prog_compiler_static='-Bstatic'
8420           lt_prog_compiler_wl=''
8421           ;;
8422         *Sun\ F* | *Sun*Fortran*)
8423           lt_prog_compiler_pic='-KPIC'
8424           lt_prog_compiler_static='-Bstatic'
8425           lt_prog_compiler_wl='-Qoption ld '
8426           ;;
8427         *Sun\ C*)
8428           # Sun C 5.9
8429           lt_prog_compiler_pic='-KPIC'
8430           lt_prog_compiler_static='-Bstatic'
8431           lt_prog_compiler_wl='-Wl,'
8432           ;;
8433         *Intel*\ [CF]*Compiler*)
8434           lt_prog_compiler_wl='-Wl,'
8435           lt_prog_compiler_pic='-fPIC'
8436           lt_prog_compiler_static='-static'
8437           ;;
8438         *Portland\ Group*)
8439           lt_prog_compiler_wl='-Wl,'
8440           lt_prog_compiler_pic='-fpic'
8441           lt_prog_compiler_static='-Bstatic'
8442           ;;
8443         esac
8444         ;;
8445       esac
8446       ;;
8447
8448     newsos6)
8449       lt_prog_compiler_pic='-KPIC'
8450       lt_prog_compiler_static='-Bstatic'
8451       ;;
8452
8453     *nto* | *qnx*)
8454       # QNX uses GNU C++, but need to define -shared option too, otherwise
8455       # it will coredump.
8456       lt_prog_compiler_pic='-fPIC -shared'
8457       ;;
8458
8459     osf3* | osf4* | osf5*)
8460       lt_prog_compiler_wl='-Wl,'
8461       # All OSF/1 code is PIC.
8462       lt_prog_compiler_static='-non_shared'
8463       ;;
8464
8465     rdos*)
8466       lt_prog_compiler_static='-non_shared'
8467       ;;
8468
8469     solaris*)
8470       lt_prog_compiler_pic='-KPIC'
8471       lt_prog_compiler_static='-Bstatic'
8472       case $cc_basename in
8473       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8474         lt_prog_compiler_wl='-Qoption ld ';;
8475       *)
8476         lt_prog_compiler_wl='-Wl,';;
8477       esac
8478       ;;
8479
8480     sunos4*)
8481       lt_prog_compiler_wl='-Qoption ld '
8482       lt_prog_compiler_pic='-PIC'
8483       lt_prog_compiler_static='-Bstatic'
8484       ;;
8485
8486     sysv4 | sysv4.2uw2* | sysv4.3*)
8487       lt_prog_compiler_wl='-Wl,'
8488       lt_prog_compiler_pic='-KPIC'
8489       lt_prog_compiler_static='-Bstatic'
8490       ;;
8491
8492     sysv4*MP*)
8493       if test -d /usr/nec ;then
8494         lt_prog_compiler_pic='-Kconform_pic'
8495         lt_prog_compiler_static='-Bstatic'
8496       fi
8497       ;;
8498
8499     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8500       lt_prog_compiler_wl='-Wl,'
8501       lt_prog_compiler_pic='-KPIC'
8502       lt_prog_compiler_static='-Bstatic'
8503       ;;
8504
8505     unicos*)
8506       lt_prog_compiler_wl='-Wl,'
8507       lt_prog_compiler_can_build_shared=no
8508       ;;
8509
8510     uts4*)
8511       lt_prog_compiler_pic='-pic'
8512       lt_prog_compiler_static='-Bstatic'
8513       ;;
8514
8515     *)
8516       lt_prog_compiler_can_build_shared=no
8517       ;;
8518     esac
8519   fi
8520
8521 case $host_os in
8522   # For platforms which do not support PIC, -DPIC is meaningless:
8523   *djgpp*)
8524     lt_prog_compiler_pic=
8525     ;;
8526   *)
8527     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8528     ;;
8529 esac
8530
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8532 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8533 if ${lt_cv_prog_compiler_pic+:} false; then :
8534   $as_echo_n "(cached) " >&6
8535 else
8536   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8537 fi
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8539 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8540 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8541
8542 #
8543 # Check to make sure the PIC flag actually works.
8544 #
8545 if test -n "$lt_prog_compiler_pic"; then
8546   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8547 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8548 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8549   $as_echo_n "(cached) " >&6
8550 else
8551   lt_cv_prog_compiler_pic_works=no
8552    ac_outfile=conftest.$ac_objext
8553    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8554    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8555    # Insert the option either (1) after the last *FLAGS variable, or
8556    # (2) before a word containing "conftest.", or (3) at the end.
8557    # Note that $ac_compile itself does not contain backslashes and begins
8558    # with a dollar sign (not a hyphen), so the echo should work correctly.
8559    # The option is referenced via a variable to avoid confusing sed.
8560    lt_compile=`echo "$ac_compile" | $SED \
8561    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8562    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8563    -e 's:$: $lt_compiler_flag:'`
8564    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8565    (eval "$lt_compile" 2>conftest.err)
8566    ac_status=$?
8567    cat conftest.err >&5
8568    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8569    if (exit $ac_status) && test -s "$ac_outfile"; then
8570      # The compiler can only warn and ignore the option if not recognized
8571      # So say no if there are warnings other than the usual output.
8572      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8573      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8574      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8575        lt_cv_prog_compiler_pic_works=yes
8576      fi
8577    fi
8578    $RM conftest*
8579
8580 fi
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8582 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8583
8584 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8585     case $lt_prog_compiler_pic in
8586      "" | " "*) ;;
8587      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8588      esac
8589 else
8590     lt_prog_compiler_pic=
8591      lt_prog_compiler_can_build_shared=no
8592 fi
8593
8594 fi
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606 #
8607 # Check to make sure the static flag actually works.
8608 #
8609 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8611 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8612 if ${lt_cv_prog_compiler_static_works+:} false; then :
8613   $as_echo_n "(cached) " >&6
8614 else
8615   lt_cv_prog_compiler_static_works=no
8616    save_LDFLAGS="$LDFLAGS"
8617    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8618    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8619    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8620      # The linker can only warn and ignore the option if not recognized
8621      # So say no if there are warnings
8622      if test -s conftest.err; then
8623        # Append any errors to the config.log.
8624        cat conftest.err 1>&5
8625        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8626        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8627        if diff conftest.exp conftest.er2 >/dev/null; then
8628          lt_cv_prog_compiler_static_works=yes
8629        fi
8630      else
8631        lt_cv_prog_compiler_static_works=yes
8632      fi
8633    fi
8634    $RM -r conftest*
8635    LDFLAGS="$save_LDFLAGS"
8636
8637 fi
8638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8639 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8640
8641 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8642     :
8643 else
8644     lt_prog_compiler_static=
8645 fi
8646
8647
8648
8649
8650
8651
8652
8653   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8654 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8655 if ${lt_cv_prog_compiler_c_o+:} false; then :
8656   $as_echo_n "(cached) " >&6
8657 else
8658   lt_cv_prog_compiler_c_o=no
8659    $RM -r conftest 2>/dev/null
8660    mkdir conftest
8661    cd conftest
8662    mkdir out
8663    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8664
8665    lt_compiler_flag="-o out/conftest2.$ac_objext"
8666    # Insert the option either (1) after the last *FLAGS variable, or
8667    # (2) before a word containing "conftest.", or (3) at the end.
8668    # Note that $ac_compile itself does not contain backslashes and begins
8669    # with a dollar sign (not a hyphen), so the echo should work correctly.
8670    lt_compile=`echo "$ac_compile" | $SED \
8671    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8672    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8673    -e 's:$: $lt_compiler_flag:'`
8674    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8675    (eval "$lt_compile" 2>out/conftest.err)
8676    ac_status=$?
8677    cat out/conftest.err >&5
8678    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8679    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8680    then
8681      # The compiler can only warn and ignore the option if not recognized
8682      # So say no if there are warnings
8683      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8684      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8685      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8686        lt_cv_prog_compiler_c_o=yes
8687      fi
8688    fi
8689    chmod u+w . 2>&5
8690    $RM conftest*
8691    # SGI C++ compiler will create directory out/ii_files/ for
8692    # template instantiation
8693    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8694    $RM out/* && rmdir out
8695    cd ..
8696    $RM -r conftest
8697    $RM conftest*
8698
8699 fi
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8701 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8702
8703
8704
8705
8706
8707
8708   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8709 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8710 if ${lt_cv_prog_compiler_c_o+:} false; then :
8711   $as_echo_n "(cached) " >&6
8712 else
8713   lt_cv_prog_compiler_c_o=no
8714    $RM -r conftest 2>/dev/null
8715    mkdir conftest
8716    cd conftest
8717    mkdir out
8718    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8719
8720    lt_compiler_flag="-o out/conftest2.$ac_objext"
8721    # Insert the option either (1) after the last *FLAGS variable, or
8722    # (2) before a word containing "conftest.", or (3) at the end.
8723    # Note that $ac_compile itself does not contain backslashes and begins
8724    # with a dollar sign (not a hyphen), so the echo should work correctly.
8725    lt_compile=`echo "$ac_compile" | $SED \
8726    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8727    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8728    -e 's:$: $lt_compiler_flag:'`
8729    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8730    (eval "$lt_compile" 2>out/conftest.err)
8731    ac_status=$?
8732    cat out/conftest.err >&5
8733    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8734    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8735    then
8736      # The compiler can only warn and ignore the option if not recognized
8737      # So say no if there are warnings
8738      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8739      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8740      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8741        lt_cv_prog_compiler_c_o=yes
8742      fi
8743    fi
8744    chmod u+w . 2>&5
8745    $RM conftest*
8746    # SGI C++ compiler will create directory out/ii_files/ for
8747    # template instantiation
8748    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8749    $RM out/* && rmdir out
8750    cd ..
8751    $RM -r conftest
8752    $RM conftest*
8753
8754 fi
8755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8756 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8757
8758
8759
8760
8761 hard_links="nottested"
8762 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8763   # do not overwrite the value of need_locks provided by the user
8764   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8765 $as_echo_n "checking if we can lock with hard links... " >&6; }
8766   hard_links=yes
8767   $RM conftest*
8768   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8769   touch conftest.a
8770   ln conftest.a conftest.b 2>&5 || hard_links=no
8771   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8773 $as_echo "$hard_links" >&6; }
8774   if test "$hard_links" = no; then
8775     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8776 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8777     need_locks=warn
8778   fi
8779 else
8780   need_locks=no
8781 fi
8782
8783
8784
8785
8786
8787
8788   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8789 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8790
8791   runpath_var=
8792   allow_undefined_flag=
8793   always_export_symbols=no
8794   archive_cmds=
8795   archive_expsym_cmds=
8796   compiler_needs_object=no
8797   enable_shared_with_static_runtimes=no
8798   export_dynamic_flag_spec=
8799   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8800   hardcode_automatic=no
8801   hardcode_direct=no
8802   hardcode_direct_absolute=no
8803   hardcode_libdir_flag_spec=
8804   hardcode_libdir_separator=
8805   hardcode_minus_L=no
8806   hardcode_shlibpath_var=unsupported
8807   inherit_rpath=no
8808   link_all_deplibs=unknown
8809   module_cmds=
8810   module_expsym_cmds=
8811   old_archive_from_new_cmds=
8812   old_archive_from_expsyms_cmds=
8813   thread_safe_flag_spec=
8814   whole_archive_flag_spec=
8815   # include_expsyms should be a list of space-separated symbols to be *always*
8816   # included in the symbol list
8817   include_expsyms=
8818   # exclude_expsyms can be an extended regexp of symbols to exclude
8819   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8820   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8821   # as well as any symbol that contains `d'.
8822   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8823   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8824   # platforms (ab)use it in PIC code, but their linkers get confused if
8825   # the symbol is explicitly referenced.  Since portable code cannot
8826   # rely on this symbol name, it's probably fine to never include it in
8827   # preloaded symbol tables.
8828   # Exclude shared library initialization/finalization symbols.
8829   extract_expsyms_cmds=
8830
8831   case $host_os in
8832   cygwin* | mingw* | pw32* | cegcc*)
8833     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8834     # When not using gcc, we currently assume that we are using
8835     # Microsoft Visual C++.
8836     if test "$GCC" != yes; then
8837       with_gnu_ld=no
8838     fi
8839     ;;
8840   interix*)
8841     # we just hope/assume this is gcc and not c89 (= MSVC++)
8842     with_gnu_ld=yes
8843     ;;
8844   openbsd*)
8845     with_gnu_ld=no
8846     ;;
8847   linux* | k*bsd*-gnu | gnu*)
8848     link_all_deplibs=no
8849     ;;
8850   esac
8851
8852   ld_shlibs=yes
8853
8854   # On some targets, GNU ld is compatible enough with the native linker
8855   # that we're better off using the native interface for both.
8856   lt_use_gnu_ld_interface=no
8857   if test "$with_gnu_ld" = yes; then
8858     case $host_os in
8859       aix*)
8860         # The AIX port of GNU ld has always aspired to compatibility
8861         # with the native linker.  However, as the warning in the GNU ld
8862         # block says, versions before 2.19.5* couldn't really create working
8863         # shared libraries, regardless of the interface used.
8864         case `$LD -v 2>&1` in
8865           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8866           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8867           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8868           *)
8869             lt_use_gnu_ld_interface=yes
8870             ;;
8871         esac
8872         ;;
8873       *)
8874         lt_use_gnu_ld_interface=yes
8875         ;;
8876     esac
8877   fi
8878
8879   if test "$lt_use_gnu_ld_interface" = yes; then
8880     # If archive_cmds runs LD, not CC, wlarc should be empty
8881     wlarc='${wl}'
8882
8883     # Set some defaults for GNU ld with shared library support. These
8884     # are reset later if shared libraries are not supported. Putting them
8885     # here allows them to be overridden if necessary.
8886     runpath_var=LD_RUN_PATH
8887     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8888     export_dynamic_flag_spec='${wl}--export-dynamic'
8889     # ancient GNU ld didn't support --whole-archive et. al.
8890     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8891       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8892     else
8893       whole_archive_flag_spec=
8894     fi
8895     supports_anon_versioning=no
8896     case `$LD -v 2>&1` in
8897       *GNU\ gold*) supports_anon_versioning=yes ;;
8898       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8899       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8900       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8901       *\ 2.11.*) ;; # other 2.11 versions
8902       *) supports_anon_versioning=yes ;;
8903     esac
8904
8905     # See if GNU ld supports shared libraries.
8906     case $host_os in
8907     aix[3-9]*)
8908       # On AIX/PPC, the GNU linker is very broken
8909       if test "$host_cpu" != ia64; then
8910         ld_shlibs=no
8911         cat <<_LT_EOF 1>&2
8912
8913 *** Warning: the GNU linker, at least up to release 2.19, is reported
8914 *** to be unable to reliably create shared libraries on AIX.
8915 *** Therefore, libtool is disabling shared libraries support.  If you
8916 *** really care for shared libraries, you may want to install binutils
8917 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8918 *** You will then need to restart the configuration process.
8919
8920 _LT_EOF
8921       fi
8922       ;;
8923
8924     amigaos*)
8925       case $host_cpu in
8926       powerpc)
8927             # see comment about AmigaOS4 .so support
8928             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8929             archive_expsym_cmds=''
8930         ;;
8931       m68k)
8932             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)'
8933             hardcode_libdir_flag_spec='-L$libdir'
8934             hardcode_minus_L=yes
8935         ;;
8936       esac
8937       ;;
8938
8939     beos*)
8940       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8941         allow_undefined_flag=unsupported
8942         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8943         # support --undefined.  This deserves some investigation.  FIXME
8944         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8945       else
8946         ld_shlibs=no
8947       fi
8948       ;;
8949
8950     cygwin* | mingw* | pw32* | cegcc*)
8951       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8952       # as there is no search path for DLLs.
8953       hardcode_libdir_flag_spec='-L$libdir'
8954       export_dynamic_flag_spec='${wl}--export-all-symbols'
8955       allow_undefined_flag=unsupported
8956       always_export_symbols=no
8957       enable_shared_with_static_runtimes=yes
8958       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'
8959       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8960
8961       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8962         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8963         # If the export-symbols file already is a .def file (1st line
8964         # is EXPORTS), use it as is; otherwise, prepend...
8965         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8966           cp $export_symbols $output_objdir/$soname.def;
8967         else
8968           echo EXPORTS > $output_objdir/$soname.def;
8969           cat $export_symbols >> $output_objdir/$soname.def;
8970         fi~
8971         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8972       else
8973         ld_shlibs=no
8974       fi
8975       ;;
8976
8977     haiku*)
8978       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8979       link_all_deplibs=yes
8980       ;;
8981
8982     interix[3-9]*)
8983       hardcode_direct=no
8984       hardcode_shlibpath_var=no
8985       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8986       export_dynamic_flag_spec='${wl}-E'
8987       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8988       # Instead, shared libraries are loaded at an image base (0x10000000 by
8989       # default) and relocated if they conflict, which is a slow very memory
8990       # consuming and fragmenting process.  To avoid this, we pick a random,
8991       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8992       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8993       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8994       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'
8995       ;;
8996
8997     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8998       tmp_diet=no
8999       if test "$host_os" = linux-dietlibc; then
9000         case $cc_basename in
9001           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9002         esac
9003       fi
9004       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9005          && test "$tmp_diet" = no
9006       then
9007         tmp_addflag=' $pic_flag'
9008         tmp_sharedflag='-shared'
9009         case $cc_basename,$host_cpu in
9010         pgcc*)                          # Portland Group C compiler
9011           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'
9012           tmp_addflag=' $pic_flag'
9013           ;;
9014         pgf77* | pgf90* | pgf95* | pgfortran*)
9015                                         # Portland Group f77 and f90 compilers
9016           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'
9017           tmp_addflag=' $pic_flag -Mnomain' ;;
9018         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9019           tmp_addflag=' -i_dynamic' ;;
9020         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9021           tmp_addflag=' -i_dynamic -nofor_main' ;;
9022         ifc* | ifort*)                  # Intel Fortran compiler
9023           tmp_addflag=' -nofor_main' ;;
9024         lf95*)                          # Lahey Fortran 8.1
9025           whole_archive_flag_spec=
9026           tmp_sharedflag='--shared' ;;
9027         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9028           tmp_sharedflag='-qmkshrobj'
9029           tmp_addflag= ;;
9030         nvcc*)  # Cuda Compiler Driver 2.2
9031           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'
9032           compiler_needs_object=yes
9033           ;;
9034         esac
9035         case `$CC -V 2>&1 | sed 5q` in
9036         *Sun\ C*)                       # Sun C 5.9
9037           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'
9038           compiler_needs_object=yes
9039           tmp_sharedflag='-G' ;;
9040         *Sun\ F*)                       # Sun Fortran 8.3
9041           tmp_sharedflag='-G' ;;
9042         esac
9043         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9044
9045         if test "x$supports_anon_versioning" = xyes; then
9046           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9047             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9048             echo "local: *; };" >> $output_objdir/$libname.ver~
9049             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9050         fi
9051
9052         case $cc_basename in
9053         xlf* | bgf* | bgxlf* | mpixlf*)
9054           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9055           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9056           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9057           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9058           if test "x$supports_anon_versioning" = xyes; then
9059             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9060               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9061               echo "local: *; };" >> $output_objdir/$libname.ver~
9062               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9063           fi
9064           ;;
9065         esac
9066       else
9067         ld_shlibs=no
9068       fi
9069       ;;
9070
9071     netbsd* | netbsdelf*-gnu)
9072       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9073         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9074         wlarc=
9075       else
9076         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9077         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9078       fi
9079       ;;
9080
9081     solaris*)
9082       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9083         ld_shlibs=no
9084         cat <<_LT_EOF 1>&2
9085
9086 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9087 *** create shared libraries on Solaris systems.  Therefore, libtool
9088 *** is disabling shared libraries support.  We urge you to upgrade GNU
9089 *** binutils to release 2.9.1 or newer.  Another option is to modify
9090 *** your PATH or compiler configuration so that the native linker is
9091 *** used, and then restart.
9092
9093 _LT_EOF
9094       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9095         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9096         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9097       else
9098         ld_shlibs=no
9099       fi
9100       ;;
9101
9102     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9103       case `$LD -v 2>&1` in
9104         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9105         ld_shlibs=no
9106         cat <<_LT_EOF 1>&2
9107
9108 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9109 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9110 *** is disabling shared libraries support.  We urge you to upgrade GNU
9111 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9112 *** your PATH or compiler configuration so that the native linker is
9113 *** used, and then restart.
9114
9115 _LT_EOF
9116         ;;
9117         *)
9118           # For security reasons, it is highly recommended that you always
9119           # use absolute paths for naming shared libraries, and exclude the
9120           # DT_RUNPATH tag from executables and libraries.  But doing so
9121           # requires that you compile everything twice, which is a pain.
9122           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9123             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9124             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9125             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9126           else
9127             ld_shlibs=no
9128           fi
9129         ;;
9130       esac
9131       ;;
9132
9133     sunos4*)
9134       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9135       wlarc=
9136       hardcode_direct=yes
9137       hardcode_shlibpath_var=no
9138       ;;
9139
9140     *)
9141       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9142         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9143         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9144       else
9145         ld_shlibs=no
9146       fi
9147       ;;
9148     esac
9149
9150     if test "$ld_shlibs" = no; then
9151       runpath_var=
9152       hardcode_libdir_flag_spec=
9153       export_dynamic_flag_spec=
9154       whole_archive_flag_spec=
9155     fi
9156   else
9157     # PORTME fill in a description of your system's linker (not GNU ld)
9158     case $host_os in
9159     aix3*)
9160       allow_undefined_flag=unsupported
9161       always_export_symbols=yes
9162       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'
9163       # Note: this linker hardcodes the directories in LIBPATH if there
9164       # are no directories specified by -L.
9165       hardcode_minus_L=yes
9166       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9167         # Neither direct hardcoding nor static linking is supported with a
9168         # broken collect2.
9169         hardcode_direct=unsupported
9170       fi
9171       ;;
9172
9173     aix[4-9]*)
9174       if test "$host_cpu" = ia64; then
9175         # On IA64, the linker does run time linking by default, so we don't
9176         # have to do anything special.
9177         aix_use_runtimelinking=no
9178         exp_sym_flag='-Bexport'
9179         no_entry_flag=""
9180       else
9181         # If we're using GNU nm, then we don't want the "-C" option.
9182         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9183         # Also, AIX nm treats weak defined symbols like other global
9184         # defined symbols, whereas GNU nm marks them as "W".
9185         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9186           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'
9187         else
9188           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'
9189         fi
9190         aix_use_runtimelinking=no
9191
9192         # Test if we are trying to use run time linking or normal
9193         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9194         # need to do runtime linking.
9195         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9196           for ld_flag in $LDFLAGS; do
9197           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9198             aix_use_runtimelinking=yes
9199             break
9200           fi
9201           done
9202           ;;
9203         esac
9204
9205         exp_sym_flag='-bexport'
9206         no_entry_flag='-bnoentry'
9207       fi
9208
9209       # When large executables or shared objects are built, AIX ld can
9210       # have problems creating the table of contents.  If linking a library
9211       # or program results in "error TOC overflow" add -mminimal-toc to
9212       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9213       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9214
9215       archive_cmds=''
9216       hardcode_direct=yes
9217       hardcode_direct_absolute=yes
9218       hardcode_libdir_separator=':'
9219       link_all_deplibs=yes
9220       file_list_spec='${wl}-f,'
9221
9222       if test "$GCC" = yes; then
9223         case $host_os in aix4.[012]|aix4.[012].*)
9224         # We only want to do this on AIX 4.2 and lower, the check
9225         # below for broken collect2 doesn't work under 4.3+
9226           collect2name=`${CC} -print-prog-name=collect2`
9227           if test -f "$collect2name" &&
9228            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9229           then
9230           # We have reworked collect2
9231           :
9232           else
9233           # We have old collect2
9234           hardcode_direct=unsupported
9235           # It fails to find uninstalled libraries when the uninstalled
9236           # path is not listed in the libpath.  Setting hardcode_minus_L
9237           # to unsupported forces relinking
9238           hardcode_minus_L=yes
9239           hardcode_libdir_flag_spec='-L$libdir'
9240           hardcode_libdir_separator=
9241           fi
9242           ;;
9243         esac
9244         shared_flag='-shared'
9245         if test "$aix_use_runtimelinking" = yes; then
9246           shared_flag="$shared_flag "'${wl}-G'
9247         fi
9248         link_all_deplibs=no
9249       else
9250         # not using gcc
9251         if test "$host_cpu" = ia64; then
9252         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9253         # chokes on -Wl,-G. The following line is correct:
9254           shared_flag='-G'
9255         else
9256           if test "$aix_use_runtimelinking" = yes; then
9257             shared_flag='${wl}-G'
9258           else
9259             shared_flag='${wl}-bM:SRE'
9260           fi
9261         fi
9262       fi
9263
9264       export_dynamic_flag_spec='${wl}-bexpall'
9265       # It seems that -bexpall does not export symbols beginning with
9266       # underscore (_), so it is better to generate a list of symbols to export.
9267       always_export_symbols=yes
9268       if test "$aix_use_runtimelinking" = yes; then
9269         # Warning - without using the other runtime loading flags (-brtl),
9270         # -berok will link without error, but may produce a broken library.
9271         allow_undefined_flag='-berok'
9272         # Determine the default libpath from the value encoded in an
9273         # empty executable.
9274         if test "${lt_cv_aix_libpath+set}" = set; then
9275   aix_libpath=$lt_cv_aix_libpath
9276 else
9277   if ${lt_cv_aix_libpath_+:} false; then :
9278   $as_echo_n "(cached) " >&6
9279 else
9280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9281 /* end confdefs.h.  */
9282
9283 int
9284 main ()
9285 {
9286
9287   ;
9288   return 0;
9289 }
9290 _ACEOF
9291 if ac_fn_c_try_link "$LINENO"; then :
9292
9293   lt_aix_libpath_sed='
9294       /Import File Strings/,/^$/ {
9295           /^0/ {
9296               s/^0  *\([^ ]*\) *$/\1/
9297               p
9298           }
9299       }'
9300   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9301   # Check for a 64-bit object if we didn't find anything.
9302   if test -z "$lt_cv_aix_libpath_"; then
9303     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9304   fi
9305 fi
9306 rm -f core conftest.err conftest.$ac_objext \
9307     conftest$ac_exeext conftest.$ac_ext
9308   if test -z "$lt_cv_aix_libpath_"; then
9309     lt_cv_aix_libpath_="/usr/lib:/lib"
9310   fi
9311
9312 fi
9313
9314   aix_libpath=$lt_cv_aix_libpath_
9315 fi
9316
9317         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9318         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"
9319       else
9320         if test "$host_cpu" = ia64; then
9321           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9322           allow_undefined_flag="-z nodefs"
9323           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"
9324         else
9325          # Determine the default libpath from the value encoded in an
9326          # empty executable.
9327          if test "${lt_cv_aix_libpath+set}" = set; then
9328   aix_libpath=$lt_cv_aix_libpath
9329 else
9330   if ${lt_cv_aix_libpath_+:} false; then :
9331   $as_echo_n "(cached) " >&6
9332 else
9333   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9334 /* end confdefs.h.  */
9335
9336 int
9337 main ()
9338 {
9339
9340   ;
9341   return 0;
9342 }
9343 _ACEOF
9344 if ac_fn_c_try_link "$LINENO"; then :
9345
9346   lt_aix_libpath_sed='
9347       /Import File Strings/,/^$/ {
9348           /^0/ {
9349               s/^0  *\([^ ]*\) *$/\1/
9350               p
9351           }
9352       }'
9353   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9354   # Check for a 64-bit object if we didn't find anything.
9355   if test -z "$lt_cv_aix_libpath_"; then
9356     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9357   fi
9358 fi
9359 rm -f core conftest.err conftest.$ac_objext \
9360     conftest$ac_exeext conftest.$ac_ext
9361   if test -z "$lt_cv_aix_libpath_"; then
9362     lt_cv_aix_libpath_="/usr/lib:/lib"
9363   fi
9364
9365 fi
9366
9367   aix_libpath=$lt_cv_aix_libpath_
9368 fi
9369
9370          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9371           # Warning - without using the other run time loading flags,
9372           # -berok will link without error, but may produce a broken library.
9373           no_undefined_flag=' ${wl}-bernotok'
9374           allow_undefined_flag=' ${wl}-berok'
9375           if test "$with_gnu_ld" = yes; then
9376             # We only use this code for GNU lds that support --whole-archive.
9377             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9378           else
9379             # Exported symbols can be pulled into shared objects from archives
9380             whole_archive_flag_spec='$convenience'
9381           fi
9382           archive_cmds_need_lc=yes
9383           # This is similar to how AIX traditionally builds its shared libraries.
9384           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'
9385         fi
9386       fi
9387       ;;
9388
9389     amigaos*)
9390       case $host_cpu in
9391       powerpc)
9392             # see comment about AmigaOS4 .so support
9393             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9394             archive_expsym_cmds=''
9395         ;;
9396       m68k)
9397             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)'
9398             hardcode_libdir_flag_spec='-L$libdir'
9399             hardcode_minus_L=yes
9400         ;;
9401       esac
9402       ;;
9403
9404     bsdi[45]*)
9405       export_dynamic_flag_spec=-rdynamic
9406       ;;
9407
9408     cygwin* | mingw* | pw32* | cegcc*)
9409       # When not using gcc, we currently assume that we are using
9410       # Microsoft Visual C++.
9411       # hardcode_libdir_flag_spec is actually meaningless, as there is
9412       # no search path for DLLs.
9413       case $cc_basename in
9414       cl*)
9415         # Native MSVC
9416         hardcode_libdir_flag_spec=' '
9417         allow_undefined_flag=unsupported
9418         always_export_symbols=yes
9419         file_list_spec='@'
9420         # Tell ltmain to make .lib files, not .a files.
9421         libext=lib
9422         # Tell ltmain to make .dll files, not .so files.
9423         shrext_cmds=".dll"
9424         # FIXME: Setting linknames here is a bad hack.
9425         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9426         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9427             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9428           else
9429             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9430           fi~
9431           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9432           linknames='
9433         # The linker will not automatically build a static lib if we build a DLL.
9434         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9435         enable_shared_with_static_runtimes=yes
9436         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9437         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9438         # Don't use ranlib
9439         old_postinstall_cmds='chmod 644 $oldlib'
9440         postlink_cmds='lt_outputfile="@OUTPUT@"~
9441           lt_tool_outputfile="@TOOL_OUTPUT@"~
9442           case $lt_outputfile in
9443             *.exe|*.EXE) ;;
9444             *)
9445               lt_outputfile="$lt_outputfile.exe"
9446               lt_tool_outputfile="$lt_tool_outputfile.exe"
9447               ;;
9448           esac~
9449           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9450             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9451             $RM "$lt_outputfile.manifest";
9452           fi'
9453         ;;
9454       *)
9455         # Assume MSVC wrapper
9456         hardcode_libdir_flag_spec=' '
9457         allow_undefined_flag=unsupported
9458         # Tell ltmain to make .lib files, not .a files.
9459         libext=lib
9460         # Tell ltmain to make .dll files, not .so files.
9461         shrext_cmds=".dll"
9462         # FIXME: Setting linknames here is a bad hack.
9463         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9464         # The linker will automatically build a .lib file if we build a DLL.
9465         old_archive_from_new_cmds='true'
9466         # FIXME: Should let the user specify the lib program.
9467         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9468         enable_shared_with_static_runtimes=yes
9469         ;;
9470       esac
9471       ;;
9472
9473     darwin* | rhapsody*)
9474
9475
9476   archive_cmds_need_lc=no
9477   hardcode_direct=no
9478   hardcode_automatic=yes
9479   hardcode_shlibpath_var=unsupported
9480   if test "$lt_cv_ld_force_load" = "yes"; then
9481     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\"`'
9482
9483   else
9484     whole_archive_flag_spec=''
9485   fi
9486   link_all_deplibs=yes
9487   allow_undefined_flag="$_lt_dar_allow_undefined"
9488   case $cc_basename in
9489      ifort*) _lt_dar_can_shared=yes ;;
9490      *) _lt_dar_can_shared=$GCC ;;
9491   esac
9492   if test "$_lt_dar_can_shared" = "yes"; then
9493     output_verbose_link_cmd=func_echo_all
9494     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9495     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9496     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}"
9497     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}"
9498
9499   else
9500   ld_shlibs=no
9501   fi
9502
9503       ;;
9504
9505     dgux*)
9506       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9507       hardcode_libdir_flag_spec='-L$libdir'
9508       hardcode_shlibpath_var=no
9509       ;;
9510
9511     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9512     # support.  Future versions do this automatically, but an explicit c++rt0.o
9513     # does not break anything, and helps significantly (at the cost of a little
9514     # extra space).
9515     freebsd2.2*)
9516       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9517       hardcode_libdir_flag_spec='-R$libdir'
9518       hardcode_direct=yes
9519       hardcode_shlibpath_var=no
9520       ;;
9521
9522     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9523     freebsd2.*)
9524       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9525       hardcode_direct=yes
9526       hardcode_minus_L=yes
9527       hardcode_shlibpath_var=no
9528       ;;
9529
9530     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9531     freebsd* | dragonfly*)
9532       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9533       hardcode_libdir_flag_spec='-R$libdir'
9534       hardcode_direct=yes
9535       hardcode_shlibpath_var=no
9536       ;;
9537
9538     hpux9*)
9539       if test "$GCC" = yes; then
9540         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'
9541       else
9542         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'
9543       fi
9544       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9545       hardcode_libdir_separator=:
9546       hardcode_direct=yes
9547
9548       # hardcode_minus_L: Not really in the search PATH,
9549       # but as the default location of the library.
9550       hardcode_minus_L=yes
9551       export_dynamic_flag_spec='${wl}-E'
9552       ;;
9553
9554     hpux10*)
9555       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9556         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9557       else
9558         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9559       fi
9560       if test "$with_gnu_ld" = no; then
9561         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9562         hardcode_libdir_separator=:
9563         hardcode_direct=yes
9564         hardcode_direct_absolute=yes
9565         export_dynamic_flag_spec='${wl}-E'
9566         # hardcode_minus_L: Not really in the search PATH,
9567         # but as the default location of the library.
9568         hardcode_minus_L=yes
9569       fi
9570       ;;
9571
9572     hpux11*)
9573       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9574         case $host_cpu in
9575         hppa*64*)
9576           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9577           ;;
9578         ia64*)
9579           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9580           ;;
9581         *)
9582           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9583           ;;
9584         esac
9585       else
9586         case $host_cpu in
9587         hppa*64*)
9588           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9589           ;;
9590         ia64*)
9591           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9592           ;;
9593         *)
9594
9595           # Older versions of the 11.00 compiler do not understand -b yet
9596           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9597           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9598 $as_echo_n "checking if $CC understands -b... " >&6; }
9599 if ${lt_cv_prog_compiler__b+:} false; then :
9600   $as_echo_n "(cached) " >&6
9601 else
9602   lt_cv_prog_compiler__b=no
9603    save_LDFLAGS="$LDFLAGS"
9604    LDFLAGS="$LDFLAGS -b"
9605    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9606    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9607      # The linker can only warn and ignore the option if not recognized
9608      # So say no if there are warnings
9609      if test -s conftest.err; then
9610        # Append any errors to the config.log.
9611        cat conftest.err 1>&5
9612        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9613        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9614        if diff conftest.exp conftest.er2 >/dev/null; then
9615          lt_cv_prog_compiler__b=yes
9616        fi
9617      else
9618        lt_cv_prog_compiler__b=yes
9619      fi
9620    fi
9621    $RM -r conftest*
9622    LDFLAGS="$save_LDFLAGS"
9623
9624 fi
9625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9626 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9627
9628 if test x"$lt_cv_prog_compiler__b" = xyes; then
9629     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9630 else
9631     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9632 fi
9633
9634           ;;
9635         esac
9636       fi
9637       if test "$with_gnu_ld" = no; then
9638         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9639         hardcode_libdir_separator=:
9640
9641         case $host_cpu in
9642         hppa*64*|ia64*)
9643           hardcode_direct=no
9644           hardcode_shlibpath_var=no
9645           ;;
9646         *)
9647           hardcode_direct=yes
9648           hardcode_direct_absolute=yes
9649           export_dynamic_flag_spec='${wl}-E'
9650
9651           # hardcode_minus_L: Not really in the search PATH,
9652           # but as the default location of the library.
9653           hardcode_minus_L=yes
9654           ;;
9655         esac
9656       fi
9657       ;;
9658
9659     irix5* | irix6* | nonstopux*)
9660       if test "$GCC" = yes; then
9661         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'
9662         # Try to use the -exported_symbol ld option, if it does not
9663         # work, assume that -exports_file does not work either and
9664         # implicitly export all symbols.
9665         # This should be the same for all languages, so no per-tag cache variable.
9666         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9667 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9668 if ${lt_cv_irix_exported_symbol+:} false; then :
9669   $as_echo_n "(cached) " >&6
9670 else
9671   save_LDFLAGS="$LDFLAGS"
9672            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9673            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9674 /* end confdefs.h.  */
9675 int foo (void) { return 0; }
9676 _ACEOF
9677 if ac_fn_c_try_link "$LINENO"; then :
9678   lt_cv_irix_exported_symbol=yes
9679 else
9680   lt_cv_irix_exported_symbol=no
9681 fi
9682 rm -f core conftest.err conftest.$ac_objext \
9683     conftest$ac_exeext conftest.$ac_ext
9684            LDFLAGS="$save_LDFLAGS"
9685 fi
9686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9687 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9688         if test "$lt_cv_irix_exported_symbol" = yes; then
9689           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'
9690         fi
9691       else
9692         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'
9693         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'
9694       fi
9695       archive_cmds_need_lc='no'
9696       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9697       hardcode_libdir_separator=:
9698       inherit_rpath=yes
9699       link_all_deplibs=yes
9700       ;;
9701
9702     netbsd* | netbsdelf*-gnu)
9703       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9704         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9705       else
9706         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9707       fi
9708       hardcode_libdir_flag_spec='-R$libdir'
9709       hardcode_direct=yes
9710       hardcode_shlibpath_var=no
9711       ;;
9712
9713     newsos6)
9714       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9715       hardcode_direct=yes
9716       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9717       hardcode_libdir_separator=:
9718       hardcode_shlibpath_var=no
9719       ;;
9720
9721     *nto* | *qnx*)
9722       ;;
9723
9724     openbsd*)
9725       if test -f /usr/libexec/ld.so; then
9726         hardcode_direct=yes
9727         hardcode_shlibpath_var=no
9728         hardcode_direct_absolute=yes
9729         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9730           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9731           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9732           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9733           export_dynamic_flag_spec='${wl}-E'
9734         else
9735           case $host_os in
9736            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9737              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9738              hardcode_libdir_flag_spec='-R$libdir'
9739              ;;
9740            *)
9741              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9742              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9743              ;;
9744           esac
9745         fi
9746       else
9747         ld_shlibs=no
9748       fi
9749       ;;
9750
9751     os2*)
9752       hardcode_libdir_flag_spec='-L$libdir'
9753       hardcode_minus_L=yes
9754       allow_undefined_flag=unsupported
9755       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'
9756       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9757       ;;
9758
9759     osf3*)
9760       if test "$GCC" = yes; then
9761         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9762         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'
9763       else
9764         allow_undefined_flag=' -expect_unresolved \*'
9765         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'
9766       fi
9767       archive_cmds_need_lc='no'
9768       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9769       hardcode_libdir_separator=:
9770       ;;
9771
9772     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9773       if test "$GCC" = yes; then
9774         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9775         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'
9776         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9777       else
9778         allow_undefined_flag=' -expect_unresolved \*'
9779         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'
9780         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~
9781         $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'
9782
9783         # Both c and cxx compiler support -rpath directly
9784         hardcode_libdir_flag_spec='-rpath $libdir'
9785       fi
9786       archive_cmds_need_lc='no'
9787       hardcode_libdir_separator=:
9788       ;;
9789
9790     solaris*)
9791       no_undefined_flag=' -z defs'
9792       if test "$GCC" = yes; then
9793         wlarc='${wl}'
9794         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9795         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9796           $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'
9797       else
9798         case `$CC -V 2>&1` in
9799         *"Compilers 5.0"*)
9800           wlarc=''
9801           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9802           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9803           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9804           ;;
9805         *)
9806           wlarc='${wl}'
9807           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9808           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9809           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9810           ;;
9811         esac
9812       fi
9813       hardcode_libdir_flag_spec='-R$libdir'
9814       hardcode_shlibpath_var=no
9815       case $host_os in
9816       solaris2.[0-5] | solaris2.[0-5].*) ;;
9817       *)
9818         # The compiler driver will combine and reorder linker options,
9819         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9820         # but is careful enough not to reorder.
9821         # Supported since Solaris 2.6 (maybe 2.5.1?)
9822         if test "$GCC" = yes; then
9823           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9824         else
9825           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9826         fi
9827         ;;
9828       esac
9829       link_all_deplibs=yes
9830       ;;
9831
9832     sunos4*)
9833       if test "x$host_vendor" = xsequent; then
9834         # Use $CC to link under sequent, because it throws in some extra .o
9835         # files that make .init and .fini sections work.
9836         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9837       else
9838         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9839       fi
9840       hardcode_libdir_flag_spec='-L$libdir'
9841       hardcode_direct=yes
9842       hardcode_minus_L=yes
9843       hardcode_shlibpath_var=no
9844       ;;
9845
9846     sysv4)
9847       case $host_vendor in
9848         sni)
9849           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9850           hardcode_direct=yes # is this really true???
9851         ;;
9852         siemens)
9853           ## LD is ld it makes a PLAMLIB
9854           ## CC just makes a GrossModule.
9855           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9856           reload_cmds='$CC -r -o $output$reload_objs'
9857           hardcode_direct=no
9858         ;;
9859         motorola)
9860           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9861           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9862         ;;
9863       esac
9864       runpath_var='LD_RUN_PATH'
9865       hardcode_shlibpath_var=no
9866       ;;
9867
9868     sysv4.3*)
9869       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9870       hardcode_shlibpath_var=no
9871       export_dynamic_flag_spec='-Bexport'
9872       ;;
9873
9874     sysv4*MP*)
9875       if test -d /usr/nec; then
9876         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9877         hardcode_shlibpath_var=no
9878         runpath_var=LD_RUN_PATH
9879         hardcode_runpath_var=yes
9880         ld_shlibs=yes
9881       fi
9882       ;;
9883
9884     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9885       no_undefined_flag='${wl}-z,text'
9886       archive_cmds_need_lc=no
9887       hardcode_shlibpath_var=no
9888       runpath_var='LD_RUN_PATH'
9889
9890       if test "$GCC" = yes; then
9891         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9892         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9893       else
9894         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9895         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9896       fi
9897       ;;
9898
9899     sysv5* | sco3.2v5* | sco5v6*)
9900       # Note: We can NOT use -z defs as we might desire, because we do not
9901       # link with -lc, and that would cause any symbols used from libc to
9902       # always be unresolved, which means just about no library would
9903       # ever link correctly.  If we're not using GNU ld we use -z text
9904       # though, which does catch some bad symbols but isn't as heavy-handed
9905       # as -z defs.
9906       no_undefined_flag='${wl}-z,text'
9907       allow_undefined_flag='${wl}-z,nodefs'
9908       archive_cmds_need_lc=no
9909       hardcode_shlibpath_var=no
9910       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9911       hardcode_libdir_separator=':'
9912       link_all_deplibs=yes
9913       export_dynamic_flag_spec='${wl}-Bexport'
9914       runpath_var='LD_RUN_PATH'
9915
9916       if test "$GCC" = yes; then
9917         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9918         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9919       else
9920         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9921         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9922       fi
9923       ;;
9924
9925     uts4*)
9926       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9927       hardcode_libdir_flag_spec='-L$libdir'
9928       hardcode_shlibpath_var=no
9929       ;;
9930
9931     *)
9932       ld_shlibs=no
9933       ;;
9934     esac
9935
9936     if test x$host_vendor = xsni; then
9937       case $host in
9938       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9939         export_dynamic_flag_spec='${wl}-Blargedynsym'
9940         ;;
9941       esac
9942     fi
9943   fi
9944
9945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9946 $as_echo "$ld_shlibs" >&6; }
9947 test "$ld_shlibs" = no && can_build_shared=no
9948
9949 with_gnu_ld=$with_gnu_ld
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965 #
9966 # Do we need to explicitly link libc?
9967 #
9968 case "x$archive_cmds_need_lc" in
9969 x|xyes)
9970   # Assume -lc should be added
9971   archive_cmds_need_lc=yes
9972
9973   if test "$enable_shared" = yes && test "$GCC" = yes; then
9974     case $archive_cmds in
9975     *'~'*)
9976       # FIXME: we may have to deal with multi-command sequences.
9977       ;;
9978     '$CC '*)
9979       # Test whether the compiler implicitly links with -lc since on some
9980       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9981       # to ld, don't add -lc before -lgcc.
9982       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9983 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9984 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9985   $as_echo_n "(cached) " >&6
9986 else
9987   $RM conftest*
9988         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9989
9990         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9991   (eval $ac_compile) 2>&5
9992   ac_status=$?
9993   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9994   test $ac_status = 0; } 2>conftest.err; then
9995           soname=conftest
9996           lib=conftest
9997           libobjs=conftest.$ac_objext
9998           deplibs=
9999           wl=$lt_prog_compiler_wl
10000           pic_flag=$lt_prog_compiler_pic
10001           compiler_flags=-v
10002           linker_flags=-v
10003           verstring=
10004           output_objdir=.
10005           libname=conftest
10006           lt_save_allow_undefined_flag=$allow_undefined_flag
10007           allow_undefined_flag=
10008           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10009   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10010   ac_status=$?
10011   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10012   test $ac_status = 0; }
10013           then
10014             lt_cv_archive_cmds_need_lc=no
10015           else
10016             lt_cv_archive_cmds_need_lc=yes
10017           fi
10018           allow_undefined_flag=$lt_save_allow_undefined_flag
10019         else
10020           cat conftest.err 1>&5
10021         fi
10022         $RM conftest*
10023
10024 fi
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10026 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10027       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10028       ;;
10029     esac
10030   fi
10031   ;;
10032 esac
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10186 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10187
10188 if test "$GCC" = yes; then
10189   case $host_os in
10190     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10191     *) lt_awk_arg="/^libraries:/" ;;
10192   esac
10193   case $host_os in
10194     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10195     *) lt_sed_strip_eq="s,=/,/,g" ;;
10196   esac
10197   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10198   case $lt_search_path_spec in
10199   *\;*)
10200     # if the path contains ";" then we assume it to be the separator
10201     # otherwise default to the standard path separator (i.e. ":") - it is
10202     # assumed that no part of a normal pathname contains ";" but that should
10203     # okay in the real world where ";" in dirpaths is itself problematic.
10204     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10205     ;;
10206   *)
10207     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10208     ;;
10209   esac
10210   # Ok, now we have the path, separated by spaces, we can step through it
10211   # and add multilib dir if necessary.
10212   lt_tmp_lt_search_path_spec=
10213   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10214   for lt_sys_path in $lt_search_path_spec; do
10215     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10216       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10217     else
10218       test -d "$lt_sys_path" && \
10219         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10220     fi
10221   done
10222   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10223 BEGIN {RS=" "; FS="/|\n";} {
10224   lt_foo="";
10225   lt_count=0;
10226   for (lt_i = NF; lt_i > 0; lt_i--) {
10227     if ($lt_i != "" && $lt_i != ".") {
10228       if ($lt_i == "..") {
10229         lt_count++;
10230       } else {
10231         if (lt_count == 0) {
10232           lt_foo="/" $lt_i lt_foo;
10233         } else {
10234           lt_count--;
10235         }
10236       }
10237     }
10238   }
10239   if (lt_foo != "") { lt_freq[lt_foo]++; }
10240   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10241 }'`
10242   # AWK program above erroneously prepends '/' to C:/dos/paths
10243   # for these hosts.
10244   case $host_os in
10245     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10246       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10247   esac
10248   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10249 else
10250   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10251 fi
10252 library_names_spec=
10253 libname_spec='lib$name'
10254 soname_spec=
10255 shrext_cmds=".so"
10256 postinstall_cmds=
10257 postuninstall_cmds=
10258 finish_cmds=
10259 finish_eval=
10260 shlibpath_var=
10261 shlibpath_overrides_runpath=unknown
10262 version_type=none
10263 dynamic_linker="$host_os ld.so"
10264 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10265 need_lib_prefix=unknown
10266 hardcode_into_libs=no
10267
10268 # when you set need_version to no, make sure it does not cause -set_version
10269 # flags to be left without arguments
10270 need_version=unknown
10271
10272 case $host_os in
10273 aix3*)
10274   version_type=linux # correct to gnu/linux during the next big refactor
10275   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10276   shlibpath_var=LIBPATH
10277
10278   # AIX 3 has no versioning support, so we append a major version to the name.
10279   soname_spec='${libname}${release}${shared_ext}$major'
10280   ;;
10281
10282 aix[4-9]*)
10283   version_type=linux # correct to gnu/linux during the next big refactor
10284   need_lib_prefix=no
10285   need_version=no
10286   hardcode_into_libs=yes
10287   if test "$host_cpu" = ia64; then
10288     # AIX 5 supports IA64
10289     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10290     shlibpath_var=LD_LIBRARY_PATH
10291   else
10292     # With GCC up to 2.95.x, collect2 would create an import file
10293     # for dependence libraries.  The import file would start with
10294     # the line `#! .'.  This would cause the generated library to
10295     # depend on `.', always an invalid library.  This was fixed in
10296     # development snapshots of GCC prior to 3.0.
10297     case $host_os in
10298       aix4 | aix4.[01] | aix4.[01].*)
10299       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10300            echo ' yes '
10301            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10302         :
10303       else
10304         can_build_shared=no
10305       fi
10306       ;;
10307     esac
10308     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10309     # soname into executable. Probably we can add versioning support to
10310     # collect2, so additional links can be useful in future.
10311     if test "$aix_use_runtimelinking" = yes; then
10312       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10313       # instead of lib<name>.a to let people know that these are not
10314       # typical AIX shared libraries.
10315       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10316     else
10317       # We preserve .a as extension for shared libraries through AIX4.2
10318       # and later when we are not doing run time linking.
10319       library_names_spec='${libname}${release}.a $libname.a'
10320       soname_spec='${libname}${release}${shared_ext}$major'
10321     fi
10322     shlibpath_var=LIBPATH
10323   fi
10324   ;;
10325
10326 amigaos*)
10327   case $host_cpu in
10328   powerpc)
10329     # Since July 2007 AmigaOS4 officially supports .so libraries.
10330     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10331     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10332     ;;
10333   m68k)
10334     library_names_spec='$libname.ixlibrary $libname.a'
10335     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10336     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'
10337     ;;
10338   esac
10339   ;;
10340
10341 beos*)
10342   library_names_spec='${libname}${shared_ext}'
10343   dynamic_linker="$host_os ld.so"
10344   shlibpath_var=LIBRARY_PATH
10345   ;;
10346
10347 bsdi[45]*)
10348   version_type=linux # correct to gnu/linux during the next big refactor
10349   need_version=no
10350   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10351   soname_spec='${libname}${release}${shared_ext}$major'
10352   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10353   shlibpath_var=LD_LIBRARY_PATH
10354   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10355   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10356   # the default ld.so.conf also contains /usr/contrib/lib and
10357   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10358   # libtool to hard-code these into programs
10359   ;;
10360
10361 cygwin* | mingw* | pw32* | cegcc*)
10362   version_type=windows
10363   shrext_cmds=".dll"
10364   need_version=no
10365   need_lib_prefix=no
10366
10367   case $GCC,$cc_basename in
10368   yes,*)
10369     # gcc
10370     library_names_spec='$libname.dll.a'
10371     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10372     postinstall_cmds='base_file=`basename \${file}`~
10373       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10374       dldir=$destdir/`dirname \$dlpath`~
10375       test -d \$dldir || mkdir -p \$dldir~
10376       $install_prog $dir/$dlname \$dldir/$dlname~
10377       chmod a+x \$dldir/$dlname~
10378       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10379         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10380       fi'
10381     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10382       dlpath=$dir/\$dldll~
10383        $RM \$dlpath'
10384     shlibpath_overrides_runpath=yes
10385
10386     case $host_os in
10387     cygwin*)
10388       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10389       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10390
10391       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10392       ;;
10393     mingw* | cegcc*)
10394       # MinGW DLLs use traditional 'lib' prefix
10395       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10396       ;;
10397     pw32*)
10398       # pw32 DLLs use 'pw' prefix rather than 'lib'
10399       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10400       ;;
10401     esac
10402     dynamic_linker='Win32 ld.exe'
10403     ;;
10404
10405   *,cl*)
10406     # Native MSVC
10407     libname_spec='$name'
10408     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10409     library_names_spec='${libname}.dll.lib'
10410
10411     case $build_os in
10412     mingw*)
10413       sys_lib_search_path_spec=
10414       lt_save_ifs=$IFS
10415       IFS=';'
10416       for lt_path in $LIB
10417       do
10418         IFS=$lt_save_ifs
10419         # Let DOS variable expansion print the short 8.3 style file name.
10420         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10421         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10422       done
10423       IFS=$lt_save_ifs
10424       # Convert to MSYS style.
10425       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10426       ;;
10427     cygwin*)
10428       # Convert to unix form, then to dos form, then back to unix form
10429       # but this time dos style (no spaces!) so that the unix form looks
10430       # like /cygdrive/c/PROGRA~1:/cygdr...
10431       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10432       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10433       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10434       ;;
10435     *)
10436       sys_lib_search_path_spec="$LIB"
10437       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10438         # It is most probably a Windows format PATH.
10439         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10440       else
10441         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10442       fi
10443       # FIXME: find the short name or the path components, as spaces are
10444       # common. (e.g. "Program Files" -> "PROGRA~1")
10445       ;;
10446     esac
10447
10448     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10449     postinstall_cmds='base_file=`basename \${file}`~
10450       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10451       dldir=$destdir/`dirname \$dlpath`~
10452       test -d \$dldir || mkdir -p \$dldir~
10453       $install_prog $dir/$dlname \$dldir/$dlname'
10454     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10455       dlpath=$dir/\$dldll~
10456        $RM \$dlpath'
10457     shlibpath_overrides_runpath=yes
10458     dynamic_linker='Win32 link.exe'
10459     ;;
10460
10461   *)
10462     # Assume MSVC wrapper
10463     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10464     dynamic_linker='Win32 ld.exe'
10465     ;;
10466   esac
10467   # FIXME: first we should search . and the directory the executable is in
10468   shlibpath_var=PATH
10469   ;;
10470
10471 darwin* | rhapsody*)
10472   dynamic_linker="$host_os dyld"
10473   version_type=darwin
10474   need_lib_prefix=no
10475   need_version=no
10476   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10477   soname_spec='${libname}${release}${major}$shared_ext'
10478   shlibpath_overrides_runpath=yes
10479   shlibpath_var=DYLD_LIBRARY_PATH
10480   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10481
10482   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10483   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10484   ;;
10485
10486 dgux*)
10487   version_type=linux # correct to gnu/linux during the next big refactor
10488   need_lib_prefix=no
10489   need_version=no
10490   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10491   soname_spec='${libname}${release}${shared_ext}$major'
10492   shlibpath_var=LD_LIBRARY_PATH
10493   ;;
10494
10495 freebsd* | dragonfly*)
10496   # DragonFly does not have aout.  When/if they implement a new
10497   # versioning mechanism, adjust this.
10498   if test -x /usr/bin/objformat; then
10499     objformat=`/usr/bin/objformat`
10500   else
10501     case $host_os in
10502     freebsd[23].*) objformat=aout ;;
10503     *) objformat=elf ;;
10504     esac
10505   fi
10506   version_type=freebsd-$objformat
10507   case $version_type in
10508     freebsd-elf*)
10509       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10510       need_version=no
10511       need_lib_prefix=no
10512       ;;
10513     freebsd-*)
10514       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10515       need_version=yes
10516       ;;
10517   esac
10518   shlibpath_var=LD_LIBRARY_PATH
10519   case $host_os in
10520   freebsd2.*)
10521     shlibpath_overrides_runpath=yes
10522     ;;
10523   freebsd3.[01]* | freebsdelf3.[01]*)
10524     shlibpath_overrides_runpath=yes
10525     hardcode_into_libs=yes
10526     ;;
10527   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10528   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10529     shlibpath_overrides_runpath=no
10530     hardcode_into_libs=yes
10531     ;;
10532   *) # from 4.6 on, and DragonFly
10533     shlibpath_overrides_runpath=yes
10534     hardcode_into_libs=yes
10535     ;;
10536   esac
10537   ;;
10538
10539 gnu*)
10540   version_type=linux # correct to gnu/linux during the next big refactor
10541   need_lib_prefix=no
10542   need_version=no
10543   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10544   soname_spec='${libname}${release}${shared_ext}$major'
10545   shlibpath_var=LD_LIBRARY_PATH
10546   shlibpath_overrides_runpath=no
10547   hardcode_into_libs=yes
10548   ;;
10549
10550 haiku*)
10551   version_type=linux # correct to gnu/linux during the next big refactor
10552   need_lib_prefix=no
10553   need_version=no
10554   dynamic_linker="$host_os runtime_loader"
10555   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10556   soname_spec='${libname}${release}${shared_ext}$major'
10557   shlibpath_var=LIBRARY_PATH
10558   shlibpath_overrides_runpath=yes
10559   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10560   hardcode_into_libs=yes
10561   ;;
10562
10563 hpux9* | hpux10* | hpux11*)
10564   # Give a soname corresponding to the major version so that dld.sl refuses to
10565   # link against other versions.
10566   version_type=sunos
10567   need_lib_prefix=no
10568   need_version=no
10569   case $host_cpu in
10570   ia64*)
10571     shrext_cmds='.so'
10572     hardcode_into_libs=yes
10573     dynamic_linker="$host_os dld.so"
10574     shlibpath_var=LD_LIBRARY_PATH
10575     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10576     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10577     soname_spec='${libname}${release}${shared_ext}$major'
10578     if test "X$HPUX_IA64_MODE" = X32; then
10579       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10580     else
10581       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10582     fi
10583     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10584     ;;
10585   hppa*64*)
10586     shrext_cmds='.sl'
10587     hardcode_into_libs=yes
10588     dynamic_linker="$host_os dld.sl"
10589     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10590     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10591     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10592     soname_spec='${libname}${release}${shared_ext}$major'
10593     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10594     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10595     ;;
10596   *)
10597     shrext_cmds='.sl'
10598     dynamic_linker="$host_os dld.sl"
10599     shlibpath_var=SHLIB_PATH
10600     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10601     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10602     soname_spec='${libname}${release}${shared_ext}$major'
10603     ;;
10604   esac
10605   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10606   postinstall_cmds='chmod 555 $lib'
10607   # or fails outright, so override atomically:
10608   install_override_mode=555
10609   ;;
10610
10611 interix[3-9]*)
10612   version_type=linux # correct to gnu/linux during the next big refactor
10613   need_lib_prefix=no
10614   need_version=no
10615   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10616   soname_spec='${libname}${release}${shared_ext}$major'
10617   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10618   shlibpath_var=LD_LIBRARY_PATH
10619   shlibpath_overrides_runpath=no
10620   hardcode_into_libs=yes
10621   ;;
10622
10623 irix5* | irix6* | nonstopux*)
10624   case $host_os in
10625     nonstopux*) version_type=nonstopux ;;
10626     *)
10627         if test "$lt_cv_prog_gnu_ld" = yes; then
10628                 version_type=linux # correct to gnu/linux during the next big refactor
10629         else
10630                 version_type=irix
10631         fi ;;
10632   esac
10633   need_lib_prefix=no
10634   need_version=no
10635   soname_spec='${libname}${release}${shared_ext}$major'
10636   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10637   case $host_os in
10638   irix5* | nonstopux*)
10639     libsuff= shlibsuff=
10640     ;;
10641   *)
10642     case $LD in # libtool.m4 will add one of these switches to LD
10643     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10644       libsuff= shlibsuff= libmagic=32-bit;;
10645     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10646       libsuff=32 shlibsuff=N32 libmagic=N32;;
10647     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10648       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10649     *) libsuff= shlibsuff= libmagic=never-match;;
10650     esac
10651     ;;
10652   esac
10653   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10654   shlibpath_overrides_runpath=no
10655   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10656   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10657   hardcode_into_libs=yes
10658   ;;
10659
10660 # No shared lib support for Linux oldld, aout, or coff.
10661 linux*oldld* | linux*aout* | linux*coff*)
10662   dynamic_linker=no
10663   ;;
10664
10665 # This must be glibc/ELF.
10666 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10667   version_type=linux # correct to gnu/linux during the next big refactor
10668   need_lib_prefix=no
10669   need_version=no
10670   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10671   soname_spec='${libname}${release}${shared_ext}$major'
10672   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10673   shlibpath_var=LD_LIBRARY_PATH
10674   shlibpath_overrides_runpath=no
10675
10676   # Some binutils ld are patched to set DT_RUNPATH
10677   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10678   $as_echo_n "(cached) " >&6
10679 else
10680   lt_cv_shlibpath_overrides_runpath=no
10681     save_LDFLAGS=$LDFLAGS
10682     save_libdir=$libdir
10683     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10684          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10685     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10686 /* end confdefs.h.  */
10687
10688 int
10689 main ()
10690 {
10691
10692   ;
10693   return 0;
10694 }
10695 _ACEOF
10696 if ac_fn_c_try_link "$LINENO"; then :
10697   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10698   lt_cv_shlibpath_overrides_runpath=yes
10699 fi
10700 fi
10701 rm -f core conftest.err conftest.$ac_objext \
10702     conftest$ac_exeext conftest.$ac_ext
10703     LDFLAGS=$save_LDFLAGS
10704     libdir=$save_libdir
10705
10706 fi
10707
10708   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10709
10710   # This implies no fast_install, which is unacceptable.
10711   # Some rework will be needed to allow for fast_install
10712   # before this can be enabled.
10713   hardcode_into_libs=yes
10714
10715   # Append ld.so.conf contents to the search path
10716   if test -f /etc/ld.so.conf; then
10717     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' ' '`
10718     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10719   fi
10720
10721   # We used to test for /lib/ld.so.1 and disable shared libraries on
10722   # powerpc, because MkLinux only supported shared libraries with the
10723   # GNU dynamic linker.  Since this was broken with cross compilers,
10724   # most powerpc-linux boxes support dynamic linking these days and
10725   # people can always --disable-shared, the test was removed, and we
10726   # assume the GNU/Linux dynamic linker is in use.
10727   dynamic_linker='GNU/Linux ld.so'
10728   ;;
10729
10730 netbsdelf*-gnu)
10731   version_type=linux
10732   need_lib_prefix=no
10733   need_version=no
10734   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10735   soname_spec='${libname}${release}${shared_ext}$major'
10736   shlibpath_var=LD_LIBRARY_PATH
10737   shlibpath_overrides_runpath=no
10738   hardcode_into_libs=yes
10739   dynamic_linker='NetBSD ld.elf_so'
10740   ;;
10741
10742 netbsd*)
10743   version_type=sunos
10744   need_lib_prefix=no
10745   need_version=no
10746   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10747     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10748     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10749     dynamic_linker='NetBSD (a.out) ld.so'
10750   else
10751     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10752     soname_spec='${libname}${release}${shared_ext}$major'
10753     dynamic_linker='NetBSD ld.elf_so'
10754   fi
10755   shlibpath_var=LD_LIBRARY_PATH
10756   shlibpath_overrides_runpath=yes
10757   hardcode_into_libs=yes
10758   ;;
10759
10760 newsos6)
10761   version_type=linux # correct to gnu/linux during the next big refactor
10762   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10763   shlibpath_var=LD_LIBRARY_PATH
10764   shlibpath_overrides_runpath=yes
10765   ;;
10766
10767 *nto* | *qnx*)
10768   version_type=qnx
10769   need_lib_prefix=no
10770   need_version=no
10771   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10772   soname_spec='${libname}${release}${shared_ext}$major'
10773   shlibpath_var=LD_LIBRARY_PATH
10774   shlibpath_overrides_runpath=no
10775   hardcode_into_libs=yes
10776   dynamic_linker='ldqnx.so'
10777   ;;
10778
10779 openbsd*)
10780   version_type=sunos
10781   sys_lib_dlsearch_path_spec="/usr/lib"
10782   need_lib_prefix=no
10783   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10784   case $host_os in
10785     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10786     *)                          need_version=no  ;;
10787   esac
10788   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10789   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10790   shlibpath_var=LD_LIBRARY_PATH
10791   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10792     case $host_os in
10793       openbsd2.[89] | openbsd2.[89].*)
10794         shlibpath_overrides_runpath=no
10795         ;;
10796       *)
10797         shlibpath_overrides_runpath=yes
10798         ;;
10799       esac
10800   else
10801     shlibpath_overrides_runpath=yes
10802   fi
10803   ;;
10804
10805 os2*)
10806   libname_spec='$name'
10807   shrext_cmds=".dll"
10808   need_lib_prefix=no
10809   library_names_spec='$libname${shared_ext} $libname.a'
10810   dynamic_linker='OS/2 ld.exe'
10811   shlibpath_var=LIBPATH
10812   ;;
10813
10814 osf3* | osf4* | osf5*)
10815   version_type=osf
10816   need_lib_prefix=no
10817   need_version=no
10818   soname_spec='${libname}${release}${shared_ext}$major'
10819   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10820   shlibpath_var=LD_LIBRARY_PATH
10821   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10822   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10823   ;;
10824
10825 rdos*)
10826   dynamic_linker=no
10827   ;;
10828
10829 solaris*)
10830   version_type=linux # correct to gnu/linux during the next big refactor
10831   need_lib_prefix=no
10832   need_version=no
10833   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10834   soname_spec='${libname}${release}${shared_ext}$major'
10835   shlibpath_var=LD_LIBRARY_PATH
10836   shlibpath_overrides_runpath=yes
10837   hardcode_into_libs=yes
10838   # ldd complains unless libraries are executable
10839   postinstall_cmds='chmod +x $lib'
10840   ;;
10841
10842 sunos4*)
10843   version_type=sunos
10844   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10845   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10846   shlibpath_var=LD_LIBRARY_PATH
10847   shlibpath_overrides_runpath=yes
10848   if test "$with_gnu_ld" = yes; then
10849     need_lib_prefix=no
10850   fi
10851   need_version=yes
10852   ;;
10853
10854 sysv4 | sysv4.3*)
10855   version_type=linux # correct to gnu/linux during the next big refactor
10856   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10857   soname_spec='${libname}${release}${shared_ext}$major'
10858   shlibpath_var=LD_LIBRARY_PATH
10859   case $host_vendor in
10860     sni)
10861       shlibpath_overrides_runpath=no
10862       need_lib_prefix=no
10863       runpath_var=LD_RUN_PATH
10864       ;;
10865     siemens)
10866       need_lib_prefix=no
10867       ;;
10868     motorola)
10869       need_lib_prefix=no
10870       need_version=no
10871       shlibpath_overrides_runpath=no
10872       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10873       ;;
10874   esac
10875   ;;
10876
10877 sysv4*MP*)
10878   if test -d /usr/nec ;then
10879     version_type=linux # correct to gnu/linux during the next big refactor
10880     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10881     soname_spec='$libname${shared_ext}.$major'
10882     shlibpath_var=LD_LIBRARY_PATH
10883   fi
10884   ;;
10885
10886 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10887   version_type=freebsd-elf
10888   need_lib_prefix=no
10889   need_version=no
10890   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10891   soname_spec='${libname}${release}${shared_ext}$major'
10892   shlibpath_var=LD_LIBRARY_PATH
10893   shlibpath_overrides_runpath=yes
10894   hardcode_into_libs=yes
10895   if test "$with_gnu_ld" = yes; then
10896     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10897   else
10898     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10899     case $host_os in
10900       sco3.2v5*)
10901         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10902         ;;
10903     esac
10904   fi
10905   sys_lib_dlsearch_path_spec='/usr/lib'
10906   ;;
10907
10908 tpf*)
10909   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10910   version_type=linux # correct to gnu/linux during the next big refactor
10911   need_lib_prefix=no
10912   need_version=no
10913   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10914   shlibpath_var=LD_LIBRARY_PATH
10915   shlibpath_overrides_runpath=no
10916   hardcode_into_libs=yes
10917   ;;
10918
10919 uts4*)
10920   version_type=linux # correct to gnu/linux during the next big refactor
10921   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10922   soname_spec='${libname}${release}${shared_ext}$major'
10923   shlibpath_var=LD_LIBRARY_PATH
10924   ;;
10925
10926 *)
10927   dynamic_linker=no
10928   ;;
10929 esac
10930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10931 $as_echo "$dynamic_linker" >&6; }
10932 test "$dynamic_linker" = no && can_build_shared=no
10933
10934 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10935 if test "$GCC" = yes; then
10936   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10937 fi
10938
10939 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10940   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10941 fi
10942 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10943   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10944 fi
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11038 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11039 hardcode_action=
11040 if test -n "$hardcode_libdir_flag_spec" ||
11041    test -n "$runpath_var" ||
11042    test "X$hardcode_automatic" = "Xyes" ; then
11043
11044   # We can hardcode non-existent directories.
11045   if test "$hardcode_direct" != no &&
11046      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11047      # have to relink, otherwise we might link with an installed library
11048      # when we should be linking with a yet-to-be-installed one
11049      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11050      test "$hardcode_minus_L" != no; then
11051     # Linking always hardcodes the temporary library directory.
11052     hardcode_action=relink
11053   else
11054     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11055     hardcode_action=immediate
11056   fi
11057 else
11058   # We cannot hardcode anything, or else we can only hardcode existing
11059   # directories.
11060   hardcode_action=unsupported
11061 fi
11062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11063 $as_echo "$hardcode_action" >&6; }
11064
11065 if test "$hardcode_action" = relink ||
11066    test "$inherit_rpath" = yes; then
11067   # Fast installation is not supported
11068   enable_fast_install=no
11069 elif test "$shlibpath_overrides_runpath" = yes ||
11070      test "$enable_shared" = no; then
11071   # Fast installation is not necessary
11072   enable_fast_install=needless
11073 fi
11074
11075
11076
11077
11078
11079
11080   if test "x$enable_dlopen" != xyes; then
11081   enable_dlopen=unknown
11082   enable_dlopen_self=unknown
11083   enable_dlopen_self_static=unknown
11084 else
11085   lt_cv_dlopen=no
11086   lt_cv_dlopen_libs=
11087
11088   case $host_os in
11089   beos*)
11090     lt_cv_dlopen="load_add_on"
11091     lt_cv_dlopen_libs=
11092     lt_cv_dlopen_self=yes
11093     ;;
11094
11095   mingw* | pw32* | cegcc*)
11096     lt_cv_dlopen="LoadLibrary"
11097     lt_cv_dlopen_libs=
11098     ;;
11099
11100   cygwin*)
11101     lt_cv_dlopen="dlopen"
11102     lt_cv_dlopen_libs=
11103     ;;
11104
11105   darwin*)
11106   # if libdl is installed we need to link against it
11107     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11108 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11109 if ${ac_cv_lib_dl_dlopen+:} false; then :
11110   $as_echo_n "(cached) " >&6
11111 else
11112   ac_check_lib_save_LIBS=$LIBS
11113 LIBS="-ldl  $LIBS"
11114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11115 /* end confdefs.h.  */
11116
11117 /* Override any GCC internal prototype to avoid an error.
11118    Use char because int might match the return type of a GCC
11119    builtin and then its argument prototype would still apply.  */
11120 #ifdef __cplusplus
11121 extern "C"
11122 #endif
11123 char dlopen ();
11124 int
11125 main ()
11126 {
11127 return dlopen ();
11128   ;
11129   return 0;
11130 }
11131 _ACEOF
11132 if ac_fn_c_try_link "$LINENO"; then :
11133   ac_cv_lib_dl_dlopen=yes
11134 else
11135   ac_cv_lib_dl_dlopen=no
11136 fi
11137 rm -f core conftest.err conftest.$ac_objext \
11138     conftest$ac_exeext conftest.$ac_ext
11139 LIBS=$ac_check_lib_save_LIBS
11140 fi
11141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11142 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11143 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11144   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11145 else
11146
11147     lt_cv_dlopen="dyld"
11148     lt_cv_dlopen_libs=
11149     lt_cv_dlopen_self=yes
11150
11151 fi
11152
11153     ;;
11154
11155   *)
11156     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11157 if test "x$ac_cv_func_shl_load" = xyes; then :
11158   lt_cv_dlopen="shl_load"
11159 else
11160   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11161 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11162 if ${ac_cv_lib_dld_shl_load+:} false; then :
11163   $as_echo_n "(cached) " >&6
11164 else
11165   ac_check_lib_save_LIBS=$LIBS
11166 LIBS="-ldld  $LIBS"
11167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11168 /* end confdefs.h.  */
11169
11170 /* Override any GCC internal prototype to avoid an error.
11171    Use char because int might match the return type of a GCC
11172    builtin and then its argument prototype would still apply.  */
11173 #ifdef __cplusplus
11174 extern "C"
11175 #endif
11176 char shl_load ();
11177 int
11178 main ()
11179 {
11180 return shl_load ();
11181   ;
11182   return 0;
11183 }
11184 _ACEOF
11185 if ac_fn_c_try_link "$LINENO"; then :
11186   ac_cv_lib_dld_shl_load=yes
11187 else
11188   ac_cv_lib_dld_shl_load=no
11189 fi
11190 rm -f core conftest.err conftest.$ac_objext \
11191     conftest$ac_exeext conftest.$ac_ext
11192 LIBS=$ac_check_lib_save_LIBS
11193 fi
11194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11195 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11196 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11197   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11198 else
11199   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11200 if test "x$ac_cv_func_dlopen" = xyes; then :
11201   lt_cv_dlopen="dlopen"
11202 else
11203   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11204 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11205 if ${ac_cv_lib_dl_dlopen+:} false; then :
11206   $as_echo_n "(cached) " >&6
11207 else
11208   ac_check_lib_save_LIBS=$LIBS
11209 LIBS="-ldl  $LIBS"
11210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11211 /* end confdefs.h.  */
11212
11213 /* Override any GCC internal prototype to avoid an error.
11214    Use char because int might match the return type of a GCC
11215    builtin and then its argument prototype would still apply.  */
11216 #ifdef __cplusplus
11217 extern "C"
11218 #endif
11219 char dlopen ();
11220 int
11221 main ()
11222 {
11223 return dlopen ();
11224   ;
11225   return 0;
11226 }
11227 _ACEOF
11228 if ac_fn_c_try_link "$LINENO"; then :
11229   ac_cv_lib_dl_dlopen=yes
11230 else
11231   ac_cv_lib_dl_dlopen=no
11232 fi
11233 rm -f core conftest.err conftest.$ac_objext \
11234     conftest$ac_exeext conftest.$ac_ext
11235 LIBS=$ac_check_lib_save_LIBS
11236 fi
11237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11238 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11239 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11240   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11241 else
11242   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11243 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11244 if ${ac_cv_lib_svld_dlopen+:} false; then :
11245   $as_echo_n "(cached) " >&6
11246 else
11247   ac_check_lib_save_LIBS=$LIBS
11248 LIBS="-lsvld  $LIBS"
11249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11250 /* end confdefs.h.  */
11251
11252 /* Override any GCC internal prototype to avoid an error.
11253    Use char because int might match the return type of a GCC
11254    builtin and then its argument prototype would still apply.  */
11255 #ifdef __cplusplus
11256 extern "C"
11257 #endif
11258 char dlopen ();
11259 int
11260 main ()
11261 {
11262 return dlopen ();
11263   ;
11264   return 0;
11265 }
11266 _ACEOF
11267 if ac_fn_c_try_link "$LINENO"; then :
11268   ac_cv_lib_svld_dlopen=yes
11269 else
11270   ac_cv_lib_svld_dlopen=no
11271 fi
11272 rm -f core conftest.err conftest.$ac_objext \
11273     conftest$ac_exeext conftest.$ac_ext
11274 LIBS=$ac_check_lib_save_LIBS
11275 fi
11276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11277 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11278 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11279   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11280 else
11281   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11282 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11283 if ${ac_cv_lib_dld_dld_link+:} false; then :
11284   $as_echo_n "(cached) " >&6
11285 else
11286   ac_check_lib_save_LIBS=$LIBS
11287 LIBS="-ldld  $LIBS"
11288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11289 /* end confdefs.h.  */
11290
11291 /* Override any GCC internal prototype to avoid an error.
11292    Use char because int might match the return type of a GCC
11293    builtin and then its argument prototype would still apply.  */
11294 #ifdef __cplusplus
11295 extern "C"
11296 #endif
11297 char dld_link ();
11298 int
11299 main ()
11300 {
11301 return dld_link ();
11302   ;
11303   return 0;
11304 }
11305 _ACEOF
11306 if ac_fn_c_try_link "$LINENO"; then :
11307   ac_cv_lib_dld_dld_link=yes
11308 else
11309   ac_cv_lib_dld_dld_link=no
11310 fi
11311 rm -f core conftest.err conftest.$ac_objext \
11312     conftest$ac_exeext conftest.$ac_ext
11313 LIBS=$ac_check_lib_save_LIBS
11314 fi
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11316 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11317 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11318   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11319 fi
11320
11321
11322 fi
11323
11324
11325 fi
11326
11327
11328 fi
11329
11330
11331 fi
11332
11333
11334 fi
11335
11336     ;;
11337   esac
11338
11339   if test "x$lt_cv_dlopen" != xno; then
11340     enable_dlopen=yes
11341   else
11342     enable_dlopen=no
11343   fi
11344
11345   case $lt_cv_dlopen in
11346   dlopen)
11347     save_CPPFLAGS="$CPPFLAGS"
11348     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11349
11350     save_LDFLAGS="$LDFLAGS"
11351     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11352
11353     save_LIBS="$LIBS"
11354     LIBS="$lt_cv_dlopen_libs $LIBS"
11355
11356     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11357 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11358 if ${lt_cv_dlopen_self+:} false; then :
11359   $as_echo_n "(cached) " >&6
11360 else
11361           if test "$cross_compiling" = yes; then :
11362   lt_cv_dlopen_self=cross
11363 else
11364   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11365   lt_status=$lt_dlunknown
11366   cat > conftest.$ac_ext <<_LT_EOF
11367 #line $LINENO "configure"
11368 #include "confdefs.h"
11369
11370 #if HAVE_DLFCN_H
11371 #include <dlfcn.h>
11372 #endif
11373
11374 #include <stdio.h>
11375
11376 #ifdef RTLD_GLOBAL
11377 #  define LT_DLGLOBAL           RTLD_GLOBAL
11378 #else
11379 #  ifdef DL_GLOBAL
11380 #    define LT_DLGLOBAL         DL_GLOBAL
11381 #  else
11382 #    define LT_DLGLOBAL         0
11383 #  endif
11384 #endif
11385
11386 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11387    find out it does not work in some platform. */
11388 #ifndef LT_DLLAZY_OR_NOW
11389 #  ifdef RTLD_LAZY
11390 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11391 #  else
11392 #    ifdef DL_LAZY
11393 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11394 #    else
11395 #      ifdef RTLD_NOW
11396 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11397 #      else
11398 #        ifdef DL_NOW
11399 #          define LT_DLLAZY_OR_NOW      DL_NOW
11400 #        else
11401 #          define LT_DLLAZY_OR_NOW      0
11402 #        endif
11403 #      endif
11404 #    endif
11405 #  endif
11406 #endif
11407
11408 /* When -fvisbility=hidden is used, assume the code has been annotated
11409    correspondingly for the symbols needed.  */
11410 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11411 int fnord () __attribute__((visibility("default")));
11412 #endif
11413
11414 int fnord () { return 42; }
11415 int main ()
11416 {
11417   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11418   int status = $lt_dlunknown;
11419
11420   if (self)
11421     {
11422       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11423       else
11424         {
11425           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11426           else puts (dlerror ());
11427         }
11428       /* dlclose (self); */
11429     }
11430   else
11431     puts (dlerror ());
11432
11433   return status;
11434 }
11435 _LT_EOF
11436   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11437   (eval $ac_link) 2>&5
11438   ac_status=$?
11439   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11440   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11441     (./conftest; exit; ) >&5 2>/dev/null
11442     lt_status=$?
11443     case x$lt_status in
11444       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11445       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11446       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11447     esac
11448   else :
11449     # compilation failed
11450     lt_cv_dlopen_self=no
11451   fi
11452 fi
11453 rm -fr conftest*
11454
11455
11456 fi
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11458 $as_echo "$lt_cv_dlopen_self" >&6; }
11459
11460     if test "x$lt_cv_dlopen_self" = xyes; then
11461       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11462       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11463 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11464 if ${lt_cv_dlopen_self_static+:} false; then :
11465   $as_echo_n "(cached) " >&6
11466 else
11467           if test "$cross_compiling" = yes; then :
11468   lt_cv_dlopen_self_static=cross
11469 else
11470   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11471   lt_status=$lt_dlunknown
11472   cat > conftest.$ac_ext <<_LT_EOF
11473 #line $LINENO "configure"
11474 #include "confdefs.h"
11475
11476 #if HAVE_DLFCN_H
11477 #include <dlfcn.h>
11478 #endif
11479
11480 #include <stdio.h>
11481
11482 #ifdef RTLD_GLOBAL
11483 #  define LT_DLGLOBAL           RTLD_GLOBAL
11484 #else
11485 #  ifdef DL_GLOBAL
11486 #    define LT_DLGLOBAL         DL_GLOBAL
11487 #  else
11488 #    define LT_DLGLOBAL         0
11489 #  endif
11490 #endif
11491
11492 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11493    find out it does not work in some platform. */
11494 #ifndef LT_DLLAZY_OR_NOW
11495 #  ifdef RTLD_LAZY
11496 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11497 #  else
11498 #    ifdef DL_LAZY
11499 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11500 #    else
11501 #      ifdef RTLD_NOW
11502 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11503 #      else
11504 #        ifdef DL_NOW
11505 #          define LT_DLLAZY_OR_NOW      DL_NOW
11506 #        else
11507 #          define LT_DLLAZY_OR_NOW      0
11508 #        endif
11509 #      endif
11510 #    endif
11511 #  endif
11512 #endif
11513
11514 /* When -fvisbility=hidden is used, assume the code has been annotated
11515    correspondingly for the symbols needed.  */
11516 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11517 int fnord () __attribute__((visibility("default")));
11518 #endif
11519
11520 int fnord () { return 42; }
11521 int main ()
11522 {
11523   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11524   int status = $lt_dlunknown;
11525
11526   if (self)
11527     {
11528       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11529       else
11530         {
11531           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11532           else puts (dlerror ());
11533         }
11534       /* dlclose (self); */
11535     }
11536   else
11537     puts (dlerror ());
11538
11539   return status;
11540 }
11541 _LT_EOF
11542   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11543   (eval $ac_link) 2>&5
11544   ac_status=$?
11545   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11546   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11547     (./conftest; exit; ) >&5 2>/dev/null
11548     lt_status=$?
11549     case x$lt_status in
11550       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11551       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11552       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11553     esac
11554   else :
11555     # compilation failed
11556     lt_cv_dlopen_self_static=no
11557   fi
11558 fi
11559 rm -fr conftest*
11560
11561
11562 fi
11563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11564 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11565     fi
11566
11567     CPPFLAGS="$save_CPPFLAGS"
11568     LDFLAGS="$save_LDFLAGS"
11569     LIBS="$save_LIBS"
11570     ;;
11571   esac
11572
11573   case $lt_cv_dlopen_self in
11574   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11575   *) enable_dlopen_self=unknown ;;
11576   esac
11577
11578   case $lt_cv_dlopen_self_static in
11579   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11580   *) enable_dlopen_self_static=unknown ;;
11581   esac
11582 fi
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600 striplib=
11601 old_striplib=
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11603 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11604 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11605   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11606   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11608 $as_echo "yes" >&6; }
11609 else
11610 # FIXME - insert some real tests, host_os isn't really good enough
11611   case $host_os in
11612   darwin*)
11613     if test -n "$STRIP" ; then
11614       striplib="$STRIP -x"
11615       old_striplib="$STRIP -S"
11616       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11617 $as_echo "yes" >&6; }
11618     else
11619       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11620 $as_echo "no" >&6; }
11621     fi
11622     ;;
11623   *)
11624     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11625 $as_echo "no" >&6; }
11626     ;;
11627   esac
11628 fi
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641   # Report which library types will actually be built
11642   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11643 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11645 $as_echo "$can_build_shared" >&6; }
11646
11647   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11648 $as_echo_n "checking whether to build shared libraries... " >&6; }
11649   test "$can_build_shared" = "no" && enable_shared=no
11650
11651   # On AIX, shared libraries and static libraries use the same namespace, and
11652   # are all built from PIC.
11653   case $host_os in
11654   aix3*)
11655     test "$enable_shared" = yes && enable_static=no
11656     if test -n "$RANLIB"; then
11657       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11658       postinstall_cmds='$RANLIB $lib'
11659     fi
11660     ;;
11661
11662   aix[4-9]*)
11663     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11664       test "$enable_shared" = yes && enable_static=no
11665     fi
11666     ;;
11667   esac
11668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11669 $as_echo "$enable_shared" >&6; }
11670
11671   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11672 $as_echo_n "checking whether to build static libraries... " >&6; }
11673   # Make sure either enable_shared or enable_static is yes.
11674   test "$enable_shared" = yes || enable_static=yes
11675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11676 $as_echo "$enable_static" >&6; }
11677
11678
11679
11680
11681 fi
11682 ac_ext=c
11683 ac_cpp='$CPP $CPPFLAGS'
11684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11687
11688 CC="$lt_save_CC"
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704         ac_config_commands="$ac_config_commands libtool"
11705
11706
11707
11708
11709 # Only expand once:
11710
11711
11712
11713 # Checks for libraries.
11714
11715
11716
11717
11718
11719
11720
11721 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11722         if test -n "$ac_tool_prefix"; then
11723   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11724 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11726 $as_echo_n "checking for $ac_word... " >&6; }
11727 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11728   $as_echo_n "(cached) " >&6
11729 else
11730   case $PKG_CONFIG in
11731   [\\/]* | ?:[\\/]*)
11732   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11733   ;;
11734   *)
11735   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11736 for as_dir in $PATH
11737 do
11738   IFS=$as_save_IFS
11739   test -z "$as_dir" && as_dir=.
11740     for ac_exec_ext in '' $ac_executable_extensions; do
11741   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11742     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11743     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11744     break 2
11745   fi
11746 done
11747   done
11748 IFS=$as_save_IFS
11749
11750   ;;
11751 esac
11752 fi
11753 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11754 if test -n "$PKG_CONFIG"; then
11755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11756 $as_echo "$PKG_CONFIG" >&6; }
11757 else
11758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11759 $as_echo "no" >&6; }
11760 fi
11761
11762
11763 fi
11764 if test -z "$ac_cv_path_PKG_CONFIG"; then
11765   ac_pt_PKG_CONFIG=$PKG_CONFIG
11766   # Extract the first word of "pkg-config", so it can be a program name with args.
11767 set dummy pkg-config; ac_word=$2
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11769 $as_echo_n "checking for $ac_word... " >&6; }
11770 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11771   $as_echo_n "(cached) " >&6
11772 else
11773   case $ac_pt_PKG_CONFIG in
11774   [\\/]* | ?:[\\/]*)
11775   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11776   ;;
11777   *)
11778   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11779 for as_dir in $PATH
11780 do
11781   IFS=$as_save_IFS
11782   test -z "$as_dir" && as_dir=.
11783     for ac_exec_ext in '' $ac_executable_extensions; do
11784   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11785     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11786     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11787     break 2
11788   fi
11789 done
11790   done
11791 IFS=$as_save_IFS
11792
11793   ;;
11794 esac
11795 fi
11796 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11797 if test -n "$ac_pt_PKG_CONFIG"; then
11798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11799 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11800 else
11801   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11802 $as_echo "no" >&6; }
11803 fi
11804
11805   if test "x$ac_pt_PKG_CONFIG" = x; then
11806     PKG_CONFIG=""
11807   else
11808     case $cross_compiling:$ac_tool_warned in
11809 yes:)
11810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11811 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11812 ac_tool_warned=yes ;;
11813 esac
11814     PKG_CONFIG=$ac_pt_PKG_CONFIG
11815   fi
11816 else
11817   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11818 fi
11819
11820 fi
11821 if test -n "$PKG_CONFIG"; then
11822         _pkg_min_version=0.9.0
11823         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11824 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11825         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11826                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11827 $as_echo "yes" >&6; }
11828         else
11829                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11830 $as_echo "no" >&6; }
11831                 PKG_CONFIG=""
11832         fi
11833 fi
11834
11835 pkg_failed=no
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSIGNOND" >&5
11837 $as_echo_n "checking for GSIGNOND... " >&6; }
11838
11839 if test -n "$GSIGNOND_CFLAGS"; then
11840     pkg_cv_GSIGNOND_CFLAGS="$GSIGNOND_CFLAGS"
11841  elif test -n "$PKG_CONFIG"; then
11842     if test -n "$PKG_CONFIG" && \
11843     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.30
11844                    gio-2.0
11845                    gio-unix-2.0
11846                    gmodule-2.0
11847                    sqlite3\""; } >&5
11848   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.30
11849                    gio-2.0
11850                    gio-unix-2.0
11851                    gmodule-2.0
11852                    sqlite3") 2>&5
11853   ac_status=$?
11854   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11855   test $ac_status = 0; }; then
11856   pkg_cv_GSIGNOND_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.30
11857                    gio-2.0
11858                    gio-unix-2.0
11859                    gmodule-2.0
11860                    sqlite3" 2>/dev/null`
11861                       test "x$?" != "x0" && pkg_failed=yes
11862 else
11863   pkg_failed=yes
11864 fi
11865  else
11866     pkg_failed=untried
11867 fi
11868 if test -n "$GSIGNOND_LIBS"; then
11869     pkg_cv_GSIGNOND_LIBS="$GSIGNOND_LIBS"
11870  elif test -n "$PKG_CONFIG"; then
11871     if test -n "$PKG_CONFIG" && \
11872     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.30
11873                    gio-2.0
11874                    gio-unix-2.0
11875                    gmodule-2.0
11876                    sqlite3\""; } >&5
11877   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.30
11878                    gio-2.0
11879                    gio-unix-2.0
11880                    gmodule-2.0
11881                    sqlite3") 2>&5
11882   ac_status=$?
11883   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11884   test $ac_status = 0; }; then
11885   pkg_cv_GSIGNOND_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.30
11886                    gio-2.0
11887                    gio-unix-2.0
11888                    gmodule-2.0
11889                    sqlite3" 2>/dev/null`
11890                       test "x$?" != "x0" && pkg_failed=yes
11891 else
11892   pkg_failed=yes
11893 fi
11894  else
11895     pkg_failed=untried
11896 fi
11897
11898
11899
11900 if test $pkg_failed = yes; then
11901         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11902 $as_echo "no" >&6; }
11903
11904 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11905         _pkg_short_errors_supported=yes
11906 else
11907         _pkg_short_errors_supported=no
11908 fi
11909         if test $_pkg_short_errors_supported = yes; then
11910                 GSIGNOND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.30
11911                    gio-2.0
11912                    gio-unix-2.0
11913                    gmodule-2.0
11914                    sqlite3" 2>&1`
11915         else
11916                 GSIGNOND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.30
11917                    gio-2.0
11918                    gio-unix-2.0
11919                    gmodule-2.0
11920                    sqlite3" 2>&1`
11921         fi
11922         # Put the nasty error message in config.log where it belongs
11923         echo "$GSIGNOND_PKG_ERRORS" >&5
11924
11925         as_fn_error $? "Package requirements (glib-2.0 >= 2.30
11926                    gio-2.0
11927                    gio-unix-2.0
11928                    gmodule-2.0
11929                    sqlite3) were not met:
11930
11931 $GSIGNOND_PKG_ERRORS
11932
11933 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11934 installed software in a non-standard prefix.
11935
11936 Alternatively, you may set the environment variables GSIGNOND_CFLAGS
11937 and GSIGNOND_LIBS to avoid the need to call pkg-config.
11938 See the pkg-config man page for more details." "$LINENO" 5
11939 elif test $pkg_failed = untried; then
11940         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11941 $as_echo "no" >&6; }
11942         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11943 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11944 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
11945 is in your PATH or set the PKG_CONFIG environment variable to the full
11946 path to pkg-config.
11947
11948 Alternatively, you may set the environment variables GSIGNOND_CFLAGS
11949 and GSIGNOND_LIBS to avoid the need to call pkg-config.
11950 See the pkg-config man page for more details.
11951
11952 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11953 See \`config.log' for more details" "$LINENO" 5; }
11954 else
11955         GSIGNOND_CFLAGS=$pkg_cv_GSIGNOND_CFLAGS
11956         GSIGNOND_LIBS=$pkg_cv_GSIGNOND_LIBS
11957         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11958 $as_echo "yes" >&6; }
11959
11960 fi
11961
11962
11963
11964
11965 # AM_PATH_CHECK() is deprecated, but check documentation fails to tell that :-/
11966
11967 pkg_failed=no
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
11969 $as_echo_n "checking for CHECK... " >&6; }
11970
11971 if test -n "$CHECK_CFLAGS"; then
11972     pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
11973  elif test -n "$PKG_CONFIG"; then
11974     if test -n "$PKG_CONFIG" && \
11975     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
11976   ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
11977   ac_status=$?
11978   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11979   test $ac_status = 0; }; then
11980   pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.4" 2>/dev/null`
11981                       test "x$?" != "x0" && pkg_failed=yes
11982 else
11983   pkg_failed=yes
11984 fi
11985  else
11986     pkg_failed=untried
11987 fi
11988 if test -n "$CHECK_LIBS"; then
11989     pkg_cv_CHECK_LIBS="$CHECK_LIBS"
11990  elif test -n "$PKG_CONFIG"; then
11991     if test -n "$PKG_CONFIG" && \
11992     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
11993   ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
11994   ac_status=$?
11995   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11996   test $ac_status = 0; }; then
11997   pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.4" 2>/dev/null`
11998                       test "x$?" != "x0" && pkg_failed=yes
11999 else
12000   pkg_failed=yes
12001 fi
12002  else
12003     pkg_failed=untried
12004 fi
12005
12006
12007
12008 if test $pkg_failed = yes; then
12009         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12010 $as_echo "no" >&6; }
12011
12012 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12013         _pkg_short_errors_supported=yes
12014 else
12015         _pkg_short_errors_supported=no
12016 fi
12017         if test $_pkg_short_errors_supported = yes; then
12018                 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
12019         else
12020                 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
12021         fi
12022         # Put the nasty error message in config.log where it belongs
12023         echo "$CHECK_PKG_ERRORS" >&5
12024
12025         have_check=no
12026 elif test $pkg_failed = untried; then
12027         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12028 $as_echo "no" >&6; }
12029         have_check=no
12030 else
12031         CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
12032         CHECK_LIBS=$pkg_cv_CHECK_LIBS
12033         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12034 $as_echo "yes" >&6; }
12035         have_check=yes
12036 fi
12037
12038
12039
12040
12041 pkg_failed=no
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSMACK" >&5
12043 $as_echo_n "checking for LIBSMACK... " >&6; }
12044
12045 if test -n "$LIBSMACK_CFLAGS"; then
12046     pkg_cv_LIBSMACK_CFLAGS="$LIBSMACK_CFLAGS"
12047  elif test -n "$PKG_CONFIG"; then
12048     if test -n "$PKG_CONFIG" && \
12049     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsmack >= 1.0\""; } >&5
12050   ($PKG_CONFIG --exists --print-errors "libsmack >= 1.0") 2>&5
12051   ac_status=$?
12052   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12053   test $ac_status = 0; }; then
12054   pkg_cv_LIBSMACK_CFLAGS=`$PKG_CONFIG --cflags "libsmack >= 1.0" 2>/dev/null`
12055                       test "x$?" != "x0" && pkg_failed=yes
12056 else
12057   pkg_failed=yes
12058 fi
12059  else
12060     pkg_failed=untried
12061 fi
12062 if test -n "$LIBSMACK_LIBS"; then
12063     pkg_cv_LIBSMACK_LIBS="$LIBSMACK_LIBS"
12064  elif test -n "$PKG_CONFIG"; then
12065     if test -n "$PKG_CONFIG" && \
12066     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsmack >= 1.0\""; } >&5
12067   ($PKG_CONFIG --exists --print-errors "libsmack >= 1.0") 2>&5
12068   ac_status=$?
12069   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12070   test $ac_status = 0; }; then
12071   pkg_cv_LIBSMACK_LIBS=`$PKG_CONFIG --libs "libsmack >= 1.0" 2>/dev/null`
12072                       test "x$?" != "x0" && pkg_failed=yes
12073 else
12074   pkg_failed=yes
12075 fi
12076  else
12077     pkg_failed=untried
12078 fi
12079
12080
12081
12082 if test $pkg_failed = yes; then
12083         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12084 $as_echo "no" >&6; }
12085
12086 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12087         _pkg_short_errors_supported=yes
12088 else
12089         _pkg_short_errors_supported=no
12090 fi
12091         if test $_pkg_short_errors_supported = yes; then
12092                 LIBSMACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsmack >= 1.0" 2>&1`
12093         else
12094                 LIBSMACK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsmack >= 1.0" 2>&1`
12095         fi
12096         # Put the nasty error message in config.log where it belongs
12097         echo "$LIBSMACK_PKG_ERRORS" >&5
12098
12099         libsmack=no
12100 elif test $pkg_failed = untried; then
12101         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12102 $as_echo "no" >&6; }
12103         libsmack=no
12104 else
12105         LIBSMACK_CFLAGS=$pkg_cv_LIBSMACK_CFLAGS
12106         LIBSMACK_LIBS=$pkg_cv_LIBSMACK_LIBS
12107         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12108 $as_echo "yes" >&6; }
12109         libsmack=yes
12110 fi
12111  if test x$libsmack = xyes; then
12112   HAVE_LIBSMACK_TRUE=
12113   HAVE_LIBSMACK_FALSE='#'
12114 else
12115   HAVE_LIBSMACK_TRUE='#'
12116   HAVE_LIBSMACK_FALSE=
12117 fi
12118
12119 if test "x$libsmack" = xyes; then
12120
12121 $as_echo "#define HAVE_LIBSMACK 1" >>confdefs.h
12122
12123 fi
12124
12125
12126 pkg_failed=no
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBECRYPTFS" >&5
12128 $as_echo_n "checking for LIBECRYPTFS... " >&6; }
12129
12130 if test -n "$LIBECRYPTFS_CFLAGS"; then
12131     pkg_cv_LIBECRYPTFS_CFLAGS="$LIBECRYPTFS_CFLAGS"
12132  elif test -n "$PKG_CONFIG"; then
12133     if test -n "$PKG_CONFIG" && \
12134     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libecryptfs >= 96\""; } >&5
12135   ($PKG_CONFIG --exists --print-errors "libecryptfs >= 96") 2>&5
12136   ac_status=$?
12137   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12138   test $ac_status = 0; }; then
12139   pkg_cv_LIBECRYPTFS_CFLAGS=`$PKG_CONFIG --cflags "libecryptfs >= 96" 2>/dev/null`
12140                       test "x$?" != "x0" && pkg_failed=yes
12141 else
12142   pkg_failed=yes
12143 fi
12144  else
12145     pkg_failed=untried
12146 fi
12147 if test -n "$LIBECRYPTFS_LIBS"; then
12148     pkg_cv_LIBECRYPTFS_LIBS="$LIBECRYPTFS_LIBS"
12149  elif test -n "$PKG_CONFIG"; then
12150     if test -n "$PKG_CONFIG" && \
12151     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libecryptfs >= 96\""; } >&5
12152   ($PKG_CONFIG --exists --print-errors "libecryptfs >= 96") 2>&5
12153   ac_status=$?
12154   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12155   test $ac_status = 0; }; then
12156   pkg_cv_LIBECRYPTFS_LIBS=`$PKG_CONFIG --libs "libecryptfs >= 96" 2>/dev/null`
12157                       test "x$?" != "x0" && pkg_failed=yes
12158 else
12159   pkg_failed=yes
12160 fi
12161  else
12162     pkg_failed=untried
12163 fi
12164
12165
12166
12167 if test $pkg_failed = yes; then
12168         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12169 $as_echo "no" >&6; }
12170
12171 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12172         _pkg_short_errors_supported=yes
12173 else
12174         _pkg_short_errors_supported=no
12175 fi
12176         if test $_pkg_short_errors_supported = yes; then
12177                 LIBECRYPTFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libecryptfs >= 96" 2>&1`
12178         else
12179                 LIBECRYPTFS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libecryptfs >= 96" 2>&1`
12180         fi
12181         # Put the nasty error message in config.log where it belongs
12182         echo "$LIBECRYPTFS_PKG_ERRORS" >&5
12183
12184         libecryptfs=no
12185 elif test $pkg_failed = untried; then
12186         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12187 $as_echo "no" >&6; }
12188         libecryptfs=no
12189 else
12190         LIBECRYPTFS_CFLAGS=$pkg_cv_LIBECRYPTFS_CFLAGS
12191         LIBECRYPTFS_LIBS=$pkg_cv_LIBECRYPTFS_LIBS
12192         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12193 $as_echo "yes" >&6; }
12194         libecryptfs=yes
12195 fi
12196  if test x$libecryptfs = xyes; then
12197   HAVE_LIBECRYPTFS_TRUE=
12198   HAVE_LIBECRYPTFS_FALSE='#'
12199 else
12200   HAVE_LIBECRYPTFS_TRUE='#'
12201   HAVE_LIBECRYPTFS_FALSE=
12202 fi
12203
12204 if test "x$libecryptfs" = xes; then
12205
12206 $as_echo "#define HAVE_LIBECRYPTFS 1" >>confdefs.h
12207
12208 fi
12209
12210 # Extract the first word of "glib-mkenums", so it can be a program name with args.
12211 set dummy glib-mkenums; ac_word=$2
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12213 $as_echo_n "checking for $ac_word... " >&6; }
12214 if ${ac_cv_path_GLIB_MKENUMS+:} false; then :
12215   $as_echo_n "(cached) " >&6
12216 else
12217   case $GLIB_MKENUMS in
12218   [\\/]* | ?:[\\/]*)
12219   ac_cv_path_GLIB_MKENUMS="$GLIB_MKENUMS" # Let the user override the test with a path.
12220   ;;
12221   *)
12222   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12223 for as_dir in $PATH
12224 do
12225   IFS=$as_save_IFS
12226   test -z "$as_dir" && as_dir=.
12227     for ac_exec_ext in '' $ac_executable_extensions; do
12228   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12229     ac_cv_path_GLIB_MKENUMS="$as_dir/$ac_word$ac_exec_ext"
12230     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12231     break 2
12232   fi
12233 done
12234   done
12235 IFS=$as_save_IFS
12236
12237   ;;
12238 esac
12239 fi
12240 GLIB_MKENUMS=$ac_cv_path_GLIB_MKENUMS
12241 if test -n "$GLIB_MKENUMS"; then
12242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_MKENUMS" >&5
12243 $as_echo "$GLIB_MKENUMS" >&6; }
12244 else
12245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12246 $as_echo "no" >&6; }
12247 fi
12248
12249
12250
12251 # allow fake installations for "distcheck"
12252 # Check whether --enable-distcheck was given.
12253 if test "${enable_distcheck+set}" = set; then :
12254   enableval=$enable_distcheck; enable_distcheck=yes
12255 else
12256   enable_distcheck=no
12257 fi
12258
12259 echo -n "running distcheck... "
12260 echo $enable_distcheck
12261
12262 # Check whether --enable-dbus-type was given.
12263 if test "${enable_dbus_type+set}" = set; then :
12264   enableval=$enable_dbus_type; enable_dbus_type=$enableval
12265 else
12266   enable_dbus_type=p2p
12267 fi
12268
12269 echo "----------------------"
12270 echo " DBUS TYPE : '$enable_dbus_type'"
12271 echo "----------------------"
12272 if test "x$enable_dbus_type" = "xp2p" ; then
12273
12274 $as_echo "#define USE_P2P 1" >>confdefs.h
12275
12276 elif test "x$enable_dbus_type" = "xsession" ; then
12277
12278 $as_echo "#define GSIGNOND_BUS_TYPE G_BUS_TYPE_SESSION" >>confdefs.h
12279
12280     if test "x$enable_distcheck" = "xyes" ; then
12281         DBUS_SERVICES_DIR="${datadir}/dbus-1/services"
12282     else
12283         DBUS_SERVICES_DIR="`pkg-config --variable session_bus_services_dir dbus-1`"
12284     fi
12285
12286
12287 pkg_failed=no
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTestDBus" >&5
12289 $as_echo_n "checking for GTestDBus... " >&6; }
12290
12291 if test -n "$GTestDBus_CFLAGS"; then
12292     pkg_cv_GTestDBus_CFLAGS="$GTestDBus_CFLAGS"
12293  elif test -n "$PKG_CONFIG"; then
12294     if test -n "$PKG_CONFIG" && \
12295     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.34\""; } >&5
12296   ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.34") 2>&5
12297   ac_status=$?
12298   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12299   test $ac_status = 0; }; then
12300   pkg_cv_GTestDBus_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.34" 2>/dev/null`
12301                       test "x$?" != "x0" && pkg_failed=yes
12302 else
12303   pkg_failed=yes
12304 fi
12305  else
12306     pkg_failed=untried
12307 fi
12308 if test -n "$GTestDBus_LIBS"; then
12309     pkg_cv_GTestDBus_LIBS="$GTestDBus_LIBS"
12310  elif test -n "$PKG_CONFIG"; then
12311     if test -n "$PKG_CONFIG" && \
12312     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.34\""; } >&5
12313   ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.34") 2>&5
12314   ac_status=$?
12315   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12316   test $ac_status = 0; }; then
12317   pkg_cv_GTestDBus_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.34" 2>/dev/null`
12318                       test "x$?" != "x0" && pkg_failed=yes
12319 else
12320   pkg_failed=yes
12321 fi
12322  else
12323     pkg_failed=untried
12324 fi
12325
12326
12327
12328 if test $pkg_failed = yes; then
12329         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12330 $as_echo "no" >&6; }
12331
12332 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12333         _pkg_short_errors_supported=yes
12334 else
12335         _pkg_short_errors_supported=no
12336 fi
12337         if test $_pkg_short_errors_supported = yes; then
12338                 GTestDBus_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.34" 2>&1`
12339         else
12340                 GTestDBus_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.34" 2>&1`
12341         fi
12342         # Put the nasty error message in config.log where it belongs
12343         echo "$GTestDBus_PKG_ERRORS" >&5
12344
12345         gtestdbus=no
12346 elif test $pkg_failed = untried; then
12347         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12348 $as_echo "no" >&6; }
12349         gtestdbus=no
12350 else
12351         GTestDBus_CFLAGS=$pkg_cv_GTestDBus_CFLAGS
12352         GTestDBus_LIBS=$pkg_cv_GTestDBus_LIBS
12353         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12354 $as_echo "yes" >&6; }
12355         gtestdbus=yes
12356 fi
12357     if test "x$gtestdbus" = xyes; then
12358
12359 $as_echo "#define HAVE_GTESTDBUS 1" >>confdefs.h
12360
12361     fi
12362 elif test "x$enable_dbus_type" = "xsystem" ; then
12363
12364 $as_echo "#define GSIGNOND_BUS_TYPE G_BUS_TYPE_SYSTEM" >>confdefs.h
12365
12366     if test "x$enable_distcheck" = "xyes" ; then
12367         DBUS_SERVICES_DIR="${datadir}/dbus-1/system-services"
12368     else
12369         DBUS_SERVICES_DIR="`pkg-config --variable system_bus_services_dir dbus-1`"
12370     fi
12371 fi
12372 if test "x$enable_dbus_type" != "xp2p" ; then
12373     if test "x$enable_distcheck" = "xyes" ; then
12374         DBUS_INTERFACES_DIR="${datadir}/dbus-1/interfaces"
12375     else
12376         DBUS_INTERFACES_DIR="`pkg-config --variable interfaces_dir dbus-1`"
12377     fi
12378 fi
12379
12380 # Check whether --enable-keychain was given.
12381 if test "${enable_keychain+set}" = set; then :
12382   enableval=$enable_keychain; enable_keychain=$enableval
12383 fi
12384
12385 if test "x$enable_keychain" != "x" ; then
12386
12387 cat >>confdefs.h <<_ACEOF
12388 #define KEYCHAIN_SYSCTX "$enable_keychain"
12389 _ACEOF
12390
12391 fi
12392
12393 # Check whether --enable-debug was given.
12394 if test "${enable_debug+set}" = set; then :
12395   enableval=$enable_debug; enable_debug=yes
12396 else
12397   enable_debug=no
12398 fi
12399
12400 echo -n "enable debug features... "
12401 echo $enable_debug
12402 if test "x$enable_debug" = "xyes" ; then
12403
12404 $as_echo "#define ENABLE_DEBUG 1" >>confdefs.h
12405
12406     # Check whether --enable-sql-log was given.
12407 if test "${enable_sql_log+set}" = set; then :
12408   enableval=$enable_sql_log; enable_sql_log=yes
12409 else
12410   enable_sql_log=no
12411 fi
12412
12413     echo -n "enable sql log feature... "
12414     echo $enable_sql_log
12415     if test "x$enable_sql_log" = "xyes" ; then
12416
12417 $as_echo "#define ENABLE_SQL_LOG 1" >>confdefs.h
12418
12419     fi
12420 fi
12421
12422 # Check whether --enable-acltriggers was given.
12423 if test "${enable_acltriggers+set}" = set; then :
12424   enableval=$enable_acltriggers; enable_acl_triggers=yes
12425 else
12426   enable_acl_triggers=no
12427 fi
12428
12429 if test "x$enable_acl_triggers" = "xyes" ; then
12430
12431 $as_echo "#define ENABLE_DB_ACL_TRIGGERS 1" >>confdefs.h
12432
12433 fi
12434
12435  if test x$gtestdbus = xyes; then
12436   USE_GTESTDBUS_TRUE=
12437   USE_GTESTDBUS_FALSE='#'
12438 else
12439   USE_GTESTDBUS_TRUE='#'
12440   USE_GTESTDBUS_FALSE=
12441 fi
12442
12443 MESSAGE_BUS_TYPE=$enable_dbus_type
12444
12445
12446  if test x$enable_debug = xyes; then
12447   HAVE_DEBUG_TRUE=
12448   HAVE_DEBUG_FALSE='#'
12449 else
12450   HAVE_DEBUG_TRUE='#'
12451   HAVE_DEBUG_FALSE=
12452 fi
12453
12454  if test x$enable_distcheck != xyes; then
12455   SET_PERMISSIONS_TRUE=
12456   SET_PERMISSIONS_FALSE='#'
12457 else
12458   SET_PERMISSIONS_TRUE='#'
12459   SET_PERMISSIONS_FALSE=
12460 fi
12461
12462
12463
12464
12465
12466 # gtk-doc
12467
12468
12469
12470     # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12471 set dummy gtkdoc-check; ac_word=$2
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12473 $as_echo_n "checking for $ac_word... " >&6; }
12474 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
12475   $as_echo_n "(cached) " >&6
12476 else
12477   case $GTKDOC_CHECK in
12478   [\\/]* | ?:[\\/]*)
12479   ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
12480   ;;
12481   *)
12482   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12483 for as_dir in $PATH
12484 do
12485   IFS=$as_save_IFS
12486   test -z "$as_dir" && as_dir=.
12487     for ac_exec_ext in '' $ac_executable_extensions; do
12488   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12489     ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
12490     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12491     break 2
12492   fi
12493 done
12494   done
12495 IFS=$as_save_IFS
12496
12497   ;;
12498 esac
12499 fi
12500 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
12501 if test -n "$GTKDOC_CHECK"; then
12502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
12503 $as_echo "$GTKDOC_CHECK" >&6; }
12504 else
12505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12506 $as_echo "no" >&6; }
12507 fi
12508
12509
12510   for ac_prog in gtkdoc-rebase
12511 do
12512   # Extract the first word of "$ac_prog", so it can be a program name with args.
12513 set dummy $ac_prog; ac_word=$2
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12515 $as_echo_n "checking for $ac_word... " >&6; }
12516 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
12517   $as_echo_n "(cached) " >&6
12518 else
12519   case $GTKDOC_REBASE in
12520   [\\/]* | ?:[\\/]*)
12521   ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
12522   ;;
12523   *)
12524   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12525 for as_dir in $PATH
12526 do
12527   IFS=$as_save_IFS
12528   test -z "$as_dir" && as_dir=.
12529     for ac_exec_ext in '' $ac_executable_extensions; do
12530   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12531     ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
12532     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12533     break 2
12534   fi
12535 done
12536   done
12537 IFS=$as_save_IFS
12538
12539   ;;
12540 esac
12541 fi
12542 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
12543 if test -n "$GTKDOC_REBASE"; then
12544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
12545 $as_echo "$GTKDOC_REBASE" >&6; }
12546 else
12547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12548 $as_echo "no" >&6; }
12549 fi
12550
12551
12552   test -n "$GTKDOC_REBASE" && break
12553 done
12554 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
12555
12556   # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
12557 set dummy gtkdoc-mkpdf; ac_word=$2
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12559 $as_echo_n "checking for $ac_word... " >&6; }
12560 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
12561   $as_echo_n "(cached) " >&6
12562 else
12563   case $GTKDOC_MKPDF in
12564   [\\/]* | ?:[\\/]*)
12565   ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
12566   ;;
12567   *)
12568   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12569 for as_dir in $PATH
12570 do
12571   IFS=$as_save_IFS
12572   test -z "$as_dir" && as_dir=.
12573     for ac_exec_ext in '' $ac_executable_extensions; do
12574   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12575     ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
12576     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12577     break 2
12578   fi
12579 done
12580   done
12581 IFS=$as_save_IFS
12582
12583   ;;
12584 esac
12585 fi
12586 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
12587 if test -n "$GTKDOC_MKPDF"; then
12588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
12589 $as_echo "$GTKDOC_MKPDF" >&6; }
12590 else
12591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12592 $as_echo "no" >&6; }
12593 fi
12594
12595
12596
12597
12598 # Check whether --with-html-dir was given.
12599 if test "${with_html_dir+set}" = set; then :
12600   withval=$with_html_dir;
12601 else
12602   with_html_dir='${datadir}/gtk-doc/html'
12603 fi
12604
12605   HTML_DIR="$with_html_dir"
12606
12607
12608     # Check whether --enable-gtk-doc was given.
12609 if test "${enable_gtk_doc+set}" = set; then :
12610   enableval=$enable_gtk_doc;
12611 else
12612   enable_gtk_doc=no
12613 fi
12614
12615
12616   if test x$enable_gtk_doc = xyes; then
12617     if test -n "$PKG_CONFIG" && \
12618     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.18\""; } >&5
12619   ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.18") 2>&5
12620   ac_status=$?
12621   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12622   test $ac_status = 0; }; then
12623   :
12624 else
12625   as_fn_error $? "You need to have gtk-doc >= 1.18 installed to build $PACKAGE_NAME" "$LINENO" 5
12626 fi
12627         if test "x$PACKAGE_NAME" != "xglib"; then
12628
12629 pkg_failed=no
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
12631 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
12632
12633 if test -n "$GTKDOC_DEPS_CFLAGS"; then
12634     pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
12635  elif test -n "$PKG_CONFIG"; then
12636     if test -n "$PKG_CONFIG" && \
12637     { { $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
12638   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
12639   ac_status=$?
12640   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12641   test $ac_status = 0; }; then
12642   pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
12643                       test "x$?" != "x0" && pkg_failed=yes
12644 else
12645   pkg_failed=yes
12646 fi
12647  else
12648     pkg_failed=untried
12649 fi
12650 if test -n "$GTKDOC_DEPS_LIBS"; then
12651     pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
12652  elif test -n "$PKG_CONFIG"; then
12653     if test -n "$PKG_CONFIG" && \
12654     { { $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
12655   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
12656   ac_status=$?
12657   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12658   test $ac_status = 0; }; then
12659   pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
12660                       test "x$?" != "x0" && pkg_failed=yes
12661 else
12662   pkg_failed=yes
12663 fi
12664  else
12665     pkg_failed=untried
12666 fi
12667
12668
12669
12670 if test $pkg_failed = yes; then
12671         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12672 $as_echo "no" >&6; }
12673
12674 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12675         _pkg_short_errors_supported=yes
12676 else
12677         _pkg_short_errors_supported=no
12678 fi
12679         if test $_pkg_short_errors_supported = yes; then
12680                 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`
12681         else
12682                 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
12683         fi
12684         # Put the nasty error message in config.log where it belongs
12685         echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
12686
12687         :
12688 elif test $pkg_failed = untried; then
12689         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12690 $as_echo "no" >&6; }
12691         :
12692 else
12693         GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
12694         GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
12695         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12696 $as_echo "yes" >&6; }
12697
12698 fi
12699     fi
12700   fi
12701
12702   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
12703 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
12704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
12705 $as_echo "$enable_gtk_doc" >&6; }
12706
12707     # Check whether --enable-gtk-doc-html was given.
12708 if test "${enable_gtk_doc_html+set}" = set; then :
12709   enableval=$enable_gtk_doc_html;
12710 else
12711   enable_gtk_doc_html=yes
12712 fi
12713
12714     # Check whether --enable-gtk-doc-pdf was given.
12715 if test "${enable_gtk_doc_pdf+set}" = set; then :
12716   enableval=$enable_gtk_doc_pdf;
12717 else
12718   enable_gtk_doc_pdf=no
12719 fi
12720
12721
12722   if test -z "$GTKDOC_MKPDF"; then
12723     enable_gtk_doc_pdf=no
12724   fi
12725
12726   if test -z "$AM_DEFAULT_VERBOSITY"; then
12727     AM_DEFAULT_VERBOSITY=1
12728   fi
12729
12730
12731    if test x$enable_gtk_doc = xyes; then
12732   ENABLE_GTK_DOC_TRUE=
12733   ENABLE_GTK_DOC_FALSE='#'
12734 else
12735   ENABLE_GTK_DOC_TRUE='#'
12736   ENABLE_GTK_DOC_FALSE=
12737 fi
12738
12739    if test x$enable_gtk_doc_html = xyes; then
12740   GTK_DOC_BUILD_HTML_TRUE=
12741   GTK_DOC_BUILD_HTML_FALSE='#'
12742 else
12743   GTK_DOC_BUILD_HTML_TRUE='#'
12744   GTK_DOC_BUILD_HTML_FALSE=
12745 fi
12746
12747    if test x$enable_gtk_doc_pdf = xyes; then
12748   GTK_DOC_BUILD_PDF_TRUE=
12749   GTK_DOC_BUILD_PDF_FALSE='#'
12750 else
12751   GTK_DOC_BUILD_PDF_TRUE='#'
12752   GTK_DOC_BUILD_PDF_FALSE=
12753 fi
12754
12755    if test -n "$LIBTOOL"; then
12756   GTK_DOC_USE_LIBTOOL_TRUE=
12757   GTK_DOC_USE_LIBTOOL_FALSE='#'
12758 else
12759   GTK_DOC_USE_LIBTOOL_TRUE='#'
12760   GTK_DOC_USE_LIBTOOL_FALSE=
12761 fi
12762
12763    if test -n "$GTKDOC_REBASE"; then
12764   GTK_DOC_USE_REBASE_TRUE=
12765   GTK_DOC_USE_REBASE_FALSE='#'
12766 else
12767   GTK_DOC_USE_REBASE_TRUE='#'
12768   GTK_DOC_USE_REBASE_FALSE=
12769 fi
12770
12771
12772
12773 # Checks for header files.
12774 for ac_header in string.h
12775 do :
12776   ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
12777 if test "x$ac_cv_header_string_h" = xyes; then :
12778   cat >>confdefs.h <<_ACEOF
12779 #define HAVE_STRING_H 1
12780 _ACEOF
12781
12782 fi
12783
12784 done
12785
12786
12787 # Enable feature sets
12788 GSIGNOND_CFLAGS="$GSIGNOND_CFLAGS -D_POSIX_C_SOURCE=\\\"200809L\\\" -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE"
12789
12790 # Checks for typedefs, structures, and compiler characteristics.
12791 GSIGNOND_CFLAGS="$GSIGNOND_CFLAGS -Wall -Werror -DG_LOG_DOMAIN=\\\"gsignond\\\""
12792 # GSIGNOND_LIBS="$GSIGNOND_LIBS -lduma"
12793
12794 # Checks for library functions.
12795
12796 ac_config_files="$ac_config_files Makefile ${PACKAGE_NAME}.pc ${PACKAGE_NAME}-uninstalled.pc 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/daemon/plugins/plugind/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"
12797
12798 cat >confcache <<\_ACEOF
12799 # This file is a shell script that caches the results of configure
12800 # tests run on this system so they can be shared between configure
12801 # scripts and configure runs, see configure's option --config-cache.
12802 # It is not useful on other systems.  If it contains results you don't
12803 # want to keep, you may remove or edit it.
12804 #
12805 # config.status only pays attention to the cache file if you give it
12806 # the --recheck option to rerun configure.
12807 #
12808 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12809 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12810 # following values.
12811
12812 _ACEOF
12813
12814 # The following way of writing the cache mishandles newlines in values,
12815 # but we know of no workaround that is simple, portable, and efficient.
12816 # So, we kill variables containing newlines.
12817 # Ultrix sh set writes to stderr and can't be redirected directly,
12818 # and sets the high bit in the cache file unless we assign to the vars.
12819 (
12820   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12821     eval ac_val=\$$ac_var
12822     case $ac_val in #(
12823     *${as_nl}*)
12824       case $ac_var in #(
12825       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12826 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12827       esac
12828       case $ac_var in #(
12829       _ | IFS | as_nl) ;; #(
12830       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12831       *) { eval $ac_var=; unset $ac_var;} ;;
12832       esac ;;
12833     esac
12834   done
12835
12836   (set) 2>&1 |
12837     case $as_nl`(ac_space=' '; set) 2>&1` in #(
12838     *${as_nl}ac_space=\ *)
12839       # `set' does not quote correctly, so add quotes: double-quote
12840       # substitution turns \\\\ into \\, and sed turns \\ into \.
12841       sed -n \
12842         "s/'/'\\\\''/g;
12843           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12844       ;; #(
12845     *)
12846       # `set' quotes correctly as required by POSIX, so do not add quotes.
12847       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12848       ;;
12849     esac |
12850     sort
12851 ) |
12852   sed '
12853      /^ac_cv_env_/b end
12854      t clear
12855      :clear
12856      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12857      t end
12858      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12859      :end' >>confcache
12860 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12861   if test -w "$cache_file"; then
12862     if test "x$cache_file" != "x/dev/null"; then
12863       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12864 $as_echo "$as_me: updating cache $cache_file" >&6;}
12865       if test ! -f "$cache_file" || test -h "$cache_file"; then
12866         cat confcache >"$cache_file"
12867       else
12868         case $cache_file in #(
12869         */* | ?:*)
12870           mv -f confcache "$cache_file"$$ &&
12871           mv -f "$cache_file"$$ "$cache_file" ;; #(
12872         *)
12873           mv -f confcache "$cache_file" ;;
12874         esac
12875       fi
12876     fi
12877   else
12878     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12879 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12880   fi
12881 fi
12882 rm -f confcache
12883
12884 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12885 # Let make expand exec_prefix.
12886 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12887
12888 DEFS=-DHAVE_CONFIG_H
12889
12890 ac_libobjs=
12891 ac_ltlibobjs=
12892 U=
12893 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12894   # 1. Remove the extension, and $U if already installed.
12895   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12896   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12897   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
12898   #    will be set to the directory where LIBOBJS objects are built.
12899   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12900   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12901 done
12902 LIBOBJS=$ac_libobjs
12903
12904 LTLIBOBJS=$ac_ltlibobjs
12905
12906
12907  if test -n "$EXEEXT"; then
12908   am__EXEEXT_TRUE=
12909   am__EXEEXT_FALSE='#'
12910 else
12911   am__EXEEXT_TRUE='#'
12912   am__EXEEXT_FALSE=
12913 fi
12914
12915 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12916   as_fn_error $? "conditional \"AMDEP\" was never defined.
12917 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12918 fi
12919 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12920   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12921 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12922 fi
12923 if test -z "${HAVE_LIBSMACK_TRUE}" && test -z "${HAVE_LIBSMACK_FALSE}"; then
12924   as_fn_error $? "conditional \"HAVE_LIBSMACK\" was never defined.
12925 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12926 fi
12927 if test -z "${HAVE_LIBECRYPTFS_TRUE}" && test -z "${HAVE_LIBECRYPTFS_FALSE}"; then
12928   as_fn_error $? "conditional \"HAVE_LIBECRYPTFS\" was never defined.
12929 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12930 fi
12931 if test -z "${USE_GTESTDBUS_TRUE}" && test -z "${USE_GTESTDBUS_FALSE}"; then
12932   as_fn_error $? "conditional \"USE_GTESTDBUS\" was never defined.
12933 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12934 fi
12935 if test -z "${HAVE_DEBUG_TRUE}" && test -z "${HAVE_DEBUG_FALSE}"; then
12936   as_fn_error $? "conditional \"HAVE_DEBUG\" was never defined.
12937 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12938 fi
12939 if test -z "${SET_PERMISSIONS_TRUE}" && test -z "${SET_PERMISSIONS_FALSE}"; then
12940   as_fn_error $? "conditional \"SET_PERMISSIONS\" was never defined.
12941 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12942 fi
12943 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
12944   as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
12945 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12946 fi
12947 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
12948   as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
12949 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12950 fi
12951 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
12952   as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
12953 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12954 fi
12955 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
12956   as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
12957 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12958 fi
12959 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
12960   as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
12961 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12962 fi
12963
12964 : "${CONFIG_STATUS=./config.status}"
12965 ac_write_fail=0
12966 ac_clean_files_save=$ac_clean_files
12967 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12969 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12970 as_write_fail=0
12971 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12972 #! $SHELL
12973 # Generated by $as_me.
12974 # Run this file to recreate the current configuration.
12975 # Compiler output produced by configure, useful for debugging
12976 # configure, is in config.log if it exists.
12977
12978 debug=false
12979 ac_cs_recheck=false
12980 ac_cs_silent=false
12981
12982 SHELL=\${CONFIG_SHELL-$SHELL}
12983 export SHELL
12984 _ASEOF
12985 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12986 ## -------------------- ##
12987 ## M4sh Initialization. ##
12988 ## -------------------- ##
12989
12990 # Be more Bourne compatible
12991 DUALCASE=1; export DUALCASE # for MKS sh
12992 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12993   emulate sh
12994   NULLCMD=:
12995   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12996   # is contrary to our usage.  Disable this feature.
12997   alias -g '${1+"$@"}'='"$@"'
12998   setopt NO_GLOB_SUBST
12999 else
13000   case `(set -o) 2>/dev/null` in #(
13001   *posix*) :
13002     set -o posix ;; #(
13003   *) :
13004      ;;
13005 esac
13006 fi
13007
13008
13009 as_nl='
13010 '
13011 export as_nl
13012 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13013 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13014 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13015 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13016 # Prefer a ksh shell builtin over an external printf program on Solaris,
13017 # but without wasting forks for bash or zsh.
13018 if test -z "$BASH_VERSION$ZSH_VERSION" \
13019     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13020   as_echo='print -r --'
13021   as_echo_n='print -rn --'
13022 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13023   as_echo='printf %s\n'
13024   as_echo_n='printf %s'
13025 else
13026   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13027     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13028     as_echo_n='/usr/ucb/echo -n'
13029   else
13030     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13031     as_echo_n_body='eval
13032       arg=$1;
13033       case $arg in #(
13034       *"$as_nl"*)
13035         expr "X$arg" : "X\\(.*\\)$as_nl";
13036         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13037       esac;
13038       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13039     '
13040     export as_echo_n_body
13041     as_echo_n='sh -c $as_echo_n_body as_echo'
13042   fi
13043   export as_echo_body
13044   as_echo='sh -c $as_echo_body as_echo'
13045 fi
13046
13047 # The user is always right.
13048 if test "${PATH_SEPARATOR+set}" != set; then
13049   PATH_SEPARATOR=:
13050   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13051     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13052       PATH_SEPARATOR=';'
13053   }
13054 fi
13055
13056
13057 # IFS
13058 # We need space, tab and new line, in precisely that order.  Quoting is
13059 # there to prevent editors from complaining about space-tab.
13060 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13061 # splitting by setting IFS to empty value.)
13062 IFS=" ""        $as_nl"
13063
13064 # Find who we are.  Look in the path if we contain no directory separator.
13065 as_myself=
13066 case $0 in #((
13067   *[\\/]* ) as_myself=$0 ;;
13068   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13069 for as_dir in $PATH
13070 do
13071   IFS=$as_save_IFS
13072   test -z "$as_dir" && as_dir=.
13073     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13074   done
13075 IFS=$as_save_IFS
13076
13077      ;;
13078 esac
13079 # We did not find ourselves, most probably we were run as `sh COMMAND'
13080 # in which case we are not to be found in the path.
13081 if test "x$as_myself" = x; then
13082   as_myself=$0
13083 fi
13084 if test ! -f "$as_myself"; then
13085   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13086   exit 1
13087 fi
13088
13089 # Unset variables that we do not need and which cause bugs (e.g. in
13090 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
13091 # suppresses any "Segmentation fault" message there.  '((' could
13092 # trigger a bug in pdksh 5.2.14.
13093 for as_var in BASH_ENV ENV MAIL MAILPATH
13094 do eval test x\${$as_var+set} = xset \
13095   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13096 done
13097 PS1='$ '
13098 PS2='> '
13099 PS4='+ '
13100
13101 # NLS nuisances.
13102 LC_ALL=C
13103 export LC_ALL
13104 LANGUAGE=C
13105 export LANGUAGE
13106
13107 # CDPATH.
13108 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13109
13110
13111 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13112 # ----------------------------------------
13113 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13114 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13115 # script with STATUS, using 1 if that was 0.
13116 as_fn_error ()
13117 {
13118   as_status=$1; test $as_status -eq 0 && as_status=1
13119   if test "$4"; then
13120     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13121     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13122   fi
13123   $as_echo "$as_me: error: $2" >&2
13124   as_fn_exit $as_status
13125 } # as_fn_error
13126
13127
13128 # as_fn_set_status STATUS
13129 # -----------------------
13130 # Set $? to STATUS, without forking.
13131 as_fn_set_status ()
13132 {
13133   return $1
13134 } # as_fn_set_status
13135
13136 # as_fn_exit STATUS
13137 # -----------------
13138 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13139 as_fn_exit ()
13140 {
13141   set +e
13142   as_fn_set_status $1
13143   exit $1
13144 } # as_fn_exit
13145
13146 # as_fn_unset VAR
13147 # ---------------
13148 # Portably unset VAR.
13149 as_fn_unset ()
13150 {
13151   { eval $1=; unset $1;}
13152 }
13153 as_unset=as_fn_unset
13154 # as_fn_append VAR VALUE
13155 # ----------------------
13156 # Append the text in VALUE to the end of the definition contained in VAR. Take
13157 # advantage of any shell optimizations that allow amortized linear growth over
13158 # repeated appends, instead of the typical quadratic growth present in naive
13159 # implementations.
13160 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13161   eval 'as_fn_append ()
13162   {
13163     eval $1+=\$2
13164   }'
13165 else
13166   as_fn_append ()
13167   {
13168     eval $1=\$$1\$2
13169   }
13170 fi # as_fn_append
13171
13172 # as_fn_arith ARG...
13173 # ------------------
13174 # Perform arithmetic evaluation on the ARGs, and store the result in the
13175 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13176 # must be portable across $(()) and expr.
13177 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13178   eval 'as_fn_arith ()
13179   {
13180     as_val=$(( $* ))
13181   }'
13182 else
13183   as_fn_arith ()
13184   {
13185     as_val=`expr "$@" || test $? -eq 1`
13186   }
13187 fi # as_fn_arith
13188
13189
13190 if expr a : '\(a\)' >/dev/null 2>&1 &&
13191    test "X`expr 00001 : '.*\(...\)'`" = X001; then
13192   as_expr=expr
13193 else
13194   as_expr=false
13195 fi
13196
13197 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13198   as_basename=basename
13199 else
13200   as_basename=false
13201 fi
13202
13203 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13204   as_dirname=dirname
13205 else
13206   as_dirname=false
13207 fi
13208
13209 as_me=`$as_basename -- "$0" ||
13210 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13211          X"$0" : 'X\(//\)$' \| \
13212          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13213 $as_echo X/"$0" |
13214     sed '/^.*\/\([^/][^/]*\)\/*$/{
13215             s//\1/
13216             q
13217           }
13218           /^X\/\(\/\/\)$/{
13219             s//\1/
13220             q
13221           }
13222           /^X\/\(\/\).*/{
13223             s//\1/
13224             q
13225           }
13226           s/.*/./; q'`
13227
13228 # Avoid depending upon Character Ranges.
13229 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13230 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13231 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13232 as_cr_digits='0123456789'
13233 as_cr_alnum=$as_cr_Letters$as_cr_digits
13234
13235 ECHO_C= ECHO_N= ECHO_T=
13236 case `echo -n x` in #(((((
13237 -n*)
13238   case `echo 'xy\c'` in
13239   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
13240   xy)  ECHO_C='\c';;
13241   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
13242        ECHO_T=' ';;
13243   esac;;
13244 *)
13245   ECHO_N='-n';;
13246 esac
13247
13248 rm -f conf$$ conf$$.exe conf$$.file
13249 if test -d conf$$.dir; then
13250   rm -f conf$$.dir/conf$$.file
13251 else
13252   rm -f conf$$.dir
13253   mkdir conf$$.dir 2>/dev/null
13254 fi
13255 if (echo >conf$$.file) 2>/dev/null; then
13256   if ln -s conf$$.file conf$$ 2>/dev/null; then
13257     as_ln_s='ln -s'
13258     # ... but there are two gotchas:
13259     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13260     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13261     # In both cases, we have to default to `cp -pR'.
13262     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13263       as_ln_s='cp -pR'
13264   elif ln conf$$.file conf$$ 2>/dev/null; then
13265     as_ln_s=ln
13266   else
13267     as_ln_s='cp -pR'
13268   fi
13269 else
13270   as_ln_s='cp -pR'
13271 fi
13272 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13273 rmdir conf$$.dir 2>/dev/null
13274
13275
13276 # as_fn_mkdir_p
13277 # -------------
13278 # Create "$as_dir" as a directory, including parents if necessary.
13279 as_fn_mkdir_p ()
13280 {
13281
13282   case $as_dir in #(
13283   -*) as_dir=./$as_dir;;
13284   esac
13285   test -d "$as_dir" || eval $as_mkdir_p || {
13286     as_dirs=
13287     while :; do
13288       case $as_dir in #(
13289       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13290       *) as_qdir=$as_dir;;
13291       esac
13292       as_dirs="'$as_qdir' $as_dirs"
13293       as_dir=`$as_dirname -- "$as_dir" ||
13294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13295          X"$as_dir" : 'X\(//\)[^/]' \| \
13296          X"$as_dir" : 'X\(//\)$' \| \
13297          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13298 $as_echo X"$as_dir" |
13299     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13300             s//\1/
13301             q
13302           }
13303           /^X\(\/\/\)[^/].*/{
13304             s//\1/
13305             q
13306           }
13307           /^X\(\/\/\)$/{
13308             s//\1/
13309             q
13310           }
13311           /^X\(\/\).*/{
13312             s//\1/
13313             q
13314           }
13315           s/.*/./; q'`
13316       test -d "$as_dir" && break
13317     done
13318     test -z "$as_dirs" || eval "mkdir $as_dirs"
13319   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13320
13321
13322 } # as_fn_mkdir_p
13323 if mkdir -p . 2>/dev/null; then
13324   as_mkdir_p='mkdir -p "$as_dir"'
13325 else
13326   test -d ./-p && rmdir ./-p
13327   as_mkdir_p=false
13328 fi
13329
13330
13331 # as_fn_executable_p FILE
13332 # -----------------------
13333 # Test if FILE is an executable regular file.
13334 as_fn_executable_p ()
13335 {
13336   test -f "$1" && test -x "$1"
13337 } # as_fn_executable_p
13338 as_test_x='test -x'
13339 as_executable_p=as_fn_executable_p
13340
13341 # Sed expression to map a string onto a valid CPP name.
13342 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13343
13344 # Sed expression to map a string onto a valid variable name.
13345 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13346
13347
13348 exec 6>&1
13349 ## ----------------------------------- ##
13350 ## Main body of $CONFIG_STATUS script. ##
13351 ## ----------------------------------- ##
13352 _ASEOF
13353 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13354
13355 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13356 # Save the log message, to keep $0 and so on meaningful, and to
13357 # report actual input values of CONFIG_FILES etc. instead of their
13358 # values after options handling.
13359 ac_log="
13360 This file was extended by gsignond $as_me 0.0.3, which was
13361 generated by GNU Autoconf 2.69.  Invocation command line was
13362
13363   CONFIG_FILES    = $CONFIG_FILES
13364   CONFIG_HEADERS  = $CONFIG_HEADERS
13365   CONFIG_LINKS    = $CONFIG_LINKS
13366   CONFIG_COMMANDS = $CONFIG_COMMANDS
13367   $ $0 $@
13368
13369 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13370 "
13371
13372 _ACEOF
13373
13374 case $ac_config_files in *"
13375 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13376 esac
13377
13378 case $ac_config_headers in *"
13379 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13380 esac
13381
13382
13383 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13384 # Files that config.status was made for.
13385 config_files="$ac_config_files"
13386 config_headers="$ac_config_headers"
13387 config_commands="$ac_config_commands"
13388
13389 _ACEOF
13390
13391 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13392 ac_cs_usage="\
13393 \`$as_me' instantiates files and other configuration actions
13394 from templates according to the current configuration.  Unless the files
13395 and actions are specified as TAGs, all are instantiated by default.
13396
13397 Usage: $0 [OPTION]... [TAG]...
13398
13399   -h, --help       print this help, then exit
13400   -V, --version    print version number and configuration settings, then exit
13401       --config     print configuration, then exit
13402   -q, --quiet, --silent
13403                    do not print progress messages
13404   -d, --debug      don't remove temporary files
13405       --recheck    update $as_me by reconfiguring in the same conditions
13406       --file=FILE[:TEMPLATE]
13407                    instantiate the configuration file FILE
13408       --header=FILE[:TEMPLATE]
13409                    instantiate the configuration header FILE
13410
13411 Configuration files:
13412 $config_files
13413
13414 Configuration headers:
13415 $config_headers
13416
13417 Configuration commands:
13418 $config_commands
13419
13420 Report bugs to the package provider.
13421 gsignond home page: <http://01.org/gsso>."
13422
13423 _ACEOF
13424 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13425 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13426 ac_cs_version="\\
13427 gsignond config.status 0.0.3
13428 configured by $0, generated by GNU Autoconf 2.69,
13429   with options \\"\$ac_cs_config\\"
13430
13431 Copyright (C) 2012 Free Software Foundation, Inc.
13432 This config.status script is free software; the Free Software Foundation
13433 gives unlimited permission to copy, distribute and modify it."
13434
13435 ac_pwd='$ac_pwd'
13436 srcdir='$srcdir'
13437 INSTALL='$INSTALL'
13438 MKDIR_P='$MKDIR_P'
13439 AWK='$AWK'
13440 test -n "\$AWK" || AWK=awk
13441 _ACEOF
13442
13443 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13444 # The default lists apply if the user does not specify any file.
13445 ac_need_defaults=:
13446 while test $# != 0
13447 do
13448   case $1 in
13449   --*=?*)
13450     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13451     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13452     ac_shift=:
13453     ;;
13454   --*=)
13455     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13456     ac_optarg=
13457     ac_shift=:
13458     ;;
13459   *)
13460     ac_option=$1
13461     ac_optarg=$2
13462     ac_shift=shift
13463     ;;
13464   esac
13465
13466   case $ac_option in
13467   # Handling of the options.
13468   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13469     ac_cs_recheck=: ;;
13470   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13471     $as_echo "$ac_cs_version"; exit ;;
13472   --config | --confi | --conf | --con | --co | --c )
13473     $as_echo "$ac_cs_config"; exit ;;
13474   --debug | --debu | --deb | --de | --d | -d )
13475     debug=: ;;
13476   --file | --fil | --fi | --f )
13477     $ac_shift
13478     case $ac_optarg in
13479     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13480     '') as_fn_error $? "missing file argument" ;;
13481     esac
13482     as_fn_append CONFIG_FILES " '$ac_optarg'"
13483     ac_need_defaults=false;;
13484   --header | --heade | --head | --hea )
13485     $ac_shift
13486     case $ac_optarg in
13487     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13488     esac
13489     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13490     ac_need_defaults=false;;
13491   --he | --h)
13492     # Conflict between --help and --header
13493     as_fn_error $? "ambiguous option: \`$1'
13494 Try \`$0 --help' for more information.";;
13495   --help | --hel | -h )
13496     $as_echo "$ac_cs_usage"; exit ;;
13497   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13498   | -silent | --silent | --silen | --sile | --sil | --si | --s)
13499     ac_cs_silent=: ;;
13500
13501   # This is an error.
13502   -*) as_fn_error $? "unrecognized option: \`$1'
13503 Try \`$0 --help' for more information." ;;
13504
13505   *) as_fn_append ac_config_targets " $1"
13506      ac_need_defaults=false ;;
13507
13508   esac
13509   shift
13510 done
13511
13512 ac_configure_extra_args=
13513
13514 if $ac_cs_silent; then
13515   exec 6>/dev/null
13516   ac_configure_extra_args="$ac_configure_extra_args --silent"
13517 fi
13518
13519 _ACEOF
13520 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13521 if \$ac_cs_recheck; then
13522   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13523   shift
13524   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13525   CONFIG_SHELL='$SHELL'
13526   export CONFIG_SHELL
13527   exec "\$@"
13528 fi
13529
13530 _ACEOF
13531 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13532 exec 5>>config.log
13533 {
13534   echo
13535   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13536 ## Running $as_me. ##
13537 _ASBOX
13538   $as_echo "$ac_log"
13539 } >&5
13540
13541 _ACEOF
13542 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13543 #
13544 # INIT-COMMANDS
13545 #
13546 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13547
13548
13549 # The HP-UX ksh and POSIX shell print the target directory to stdout
13550 # if CDPATH is set.
13551 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13552
13553 sed_quote_subst='$sed_quote_subst'
13554 double_quote_subst='$double_quote_subst'
13555 delay_variable_subst='$delay_variable_subst'
13556 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13557 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13558 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13559 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13560 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13561 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13562 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13563 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13564 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13565 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13566 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13567 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13568 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13569 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13570 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13571 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13572 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13573 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13574 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13575 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13576 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13577 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13578 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13579 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13580 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13581 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13582 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13583 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13584 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13585 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13586 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13587 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13588 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13589 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13590 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13591 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13592 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13593 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13594 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13595 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13596 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13597 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13598 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13599 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13600 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13601 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13602 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13603 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13604 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13605 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13606 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13607 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13608 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13609 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13610 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13611 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13612 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"`'
13613 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13614 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13615 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13616 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13617 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13618 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13619 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13620 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13621 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13622 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13623 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13624 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13625 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13626 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13627 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13628 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13629 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13630 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13631 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13632 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13633 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13634 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13635 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13636 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13637 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13638 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13639 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13640 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13641 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13642 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13643 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13644 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13645 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13646 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13647 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13648 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13649 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13650 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13651 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13652 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13653 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13654 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13655 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13656 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13657 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13658 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13659 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13660 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13661 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13662 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13663 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13664 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13665 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13666 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13667 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13668 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13669 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13670 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13671 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13672 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13673 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13674 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13675 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13676 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13677 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13678 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13679 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13680 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13681 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13682 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13683 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13684 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13685 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13686
13687 LTCC='$LTCC'
13688 LTCFLAGS='$LTCFLAGS'
13689 compiler='$compiler_DEFAULT'
13690
13691 # A function that is used when there is no print builtin or printf.
13692 func_fallback_echo ()
13693 {
13694   eval 'cat <<_LTECHO_EOF
13695 \$1
13696 _LTECHO_EOF'
13697 }
13698
13699 # Quote evaled strings.
13700 for var in SHELL \
13701 ECHO \
13702 PATH_SEPARATOR \
13703 SED \
13704 GREP \
13705 EGREP \
13706 FGREP \
13707 LD \
13708 NM \
13709 LN_S \
13710 lt_SP2NL \
13711 lt_NL2SP \
13712 reload_flag \
13713 OBJDUMP \
13714 deplibs_check_method \
13715 file_magic_cmd \
13716 file_magic_glob \
13717 want_nocaseglob \
13718 DLLTOOL \
13719 sharedlib_from_linklib_cmd \
13720 AR \
13721 AR_FLAGS \
13722 archiver_list_spec \
13723 STRIP \
13724 RANLIB \
13725 CC \
13726 CFLAGS \
13727 compiler \
13728 lt_cv_sys_global_symbol_pipe \
13729 lt_cv_sys_global_symbol_to_cdecl \
13730 lt_cv_sys_global_symbol_to_c_name_address \
13731 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13732 nm_file_list_spec \
13733 lt_prog_compiler_no_builtin_flag \
13734 lt_prog_compiler_pic \
13735 lt_prog_compiler_wl \
13736 lt_prog_compiler_static \
13737 lt_cv_prog_compiler_c_o \
13738 need_locks \
13739 MANIFEST_TOOL \
13740 DSYMUTIL \
13741 NMEDIT \
13742 LIPO \
13743 OTOOL \
13744 OTOOL64 \
13745 shrext_cmds \
13746 export_dynamic_flag_spec \
13747 whole_archive_flag_spec \
13748 compiler_needs_object \
13749 with_gnu_ld \
13750 allow_undefined_flag \
13751 no_undefined_flag \
13752 hardcode_libdir_flag_spec \
13753 hardcode_libdir_separator \
13754 exclude_expsyms \
13755 include_expsyms \
13756 file_list_spec \
13757 variables_saved_for_relink \
13758 libname_spec \
13759 library_names_spec \
13760 soname_spec \
13761 install_override_mode \
13762 finish_eval \
13763 old_striplib \
13764 striplib; do
13765     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13766     *[\\\\\\\`\\"\\\$]*)
13767       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13768       ;;
13769     *)
13770       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13771       ;;
13772     esac
13773 done
13774
13775 # Double-quote double-evaled strings.
13776 for var in reload_cmds \
13777 old_postinstall_cmds \
13778 old_postuninstall_cmds \
13779 old_archive_cmds \
13780 extract_expsyms_cmds \
13781 old_archive_from_new_cmds \
13782 old_archive_from_expsyms_cmds \
13783 archive_cmds \
13784 archive_expsym_cmds \
13785 module_cmds \
13786 module_expsym_cmds \
13787 export_symbols_cmds \
13788 prelink_cmds \
13789 postlink_cmds \
13790 postinstall_cmds \
13791 postuninstall_cmds \
13792 finish_cmds \
13793 sys_lib_search_path_spec \
13794 sys_lib_dlsearch_path_spec; do
13795     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13796     *[\\\\\\\`\\"\\\$]*)
13797       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13798       ;;
13799     *)
13800       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13801       ;;
13802     esac
13803 done
13804
13805 ac_aux_dir='$ac_aux_dir'
13806 xsi_shell='$xsi_shell'
13807 lt_shell_append='$lt_shell_append'
13808
13809 # See if we are running on zsh, and set the options which allow our
13810 # commands through without removal of \ escapes INIT.
13811 if test -n "\${ZSH_VERSION+set}" ; then
13812    setopt NO_GLOB_SUBST
13813 fi
13814
13815
13816     PACKAGE='$PACKAGE'
13817     VERSION='$VERSION'
13818     TIMESTAMP='$TIMESTAMP'
13819     RM='$RM'
13820     ofile='$ofile'
13821
13822
13823
13824
13825 _ACEOF
13826
13827 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13828
13829 # Handling of arguments.
13830 for ac_config_target in $ac_config_targets
13831 do
13832   case $ac_config_target in
13833     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13834     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13835     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13836     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13837     "${PACKAGE_NAME}.pc") CONFIG_FILES="$CONFIG_FILES ${PACKAGE_NAME}.pc" ;;
13838     "${PACKAGE_NAME}-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES ${PACKAGE_NAME}-uninstalled.pc" ;;
13839     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
13840     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13841     "src/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/Makefile" ;;
13842     "src/common/db/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/db/Makefile" ;;
13843     "src/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/Makefile" ;;
13844     "src/daemon/db/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/db/Makefile" ;;
13845     "src/daemon/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/Makefile" ;;
13846     "src/daemon/dbus/services/com.google.code.AccountsSSO.gSingleSignOn.service") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/services/com.google.code.AccountsSSO.gSingleSignOn.service" ;;
13847     "src/daemon/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/plugins/Makefile" ;;
13848     "src/daemon/plugins/plugind/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/plugins/plugind/Makefile" ;;
13849     "src/extensions/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/Makefile" ;;
13850     "src/extensions/test/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/test/Makefile" ;;
13851     "src/extensions/tizen/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/tizen/Makefile" ;;
13852     "src/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/Makefile" ;;
13853     "src/plugins/password/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/password/Makefile" ;;
13854     "src/plugins/ssotest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/ssotest/Makefile" ;;
13855     "src/plugins/digest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/digest/Makefile" ;;
13856     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
13857     "test/common/Makefile") CONFIG_FILES="$CONFIG_FILES test/common/Makefile" ;;
13858     "test/db/Makefile") CONFIG_FILES="$CONFIG_FILES test/db/Makefile" ;;
13859     "test/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES test/daemon/Makefile" ;;
13860     "test/daemon/gsignond-dbus.conf") CONFIG_FILES="$CONFIG_FILES test/daemon/gsignond-dbus.conf" ;;
13861     "test/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES test/plugins/Makefile" ;;
13862
13863   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13864   esac
13865 done
13866
13867
13868 # If the user did not use the arguments to specify the items to instantiate,
13869 # then the envvar interface is used.  Set only those that are not.
13870 # We use the long form for the default assignment because of an extremely
13871 # bizarre bug on SunOS 4.1.3.
13872 if $ac_need_defaults; then
13873   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13874   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13875   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13876 fi
13877
13878 # Have a temporary directory for convenience.  Make it in the build tree
13879 # simply because there is no reason against having it here, and in addition,
13880 # creating and moving files from /tmp can sometimes cause problems.
13881 # Hook for its removal unless debugging.
13882 # Note that there is a small window in which the directory will not be cleaned:
13883 # after its creation but before its name has been assigned to `$tmp'.
13884 $debug ||
13885 {
13886   tmp= ac_tmp=
13887   trap 'exit_status=$?
13888   : "${ac_tmp:=$tmp}"
13889   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13890 ' 0
13891   trap 'as_fn_exit 1' 1 2 13 15
13892 }
13893 # Create a (secure) tmp directory for tmp files.
13894
13895 {
13896   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13897   test -d "$tmp"
13898 }  ||
13899 {
13900   tmp=./conf$$-$RANDOM
13901   (umask 077 && mkdir "$tmp")
13902 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13903 ac_tmp=$tmp
13904
13905 # Set up the scripts for CONFIG_FILES section.
13906 # No need to generate them if there are no CONFIG_FILES.
13907 # This happens for instance with `./config.status config.h'.
13908 if test -n "$CONFIG_FILES"; then
13909
13910
13911 ac_cr=`echo X | tr X '\015'`
13912 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13913 # But we know of no other shell where ac_cr would be empty at this
13914 # point, so we can use a bashism as a fallback.
13915 if test "x$ac_cr" = x; then
13916   eval ac_cr=\$\'\\r\'
13917 fi
13918 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13919 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13920   ac_cs_awk_cr='\\r'
13921 else
13922   ac_cs_awk_cr=$ac_cr
13923 fi
13924
13925 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13926 _ACEOF
13927
13928
13929 {
13930   echo "cat >conf$$subs.awk <<_ACEOF" &&
13931   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13932   echo "_ACEOF"
13933 } >conf$$subs.sh ||
13934   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13935 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13936 ac_delim='%!_!# '
13937 for ac_last_try in false false false false false :; do
13938   . ./conf$$subs.sh ||
13939     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13940
13941   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13942   if test $ac_delim_n = $ac_delim_num; then
13943     break
13944   elif $ac_last_try; then
13945     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13946   else
13947     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13948   fi
13949 done
13950 rm -f conf$$subs.sh
13951
13952 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13953 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13954 _ACEOF
13955 sed -n '
13956 h
13957 s/^/S["/; s/!.*/"]=/
13958 p
13959 g
13960 s/^[^!]*!//
13961 :repl
13962 t repl
13963 s/'"$ac_delim"'$//
13964 t delim
13965 :nl
13966 h
13967 s/\(.\{148\}\)..*/\1/
13968 t more1
13969 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13970 p
13971 n
13972 b repl
13973 :more1
13974 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13975 p
13976 g
13977 s/.\{148\}//
13978 t nl
13979 :delim
13980 h
13981 s/\(.\{148\}\)..*/\1/
13982 t more2
13983 s/["\\]/\\&/g; s/^/"/; s/$/"/
13984 p
13985 b
13986 :more2
13987 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13988 p
13989 g
13990 s/.\{148\}//
13991 t delim
13992 ' <conf$$subs.awk | sed '
13993 /^[^""]/{
13994   N
13995   s/\n//
13996 }
13997 ' >>$CONFIG_STATUS || ac_write_fail=1
13998 rm -f conf$$subs.awk
13999 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14000 _ACAWK
14001 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14002   for (key in S) S_is_set[key] = 1
14003   FS = "\a"
14004
14005 }
14006 {
14007   line = $ 0
14008   nfields = split(line, field, "@")
14009   substed = 0
14010   len = length(field[1])
14011   for (i = 2; i < nfields; i++) {
14012     key = field[i]
14013     keylen = length(key)
14014     if (S_is_set[key]) {
14015       value = S[key]
14016       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14017       len += length(value) + length(field[++i])
14018       substed = 1
14019     } else
14020       len += 1 + keylen
14021   }
14022
14023   print line
14024 }
14025
14026 _ACAWK
14027 _ACEOF
14028 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14029 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14030   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14031 else
14032   cat
14033 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14034   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14035 _ACEOF
14036
14037 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14038 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14039 # trailing colons and then remove the whole line if VPATH becomes empty
14040 # (actually we leave an empty line to preserve line numbers).
14041 if test "x$srcdir" = x.; then
14042   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
14043 h
14044 s///
14045 s/^/:/
14046 s/[      ]*$/:/
14047 s/:\$(srcdir):/:/g
14048 s/:\${srcdir}:/:/g
14049 s/:@srcdir@:/:/g
14050 s/^:*//
14051 s/:*$//
14052 x
14053 s/\(=[   ]*\).*/\1/
14054 G
14055 s/\n//
14056 s/^[^=]*=[       ]*$//
14057 }'
14058 fi
14059
14060 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14061 fi # test -n "$CONFIG_FILES"
14062
14063 # Set up the scripts for CONFIG_HEADERS section.
14064 # No need to generate them if there are no CONFIG_HEADERS.
14065 # This happens for instance with `./config.status Makefile'.
14066 if test -n "$CONFIG_HEADERS"; then
14067 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14068 BEGIN {
14069 _ACEOF
14070
14071 # Transform confdefs.h into an awk script `defines.awk', embedded as
14072 # here-document in config.status, that substitutes the proper values into
14073 # config.h.in to produce config.h.
14074
14075 # Create a delimiter string that does not exist in confdefs.h, to ease
14076 # handling of long lines.
14077 ac_delim='%!_!# '
14078 for ac_last_try in false false :; do
14079   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14080   if test -z "$ac_tt"; then
14081     break
14082   elif $ac_last_try; then
14083     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14084   else
14085     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14086   fi
14087 done
14088
14089 # For the awk script, D is an array of macro values keyed by name,
14090 # likewise P contains macro parameters if any.  Preserve backslash
14091 # newline sequences.
14092
14093 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14094 sed -n '
14095 s/.\{148\}/&'"$ac_delim"'/g
14096 t rset
14097 :rset
14098 s/^[     ]*#[    ]*define[       ][      ]*/ /
14099 t def
14100 d
14101 :def
14102 s/\\$//
14103 t bsnl
14104 s/["\\]/\\&/g
14105 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14106 D["\1"]=" \3"/p
14107 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
14108 d
14109 :bsnl
14110 s/["\\]/\\&/g
14111 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14112 D["\1"]=" \3\\\\\\n"\\/p
14113 t cont
14114 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14115 t cont
14116 d
14117 :cont
14118 n
14119 s/.\{148\}/&'"$ac_delim"'/g
14120 t clear
14121 :clear
14122 s/\\$//
14123 t bsnlc
14124 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14125 d
14126 :bsnlc
14127 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14128 b cont
14129 ' <confdefs.h | sed '
14130 s/'"$ac_delim"'/"\\\
14131 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14132
14133 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14134   for (key in D) D_is_set[key] = 1
14135   FS = "\a"
14136 }
14137 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14138   line = \$ 0
14139   split(line, arg, " ")
14140   if (arg[1] == "#") {
14141     defundef = arg[2]
14142     mac1 = arg[3]
14143   } else {
14144     defundef = substr(arg[1], 2)
14145     mac1 = arg[2]
14146   }
14147   split(mac1, mac2, "(") #)
14148   macro = mac2[1]
14149   prefix = substr(line, 1, index(line, defundef) - 1)
14150   if (D_is_set[macro]) {
14151     # Preserve the white space surrounding the "#".
14152     print prefix "define", macro P[macro] D[macro]
14153     next
14154   } else {
14155     # Replace #undef with comments.  This is necessary, for example,
14156     # in the case of _POSIX_SOURCE, which is predefined and required
14157     # on some systems where configure will not decide to define it.
14158     if (defundef == "undef") {
14159       print "/*", prefix defundef, macro, "*/"
14160       next
14161     }
14162   }
14163 }
14164 { print }
14165 _ACAWK
14166 _ACEOF
14167 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14168   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14169 fi # test -n "$CONFIG_HEADERS"
14170
14171
14172 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
14173 shift
14174 for ac_tag
14175 do
14176   case $ac_tag in
14177   :[FHLC]) ac_mode=$ac_tag; continue;;
14178   esac
14179   case $ac_mode$ac_tag in
14180   :[FHL]*:*);;
14181   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14182   :[FH]-) ac_tag=-:-;;
14183   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14184   esac
14185   ac_save_IFS=$IFS
14186   IFS=:
14187   set x $ac_tag
14188   IFS=$ac_save_IFS
14189   shift
14190   ac_file=$1
14191   shift
14192
14193   case $ac_mode in
14194   :L) ac_source=$1;;
14195   :[FH])
14196     ac_file_inputs=
14197     for ac_f
14198     do
14199       case $ac_f in
14200       -) ac_f="$ac_tmp/stdin";;
14201       *) # Look for the file first in the build tree, then in the source tree
14202          # (if the path is not absolute).  The absolute path cannot be DOS-style,
14203          # because $ac_f cannot contain `:'.
14204          test -f "$ac_f" ||
14205            case $ac_f in
14206            [\\/$]*) false;;
14207            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14208            esac ||
14209            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14210       esac
14211       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14212       as_fn_append ac_file_inputs " '$ac_f'"
14213     done
14214
14215     # Let's still pretend it is `configure' which instantiates (i.e., don't
14216     # use $as_me), people would be surprised to read:
14217     #    /* config.h.  Generated by config.status.  */
14218     configure_input='Generated from '`
14219           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14220         `' by configure.'
14221     if test x"$ac_file" != x-; then
14222       configure_input="$ac_file.  $configure_input"
14223       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14224 $as_echo "$as_me: creating $ac_file" >&6;}
14225     fi
14226     # Neutralize special characters interpreted by sed in replacement strings.
14227     case $configure_input in #(
14228     *\&* | *\|* | *\\* )
14229        ac_sed_conf_input=`$as_echo "$configure_input" |
14230        sed 's/[\\\\&|]/\\\\&/g'`;; #(
14231     *) ac_sed_conf_input=$configure_input;;
14232     esac
14233
14234     case $ac_tag in
14235     *:-:* | *:-) cat >"$ac_tmp/stdin" \
14236       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14237     esac
14238     ;;
14239   esac
14240
14241   ac_dir=`$as_dirname -- "$ac_file" ||
14242 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14243          X"$ac_file" : 'X\(//\)[^/]' \| \
14244          X"$ac_file" : 'X\(//\)$' \| \
14245          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14246 $as_echo X"$ac_file" |
14247     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14248             s//\1/
14249             q
14250           }
14251           /^X\(\/\/\)[^/].*/{
14252             s//\1/
14253             q
14254           }
14255           /^X\(\/\/\)$/{
14256             s//\1/
14257             q
14258           }
14259           /^X\(\/\).*/{
14260             s//\1/
14261             q
14262           }
14263           s/.*/./; q'`
14264   as_dir="$ac_dir"; as_fn_mkdir_p
14265   ac_builddir=.
14266
14267 case "$ac_dir" in
14268 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14269 *)
14270   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14271   # A ".." for each directory in $ac_dir_suffix.
14272   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14273   case $ac_top_builddir_sub in
14274   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14275   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14276   esac ;;
14277 esac
14278 ac_abs_top_builddir=$ac_pwd
14279 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14280 # for backward compatibility:
14281 ac_top_builddir=$ac_top_build_prefix
14282
14283 case $srcdir in
14284   .)  # We are building in place.
14285     ac_srcdir=.
14286     ac_top_srcdir=$ac_top_builddir_sub
14287     ac_abs_top_srcdir=$ac_pwd ;;
14288   [\\/]* | ?:[\\/]* )  # Absolute name.
14289     ac_srcdir=$srcdir$ac_dir_suffix;
14290     ac_top_srcdir=$srcdir
14291     ac_abs_top_srcdir=$srcdir ;;
14292   *) # Relative name.
14293     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14294     ac_top_srcdir=$ac_top_build_prefix$srcdir
14295     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14296 esac
14297 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14298
14299
14300   case $ac_mode in
14301   :F)
14302   #
14303   # CONFIG_FILE
14304   #
14305
14306   case $INSTALL in
14307   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14308   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14309   esac
14310   ac_MKDIR_P=$MKDIR_P
14311   case $MKDIR_P in
14312   [\\/$]* | ?:[\\/]* ) ;;
14313   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14314   esac
14315 _ACEOF
14316
14317 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14318 # If the template does not know about datarootdir, expand it.
14319 # FIXME: This hack should be removed a few years after 2.60.
14320 ac_datarootdir_hack=; ac_datarootdir_seen=
14321 ac_sed_dataroot='
14322 /datarootdir/ {
14323   p
14324   q
14325 }
14326 /@datadir@/p
14327 /@docdir@/p
14328 /@infodir@/p
14329 /@localedir@/p
14330 /@mandir@/p'
14331 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14332 *datarootdir*) ac_datarootdir_seen=yes;;
14333 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14334   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14335 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14336 _ACEOF
14337 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14338   ac_datarootdir_hack='
14339   s&@datadir@&$datadir&g
14340   s&@docdir@&$docdir&g
14341   s&@infodir@&$infodir&g
14342   s&@localedir@&$localedir&g
14343   s&@mandir@&$mandir&g
14344   s&\\\${datarootdir}&$datarootdir&g' ;;
14345 esac
14346 _ACEOF
14347
14348 # Neutralize VPATH when `$srcdir' = `.'.
14349 # Shell code in configure.ac might set extrasub.
14350 # FIXME: do we really want to maintain this feature?
14351 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14352 ac_sed_extra="$ac_vpsub
14353 $extrasub
14354 _ACEOF
14355 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14356 :t
14357 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14358 s|@configure_input@|$ac_sed_conf_input|;t t
14359 s&@top_builddir@&$ac_top_builddir_sub&;t t
14360 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14361 s&@srcdir@&$ac_srcdir&;t t
14362 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14363 s&@top_srcdir@&$ac_top_srcdir&;t t
14364 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14365 s&@builddir@&$ac_builddir&;t t
14366 s&@abs_builddir@&$ac_abs_builddir&;t t
14367 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14368 s&@INSTALL@&$ac_INSTALL&;t t
14369 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14370 $ac_datarootdir_hack
14371 "
14372 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14373   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14374
14375 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14376   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14377   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
14378       "$ac_tmp/out"`; test -z "$ac_out"; } &&
14379   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14380 which seems to be undefined.  Please make sure it is defined" >&5
14381 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14382 which seems to be undefined.  Please make sure it is defined" >&2;}
14383
14384   rm -f "$ac_tmp/stdin"
14385   case $ac_file in
14386   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14387   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14388   esac \
14389   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14390  ;;
14391   :H)
14392   #
14393   # CONFIG_HEADER
14394   #
14395   if test x"$ac_file" != x-; then
14396     {
14397       $as_echo "/* $configure_input  */" \
14398       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14399     } >"$ac_tmp/config.h" \
14400       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14401     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14402       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14403 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14404     else
14405       rm -f "$ac_file"
14406       mv "$ac_tmp/config.h" "$ac_file" \
14407         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14408     fi
14409   else
14410     $as_echo "/* $configure_input  */" \
14411       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14412       || as_fn_error $? "could not create -" "$LINENO" 5
14413   fi
14414 # Compute "$ac_file"'s index in $config_headers.
14415 _am_arg="$ac_file"
14416 _am_stamp_count=1
14417 for _am_header in $config_headers :; do
14418   case $_am_header in
14419     $_am_arg | $_am_arg:* )
14420       break ;;
14421     * )
14422       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14423   esac
14424 done
14425 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14426 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14427          X"$_am_arg" : 'X\(//\)[^/]' \| \
14428          X"$_am_arg" : 'X\(//\)$' \| \
14429          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14430 $as_echo X"$_am_arg" |
14431     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14432             s//\1/
14433             q
14434           }
14435           /^X\(\/\/\)[^/].*/{
14436             s//\1/
14437             q
14438           }
14439           /^X\(\/\/\)$/{
14440             s//\1/
14441             q
14442           }
14443           /^X\(\/\).*/{
14444             s//\1/
14445             q
14446           }
14447           s/.*/./; q'`/stamp-h$_am_stamp_count
14448  ;;
14449
14450   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14451 $as_echo "$as_me: executing $ac_file commands" >&6;}
14452  ;;
14453   esac
14454
14455
14456   case $ac_file$ac_mode in
14457     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14458   # Autoconf 2.62 quotes --file arguments for eval, but not when files
14459   # are listed without --file.  Let's play safe and only enable the eval
14460   # if we detect the quoting.
14461   case $CONFIG_FILES in
14462   *\'*) eval set x "$CONFIG_FILES" ;;
14463   *)   set x $CONFIG_FILES ;;
14464   esac
14465   shift
14466   for mf
14467   do
14468     # Strip MF so we end up with the name of the file.
14469     mf=`echo "$mf" | sed -e 's/:.*$//'`
14470     # Check whether this is an Automake generated Makefile or not.
14471     # We used to match only the files named `Makefile.in', but
14472     # some people rename them; so instead we look at the file content.
14473     # Grep'ing the first line is not enough: some people post-process
14474     # each Makefile.in and add a new line on top of each file to say so.
14475     # Grep'ing the whole file is not good either: AIX grep has a line
14476     # limit of 2048, but all sed's we know have understand at least 4000.
14477     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14478       dirpart=`$as_dirname -- "$mf" ||
14479 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14480          X"$mf" : 'X\(//\)[^/]' \| \
14481          X"$mf" : 'X\(//\)$' \| \
14482          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14483 $as_echo X"$mf" |
14484     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14485             s//\1/
14486             q
14487           }
14488           /^X\(\/\/\)[^/].*/{
14489             s//\1/
14490             q
14491           }
14492           /^X\(\/\/\)$/{
14493             s//\1/
14494             q
14495           }
14496           /^X\(\/\).*/{
14497             s//\1/
14498             q
14499           }
14500           s/.*/./; q'`
14501     else
14502       continue
14503     fi
14504     # Extract the definition of DEPDIR, am__include, and am__quote
14505     # from the Makefile without running `make'.
14506     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14507     test -z "$DEPDIR" && continue
14508     am__include=`sed -n 's/^am__include = //p' < "$mf"`
14509     test -z "am__include" && continue
14510     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14511     # When using ansi2knr, U may be empty or an underscore; expand it
14512     U=`sed -n 's/^U = //p' < "$mf"`
14513     # Find all dependency output files, they are included files with
14514     # $(DEPDIR) in their names.  We invoke sed twice because it is the
14515     # simplest approach to changing $(DEPDIR) to its actual value in the
14516     # expansion.
14517     for file in `sed -n "
14518       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14519          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14520       # Make sure the directory exists.
14521       test -f "$dirpart/$file" && continue
14522       fdir=`$as_dirname -- "$file" ||
14523 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14524          X"$file" : 'X\(//\)[^/]' \| \
14525          X"$file" : 'X\(//\)$' \| \
14526          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14527 $as_echo X"$file" |
14528     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14529             s//\1/
14530             q
14531           }
14532           /^X\(\/\/\)[^/].*/{
14533             s//\1/
14534             q
14535           }
14536           /^X\(\/\/\)$/{
14537             s//\1/
14538             q
14539           }
14540           /^X\(\/\).*/{
14541             s//\1/
14542             q
14543           }
14544           s/.*/./; q'`
14545       as_dir=$dirpart/$fdir; as_fn_mkdir_p
14546       # echo "creating $dirpart/$file"
14547       echo '# dummy' > "$dirpart/$file"
14548     done
14549   done
14550 }
14551  ;;
14552     "libtool":C)
14553
14554     # See if we are running on zsh, and set the options which allow our
14555     # commands through without removal of \ escapes.
14556     if test -n "${ZSH_VERSION+set}" ; then
14557       setopt NO_GLOB_SUBST
14558     fi
14559
14560     cfgfile="${ofile}T"
14561     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14562     $RM "$cfgfile"
14563
14564     cat <<_LT_EOF >> "$cfgfile"
14565 #! $SHELL
14566
14567 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14568 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14569 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14570 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14571 #
14572 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14573 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14574 #                 Foundation, Inc.
14575 #   Written by Gordon Matzigkeit, 1996
14576 #
14577 #   This file is part of GNU Libtool.
14578 #
14579 # GNU Libtool is free software; you can redistribute it and/or
14580 # modify it under the terms of the GNU General Public License as
14581 # published by the Free Software Foundation; either version 2 of
14582 # the License, or (at your option) any later version.
14583 #
14584 # As a special exception to the GNU General Public License,
14585 # if you distribute this file as part of a program or library that
14586 # is built using GNU Libtool, you may include this file under the
14587 # same distribution terms that you use for the rest of that program.
14588 #
14589 # GNU Libtool is distributed in the hope that it will be useful,
14590 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14591 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14592 # GNU General Public License for more details.
14593 #
14594 # You should have received a copy of the GNU General Public License
14595 # along with GNU Libtool; see the file COPYING.  If not, a copy
14596 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14597 # obtained by writing to the Free Software Foundation, Inc.,
14598 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14599
14600
14601 # The names of the tagged configurations supported by this script.
14602 available_tags=""
14603
14604 # ### BEGIN LIBTOOL CONFIG
14605
14606 # Which release of libtool.m4 was used?
14607 macro_version=$macro_version
14608 macro_revision=$macro_revision
14609
14610 # Whether or not to build static libraries.
14611 build_old_libs=$enable_static
14612
14613 # Whether or not to build shared libraries.
14614 build_libtool_libs=$enable_shared
14615
14616 # What type of objects to build.
14617 pic_mode=$pic_mode
14618
14619 # Whether or not to optimize for fast installation.
14620 fast_install=$enable_fast_install
14621
14622 # Shell to use when invoking shell scripts.
14623 SHELL=$lt_SHELL
14624
14625 # An echo program that protects backslashes.
14626 ECHO=$lt_ECHO
14627
14628 # The PATH separator for the build system.
14629 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14630
14631 # The host system.
14632 host_alias=$host_alias
14633 host=$host
14634 host_os=$host_os
14635
14636 # The build system.
14637 build_alias=$build_alias
14638 build=$build
14639 build_os=$build_os
14640
14641 # A sed program that does not truncate output.
14642 SED=$lt_SED
14643
14644 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14645 Xsed="\$SED -e 1s/^X//"
14646
14647 # A grep program that handles long lines.
14648 GREP=$lt_GREP
14649
14650 # An ERE matcher.
14651 EGREP=$lt_EGREP
14652
14653 # A literal string matcher.
14654 FGREP=$lt_FGREP
14655
14656 # A BSD- or MS-compatible name lister.
14657 NM=$lt_NM
14658
14659 # Whether we need soft or hard links.
14660 LN_S=$lt_LN_S
14661
14662 # What is the maximum length of a command?
14663 max_cmd_len=$max_cmd_len
14664
14665 # Object file suffix (normally "o").
14666 objext=$ac_objext
14667
14668 # Executable file suffix (normally "").
14669 exeext=$exeext
14670
14671 # whether the shell understands "unset".
14672 lt_unset=$lt_unset
14673
14674 # turn spaces into newlines.
14675 SP2NL=$lt_lt_SP2NL
14676
14677 # turn newlines into spaces.
14678 NL2SP=$lt_lt_NL2SP
14679
14680 # convert \$build file names to \$host format.
14681 to_host_file_cmd=$lt_cv_to_host_file_cmd
14682
14683 # convert \$build files to toolchain format.
14684 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14685
14686 # An object symbol dumper.
14687 OBJDUMP=$lt_OBJDUMP
14688
14689 # Method to check whether dependent libraries are shared objects.
14690 deplibs_check_method=$lt_deplibs_check_method
14691
14692 # Command to use when deplibs_check_method = "file_magic".
14693 file_magic_cmd=$lt_file_magic_cmd
14694
14695 # How to find potential files when deplibs_check_method = "file_magic".
14696 file_magic_glob=$lt_file_magic_glob
14697
14698 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14699 want_nocaseglob=$lt_want_nocaseglob
14700
14701 # DLL creation program.
14702 DLLTOOL=$lt_DLLTOOL
14703
14704 # Command to associate shared and link libraries.
14705 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14706
14707 # The archiver.
14708 AR=$lt_AR
14709
14710 # Flags to create an archive.
14711 AR_FLAGS=$lt_AR_FLAGS
14712
14713 # How to feed a file listing to the archiver.
14714 archiver_list_spec=$lt_archiver_list_spec
14715
14716 # A symbol stripping program.
14717 STRIP=$lt_STRIP
14718
14719 # Commands used to install an old-style archive.
14720 RANLIB=$lt_RANLIB
14721 old_postinstall_cmds=$lt_old_postinstall_cmds
14722 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14723
14724 # Whether to use a lock for old archive extraction.
14725 lock_old_archive_extraction=$lock_old_archive_extraction
14726
14727 # A C compiler.
14728 LTCC=$lt_CC
14729
14730 # LTCC compiler flags.
14731 LTCFLAGS=$lt_CFLAGS
14732
14733 # Take the output of nm and produce a listing of raw symbols and C names.
14734 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14735
14736 # Transform the output of nm in a proper C declaration.
14737 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14738
14739 # Transform the output of nm in a C name address pair.
14740 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14741
14742 # Transform the output of nm in a C name address pair when lib prefix is needed.
14743 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14744
14745 # Specify filename containing input files for \$NM.
14746 nm_file_list_spec=$lt_nm_file_list_spec
14747
14748 # The root where to search for dependent libraries,and in which our libraries should be installed.
14749 lt_sysroot=$lt_sysroot
14750
14751 # The name of the directory that contains temporary libtool files.
14752 objdir=$objdir
14753
14754 # Used to examine libraries when file_magic_cmd begins with "file".
14755 MAGIC_CMD=$MAGIC_CMD
14756
14757 # Must we lock files when doing compilation?
14758 need_locks=$lt_need_locks
14759
14760 # Manifest tool.
14761 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14762
14763 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14764 DSYMUTIL=$lt_DSYMUTIL
14765
14766 # Tool to change global to local symbols on Mac OS X.
14767 NMEDIT=$lt_NMEDIT
14768
14769 # Tool to manipulate fat objects and archives on Mac OS X.
14770 LIPO=$lt_LIPO
14771
14772 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14773 OTOOL=$lt_OTOOL
14774
14775 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14776 OTOOL64=$lt_OTOOL64
14777
14778 # Old archive suffix (normally "a").
14779 libext=$libext
14780
14781 # Shared library suffix (normally ".so").
14782 shrext_cmds=$lt_shrext_cmds
14783
14784 # The commands to extract the exported symbol list from a shared archive.
14785 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14786
14787 # Variables whose values should be saved in libtool wrapper scripts and
14788 # restored at link time.
14789 variables_saved_for_relink=$lt_variables_saved_for_relink
14790
14791 # Do we need the "lib" prefix for modules?
14792 need_lib_prefix=$need_lib_prefix
14793
14794 # Do we need a version for libraries?
14795 need_version=$need_version
14796
14797 # Library versioning type.
14798 version_type=$version_type
14799
14800 # Shared library runtime path variable.
14801 runpath_var=$runpath_var
14802
14803 # Shared library path variable.
14804 shlibpath_var=$shlibpath_var
14805
14806 # Is shlibpath searched before the hard-coded library search path?
14807 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14808
14809 # Format of library name prefix.
14810 libname_spec=$lt_libname_spec
14811
14812 # List of archive names.  First name is the real one, the rest are links.
14813 # The last name is the one that the linker finds with -lNAME
14814 library_names_spec=$lt_library_names_spec
14815
14816 # The coded name of the library, if different from the real name.
14817 soname_spec=$lt_soname_spec
14818
14819 # Permission mode override for installation of shared libraries.
14820 install_override_mode=$lt_install_override_mode
14821
14822 # Command to use after installation of a shared archive.
14823 postinstall_cmds=$lt_postinstall_cmds
14824
14825 # Command to use after uninstallation of a shared archive.
14826 postuninstall_cmds=$lt_postuninstall_cmds
14827
14828 # Commands used to finish a libtool library installation in a directory.
14829 finish_cmds=$lt_finish_cmds
14830
14831 # As "finish_cmds", except a single script fragment to be evaled but
14832 # not shown.
14833 finish_eval=$lt_finish_eval
14834
14835 # Whether we should hardcode library paths into libraries.
14836 hardcode_into_libs=$hardcode_into_libs
14837
14838 # Compile-time system search path for libraries.
14839 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14840
14841 # Run-time system search path for libraries.
14842 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14843
14844 # Whether dlopen is supported.
14845 dlopen_support=$enable_dlopen
14846
14847 # Whether dlopen of programs is supported.
14848 dlopen_self=$enable_dlopen_self
14849
14850 # Whether dlopen of statically linked programs is supported.
14851 dlopen_self_static=$enable_dlopen_self_static
14852
14853 # Commands to strip libraries.
14854 old_striplib=$lt_old_striplib
14855 striplib=$lt_striplib
14856
14857
14858 # The linker used to build libraries.
14859 LD=$lt_LD
14860
14861 # How to create reloadable object files.
14862 reload_flag=$lt_reload_flag
14863 reload_cmds=$lt_reload_cmds
14864
14865 # Commands used to build an old-style archive.
14866 old_archive_cmds=$lt_old_archive_cmds
14867
14868 # A language specific compiler.
14869 CC=$lt_compiler
14870
14871 # Is the compiler the GNU compiler?
14872 with_gcc=$GCC
14873
14874 # Compiler flag to turn off builtin functions.
14875 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14876
14877 # Additional compiler flags for building library objects.
14878 pic_flag=$lt_lt_prog_compiler_pic
14879
14880 # How to pass a linker flag through the compiler.
14881 wl=$lt_lt_prog_compiler_wl
14882
14883 # Compiler flag to prevent dynamic linking.
14884 link_static_flag=$lt_lt_prog_compiler_static
14885
14886 # Does compiler simultaneously support -c and -o options?
14887 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14888
14889 # Whether or not to add -lc for building shared libraries.
14890 build_libtool_need_lc=$archive_cmds_need_lc
14891
14892 # Whether or not to disallow shared libs when runtime libs are static.
14893 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14894
14895 # Compiler flag to allow reflexive dlopens.
14896 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14897
14898 # Compiler flag to generate shared objects directly from archives.
14899 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14900
14901 # Whether the compiler copes with passing no objects directly.
14902 compiler_needs_object=$lt_compiler_needs_object
14903
14904 # Create an old-style archive from a shared archive.
14905 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14906
14907 # Create a temporary old-style archive to link instead of a shared archive.
14908 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14909
14910 # Commands used to build a shared archive.
14911 archive_cmds=$lt_archive_cmds
14912 archive_expsym_cmds=$lt_archive_expsym_cmds
14913
14914 # Commands used to build a loadable module if different from building
14915 # a shared archive.
14916 module_cmds=$lt_module_cmds
14917 module_expsym_cmds=$lt_module_expsym_cmds
14918
14919 # Whether we are building with GNU ld or not.
14920 with_gnu_ld=$lt_with_gnu_ld
14921
14922 # Flag that allows shared libraries with undefined symbols to be built.
14923 allow_undefined_flag=$lt_allow_undefined_flag
14924
14925 # Flag that enforces no undefined symbols.
14926 no_undefined_flag=$lt_no_undefined_flag
14927
14928 # Flag to hardcode \$libdir into a binary during linking.
14929 # This must work even if \$libdir does not exist
14930 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14931
14932 # Whether we need a single "-rpath" flag with a separated argument.
14933 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14934
14935 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14936 # DIR into the resulting binary.
14937 hardcode_direct=$hardcode_direct
14938
14939 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14940 # DIR into the resulting binary and the resulting library dependency is
14941 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14942 # library is relocated.
14943 hardcode_direct_absolute=$hardcode_direct_absolute
14944
14945 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14946 # into the resulting binary.
14947 hardcode_minus_L=$hardcode_minus_L
14948
14949 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14950 # into the resulting binary.
14951 hardcode_shlibpath_var=$hardcode_shlibpath_var
14952
14953 # Set to "yes" if building a shared library automatically hardcodes DIR
14954 # into the library and all subsequent libraries and executables linked
14955 # against it.
14956 hardcode_automatic=$hardcode_automatic
14957
14958 # Set to yes if linker adds runtime paths of dependent libraries
14959 # to runtime path list.
14960 inherit_rpath=$inherit_rpath
14961
14962 # Whether libtool must link a program against all its dependency libraries.
14963 link_all_deplibs=$link_all_deplibs
14964
14965 # Set to "yes" if exported symbols are required.
14966 always_export_symbols=$always_export_symbols
14967
14968 # The commands to list exported symbols.
14969 export_symbols_cmds=$lt_export_symbols_cmds
14970
14971 # Symbols that should not be listed in the preloaded symbols.
14972 exclude_expsyms=$lt_exclude_expsyms
14973
14974 # Symbols that must always be exported.
14975 include_expsyms=$lt_include_expsyms
14976
14977 # Commands necessary for linking programs (against libraries) with templates.
14978 prelink_cmds=$lt_prelink_cmds
14979
14980 # Commands necessary for finishing linking programs.
14981 postlink_cmds=$lt_postlink_cmds
14982
14983 # Specify filename containing input files.
14984 file_list_spec=$lt_file_list_spec
14985
14986 # How to hardcode a shared library path into an executable.
14987 hardcode_action=$hardcode_action
14988
14989 # ### END LIBTOOL CONFIG
14990
14991 _LT_EOF
14992
14993   case $host_os in
14994   aix3*)
14995     cat <<\_LT_EOF >> "$cfgfile"
14996 # AIX sometimes has problems with the GCC collect2 program.  For some
14997 # reason, if we set the COLLECT_NAMES environment variable, the problems
14998 # vanish in a puff of smoke.
14999 if test "X${COLLECT_NAMES+set}" != Xset; then
15000   COLLECT_NAMES=
15001   export COLLECT_NAMES
15002 fi
15003 _LT_EOF
15004     ;;
15005   esac
15006
15007
15008 ltmain="$ac_aux_dir/ltmain.sh"
15009
15010
15011   # We use sed instead of cat because bash on DJGPP gets confused if
15012   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15013   # text mode, it properly converts lines to CR/LF.  This bash problem
15014   # is reportedly fixed, but why not run on old versions too?
15015   sed '$q' "$ltmain" >> "$cfgfile" \
15016      || (rm -f "$cfgfile"; exit 1)
15017
15018   if test x"$xsi_shell" = xyes; then
15019   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15020 func_dirname ()\
15021 {\
15022 \    case ${1} in\
15023 \      */*) func_dirname_result="${1%/*}${2}" ;;\
15024 \      *  ) func_dirname_result="${3}" ;;\
15025 \    esac\
15026 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15027   && mv -f "$cfgfile.tmp" "$cfgfile" \
15028     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15029 test 0 -eq $? || _lt_function_replace_fail=:
15030
15031
15032   sed -e '/^func_basename ()$/,/^} # func_basename /c\
15033 func_basename ()\
15034 {\
15035 \    func_basename_result="${1##*/}"\
15036 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15037   && mv -f "$cfgfile.tmp" "$cfgfile" \
15038     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15039 test 0 -eq $? || _lt_function_replace_fail=:
15040
15041
15042   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15043 func_dirname_and_basename ()\
15044 {\
15045 \    case ${1} in\
15046 \      */*) func_dirname_result="${1%/*}${2}" ;;\
15047 \      *  ) func_dirname_result="${3}" ;;\
15048 \    esac\
15049 \    func_basename_result="${1##*/}"\
15050 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15051   && mv -f "$cfgfile.tmp" "$cfgfile" \
15052     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15053 test 0 -eq $? || _lt_function_replace_fail=:
15054
15055
15056   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15057 func_stripname ()\
15058 {\
15059 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15060 \    # positional parameters, so assign one to ordinary parameter first.\
15061 \    func_stripname_result=${3}\
15062 \    func_stripname_result=${func_stripname_result#"${1}"}\
15063 \    func_stripname_result=${func_stripname_result%"${2}"}\
15064 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15065   && mv -f "$cfgfile.tmp" "$cfgfile" \
15066     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15067 test 0 -eq $? || _lt_function_replace_fail=:
15068
15069
15070   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15071 func_split_long_opt ()\
15072 {\
15073 \    func_split_long_opt_name=${1%%=*}\
15074 \    func_split_long_opt_arg=${1#*=}\
15075 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15076   && mv -f "$cfgfile.tmp" "$cfgfile" \
15077     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15078 test 0 -eq $? || _lt_function_replace_fail=:
15079
15080
15081   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15082 func_split_short_opt ()\
15083 {\
15084 \    func_split_short_opt_arg=${1#??}\
15085 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15086 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15087   && mv -f "$cfgfile.tmp" "$cfgfile" \
15088     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15089 test 0 -eq $? || _lt_function_replace_fail=:
15090
15091
15092   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15093 func_lo2o ()\
15094 {\
15095 \    case ${1} in\
15096 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15097 \      *)    func_lo2o_result=${1} ;;\
15098 \    esac\
15099 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15100   && mv -f "$cfgfile.tmp" "$cfgfile" \
15101     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15102 test 0 -eq $? || _lt_function_replace_fail=:
15103
15104
15105   sed -e '/^func_xform ()$/,/^} # func_xform /c\
15106 func_xform ()\
15107 {\
15108     func_xform_result=${1%.*}.lo\
15109 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15110   && mv -f "$cfgfile.tmp" "$cfgfile" \
15111     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15112 test 0 -eq $? || _lt_function_replace_fail=:
15113
15114
15115   sed -e '/^func_arith ()$/,/^} # func_arith /c\
15116 func_arith ()\
15117 {\
15118     func_arith_result=$(( $* ))\
15119 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15120   && mv -f "$cfgfile.tmp" "$cfgfile" \
15121     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15122 test 0 -eq $? || _lt_function_replace_fail=:
15123
15124
15125   sed -e '/^func_len ()$/,/^} # func_len /c\
15126 func_len ()\
15127 {\
15128     func_len_result=${#1}\
15129 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15130   && mv -f "$cfgfile.tmp" "$cfgfile" \
15131     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15132 test 0 -eq $? || _lt_function_replace_fail=:
15133
15134 fi
15135
15136 if test x"$lt_shell_append" = xyes; then
15137   sed -e '/^func_append ()$/,/^} # func_append /c\
15138 func_append ()\
15139 {\
15140     eval "${1}+=\\${2}"\
15141 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15142   && mv -f "$cfgfile.tmp" "$cfgfile" \
15143     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15144 test 0 -eq $? || _lt_function_replace_fail=:
15145
15146
15147   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15148 func_append_quoted ()\
15149 {\
15150 \    func_quote_for_eval "${2}"\
15151 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15152 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15153   && mv -f "$cfgfile.tmp" "$cfgfile" \
15154     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15155 test 0 -eq $? || _lt_function_replace_fail=:
15156
15157
15158   # Save a `func_append' function call where possible by direct use of '+='
15159   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15160     && mv -f "$cfgfile.tmp" "$cfgfile" \
15161       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15162   test 0 -eq $? || _lt_function_replace_fail=:
15163 else
15164   # Save a `func_append' function call even when '+=' is not available
15165   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15166     && mv -f "$cfgfile.tmp" "$cfgfile" \
15167       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15168   test 0 -eq $? || _lt_function_replace_fail=:
15169 fi
15170
15171 if test x"$_lt_function_replace_fail" = x":"; then
15172   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15173 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15174 fi
15175
15176
15177    mv -f "$cfgfile" "$ofile" ||
15178     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15179   chmod +x "$ofile"
15180
15181  ;;
15182
15183   esac
15184 done # for ac_tag
15185
15186
15187 as_fn_exit 0
15188 _ACEOF
15189 ac_clean_files=$ac_clean_files_save
15190
15191 test $ac_write_fail = 0 ||
15192   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15193
15194
15195 # configure is writing to config.log, and then calls config.status.
15196 # config.status does its own redirection, appending to config.log.
15197 # Unfortunately, on DOS this fails, as config.log is still kept open
15198 # by configure, so config.status won't be able to write to it; its
15199 # output is simply discarded.  So we exec the FD to /dev/null,
15200 # effectively closing config.log, so it can be properly (re)opened and
15201 # appended to by config.status.  When coming back to configure, we
15202 # need to make the FD available again.
15203 if test "$no_create" != yes; then
15204   ac_cs_success=:
15205   ac_config_status_args=
15206   test "$silent" = yes &&
15207     ac_config_status_args="$ac_config_status_args --quiet"
15208   exec 5>/dev/null
15209   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15210   exec 5>>config.log
15211   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15212   # would make configure fail if this is the last instruction.
15213   $ac_cs_success || as_fn_exit 1
15214 fi
15215 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15216   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15217 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15218 fi
15219
15220
15221 if test x$enable_dbus_type != xp2p; then
15222     ac_config_files="$ac_config_files test/daemon/services/com.google.code.AccountsSSO.gSingleSignOn.service"
15223
15224 cat >confcache <<\_ACEOF
15225 # This file is a shell script that caches the results of configure
15226 # tests run on this system so they can be shared between configure
15227 # scripts and configure runs, see configure's option --config-cache.
15228 # It is not useful on other systems.  If it contains results you don't
15229 # want to keep, you may remove or edit it.
15230 #
15231 # config.status only pays attention to the cache file if you give it
15232 # the --recheck option to rerun configure.
15233 #
15234 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15235 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15236 # following values.
15237
15238 _ACEOF
15239
15240 # The following way of writing the cache mishandles newlines in values,
15241 # but we know of no workaround that is simple, portable, and efficient.
15242 # So, we kill variables containing newlines.
15243 # Ultrix sh set writes to stderr and can't be redirected directly,
15244 # and sets the high bit in the cache file unless we assign to the vars.
15245 (
15246   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15247     eval ac_val=\$$ac_var
15248     case $ac_val in #(
15249     *${as_nl}*)
15250       case $ac_var in #(
15251       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15252 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15253       esac
15254       case $ac_var in #(
15255       _ | IFS | as_nl) ;; #(
15256       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15257       *) { eval $ac_var=; unset $ac_var;} ;;
15258       esac ;;
15259     esac
15260   done
15261
15262   (set) 2>&1 |
15263     case $as_nl`(ac_space=' '; set) 2>&1` in #(
15264     *${as_nl}ac_space=\ *)
15265       # `set' does not quote correctly, so add quotes: double-quote
15266       # substitution turns \\\\ into \\, and sed turns \\ into \.
15267       sed -n \
15268         "s/'/'\\\\''/g;
15269           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15270       ;; #(
15271     *)
15272       # `set' quotes correctly as required by POSIX, so do not add quotes.
15273       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15274       ;;
15275     esac |
15276     sort
15277 ) |
15278   sed '
15279      /^ac_cv_env_/b end
15280      t clear
15281      :clear
15282      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15283      t end
15284      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15285      :end' >>confcache
15286 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15287   if test -w "$cache_file"; then
15288     if test "x$cache_file" != "x/dev/null"; then
15289       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15290 $as_echo "$as_me: updating cache $cache_file" >&6;}
15291       if test ! -f "$cache_file" || test -h "$cache_file"; then
15292         cat confcache >"$cache_file"
15293       else
15294         case $cache_file in #(
15295         */* | ?:*)
15296           mv -f confcache "$cache_file"$$ &&
15297           mv -f "$cache_file"$$ "$cache_file" ;; #(
15298         *)
15299           mv -f confcache "$cache_file" ;;
15300         esac
15301       fi
15302     fi
15303   else
15304     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15305 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15306   fi
15307 fi
15308 rm -f confcache
15309
15310 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15311 # Let make expand exec_prefix.
15312 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15313
15314 DEFS=-DHAVE_CONFIG_H
15315
15316 ac_libobjs=
15317 ac_ltlibobjs=
15318 U=
15319 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15320   # 1. Remove the extension, and $U if already installed.
15321   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15322   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15323   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
15324   #    will be set to the directory where LIBOBJS objects are built.
15325   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15326   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15327 done
15328 LIBOBJS=$ac_libobjs
15329
15330 LTLIBOBJS=$ac_ltlibobjs
15331
15332
15333  if test -n "$EXEEXT"; then
15334   am__EXEEXT_TRUE=
15335   am__EXEEXT_FALSE='#'
15336 else
15337   am__EXEEXT_TRUE='#'
15338   am__EXEEXT_FALSE=
15339 fi
15340
15341 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15342   as_fn_error $? "conditional \"AMDEP\" was never defined.
15343 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15344 fi
15345 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15346   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15347 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15348 fi
15349 if test -z "${HAVE_LIBSMACK_TRUE}" && test -z "${HAVE_LIBSMACK_FALSE}"; then
15350   as_fn_error $? "conditional \"HAVE_LIBSMACK\" was never defined.
15351 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15352 fi
15353 if test -z "${HAVE_LIBECRYPTFS_TRUE}" && test -z "${HAVE_LIBECRYPTFS_FALSE}"; then
15354   as_fn_error $? "conditional \"HAVE_LIBECRYPTFS\" was never defined.
15355 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15356 fi
15357 if test -z "${USE_GTESTDBUS_TRUE}" && test -z "${USE_GTESTDBUS_FALSE}"; then
15358   as_fn_error $? "conditional \"USE_GTESTDBUS\" was never defined.
15359 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15360 fi
15361 if test -z "${HAVE_DEBUG_TRUE}" && test -z "${HAVE_DEBUG_FALSE}"; then
15362   as_fn_error $? "conditional \"HAVE_DEBUG\" was never defined.
15363 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15364 fi
15365 if test -z "${SET_PERMISSIONS_TRUE}" && test -z "${SET_PERMISSIONS_FALSE}"; then
15366   as_fn_error $? "conditional \"SET_PERMISSIONS\" was never defined.
15367 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15368 fi
15369 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
15370   as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
15371 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15372 fi
15373 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
15374   as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
15375 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15376 fi
15377 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
15378   as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
15379 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15380 fi
15381 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
15382   as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
15383 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15384 fi
15385 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
15386   as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
15387 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15388 fi
15389 if test -z "${am__EXEEXT_TRUE}" && test -z "${am__EXEEXT_FALSE}"; then
15390   as_fn_error $? "conditional \"am__EXEEXT\" was never defined.
15391 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15392 fi
15393
15394 : "${CONFIG_STATUS=./config.status}"
15395 ac_write_fail=0
15396 ac_clean_files_save=$ac_clean_files
15397 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15398 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15399 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15400 as_write_fail=0
15401 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15402 #! $SHELL
15403 # Generated by $as_me.
15404 # Run this file to recreate the current configuration.
15405 # Compiler output produced by configure, useful for debugging
15406 # configure, is in config.log if it exists.
15407
15408 debug=false
15409 ac_cs_recheck=false
15410 ac_cs_silent=false
15411
15412 SHELL=\${CONFIG_SHELL-$SHELL}
15413 export SHELL
15414 _ASEOF
15415 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15416 ## -------------------- ##
15417 ## M4sh Initialization. ##
15418 ## -------------------- ##
15419
15420 # Be more Bourne compatible
15421 DUALCASE=1; export DUALCASE # for MKS sh
15422 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15423   emulate sh
15424   NULLCMD=:
15425   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15426   # is contrary to our usage.  Disable this feature.
15427   alias -g '${1+"$@"}'='"$@"'
15428   setopt NO_GLOB_SUBST
15429 else
15430   case `(set -o) 2>/dev/null` in #(
15431   *posix*) :
15432     set -o posix ;; #(
15433   *) :
15434      ;;
15435 esac
15436 fi
15437
15438
15439 as_nl='
15440 '
15441 export as_nl
15442 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15443 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15444 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15445 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15446 # Prefer a ksh shell builtin over an external printf program on Solaris,
15447 # but without wasting forks for bash or zsh.
15448 if test -z "$BASH_VERSION$ZSH_VERSION" \
15449     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15450   as_echo='print -r --'
15451   as_echo_n='print -rn --'
15452 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15453   as_echo='printf %s\n'
15454   as_echo_n='printf %s'
15455 else
15456   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15457     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15458     as_echo_n='/usr/ucb/echo -n'
15459   else
15460     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15461     as_echo_n_body='eval
15462       arg=$1;
15463       case $arg in #(
15464       *"$as_nl"*)
15465         expr "X$arg" : "X\\(.*\\)$as_nl";
15466         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15467       esac;
15468       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15469     '
15470     export as_echo_n_body
15471     as_echo_n='sh -c $as_echo_n_body as_echo'
15472   fi
15473   export as_echo_body
15474   as_echo='sh -c $as_echo_body as_echo'
15475 fi
15476
15477 # The user is always right.
15478 if test "${PATH_SEPARATOR+set}" != set; then
15479   PATH_SEPARATOR=:
15480   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15481     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15482       PATH_SEPARATOR=';'
15483   }
15484 fi
15485
15486
15487 # IFS
15488 # We need space, tab and new line, in precisely that order.  Quoting is
15489 # there to prevent editors from complaining about space-tab.
15490 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15491 # splitting by setting IFS to empty value.)
15492 IFS=" ""        $as_nl"
15493
15494 # Find who we are.  Look in the path if we contain no directory separator.
15495 as_myself=
15496 case $0 in #((
15497   *[\\/]* ) as_myself=$0 ;;
15498   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15499 for as_dir in $PATH
15500 do
15501   IFS=$as_save_IFS
15502   test -z "$as_dir" && as_dir=.
15503     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15504   done
15505 IFS=$as_save_IFS
15506
15507      ;;
15508 esac
15509 # We did not find ourselves, most probably we were run as `sh COMMAND'
15510 # in which case we are not to be found in the path.
15511 if test "x$as_myself" = x; then
15512   as_myself=$0
15513 fi
15514 if test ! -f "$as_myself"; then
15515   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15516   exit 1
15517 fi
15518
15519 # Unset variables that we do not need and which cause bugs (e.g. in
15520 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
15521 # suppresses any "Segmentation fault" message there.  '((' could
15522 # trigger a bug in pdksh 5.2.14.
15523 for as_var in BASH_ENV ENV MAIL MAILPATH
15524 do eval test x\${$as_var+set} = xset \
15525   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15526 done
15527 PS1='$ '
15528 PS2='> '
15529 PS4='+ '
15530
15531 # NLS nuisances.
15532 LC_ALL=C
15533 export LC_ALL
15534 LANGUAGE=C
15535 export LANGUAGE
15536
15537 # CDPATH.
15538 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15539
15540
15541 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15542 # ----------------------------------------
15543 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15544 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15545 # script with STATUS, using 1 if that was 0.
15546 as_fn_error ()
15547 {
15548   as_status=$1; test $as_status -eq 0 && as_status=1
15549   if test "$4"; then
15550     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15551     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15552   fi
15553   $as_echo "$as_me: error: $2" >&2
15554   as_fn_exit $as_status
15555 } # as_fn_error
15556
15557
15558 # as_fn_set_status STATUS
15559 # -----------------------
15560 # Set $? to STATUS, without forking.
15561 as_fn_set_status ()
15562 {
15563   return $1
15564 } # as_fn_set_status
15565
15566 # as_fn_exit STATUS
15567 # -----------------
15568 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15569 as_fn_exit ()
15570 {
15571   set +e
15572   as_fn_set_status $1
15573   exit $1
15574 } # as_fn_exit
15575
15576 # as_fn_unset VAR
15577 # ---------------
15578 # Portably unset VAR.
15579 as_fn_unset ()
15580 {
15581   { eval $1=; unset $1;}
15582 }
15583 as_unset=as_fn_unset
15584 # as_fn_append VAR VALUE
15585 # ----------------------
15586 # Append the text in VALUE to the end of the definition contained in VAR. Take
15587 # advantage of any shell optimizations that allow amortized linear growth over
15588 # repeated appends, instead of the typical quadratic growth present in naive
15589 # implementations.
15590 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15591   eval 'as_fn_append ()
15592   {
15593     eval $1+=\$2
15594   }'
15595 else
15596   as_fn_append ()
15597   {
15598     eval $1=\$$1\$2
15599   }
15600 fi # as_fn_append
15601
15602 # as_fn_arith ARG...
15603 # ------------------
15604 # Perform arithmetic evaluation on the ARGs, and store the result in the
15605 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15606 # must be portable across $(()) and expr.
15607 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15608   eval 'as_fn_arith ()
15609   {
15610     as_val=$(( $* ))
15611   }'
15612 else
15613   as_fn_arith ()
15614   {
15615     as_val=`expr "$@" || test $? -eq 1`
15616   }
15617 fi # as_fn_arith
15618
15619
15620 if expr a : '\(a\)' >/dev/null 2>&1 &&
15621    test "X`expr 00001 : '.*\(...\)'`" = X001; then
15622   as_expr=expr
15623 else
15624   as_expr=false
15625 fi
15626
15627 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15628   as_basename=basename
15629 else
15630   as_basename=false
15631 fi
15632
15633 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15634   as_dirname=dirname
15635 else
15636   as_dirname=false
15637 fi
15638
15639 as_me=`$as_basename -- "$0" ||
15640 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15641          X"$0" : 'X\(//\)$' \| \
15642          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15643 $as_echo X/"$0" |
15644     sed '/^.*\/\([^/][^/]*\)\/*$/{
15645             s//\1/
15646             q
15647           }
15648           /^X\/\(\/\/\)$/{
15649             s//\1/
15650             q
15651           }
15652           /^X\/\(\/\).*/{
15653             s//\1/
15654             q
15655           }
15656           s/.*/./; q'`
15657
15658 # Avoid depending upon Character Ranges.
15659 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15660 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15661 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15662 as_cr_digits='0123456789'
15663 as_cr_alnum=$as_cr_Letters$as_cr_digits
15664
15665 ECHO_C= ECHO_N= ECHO_T=
15666 case `echo -n x` in #(((((
15667 -n*)
15668   case `echo 'xy\c'` in
15669   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
15670   xy)  ECHO_C='\c';;
15671   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
15672        ECHO_T=' ';;
15673   esac;;
15674 *)
15675   ECHO_N='-n';;
15676 esac
15677
15678 rm -f conf$$ conf$$.exe conf$$.file
15679 if test -d conf$$.dir; then
15680   rm -f conf$$.dir/conf$$.file
15681 else
15682   rm -f conf$$.dir
15683   mkdir conf$$.dir 2>/dev/null
15684 fi
15685 if (echo >conf$$.file) 2>/dev/null; then
15686   if ln -s conf$$.file conf$$ 2>/dev/null; then
15687     as_ln_s='ln -s'
15688     # ... but there are two gotchas:
15689     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15690     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15691     # In both cases, we have to default to `cp -pR'.
15692     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15693       as_ln_s='cp -pR'
15694   elif ln conf$$.file conf$$ 2>/dev/null; then
15695     as_ln_s=ln
15696   else
15697     as_ln_s='cp -pR'
15698   fi
15699 else
15700   as_ln_s='cp -pR'
15701 fi
15702 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15703 rmdir conf$$.dir 2>/dev/null
15704
15705
15706 # as_fn_mkdir_p
15707 # -------------
15708 # Create "$as_dir" as a directory, including parents if necessary.
15709 as_fn_mkdir_p ()
15710 {
15711
15712   case $as_dir in #(
15713   -*) as_dir=./$as_dir;;
15714   esac
15715   test -d "$as_dir" || eval $as_mkdir_p || {
15716     as_dirs=
15717     while :; do
15718       case $as_dir in #(
15719       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15720       *) as_qdir=$as_dir;;
15721       esac
15722       as_dirs="'$as_qdir' $as_dirs"
15723       as_dir=`$as_dirname -- "$as_dir" ||
15724 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15725          X"$as_dir" : 'X\(//\)[^/]' \| \
15726          X"$as_dir" : 'X\(//\)$' \| \
15727          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15728 $as_echo X"$as_dir" |
15729     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15730             s//\1/
15731             q
15732           }
15733           /^X\(\/\/\)[^/].*/{
15734             s//\1/
15735             q
15736           }
15737           /^X\(\/\/\)$/{
15738             s//\1/
15739             q
15740           }
15741           /^X\(\/\).*/{
15742             s//\1/
15743             q
15744           }
15745           s/.*/./; q'`
15746       test -d "$as_dir" && break
15747     done
15748     test -z "$as_dirs" || eval "mkdir $as_dirs"
15749   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15750
15751
15752 } # as_fn_mkdir_p
15753 if mkdir -p . 2>/dev/null; then
15754   as_mkdir_p='mkdir -p "$as_dir"'
15755 else
15756   test -d ./-p && rmdir ./-p
15757   as_mkdir_p=false
15758 fi
15759
15760
15761 # as_fn_executable_p FILE
15762 # -----------------------
15763 # Test if FILE is an executable regular file.
15764 as_fn_executable_p ()
15765 {
15766   test -f "$1" && test -x "$1"
15767 } # as_fn_executable_p
15768 as_test_x='test -x'
15769 as_executable_p=as_fn_executable_p
15770
15771 # Sed expression to map a string onto a valid CPP name.
15772 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15773
15774 # Sed expression to map a string onto a valid variable name.
15775 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15776
15777
15778 exec 6>&1
15779 ## ----------------------------------- ##
15780 ## Main body of $CONFIG_STATUS script. ##
15781 ## ----------------------------------- ##
15782 _ASEOF
15783 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15784
15785 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15786 # Save the log message, to keep $0 and so on meaningful, and to
15787 # report actual input values of CONFIG_FILES etc. instead of their
15788 # values after options handling.
15789 ac_log="
15790 This file was extended by gsignond $as_me 0.0.3, which was
15791 generated by GNU Autoconf 2.69.  Invocation command line was
15792
15793   CONFIG_FILES    = $CONFIG_FILES
15794   CONFIG_HEADERS  = $CONFIG_HEADERS
15795   CONFIG_LINKS    = $CONFIG_LINKS
15796   CONFIG_COMMANDS = $CONFIG_COMMANDS
15797   $ $0 $@
15798
15799 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15800 "
15801
15802 _ACEOF
15803
15804 case $ac_config_files in *"
15805 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15806 esac
15807
15808 case $ac_config_headers in *"
15809 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15810 esac
15811
15812
15813 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15814 # Files that config.status was made for.
15815 config_files="$ac_config_files"
15816 config_headers="$ac_config_headers"
15817 config_commands="$ac_config_commands"
15818
15819 _ACEOF
15820
15821 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15822 ac_cs_usage="\
15823 \`$as_me' instantiates files and other configuration actions
15824 from templates according to the current configuration.  Unless the files
15825 and actions are specified as TAGs, all are instantiated by default.
15826
15827 Usage: $0 [OPTION]... [TAG]...
15828
15829   -h, --help       print this help, then exit
15830   -V, --version    print version number and configuration settings, then exit
15831       --config     print configuration, then exit
15832   -q, --quiet, --silent
15833                    do not print progress messages
15834   -d, --debug      don't remove temporary files
15835       --recheck    update $as_me by reconfiguring in the same conditions
15836       --file=FILE[:TEMPLATE]
15837                    instantiate the configuration file FILE
15838       --header=FILE[:TEMPLATE]
15839                    instantiate the configuration header FILE
15840
15841 Configuration files:
15842 $config_files
15843
15844 Configuration headers:
15845 $config_headers
15846
15847 Configuration commands:
15848 $config_commands
15849
15850 Report bugs to the package provider.
15851 gsignond home page: <http://01.org/gsso>."
15852
15853 _ACEOF
15854 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15855 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15856 ac_cs_version="\\
15857 gsignond config.status 0.0.3
15858 configured by $0, generated by GNU Autoconf 2.69,
15859   with options \\"\$ac_cs_config\\"
15860
15861 Copyright (C) 2012 Free Software Foundation, Inc.
15862 This config.status script is free software; the Free Software Foundation
15863 gives unlimited permission to copy, distribute and modify it."
15864
15865 ac_pwd='$ac_pwd'
15866 srcdir='$srcdir'
15867 INSTALL='$INSTALL'
15868 MKDIR_P='$MKDIR_P'
15869 AWK='$AWK'
15870 test -n "\$AWK" || AWK=awk
15871 _ACEOF
15872
15873 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15874 # The default lists apply if the user does not specify any file.
15875 ac_need_defaults=:
15876 while test $# != 0
15877 do
15878   case $1 in
15879   --*=?*)
15880     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15881     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15882     ac_shift=:
15883     ;;
15884   --*=)
15885     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15886     ac_optarg=
15887     ac_shift=:
15888     ;;
15889   *)
15890     ac_option=$1
15891     ac_optarg=$2
15892     ac_shift=shift
15893     ;;
15894   esac
15895
15896   case $ac_option in
15897   # Handling of the options.
15898   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15899     ac_cs_recheck=: ;;
15900   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15901     $as_echo "$ac_cs_version"; exit ;;
15902   --config | --confi | --conf | --con | --co | --c )
15903     $as_echo "$ac_cs_config"; exit ;;
15904   --debug | --debu | --deb | --de | --d | -d )
15905     debug=: ;;
15906   --file | --fil | --fi | --f )
15907     $ac_shift
15908     case $ac_optarg in
15909     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15910     '') as_fn_error $? "missing file argument" ;;
15911     esac
15912     as_fn_append CONFIG_FILES " '$ac_optarg'"
15913     ac_need_defaults=false;;
15914   --header | --heade | --head | --hea )
15915     $ac_shift
15916     case $ac_optarg in
15917     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15918     esac
15919     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15920     ac_need_defaults=false;;
15921   --he | --h)
15922     # Conflict between --help and --header
15923     as_fn_error $? "ambiguous option: \`$1'
15924 Try \`$0 --help' for more information.";;
15925   --help | --hel | -h )
15926     $as_echo "$ac_cs_usage"; exit ;;
15927   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15928   | -silent | --silent | --silen | --sile | --sil | --si | --s)
15929     ac_cs_silent=: ;;
15930
15931   # This is an error.
15932   -*) as_fn_error $? "unrecognized option: \`$1'
15933 Try \`$0 --help' for more information." ;;
15934
15935   *) as_fn_append ac_config_targets " $1"
15936      ac_need_defaults=false ;;
15937
15938   esac
15939   shift
15940 done
15941
15942 ac_configure_extra_args=
15943
15944 if $ac_cs_silent; then
15945   exec 6>/dev/null
15946   ac_configure_extra_args="$ac_configure_extra_args --silent"
15947 fi
15948
15949 _ACEOF
15950 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15951 if \$ac_cs_recheck; then
15952   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15953   shift
15954   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15955   CONFIG_SHELL='$SHELL'
15956   export CONFIG_SHELL
15957   exec "\$@"
15958 fi
15959
15960 _ACEOF
15961 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15962 exec 5>>config.log
15963 {
15964   echo
15965   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15966 ## Running $as_me. ##
15967 _ASBOX
15968   $as_echo "$ac_log"
15969 } >&5
15970
15971 _ACEOF
15972 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15973 #
15974 # INIT-COMMANDS
15975 #
15976 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15977
15978
15979 # The HP-UX ksh and POSIX shell print the target directory to stdout
15980 # if CDPATH is set.
15981 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15982
15983 sed_quote_subst='$sed_quote_subst'
15984 double_quote_subst='$double_quote_subst'
15985 delay_variable_subst='$delay_variable_subst'
15986 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15987 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15988 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15989 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15990 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15991 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15992 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15993 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15994 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15995 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15996 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15997 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15998 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15999 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16000 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16001 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16002 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16003 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16004 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16005 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16006 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16007 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16008 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16009 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16010 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16011 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16012 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16013 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16014 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16015 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16016 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16017 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16018 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16019 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16020 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16021 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16022 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16023 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16024 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16025 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16026 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16027 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16028 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16029 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16030 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16031 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16032 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16033 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16034 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16035 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16036 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16037 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16038 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16039 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16040 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16041 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16042 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"`'
16043 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16044 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16045 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16046 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16047 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16048 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16049 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16050 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16051 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16052 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16053 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16054 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16055 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16056 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16057 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16058 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16059 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16060 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16061 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16062 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16063 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16064 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16065 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16066 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16067 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16068 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16069 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16070 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16071 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16072 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16073 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16074 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16075 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16076 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16077 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16078 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16079 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16080 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16081 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16082 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16083 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16084 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16085 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16086 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16087 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16088 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16089 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16090 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16091 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16092 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16093 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16094 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16095 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16096 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16097 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16098 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16099 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16100 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16101 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16102 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16103 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16104 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16105 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16106 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16107 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16108 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16109 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16110 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16111 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16112 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16113 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16114 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16115 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16116
16117 LTCC='$LTCC'
16118 LTCFLAGS='$LTCFLAGS'
16119 compiler='$compiler_DEFAULT'
16120
16121 # A function that is used when there is no print builtin or printf.
16122 func_fallback_echo ()
16123 {
16124   eval 'cat <<_LTECHO_EOF
16125 \$1
16126 _LTECHO_EOF'
16127 }
16128
16129 # Quote evaled strings.
16130 for var in SHELL \
16131 ECHO \
16132 PATH_SEPARATOR \
16133 SED \
16134 GREP \
16135 EGREP \
16136 FGREP \
16137 LD \
16138 NM \
16139 LN_S \
16140 lt_SP2NL \
16141 lt_NL2SP \
16142 reload_flag \
16143 OBJDUMP \
16144 deplibs_check_method \
16145 file_magic_cmd \
16146 file_magic_glob \
16147 want_nocaseglob \
16148 DLLTOOL \
16149 sharedlib_from_linklib_cmd \
16150 AR \
16151 AR_FLAGS \
16152 archiver_list_spec \
16153 STRIP \
16154 RANLIB \
16155 CC \
16156 CFLAGS \
16157 compiler \
16158 lt_cv_sys_global_symbol_pipe \
16159 lt_cv_sys_global_symbol_to_cdecl \
16160 lt_cv_sys_global_symbol_to_c_name_address \
16161 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16162 nm_file_list_spec \
16163 lt_prog_compiler_no_builtin_flag \
16164 lt_prog_compiler_pic \
16165 lt_prog_compiler_wl \
16166 lt_prog_compiler_static \
16167 lt_cv_prog_compiler_c_o \
16168 need_locks \
16169 MANIFEST_TOOL \
16170 DSYMUTIL \
16171 NMEDIT \
16172 LIPO \
16173 OTOOL \
16174 OTOOL64 \
16175 shrext_cmds \
16176 export_dynamic_flag_spec \
16177 whole_archive_flag_spec \
16178 compiler_needs_object \
16179 with_gnu_ld \
16180 allow_undefined_flag \
16181 no_undefined_flag \
16182 hardcode_libdir_flag_spec \
16183 hardcode_libdir_separator \
16184 exclude_expsyms \
16185 include_expsyms \
16186 file_list_spec \
16187 variables_saved_for_relink \
16188 libname_spec \
16189 library_names_spec \
16190 soname_spec \
16191 install_override_mode \
16192 finish_eval \
16193 old_striplib \
16194 striplib; do
16195     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16196     *[\\\\\\\`\\"\\\$]*)
16197       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16198       ;;
16199     *)
16200       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16201       ;;
16202     esac
16203 done
16204
16205 # Double-quote double-evaled strings.
16206 for var in reload_cmds \
16207 old_postinstall_cmds \
16208 old_postuninstall_cmds \
16209 old_archive_cmds \
16210 extract_expsyms_cmds \
16211 old_archive_from_new_cmds \
16212 old_archive_from_expsyms_cmds \
16213 archive_cmds \
16214 archive_expsym_cmds \
16215 module_cmds \
16216 module_expsym_cmds \
16217 export_symbols_cmds \
16218 prelink_cmds \
16219 postlink_cmds \
16220 postinstall_cmds \
16221 postuninstall_cmds \
16222 finish_cmds \
16223 sys_lib_search_path_spec \
16224 sys_lib_dlsearch_path_spec; do
16225     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16226     *[\\\\\\\`\\"\\\$]*)
16227       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16228       ;;
16229     *)
16230       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16231       ;;
16232     esac
16233 done
16234
16235 ac_aux_dir='$ac_aux_dir'
16236 xsi_shell='$xsi_shell'
16237 lt_shell_append='$lt_shell_append'
16238
16239 # See if we are running on zsh, and set the options which allow our
16240 # commands through without removal of \ escapes INIT.
16241 if test -n "\${ZSH_VERSION+set}" ; then
16242    setopt NO_GLOB_SUBST
16243 fi
16244
16245
16246     PACKAGE='$PACKAGE'
16247     VERSION='$VERSION'
16248     TIMESTAMP='$TIMESTAMP'
16249     RM='$RM'
16250     ofile='$ofile'
16251
16252 ac_aux_dir='$ac_aux_dir'
16253
16254
16255
16256 _ACEOF
16257
16258 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16259
16260 # Handling of arguments.
16261 for ac_config_target in $ac_config_targets
16262 do
16263   case $ac_config_target in
16264     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16265     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16266     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16267     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16268     "${PACKAGE_NAME}.pc") CONFIG_FILES="$CONFIG_FILES ${PACKAGE_NAME}.pc" ;;
16269     "${PACKAGE_NAME}-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES ${PACKAGE_NAME}-uninstalled.pc" ;;
16270     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
16271     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16272     "src/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/Makefile" ;;
16273     "src/common/db/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/db/Makefile" ;;
16274     "src/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/Makefile" ;;
16275     "src/daemon/db/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/db/Makefile" ;;
16276     "src/daemon/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/Makefile" ;;
16277     "src/daemon/dbus/services/com.google.code.AccountsSSO.gSingleSignOn.service") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/services/com.google.code.AccountsSSO.gSingleSignOn.service" ;;
16278     "src/daemon/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/plugins/Makefile" ;;
16279     "src/daemon/plugins/plugind/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/plugins/plugind/Makefile" ;;
16280     "src/extensions/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/Makefile" ;;
16281     "src/extensions/test/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/test/Makefile" ;;
16282     "src/extensions/tizen/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/tizen/Makefile" ;;
16283     "src/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/Makefile" ;;
16284     "src/plugins/password/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/password/Makefile" ;;
16285     "src/plugins/ssotest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/ssotest/Makefile" ;;
16286     "src/plugins/digest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/digest/Makefile" ;;
16287     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
16288     "test/common/Makefile") CONFIG_FILES="$CONFIG_FILES test/common/Makefile" ;;
16289     "test/db/Makefile") CONFIG_FILES="$CONFIG_FILES test/db/Makefile" ;;
16290     "test/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES test/daemon/Makefile" ;;
16291     "test/daemon/gsignond-dbus.conf") CONFIG_FILES="$CONFIG_FILES test/daemon/gsignond-dbus.conf" ;;
16292     "test/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES test/plugins/Makefile" ;;
16293     "test/daemon/services/com.google.code.AccountsSSO.gSingleSignOn.service") CONFIG_FILES="$CONFIG_FILES test/daemon/services/com.google.code.AccountsSSO.gSingleSignOn.service" ;;
16294
16295   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16296   esac
16297 done
16298
16299
16300 # If the user did not use the arguments to specify the items to instantiate,
16301 # then the envvar interface is used.  Set only those that are not.
16302 # We use the long form for the default assignment because of an extremely
16303 # bizarre bug on SunOS 4.1.3.
16304 if $ac_need_defaults; then
16305   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16306   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16307   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16308 fi
16309
16310 # Have a temporary directory for convenience.  Make it in the build tree
16311 # simply because there is no reason against having it here, and in addition,
16312 # creating and moving files from /tmp can sometimes cause problems.
16313 # Hook for its removal unless debugging.
16314 # Note that there is a small window in which the directory will not be cleaned:
16315 # after its creation but before its name has been assigned to `$tmp'.
16316 $debug ||
16317 {
16318   tmp= ac_tmp=
16319   trap 'exit_status=$?
16320   : "${ac_tmp:=$tmp}"
16321   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16322 ' 0
16323   trap 'as_fn_exit 1' 1 2 13 15
16324 }
16325 # Create a (secure) tmp directory for tmp files.
16326
16327 {
16328   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16329   test -d "$tmp"
16330 }  ||
16331 {
16332   tmp=./conf$$-$RANDOM
16333   (umask 077 && mkdir "$tmp")
16334 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16335 ac_tmp=$tmp
16336
16337 # Set up the scripts for CONFIG_FILES section.
16338 # No need to generate them if there are no CONFIG_FILES.
16339 # This happens for instance with `./config.status config.h'.
16340 if test -n "$CONFIG_FILES"; then
16341
16342
16343 ac_cr=`echo X | tr X '\015'`
16344 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16345 # But we know of no other shell where ac_cr would be empty at this
16346 # point, so we can use a bashism as a fallback.
16347 if test "x$ac_cr" = x; then
16348   eval ac_cr=\$\'\\r\'
16349 fi
16350 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16351 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16352   ac_cs_awk_cr='\\r'
16353 else
16354   ac_cs_awk_cr=$ac_cr
16355 fi
16356
16357 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16358 _ACEOF
16359
16360
16361 {
16362   echo "cat >conf$$subs.awk <<_ACEOF" &&
16363   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16364   echo "_ACEOF"
16365 } >conf$$subs.sh ||
16366   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16367 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16368 ac_delim='%!_!# '
16369 for ac_last_try in false false false false false :; do
16370   . ./conf$$subs.sh ||
16371     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16372
16373   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16374   if test $ac_delim_n = $ac_delim_num; then
16375     break
16376   elif $ac_last_try; then
16377     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16378   else
16379     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16380   fi
16381 done
16382 rm -f conf$$subs.sh
16383
16384 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16385 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16386 _ACEOF
16387 sed -n '
16388 h
16389 s/^/S["/; s/!.*/"]=/
16390 p
16391 g
16392 s/^[^!]*!//
16393 :repl
16394 t repl
16395 s/'"$ac_delim"'$//
16396 t delim
16397 :nl
16398 h
16399 s/\(.\{148\}\)..*/\1/
16400 t more1
16401 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16402 p
16403 n
16404 b repl
16405 :more1
16406 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16407 p
16408 g
16409 s/.\{148\}//
16410 t nl
16411 :delim
16412 h
16413 s/\(.\{148\}\)..*/\1/
16414 t more2
16415 s/["\\]/\\&/g; s/^/"/; s/$/"/
16416 p
16417 b
16418 :more2
16419 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16420 p
16421 g
16422 s/.\{148\}//
16423 t delim
16424 ' <conf$$subs.awk | sed '
16425 /^[^""]/{
16426   N
16427   s/\n//
16428 }
16429 ' >>$CONFIG_STATUS || ac_write_fail=1
16430 rm -f conf$$subs.awk
16431 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16432 _ACAWK
16433 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16434   for (key in S) S_is_set[key] = 1
16435   FS = "\a"
16436
16437 }
16438 {
16439   line = $ 0
16440   nfields = split(line, field, "@")
16441   substed = 0
16442   len = length(field[1])
16443   for (i = 2; i < nfields; i++) {
16444     key = field[i]
16445     keylen = length(key)
16446     if (S_is_set[key]) {
16447       value = S[key]
16448       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16449       len += length(value) + length(field[++i])
16450       substed = 1
16451     } else
16452       len += 1 + keylen
16453   }
16454
16455   print line
16456 }
16457
16458 _ACAWK
16459 _ACEOF
16460 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16461 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16462   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16463 else
16464   cat
16465 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16466   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16467 _ACEOF
16468
16469 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16470 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16471 # trailing colons and then remove the whole line if VPATH becomes empty
16472 # (actually we leave an empty line to preserve line numbers).
16473 if test "x$srcdir" = x.; then
16474   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
16475 h
16476 s///
16477 s/^/:/
16478 s/[      ]*$/:/
16479 s/:\$(srcdir):/:/g
16480 s/:\${srcdir}:/:/g
16481 s/:@srcdir@:/:/g
16482 s/^:*//
16483 s/:*$//
16484 x
16485 s/\(=[   ]*\).*/\1/
16486 G
16487 s/\n//
16488 s/^[^=]*=[       ]*$//
16489 }'
16490 fi
16491
16492 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16493 fi # test -n "$CONFIG_FILES"
16494
16495 # Set up the scripts for CONFIG_HEADERS section.
16496 # No need to generate them if there are no CONFIG_HEADERS.
16497 # This happens for instance with `./config.status Makefile'.
16498 if test -n "$CONFIG_HEADERS"; then
16499 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16500 BEGIN {
16501 _ACEOF
16502
16503 # Transform confdefs.h into an awk script `defines.awk', embedded as
16504 # here-document in config.status, that substitutes the proper values into
16505 # config.h.in to produce config.h.
16506
16507 # Create a delimiter string that does not exist in confdefs.h, to ease
16508 # handling of long lines.
16509 ac_delim='%!_!# '
16510 for ac_last_try in false false :; do
16511   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16512   if test -z "$ac_tt"; then
16513     break
16514   elif $ac_last_try; then
16515     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16516   else
16517     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16518   fi
16519 done
16520
16521 # For the awk script, D is an array of macro values keyed by name,
16522 # likewise P contains macro parameters if any.  Preserve backslash
16523 # newline sequences.
16524
16525 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16526 sed -n '
16527 s/.\{148\}/&'"$ac_delim"'/g
16528 t rset
16529 :rset
16530 s/^[     ]*#[    ]*define[       ][      ]*/ /
16531 t def
16532 d
16533 :def
16534 s/\\$//
16535 t bsnl
16536 s/["\\]/\\&/g
16537 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16538 D["\1"]=" \3"/p
16539 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
16540 d
16541 :bsnl
16542 s/["\\]/\\&/g
16543 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16544 D["\1"]=" \3\\\\\\n"\\/p
16545 t cont
16546 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16547 t cont
16548 d
16549 :cont
16550 n
16551 s/.\{148\}/&'"$ac_delim"'/g
16552 t clear
16553 :clear
16554 s/\\$//
16555 t bsnlc
16556 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16557 d
16558 :bsnlc
16559 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16560 b cont
16561 ' <confdefs.h | sed '
16562 s/'"$ac_delim"'/"\\\
16563 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16564
16565 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16566   for (key in D) D_is_set[key] = 1
16567   FS = "\a"
16568 }
16569 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16570   line = \$ 0
16571   split(line, arg, " ")
16572   if (arg[1] == "#") {
16573     defundef = arg[2]
16574     mac1 = arg[3]
16575   } else {
16576     defundef = substr(arg[1], 2)
16577     mac1 = arg[2]
16578   }
16579   split(mac1, mac2, "(") #)
16580   macro = mac2[1]
16581   prefix = substr(line, 1, index(line, defundef) - 1)
16582   if (D_is_set[macro]) {
16583     # Preserve the white space surrounding the "#".
16584     print prefix "define", macro P[macro] D[macro]
16585     next
16586   } else {
16587     # Replace #undef with comments.  This is necessary, for example,
16588     # in the case of _POSIX_SOURCE, which is predefined and required
16589     # on some systems where configure will not decide to define it.
16590     if (defundef == "undef") {
16591       print "/*", prefix defundef, macro, "*/"
16592       next
16593     }
16594   }
16595 }
16596 { print }
16597 _ACAWK
16598 _ACEOF
16599 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16600   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16601 fi # test -n "$CONFIG_HEADERS"
16602
16603
16604 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
16605 shift
16606 for ac_tag
16607 do
16608   case $ac_tag in
16609   :[FHLC]) ac_mode=$ac_tag; continue;;
16610   esac
16611   case $ac_mode$ac_tag in
16612   :[FHL]*:*);;
16613   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16614   :[FH]-) ac_tag=-:-;;
16615   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16616   esac
16617   ac_save_IFS=$IFS
16618   IFS=:
16619   set x $ac_tag
16620   IFS=$ac_save_IFS
16621   shift
16622   ac_file=$1
16623   shift
16624
16625   case $ac_mode in
16626   :L) ac_source=$1;;
16627   :[FH])
16628     ac_file_inputs=
16629     for ac_f
16630     do
16631       case $ac_f in
16632       -) ac_f="$ac_tmp/stdin";;
16633       *) # Look for the file first in the build tree, then in the source tree
16634          # (if the path is not absolute).  The absolute path cannot be DOS-style,
16635          # because $ac_f cannot contain `:'.
16636          test -f "$ac_f" ||
16637            case $ac_f in
16638            [\\/$]*) false;;
16639            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16640            esac ||
16641            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16642       esac
16643       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16644       as_fn_append ac_file_inputs " '$ac_f'"
16645     done
16646
16647     # Let's still pretend it is `configure' which instantiates (i.e., don't
16648     # use $as_me), people would be surprised to read:
16649     #    /* config.h.  Generated by config.status.  */
16650     configure_input='Generated from '`
16651           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16652         `' by configure.'
16653     if test x"$ac_file" != x-; then
16654       configure_input="$ac_file.  $configure_input"
16655       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16656 $as_echo "$as_me: creating $ac_file" >&6;}
16657     fi
16658     # Neutralize special characters interpreted by sed in replacement strings.
16659     case $configure_input in #(
16660     *\&* | *\|* | *\\* )
16661        ac_sed_conf_input=`$as_echo "$configure_input" |
16662        sed 's/[\\\\&|]/\\\\&/g'`;; #(
16663     *) ac_sed_conf_input=$configure_input;;
16664     esac
16665
16666     case $ac_tag in
16667     *:-:* | *:-) cat >"$ac_tmp/stdin" \
16668       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16669     esac
16670     ;;
16671   esac
16672
16673   ac_dir=`$as_dirname -- "$ac_file" ||
16674 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16675          X"$ac_file" : 'X\(//\)[^/]' \| \
16676          X"$ac_file" : 'X\(//\)$' \| \
16677          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16678 $as_echo X"$ac_file" |
16679     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16680             s//\1/
16681             q
16682           }
16683           /^X\(\/\/\)[^/].*/{
16684             s//\1/
16685             q
16686           }
16687           /^X\(\/\/\)$/{
16688             s//\1/
16689             q
16690           }
16691           /^X\(\/\).*/{
16692             s//\1/
16693             q
16694           }
16695           s/.*/./; q'`
16696   as_dir="$ac_dir"; as_fn_mkdir_p
16697   ac_builddir=.
16698
16699 case "$ac_dir" in
16700 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16701 *)
16702   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16703   # A ".." for each directory in $ac_dir_suffix.
16704   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16705   case $ac_top_builddir_sub in
16706   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16707   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16708   esac ;;
16709 esac
16710 ac_abs_top_builddir=$ac_pwd
16711 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16712 # for backward compatibility:
16713 ac_top_builddir=$ac_top_build_prefix
16714
16715 case $srcdir in
16716   .)  # We are building in place.
16717     ac_srcdir=.
16718     ac_top_srcdir=$ac_top_builddir_sub
16719     ac_abs_top_srcdir=$ac_pwd ;;
16720   [\\/]* | ?:[\\/]* )  # Absolute name.
16721     ac_srcdir=$srcdir$ac_dir_suffix;
16722     ac_top_srcdir=$srcdir
16723     ac_abs_top_srcdir=$srcdir ;;
16724   *) # Relative name.
16725     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16726     ac_top_srcdir=$ac_top_build_prefix$srcdir
16727     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16728 esac
16729 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16730
16731
16732   case $ac_mode in
16733   :F)
16734   #
16735   # CONFIG_FILE
16736   #
16737
16738   case $INSTALL in
16739   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16740   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16741   esac
16742   ac_MKDIR_P=$MKDIR_P
16743   case $MKDIR_P in
16744   [\\/$]* | ?:[\\/]* ) ;;
16745   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16746   esac
16747 _ACEOF
16748
16749 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16750 # If the template does not know about datarootdir, expand it.
16751 # FIXME: This hack should be removed a few years after 2.60.
16752 ac_datarootdir_hack=; ac_datarootdir_seen=
16753 ac_sed_dataroot='
16754 /datarootdir/ {
16755   p
16756   q
16757 }
16758 /@datadir@/p
16759 /@docdir@/p
16760 /@infodir@/p
16761 /@localedir@/p
16762 /@mandir@/p'
16763 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16764 *datarootdir*) ac_datarootdir_seen=yes;;
16765 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16766   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16767 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16768 _ACEOF
16769 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16770   ac_datarootdir_hack='
16771   s&@datadir@&$datadir&g
16772   s&@docdir@&$docdir&g
16773   s&@infodir@&$infodir&g
16774   s&@localedir@&$localedir&g
16775   s&@mandir@&$mandir&g
16776   s&\\\${datarootdir}&$datarootdir&g' ;;
16777 esac
16778 _ACEOF
16779
16780 # Neutralize VPATH when `$srcdir' = `.'.
16781 # Shell code in configure.ac might set extrasub.
16782 # FIXME: do we really want to maintain this feature?
16783 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16784 ac_sed_extra="$ac_vpsub
16785 $extrasub
16786 _ACEOF
16787 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16788 :t
16789 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16790 s|@configure_input@|$ac_sed_conf_input|;t t
16791 s&@top_builddir@&$ac_top_builddir_sub&;t t
16792 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16793 s&@srcdir@&$ac_srcdir&;t t
16794 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16795 s&@top_srcdir@&$ac_top_srcdir&;t t
16796 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16797 s&@builddir@&$ac_builddir&;t t
16798 s&@abs_builddir@&$ac_abs_builddir&;t t
16799 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16800 s&@INSTALL@&$ac_INSTALL&;t t
16801 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16802 $ac_datarootdir_hack
16803 "
16804 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16805   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16806
16807 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16808   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16809   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16810       "$ac_tmp/out"`; test -z "$ac_out"; } &&
16811   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16812 which seems to be undefined.  Please make sure it is defined" >&5
16813 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16814 which seems to be undefined.  Please make sure it is defined" >&2;}
16815
16816   rm -f "$ac_tmp/stdin"
16817   case $ac_file in
16818   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16819   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16820   esac \
16821   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16822  ;;
16823   :H)
16824   #
16825   # CONFIG_HEADER
16826   #
16827   if test x"$ac_file" != x-; then
16828     {
16829       $as_echo "/* $configure_input  */" \
16830       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16831     } >"$ac_tmp/config.h" \
16832       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16833     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16834       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16835 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16836     else
16837       rm -f "$ac_file"
16838       mv "$ac_tmp/config.h" "$ac_file" \
16839         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16840     fi
16841   else
16842     $as_echo "/* $configure_input  */" \
16843       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16844       || as_fn_error $? "could not create -" "$LINENO" 5
16845   fi
16846 # Compute "$ac_file"'s index in $config_headers.
16847 _am_arg="$ac_file"
16848 _am_stamp_count=1
16849 for _am_header in $config_headers :; do
16850   case $_am_header in
16851     $_am_arg | $_am_arg:* )
16852       break ;;
16853     * )
16854       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16855   esac
16856 done
16857 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16858 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16859          X"$_am_arg" : 'X\(//\)[^/]' \| \
16860          X"$_am_arg" : 'X\(//\)$' \| \
16861          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16862 $as_echo X"$_am_arg" |
16863     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16864             s//\1/
16865             q
16866           }
16867           /^X\(\/\/\)[^/].*/{
16868             s//\1/
16869             q
16870           }
16871           /^X\(\/\/\)$/{
16872             s//\1/
16873             q
16874           }
16875           /^X\(\/\).*/{
16876             s//\1/
16877             q
16878           }
16879           s/.*/./; q'`/stamp-h$_am_stamp_count
16880  ;;
16881
16882   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16883 $as_echo "$as_me: executing $ac_file commands" >&6;}
16884  ;;
16885   esac
16886
16887
16888   case $ac_file$ac_mode in
16889     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16890   # Autoconf 2.62 quotes --file arguments for eval, but not when files
16891   # are listed without --file.  Let's play safe and only enable the eval
16892   # if we detect the quoting.
16893   case $CONFIG_FILES in
16894   *\'*) eval set x "$CONFIG_FILES" ;;
16895   *)   set x $CONFIG_FILES ;;
16896   esac
16897   shift
16898   for mf
16899   do
16900     # Strip MF so we end up with the name of the file.
16901     mf=`echo "$mf" | sed -e 's/:.*$//'`
16902     # Check whether this is an Automake generated Makefile or not.
16903     # We used to match only the files named `Makefile.in', but
16904     # some people rename them; so instead we look at the file content.
16905     # Grep'ing the first line is not enough: some people post-process
16906     # each Makefile.in and add a new line on top of each file to say so.
16907     # Grep'ing the whole file is not good either: AIX grep has a line
16908     # limit of 2048, but all sed's we know have understand at least 4000.
16909     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16910       dirpart=`$as_dirname -- "$mf" ||
16911 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16912          X"$mf" : 'X\(//\)[^/]' \| \
16913          X"$mf" : 'X\(//\)$' \| \
16914          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16915 $as_echo X"$mf" |
16916     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16917             s//\1/
16918             q
16919           }
16920           /^X\(\/\/\)[^/].*/{
16921             s//\1/
16922             q
16923           }
16924           /^X\(\/\/\)$/{
16925             s//\1/
16926             q
16927           }
16928           /^X\(\/\).*/{
16929             s//\1/
16930             q
16931           }
16932           s/.*/./; q'`
16933     else
16934       continue
16935     fi
16936     # Extract the definition of DEPDIR, am__include, and am__quote
16937     # from the Makefile without running `make'.
16938     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16939     test -z "$DEPDIR" && continue
16940     am__include=`sed -n 's/^am__include = //p' < "$mf"`
16941     test -z "am__include" && continue
16942     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16943     # When using ansi2knr, U may be empty or an underscore; expand it
16944     U=`sed -n 's/^U = //p' < "$mf"`
16945     # Find all dependency output files, they are included files with
16946     # $(DEPDIR) in their names.  We invoke sed twice because it is the
16947     # simplest approach to changing $(DEPDIR) to its actual value in the
16948     # expansion.
16949     for file in `sed -n "
16950       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16951          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16952       # Make sure the directory exists.
16953       test -f "$dirpart/$file" && continue
16954       fdir=`$as_dirname -- "$file" ||
16955 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16956          X"$file" : 'X\(//\)[^/]' \| \
16957          X"$file" : 'X\(//\)$' \| \
16958          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16959 $as_echo X"$file" |
16960     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16961             s//\1/
16962             q
16963           }
16964           /^X\(\/\/\)[^/].*/{
16965             s//\1/
16966             q
16967           }
16968           /^X\(\/\/\)$/{
16969             s//\1/
16970             q
16971           }
16972           /^X\(\/\).*/{
16973             s//\1/
16974             q
16975           }
16976           s/.*/./; q'`
16977       as_dir=$dirpart/$fdir; as_fn_mkdir_p
16978       # echo "creating $dirpart/$file"
16979       echo '# dummy' > "$dirpart/$file"
16980     done
16981   done
16982 }
16983  ;;
16984     "libtool":C)
16985
16986     # See if we are running on zsh, and set the options which allow our
16987     # commands through without removal of \ escapes.
16988     if test -n "${ZSH_VERSION+set}" ; then
16989       setopt NO_GLOB_SUBST
16990     fi
16991
16992     cfgfile="${ofile}T"
16993     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16994     $RM "$cfgfile"
16995
16996     cat <<_LT_EOF >> "$cfgfile"
16997 #! $SHELL
16998
16999 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17000 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17001 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17002 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17003 #
17004 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17005 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17006 #                 Foundation, Inc.
17007 #   Written by Gordon Matzigkeit, 1996
17008 #
17009 #   This file is part of GNU Libtool.
17010 #
17011 # GNU Libtool is free software; you can redistribute it and/or
17012 # modify it under the terms of the GNU General Public License as
17013 # published by the Free Software Foundation; either version 2 of
17014 # the License, or (at your option) any later version.
17015 #
17016 # As a special exception to the GNU General Public License,
17017 # if you distribute this file as part of a program or library that
17018 # is built using GNU Libtool, you may include this file under the
17019 # same distribution terms that you use for the rest of that program.
17020 #
17021 # GNU Libtool is distributed in the hope that it will be useful,
17022 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17023 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17024 # GNU General Public License for more details.
17025 #
17026 # You should have received a copy of the GNU General Public License
17027 # along with GNU Libtool; see the file COPYING.  If not, a copy
17028 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17029 # obtained by writing to the Free Software Foundation, Inc.,
17030 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17031
17032
17033 # The names of the tagged configurations supported by this script.
17034 available_tags=""
17035
17036 # ### BEGIN LIBTOOL CONFIG
17037
17038 # Which release of libtool.m4 was used?
17039 macro_version=$macro_version
17040 macro_revision=$macro_revision
17041
17042 # Whether or not to build static libraries.
17043 build_old_libs=$enable_static
17044
17045 # Whether or not to build shared libraries.
17046 build_libtool_libs=$enable_shared
17047
17048 # What type of objects to build.
17049 pic_mode=$pic_mode
17050
17051 # Whether or not to optimize for fast installation.
17052 fast_install=$enable_fast_install
17053
17054 # Shell to use when invoking shell scripts.
17055 SHELL=$lt_SHELL
17056
17057 # An echo program that protects backslashes.
17058 ECHO=$lt_ECHO
17059
17060 # The PATH separator for the build system.
17061 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17062
17063 # The host system.
17064 host_alias=$host_alias
17065 host=$host
17066 host_os=$host_os
17067
17068 # The build system.
17069 build_alias=$build_alias
17070 build=$build
17071 build_os=$build_os
17072
17073 # A sed program that does not truncate output.
17074 SED=$lt_SED
17075
17076 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17077 Xsed="\$SED -e 1s/^X//"
17078
17079 # A grep program that handles long lines.
17080 GREP=$lt_GREP
17081
17082 # An ERE matcher.
17083 EGREP=$lt_EGREP
17084
17085 # A literal string matcher.
17086 FGREP=$lt_FGREP
17087
17088 # A BSD- or MS-compatible name lister.
17089 NM=$lt_NM
17090
17091 # Whether we need soft or hard links.
17092 LN_S=$lt_LN_S
17093
17094 # What is the maximum length of a command?
17095 max_cmd_len=$max_cmd_len
17096
17097 # Object file suffix (normally "o").
17098 objext=$ac_objext
17099
17100 # Executable file suffix (normally "").
17101 exeext=$exeext
17102
17103 # whether the shell understands "unset".
17104 lt_unset=$lt_unset
17105
17106 # turn spaces into newlines.
17107 SP2NL=$lt_lt_SP2NL
17108
17109 # turn newlines into spaces.
17110 NL2SP=$lt_lt_NL2SP
17111
17112 # convert \$build file names to \$host format.
17113 to_host_file_cmd=$lt_cv_to_host_file_cmd
17114
17115 # convert \$build files to toolchain format.
17116 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17117
17118 # An object symbol dumper.
17119 OBJDUMP=$lt_OBJDUMP
17120
17121 # Method to check whether dependent libraries are shared objects.
17122 deplibs_check_method=$lt_deplibs_check_method
17123
17124 # Command to use when deplibs_check_method = "file_magic".
17125 file_magic_cmd=$lt_file_magic_cmd
17126
17127 # How to find potential files when deplibs_check_method = "file_magic".
17128 file_magic_glob=$lt_file_magic_glob
17129
17130 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17131 want_nocaseglob=$lt_want_nocaseglob
17132
17133 # DLL creation program.
17134 DLLTOOL=$lt_DLLTOOL
17135
17136 # Command to associate shared and link libraries.
17137 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17138
17139 # The archiver.
17140 AR=$lt_AR
17141
17142 # Flags to create an archive.
17143 AR_FLAGS=$lt_AR_FLAGS
17144
17145 # How to feed a file listing to the archiver.
17146 archiver_list_spec=$lt_archiver_list_spec
17147
17148 # A symbol stripping program.
17149 STRIP=$lt_STRIP
17150
17151 # Commands used to install an old-style archive.
17152 RANLIB=$lt_RANLIB
17153 old_postinstall_cmds=$lt_old_postinstall_cmds
17154 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17155
17156 # Whether to use a lock for old archive extraction.
17157 lock_old_archive_extraction=$lock_old_archive_extraction
17158
17159 # A C compiler.
17160 LTCC=$lt_CC
17161
17162 # LTCC compiler flags.
17163 LTCFLAGS=$lt_CFLAGS
17164
17165 # Take the output of nm and produce a listing of raw symbols and C names.
17166 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17167
17168 # Transform the output of nm in a proper C declaration.
17169 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17170
17171 # Transform the output of nm in a C name address pair.
17172 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17173
17174 # Transform the output of nm in a C name address pair when lib prefix is needed.
17175 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17176
17177 # Specify filename containing input files for \$NM.
17178 nm_file_list_spec=$lt_nm_file_list_spec
17179
17180 # The root where to search for dependent libraries,and in which our libraries should be installed.
17181 lt_sysroot=$lt_sysroot
17182
17183 # The name of the directory that contains temporary libtool files.
17184 objdir=$objdir
17185
17186 # Used to examine libraries when file_magic_cmd begins with "file".
17187 MAGIC_CMD=$MAGIC_CMD
17188
17189 # Must we lock files when doing compilation?
17190 need_locks=$lt_need_locks
17191
17192 # Manifest tool.
17193 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17194
17195 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17196 DSYMUTIL=$lt_DSYMUTIL
17197
17198 # Tool to change global to local symbols on Mac OS X.
17199 NMEDIT=$lt_NMEDIT
17200
17201 # Tool to manipulate fat objects and archives on Mac OS X.
17202 LIPO=$lt_LIPO
17203
17204 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17205 OTOOL=$lt_OTOOL
17206
17207 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17208 OTOOL64=$lt_OTOOL64
17209
17210 # Old archive suffix (normally "a").
17211 libext=$libext
17212
17213 # Shared library suffix (normally ".so").
17214 shrext_cmds=$lt_shrext_cmds
17215
17216 # The commands to extract the exported symbol list from a shared archive.
17217 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17218
17219 # Variables whose values should be saved in libtool wrapper scripts and
17220 # restored at link time.
17221 variables_saved_for_relink=$lt_variables_saved_for_relink
17222
17223 # Do we need the "lib" prefix for modules?
17224 need_lib_prefix=$need_lib_prefix
17225
17226 # Do we need a version for libraries?
17227 need_version=$need_version
17228
17229 # Library versioning type.
17230 version_type=$version_type
17231
17232 # Shared library runtime path variable.
17233 runpath_var=$runpath_var
17234
17235 # Shared library path variable.
17236 shlibpath_var=$shlibpath_var
17237
17238 # Is shlibpath searched before the hard-coded library search path?
17239 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17240
17241 # Format of library name prefix.
17242 libname_spec=$lt_libname_spec
17243
17244 # List of archive names.  First name is the real one, the rest are links.
17245 # The last name is the one that the linker finds with -lNAME
17246 library_names_spec=$lt_library_names_spec
17247
17248 # The coded name of the library, if different from the real name.
17249 soname_spec=$lt_soname_spec
17250
17251 # Permission mode override for installation of shared libraries.
17252 install_override_mode=$lt_install_override_mode
17253
17254 # Command to use after installation of a shared archive.
17255 postinstall_cmds=$lt_postinstall_cmds
17256
17257 # Command to use after uninstallation of a shared archive.
17258 postuninstall_cmds=$lt_postuninstall_cmds
17259
17260 # Commands used to finish a libtool library installation in a directory.
17261 finish_cmds=$lt_finish_cmds
17262
17263 # As "finish_cmds", except a single script fragment to be evaled but
17264 # not shown.
17265 finish_eval=$lt_finish_eval
17266
17267 # Whether we should hardcode library paths into libraries.
17268 hardcode_into_libs=$hardcode_into_libs
17269
17270 # Compile-time system search path for libraries.
17271 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17272
17273 # Run-time system search path for libraries.
17274 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17275
17276 # Whether dlopen is supported.
17277 dlopen_support=$enable_dlopen
17278
17279 # Whether dlopen of programs is supported.
17280 dlopen_self=$enable_dlopen_self
17281
17282 # Whether dlopen of statically linked programs is supported.
17283 dlopen_self_static=$enable_dlopen_self_static
17284
17285 # Commands to strip libraries.
17286 old_striplib=$lt_old_striplib
17287 striplib=$lt_striplib
17288
17289
17290 # The linker used to build libraries.
17291 LD=$lt_LD
17292
17293 # How to create reloadable object files.
17294 reload_flag=$lt_reload_flag
17295 reload_cmds=$lt_reload_cmds
17296
17297 # Commands used to build an old-style archive.
17298 old_archive_cmds=$lt_old_archive_cmds
17299
17300 # A language specific compiler.
17301 CC=$lt_compiler
17302
17303 # Is the compiler the GNU compiler?
17304 with_gcc=$GCC
17305
17306 # Compiler flag to turn off builtin functions.
17307 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17308
17309 # Additional compiler flags for building library objects.
17310 pic_flag=$lt_lt_prog_compiler_pic
17311
17312 # How to pass a linker flag through the compiler.
17313 wl=$lt_lt_prog_compiler_wl
17314
17315 # Compiler flag to prevent dynamic linking.
17316 link_static_flag=$lt_lt_prog_compiler_static
17317
17318 # Does compiler simultaneously support -c and -o options?
17319 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17320
17321 # Whether or not to add -lc for building shared libraries.
17322 build_libtool_need_lc=$archive_cmds_need_lc
17323
17324 # Whether or not to disallow shared libs when runtime libs are static.
17325 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17326
17327 # Compiler flag to allow reflexive dlopens.
17328 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17329
17330 # Compiler flag to generate shared objects directly from archives.
17331 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17332
17333 # Whether the compiler copes with passing no objects directly.
17334 compiler_needs_object=$lt_compiler_needs_object
17335
17336 # Create an old-style archive from a shared archive.
17337 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17338
17339 # Create a temporary old-style archive to link instead of a shared archive.
17340 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17341
17342 # Commands used to build a shared archive.
17343 archive_cmds=$lt_archive_cmds
17344 archive_expsym_cmds=$lt_archive_expsym_cmds
17345
17346 # Commands used to build a loadable module if different from building
17347 # a shared archive.
17348 module_cmds=$lt_module_cmds
17349 module_expsym_cmds=$lt_module_expsym_cmds
17350
17351 # Whether we are building with GNU ld or not.
17352 with_gnu_ld=$lt_with_gnu_ld
17353
17354 # Flag that allows shared libraries with undefined symbols to be built.
17355 allow_undefined_flag=$lt_allow_undefined_flag
17356
17357 # Flag that enforces no undefined symbols.
17358 no_undefined_flag=$lt_no_undefined_flag
17359
17360 # Flag to hardcode \$libdir into a binary during linking.
17361 # This must work even if \$libdir does not exist
17362 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17363
17364 # Whether we need a single "-rpath" flag with a separated argument.
17365 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17366
17367 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17368 # DIR into the resulting binary.
17369 hardcode_direct=$hardcode_direct
17370
17371 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17372 # DIR into the resulting binary and the resulting library dependency is
17373 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17374 # library is relocated.
17375 hardcode_direct_absolute=$hardcode_direct_absolute
17376
17377 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17378 # into the resulting binary.
17379 hardcode_minus_L=$hardcode_minus_L
17380
17381 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17382 # into the resulting binary.
17383 hardcode_shlibpath_var=$hardcode_shlibpath_var
17384
17385 # Set to "yes" if building a shared library automatically hardcodes DIR
17386 # into the library and all subsequent libraries and executables linked
17387 # against it.
17388 hardcode_automatic=$hardcode_automatic
17389
17390 # Set to yes if linker adds runtime paths of dependent libraries
17391 # to runtime path list.
17392 inherit_rpath=$inherit_rpath
17393
17394 # Whether libtool must link a program against all its dependency libraries.
17395 link_all_deplibs=$link_all_deplibs
17396
17397 # Set to "yes" if exported symbols are required.
17398 always_export_symbols=$always_export_symbols
17399
17400 # The commands to list exported symbols.
17401 export_symbols_cmds=$lt_export_symbols_cmds
17402
17403 # Symbols that should not be listed in the preloaded symbols.
17404 exclude_expsyms=$lt_exclude_expsyms
17405
17406 # Symbols that must always be exported.
17407 include_expsyms=$lt_include_expsyms
17408
17409 # Commands necessary for linking programs (against libraries) with templates.
17410 prelink_cmds=$lt_prelink_cmds
17411
17412 # Commands necessary for finishing linking programs.
17413 postlink_cmds=$lt_postlink_cmds
17414
17415 # Specify filename containing input files.
17416 file_list_spec=$lt_file_list_spec
17417
17418 # How to hardcode a shared library path into an executable.
17419 hardcode_action=$hardcode_action
17420
17421 # ### END LIBTOOL CONFIG
17422
17423 _LT_EOF
17424
17425   case $host_os in
17426   aix3*)
17427     cat <<\_LT_EOF >> "$cfgfile"
17428 # AIX sometimes has problems with the GCC collect2 program.  For some
17429 # reason, if we set the COLLECT_NAMES environment variable, the problems
17430 # vanish in a puff of smoke.
17431 if test "X${COLLECT_NAMES+set}" != Xset; then
17432   COLLECT_NAMES=
17433   export COLLECT_NAMES
17434 fi
17435 _LT_EOF
17436     ;;
17437   esac
17438
17439
17440 ltmain="$ac_aux_dir/ltmain.sh"
17441
17442
17443   # We use sed instead of cat because bash on DJGPP gets confused if
17444   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17445   # text mode, it properly converts lines to CR/LF.  This bash problem
17446   # is reportedly fixed, but why not run on old versions too?
17447   sed '$q' "$ltmain" >> "$cfgfile" \
17448      || (rm -f "$cfgfile"; exit 1)
17449
17450   if test x"$xsi_shell" = xyes; then
17451   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17452 func_dirname ()\
17453 {\
17454 \    case ${1} in\
17455 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17456 \      *  ) func_dirname_result="${3}" ;;\
17457 \    esac\
17458 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17459   && mv -f "$cfgfile.tmp" "$cfgfile" \
17460     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17461 test 0 -eq $? || _lt_function_replace_fail=:
17462
17463
17464   sed -e '/^func_basename ()$/,/^} # func_basename /c\
17465 func_basename ()\
17466 {\
17467 \    func_basename_result="${1##*/}"\
17468 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17469   && mv -f "$cfgfile.tmp" "$cfgfile" \
17470     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17471 test 0 -eq $? || _lt_function_replace_fail=:
17472
17473
17474   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17475 func_dirname_and_basename ()\
17476 {\
17477 \    case ${1} in\
17478 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17479 \      *  ) func_dirname_result="${3}" ;;\
17480 \    esac\
17481 \    func_basename_result="${1##*/}"\
17482 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17483   && mv -f "$cfgfile.tmp" "$cfgfile" \
17484     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17485 test 0 -eq $? || _lt_function_replace_fail=:
17486
17487
17488   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17489 func_stripname ()\
17490 {\
17491 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17492 \    # positional parameters, so assign one to ordinary parameter first.\
17493 \    func_stripname_result=${3}\
17494 \    func_stripname_result=${func_stripname_result#"${1}"}\
17495 \    func_stripname_result=${func_stripname_result%"${2}"}\
17496 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17497   && mv -f "$cfgfile.tmp" "$cfgfile" \
17498     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17499 test 0 -eq $? || _lt_function_replace_fail=:
17500
17501
17502   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17503 func_split_long_opt ()\
17504 {\
17505 \    func_split_long_opt_name=${1%%=*}\
17506 \    func_split_long_opt_arg=${1#*=}\
17507 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17508   && mv -f "$cfgfile.tmp" "$cfgfile" \
17509     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17510 test 0 -eq $? || _lt_function_replace_fail=:
17511
17512
17513   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17514 func_split_short_opt ()\
17515 {\
17516 \    func_split_short_opt_arg=${1#??}\
17517 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17518 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17519   && mv -f "$cfgfile.tmp" "$cfgfile" \
17520     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17521 test 0 -eq $? || _lt_function_replace_fail=:
17522
17523
17524   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17525 func_lo2o ()\
17526 {\
17527 \    case ${1} in\
17528 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17529 \      *)    func_lo2o_result=${1} ;;\
17530 \    esac\
17531 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17532   && mv -f "$cfgfile.tmp" "$cfgfile" \
17533     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17534 test 0 -eq $? || _lt_function_replace_fail=:
17535
17536
17537   sed -e '/^func_xform ()$/,/^} # func_xform /c\
17538 func_xform ()\
17539 {\
17540     func_xform_result=${1%.*}.lo\
17541 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17542   && mv -f "$cfgfile.tmp" "$cfgfile" \
17543     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17544 test 0 -eq $? || _lt_function_replace_fail=:
17545
17546
17547   sed -e '/^func_arith ()$/,/^} # func_arith /c\
17548 func_arith ()\
17549 {\
17550     func_arith_result=$(( $* ))\
17551 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17552   && mv -f "$cfgfile.tmp" "$cfgfile" \
17553     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17554 test 0 -eq $? || _lt_function_replace_fail=:
17555
17556
17557   sed -e '/^func_len ()$/,/^} # func_len /c\
17558 func_len ()\
17559 {\
17560     func_len_result=${#1}\
17561 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17562   && mv -f "$cfgfile.tmp" "$cfgfile" \
17563     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17564 test 0 -eq $? || _lt_function_replace_fail=:
17565
17566 fi
17567
17568 if test x"$lt_shell_append" = xyes; then
17569   sed -e '/^func_append ()$/,/^} # func_append /c\
17570 func_append ()\
17571 {\
17572     eval "${1}+=\\${2}"\
17573 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17574   && mv -f "$cfgfile.tmp" "$cfgfile" \
17575     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17576 test 0 -eq $? || _lt_function_replace_fail=:
17577
17578
17579   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17580 func_append_quoted ()\
17581 {\
17582 \    func_quote_for_eval "${2}"\
17583 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17584 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17585   && mv -f "$cfgfile.tmp" "$cfgfile" \
17586     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17587 test 0 -eq $? || _lt_function_replace_fail=:
17588
17589
17590   # Save a `func_append' function call where possible by direct use of '+='
17591   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17592     && mv -f "$cfgfile.tmp" "$cfgfile" \
17593       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17594   test 0 -eq $? || _lt_function_replace_fail=:
17595 else
17596   # Save a `func_append' function call even when '+=' is not available
17597   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17598     && mv -f "$cfgfile.tmp" "$cfgfile" \
17599       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17600   test 0 -eq $? || _lt_function_replace_fail=:
17601 fi
17602
17603 if test x"$_lt_function_replace_fail" = x":"; then
17604   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17605 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17606 fi
17607
17608
17609    mv -f "$cfgfile" "$ofile" ||
17610     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17611   chmod +x "$ofile"
17612
17613  ;;
17614
17615   esac
17616 done # for ac_tag
17617
17618
17619 as_fn_exit 0
17620 _ACEOF
17621 ac_clean_files=$ac_clean_files_save
17622
17623 test $ac_write_fail = 0 ||
17624   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17625
17626
17627 # configure is writing to config.log, and then calls config.status.
17628 # config.status does its own redirection, appending to config.log.
17629 # Unfortunately, on DOS this fails, as config.log is still kept open
17630 # by configure, so config.status won't be able to write to it; its
17631 # output is simply discarded.  So we exec the FD to /dev/null,
17632 # effectively closing config.log, so it can be properly (re)opened and
17633 # appended to by config.status.  When coming back to configure, we
17634 # need to make the FD available again.
17635 if test "$no_create" != yes; then
17636   ac_cs_success=:
17637   ac_config_status_args=
17638   test "$silent" = yes &&
17639     ac_config_status_args="$ac_config_status_args --quiet"
17640   exec 5>/dev/null
17641   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17642   exec 5>>config.log
17643   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17644   # would make configure fail if this is the last instruction.
17645   $ac_cs_success || as_fn_exit 1
17646 fi
17647 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17648   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17649 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17650 fi
17651
17652 fi