Fixed config.h header inclusion problem
[platform/upstream/gsignond.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for gsignond 1.0.3.
4 #
5 #
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7 #
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18   emulate sh
19   NULLCMD=:
20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21   # is contrary to our usage.  Disable this feature.
22   alias -g '${1+"$@"}'='"$@"'
23   setopt NO_GLOB_SUBST
24 else
25   case `(set -o) 2>/dev/null` in #(
26   *posix*) :
27     set -o posix ;; #(
28   *) :
29      ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45   as_echo='print -r --'
46   as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48   as_echo='printf %s\n'
49   as_echo_n='printf %s'
50 else
51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53     as_echo_n='/usr/ucb/echo -n'
54   else
55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56     as_echo_n_body='eval
57       arg=$1;
58       case $arg in #(
59       *"$as_nl"*)
60         expr "X$arg" : "X\\(.*\\)$as_nl";
61         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62       esac;
63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64     '
65     export as_echo_n_body
66     as_echo_n='sh -c $as_echo_n_body as_echo'
67   fi
68   export as_echo_body
69   as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74   PATH_SEPARATOR=:
75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77       PATH_SEPARATOR=';'
78   }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order.  Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" ""        $as_nl"
88
89 # Find who we are.  Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92   *[\\/]* ) as_myself=$0 ;;
93   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
95 do
96   IFS=$as_save_IFS
97   test -z "$as_dir" && as_dir=.
98     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99   done
100 IFS=$as_save_IFS
101
102      ;;
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107   as_myself=$0
108 fi
109 if test ! -f "$as_myself"; then
110   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111   exit 1
112 fi
113
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there.  '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
125
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
131
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135 # Use a proper internal environment variable to ensure we don't fall
136   # into an infinite loop, continuously re-executing ourselves.
137   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138     _as_can_reexec=no; export _as_can_reexec;
139     # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147   *v*x* | *x*v* ) as_opts=-vx ;;
148   *v* ) as_opts=-v ;;
149   *x* ) as_opts=-x ;;
150   * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
157   fi
158   # We don't want this to propagate to other subprocesses.
159           { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162   emulate sh
163   NULLCMD=:
164   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165   # is contrary to our usage.  Disable this feature.
166   alias -g '\${1+\"\$@\"}'='\"\$@\"'
167   setopt NO_GLOB_SUBST
168 else
169   case \`(set -o) 2>/dev/null\` in #(
170   *posix*) :
171     set -o posix ;; #(
172   *) :
173      ;;
174 esac
175 fi
176 "
177   as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
182
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190 else
191   exitcode=1; echo positional parameters were not saved.
192 fi
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199
200   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
201     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
202     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
203     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204     PATH=/empty FPATH=/empty; export PATH FPATH
205     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
206       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
207 test \$(( 1 + 1 )) = 2 || exit 1"
208   if (eval "$as_required") 2>/dev/null; then :
209   as_have_required=yes
210 else
211   as_have_required=no
212 fi
213   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
214
215 else
216   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217 as_found=false
218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
219 do
220   IFS=$as_save_IFS
221   test -z "$as_dir" && as_dir=.
222   as_found=:
223   case $as_dir in #(
224          /*)
225            for as_base in sh bash ksh sh5; do
226              # Try only shells that exist, to save several forks.
227              as_shell=$as_dir/$as_base
228              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230   CONFIG_SHELL=$as_shell as_have_required=yes
231                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232   break 2
233 fi
234 fi
235            done;;
236        esac
237   as_found=false
238 done
239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241   CONFIG_SHELL=$SHELL as_have_required=yes
242 fi; }
243 IFS=$as_save_IFS
244
245
246       if test "x$CONFIG_SHELL" != x; then :
247   export CONFIG_SHELL
248              # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
252 BASH_ENV=/dev/null
253 ENV=/dev/null
254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255 case $- in # ((((
256   *v*x* | *x*v* ) as_opts=-vx ;;
257   *v* ) as_opts=-v ;;
258   *x* ) as_opts=-x ;;
259   * ) as_opts= ;;
260 esac
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265 exit 255
266 fi
267
268     if test x$as_have_required = xno; then :
269   $as_echo "$0: This script requires a shell more modern than all"
270   $as_echo "$0: the shells that I found on your system."
271   if test x${ZSH_VERSION+set} = xset ; then
272     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
274   else
275     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
279   fi
280   exit 1
281 fi
282 fi
283 fi
284 SHELL=${CONFIG_SHELL-/bin/sh}
285 export SHELL
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE= GREP_OPTIONS=
288 unset CLICOLOR_FORCE GREP_OPTIONS
289
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
293 # as_fn_unset VAR
294 # ---------------
295 # Portably unset VAR.
296 as_fn_unset ()
297 {
298   { eval $1=; unset $1;}
299 }
300 as_unset=as_fn_unset
301
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
305 as_fn_set_status ()
306 {
307   return $1
308 } # as_fn_set_status
309
310 # as_fn_exit STATUS
311 # -----------------
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313 as_fn_exit ()
314 {
315   set +e
316   as_fn_set_status $1
317   exit $1
318 } # as_fn_exit
319
320 # as_fn_mkdir_p
321 # -------------
322 # Create "$as_dir" as a directory, including parents if necessary.
323 as_fn_mkdir_p ()
324 {
325
326   case $as_dir in #(
327   -*) as_dir=./$as_dir;;
328   esac
329   test -d "$as_dir" || eval $as_mkdir_p || {
330     as_dirs=
331     while :; do
332       case $as_dir in #(
333       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334       *) as_qdir=$as_dir;;
335       esac
336       as_dirs="'$as_qdir' $as_dirs"
337       as_dir=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339          X"$as_dir" : 'X\(//\)[^/]' \| \
340          X"$as_dir" : 'X\(//\)$' \| \
341          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344             s//\1/
345             q
346           }
347           /^X\(\/\/\)[^/].*/{
348             s//\1/
349             q
350           }
351           /^X\(\/\/\)$/{
352             s//\1/
353             q
354           }
355           /^X\(\/\).*/{
356             s//\1/
357             q
358           }
359           s/.*/./; q'`
360       test -d "$as_dir" && break
361     done
362     test -z "$as_dirs" || eval "mkdir $as_dirs"
363   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
364
365
366 } # as_fn_mkdir_p
367
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p ()
372 {
373   test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
380 # implementations.
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382   eval 'as_fn_append ()
383   {
384     eval $1+=\$2
385   }'
386 else
387   as_fn_append ()
388   {
389     eval $1=\$$1\$2
390   }
391 fi # as_fn_append
392
393 # as_fn_arith ARG...
394 # ------------------
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399   eval 'as_fn_arith ()
400   {
401     as_val=$(( $* ))
402   }'
403 else
404   as_fn_arith ()
405   {
406     as_val=`expr "$@" || test $? -eq 1`
407   }
408 fi # as_fn_arith
409
410
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
416 as_fn_error ()
417 {
418   as_status=$1; test $as_status -eq 0 && as_status=1
419   if test "$4"; then
420     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
422   fi
423   $as_echo "$as_me: error: $2" >&2
424   as_fn_exit $as_status
425 } # as_fn_error
426
427 if expr a : '\(a\)' >/dev/null 2>&1 &&
428    test "X`expr 00001 : '.*\(...\)'`" = X001; then
429   as_expr=expr
430 else
431   as_expr=false
432 fi
433
434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435   as_basename=basename
436 else
437   as_basename=false
438 fi
439
440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441   as_dirname=dirname
442 else
443   as_dirname=false
444 fi
445
446 as_me=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448          X"$0" : 'X\(//\)$' \| \
449          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
450 $as_echo X/"$0" |
451     sed '/^.*\/\([^/][^/]*\)\/*$/{
452             s//\1/
453             q
454           }
455           /^X\/\(\/\/\)$/{
456             s//\1/
457             q
458           }
459           /^X\/\(\/\).*/{
460             s//\1/
461             q
462           }
463           s/.*/./; q'`
464
465 # Avoid depending upon Character Ranges.
466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits='0123456789'
470 as_cr_alnum=$as_cr_Letters$as_cr_digits
471
472
473   as_lineno_1=$LINENO as_lineno_1a=$LINENO
474   as_lineno_2=$LINENO as_lineno_2a=$LINENO
475   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
478   sed -n '
479     p
480     /[$]LINENO/=
481   ' <$as_myself |
482     sed '
483       s/[$]LINENO.*/&-/
484       t lineno
485       b
486       :lineno
487       N
488       :loop
489       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490       t loop
491       s/-\n.*//
492     ' >$as_me.lineno &&
493   chmod +x "$as_me.lineno" ||
494     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
495
496   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497   # already done that, so ensure we don't try to do so again and fall
498   # in an infinite loop.  This has already happened in practice.
499   _as_can_reexec=no; export _as_can_reexec
500   # Don't try to exec as it changes $[0], causing all sort of problems
501   # (the dirname of $[0] is not the place where we might find the
502   # original and so on.  Autoconf is especially sensitive to this).
503   . "./$as_me.lineno"
504   # Exit status is that of the last command.
505   exit
506 }
507
508 ECHO_C= ECHO_N= ECHO_T=
509 case `echo -n x` in #(((((
510 -n*)
511   case `echo 'xy\c'` in
512   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
513   xy)  ECHO_C='\c';;
514   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
515        ECHO_T=' ';;
516   esac;;
517 *)
518   ECHO_N='-n';;
519 esac
520
521 rm -f conf$$ conf$$.exe conf$$.file
522 if test -d conf$$.dir; then
523   rm -f conf$$.dir/conf$$.file
524 else
525   rm -f conf$$.dir
526   mkdir conf$$.dir 2>/dev/null
527 fi
528 if (echo >conf$$.file) 2>/dev/null; then
529   if ln -s conf$$.file conf$$ 2>/dev/null; then
530     as_ln_s='ln -s'
531     # ... but there are two gotchas:
532     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534     # In both cases, we have to default to `cp -pR'.
535     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536       as_ln_s='cp -pR'
537   elif ln conf$$.file conf$$ 2>/dev/null; then
538     as_ln_s=ln
539   else
540     as_ln_s='cp -pR'
541   fi
542 else
543   as_ln_s='cp -pR'
544 fi
545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546 rmdir conf$$.dir 2>/dev/null
547
548 if mkdir -p . 2>/dev/null; then
549   as_mkdir_p='mkdir -p "$as_dir"'
550 else
551   test -d ./-p && rmdir ./-p
552   as_mkdir_p=false
553 fi
554
555 as_test_x='test -x'
556 as_executable_p=as_fn_executable_p
557
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
560
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
563
564 SHELL=${CONFIG_SHELL-/bin/sh}
565
566
567 test -n "$DJDIR" || exec 7<&0 </dev/null
568 exec 6>&1
569
570 # Name of the host.
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
574
575 #
576 # Initializations.
577 #
578 ac_default_prefix=/usr/local
579 ac_clean_files=
580 ac_config_libobj_dir=.
581 LIBOBJS=
582 cross_compiling=no
583 subdirs=
584 MFLAGS=
585 MAKEFLAGS=
586
587 # Identity of this package.
588 PACKAGE_NAME='gsignond'
589 PACKAGE_TARNAME='gsignond'
590 PACKAGE_VERSION='1.0.3'
591 PACKAGE_STRING='gsignond 1.0.3'
592 PACKAGE_BUGREPORT=''
593 PACKAGE_URL='http://01.org/gsso'
594
595 ac_unique_file="src/daemon/main.c"
596 # Factoring default headers for most tests.
597 ac_includes_default="\
598 #include <stdio.h>
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
601 #endif
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
604 #endif
605 #ifdef STDC_HEADERS
606 # include <stdlib.h>
607 # include <stddef.h>
608 #else
609 # ifdef HAVE_STDLIB_H
610 #  include <stdlib.h>
611 # endif
612 #endif
613 #ifdef HAVE_STRING_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
615 #  include <memory.h>
616 # endif
617 # include <string.h>
618 #endif
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
621 #endif
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
624 #endif
625 #ifdef HAVE_STDINT_H
626 # include <stdint.h>
627 #endif
628 #ifdef HAVE_UNISTD_H
629 # include <unistd.h>
630 #endif"
631
632 ac_subst_vars='am__EXEEXT_FALSE
633 am__EXEEXT_TRUE
634 LTLIBOBJS
635 LIBOBJS
636 GTK_DOC_USE_REBASE_FALSE
637 GTK_DOC_USE_REBASE_TRUE
638 GTK_DOC_USE_LIBTOOL_FALSE
639 GTK_DOC_USE_LIBTOOL_TRUE
640 GTK_DOC_BUILD_PDF_FALSE
641 GTK_DOC_BUILD_PDF_TRUE
642 GTK_DOC_BUILD_HTML_FALSE
643 GTK_DOC_BUILD_HTML_TRUE
644 ENABLE_GTK_DOC_FALSE
645 ENABLE_GTK_DOC_TRUE
646 HAVE_GTK_DOC_FALSE
647 HAVE_GTK_DOC_TRUE
648 GTKDOC_DEPS_LIBS
649 GTKDOC_DEPS_CFLAGS
650 HTML_DIR
651 GTKDOC_MKPDF
652 GTKDOC_REBASE
653 GTKDOC_CHECK_PATH
654 GTKDOC_CHECK
655 DBUS_INTERFACES_DIR
656 DBUS_SERVICES_DIR
657 SET_PERMISSIONS_FALSE
658 SET_PERMISSIONS_TRUE
659 HAVE_DEBUG_FALSE
660 HAVE_DEBUG_TRUE
661 MESSAGE_BUS_TYPE
662 USE_GTESTDBUS_FALSE
663 USE_GTESTDBUS_TRUE
664 BASE_STORAGE_DIR
665 KEYCHAIN_SYSCTX
666 GTestDBus_LIBS
667 GTestDBus_CFLAGS
668 GLIB_MKENUMS
669 HAVE_LIBECRYPTFS_FALSE
670 HAVE_LIBECRYPTFS_TRUE
671 LIBECRYPTFS_LIBS
672 LIBECRYPTFS_CFLAGS
673 HAVE_LIBSMACK_FALSE
674 HAVE_LIBSMACK_TRUE
675 LIBSMACK_LIBS
676 LIBSMACK_CFLAGS
677 CHECK_LIBS
678 CHECK_CFLAGS
679 GSIGNOND_LIBS
680 GSIGNOND_CFLAGS
681 PKG_CONFIG_LIBDIR
682 PKG_CONFIG_PATH
683 PKG_CONFIG
684 CPP
685 OTOOL64
686 OTOOL
687 LIPO
688 NMEDIT
689 DSYMUTIL
690 MANIFEST_TOOL
691 RANLIB
692 DLLTOOL
693 OBJDUMP
694 LN_S
695 NM
696 ac_ct_DUMPBIN
697 DUMPBIN
698 LD
699 FGREP
700 EGREP
701 GREP
702 SED
703 host_os
704 host_vendor
705 host_cpu
706 host
707 build_os
708 build_vendor
709 build_cpu
710 build
711 LIBTOOL
712 ifGNUmake
713 ac_ct_AR
714 AR
715 am__fastdepCC_FALSE
716 am__fastdepCC_TRUE
717 CCDEPMODE
718 am__nodep
719 AMDEPBACKSLASH
720 AMDEP_FALSE
721 AMDEP_TRUE
722 am__quote
723 am__include
724 DEPDIR
725 OBJEXT
726 EXEEXT
727 ac_ct_CC
728 CPPFLAGS
729 LDFLAGS
730 CFLAGS
731 CC
732 AM_BACKSLASH
733 AM_DEFAULT_VERBOSITY
734 AM_DEFAULT_V
735 AM_V
736 am__untar
737 am__tar
738 AMTAR
739 am__leading_dot
740 SET_MAKE
741 AWK
742 mkdir_p
743 MKDIR_P
744 INSTALL_STRIP_PROGRAM
745 STRIP
746 install_sh
747 MAKEINFO
748 AUTOHEADER
749 AUTOMAKE
750 AUTOCONF
751 ACLOCAL
752 VERSION
753 PACKAGE
754 CYGPATH_W
755 am__isrc
756 INSTALL_DATA
757 INSTALL_SCRIPT
758 INSTALL_PROGRAM
759 target_alias
760 host_alias
761 build_alias
762 LIBS
763 ECHO_T
764 ECHO_N
765 ECHO_C
766 DEFS
767 mandir
768 localedir
769 libdir
770 psdir
771 pdfdir
772 dvidir
773 htmldir
774 infodir
775 docdir
776 oldincludedir
777 includedir
778 localstatedir
779 sharedstatedir
780 sysconfdir
781 datadir
782 datarootdir
783 libexecdir
784 sbindir
785 bindir
786 program_transform_name
787 prefix
788 exec_prefix
789 PACKAGE_URL
790 PACKAGE_BUGREPORT
791 PACKAGE_STRING
792 PACKAGE_VERSION
793 PACKAGE_TARNAME
794 PACKAGE_NAME
795 PATH_SEPARATOR
796 SHELL'
797 ac_subst_files=''
798 ac_user_opts='
799 enable_option_checking
800 enable_silent_rules
801 enable_dependency_tracking
802 enable_static
803 enable_shared
804 with_pic
805 enable_fast_install
806 with_gnu_ld
807 with_sysroot
808 enable_libtool_lock
809 enable_coverage
810 enable_distcheck
811 enable_dbus_type
812 enable_keychain
813 enable_storagedir
814 enable_debug
815 enable_sql_log
816 enable_acltriggers
817 with_html_dir
818 enable_gtk_doc
819 enable_gtk_doc_html
820 enable_gtk_doc_pdf
821 '
822       ac_precious_vars='build_alias
823 host_alias
824 target_alias
825 CC
826 CFLAGS
827 LDFLAGS
828 LIBS
829 CPPFLAGS
830 CPP
831 PKG_CONFIG
832 PKG_CONFIG_PATH
833 PKG_CONFIG_LIBDIR
834 GSIGNOND_CFLAGS
835 GSIGNOND_LIBS
836 CHECK_CFLAGS
837 CHECK_LIBS
838 LIBSMACK_CFLAGS
839 LIBSMACK_LIBS
840 LIBECRYPTFS_CFLAGS
841 LIBECRYPTFS_LIBS
842 GTestDBus_CFLAGS
843 GTestDBus_LIBS
844 GTKDOC_DEPS_CFLAGS
845 GTKDOC_DEPS_LIBS'
846
847
848 # Initialize some variables set by options.
849 ac_init_help=
850 ac_init_version=false
851 ac_unrecognized_opts=
852 ac_unrecognized_sep=
853 # The variables have the same names as the options, with
854 # dashes changed to underlines.
855 cache_file=/dev/null
856 exec_prefix=NONE
857 no_create=
858 no_recursion=
859 prefix=NONE
860 program_prefix=NONE
861 program_suffix=NONE
862 program_transform_name=s,x,x,
863 silent=
864 site=
865 srcdir=
866 verbose=
867 x_includes=NONE
868 x_libraries=NONE
869
870 # Installation directory options.
871 # These are left unexpanded so users can "make install exec_prefix=/foo"
872 # and all the variables that are supposed to be based on exec_prefix
873 # by default will actually change.
874 # Use braces instead of parens because sh, perl, etc. also accept them.
875 # (The list follows the same order as the GNU Coding Standards.)
876 bindir='${exec_prefix}/bin'
877 sbindir='${exec_prefix}/sbin'
878 libexecdir='${exec_prefix}/libexec'
879 datarootdir='${prefix}/share'
880 datadir='${datarootdir}'
881 sysconfdir='${prefix}/etc'
882 sharedstatedir='${prefix}/com'
883 localstatedir='${prefix}/var'
884 includedir='${prefix}/include'
885 oldincludedir='/usr/include'
886 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
887 infodir='${datarootdir}/info'
888 htmldir='${docdir}'
889 dvidir='${docdir}'
890 pdfdir='${docdir}'
891 psdir='${docdir}'
892 libdir='${exec_prefix}/lib'
893 localedir='${datarootdir}/locale'
894 mandir='${datarootdir}/man'
895
896 ac_prev=
897 ac_dashdash=
898 for ac_option
899 do
900   # If the previous option needs an argument, assign it.
901   if test -n "$ac_prev"; then
902     eval $ac_prev=\$ac_option
903     ac_prev=
904     continue
905   fi
906
907   case $ac_option in
908   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
909   *=)   ac_optarg= ;;
910   *)    ac_optarg=yes ;;
911   esac
912
913   # Accept the important Cygnus configure options, so we can diagnose typos.
914
915   case $ac_dashdash$ac_option in
916   --)
917     ac_dashdash=yes ;;
918
919   -bindir | --bindir | --bindi | --bind | --bin | --bi)
920     ac_prev=bindir ;;
921   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
922     bindir=$ac_optarg ;;
923
924   -build | --build | --buil | --bui | --bu)
925     ac_prev=build_alias ;;
926   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
927     build_alias=$ac_optarg ;;
928
929   -cache-file | --cache-file | --cache-fil | --cache-fi \
930   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
931     ac_prev=cache_file ;;
932   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
933   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
934     cache_file=$ac_optarg ;;
935
936   --config-cache | -C)
937     cache_file=config.cache ;;
938
939   -datadir | --datadir | --datadi | --datad)
940     ac_prev=datadir ;;
941   -datadir=* | --datadir=* | --datadi=* | --datad=*)
942     datadir=$ac_optarg ;;
943
944   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
945   | --dataroo | --dataro | --datar)
946     ac_prev=datarootdir ;;
947   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
948   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
949     datarootdir=$ac_optarg ;;
950
951   -disable-* | --disable-*)
952     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
953     # Reject names that are not valid shell variable names.
954     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
955       as_fn_error $? "invalid feature name: $ac_useropt"
956     ac_useropt_orig=$ac_useropt
957     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
958     case $ac_user_opts in
959       *"
960 "enable_$ac_useropt"
961 "*) ;;
962       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
963          ac_unrecognized_sep=', ';;
964     esac
965     eval enable_$ac_useropt=no ;;
966
967   -docdir | --docdir | --docdi | --doc | --do)
968     ac_prev=docdir ;;
969   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
970     docdir=$ac_optarg ;;
971
972   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
973     ac_prev=dvidir ;;
974   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
975     dvidir=$ac_optarg ;;
976
977   -enable-* | --enable-*)
978     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
979     # Reject names that are not valid shell variable names.
980     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
981       as_fn_error $? "invalid feature name: $ac_useropt"
982     ac_useropt_orig=$ac_useropt
983     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
984     case $ac_user_opts in
985       *"
986 "enable_$ac_useropt"
987 "*) ;;
988       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
989          ac_unrecognized_sep=', ';;
990     esac
991     eval enable_$ac_useropt=\$ac_optarg ;;
992
993   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
994   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
995   | --exec | --exe | --ex)
996     ac_prev=exec_prefix ;;
997   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
998   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
999   | --exec=* | --exe=* | --ex=*)
1000     exec_prefix=$ac_optarg ;;
1001
1002   -gas | --gas | --ga | --g)
1003     # Obsolete; use --with-gas.
1004     with_gas=yes ;;
1005
1006   -help | --help | --hel | --he | -h)
1007     ac_init_help=long ;;
1008   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1009     ac_init_help=recursive ;;
1010   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1011     ac_init_help=short ;;
1012
1013   -host | --host | --hos | --ho)
1014     ac_prev=host_alias ;;
1015   -host=* | --host=* | --hos=* | --ho=*)
1016     host_alias=$ac_optarg ;;
1017
1018   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1019     ac_prev=htmldir ;;
1020   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1021   | --ht=*)
1022     htmldir=$ac_optarg ;;
1023
1024   -includedir | --includedir | --includedi | --included | --include \
1025   | --includ | --inclu | --incl | --inc)
1026     ac_prev=includedir ;;
1027   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1028   | --includ=* | --inclu=* | --incl=* | --inc=*)
1029     includedir=$ac_optarg ;;
1030
1031   -infodir | --infodir | --infodi | --infod | --info | --inf)
1032     ac_prev=infodir ;;
1033   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1034     infodir=$ac_optarg ;;
1035
1036   -libdir | --libdir | --libdi | --libd)
1037     ac_prev=libdir ;;
1038   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1039     libdir=$ac_optarg ;;
1040
1041   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1042   | --libexe | --libex | --libe)
1043     ac_prev=libexecdir ;;
1044   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1045   | --libexe=* | --libex=* | --libe=*)
1046     libexecdir=$ac_optarg ;;
1047
1048   -localedir | --localedir | --localedi | --localed | --locale)
1049     ac_prev=localedir ;;
1050   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1051     localedir=$ac_optarg ;;
1052
1053   -localstatedir | --localstatedir | --localstatedi | --localstated \
1054   | --localstate | --localstat | --localsta | --localst | --locals)
1055     ac_prev=localstatedir ;;
1056   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1057   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1058     localstatedir=$ac_optarg ;;
1059
1060   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1061     ac_prev=mandir ;;
1062   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1063     mandir=$ac_optarg ;;
1064
1065   -nfp | --nfp | --nf)
1066     # Obsolete; use --without-fp.
1067     with_fp=no ;;
1068
1069   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1070   | --no-cr | --no-c | -n)
1071     no_create=yes ;;
1072
1073   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1074   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1075     no_recursion=yes ;;
1076
1077   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1078   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1079   | --oldin | --oldi | --old | --ol | --o)
1080     ac_prev=oldincludedir ;;
1081   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1082   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1083   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1084     oldincludedir=$ac_optarg ;;
1085
1086   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1087     ac_prev=prefix ;;
1088   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1089     prefix=$ac_optarg ;;
1090
1091   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1092   | --program-pre | --program-pr | --program-p)
1093     ac_prev=program_prefix ;;
1094   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1095   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1096     program_prefix=$ac_optarg ;;
1097
1098   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1099   | --program-suf | --program-su | --program-s)
1100     ac_prev=program_suffix ;;
1101   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1102   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1103     program_suffix=$ac_optarg ;;
1104
1105   -program-transform-name | --program-transform-name \
1106   | --program-transform-nam | --program-transform-na \
1107   | --program-transform-n | --program-transform- \
1108   | --program-transform | --program-transfor \
1109   | --program-transfo | --program-transf \
1110   | --program-trans | --program-tran \
1111   | --progr-tra | --program-tr | --program-t)
1112     ac_prev=program_transform_name ;;
1113   -program-transform-name=* | --program-transform-name=* \
1114   | --program-transform-nam=* | --program-transform-na=* \
1115   | --program-transform-n=* | --program-transform-=* \
1116   | --program-transform=* | --program-transfor=* \
1117   | --program-transfo=* | --program-transf=* \
1118   | --program-trans=* | --program-tran=* \
1119   | --progr-tra=* | --program-tr=* | --program-t=*)
1120     program_transform_name=$ac_optarg ;;
1121
1122   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1123     ac_prev=pdfdir ;;
1124   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1125     pdfdir=$ac_optarg ;;
1126
1127   -psdir | --psdir | --psdi | --psd | --ps)
1128     ac_prev=psdir ;;
1129   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1130     psdir=$ac_optarg ;;
1131
1132   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1133   | -silent | --silent | --silen | --sile | --sil)
1134     silent=yes ;;
1135
1136   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1137     ac_prev=sbindir ;;
1138   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1139   | --sbi=* | --sb=*)
1140     sbindir=$ac_optarg ;;
1141
1142   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1143   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1144   | --sharedst | --shareds | --shared | --share | --shar \
1145   | --sha | --sh)
1146     ac_prev=sharedstatedir ;;
1147   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1148   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1149   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1150   | --sha=* | --sh=*)
1151     sharedstatedir=$ac_optarg ;;
1152
1153   -site | --site | --sit)
1154     ac_prev=site ;;
1155   -site=* | --site=* | --sit=*)
1156     site=$ac_optarg ;;
1157
1158   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1159     ac_prev=srcdir ;;
1160   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1161     srcdir=$ac_optarg ;;
1162
1163   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1164   | --syscon | --sysco | --sysc | --sys | --sy)
1165     ac_prev=sysconfdir ;;
1166   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1167   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1168     sysconfdir=$ac_optarg ;;
1169
1170   -target | --target | --targe | --targ | --tar | --ta | --t)
1171     ac_prev=target_alias ;;
1172   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1173     target_alias=$ac_optarg ;;
1174
1175   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1176     verbose=yes ;;
1177
1178   -version | --version | --versio | --versi | --vers | -V)
1179     ac_init_version=: ;;
1180
1181   -with-* | --with-*)
1182     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1183     # Reject names that are not valid shell variable names.
1184     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1185       as_fn_error $? "invalid package name: $ac_useropt"
1186     ac_useropt_orig=$ac_useropt
1187     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1188     case $ac_user_opts in
1189       *"
1190 "with_$ac_useropt"
1191 "*) ;;
1192       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1193          ac_unrecognized_sep=', ';;
1194     esac
1195     eval with_$ac_useropt=\$ac_optarg ;;
1196
1197   -without-* | --without-*)
1198     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1199     # Reject names that are not valid shell variable names.
1200     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1201       as_fn_error $? "invalid package name: $ac_useropt"
1202     ac_useropt_orig=$ac_useropt
1203     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1204     case $ac_user_opts in
1205       *"
1206 "with_$ac_useropt"
1207 "*) ;;
1208       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1209          ac_unrecognized_sep=', ';;
1210     esac
1211     eval with_$ac_useropt=no ;;
1212
1213   --x)
1214     # Obsolete; use --with-x.
1215     with_x=yes ;;
1216
1217   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1218   | --x-incl | --x-inc | --x-in | --x-i)
1219     ac_prev=x_includes ;;
1220   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1221   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1222     x_includes=$ac_optarg ;;
1223
1224   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1225   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1226     ac_prev=x_libraries ;;
1227   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1228   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1229     x_libraries=$ac_optarg ;;
1230
1231   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1232 Try \`$0 --help' for more information"
1233     ;;
1234
1235   *=*)
1236     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1237     # Reject names that are not valid shell variable names.
1238     case $ac_envvar in #(
1239       '' | [0-9]* | *[!_$as_cr_alnum]* )
1240       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1241     esac
1242     eval $ac_envvar=\$ac_optarg
1243     export $ac_envvar ;;
1244
1245   *)
1246     # FIXME: should be removed in autoconf 3.0.
1247     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1248     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1249       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1250     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1251     ;;
1252
1253   esac
1254 done
1255
1256 if test -n "$ac_prev"; then
1257   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1258   as_fn_error $? "missing argument to $ac_option"
1259 fi
1260
1261 if test -n "$ac_unrecognized_opts"; then
1262   case $enable_option_checking in
1263     no) ;;
1264     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1265     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1266   esac
1267 fi
1268
1269 # Check all directory arguments for consistency.
1270 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1271                 datadir sysconfdir sharedstatedir localstatedir includedir \
1272                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1273                 libdir localedir mandir
1274 do
1275   eval ac_val=\$$ac_var
1276   # Remove trailing slashes.
1277   case $ac_val in
1278     */ )
1279       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1280       eval $ac_var=\$ac_val;;
1281   esac
1282   # Be sure to have absolute directory names.
1283   case $ac_val in
1284     [\\/$]* | ?:[\\/]* )  continue;;
1285     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1286   esac
1287   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1288 done
1289
1290 # There might be people who depend on the old broken behavior: `$host'
1291 # used to hold the argument of --host etc.
1292 # FIXME: To remove some day.
1293 build=$build_alias
1294 host=$host_alias
1295 target=$target_alias
1296
1297 # FIXME: To remove some day.
1298 if test "x$host_alias" != x; then
1299   if test "x$build_alias" = x; then
1300     cross_compiling=maybe
1301   elif test "x$build_alias" != "x$host_alias"; then
1302     cross_compiling=yes
1303   fi
1304 fi
1305
1306 ac_tool_prefix=
1307 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1308
1309 test "$silent" = yes && exec 6>/dev/null
1310
1311
1312 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1313 ac_ls_di=`ls -di .` &&
1314 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1315   as_fn_error $? "working directory cannot be determined"
1316 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1317   as_fn_error $? "pwd does not report name of working directory"
1318
1319
1320 # Find the source files, if location was not specified.
1321 if test -z "$srcdir"; then
1322   ac_srcdir_defaulted=yes
1323   # Try the directory containing this script, then the parent directory.
1324   ac_confdir=`$as_dirname -- "$as_myself" ||
1325 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1326          X"$as_myself" : 'X\(//\)[^/]' \| \
1327          X"$as_myself" : 'X\(//\)$' \| \
1328          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1329 $as_echo X"$as_myself" |
1330     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1331             s//\1/
1332             q
1333           }
1334           /^X\(\/\/\)[^/].*/{
1335             s//\1/
1336             q
1337           }
1338           /^X\(\/\/\)$/{
1339             s//\1/
1340             q
1341           }
1342           /^X\(\/\).*/{
1343             s//\1/
1344             q
1345           }
1346           s/.*/./; q'`
1347   srcdir=$ac_confdir
1348   if test ! -r "$srcdir/$ac_unique_file"; then
1349     srcdir=..
1350   fi
1351 else
1352   ac_srcdir_defaulted=no
1353 fi
1354 if test ! -r "$srcdir/$ac_unique_file"; then
1355   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1356   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1357 fi
1358 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1359 ac_abs_confdir=`(
1360         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1361         pwd)`
1362 # When building in place, set srcdir=.
1363 if test "$ac_abs_confdir" = "$ac_pwd"; then
1364   srcdir=.
1365 fi
1366 # Remove unnecessary trailing slashes from srcdir.
1367 # Double slashes in file names in object file debugging info
1368 # mess up M-x gdb in Emacs.
1369 case $srcdir in
1370 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1371 esac
1372 for ac_var in $ac_precious_vars; do
1373   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1374   eval ac_env_${ac_var}_value=\$${ac_var}
1375   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1376   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1377 done
1378
1379 #
1380 # Report the --help message.
1381 #
1382 if test "$ac_init_help" = "long"; then
1383   # Omit some internal or obsolete options to make the list less imposing.
1384   # This message is too long to be a string in the A/UX 3.1 sh.
1385   cat <<_ACEOF
1386 \`configure' configures gsignond 1.0.3 to adapt to many kinds of systems.
1387
1388 Usage: $0 [OPTION]... [VAR=VALUE]...
1389
1390 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1391 VAR=VALUE.  See below for descriptions of some of the useful variables.
1392
1393 Defaults for the options are specified in brackets.
1394
1395 Configuration:
1396   -h, --help              display this help and exit
1397       --help=short        display options specific to this package
1398       --help=recursive    display the short help of all the included packages
1399   -V, --version           display version information and exit
1400   -q, --quiet, --silent   do not print \`checking ...' messages
1401       --cache-file=FILE   cache test results in FILE [disabled]
1402   -C, --config-cache      alias for \`--cache-file=config.cache'
1403   -n, --no-create         do not create output files
1404       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1405
1406 Installation directories:
1407   --prefix=PREFIX         install architecture-independent files in PREFIX
1408                           [$ac_default_prefix]
1409   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1410                           [PREFIX]
1411
1412 By default, \`make install' will install all the files in
1413 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1414 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1415 for instance \`--prefix=\$HOME'.
1416
1417 For better control, use the options below.
1418
1419 Fine tuning of the installation directories:
1420   --bindir=DIR            user executables [EPREFIX/bin]
1421   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1422   --libexecdir=DIR        program executables [EPREFIX/libexec]
1423   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1424   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1425   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1426   --libdir=DIR            object code libraries [EPREFIX/lib]
1427   --includedir=DIR        C header files [PREFIX/include]
1428   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1429   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1430   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1431   --infodir=DIR           info documentation [DATAROOTDIR/info]
1432   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1433   --mandir=DIR            man documentation [DATAROOTDIR/man]
1434   --docdir=DIR            documentation root [DATAROOTDIR/doc/gsignond]
1435   --htmldir=DIR           html documentation [DOCDIR]
1436   --dvidir=DIR            dvi documentation [DOCDIR]
1437   --pdfdir=DIR            pdf documentation [DOCDIR]
1438   --psdir=DIR             ps documentation [DOCDIR]
1439 _ACEOF
1440
1441   cat <<\_ACEOF
1442
1443 Program names:
1444   --program-prefix=PREFIX            prepend PREFIX to installed program names
1445   --program-suffix=SUFFIX            append SUFFIX to installed program names
1446   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1447
1448 System types:
1449   --build=BUILD     configure for building on BUILD [guessed]
1450   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1451 _ACEOF
1452 fi
1453
1454 if test -n "$ac_init_help"; then
1455   case $ac_init_help in
1456      short | recursive ) echo "Configuration of gsignond 1.0.3:";;
1457    esac
1458   cat <<\_ACEOF
1459
1460 Optional Features:
1461   --disable-option-checking  ignore unrecognized --enable/--with options
1462   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1463   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1464   --enable-silent-rules   less verbose build output (undo: "make V=1")
1465   --disable-silent-rules  verbose build output (undo: "make V=0")
1466   --enable-dependency-tracking
1467                           do not reject slow dependency extractors
1468   --disable-dependency-tracking
1469                           speeds up one-time build
1470   --enable-static[=PKGS]  build static libraries [default=no]
1471   --enable-shared[=PKGS]  build shared libraries [default=yes]
1472   --enable-fast-install[=PKGS]
1473                           optimize for fast installation [default=yes]
1474   --disable-libtool-lock  avoid locking (might break parallel builds)
1475   --enable-coverage       compile with coverage info
1476   --enable-distcheck build for distcheck target
1477   --enable-dbus-type=dbus-type specify daemon dbus type:
1478                           p2p(default): uses peer to peer dbus
1479                           session: uses session message bus
1480                           system: uses system message bus
1481   --enable-keychain=sysctx
1482                           enable keychain access with
1483                           system context "sysctx"
1484   --enable-storagedir=path
1485                           enable storage at location "path"
1486                           instead of default "/var/db"
1487   --enable-debug          enable debug features
1488   --enable-sql-log        enable sql log feature
1489   --enable-acltriggers    enable ACL before delete triggers
1490   --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1491   --enable-gtk-doc-html   build documentation in html format [[default=yes]]
1492   --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1493
1494 Optional Packages:
1495   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1496   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1497   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1498                           both]
1499   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1500   --with-sysroot=DIR Search for dependent libraries within DIR
1501                         (or the compiler's sysroot if not specified).
1502   --with-html-dir=PATH    path to installed docs
1503
1504 Some influential environment variables:
1505   CC          C compiler command
1506   CFLAGS      C compiler flags
1507   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1508               nonstandard directory <lib dir>
1509   LIBS        libraries to pass to the linker, e.g. -l<library>
1510   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1511               you have headers in a nonstandard directory <include dir>
1512   CPP         C preprocessor
1513   PKG_CONFIG  path to pkg-config utility
1514   PKG_CONFIG_PATH
1515               directories to add to pkg-config's search path
1516   PKG_CONFIG_LIBDIR
1517               path overriding pkg-config's built-in search path
1518   GSIGNOND_CFLAGS
1519               C compiler flags for GSIGNOND, overriding pkg-config
1520   GSIGNOND_LIBS
1521               linker flags for GSIGNOND, overriding pkg-config
1522   CHECK_CFLAGS
1523               C compiler flags for CHECK, overriding pkg-config
1524   CHECK_LIBS  linker flags for CHECK, overriding pkg-config
1525   LIBSMACK_CFLAGS
1526               C compiler flags for LIBSMACK, overriding pkg-config
1527   LIBSMACK_LIBS
1528               linker flags for LIBSMACK, overriding pkg-config
1529   LIBECRYPTFS_CFLAGS
1530               C compiler flags for LIBECRYPTFS, overriding pkg-config
1531   LIBECRYPTFS_LIBS
1532               linker flags for LIBECRYPTFS, overriding pkg-config
1533   GTestDBus_CFLAGS
1534               C compiler flags for GTestDBus, overriding pkg-config
1535   GTestDBus_LIBS
1536               linker flags for GTestDBus, overriding pkg-config
1537   GTKDOC_DEPS_CFLAGS
1538               C compiler flags for GTKDOC_DEPS, overriding pkg-config
1539   GTKDOC_DEPS_LIBS
1540               linker flags for GTKDOC_DEPS, overriding pkg-config
1541
1542 Use these variables to override the choices made by `configure' or to help
1543 it to find libraries and programs with nonstandard names/locations.
1544
1545 Report bugs to the package provider.
1546 gsignond home page: <http://01.org/gsso>.
1547 _ACEOF
1548 ac_status=$?
1549 fi
1550
1551 if test "$ac_init_help" = "recursive"; then
1552   # If there are subdirs, report their specific --help.
1553   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1554     test -d "$ac_dir" ||
1555       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1556       continue
1557     ac_builddir=.
1558
1559 case "$ac_dir" in
1560 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1561 *)
1562   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1563   # A ".." for each directory in $ac_dir_suffix.
1564   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1565   case $ac_top_builddir_sub in
1566   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1567   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1568   esac ;;
1569 esac
1570 ac_abs_top_builddir=$ac_pwd
1571 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1572 # for backward compatibility:
1573 ac_top_builddir=$ac_top_build_prefix
1574
1575 case $srcdir in
1576   .)  # We are building in place.
1577     ac_srcdir=.
1578     ac_top_srcdir=$ac_top_builddir_sub
1579     ac_abs_top_srcdir=$ac_pwd ;;
1580   [\\/]* | ?:[\\/]* )  # Absolute name.
1581     ac_srcdir=$srcdir$ac_dir_suffix;
1582     ac_top_srcdir=$srcdir
1583     ac_abs_top_srcdir=$srcdir ;;
1584   *) # Relative name.
1585     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1586     ac_top_srcdir=$ac_top_build_prefix$srcdir
1587     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1588 esac
1589 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1590
1591     cd "$ac_dir" || { ac_status=$?; continue; }
1592     # Check for guested configure.
1593     if test -f "$ac_srcdir/configure.gnu"; then
1594       echo &&
1595       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1596     elif test -f "$ac_srcdir/configure"; then
1597       echo &&
1598       $SHELL "$ac_srcdir/configure" --help=recursive
1599     else
1600       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1601     fi || ac_status=$?
1602     cd "$ac_pwd" || { ac_status=$?; break; }
1603   done
1604 fi
1605
1606 test -n "$ac_init_help" && exit $ac_status
1607 if $ac_init_version; then
1608   cat <<\_ACEOF
1609 gsignond configure 1.0.3
1610 generated by GNU Autoconf 2.69
1611
1612 Copyright (C) 2012 Free Software Foundation, Inc.
1613 This configure script is free software; the Free Software Foundation
1614 gives unlimited permission to copy, distribute and modify it.
1615 _ACEOF
1616   exit
1617 fi
1618
1619 ## ------------------------ ##
1620 ## Autoconf initialization. ##
1621 ## ------------------------ ##
1622
1623 # ac_fn_c_try_compile LINENO
1624 # --------------------------
1625 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1626 ac_fn_c_try_compile ()
1627 {
1628   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1629   rm -f conftest.$ac_objext
1630   if { { ac_try="$ac_compile"
1631 case "(($ac_try" in
1632   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1633   *) ac_try_echo=$ac_try;;
1634 esac
1635 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1636 $as_echo "$ac_try_echo"; } >&5
1637   (eval "$ac_compile") 2>conftest.err
1638   ac_status=$?
1639   if test -s conftest.err; then
1640     grep -v '^ *+' conftest.err >conftest.er1
1641     cat conftest.er1 >&5
1642     mv -f conftest.er1 conftest.err
1643   fi
1644   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1645   test $ac_status = 0; } && {
1646          test -z "$ac_c_werror_flag" ||
1647          test ! -s conftest.err
1648        } && test -s conftest.$ac_objext; then :
1649   ac_retval=0
1650 else
1651   $as_echo "$as_me: failed program was:" >&5
1652 sed 's/^/| /' conftest.$ac_ext >&5
1653
1654         ac_retval=1
1655 fi
1656   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1657   as_fn_set_status $ac_retval
1658
1659 } # ac_fn_c_try_compile
1660
1661 # ac_fn_c_try_link LINENO
1662 # -----------------------
1663 # Try to link conftest.$ac_ext, and return whether this succeeded.
1664 ac_fn_c_try_link ()
1665 {
1666   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1667   rm -f conftest.$ac_objext conftest$ac_exeext
1668   if { { ac_try="$ac_link"
1669 case "(($ac_try" in
1670   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1671   *) ac_try_echo=$ac_try;;
1672 esac
1673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1674 $as_echo "$ac_try_echo"; } >&5
1675   (eval "$ac_link") 2>conftest.err
1676   ac_status=$?
1677   if test -s conftest.err; then
1678     grep -v '^ *+' conftest.err >conftest.er1
1679     cat conftest.er1 >&5
1680     mv -f conftest.er1 conftest.err
1681   fi
1682   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1683   test $ac_status = 0; } && {
1684          test -z "$ac_c_werror_flag" ||
1685          test ! -s conftest.err
1686        } && test -s conftest$ac_exeext && {
1687          test "$cross_compiling" = yes ||
1688          test -x conftest$ac_exeext
1689        }; then :
1690   ac_retval=0
1691 else
1692   $as_echo "$as_me: failed program was:" >&5
1693 sed 's/^/| /' conftest.$ac_ext >&5
1694
1695         ac_retval=1
1696 fi
1697   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1698   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1699   # interfere with the next link command; also delete a directory that is
1700   # left behind by Apple's compiler.  We do this before executing the actions.
1701   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1702   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1703   as_fn_set_status $ac_retval
1704
1705 } # ac_fn_c_try_link
1706
1707 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1708 # -------------------------------------------------------
1709 # Tests whether HEADER exists and can be compiled using the include files in
1710 # INCLUDES, setting the cache variable VAR accordingly.
1711 ac_fn_c_check_header_compile ()
1712 {
1713   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1714   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1715 $as_echo_n "checking for $2... " >&6; }
1716 if eval \${$3+:} false; then :
1717   $as_echo_n "(cached) " >&6
1718 else
1719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1720 /* end confdefs.h.  */
1721 $4
1722 #include <$2>
1723 _ACEOF
1724 if ac_fn_c_try_compile "$LINENO"; then :
1725   eval "$3=yes"
1726 else
1727   eval "$3=no"
1728 fi
1729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1730 fi
1731 eval ac_res=\$$3
1732                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1733 $as_echo "$ac_res" >&6; }
1734   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1735
1736 } # ac_fn_c_check_header_compile
1737
1738 # ac_fn_c_try_cpp LINENO
1739 # ----------------------
1740 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1741 ac_fn_c_try_cpp ()
1742 {
1743   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1744   if { { ac_try="$ac_cpp conftest.$ac_ext"
1745 case "(($ac_try" in
1746   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1747   *) ac_try_echo=$ac_try;;
1748 esac
1749 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1750 $as_echo "$ac_try_echo"; } >&5
1751   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1752   ac_status=$?
1753   if test -s conftest.err; then
1754     grep -v '^ *+' conftest.err >conftest.er1
1755     cat conftest.er1 >&5
1756     mv -f conftest.er1 conftest.err
1757   fi
1758   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1759   test $ac_status = 0; } > conftest.i && {
1760          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1761          test ! -s conftest.err
1762        }; then :
1763   ac_retval=0
1764 else
1765   $as_echo "$as_me: failed program was:" >&5
1766 sed 's/^/| /' conftest.$ac_ext >&5
1767
1768     ac_retval=1
1769 fi
1770   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1771   as_fn_set_status $ac_retval
1772
1773 } # ac_fn_c_try_cpp
1774
1775 # ac_fn_c_try_run LINENO
1776 # ----------------------
1777 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1778 # that executables *can* be run.
1779 ac_fn_c_try_run ()
1780 {
1781   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1782   if { { ac_try="$ac_link"
1783 case "(($ac_try" in
1784   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1785   *) ac_try_echo=$ac_try;;
1786 esac
1787 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1788 $as_echo "$ac_try_echo"; } >&5
1789   (eval "$ac_link") 2>&5
1790   ac_status=$?
1791   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1792   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1793   { { case "(($ac_try" in
1794   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1795   *) ac_try_echo=$ac_try;;
1796 esac
1797 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1798 $as_echo "$ac_try_echo"; } >&5
1799   (eval "$ac_try") 2>&5
1800   ac_status=$?
1801   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1802   test $ac_status = 0; }; }; then :
1803   ac_retval=0
1804 else
1805   $as_echo "$as_me: program exited with status $ac_status" >&5
1806        $as_echo "$as_me: failed program was:" >&5
1807 sed 's/^/| /' conftest.$ac_ext >&5
1808
1809        ac_retval=$ac_status
1810 fi
1811   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1812   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1813   as_fn_set_status $ac_retval
1814
1815 } # ac_fn_c_try_run
1816
1817 # ac_fn_c_check_func LINENO FUNC VAR
1818 # ----------------------------------
1819 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1820 ac_fn_c_check_func ()
1821 {
1822   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1823   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1824 $as_echo_n "checking for $2... " >&6; }
1825 if eval \${$3+:} false; then :
1826   $as_echo_n "(cached) " >&6
1827 else
1828   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1829 /* end confdefs.h.  */
1830 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1831    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1832 #define $2 innocuous_$2
1833
1834 /* System header to define __stub macros and hopefully few prototypes,
1835     which can conflict with char $2 (); below.
1836     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1837     <limits.h> exists even on freestanding compilers.  */
1838
1839 #ifdef __STDC__
1840 # include <limits.h>
1841 #else
1842 # include <assert.h>
1843 #endif
1844
1845 #undef $2
1846
1847 /* Override any GCC internal prototype to avoid an error.
1848    Use char because int might match the return type of a GCC
1849    builtin and then its argument prototype would still apply.  */
1850 #ifdef __cplusplus
1851 extern "C"
1852 #endif
1853 char $2 ();
1854 /* The GNU C library defines this for functions which it implements
1855     to always fail with ENOSYS.  Some functions are actually named
1856     something starting with __ and the normal name is an alias.  */
1857 #if defined __stub_$2 || defined __stub___$2
1858 choke me
1859 #endif
1860
1861 int
1862 main ()
1863 {
1864 return $2 ();
1865   ;
1866   return 0;
1867 }
1868 _ACEOF
1869 if ac_fn_c_try_link "$LINENO"; then :
1870   eval "$3=yes"
1871 else
1872   eval "$3=no"
1873 fi
1874 rm -f core conftest.err conftest.$ac_objext \
1875     conftest$ac_exeext conftest.$ac_ext
1876 fi
1877 eval ac_res=\$$3
1878                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1879 $as_echo "$ac_res" >&6; }
1880   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1881
1882 } # ac_fn_c_check_func
1883
1884 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1885 # -------------------------------------------------------
1886 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1887 # the include files in INCLUDES and setting the cache variable VAR
1888 # accordingly.
1889 ac_fn_c_check_header_mongrel ()
1890 {
1891   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1892   if eval \${$3+:} false; then :
1893   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1894 $as_echo_n "checking for $2... " >&6; }
1895 if eval \${$3+:} false; then :
1896   $as_echo_n "(cached) " >&6
1897 fi
1898 eval ac_res=\$$3
1899                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1900 $as_echo "$ac_res" >&6; }
1901 else
1902   # Is the header compilable?
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1904 $as_echo_n "checking $2 usability... " >&6; }
1905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1906 /* end confdefs.h.  */
1907 $4
1908 #include <$2>
1909 _ACEOF
1910 if ac_fn_c_try_compile "$LINENO"; then :
1911   ac_header_compiler=yes
1912 else
1913   ac_header_compiler=no
1914 fi
1915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1917 $as_echo "$ac_header_compiler" >&6; }
1918
1919 # Is the header present?
1920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1921 $as_echo_n "checking $2 presence... " >&6; }
1922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1923 /* end confdefs.h.  */
1924 #include <$2>
1925 _ACEOF
1926 if ac_fn_c_try_cpp "$LINENO"; then :
1927   ac_header_preproc=yes
1928 else
1929   ac_header_preproc=no
1930 fi
1931 rm -f conftest.err conftest.i conftest.$ac_ext
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1933 $as_echo "$ac_header_preproc" >&6; }
1934
1935 # So?  What about this header?
1936 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1937   yes:no: )
1938     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1939 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1940     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1941 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1942     ;;
1943   no:yes:* )
1944     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1945 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1946     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1947 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1948     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1949 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1950     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1951 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1952     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1953 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1954     ;;
1955 esac
1956   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1957 $as_echo_n "checking for $2... " >&6; }
1958 if eval \${$3+:} false; then :
1959   $as_echo_n "(cached) " >&6
1960 else
1961   eval "$3=\$ac_header_compiler"
1962 fi
1963 eval ac_res=\$$3
1964                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1965 $as_echo "$ac_res" >&6; }
1966 fi
1967   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1968
1969 } # ac_fn_c_check_header_mongrel
1970 cat >config.log <<_ACEOF
1971 This file contains any messages produced by compilers while
1972 running configure, to aid debugging if configure makes a mistake.
1973
1974 It was created by gsignond $as_me 1.0.3, which was
1975 generated by GNU Autoconf 2.69.  Invocation command line was
1976
1977   $ $0 $@
1978
1979 _ACEOF
1980 exec 5>>config.log
1981 {
1982 cat <<_ASUNAME
1983 ## --------- ##
1984 ## Platform. ##
1985 ## --------- ##
1986
1987 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1988 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1989 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1990 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1991 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1992
1993 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1994 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1995
1996 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1997 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1998 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1999 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2000 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2001 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2002 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2003
2004 _ASUNAME
2005
2006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2007 for as_dir in $PATH
2008 do
2009   IFS=$as_save_IFS
2010   test -z "$as_dir" && as_dir=.
2011     $as_echo "PATH: $as_dir"
2012   done
2013 IFS=$as_save_IFS
2014
2015 } >&5
2016
2017 cat >&5 <<_ACEOF
2018
2019
2020 ## ----------- ##
2021 ## Core tests. ##
2022 ## ----------- ##
2023
2024 _ACEOF
2025
2026
2027 # Keep a trace of the command line.
2028 # Strip out --no-create and --no-recursion so they do not pile up.
2029 # Strip out --silent because we don't want to record it for future runs.
2030 # Also quote any args containing shell meta-characters.
2031 # Make two passes to allow for proper duplicate-argument suppression.
2032 ac_configure_args=
2033 ac_configure_args0=
2034 ac_configure_args1=
2035 ac_must_keep_next=false
2036 for ac_pass in 1 2
2037 do
2038   for ac_arg
2039   do
2040     case $ac_arg in
2041     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2042     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2043     | -silent | --silent | --silen | --sile | --sil)
2044       continue ;;
2045     *\'*)
2046       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2047     esac
2048     case $ac_pass in
2049     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2050     2)
2051       as_fn_append ac_configure_args1 " '$ac_arg'"
2052       if test $ac_must_keep_next = true; then
2053         ac_must_keep_next=false # Got value, back to normal.
2054       else
2055         case $ac_arg in
2056           *=* | --config-cache | -C | -disable-* | --disable-* \
2057           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2058           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2059           | -with-* | --with-* | -without-* | --without-* | --x)
2060             case "$ac_configure_args0 " in
2061               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2062             esac
2063             ;;
2064           -* ) ac_must_keep_next=true ;;
2065         esac
2066       fi
2067       as_fn_append ac_configure_args " '$ac_arg'"
2068       ;;
2069     esac
2070   done
2071 done
2072 { ac_configure_args0=; unset ac_configure_args0;}
2073 { ac_configure_args1=; unset ac_configure_args1;}
2074
2075 # When interrupted or exit'd, cleanup temporary files, and complete
2076 # config.log.  We remove comments because anyway the quotes in there
2077 # would cause problems or look ugly.
2078 # WARNING: Use '\'' to represent an apostrophe within the trap.
2079 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2080 trap 'exit_status=$?
2081   # Save into config.log some information that might help in debugging.
2082   {
2083     echo
2084
2085     $as_echo "## ---------------- ##
2086 ## Cache variables. ##
2087 ## ---------------- ##"
2088     echo
2089     # The following way of writing the cache mishandles newlines in values,
2090 (
2091   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2092     eval ac_val=\$$ac_var
2093     case $ac_val in #(
2094     *${as_nl}*)
2095       case $ac_var in #(
2096       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2097 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2098       esac
2099       case $ac_var in #(
2100       _ | IFS | as_nl) ;; #(
2101       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2102       *) { eval $ac_var=; unset $ac_var;} ;;
2103       esac ;;
2104     esac
2105   done
2106   (set) 2>&1 |
2107     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2108     *${as_nl}ac_space=\ *)
2109       sed -n \
2110         "s/'\''/'\''\\\\'\'''\''/g;
2111           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2112       ;; #(
2113     *)
2114       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2115       ;;
2116     esac |
2117     sort
2118 )
2119     echo
2120
2121     $as_echo "## ----------------- ##
2122 ## Output variables. ##
2123 ## ----------------- ##"
2124     echo
2125     for ac_var in $ac_subst_vars
2126     do
2127       eval ac_val=\$$ac_var
2128       case $ac_val in
2129       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2130       esac
2131       $as_echo "$ac_var='\''$ac_val'\''"
2132     done | sort
2133     echo
2134
2135     if test -n "$ac_subst_files"; then
2136       $as_echo "## ------------------- ##
2137 ## File substitutions. ##
2138 ## ------------------- ##"
2139       echo
2140       for ac_var in $ac_subst_files
2141       do
2142         eval ac_val=\$$ac_var
2143         case $ac_val in
2144         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2145         esac
2146         $as_echo "$ac_var='\''$ac_val'\''"
2147       done | sort
2148       echo
2149     fi
2150
2151     if test -s confdefs.h; then
2152       $as_echo "## ----------- ##
2153 ## confdefs.h. ##
2154 ## ----------- ##"
2155       echo
2156       cat confdefs.h
2157       echo
2158     fi
2159     test "$ac_signal" != 0 &&
2160       $as_echo "$as_me: caught signal $ac_signal"
2161     $as_echo "$as_me: exit $exit_status"
2162   } >&5
2163   rm -f core *.core core.conftest.* &&
2164     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2165     exit $exit_status
2166 ' 0
2167 for ac_signal in 1 2 13 15; do
2168   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2169 done
2170 ac_signal=0
2171
2172 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2173 rm -f -r conftest* confdefs.h
2174
2175 $as_echo "/* confdefs.h */" > confdefs.h
2176
2177 # Predefined preprocessor variables.
2178
2179 cat >>confdefs.h <<_ACEOF
2180 #define PACKAGE_NAME "$PACKAGE_NAME"
2181 _ACEOF
2182
2183 cat >>confdefs.h <<_ACEOF
2184 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2185 _ACEOF
2186
2187 cat >>confdefs.h <<_ACEOF
2188 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2189 _ACEOF
2190
2191 cat >>confdefs.h <<_ACEOF
2192 #define PACKAGE_STRING "$PACKAGE_STRING"
2193 _ACEOF
2194
2195 cat >>confdefs.h <<_ACEOF
2196 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2197 _ACEOF
2198
2199 cat >>confdefs.h <<_ACEOF
2200 #define PACKAGE_URL "$PACKAGE_URL"
2201 _ACEOF
2202
2203
2204 # Let the site file select an alternate cache file if it wants to.
2205 # Prefer an explicitly selected file to automatically selected ones.
2206 ac_site_file1=NONE
2207 ac_site_file2=NONE
2208 if test -n "$CONFIG_SITE"; then
2209   # We do not want a PATH search for config.site.
2210   case $CONFIG_SITE in #((
2211     -*)  ac_site_file1=./$CONFIG_SITE;;
2212     */*) ac_site_file1=$CONFIG_SITE;;
2213     *)   ac_site_file1=./$CONFIG_SITE;;
2214   esac
2215 elif test "x$prefix" != xNONE; then
2216   ac_site_file1=$prefix/share/config.site
2217   ac_site_file2=$prefix/etc/config.site
2218 else
2219   ac_site_file1=$ac_default_prefix/share/config.site
2220   ac_site_file2=$ac_default_prefix/etc/config.site
2221 fi
2222 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2223 do
2224   test "x$ac_site_file" = xNONE && continue
2225   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2226     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2227 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2228     sed 's/^/| /' "$ac_site_file" >&5
2229     . "$ac_site_file" \
2230       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2231 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2232 as_fn_error $? "failed to load site script $ac_site_file
2233 See \`config.log' for more details" "$LINENO" 5; }
2234   fi
2235 done
2236
2237 if test -r "$cache_file"; then
2238   # Some versions of bash will fail to source /dev/null (special files
2239   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2240   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2241     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2242 $as_echo "$as_me: loading cache $cache_file" >&6;}
2243     case $cache_file in
2244       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2245       *)                      . "./$cache_file";;
2246     esac
2247   fi
2248 else
2249   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2250 $as_echo "$as_me: creating cache $cache_file" >&6;}
2251   >$cache_file
2252 fi
2253
2254 # Check that the precious variables saved in the cache have kept the same
2255 # value.
2256 ac_cache_corrupted=false
2257 for ac_var in $ac_precious_vars; do
2258   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2259   eval ac_new_set=\$ac_env_${ac_var}_set
2260   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2261   eval ac_new_val=\$ac_env_${ac_var}_value
2262   case $ac_old_set,$ac_new_set in
2263     set,)
2264       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2265 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2266       ac_cache_corrupted=: ;;
2267     ,set)
2268       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2269 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2270       ac_cache_corrupted=: ;;
2271     ,);;
2272     *)
2273       if test "x$ac_old_val" != "x$ac_new_val"; then
2274         # differences in whitespace do not lead to failure.
2275         ac_old_val_w=`echo x $ac_old_val`
2276         ac_new_val_w=`echo x $ac_new_val`
2277         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2278           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2279 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2280           ac_cache_corrupted=:
2281         else
2282           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2283 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2284           eval $ac_var=\$ac_old_val
2285         fi
2286         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2287 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2288         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2289 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2290       fi;;
2291   esac
2292   # Pass precious variables to config.status.
2293   if test "$ac_new_set" = set; then
2294     case $ac_new_val in
2295     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2296     *) ac_arg=$ac_var=$ac_new_val ;;
2297     esac
2298     case " $ac_configure_args " in
2299       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2300       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2301     esac
2302   fi
2303 done
2304 if $ac_cache_corrupted; then
2305   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2306 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2307   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2308 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2309   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2310 fi
2311 ## -------------------- ##
2312 ## Main body of script. ##
2313 ## -------------------- ##
2314
2315 ac_ext=c
2316 ac_cpp='$CPP $CPPFLAGS'
2317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2320
2321
2322
2323 ac_config_headers="$ac_config_headers config.h"
2324
2325 ac_aux_dir=
2326 for ac_dir in build-aux "$srcdir"/build-aux; do
2327   if test -f "$ac_dir/install-sh"; then
2328     ac_aux_dir=$ac_dir
2329     ac_install_sh="$ac_aux_dir/install-sh -c"
2330     break
2331   elif test -f "$ac_dir/install.sh"; then
2332     ac_aux_dir=$ac_dir
2333     ac_install_sh="$ac_aux_dir/install.sh -c"
2334     break
2335   elif test -f "$ac_dir/shtool"; then
2336     ac_aux_dir=$ac_dir
2337     ac_install_sh="$ac_aux_dir/shtool install -c"
2338     break
2339   fi
2340 done
2341 if test -z "$ac_aux_dir"; then
2342   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2343 fi
2344
2345 # These three variables are undocumented and unsupported,
2346 # and are intended to be withdrawn in a future Autoconf release.
2347 # They can cause serious problems if a builder's source tree is in a directory
2348 # whose full name contains unusual characters.
2349 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2350 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2351 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2352
2353
2354
2355
2356 am__api_version='1.14'
2357
2358 # Find a good install program.  We prefer a C program (faster),
2359 # so one script is as good as another.  But avoid the broken or
2360 # incompatible versions:
2361 # SysV /etc/install, /usr/sbin/install
2362 # SunOS /usr/etc/install
2363 # IRIX /sbin/install
2364 # AIX /bin/install
2365 # AmigaOS /C/install, which installs bootblocks on floppy discs
2366 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2367 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2368 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2369 # OS/2's system install, which has a completely different semantic
2370 # ./install, which can be erroneously created by make from ./install.sh.
2371 # Reject install programs that cannot install multiple files.
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2373 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2374 if test -z "$INSTALL"; then
2375 if ${ac_cv_path_install+:} false; then :
2376   $as_echo_n "(cached) " >&6
2377 else
2378   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2379 for as_dir in $PATH
2380 do
2381   IFS=$as_save_IFS
2382   test -z "$as_dir" && as_dir=.
2383     # Account for people who put trailing slashes in PATH elements.
2384 case $as_dir/ in #((
2385   ./ | .// | /[cC]/* | \
2386   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2387   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2388   /usr/ucb/* ) ;;
2389   *)
2390     # OSF1 and SCO ODT 3.0 have their own names for install.
2391     # Don't use installbsd from OSF since it installs stuff as root
2392     # by default.
2393     for ac_prog in ginstall scoinst install; do
2394       for ac_exec_ext in '' $ac_executable_extensions; do
2395         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2396           if test $ac_prog = install &&
2397             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2398             # AIX install.  It has an incompatible calling convention.
2399             :
2400           elif test $ac_prog = install &&
2401             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2402             # program-specific install script used by HP pwplus--don't use.
2403             :
2404           else
2405             rm -rf conftest.one conftest.two conftest.dir
2406             echo one > conftest.one
2407             echo two > conftest.two
2408             mkdir conftest.dir
2409             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2410               test -s conftest.one && test -s conftest.two &&
2411               test -s conftest.dir/conftest.one &&
2412               test -s conftest.dir/conftest.two
2413             then
2414               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2415               break 3
2416             fi
2417           fi
2418         fi
2419       done
2420     done
2421     ;;
2422 esac
2423
2424   done
2425 IFS=$as_save_IFS
2426
2427 rm -rf conftest.one conftest.two conftest.dir
2428
2429 fi
2430   if test "${ac_cv_path_install+set}" = set; then
2431     INSTALL=$ac_cv_path_install
2432   else
2433     # As a last resort, use the slow shell script.  Don't cache a
2434     # value for INSTALL within a source directory, because that will
2435     # break other packages using the cache if that directory is
2436     # removed, or if the value is a relative name.
2437     INSTALL=$ac_install_sh
2438   fi
2439 fi
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2441 $as_echo "$INSTALL" >&6; }
2442
2443 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2444 # It thinks the first close brace ends the variable substitution.
2445 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2446
2447 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2448
2449 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2450
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2452 $as_echo_n "checking whether build environment is sane... " >&6; }
2453 # Reject unsafe characters in $srcdir or the absolute working directory
2454 # name.  Accept space and tab only in the latter.
2455 am_lf='
2456 '
2457 case `pwd` in
2458   *[\\\"\#\$\&\'\`$am_lf]*)
2459     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2460 esac
2461 case $srcdir in
2462   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2463     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2464 esac
2465
2466 # Do 'set' in a subshell so we don't clobber the current shell's
2467 # arguments.  Must try -L first in case configure is actually a
2468 # symlink; some systems play weird games with the mod time of symlinks
2469 # (eg FreeBSD returns the mod time of the symlink's containing
2470 # directory).
2471 if (
2472    am_has_slept=no
2473    for am_try in 1 2; do
2474      echo "timestamp, slept: $am_has_slept" > conftest.file
2475      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2476      if test "$*" = "X"; then
2477         # -L didn't work.
2478         set X `ls -t "$srcdir/configure" conftest.file`
2479      fi
2480      if test "$*" != "X $srcdir/configure conftest.file" \
2481         && test "$*" != "X conftest.file $srcdir/configure"; then
2482
2483         # If neither matched, then we have a broken ls.  This can happen
2484         # if, for instance, CONFIG_SHELL is bash and it inherits a
2485         # broken ls alias from the environment.  This has actually
2486         # happened.  Such a system could not be considered "sane".
2487         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2488   alias in your environment" "$LINENO" 5
2489      fi
2490      if test "$2" = conftest.file || test $am_try -eq 2; then
2491        break
2492      fi
2493      # Just in case.
2494      sleep 1
2495      am_has_slept=yes
2496    done
2497    test "$2" = conftest.file
2498    )
2499 then
2500    # Ok.
2501    :
2502 else
2503    as_fn_error $? "newly created file is older than distributed files!
2504 Check your system clock" "$LINENO" 5
2505 fi
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2507 $as_echo "yes" >&6; }
2508 # If we didn't sleep, we still need to ensure time stamps of config.status and
2509 # generated files are strictly newer.
2510 am_sleep_pid=
2511 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2512   ( sleep 1 ) &
2513   am_sleep_pid=$!
2514 fi
2515
2516 rm -f conftest.file
2517
2518 test "$program_prefix" != NONE &&
2519   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2520 # Use a double $ so make ignores it.
2521 test "$program_suffix" != NONE &&
2522   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2523 # Double any \ or $.
2524 # By default was `s,x,x', remove it if useless.
2525 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2526 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2527
2528 # expand $ac_aux_dir to an absolute path
2529 am_aux_dir=`cd $ac_aux_dir && pwd`
2530
2531 if test x"${MISSING+set}" != xset; then
2532   case $am_aux_dir in
2533   *\ * | *\     *)
2534     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2535   *)
2536     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2537   esac
2538 fi
2539 # Use eval to expand $SHELL
2540 if eval "$MISSING --is-lightweight"; then
2541   am_missing_run="$MISSING "
2542 else
2543   am_missing_run=
2544   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2545 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2546 fi
2547
2548 if test x"${install_sh}" != xset; then
2549   case $am_aux_dir in
2550   *\ * | *\     *)
2551     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2552   *)
2553     install_sh="\${SHELL} $am_aux_dir/install-sh"
2554   esac
2555 fi
2556
2557 # Installed binaries are usually stripped using 'strip' when the user
2558 # run "make install-strip".  However 'strip' might not be the right
2559 # tool to use in cross-compilation environments, therefore Automake
2560 # will honor the 'STRIP' environment variable to overrule this program.
2561 if test "$cross_compiling" != no; then
2562   if test -n "$ac_tool_prefix"; then
2563   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2564 set dummy ${ac_tool_prefix}strip; ac_word=$2
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2566 $as_echo_n "checking for $ac_word... " >&6; }
2567 if ${ac_cv_prog_STRIP+:} false; then :
2568   $as_echo_n "(cached) " >&6
2569 else
2570   if test -n "$STRIP"; then
2571   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2572 else
2573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2574 for as_dir in $PATH
2575 do
2576   IFS=$as_save_IFS
2577   test -z "$as_dir" && as_dir=.
2578     for ac_exec_ext in '' $ac_executable_extensions; do
2579   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2580     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2581     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2582     break 2
2583   fi
2584 done
2585   done
2586 IFS=$as_save_IFS
2587
2588 fi
2589 fi
2590 STRIP=$ac_cv_prog_STRIP
2591 if test -n "$STRIP"; then
2592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2593 $as_echo "$STRIP" >&6; }
2594 else
2595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2596 $as_echo "no" >&6; }
2597 fi
2598
2599
2600 fi
2601 if test -z "$ac_cv_prog_STRIP"; then
2602   ac_ct_STRIP=$STRIP
2603   # Extract the first word of "strip", so it can be a program name with args.
2604 set dummy strip; ac_word=$2
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2606 $as_echo_n "checking for $ac_word... " >&6; }
2607 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2608   $as_echo_n "(cached) " >&6
2609 else
2610   if test -n "$ac_ct_STRIP"; then
2611   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2612 else
2613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2614 for as_dir in $PATH
2615 do
2616   IFS=$as_save_IFS
2617   test -z "$as_dir" && as_dir=.
2618     for ac_exec_ext in '' $ac_executable_extensions; do
2619   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2620     ac_cv_prog_ac_ct_STRIP="strip"
2621     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2622     break 2
2623   fi
2624 done
2625   done
2626 IFS=$as_save_IFS
2627
2628 fi
2629 fi
2630 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2631 if test -n "$ac_ct_STRIP"; then
2632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2633 $as_echo "$ac_ct_STRIP" >&6; }
2634 else
2635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2636 $as_echo "no" >&6; }
2637 fi
2638
2639   if test "x$ac_ct_STRIP" = x; then
2640     STRIP=":"
2641   else
2642     case $cross_compiling:$ac_tool_warned in
2643 yes:)
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2645 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2646 ac_tool_warned=yes ;;
2647 esac
2648     STRIP=$ac_ct_STRIP
2649   fi
2650 else
2651   STRIP="$ac_cv_prog_STRIP"
2652 fi
2653
2654 fi
2655 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2656
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2658 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2659 if test -z "$MKDIR_P"; then
2660   if ${ac_cv_path_mkdir+:} false; then :
2661   $as_echo_n "(cached) " >&6
2662 else
2663   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2664 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2665 do
2666   IFS=$as_save_IFS
2667   test -z "$as_dir" && as_dir=.
2668     for ac_prog in mkdir gmkdir; do
2669          for ac_exec_ext in '' $ac_executable_extensions; do
2670            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2671            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2672              'mkdir (GNU coreutils) '* | \
2673              'mkdir (coreutils) '* | \
2674              'mkdir (fileutils) '4.1*)
2675                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2676                break 3;;
2677            esac
2678          done
2679        done
2680   done
2681 IFS=$as_save_IFS
2682
2683 fi
2684
2685   test -d ./--version && rmdir ./--version
2686   if test "${ac_cv_path_mkdir+set}" = set; then
2687     MKDIR_P="$ac_cv_path_mkdir -p"
2688   else
2689     # As a last resort, use the slow shell script.  Don't cache a
2690     # value for MKDIR_P within a source directory, because that will
2691     # break other packages using the cache if that directory is
2692     # removed, or if the value is a relative name.
2693     MKDIR_P="$ac_install_sh -d"
2694   fi
2695 fi
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2697 $as_echo "$MKDIR_P" >&6; }
2698
2699 for ac_prog in gawk mawk nawk awk
2700 do
2701   # Extract the first word of "$ac_prog", so it can be a program name with args.
2702 set dummy $ac_prog; ac_word=$2
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2704 $as_echo_n "checking for $ac_word... " >&6; }
2705 if ${ac_cv_prog_AWK+:} false; then :
2706   $as_echo_n "(cached) " >&6
2707 else
2708   if test -n "$AWK"; then
2709   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2710 else
2711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2712 for as_dir in $PATH
2713 do
2714   IFS=$as_save_IFS
2715   test -z "$as_dir" && as_dir=.
2716     for ac_exec_ext in '' $ac_executable_extensions; do
2717   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2718     ac_cv_prog_AWK="$ac_prog"
2719     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2720     break 2
2721   fi
2722 done
2723   done
2724 IFS=$as_save_IFS
2725
2726 fi
2727 fi
2728 AWK=$ac_cv_prog_AWK
2729 if test -n "$AWK"; then
2730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2731 $as_echo "$AWK" >&6; }
2732 else
2733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2734 $as_echo "no" >&6; }
2735 fi
2736
2737
2738   test -n "$AWK" && break
2739 done
2740
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2742 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2743 set x ${MAKE-make}
2744 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2745 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2746   $as_echo_n "(cached) " >&6
2747 else
2748   cat >conftest.make <<\_ACEOF
2749 SHELL = /bin/sh
2750 all:
2751         @echo '@@@%%%=$(MAKE)=@@@%%%'
2752 _ACEOF
2753 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2754 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2755   *@@@%%%=?*=@@@%%%*)
2756     eval ac_cv_prog_make_${ac_make}_set=yes;;
2757   *)
2758     eval ac_cv_prog_make_${ac_make}_set=no;;
2759 esac
2760 rm -f conftest.make
2761 fi
2762 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2764 $as_echo "yes" >&6; }
2765   SET_MAKE=
2766 else
2767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2768 $as_echo "no" >&6; }
2769   SET_MAKE="MAKE=${MAKE-make}"
2770 fi
2771
2772 rm -rf .tst 2>/dev/null
2773 mkdir .tst 2>/dev/null
2774 if test -d .tst; then
2775   am__leading_dot=.
2776 else
2777   am__leading_dot=_
2778 fi
2779 rmdir .tst 2>/dev/null
2780
2781 # Check whether --enable-silent-rules was given.
2782 if test "${enable_silent_rules+set}" = set; then :
2783   enableval=$enable_silent_rules;
2784 fi
2785
2786 case $enable_silent_rules in # (((
2787   yes) AM_DEFAULT_VERBOSITY=0;;
2788    no) AM_DEFAULT_VERBOSITY=1;;
2789     *) AM_DEFAULT_VERBOSITY=1;;
2790 esac
2791 am_make=${MAKE-make}
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2793 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2794 if ${am_cv_make_support_nested_variables+:} false; then :
2795   $as_echo_n "(cached) " >&6
2796 else
2797   if $as_echo 'TRUE=$(BAR$(V))
2798 BAR0=false
2799 BAR1=true
2800 V=1
2801 am__doit:
2802         @$(TRUE)
2803 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2804   am_cv_make_support_nested_variables=yes
2805 else
2806   am_cv_make_support_nested_variables=no
2807 fi
2808 fi
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2810 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2811 if test $am_cv_make_support_nested_variables = yes; then
2812     AM_V='$(V)'
2813   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2814 else
2815   AM_V=$AM_DEFAULT_VERBOSITY
2816   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2817 fi
2818 AM_BACKSLASH='\'
2819
2820 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2821   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2822   # is not polluted with repeated "-I."
2823   am__isrc=' -I$(srcdir)'
2824   # test to see if srcdir already configured
2825   if test -f $srcdir/config.status; then
2826     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2827   fi
2828 fi
2829
2830 # test whether we have cygpath
2831 if test -z "$CYGPATH_W"; then
2832   if (cygpath --version) >/dev/null 2>/dev/null; then
2833     CYGPATH_W='cygpath -w'
2834   else
2835     CYGPATH_W=echo
2836   fi
2837 fi
2838
2839
2840 # Define the identity of the package.
2841  PACKAGE='gsignond'
2842  VERSION='1.0.3'
2843
2844
2845 cat >>confdefs.h <<_ACEOF
2846 #define PACKAGE "$PACKAGE"
2847 _ACEOF
2848
2849
2850 cat >>confdefs.h <<_ACEOF
2851 #define VERSION "$VERSION"
2852 _ACEOF
2853
2854 # Some tools Automake needs.
2855
2856 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2857
2858
2859 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2860
2861
2862 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2863
2864
2865 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2866
2867
2868 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2869
2870 # For better backward compatibility.  To be removed once Automake 1.9.x
2871 # dies out for good.  For more background, see:
2872 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2873 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2874 mkdir_p='$(MKDIR_P)'
2875
2876 # We need awk for the "check" target.  The system "awk" is bad on
2877 # some platforms.
2878 # Always define AMTAR for backward compatibility.  Yes, it's still used
2879 # in the wild :-(  We should find a proper way to deprecate it ...
2880 AMTAR='$${TAR-tar}'
2881
2882
2883 # We'll loop over all known methods to create a tar archive until one works.
2884 _am_tools='gnutar  pax cpio none'
2885
2886
2887
2888   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2889 $as_echo_n "checking how to create a pax tar archive... " >&6; }
2890
2891   # Go ahead even if we have the value already cached.  We do so because we
2892   # need to set the values for the 'am__tar' and 'am__untar' variables.
2893   _am_tools=${am_cv_prog_tar_pax-$_am_tools}
2894
2895   for _am_tool in $_am_tools; do
2896     case $_am_tool in
2897     gnutar)
2898       for _am_tar in tar gnutar gtar; do
2899         { echo "$as_me:$LINENO: $_am_tar --version" >&5
2900    ($_am_tar --version) >&5 2>&5
2901    ac_status=$?
2902    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2903    (exit $ac_status); } && break
2904       done
2905       am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2906       am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2907       am__untar="$_am_tar -xf -"
2908       ;;
2909     plaintar)
2910       # Must skip GNU tar: if it does not support --format= it doesn't create
2911       # ustar tarball either.
2912       (tar --version) >/dev/null 2>&1 && continue
2913       am__tar='tar chf - "$$tardir"'
2914       am__tar_='tar chf - "$tardir"'
2915       am__untar='tar xf -'
2916       ;;
2917     pax)
2918       am__tar='pax -L -x pax -w "$$tardir"'
2919       am__tar_='pax -L -x pax -w "$tardir"'
2920       am__untar='pax -r'
2921       ;;
2922     cpio)
2923       am__tar='find "$$tardir" -print | cpio -o -H pax -L'
2924       am__tar_='find "$tardir" -print | cpio -o -H pax -L'
2925       am__untar='cpio -i -H pax -d'
2926       ;;
2927     none)
2928       am__tar=false
2929       am__tar_=false
2930       am__untar=false
2931       ;;
2932     esac
2933
2934     # If the value was cached, stop now.  We just wanted to have am__tar
2935     # and am__untar set.
2936     test -n "${am_cv_prog_tar_pax}" && break
2937
2938     # tar/untar a dummy directory, and stop if the command works.
2939     rm -rf conftest.dir
2940     mkdir conftest.dir
2941     echo GrepMe > conftest.dir/file
2942     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2943    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2944    ac_status=$?
2945    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2946    (exit $ac_status); }
2947     rm -rf conftest.dir
2948     if test -s conftest.tar; then
2949       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2950    ($am__untar <conftest.tar) >&5 2>&5
2951    ac_status=$?
2952    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2953    (exit $ac_status); }
2954       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
2955    (cat conftest.dir/file) >&5 2>&5
2956    ac_status=$?
2957    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2958    (exit $ac_status); }
2959       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2960     fi
2961   done
2962   rm -rf conftest.dir
2963
2964   if ${am_cv_prog_tar_pax+:} false; then :
2965   $as_echo_n "(cached) " >&6
2966 else
2967   am_cv_prog_tar_pax=$_am_tool
2968 fi
2969
2970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
2971 $as_echo "$am_cv_prog_tar_pax" >&6; }
2972
2973
2974
2975
2976
2977
2978 # POSIX will say in a future version that running "rm -f" with no argument
2979 # is OK; and we want to be able to make that assumption in our Makefile
2980 # recipes.  So use an aggressive probe to check that the usage we want is
2981 # actually supported "in the wild" to an acceptable degree.
2982 # See automake bug#10828.
2983 # To make any issue more visible, cause the running configure to be aborted
2984 # by default if the 'rm' program in use doesn't match our expectations; the
2985 # user can still override this though.
2986 if rm -f && rm -fr && rm -rf; then : OK; else
2987   cat >&2 <<'END'
2988 Oops!
2989
2990 Your 'rm' program seems unable to run without file operands specified
2991 on the command line, even when the '-f' option is present.  This is contrary
2992 to the behaviour of most rm programs out there, and not conforming with
2993 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2994
2995 Please tell bug-automake@gnu.org about your system, including the value
2996 of your $PATH and any error possibly output before this message.  This
2997 can help us improve future automake versions.
2998
2999 END
3000   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3001     echo 'Configuration will proceed anyway, since you have set the' >&2
3002     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3003     echo >&2
3004   else
3005     cat >&2 <<'END'
3006 Aborting the configuration process, to ensure you take notice of the issue.
3007
3008 You can download and install GNU coreutils to get an 'rm' implementation
3009 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3010
3011 If you want to complete the configuration process using your problematic
3012 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3013 to "yes", and re-run configure.
3014
3015 END
3016     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3017   fi
3018 fi
3019
3020 # Checks for programs.
3021 ac_ext=c
3022 ac_cpp='$CPP $CPPFLAGS'
3023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3026 if test -n "$ac_tool_prefix"; then
3027   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3028 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3030 $as_echo_n "checking for $ac_word... " >&6; }
3031 if ${ac_cv_prog_CC+:} false; then :
3032   $as_echo_n "(cached) " >&6
3033 else
3034   if test -n "$CC"; then
3035   ac_cv_prog_CC="$CC" # Let the user override the test.
3036 else
3037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3038 for as_dir in $PATH
3039 do
3040   IFS=$as_save_IFS
3041   test -z "$as_dir" && as_dir=.
3042     for ac_exec_ext in '' $ac_executable_extensions; do
3043   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3044     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3045     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3046     break 2
3047   fi
3048 done
3049   done
3050 IFS=$as_save_IFS
3051
3052 fi
3053 fi
3054 CC=$ac_cv_prog_CC
3055 if test -n "$CC"; then
3056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3057 $as_echo "$CC" >&6; }
3058 else
3059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3060 $as_echo "no" >&6; }
3061 fi
3062
3063
3064 fi
3065 if test -z "$ac_cv_prog_CC"; then
3066   ac_ct_CC=$CC
3067   # Extract the first word of "gcc", so it can be a program name with args.
3068 set dummy gcc; ac_word=$2
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3070 $as_echo_n "checking for $ac_word... " >&6; }
3071 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3072   $as_echo_n "(cached) " >&6
3073 else
3074   if test -n "$ac_ct_CC"; then
3075   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3076 else
3077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3078 for as_dir in $PATH
3079 do
3080   IFS=$as_save_IFS
3081   test -z "$as_dir" && as_dir=.
3082     for ac_exec_ext in '' $ac_executable_extensions; do
3083   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3084     ac_cv_prog_ac_ct_CC="gcc"
3085     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3086     break 2
3087   fi
3088 done
3089   done
3090 IFS=$as_save_IFS
3091
3092 fi
3093 fi
3094 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3095 if test -n "$ac_ct_CC"; then
3096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3097 $as_echo "$ac_ct_CC" >&6; }
3098 else
3099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3100 $as_echo "no" >&6; }
3101 fi
3102
3103   if test "x$ac_ct_CC" = x; then
3104     CC=""
3105   else
3106     case $cross_compiling:$ac_tool_warned in
3107 yes:)
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3109 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3110 ac_tool_warned=yes ;;
3111 esac
3112     CC=$ac_ct_CC
3113   fi
3114 else
3115   CC="$ac_cv_prog_CC"
3116 fi
3117
3118 if test -z "$CC"; then
3119           if test -n "$ac_tool_prefix"; then
3120     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3121 set dummy ${ac_tool_prefix}cc; ac_word=$2
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3123 $as_echo_n "checking for $ac_word... " >&6; }
3124 if ${ac_cv_prog_CC+:} false; then :
3125   $as_echo_n "(cached) " >&6
3126 else
3127   if test -n "$CC"; then
3128   ac_cv_prog_CC="$CC" # Let the user override the test.
3129 else
3130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3131 for as_dir in $PATH
3132 do
3133   IFS=$as_save_IFS
3134   test -z "$as_dir" && as_dir=.
3135     for ac_exec_ext in '' $ac_executable_extensions; do
3136   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3137     ac_cv_prog_CC="${ac_tool_prefix}cc"
3138     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3139     break 2
3140   fi
3141 done
3142   done
3143 IFS=$as_save_IFS
3144
3145 fi
3146 fi
3147 CC=$ac_cv_prog_CC
3148 if test -n "$CC"; then
3149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3150 $as_echo "$CC" >&6; }
3151 else
3152   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3153 $as_echo "no" >&6; }
3154 fi
3155
3156
3157   fi
3158 fi
3159 if test -z "$CC"; then
3160   # Extract the first word of "cc", so it can be a program name with args.
3161 set dummy cc; ac_word=$2
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3163 $as_echo_n "checking for $ac_word... " >&6; }
3164 if ${ac_cv_prog_CC+:} false; then :
3165   $as_echo_n "(cached) " >&6
3166 else
3167   if test -n "$CC"; then
3168   ac_cv_prog_CC="$CC" # Let the user override the test.
3169 else
3170   ac_prog_rejected=no
3171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3172 for as_dir in $PATH
3173 do
3174   IFS=$as_save_IFS
3175   test -z "$as_dir" && as_dir=.
3176     for ac_exec_ext in '' $ac_executable_extensions; do
3177   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3178     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3179        ac_prog_rejected=yes
3180        continue
3181      fi
3182     ac_cv_prog_CC="cc"
3183     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3184     break 2
3185   fi
3186 done
3187   done
3188 IFS=$as_save_IFS
3189
3190 if test $ac_prog_rejected = yes; then
3191   # We found a bogon in the path, so make sure we never use it.
3192   set dummy $ac_cv_prog_CC
3193   shift
3194   if test $# != 0; then
3195     # We chose a different compiler from the bogus one.
3196     # However, it has the same basename, so the bogon will be chosen
3197     # first if we set CC to just the basename; use the full file name.
3198     shift
3199     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3200   fi
3201 fi
3202 fi
3203 fi
3204 CC=$ac_cv_prog_CC
3205 if test -n "$CC"; then
3206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3207 $as_echo "$CC" >&6; }
3208 else
3209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3210 $as_echo "no" >&6; }
3211 fi
3212
3213
3214 fi
3215 if test -z "$CC"; then
3216   if test -n "$ac_tool_prefix"; then
3217   for ac_prog in cl.exe
3218   do
3219     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3220 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3222 $as_echo_n "checking for $ac_word... " >&6; }
3223 if ${ac_cv_prog_CC+:} false; then :
3224   $as_echo_n "(cached) " >&6
3225 else
3226   if test -n "$CC"; then
3227   ac_cv_prog_CC="$CC" # Let the user override the test.
3228 else
3229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3230 for as_dir in $PATH
3231 do
3232   IFS=$as_save_IFS
3233   test -z "$as_dir" && as_dir=.
3234     for ac_exec_ext in '' $ac_executable_extensions; do
3235   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3236     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3237     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3238     break 2
3239   fi
3240 done
3241   done
3242 IFS=$as_save_IFS
3243
3244 fi
3245 fi
3246 CC=$ac_cv_prog_CC
3247 if test -n "$CC"; then
3248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3249 $as_echo "$CC" >&6; }
3250 else
3251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3252 $as_echo "no" >&6; }
3253 fi
3254
3255
3256     test -n "$CC" && break
3257   done
3258 fi
3259 if test -z "$CC"; then
3260   ac_ct_CC=$CC
3261   for ac_prog in cl.exe
3262 do
3263   # Extract the first word of "$ac_prog", so it can be a program name with args.
3264 set dummy $ac_prog; ac_word=$2
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3266 $as_echo_n "checking for $ac_word... " >&6; }
3267 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3268   $as_echo_n "(cached) " >&6
3269 else
3270   if test -n "$ac_ct_CC"; then
3271   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3272 else
3273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3274 for as_dir in $PATH
3275 do
3276   IFS=$as_save_IFS
3277   test -z "$as_dir" && as_dir=.
3278     for ac_exec_ext in '' $ac_executable_extensions; do
3279   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3280     ac_cv_prog_ac_ct_CC="$ac_prog"
3281     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3282     break 2
3283   fi
3284 done
3285   done
3286 IFS=$as_save_IFS
3287
3288 fi
3289 fi
3290 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3291 if test -n "$ac_ct_CC"; then
3292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3293 $as_echo "$ac_ct_CC" >&6; }
3294 else
3295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3296 $as_echo "no" >&6; }
3297 fi
3298
3299
3300   test -n "$ac_ct_CC" && break
3301 done
3302
3303   if test "x$ac_ct_CC" = x; then
3304     CC=""
3305   else
3306     case $cross_compiling:$ac_tool_warned in
3307 yes:)
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3309 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3310 ac_tool_warned=yes ;;
3311 esac
3312     CC=$ac_ct_CC
3313   fi
3314 fi
3315
3316 fi
3317
3318
3319 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3320 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3321 as_fn_error $? "no acceptable C compiler found in \$PATH
3322 See \`config.log' for more details" "$LINENO" 5; }
3323
3324 # Provide some information about the compiler.
3325 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3326 set X $ac_compile
3327 ac_compiler=$2
3328 for ac_option in --version -v -V -qversion; do
3329   { { ac_try="$ac_compiler $ac_option >&5"
3330 case "(($ac_try" in
3331   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3332   *) ac_try_echo=$ac_try;;
3333 esac
3334 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3335 $as_echo "$ac_try_echo"; } >&5
3336   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3337   ac_status=$?
3338   if test -s conftest.err; then
3339     sed '10a\
3340 ... rest of stderr output deleted ...
3341          10q' conftest.err >conftest.er1
3342     cat conftest.er1 >&5
3343   fi
3344   rm -f conftest.er1 conftest.err
3345   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3346   test $ac_status = 0; }
3347 done
3348
3349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3350 /* end confdefs.h.  */
3351
3352 int
3353 main ()
3354 {
3355
3356   ;
3357   return 0;
3358 }
3359 _ACEOF
3360 ac_clean_files_save=$ac_clean_files
3361 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3362 # Try to create an executable without -o first, disregard a.out.
3363 # It will help us diagnose broken compilers, and finding out an intuition
3364 # of exeext.
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3366 $as_echo_n "checking whether the C compiler works... " >&6; }
3367 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3368
3369 # The possible output files:
3370 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3371
3372 ac_rmfiles=
3373 for ac_file in $ac_files
3374 do
3375   case $ac_file in
3376     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3377     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3378   esac
3379 done
3380 rm -f $ac_rmfiles
3381
3382 if { { ac_try="$ac_link_default"
3383 case "(($ac_try" in
3384   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3385   *) ac_try_echo=$ac_try;;
3386 esac
3387 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3388 $as_echo "$ac_try_echo"; } >&5
3389   (eval "$ac_link_default") 2>&5
3390   ac_status=$?
3391   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3392   test $ac_status = 0; }; then :
3393   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3394 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3395 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3396 # so that the user can short-circuit this test for compilers unknown to
3397 # Autoconf.
3398 for ac_file in $ac_files ''
3399 do
3400   test -f "$ac_file" || continue
3401   case $ac_file in
3402     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3403         ;;
3404     [ab].out )
3405         # We found the default executable, but exeext='' is most
3406         # certainly right.
3407         break;;
3408     *.* )
3409         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3410         then :; else
3411            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3412         fi
3413         # We set ac_cv_exeext here because the later test for it is not
3414         # safe: cross compilers may not add the suffix if given an `-o'
3415         # argument, so we may need to know it at that point already.
3416         # Even if this section looks crufty: it has the advantage of
3417         # actually working.
3418         break;;
3419     * )
3420         break;;
3421   esac
3422 done
3423 test "$ac_cv_exeext" = no && ac_cv_exeext=
3424
3425 else
3426   ac_file=''
3427 fi
3428 if test -z "$ac_file"; then :
3429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3430 $as_echo "no" >&6; }
3431 $as_echo "$as_me: failed program was:" >&5
3432 sed 's/^/| /' conftest.$ac_ext >&5
3433
3434 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3435 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3436 as_fn_error 77 "C compiler cannot create executables
3437 See \`config.log' for more details" "$LINENO" 5; }
3438 else
3439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3440 $as_echo "yes" >&6; }
3441 fi
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3443 $as_echo_n "checking for C compiler default output file name... " >&6; }
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3445 $as_echo "$ac_file" >&6; }
3446 ac_exeext=$ac_cv_exeext
3447
3448 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3449 ac_clean_files=$ac_clean_files_save
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3451 $as_echo_n "checking for suffix of executables... " >&6; }
3452 if { { ac_try="$ac_link"
3453 case "(($ac_try" in
3454   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3455   *) ac_try_echo=$ac_try;;
3456 esac
3457 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3458 $as_echo "$ac_try_echo"; } >&5
3459   (eval "$ac_link") 2>&5
3460   ac_status=$?
3461   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3462   test $ac_status = 0; }; then :
3463   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3464 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3465 # work properly (i.e., refer to `conftest.exe'), while it won't with
3466 # `rm'.
3467 for ac_file in conftest.exe conftest conftest.*; do
3468   test -f "$ac_file" || continue
3469   case $ac_file in
3470     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3471     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3472           break;;
3473     * ) break;;
3474   esac
3475 done
3476 else
3477   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3478 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3479 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3480 See \`config.log' for more details" "$LINENO" 5; }
3481 fi
3482 rm -f conftest conftest$ac_cv_exeext
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3484 $as_echo "$ac_cv_exeext" >&6; }
3485
3486 rm -f conftest.$ac_ext
3487 EXEEXT=$ac_cv_exeext
3488 ac_exeext=$EXEEXT
3489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3490 /* end confdefs.h.  */
3491 #include <stdio.h>
3492 int
3493 main ()
3494 {
3495 FILE *f = fopen ("conftest.out", "w");
3496  return ferror (f) || fclose (f) != 0;
3497
3498   ;
3499   return 0;
3500 }
3501 _ACEOF
3502 ac_clean_files="$ac_clean_files conftest.out"
3503 # Check that the compiler produces executables we can run.  If not, either
3504 # the compiler is broken, or we cross compile.
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3506 $as_echo_n "checking whether we are cross compiling... " >&6; }
3507 if test "$cross_compiling" != yes; then
3508   { { ac_try="$ac_link"
3509 case "(($ac_try" in
3510   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3511   *) ac_try_echo=$ac_try;;
3512 esac
3513 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3514 $as_echo "$ac_try_echo"; } >&5
3515   (eval "$ac_link") 2>&5
3516   ac_status=$?
3517   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3518   test $ac_status = 0; }
3519   if { ac_try='./conftest$ac_cv_exeext'
3520   { { case "(($ac_try" in
3521   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3522   *) ac_try_echo=$ac_try;;
3523 esac
3524 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3525 $as_echo "$ac_try_echo"; } >&5
3526   (eval "$ac_try") 2>&5
3527   ac_status=$?
3528   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3529   test $ac_status = 0; }; }; then
3530     cross_compiling=no
3531   else
3532     if test "$cross_compiling" = maybe; then
3533         cross_compiling=yes
3534     else
3535         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3536 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3537 as_fn_error $? "cannot run C compiled programs.
3538 If you meant to cross compile, use \`--host'.
3539 See \`config.log' for more details" "$LINENO" 5; }
3540     fi
3541   fi
3542 fi
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3544 $as_echo "$cross_compiling" >&6; }
3545
3546 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3547 ac_clean_files=$ac_clean_files_save
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3549 $as_echo_n "checking for suffix of object files... " >&6; }
3550 if ${ac_cv_objext+:} false; then :
3551   $as_echo_n "(cached) " >&6
3552 else
3553   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3554 /* end confdefs.h.  */
3555
3556 int
3557 main ()
3558 {
3559
3560   ;
3561   return 0;
3562 }
3563 _ACEOF
3564 rm -f conftest.o conftest.obj
3565 if { { ac_try="$ac_compile"
3566 case "(($ac_try" in
3567   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3568   *) ac_try_echo=$ac_try;;
3569 esac
3570 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3571 $as_echo "$ac_try_echo"; } >&5
3572   (eval "$ac_compile") 2>&5
3573   ac_status=$?
3574   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3575   test $ac_status = 0; }; then :
3576   for ac_file in conftest.o conftest.obj conftest.*; do
3577   test -f "$ac_file" || continue;
3578   case $ac_file in
3579     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3580     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3581        break;;
3582   esac
3583 done
3584 else
3585   $as_echo "$as_me: failed program was:" >&5
3586 sed 's/^/| /' conftest.$ac_ext >&5
3587
3588 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3589 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3590 as_fn_error $? "cannot compute suffix of object files: cannot compile
3591 See \`config.log' for more details" "$LINENO" 5; }
3592 fi
3593 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3594 fi
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3596 $as_echo "$ac_cv_objext" >&6; }
3597 OBJEXT=$ac_cv_objext
3598 ac_objext=$OBJEXT
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3600 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3601 if ${ac_cv_c_compiler_gnu+:} false; then :
3602   $as_echo_n "(cached) " >&6
3603 else
3604   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3605 /* end confdefs.h.  */
3606
3607 int
3608 main ()
3609 {
3610 #ifndef __GNUC__
3611        choke me
3612 #endif
3613
3614   ;
3615   return 0;
3616 }
3617 _ACEOF
3618 if ac_fn_c_try_compile "$LINENO"; then :
3619   ac_compiler_gnu=yes
3620 else
3621   ac_compiler_gnu=no
3622 fi
3623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3624 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3625
3626 fi
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3628 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3629 if test $ac_compiler_gnu = yes; then
3630   GCC=yes
3631 else
3632   GCC=
3633 fi
3634 ac_test_CFLAGS=${CFLAGS+set}
3635 ac_save_CFLAGS=$CFLAGS
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3637 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3638 if ${ac_cv_prog_cc_g+:} false; then :
3639   $as_echo_n "(cached) " >&6
3640 else
3641   ac_save_c_werror_flag=$ac_c_werror_flag
3642    ac_c_werror_flag=yes
3643    ac_cv_prog_cc_g=no
3644    CFLAGS="-g"
3645    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3646 /* end confdefs.h.  */
3647
3648 int
3649 main ()
3650 {
3651
3652   ;
3653   return 0;
3654 }
3655 _ACEOF
3656 if ac_fn_c_try_compile "$LINENO"; then :
3657   ac_cv_prog_cc_g=yes
3658 else
3659   CFLAGS=""
3660       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3661 /* end confdefs.h.  */
3662
3663 int
3664 main ()
3665 {
3666
3667   ;
3668   return 0;
3669 }
3670 _ACEOF
3671 if ac_fn_c_try_compile "$LINENO"; then :
3672
3673 else
3674   ac_c_werror_flag=$ac_save_c_werror_flag
3675          CFLAGS="-g"
3676          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3677 /* end confdefs.h.  */
3678
3679 int
3680 main ()
3681 {
3682
3683   ;
3684   return 0;
3685 }
3686 _ACEOF
3687 if ac_fn_c_try_compile "$LINENO"; then :
3688   ac_cv_prog_cc_g=yes
3689 fi
3690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3691 fi
3692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3693 fi
3694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3695    ac_c_werror_flag=$ac_save_c_werror_flag
3696 fi
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3698 $as_echo "$ac_cv_prog_cc_g" >&6; }
3699 if test "$ac_test_CFLAGS" = set; then
3700   CFLAGS=$ac_save_CFLAGS
3701 elif test $ac_cv_prog_cc_g = yes; then
3702   if test "$GCC" = yes; then
3703     CFLAGS="-g -O2"
3704   else
3705     CFLAGS="-g"
3706   fi
3707 else
3708   if test "$GCC" = yes; then
3709     CFLAGS="-O2"
3710   else
3711     CFLAGS=
3712   fi
3713 fi
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3715 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3716 if ${ac_cv_prog_cc_c89+:} false; then :
3717   $as_echo_n "(cached) " >&6
3718 else
3719   ac_cv_prog_cc_c89=no
3720 ac_save_CC=$CC
3721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3722 /* end confdefs.h.  */
3723 #include <stdarg.h>
3724 #include <stdio.h>
3725 struct stat;
3726 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3727 struct buf { int x; };
3728 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3729 static char *e (p, i)
3730      char **p;
3731      int i;
3732 {
3733   return p[i];
3734 }
3735 static char *f (char * (*g) (char **, int), char **p, ...)
3736 {
3737   char *s;
3738   va_list v;
3739   va_start (v,p);
3740   s = g (p, va_arg (v,int));
3741   va_end (v);
3742   return s;
3743 }
3744
3745 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3746    function prototypes and stuff, but not '\xHH' hex character constants.
3747    These don't provoke an error unfortunately, instead are silently treated
3748    as 'x'.  The following induces an error, until -std is added to get
3749    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3750    array size at least.  It's necessary to write '\x00'==0 to get something
3751    that's true only with -std.  */
3752 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3753
3754 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3755    inside strings and character constants.  */
3756 #define FOO(x) 'x'
3757 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3758
3759 int test (int i, double x);
3760 struct s1 {int (*f) (int a);};
3761 struct s2 {int (*f) (double a);};
3762 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3763 int argc;
3764 char **argv;
3765 int
3766 main ()
3767 {
3768 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3769   ;
3770   return 0;
3771 }
3772 _ACEOF
3773 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3774         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3775 do
3776   CC="$ac_save_CC $ac_arg"
3777   if ac_fn_c_try_compile "$LINENO"; then :
3778   ac_cv_prog_cc_c89=$ac_arg
3779 fi
3780 rm -f core conftest.err conftest.$ac_objext
3781   test "x$ac_cv_prog_cc_c89" != "xno" && break
3782 done
3783 rm -f conftest.$ac_ext
3784 CC=$ac_save_CC
3785
3786 fi
3787 # AC_CACHE_VAL
3788 case "x$ac_cv_prog_cc_c89" in
3789   x)
3790     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3791 $as_echo "none needed" >&6; } ;;
3792   xno)
3793     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3794 $as_echo "unsupported" >&6; } ;;
3795   *)
3796     CC="$CC $ac_cv_prog_cc_c89"
3797     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3798 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3799 esac
3800 if test "x$ac_cv_prog_cc_c89" != xno; then :
3801
3802 fi
3803
3804 ac_ext=c
3805 ac_cpp='$CPP $CPPFLAGS'
3806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3809
3810 ac_ext=c
3811 ac_cpp='$CPP $CPPFLAGS'
3812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3816 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3817 if ${am_cv_prog_cc_c_o+:} false; then :
3818   $as_echo_n "(cached) " >&6
3819 else
3820   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3821 /* end confdefs.h.  */
3822
3823 int
3824 main ()
3825 {
3826
3827   ;
3828   return 0;
3829 }
3830 _ACEOF
3831   # Make sure it works both with $CC and with simple cc.
3832   # Following AC_PROG_CC_C_O, we do the test twice because some
3833   # compilers refuse to overwrite an existing .o file with -o,
3834   # though they will create one.
3835   am_cv_prog_cc_c_o=yes
3836   for am_i in 1 2; do
3837     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3838    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3839    ac_status=$?
3840    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3841    (exit $ac_status); } \
3842          && test -f conftest2.$ac_objext; then
3843       : OK
3844     else
3845       am_cv_prog_cc_c_o=no
3846       break
3847     fi
3848   done
3849   rm -f core conftest*
3850   unset am_i
3851 fi
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3853 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3854 if test "$am_cv_prog_cc_c_o" != yes; then
3855    # Losing compiler, so override with the script.
3856    # FIXME: It is wrong to rewrite CC.
3857    # But if we don't then we get into trouble of one sort or another.
3858    # A longer-term fix would be to have automake use am__CC in this case,
3859    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3860    CC="$am_aux_dir/compile $CC"
3861 fi
3862 ac_ext=c
3863 ac_cpp='$CPP $CPPFLAGS'
3864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3867
3868 DEPDIR="${am__leading_dot}deps"
3869
3870 ac_config_commands="$ac_config_commands depfiles"
3871
3872
3873 am_make=${MAKE-make}
3874 cat > confinc << 'END'
3875 am__doit:
3876         @echo this is the am__doit target
3877 .PHONY: am__doit
3878 END
3879 # If we don't find an include directive, just comment out the code.
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3881 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3882 am__include="#"
3883 am__quote=
3884 _am_result=none
3885 # First try GNU make style include.
3886 echo "include confinc" > confmf
3887 # Ignore all kinds of additional output from 'make'.
3888 case `$am_make -s -f confmf 2> /dev/null` in #(
3889 *the\ am__doit\ target*)
3890   am__include=include
3891   am__quote=
3892   _am_result=GNU
3893   ;;
3894 esac
3895 # Now try BSD make style include.
3896 if test "$am__include" = "#"; then
3897    echo '.include "confinc"' > confmf
3898    case `$am_make -s -f confmf 2> /dev/null` in #(
3899    *the\ am__doit\ target*)
3900      am__include=.include
3901      am__quote="\""
3902      _am_result=BSD
3903      ;;
3904    esac
3905 fi
3906
3907
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3909 $as_echo "$_am_result" >&6; }
3910 rm -f confinc confmf
3911
3912 # Check whether --enable-dependency-tracking was given.
3913 if test "${enable_dependency_tracking+set}" = set; then :
3914   enableval=$enable_dependency_tracking;
3915 fi
3916
3917 if test "x$enable_dependency_tracking" != xno; then
3918   am_depcomp="$ac_aux_dir/depcomp"
3919   AMDEPBACKSLASH='\'
3920   am__nodep='_no'
3921 fi
3922  if test "x$enable_dependency_tracking" != xno; then
3923   AMDEP_TRUE=
3924   AMDEP_FALSE='#'
3925 else
3926   AMDEP_TRUE='#'
3927   AMDEP_FALSE=
3928 fi
3929
3930
3931
3932 depcc="$CC"   am_compiler_list=
3933
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3935 $as_echo_n "checking dependency style of $depcc... " >&6; }
3936 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3937   $as_echo_n "(cached) " >&6
3938 else
3939   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3940   # We make a subdir and do the tests there.  Otherwise we can end up
3941   # making bogus files that we don't know about and never remove.  For
3942   # instance it was reported that on HP-UX the gcc test will end up
3943   # making a dummy file named 'D' -- because '-MD' means "put the output
3944   # in D".
3945   rm -rf conftest.dir
3946   mkdir conftest.dir
3947   # Copy depcomp to subdir because otherwise we won't find it if we're
3948   # using a relative directory.
3949   cp "$am_depcomp" conftest.dir
3950   cd conftest.dir
3951   # We will build objects and dependencies in a subdirectory because
3952   # it helps to detect inapplicable dependency modes.  For instance
3953   # both Tru64's cc and ICC support -MD to output dependencies as a
3954   # side effect of compilation, but ICC will put the dependencies in
3955   # the current directory while Tru64 will put them in the object
3956   # directory.
3957   mkdir sub
3958
3959   am_cv_CC_dependencies_compiler_type=none
3960   if test "$am_compiler_list" = ""; then
3961      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3962   fi
3963   am__universal=false
3964   case " $depcc " in #(
3965      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3966      esac
3967
3968   for depmode in $am_compiler_list; do
3969     # Setup a source with many dependencies, because some compilers
3970     # like to wrap large dependency lists on column 80 (with \), and
3971     # we should not choose a depcomp mode which is confused by this.
3972     #
3973     # We need to recreate these files for each test, as the compiler may
3974     # overwrite some of them when testing with obscure command lines.
3975     # This happens at least with the AIX C compiler.
3976     : > sub/conftest.c
3977     for i in 1 2 3 4 5 6; do
3978       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3979       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3980       # Solaris 10 /bin/sh.
3981       echo '/* dummy */' > sub/conftst$i.h
3982     done
3983     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3984
3985     # We check with '-c' and '-o' for the sake of the "dashmstdout"
3986     # mode.  It turns out that the SunPro C++ compiler does not properly
3987     # handle '-M -o', and we need to detect this.  Also, some Intel
3988     # versions had trouble with output in subdirs.
3989     am__obj=sub/conftest.${OBJEXT-o}
3990     am__minus_obj="-o $am__obj"
3991     case $depmode in
3992     gcc)
3993       # This depmode causes a compiler race in universal mode.
3994       test "$am__universal" = false || continue
3995       ;;
3996     nosideeffect)
3997       # After this tag, mechanisms are not by side-effect, so they'll
3998       # only be used when explicitly requested.
3999       if test "x$enable_dependency_tracking" = xyes; then
4000         continue
4001       else
4002         break
4003       fi
4004       ;;
4005     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4006       # This compiler won't grok '-c -o', but also, the minuso test has
4007       # not run yet.  These depmodes are late enough in the game, and
4008       # so weak that their functioning should not be impacted.
4009       am__obj=conftest.${OBJEXT-o}
4010       am__minus_obj=
4011       ;;
4012     none) break ;;
4013     esac
4014     if depmode=$depmode \
4015        source=sub/conftest.c object=$am__obj \
4016        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4017        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4018          >/dev/null 2>conftest.err &&
4019        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4020        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4021        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4022        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4023       # icc doesn't choke on unknown options, it will just issue warnings
4024       # or remarks (even with -Werror).  So we grep stderr for any message
4025       # that says an option was ignored or not supported.
4026       # When given -MP, icc 7.0 and 7.1 complain thusly:
4027       #   icc: Command line warning: ignoring option '-M'; no argument required
4028       # The diagnosis changed in icc 8.0:
4029       #   icc: Command line remark: option '-MP' not supported
4030       if (grep 'ignoring option' conftest.err ||
4031           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4032         am_cv_CC_dependencies_compiler_type=$depmode
4033         break
4034       fi
4035     fi
4036   done
4037
4038   cd ..
4039   rm -rf conftest.dir
4040 else
4041   am_cv_CC_dependencies_compiler_type=none
4042 fi
4043
4044 fi
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4046 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4047 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4048
4049  if
4050   test "x$enable_dependency_tracking" != xno \
4051   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4052   am__fastdepCC_TRUE=
4053   am__fastdepCC_FALSE='#'
4054 else
4055   am__fastdepCC_TRUE='#'
4056   am__fastdepCC_FALSE=
4057 fi
4058
4059
4060
4061 if test -n "$ac_tool_prefix"; then
4062   for ac_prog in ar lib "link -lib"
4063   do
4064     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4065 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4067 $as_echo_n "checking for $ac_word... " >&6; }
4068 if ${ac_cv_prog_AR+:} false; then :
4069   $as_echo_n "(cached) " >&6
4070 else
4071   if test -n "$AR"; then
4072   ac_cv_prog_AR="$AR" # Let the user override the test.
4073 else
4074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4075 for as_dir in $PATH
4076 do
4077   IFS=$as_save_IFS
4078   test -z "$as_dir" && as_dir=.
4079     for ac_exec_ext in '' $ac_executable_extensions; do
4080   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4081     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4082     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4083     break 2
4084   fi
4085 done
4086   done
4087 IFS=$as_save_IFS
4088
4089 fi
4090 fi
4091 AR=$ac_cv_prog_AR
4092 if test -n "$AR"; then
4093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4094 $as_echo "$AR" >&6; }
4095 else
4096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4097 $as_echo "no" >&6; }
4098 fi
4099
4100
4101     test -n "$AR" && break
4102   done
4103 fi
4104 if test -z "$AR"; then
4105   ac_ct_AR=$AR
4106   for ac_prog in ar lib "link -lib"
4107 do
4108   # Extract the first word of "$ac_prog", so it can be a program name with args.
4109 set dummy $ac_prog; ac_word=$2
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4111 $as_echo_n "checking for $ac_word... " >&6; }
4112 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4113   $as_echo_n "(cached) " >&6
4114 else
4115   if test -n "$ac_ct_AR"; then
4116   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4117 else
4118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4119 for as_dir in $PATH
4120 do
4121   IFS=$as_save_IFS
4122   test -z "$as_dir" && as_dir=.
4123     for ac_exec_ext in '' $ac_executable_extensions; do
4124   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4125     ac_cv_prog_ac_ct_AR="$ac_prog"
4126     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4127     break 2
4128   fi
4129 done
4130   done
4131 IFS=$as_save_IFS
4132
4133 fi
4134 fi
4135 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4136 if test -n "$ac_ct_AR"; then
4137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4138 $as_echo "$ac_ct_AR" >&6; }
4139 else
4140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4141 $as_echo "no" >&6; }
4142 fi
4143
4144
4145   test -n "$ac_ct_AR" && break
4146 done
4147
4148   if test "x$ac_ct_AR" = x; then
4149     AR="false"
4150   else
4151     case $cross_compiling:$ac_tool_warned in
4152 yes:)
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4154 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4155 ac_tool_warned=yes ;;
4156 esac
4157     AR=$ac_ct_AR
4158   fi
4159 fi
4160
4161 : ${AR=ar}
4162
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4164 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4165 if ${am_cv_ar_interface+:} false; then :
4166   $as_echo_n "(cached) " >&6
4167 else
4168   ac_ext=c
4169 ac_cpp='$CPP $CPPFLAGS'
4170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4173
4174    am_cv_ar_interface=ar
4175    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4176 /* end confdefs.h.  */
4177 int some_variable = 0;
4178 _ACEOF
4179 if ac_fn_c_try_compile "$LINENO"; then :
4180   am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4181       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4182   (eval $am_ar_try) 2>&5
4183   ac_status=$?
4184   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4185   test $ac_status = 0; }
4186       if test "$ac_status" -eq 0; then
4187         am_cv_ar_interface=ar
4188       else
4189         am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4190         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4191   (eval $am_ar_try) 2>&5
4192   ac_status=$?
4193   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4194   test $ac_status = 0; }
4195         if test "$ac_status" -eq 0; then
4196           am_cv_ar_interface=lib
4197         else
4198           am_cv_ar_interface=unknown
4199         fi
4200       fi
4201       rm -f conftest.lib libconftest.a
4202
4203 fi
4204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4205    ac_ext=c
4206 ac_cpp='$CPP $CPPFLAGS'
4207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4210
4211 fi
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4213 $as_echo "$am_cv_ar_interface" >&6; }
4214
4215 case $am_cv_ar_interface in
4216 ar)
4217   ;;
4218 lib)
4219   # Microsoft lib, so override with the ar-lib wrapper script.
4220   # FIXME: It is wrong to rewrite AR.
4221   # But if we don't then we get into trouble of one sort or another.
4222   # A longer-term fix would be to have automake use am__AR in this case,
4223   # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4224   # similar.
4225   AR="$am_aux_dir/ar-lib $AR"
4226   ;;
4227 unknown)
4228   as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4229   ;;
4230 esac
4231
4232  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
4233 $as_echo_n "checking for GNU make... " >&6; }
4234 if ${_cv_gnu_make_command+:} false; then :
4235   $as_echo_n "(cached) " >&6
4236 else
4237   _cv_gnu_make_command='' ;
4238                 for a in "$MAKE" make gmake gnumake ; do
4239                         if test -z "$a" ; then continue ; fi ;
4240                         if  ( sh -c "$a --version" 2> /dev/null | grep GNU  2>&1 > /dev/null ) ;  then
4241                                 _cv_gnu_make_command=$a ;
4242                                 break;
4243                         fi
4244                 done ;
4245
4246 fi
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5
4248 $as_echo "$_cv_gnu_make_command" >&6; } ;
4249         if test  "x$_cv_gnu_make_command" != "x"  ; then
4250                 ifGNUmake='' ;
4251         else
4252                 ifGNUmake='#' ;
4253                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"Not found\"" >&5
4254 $as_echo "\"Not found\"" >&6; };
4255         fi
4256
4257
4258 if test "x$ifGNUmake" = "x#" ; then
4259         as_fn_error $? "\"GNUmake is required\"" "$LINENO" 5
4260 fi
4261
4262 #libtool
4263
4264 case `pwd` in
4265   *\ * | *\     *)
4266     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4267 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4268 esac
4269
4270
4271
4272 macro_version='2.4.2'
4273 macro_revision='1.3337'
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287 ltmain="$ac_aux_dir/ltmain.sh"
4288
4289 # Make sure we can run config.sub.
4290 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4291   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4292
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4294 $as_echo_n "checking build system type... " >&6; }
4295 if ${ac_cv_build+:} false; then :
4296   $as_echo_n "(cached) " >&6
4297 else
4298   ac_build_alias=$build_alias
4299 test "x$ac_build_alias" = x &&
4300   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4301 test "x$ac_build_alias" = x &&
4302   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4303 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4304   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4305
4306 fi
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4308 $as_echo "$ac_cv_build" >&6; }
4309 case $ac_cv_build in
4310 *-*-*) ;;
4311 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4312 esac
4313 build=$ac_cv_build
4314 ac_save_IFS=$IFS; IFS='-'
4315 set x $ac_cv_build
4316 shift
4317 build_cpu=$1
4318 build_vendor=$2
4319 shift; shift
4320 # Remember, the first character of IFS is used to create $*,
4321 # except with old shells:
4322 build_os=$*
4323 IFS=$ac_save_IFS
4324 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4325
4326
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4328 $as_echo_n "checking host system type... " >&6; }
4329 if ${ac_cv_host+:} false; then :
4330   $as_echo_n "(cached) " >&6
4331 else
4332   if test "x$host_alias" = x; then
4333   ac_cv_host=$ac_cv_build
4334 else
4335   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4336     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4337 fi
4338
4339 fi
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4341 $as_echo "$ac_cv_host" >&6; }
4342 case $ac_cv_host in
4343 *-*-*) ;;
4344 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4345 esac
4346 host=$ac_cv_host
4347 ac_save_IFS=$IFS; IFS='-'
4348 set x $ac_cv_host
4349 shift
4350 host_cpu=$1
4351 host_vendor=$2
4352 shift; shift
4353 # Remember, the first character of IFS is used to create $*,
4354 # except with old shells:
4355 host_os=$*
4356 IFS=$ac_save_IFS
4357 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4358
4359
4360 # Backslashify metacharacters that are still active within
4361 # double-quoted strings.
4362 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4363
4364 # Same as above, but do not quote variable references.
4365 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4366
4367 # Sed substitution to delay expansion of an escaped shell variable in a
4368 # double_quote_subst'ed string.
4369 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4370
4371 # Sed substitution to delay expansion of an escaped single quote.
4372 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4373
4374 # Sed substitution to avoid accidental globbing in evaled expressions
4375 no_glob_subst='s/\*/\\\*/g'
4376
4377 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4378 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4379 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4380
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4382 $as_echo_n "checking how to print strings... " >&6; }
4383 # Test print first, because it will be a builtin if present.
4384 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4385    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4386   ECHO='print -r --'
4387 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4388   ECHO='printf %s\n'
4389 else
4390   # Use this function as a fallback that always works.
4391   func_fallback_echo ()
4392   {
4393     eval 'cat <<_LTECHO_EOF
4394 $1
4395 _LTECHO_EOF'
4396   }
4397   ECHO='func_fallback_echo'
4398 fi
4399
4400 # func_echo_all arg...
4401 # Invoke $ECHO with all args, space-separated.
4402 func_echo_all ()
4403 {
4404     $ECHO ""
4405 }
4406
4407 case "$ECHO" in
4408   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4409 $as_echo "printf" >&6; } ;;
4410   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4411 $as_echo "print -r" >&6; } ;;
4412   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4413 $as_echo "cat" >&6; } ;;
4414 esac
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4430 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4431 if ${ac_cv_path_SED+:} false; then :
4432   $as_echo_n "(cached) " >&6
4433 else
4434             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4435      for ac_i in 1 2 3 4 5 6 7; do
4436        ac_script="$ac_script$as_nl$ac_script"
4437      done
4438      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4439      { ac_script=; unset ac_script;}
4440      if test -z "$SED"; then
4441   ac_path_SED_found=false
4442   # Loop through the user's path and test for each of PROGNAME-LIST
4443   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4444 for as_dir in $PATH
4445 do
4446   IFS=$as_save_IFS
4447   test -z "$as_dir" && as_dir=.
4448     for ac_prog in sed gsed; do
4449     for ac_exec_ext in '' $ac_executable_extensions; do
4450       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4451       as_fn_executable_p "$ac_path_SED" || continue
4452 # Check for GNU ac_path_SED and select it if it is found.
4453   # Check for GNU $ac_path_SED
4454 case `"$ac_path_SED" --version 2>&1` in
4455 *GNU*)
4456   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4457 *)
4458   ac_count=0
4459   $as_echo_n 0123456789 >"conftest.in"
4460   while :
4461   do
4462     cat "conftest.in" "conftest.in" >"conftest.tmp"
4463     mv "conftest.tmp" "conftest.in"
4464     cp "conftest.in" "conftest.nl"
4465     $as_echo '' >> "conftest.nl"
4466     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4467     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4468     as_fn_arith $ac_count + 1 && ac_count=$as_val
4469     if test $ac_count -gt ${ac_path_SED_max-0}; then
4470       # Best one so far, save it but keep looking for a better one
4471       ac_cv_path_SED="$ac_path_SED"
4472       ac_path_SED_max=$ac_count
4473     fi
4474     # 10*(2^10) chars as input seems more than enough
4475     test $ac_count -gt 10 && break
4476   done
4477   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4478 esac
4479
4480       $ac_path_SED_found && break 3
4481     done
4482   done
4483   done
4484 IFS=$as_save_IFS
4485   if test -z "$ac_cv_path_SED"; then
4486     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4487   fi
4488 else
4489   ac_cv_path_SED=$SED
4490 fi
4491
4492 fi
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4494 $as_echo "$ac_cv_path_SED" >&6; }
4495  SED="$ac_cv_path_SED"
4496   rm -f conftest.sed
4497
4498 test -z "$SED" && SED=sed
4499 Xsed="$SED -e 1s/^X//"
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4512 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4513 if ${ac_cv_path_GREP+:} false; then :
4514   $as_echo_n "(cached) " >&6
4515 else
4516   if test -z "$GREP"; then
4517   ac_path_GREP_found=false
4518   # Loop through the user's path and test for each of PROGNAME-LIST
4519   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4520 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4521 do
4522   IFS=$as_save_IFS
4523   test -z "$as_dir" && as_dir=.
4524     for ac_prog in grep ggrep; do
4525     for ac_exec_ext in '' $ac_executable_extensions; do
4526       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4527       as_fn_executable_p "$ac_path_GREP" || continue
4528 # Check for GNU ac_path_GREP and select it if it is found.
4529   # Check for GNU $ac_path_GREP
4530 case `"$ac_path_GREP" --version 2>&1` in
4531 *GNU*)
4532   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4533 *)
4534   ac_count=0
4535   $as_echo_n 0123456789 >"conftest.in"
4536   while :
4537   do
4538     cat "conftest.in" "conftest.in" >"conftest.tmp"
4539     mv "conftest.tmp" "conftest.in"
4540     cp "conftest.in" "conftest.nl"
4541     $as_echo 'GREP' >> "conftest.nl"
4542     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4543     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4544     as_fn_arith $ac_count + 1 && ac_count=$as_val
4545     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4546       # Best one so far, save it but keep looking for a better one
4547       ac_cv_path_GREP="$ac_path_GREP"
4548       ac_path_GREP_max=$ac_count
4549     fi
4550     # 10*(2^10) chars as input seems more than enough
4551     test $ac_count -gt 10 && break
4552   done
4553   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4554 esac
4555
4556       $ac_path_GREP_found && break 3
4557     done
4558   done
4559   done
4560 IFS=$as_save_IFS
4561   if test -z "$ac_cv_path_GREP"; then
4562     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4563   fi
4564 else
4565   ac_cv_path_GREP=$GREP
4566 fi
4567
4568 fi
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4570 $as_echo "$ac_cv_path_GREP" >&6; }
4571  GREP="$ac_cv_path_GREP"
4572
4573
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4575 $as_echo_n "checking for egrep... " >&6; }
4576 if ${ac_cv_path_EGREP+:} false; then :
4577   $as_echo_n "(cached) " >&6
4578 else
4579   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4580    then ac_cv_path_EGREP="$GREP -E"
4581    else
4582      if test -z "$EGREP"; then
4583   ac_path_EGREP_found=false
4584   # Loop through the user's path and test for each of PROGNAME-LIST
4585   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4586 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4587 do
4588   IFS=$as_save_IFS
4589   test -z "$as_dir" && as_dir=.
4590     for ac_prog in egrep; do
4591     for ac_exec_ext in '' $ac_executable_extensions; do
4592       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4593       as_fn_executable_p "$ac_path_EGREP" || continue
4594 # Check for GNU ac_path_EGREP and select it if it is found.
4595   # Check for GNU $ac_path_EGREP
4596 case `"$ac_path_EGREP" --version 2>&1` in
4597 *GNU*)
4598   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4599 *)
4600   ac_count=0
4601   $as_echo_n 0123456789 >"conftest.in"
4602   while :
4603   do
4604     cat "conftest.in" "conftest.in" >"conftest.tmp"
4605     mv "conftest.tmp" "conftest.in"
4606     cp "conftest.in" "conftest.nl"
4607     $as_echo 'EGREP' >> "conftest.nl"
4608     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4609     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4610     as_fn_arith $ac_count + 1 && ac_count=$as_val
4611     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4612       # Best one so far, save it but keep looking for a better one
4613       ac_cv_path_EGREP="$ac_path_EGREP"
4614       ac_path_EGREP_max=$ac_count
4615     fi
4616     # 10*(2^10) chars as input seems more than enough
4617     test $ac_count -gt 10 && break
4618   done
4619   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4620 esac
4621
4622       $ac_path_EGREP_found && break 3
4623     done
4624   done
4625   done
4626 IFS=$as_save_IFS
4627   if test -z "$ac_cv_path_EGREP"; then
4628     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4629   fi
4630 else
4631   ac_cv_path_EGREP=$EGREP
4632 fi
4633
4634    fi
4635 fi
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4637 $as_echo "$ac_cv_path_EGREP" >&6; }
4638  EGREP="$ac_cv_path_EGREP"
4639
4640
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4642 $as_echo_n "checking for fgrep... " >&6; }
4643 if ${ac_cv_path_FGREP+:} false; then :
4644   $as_echo_n "(cached) " >&6
4645 else
4646   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4647    then ac_cv_path_FGREP="$GREP -F"
4648    else
4649      if test -z "$FGREP"; then
4650   ac_path_FGREP_found=false
4651   # Loop through the user's path and test for each of PROGNAME-LIST
4652   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4653 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4654 do
4655   IFS=$as_save_IFS
4656   test -z "$as_dir" && as_dir=.
4657     for ac_prog in fgrep; do
4658     for ac_exec_ext in '' $ac_executable_extensions; do
4659       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4660       as_fn_executable_p "$ac_path_FGREP" || continue
4661 # Check for GNU ac_path_FGREP and select it if it is found.
4662   # Check for GNU $ac_path_FGREP
4663 case `"$ac_path_FGREP" --version 2>&1` in
4664 *GNU*)
4665   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4666 *)
4667   ac_count=0
4668   $as_echo_n 0123456789 >"conftest.in"
4669   while :
4670   do
4671     cat "conftest.in" "conftest.in" >"conftest.tmp"
4672     mv "conftest.tmp" "conftest.in"
4673     cp "conftest.in" "conftest.nl"
4674     $as_echo 'FGREP' >> "conftest.nl"
4675     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4676     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4677     as_fn_arith $ac_count + 1 && ac_count=$as_val
4678     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4679       # Best one so far, save it but keep looking for a better one
4680       ac_cv_path_FGREP="$ac_path_FGREP"
4681       ac_path_FGREP_max=$ac_count
4682     fi
4683     # 10*(2^10) chars as input seems more than enough
4684     test $ac_count -gt 10 && break
4685   done
4686   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4687 esac
4688
4689       $ac_path_FGREP_found && break 3
4690     done
4691   done
4692   done
4693 IFS=$as_save_IFS
4694   if test -z "$ac_cv_path_FGREP"; then
4695     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4696   fi
4697 else
4698   ac_cv_path_FGREP=$FGREP
4699 fi
4700
4701    fi
4702 fi
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4704 $as_echo "$ac_cv_path_FGREP" >&6; }
4705  FGREP="$ac_cv_path_FGREP"
4706
4707
4708 test -z "$GREP" && GREP=grep
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728 # Check whether --with-gnu-ld was given.
4729 if test "${with_gnu_ld+set}" = set; then :
4730   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4731 else
4732   with_gnu_ld=no
4733 fi
4734
4735 ac_prog=ld
4736 if test "$GCC" = yes; then
4737   # Check if gcc -print-prog-name=ld gives a path.
4738   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4739 $as_echo_n "checking for ld used by $CC... " >&6; }
4740   case $host in
4741   *-*-mingw*)
4742     # gcc leaves a trailing carriage return which upsets mingw
4743     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4744   *)
4745     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4746   esac
4747   case $ac_prog in
4748     # Accept absolute paths.
4749     [\\/]* | ?:[\\/]*)
4750       re_direlt='/[^/][^/]*/\.\./'
4751       # Canonicalize the pathname of ld
4752       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4753       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4754         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4755       done
4756       test -z "$LD" && LD="$ac_prog"
4757       ;;
4758   "")
4759     # If it fails, then pretend we aren't using GCC.
4760     ac_prog=ld
4761     ;;
4762   *)
4763     # If it is relative, then search for the first ld in PATH.
4764     with_gnu_ld=unknown
4765     ;;
4766   esac
4767 elif test "$with_gnu_ld" = yes; then
4768   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4769 $as_echo_n "checking for GNU ld... " >&6; }
4770 else
4771   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4772 $as_echo_n "checking for non-GNU ld... " >&6; }
4773 fi
4774 if ${lt_cv_path_LD+:} false; then :
4775   $as_echo_n "(cached) " >&6
4776 else
4777   if test -z "$LD"; then
4778   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4779   for ac_dir in $PATH; do
4780     IFS="$lt_save_ifs"
4781     test -z "$ac_dir" && ac_dir=.
4782     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4783       lt_cv_path_LD="$ac_dir/$ac_prog"
4784       # Check to see if the program is GNU ld.  I'd rather use --version,
4785       # but apparently some variants of GNU ld only accept -v.
4786       # Break only if it was the GNU/non-GNU ld that we prefer.
4787       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4788       *GNU* | *'with BFD'*)
4789         test "$with_gnu_ld" != no && break
4790         ;;
4791       *)
4792         test "$with_gnu_ld" != yes && break
4793         ;;
4794       esac
4795     fi
4796   done
4797   IFS="$lt_save_ifs"
4798 else
4799   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4800 fi
4801 fi
4802
4803 LD="$lt_cv_path_LD"
4804 if test -n "$LD"; then
4805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4806 $as_echo "$LD" >&6; }
4807 else
4808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4809 $as_echo "no" >&6; }
4810 fi
4811 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4813 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4814 if ${lt_cv_prog_gnu_ld+:} false; then :
4815   $as_echo_n "(cached) " >&6
4816 else
4817   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4818 case `$LD -v 2>&1 </dev/null` in
4819 *GNU* | *'with BFD'*)
4820   lt_cv_prog_gnu_ld=yes
4821   ;;
4822 *)
4823   lt_cv_prog_gnu_ld=no
4824   ;;
4825 esac
4826 fi
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4828 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4829 with_gnu_ld=$lt_cv_prog_gnu_ld
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4840 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4841 if ${lt_cv_path_NM+:} false; then :
4842   $as_echo_n "(cached) " >&6
4843 else
4844   if test -n "$NM"; then
4845   # Let the user override the test.
4846   lt_cv_path_NM="$NM"
4847 else
4848   lt_nm_to_check="${ac_tool_prefix}nm"
4849   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4850     lt_nm_to_check="$lt_nm_to_check nm"
4851   fi
4852   for lt_tmp_nm in $lt_nm_to_check; do
4853     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4854     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4855       IFS="$lt_save_ifs"
4856       test -z "$ac_dir" && ac_dir=.
4857       tmp_nm="$ac_dir/$lt_tmp_nm"
4858       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4859         # Check to see if the nm accepts a BSD-compat flag.
4860         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4861         #   nm: unknown option "B" ignored
4862         # Tru64's nm complains that /dev/null is an invalid object file
4863         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4864         */dev/null* | *'Invalid file or object type'*)
4865           lt_cv_path_NM="$tmp_nm -B"
4866           break
4867           ;;
4868         *)
4869           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4870           */dev/null*)
4871             lt_cv_path_NM="$tmp_nm -p"
4872             break
4873             ;;
4874           *)
4875             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4876             continue # so that we can try to find one that supports BSD flags
4877             ;;
4878           esac
4879           ;;
4880         esac
4881       fi
4882     done
4883     IFS="$lt_save_ifs"
4884   done
4885   : ${lt_cv_path_NM=no}
4886 fi
4887 fi
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4889 $as_echo "$lt_cv_path_NM" >&6; }
4890 if test "$lt_cv_path_NM" != "no"; then
4891   NM="$lt_cv_path_NM"
4892 else
4893   # Didn't find any BSD compatible name lister, look for dumpbin.
4894   if test -n "$DUMPBIN"; then :
4895     # Let the user override the test.
4896   else
4897     if test -n "$ac_tool_prefix"; then
4898   for ac_prog in dumpbin "link -dump"
4899   do
4900     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4901 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4903 $as_echo_n "checking for $ac_word... " >&6; }
4904 if ${ac_cv_prog_DUMPBIN+:} false; then :
4905   $as_echo_n "(cached) " >&6
4906 else
4907   if test -n "$DUMPBIN"; then
4908   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4909 else
4910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4911 for as_dir in $PATH
4912 do
4913   IFS=$as_save_IFS
4914   test -z "$as_dir" && as_dir=.
4915     for ac_exec_ext in '' $ac_executable_extensions; do
4916   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4917     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4918     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4919     break 2
4920   fi
4921 done
4922   done
4923 IFS=$as_save_IFS
4924
4925 fi
4926 fi
4927 DUMPBIN=$ac_cv_prog_DUMPBIN
4928 if test -n "$DUMPBIN"; then
4929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4930 $as_echo "$DUMPBIN" >&6; }
4931 else
4932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4933 $as_echo "no" >&6; }
4934 fi
4935
4936
4937     test -n "$DUMPBIN" && break
4938   done
4939 fi
4940 if test -z "$DUMPBIN"; then
4941   ac_ct_DUMPBIN=$DUMPBIN
4942   for ac_prog in dumpbin "link -dump"
4943 do
4944   # Extract the first word of "$ac_prog", so it can be a program name with args.
4945 set dummy $ac_prog; ac_word=$2
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4947 $as_echo_n "checking for $ac_word... " >&6; }
4948 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4949   $as_echo_n "(cached) " >&6
4950 else
4951   if test -n "$ac_ct_DUMPBIN"; then
4952   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4953 else
4954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4955 for as_dir in $PATH
4956 do
4957   IFS=$as_save_IFS
4958   test -z "$as_dir" && as_dir=.
4959     for ac_exec_ext in '' $ac_executable_extensions; do
4960   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4961     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4962     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4963     break 2
4964   fi
4965 done
4966   done
4967 IFS=$as_save_IFS
4968
4969 fi
4970 fi
4971 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4972 if test -n "$ac_ct_DUMPBIN"; then
4973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4974 $as_echo "$ac_ct_DUMPBIN" >&6; }
4975 else
4976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4977 $as_echo "no" >&6; }
4978 fi
4979
4980
4981   test -n "$ac_ct_DUMPBIN" && break
4982 done
4983
4984   if test "x$ac_ct_DUMPBIN" = x; then
4985     DUMPBIN=":"
4986   else
4987     case $cross_compiling:$ac_tool_warned in
4988 yes:)
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4990 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4991 ac_tool_warned=yes ;;
4992 esac
4993     DUMPBIN=$ac_ct_DUMPBIN
4994   fi
4995 fi
4996
4997     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4998     *COFF*)
4999       DUMPBIN="$DUMPBIN -symbols"
5000       ;;
5001     *)
5002       DUMPBIN=:
5003       ;;
5004     esac
5005   fi
5006
5007   if test "$DUMPBIN" != ":"; then
5008     NM="$DUMPBIN"
5009   fi
5010 fi
5011 test -z "$NM" && NM=nm
5012
5013
5014
5015
5016
5017
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5019 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5020 if ${lt_cv_nm_interface+:} false; then :
5021   $as_echo_n "(cached) " >&6
5022 else
5023   lt_cv_nm_interface="BSD nm"
5024   echo "int some_variable = 0;" > conftest.$ac_ext
5025   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5026   (eval "$ac_compile" 2>conftest.err)
5027   cat conftest.err >&5
5028   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5029   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5030   cat conftest.err >&5
5031   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5032   cat conftest.out >&5
5033   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5034     lt_cv_nm_interface="MS dumpbin"
5035   fi
5036   rm -f conftest*
5037 fi
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5039 $as_echo "$lt_cv_nm_interface" >&6; }
5040
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5042 $as_echo_n "checking whether ln -s works... " >&6; }
5043 LN_S=$as_ln_s
5044 if test "$LN_S" = "ln -s"; then
5045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5046 $as_echo "yes" >&6; }
5047 else
5048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5049 $as_echo "no, using $LN_S" >&6; }
5050 fi
5051
5052 # find the maximum length of command line arguments
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5054 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5055 if ${lt_cv_sys_max_cmd_len+:} false; then :
5056   $as_echo_n "(cached) " >&6
5057 else
5058     i=0
5059   teststring="ABCD"
5060
5061   case $build_os in
5062   msdosdjgpp*)
5063     # On DJGPP, this test can blow up pretty badly due to problems in libc
5064     # (any single argument exceeding 2000 bytes causes a buffer overrun
5065     # during glob expansion).  Even if it were fixed, the result of this
5066     # check would be larger than it should be.
5067     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5068     ;;
5069
5070   gnu*)
5071     # Under GNU Hurd, this test is not required because there is
5072     # no limit to the length of command line arguments.
5073     # Libtool will interpret -1 as no limit whatsoever
5074     lt_cv_sys_max_cmd_len=-1;
5075     ;;
5076
5077   cygwin* | mingw* | cegcc*)
5078     # On Win9x/ME, this test blows up -- it succeeds, but takes
5079     # about 5 minutes as the teststring grows exponentially.
5080     # Worse, since 9x/ME are not pre-emptively multitasking,
5081     # you end up with a "frozen" computer, even though with patience
5082     # the test eventually succeeds (with a max line length of 256k).
5083     # Instead, let's just punt: use the minimum linelength reported by
5084     # all of the supported platforms: 8192 (on NT/2K/XP).
5085     lt_cv_sys_max_cmd_len=8192;
5086     ;;
5087
5088   mint*)
5089     # On MiNT this can take a long time and run out of memory.
5090     lt_cv_sys_max_cmd_len=8192;
5091     ;;
5092
5093   amigaos*)
5094     # On AmigaOS with pdksh, this test takes hours, literally.
5095     # So we just punt and use a minimum line length of 8192.
5096     lt_cv_sys_max_cmd_len=8192;
5097     ;;
5098
5099   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5100     # This has been around since 386BSD, at least.  Likely further.
5101     if test -x /sbin/sysctl; then
5102       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5103     elif test -x /usr/sbin/sysctl; then
5104       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5105     else
5106       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5107     fi
5108     # And add a safety zone
5109     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5110     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5111     ;;
5112
5113   interix*)
5114     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5115     lt_cv_sys_max_cmd_len=196608
5116     ;;
5117
5118   os2*)
5119     # The test takes a long time on OS/2.
5120     lt_cv_sys_max_cmd_len=8192
5121     ;;
5122
5123   osf*)
5124     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5125     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5126     # nice to cause kernel panics so lets avoid the loop below.
5127     # First set a reasonable default.
5128     lt_cv_sys_max_cmd_len=16384
5129     #
5130     if test -x /sbin/sysconfig; then
5131       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5132         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5133       esac
5134     fi
5135     ;;
5136   sco3.2v5*)
5137     lt_cv_sys_max_cmd_len=102400
5138     ;;
5139   sysv5* | sco5v6* | sysv4.2uw2*)
5140     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5141     if test -n "$kargmax"; then
5142       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5143     else
5144       lt_cv_sys_max_cmd_len=32768
5145     fi
5146     ;;
5147   *)
5148     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5149     if test -n "$lt_cv_sys_max_cmd_len" && \
5150         test undefined != "$lt_cv_sys_max_cmd_len"; then
5151       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5152       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5153     else
5154       # Make teststring a little bigger before we do anything with it.
5155       # a 1K string should be a reasonable start.
5156       for i in 1 2 3 4 5 6 7 8 ; do
5157         teststring=$teststring$teststring
5158       done
5159       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5160       # If test is not a shell built-in, we'll probably end up computing a
5161       # maximum length that is only half of the actual maximum length, but
5162       # we can't tell.
5163       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5164                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5165               test $i != 17 # 1/2 MB should be enough
5166       do
5167         i=`expr $i + 1`
5168         teststring=$teststring$teststring
5169       done
5170       # Only check the string length outside the loop.
5171       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5172       teststring=
5173       # Add a significant safety factor because C++ compilers can tack on
5174       # massive amounts of additional arguments before passing them to the
5175       # linker.  It appears as though 1/2 is a usable value.
5176       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5177     fi
5178     ;;
5179   esac
5180
5181 fi
5182
5183 if test -n $lt_cv_sys_max_cmd_len ; then
5184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5185 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5186 else
5187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5188 $as_echo "none" >&6; }
5189 fi
5190 max_cmd_len=$lt_cv_sys_max_cmd_len
5191
5192
5193
5194
5195
5196
5197 : ${CP="cp -f"}
5198 : ${MV="mv -f"}
5199 : ${RM="rm -f"}
5200
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5202 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5203 # Try some XSI features
5204 xsi_shell=no
5205 ( _lt_dummy="a/b/c"
5206   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5207       = c,a/b,b/c, \
5208     && eval 'test $(( 1 + 1 )) -eq 2 \
5209     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5210   && xsi_shell=yes
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5212 $as_echo "$xsi_shell" >&6; }
5213
5214
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5216 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5217 lt_shell_append=no
5218 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5219     >/dev/null 2>&1 \
5220   && lt_shell_append=yes
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5222 $as_echo "$lt_shell_append" >&6; }
5223
5224
5225 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5226   lt_unset=unset
5227 else
5228   lt_unset=false
5229 fi
5230
5231
5232
5233
5234
5235 # test EBCDIC or ASCII
5236 case `echo X|tr X '\101'` in
5237  A) # ASCII based system
5238     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5239   lt_SP2NL='tr \040 \012'
5240   lt_NL2SP='tr \015\012 \040\040'
5241   ;;
5242  *) # EBCDIC based system
5243   lt_SP2NL='tr \100 \n'
5244   lt_NL2SP='tr \r\n \100\100'
5245   ;;
5246 esac
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5257 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5258 if ${lt_cv_to_host_file_cmd+:} false; then :
5259   $as_echo_n "(cached) " >&6
5260 else
5261   case $host in
5262   *-*-mingw* )
5263     case $build in
5264       *-*-mingw* ) # actually msys
5265         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5266         ;;
5267       *-*-cygwin* )
5268         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5269         ;;
5270       * ) # otherwise, assume *nix
5271         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5272         ;;
5273     esac
5274     ;;
5275   *-*-cygwin* )
5276     case $build in
5277       *-*-mingw* ) # actually msys
5278         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5279         ;;
5280       *-*-cygwin* )
5281         lt_cv_to_host_file_cmd=func_convert_file_noop
5282         ;;
5283       * ) # otherwise, assume *nix
5284         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5285         ;;
5286     esac
5287     ;;
5288   * ) # unhandled hosts (and "normal" native builds)
5289     lt_cv_to_host_file_cmd=func_convert_file_noop
5290     ;;
5291 esac
5292
5293 fi
5294
5295 to_host_file_cmd=$lt_cv_to_host_file_cmd
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5297 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5298
5299
5300
5301
5302
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5304 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5305 if ${lt_cv_to_tool_file_cmd+:} false; then :
5306   $as_echo_n "(cached) " >&6
5307 else
5308   #assume ordinary cross tools, or native build.
5309 lt_cv_to_tool_file_cmd=func_convert_file_noop
5310 case $host in
5311   *-*-mingw* )
5312     case $build in
5313       *-*-mingw* ) # actually msys
5314         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5315         ;;
5316     esac
5317     ;;
5318 esac
5319
5320 fi
5321
5322 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5324 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5325
5326
5327
5328
5329
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5331 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5332 if ${lt_cv_ld_reload_flag+:} false; then :
5333   $as_echo_n "(cached) " >&6
5334 else
5335   lt_cv_ld_reload_flag='-r'
5336 fi
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5338 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5339 reload_flag=$lt_cv_ld_reload_flag
5340 case $reload_flag in
5341 "" | " "*) ;;
5342 *) reload_flag=" $reload_flag" ;;
5343 esac
5344 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5345 case $host_os in
5346   cygwin* | mingw* | pw32* | cegcc*)
5347     if test "$GCC" != yes; then
5348       reload_cmds=false
5349     fi
5350     ;;
5351   darwin*)
5352     if test "$GCC" = yes; then
5353       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5354     else
5355       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5356     fi
5357     ;;
5358 esac
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368 if test -n "$ac_tool_prefix"; then
5369   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5370 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5372 $as_echo_n "checking for $ac_word... " >&6; }
5373 if ${ac_cv_prog_OBJDUMP+:} false; then :
5374   $as_echo_n "(cached) " >&6
5375 else
5376   if test -n "$OBJDUMP"; then
5377   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5378 else
5379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5380 for as_dir in $PATH
5381 do
5382   IFS=$as_save_IFS
5383   test -z "$as_dir" && as_dir=.
5384     for ac_exec_ext in '' $ac_executable_extensions; do
5385   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5386     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5387     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5388     break 2
5389   fi
5390 done
5391   done
5392 IFS=$as_save_IFS
5393
5394 fi
5395 fi
5396 OBJDUMP=$ac_cv_prog_OBJDUMP
5397 if test -n "$OBJDUMP"; then
5398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5399 $as_echo "$OBJDUMP" >&6; }
5400 else
5401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5402 $as_echo "no" >&6; }
5403 fi
5404
5405
5406 fi
5407 if test -z "$ac_cv_prog_OBJDUMP"; then
5408   ac_ct_OBJDUMP=$OBJDUMP
5409   # Extract the first word of "objdump", so it can be a program name with args.
5410 set dummy objdump; ac_word=$2
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5412 $as_echo_n "checking for $ac_word... " >&6; }
5413 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5414   $as_echo_n "(cached) " >&6
5415 else
5416   if test -n "$ac_ct_OBJDUMP"; then
5417   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5418 else
5419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5420 for as_dir in $PATH
5421 do
5422   IFS=$as_save_IFS
5423   test -z "$as_dir" && as_dir=.
5424     for ac_exec_ext in '' $ac_executable_extensions; do
5425   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5426     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5427     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5428     break 2
5429   fi
5430 done
5431   done
5432 IFS=$as_save_IFS
5433
5434 fi
5435 fi
5436 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5437 if test -n "$ac_ct_OBJDUMP"; then
5438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5439 $as_echo "$ac_ct_OBJDUMP" >&6; }
5440 else
5441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5442 $as_echo "no" >&6; }
5443 fi
5444
5445   if test "x$ac_ct_OBJDUMP" = x; then
5446     OBJDUMP="false"
5447   else
5448     case $cross_compiling:$ac_tool_warned in
5449 yes:)
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5451 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5452 ac_tool_warned=yes ;;
5453 esac
5454     OBJDUMP=$ac_ct_OBJDUMP
5455   fi
5456 else
5457   OBJDUMP="$ac_cv_prog_OBJDUMP"
5458 fi
5459
5460 test -z "$OBJDUMP" && OBJDUMP=objdump
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5471 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5472 if ${lt_cv_deplibs_check_method+:} false; then :
5473   $as_echo_n "(cached) " >&6
5474 else
5475   lt_cv_file_magic_cmd='$MAGIC_CMD'
5476 lt_cv_file_magic_test_file=
5477 lt_cv_deplibs_check_method='unknown'
5478 # Need to set the preceding variable on all platforms that support
5479 # interlibrary dependencies.
5480 # 'none' -- dependencies not supported.
5481 # `unknown' -- same as none, but documents that we really don't know.
5482 # 'pass_all' -- all dependencies passed with no checks.
5483 # 'test_compile' -- check by making test program.
5484 # 'file_magic [[regex]]' -- check by looking for files in library path
5485 # which responds to the $file_magic_cmd with a given extended regex.
5486 # If you have `file' or equivalent on your system and you're not sure
5487 # whether `pass_all' will *always* work, you probably want this one.
5488
5489 case $host_os in
5490 aix[4-9]*)
5491   lt_cv_deplibs_check_method=pass_all
5492   ;;
5493
5494 beos*)
5495   lt_cv_deplibs_check_method=pass_all
5496   ;;
5497
5498 bsdi[45]*)
5499   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5500   lt_cv_file_magic_cmd='/usr/bin/file -L'
5501   lt_cv_file_magic_test_file=/shlib/libc.so
5502   ;;
5503
5504 cygwin*)
5505   # func_win32_libid is a shell function defined in ltmain.sh
5506   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5507   lt_cv_file_magic_cmd='func_win32_libid'
5508   ;;
5509
5510 mingw* | pw32*)
5511   # Base MSYS/MinGW do not provide the 'file' command needed by
5512   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5513   # unless we find 'file', for example because we are cross-compiling.
5514   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5515   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5516     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5517     lt_cv_file_magic_cmd='func_win32_libid'
5518   else
5519     # Keep this pattern in sync with the one in func_win32_libid.
5520     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5521     lt_cv_file_magic_cmd='$OBJDUMP -f'
5522   fi
5523   ;;
5524
5525 cegcc*)
5526   # use the weaker test based on 'objdump'. See mingw*.
5527   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5528   lt_cv_file_magic_cmd='$OBJDUMP -f'
5529   ;;
5530
5531 darwin* | rhapsody*)
5532   lt_cv_deplibs_check_method=pass_all
5533   ;;
5534
5535 freebsd* | dragonfly*)
5536   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5537     case $host_cpu in
5538     i*86 )
5539       # Not sure whether the presence of OpenBSD here was a mistake.
5540       # Let's accept both of them until this is cleared up.
5541       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5542       lt_cv_file_magic_cmd=/usr/bin/file
5543       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5544       ;;
5545     esac
5546   else
5547     lt_cv_deplibs_check_method=pass_all
5548   fi
5549   ;;
5550
5551 haiku*)
5552   lt_cv_deplibs_check_method=pass_all
5553   ;;
5554
5555 hpux10.20* | hpux11*)
5556   lt_cv_file_magic_cmd=/usr/bin/file
5557   case $host_cpu in
5558   ia64*)
5559     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5560     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5561     ;;
5562   hppa*64*)
5563     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5564     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5565     ;;
5566   *)
5567     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5568     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5569     ;;
5570   esac
5571   ;;
5572
5573 interix[3-9]*)
5574   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5575   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5576   ;;
5577
5578 irix5* | irix6* | nonstopux*)
5579   case $LD in
5580   *-32|*"-32 ") libmagic=32-bit;;
5581   *-n32|*"-n32 ") libmagic=N32;;
5582   *-64|*"-64 ") libmagic=64-bit;;
5583   *) libmagic=never-match;;
5584   esac
5585   lt_cv_deplibs_check_method=pass_all
5586   ;;
5587
5588 # This must be glibc/ELF.
5589 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5590   lt_cv_deplibs_check_method=pass_all
5591   ;;
5592
5593 netbsd* | netbsdelf*-gnu)
5594   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5595     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5596   else
5597     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5598   fi
5599   ;;
5600
5601 newos6*)
5602   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5603   lt_cv_file_magic_cmd=/usr/bin/file
5604   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5605   ;;
5606
5607 *nto* | *qnx*)
5608   lt_cv_deplibs_check_method=pass_all
5609   ;;
5610
5611 openbsd*)
5612   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5613     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5614   else
5615     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5616   fi
5617   ;;
5618
5619 osf3* | osf4* | osf5*)
5620   lt_cv_deplibs_check_method=pass_all
5621   ;;
5622
5623 rdos*)
5624   lt_cv_deplibs_check_method=pass_all
5625   ;;
5626
5627 solaris*)
5628   lt_cv_deplibs_check_method=pass_all
5629   ;;
5630
5631 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5632   lt_cv_deplibs_check_method=pass_all
5633   ;;
5634
5635 sysv4 | sysv4.3*)
5636   case $host_vendor in
5637   motorola)
5638     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
5639     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5640     ;;
5641   ncr)
5642     lt_cv_deplibs_check_method=pass_all
5643     ;;
5644   sequent)
5645     lt_cv_file_magic_cmd='/bin/file'
5646     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5647     ;;
5648   sni)
5649     lt_cv_file_magic_cmd='/bin/file'
5650     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5651     lt_cv_file_magic_test_file=/lib/libc.so
5652     ;;
5653   siemens)
5654     lt_cv_deplibs_check_method=pass_all
5655     ;;
5656   pc)
5657     lt_cv_deplibs_check_method=pass_all
5658     ;;
5659   esac
5660   ;;
5661
5662 tpf*)
5663   lt_cv_deplibs_check_method=pass_all
5664   ;;
5665 esac
5666
5667 fi
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5669 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5670
5671 file_magic_glob=
5672 want_nocaseglob=no
5673 if test "$build" = "$host"; then
5674   case $host_os in
5675   mingw* | pw32*)
5676     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5677       want_nocaseglob=yes
5678     else
5679       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5680     fi
5681     ;;
5682   esac
5683 fi
5684
5685 file_magic_cmd=$lt_cv_file_magic_cmd
5686 deplibs_check_method=$lt_cv_deplibs_check_method
5687 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710 if test -n "$ac_tool_prefix"; then
5711   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5712 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5714 $as_echo_n "checking for $ac_word... " >&6; }
5715 if ${ac_cv_prog_DLLTOOL+:} false; then :
5716   $as_echo_n "(cached) " >&6
5717 else
5718   if test -n "$DLLTOOL"; then
5719   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5720 else
5721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5722 for as_dir in $PATH
5723 do
5724   IFS=$as_save_IFS
5725   test -z "$as_dir" && as_dir=.
5726     for ac_exec_ext in '' $ac_executable_extensions; do
5727   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5728     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5729     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5730     break 2
5731   fi
5732 done
5733   done
5734 IFS=$as_save_IFS
5735
5736 fi
5737 fi
5738 DLLTOOL=$ac_cv_prog_DLLTOOL
5739 if test -n "$DLLTOOL"; then
5740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5741 $as_echo "$DLLTOOL" >&6; }
5742 else
5743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5744 $as_echo "no" >&6; }
5745 fi
5746
5747
5748 fi
5749 if test -z "$ac_cv_prog_DLLTOOL"; then
5750   ac_ct_DLLTOOL=$DLLTOOL
5751   # Extract the first word of "dlltool", so it can be a program name with args.
5752 set dummy dlltool; ac_word=$2
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5754 $as_echo_n "checking for $ac_word... " >&6; }
5755 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5756   $as_echo_n "(cached) " >&6
5757 else
5758   if test -n "$ac_ct_DLLTOOL"; then
5759   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5760 else
5761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5762 for as_dir in $PATH
5763 do
5764   IFS=$as_save_IFS
5765   test -z "$as_dir" && as_dir=.
5766     for ac_exec_ext in '' $ac_executable_extensions; do
5767   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5768     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5769     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5770     break 2
5771   fi
5772 done
5773   done
5774 IFS=$as_save_IFS
5775
5776 fi
5777 fi
5778 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5779 if test -n "$ac_ct_DLLTOOL"; then
5780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5781 $as_echo "$ac_ct_DLLTOOL" >&6; }
5782 else
5783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5784 $as_echo "no" >&6; }
5785 fi
5786
5787   if test "x$ac_ct_DLLTOOL" = x; then
5788     DLLTOOL="false"
5789   else
5790     case $cross_compiling:$ac_tool_warned in
5791 yes:)
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5793 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5794 ac_tool_warned=yes ;;
5795 esac
5796     DLLTOOL=$ac_ct_DLLTOOL
5797   fi
5798 else
5799   DLLTOOL="$ac_cv_prog_DLLTOOL"
5800 fi
5801
5802 test -z "$DLLTOOL" && DLLTOOL=dlltool
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5814 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5815 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5816   $as_echo_n "(cached) " >&6
5817 else
5818   lt_cv_sharedlib_from_linklib_cmd='unknown'
5819
5820 case $host_os in
5821 cygwin* | mingw* | pw32* | cegcc*)
5822   # two different shell functions defined in ltmain.sh
5823   # decide which to use based on capabilities of $DLLTOOL
5824   case `$DLLTOOL --help 2>&1` in
5825   *--identify-strict*)
5826     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5827     ;;
5828   *)
5829     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5830     ;;
5831   esac
5832   ;;
5833 *)
5834   # fallback: assume linklib IS sharedlib
5835   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5836   ;;
5837 esac
5838
5839 fi
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5841 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5842 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5843 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5844
5845
5846
5847
5848
5849
5850
5851 if test -n "$ac_tool_prefix"; then
5852   for ac_prog in ar
5853   do
5854     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5855 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5857 $as_echo_n "checking for $ac_word... " >&6; }
5858 if ${ac_cv_prog_AR+:} false; then :
5859   $as_echo_n "(cached) " >&6
5860 else
5861   if test -n "$AR"; then
5862   ac_cv_prog_AR="$AR" # Let the user override the test.
5863 else
5864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5865 for as_dir in $PATH
5866 do
5867   IFS=$as_save_IFS
5868   test -z "$as_dir" && as_dir=.
5869     for ac_exec_ext in '' $ac_executable_extensions; do
5870   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5871     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5872     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5873     break 2
5874   fi
5875 done
5876   done
5877 IFS=$as_save_IFS
5878
5879 fi
5880 fi
5881 AR=$ac_cv_prog_AR
5882 if test -n "$AR"; then
5883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5884 $as_echo "$AR" >&6; }
5885 else
5886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5887 $as_echo "no" >&6; }
5888 fi
5889
5890
5891     test -n "$AR" && break
5892   done
5893 fi
5894 if test -z "$AR"; then
5895   ac_ct_AR=$AR
5896   for ac_prog in ar
5897 do
5898   # Extract the first word of "$ac_prog", so it can be a program name with args.
5899 set dummy $ac_prog; ac_word=$2
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5901 $as_echo_n "checking for $ac_word... " >&6; }
5902 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5903   $as_echo_n "(cached) " >&6
5904 else
5905   if test -n "$ac_ct_AR"; then
5906   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5907 else
5908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5909 for as_dir in $PATH
5910 do
5911   IFS=$as_save_IFS
5912   test -z "$as_dir" && as_dir=.
5913     for ac_exec_ext in '' $ac_executable_extensions; do
5914   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5915     ac_cv_prog_ac_ct_AR="$ac_prog"
5916     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5917     break 2
5918   fi
5919 done
5920   done
5921 IFS=$as_save_IFS
5922
5923 fi
5924 fi
5925 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5926 if test -n "$ac_ct_AR"; then
5927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5928 $as_echo "$ac_ct_AR" >&6; }
5929 else
5930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5931 $as_echo "no" >&6; }
5932 fi
5933
5934
5935   test -n "$ac_ct_AR" && break
5936 done
5937
5938   if test "x$ac_ct_AR" = x; then
5939     AR="false"
5940   else
5941     case $cross_compiling:$ac_tool_warned in
5942 yes:)
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5944 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5945 ac_tool_warned=yes ;;
5946 esac
5947     AR=$ac_ct_AR
5948   fi
5949 fi
5950
5951 : ${AR=ar}
5952 : ${AR_FLAGS=cru}
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5965 $as_echo_n "checking for archiver @FILE support... " >&6; }
5966 if ${lt_cv_ar_at_file+:} false; then :
5967   $as_echo_n "(cached) " >&6
5968 else
5969   lt_cv_ar_at_file=no
5970    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5971 /* end confdefs.h.  */
5972
5973 int
5974 main ()
5975 {
5976
5977   ;
5978   return 0;
5979 }
5980 _ACEOF
5981 if ac_fn_c_try_compile "$LINENO"; then :
5982   echo conftest.$ac_objext > conftest.lst
5983       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5984       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5985   (eval $lt_ar_try) 2>&5
5986   ac_status=$?
5987   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5988   test $ac_status = 0; }
5989       if test "$ac_status" -eq 0; then
5990         # Ensure the archiver fails upon bogus file names.
5991         rm -f conftest.$ac_objext libconftest.a
5992         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5993   (eval $lt_ar_try) 2>&5
5994   ac_status=$?
5995   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5996   test $ac_status = 0; }
5997         if test "$ac_status" -ne 0; then
5998           lt_cv_ar_at_file=@
5999         fi
6000       fi
6001       rm -f conftest.* libconftest.a
6002
6003 fi
6004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6005
6006 fi
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6008 $as_echo "$lt_cv_ar_at_file" >&6; }
6009
6010 if test "x$lt_cv_ar_at_file" = xno; then
6011   archiver_list_spec=
6012 else
6013   archiver_list_spec=$lt_cv_ar_at_file
6014 fi
6015
6016
6017
6018
6019
6020
6021
6022 if test -n "$ac_tool_prefix"; then
6023   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6024 set dummy ${ac_tool_prefix}strip; ac_word=$2
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6026 $as_echo_n "checking for $ac_word... " >&6; }
6027 if ${ac_cv_prog_STRIP+:} false; then :
6028   $as_echo_n "(cached) " >&6
6029 else
6030   if test -n "$STRIP"; then
6031   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6032 else
6033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6034 for as_dir in $PATH
6035 do
6036   IFS=$as_save_IFS
6037   test -z "$as_dir" && as_dir=.
6038     for ac_exec_ext in '' $ac_executable_extensions; do
6039   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6040     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6041     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6042     break 2
6043   fi
6044 done
6045   done
6046 IFS=$as_save_IFS
6047
6048 fi
6049 fi
6050 STRIP=$ac_cv_prog_STRIP
6051 if test -n "$STRIP"; then
6052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6053 $as_echo "$STRIP" >&6; }
6054 else
6055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6056 $as_echo "no" >&6; }
6057 fi
6058
6059
6060 fi
6061 if test -z "$ac_cv_prog_STRIP"; then
6062   ac_ct_STRIP=$STRIP
6063   # Extract the first word of "strip", so it can be a program name with args.
6064 set dummy strip; ac_word=$2
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6066 $as_echo_n "checking for $ac_word... " >&6; }
6067 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6068   $as_echo_n "(cached) " >&6
6069 else
6070   if test -n "$ac_ct_STRIP"; then
6071   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6072 else
6073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6074 for as_dir in $PATH
6075 do
6076   IFS=$as_save_IFS
6077   test -z "$as_dir" && as_dir=.
6078     for ac_exec_ext in '' $ac_executable_extensions; do
6079   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6080     ac_cv_prog_ac_ct_STRIP="strip"
6081     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6082     break 2
6083   fi
6084 done
6085   done
6086 IFS=$as_save_IFS
6087
6088 fi
6089 fi
6090 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6091 if test -n "$ac_ct_STRIP"; then
6092   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6093 $as_echo "$ac_ct_STRIP" >&6; }
6094 else
6095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6096 $as_echo "no" >&6; }
6097 fi
6098
6099   if test "x$ac_ct_STRIP" = x; then
6100     STRIP=":"
6101   else
6102     case $cross_compiling:$ac_tool_warned in
6103 yes:)
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6105 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6106 ac_tool_warned=yes ;;
6107 esac
6108     STRIP=$ac_ct_STRIP
6109   fi
6110 else
6111   STRIP="$ac_cv_prog_STRIP"
6112 fi
6113
6114 test -z "$STRIP" && STRIP=:
6115
6116
6117
6118
6119
6120
6121 if test -n "$ac_tool_prefix"; then
6122   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6123 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6125 $as_echo_n "checking for $ac_word... " >&6; }
6126 if ${ac_cv_prog_RANLIB+:} false; then :
6127   $as_echo_n "(cached) " >&6
6128 else
6129   if test -n "$RANLIB"; then
6130   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6131 else
6132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6133 for as_dir in $PATH
6134 do
6135   IFS=$as_save_IFS
6136   test -z "$as_dir" && as_dir=.
6137     for ac_exec_ext in '' $ac_executable_extensions; do
6138   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6139     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6140     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6141     break 2
6142   fi
6143 done
6144   done
6145 IFS=$as_save_IFS
6146
6147 fi
6148 fi
6149 RANLIB=$ac_cv_prog_RANLIB
6150 if test -n "$RANLIB"; then
6151   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6152 $as_echo "$RANLIB" >&6; }
6153 else
6154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6155 $as_echo "no" >&6; }
6156 fi
6157
6158
6159 fi
6160 if test -z "$ac_cv_prog_RANLIB"; then
6161   ac_ct_RANLIB=$RANLIB
6162   # Extract the first word of "ranlib", so it can be a program name with args.
6163 set dummy ranlib; ac_word=$2
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6165 $as_echo_n "checking for $ac_word... " >&6; }
6166 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6167   $as_echo_n "(cached) " >&6
6168 else
6169   if test -n "$ac_ct_RANLIB"; then
6170   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6171 else
6172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6173 for as_dir in $PATH
6174 do
6175   IFS=$as_save_IFS
6176   test -z "$as_dir" && as_dir=.
6177     for ac_exec_ext in '' $ac_executable_extensions; do
6178   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6179     ac_cv_prog_ac_ct_RANLIB="ranlib"
6180     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6181     break 2
6182   fi
6183 done
6184   done
6185 IFS=$as_save_IFS
6186
6187 fi
6188 fi
6189 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6190 if test -n "$ac_ct_RANLIB"; then
6191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6192 $as_echo "$ac_ct_RANLIB" >&6; }
6193 else
6194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6195 $as_echo "no" >&6; }
6196 fi
6197
6198   if test "x$ac_ct_RANLIB" = x; then
6199     RANLIB=":"
6200   else
6201     case $cross_compiling:$ac_tool_warned in
6202 yes:)
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6204 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6205 ac_tool_warned=yes ;;
6206 esac
6207     RANLIB=$ac_ct_RANLIB
6208   fi
6209 else
6210   RANLIB="$ac_cv_prog_RANLIB"
6211 fi
6212
6213 test -z "$RANLIB" && RANLIB=:
6214
6215
6216
6217
6218
6219
6220 # Determine commands to create old-style static archives.
6221 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6222 old_postinstall_cmds='chmod 644 $oldlib'
6223 old_postuninstall_cmds=
6224
6225 if test -n "$RANLIB"; then
6226   case $host_os in
6227   openbsd*)
6228     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6229     ;;
6230   *)
6231     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6232     ;;
6233   esac
6234   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6235 fi
6236
6237 case $host_os in
6238   darwin*)
6239     lock_old_archive_extraction=yes ;;
6240   *)
6241     lock_old_archive_extraction=no ;;
6242 esac
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282 # If no C compiler was specified, use CC.
6283 LTCC=${LTCC-"$CC"}
6284
6285 # If no C compiler flags were specified, use CFLAGS.
6286 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6287
6288 # Allow CC to be a program name with arguments.
6289 compiler=$CC
6290
6291
6292 # Check for command to grab the raw symbol name followed by C symbol from nm.
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6294 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6295 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6296   $as_echo_n "(cached) " >&6
6297 else
6298
6299 # These are sane defaults that work on at least a few old systems.
6300 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6301
6302 # Character class describing NM global symbol codes.
6303 symcode='[BCDEGRST]'
6304
6305 # Regexp to match symbols that can be accessed directly from C.
6306 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6307
6308 # Define system-specific variables.
6309 case $host_os in
6310 aix*)
6311   symcode='[BCDT]'
6312   ;;
6313 cygwin* | mingw* | pw32* | cegcc*)
6314   symcode='[ABCDGISTW]'
6315   ;;
6316 hpux*)
6317   if test "$host_cpu" = ia64; then
6318     symcode='[ABCDEGRST]'
6319   fi
6320   ;;
6321 irix* | nonstopux*)
6322   symcode='[BCDEGRST]'
6323   ;;
6324 osf*)
6325   symcode='[BCDEGQRST]'
6326   ;;
6327 solaris*)
6328   symcode='[BDRT]'
6329   ;;
6330 sco3.2v5*)
6331   symcode='[DT]'
6332   ;;
6333 sysv4.2uw2*)
6334   symcode='[DT]'
6335   ;;
6336 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6337   symcode='[ABDT]'
6338   ;;
6339 sysv4)
6340   symcode='[DFNSTU]'
6341   ;;
6342 esac
6343
6344 # If we're using GNU nm, then use its standard symbol codes.
6345 case `$NM -V 2>&1` in
6346 *GNU* | *'with BFD'*)
6347   symcode='[ABCDGIRSTW]' ;;
6348 esac
6349
6350 # Transform an extracted symbol line into a proper C declaration.
6351 # Some systems (esp. on ia64) link data and code symbols differently,
6352 # so use this general approach.
6353 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6354
6355 # Transform an extracted symbol line into symbol name and symbol address
6356 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6357 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
6358
6359 # Handle CRLF in mingw tool chain
6360 opt_cr=
6361 case $build_os in
6362 mingw*)
6363   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6364   ;;
6365 esac
6366
6367 # Try without a prefix underscore, then with it.
6368 for ac_symprfx in "" "_"; do
6369
6370   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6371   symxfrm="\\1 $ac_symprfx\\2 \\2"
6372
6373   # Write the raw and C identifiers.
6374   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6375     # Fake it for dumpbin and say T for any non-static function
6376     # and D for any global variable.
6377     # Also find C++ and __fastcall symbols from MSVC++,
6378     # which start with @ or ?.
6379     lt_cv_sys_global_symbol_pipe="$AWK '"\
6380 "     {last_section=section; section=\$ 3};"\
6381 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6382 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6383 "     \$ 0!~/External *\|/{next};"\
6384 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6385 "     {if(hide[section]) next};"\
6386 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6387 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6388 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6389 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6390 "     ' prfx=^$ac_symprfx"
6391   else
6392     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6393   fi
6394   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6395
6396   # Check to see that the pipe works correctly.
6397   pipe_works=no
6398
6399   rm -f conftest*
6400   cat > conftest.$ac_ext <<_LT_EOF
6401 #ifdef __cplusplus
6402 extern "C" {
6403 #endif
6404 char nm_test_var;
6405 void nm_test_func(void);
6406 void nm_test_func(void){}
6407 #ifdef __cplusplus
6408 }
6409 #endif
6410 int main(){nm_test_var='a';nm_test_func();return(0);}
6411 _LT_EOF
6412
6413   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6414   (eval $ac_compile) 2>&5
6415   ac_status=$?
6416   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6417   test $ac_status = 0; }; then
6418     # Now try to grab the symbols.
6419     nlist=conftest.nm
6420     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6421   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6422   ac_status=$?
6423   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6424   test $ac_status = 0; } && test -s "$nlist"; then
6425       # Try sorting and uniquifying the output.
6426       if sort "$nlist" | uniq > "$nlist"T; then
6427         mv -f "$nlist"T "$nlist"
6428       else
6429         rm -f "$nlist"T
6430       fi
6431
6432       # Make sure that we snagged all the symbols we need.
6433       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6434         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6435           cat <<_LT_EOF > conftest.$ac_ext
6436 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6437 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6438 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6439    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6440 # define LT_DLSYM_CONST
6441 #elif defined(__osf__)
6442 /* This system does not cope well with relocations in const data.  */
6443 # define LT_DLSYM_CONST
6444 #else
6445 # define LT_DLSYM_CONST const
6446 #endif
6447
6448 #ifdef __cplusplus
6449 extern "C" {
6450 #endif
6451
6452 _LT_EOF
6453           # Now generate the symbol file.
6454           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6455
6456           cat <<_LT_EOF >> conftest.$ac_ext
6457
6458 /* The mapping between symbol names and symbols.  */
6459 LT_DLSYM_CONST struct {
6460   const char *name;
6461   void       *address;
6462 }
6463 lt__PROGRAM__LTX_preloaded_symbols[] =
6464 {
6465   { "@PROGRAM@", (void *) 0 },
6466 _LT_EOF
6467           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6468           cat <<\_LT_EOF >> conftest.$ac_ext
6469   {0, (void *) 0}
6470 };
6471
6472 /* This works around a problem in FreeBSD linker */
6473 #ifdef FREEBSD_WORKAROUND
6474 static const void *lt_preloaded_setup() {
6475   return lt__PROGRAM__LTX_preloaded_symbols;
6476 }
6477 #endif
6478
6479 #ifdef __cplusplus
6480 }
6481 #endif
6482 _LT_EOF
6483           # Now try linking the two files.
6484           mv conftest.$ac_objext conftstm.$ac_objext
6485           lt_globsym_save_LIBS=$LIBS
6486           lt_globsym_save_CFLAGS=$CFLAGS
6487           LIBS="conftstm.$ac_objext"
6488           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6489           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6490   (eval $ac_link) 2>&5
6491   ac_status=$?
6492   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6493   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6494             pipe_works=yes
6495           fi
6496           LIBS=$lt_globsym_save_LIBS
6497           CFLAGS=$lt_globsym_save_CFLAGS
6498         else
6499           echo "cannot find nm_test_func in $nlist" >&5
6500         fi
6501       else
6502         echo "cannot find nm_test_var in $nlist" >&5
6503       fi
6504     else
6505       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6506     fi
6507   else
6508     echo "$progname: failed program was:" >&5
6509     cat conftest.$ac_ext >&5
6510   fi
6511   rm -rf conftest* conftst*
6512
6513   # Do not use the global_symbol_pipe unless it works.
6514   if test "$pipe_works" = yes; then
6515     break
6516   else
6517     lt_cv_sys_global_symbol_pipe=
6518   fi
6519 done
6520
6521 fi
6522
6523 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6524   lt_cv_sys_global_symbol_to_cdecl=
6525 fi
6526 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6528 $as_echo "failed" >&6; }
6529 else
6530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6531 $as_echo "ok" >&6; }
6532 fi
6533
6534 # Response file support.
6535 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6536   nm_file_list_spec='@'
6537 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6538   nm_file_list_spec='@'
6539 fi
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6568 $as_echo_n "checking for sysroot... " >&6; }
6569
6570 # Check whether --with-sysroot was given.
6571 if test "${with_sysroot+set}" = set; then :
6572   withval=$with_sysroot;
6573 else
6574   with_sysroot=no
6575 fi
6576
6577
6578 lt_sysroot=
6579 case ${with_sysroot} in #(
6580  yes)
6581    if test "$GCC" = yes; then
6582      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6583    fi
6584    ;; #(
6585  /*)
6586    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6587    ;; #(
6588  no|'')
6589    ;; #(
6590  *)
6591    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6592 $as_echo "${with_sysroot}" >&6; }
6593    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6594    ;;
6595 esac
6596
6597  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6598 $as_echo "${lt_sysroot:-no}" >&6; }
6599
6600
6601
6602
6603
6604 # Check whether --enable-libtool-lock was given.
6605 if test "${enable_libtool_lock+set}" = set; then :
6606   enableval=$enable_libtool_lock;
6607 fi
6608
6609 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6610
6611 # Some flags need to be propagated to the compiler or linker for good
6612 # libtool support.
6613 case $host in
6614 ia64-*-hpux*)
6615   # Find out which ABI we are using.
6616   echo 'int i;' > conftest.$ac_ext
6617   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6618   (eval $ac_compile) 2>&5
6619   ac_status=$?
6620   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6621   test $ac_status = 0; }; then
6622     case `/usr/bin/file conftest.$ac_objext` in
6623       *ELF-32*)
6624         HPUX_IA64_MODE="32"
6625         ;;
6626       *ELF-64*)
6627         HPUX_IA64_MODE="64"
6628         ;;
6629     esac
6630   fi
6631   rm -rf conftest*
6632   ;;
6633 *-*-irix6*)
6634   # Find out which ABI we are using.
6635   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6636   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6637   (eval $ac_compile) 2>&5
6638   ac_status=$?
6639   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6640   test $ac_status = 0; }; then
6641     if test "$lt_cv_prog_gnu_ld" = yes; then
6642       case `/usr/bin/file conftest.$ac_objext` in
6643         *32-bit*)
6644           LD="${LD-ld} -melf32bsmip"
6645           ;;
6646         *N32*)
6647           LD="${LD-ld} -melf32bmipn32"
6648           ;;
6649         *64-bit*)
6650           LD="${LD-ld} -melf64bmip"
6651         ;;
6652       esac
6653     else
6654       case `/usr/bin/file conftest.$ac_objext` in
6655         *32-bit*)
6656           LD="${LD-ld} -32"
6657           ;;
6658         *N32*)
6659           LD="${LD-ld} -n32"
6660           ;;
6661         *64-bit*)
6662           LD="${LD-ld} -64"
6663           ;;
6664       esac
6665     fi
6666   fi
6667   rm -rf conftest*
6668   ;;
6669
6670 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6671 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6672   # Find out which ABI we are using.
6673   echo 'int i;' > conftest.$ac_ext
6674   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6675   (eval $ac_compile) 2>&5
6676   ac_status=$?
6677   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6678   test $ac_status = 0; }; then
6679     case `/usr/bin/file conftest.o` in
6680       *32-bit*)
6681         case $host in
6682           x86_64-*kfreebsd*-gnu)
6683             LD="${LD-ld} -m elf_i386_fbsd"
6684             ;;
6685           x86_64-*linux*)
6686             case `/usr/bin/file conftest.o` in
6687               *x86-64*)
6688                 LD="${LD-ld} -m elf32_x86_64"
6689                 ;;
6690               *)
6691                 LD="${LD-ld} -m elf_i386"
6692                 ;;
6693             esac
6694             ;;
6695           powerpc64le-*)
6696             LD="${LD-ld} -m elf32lppclinux"
6697             ;;
6698           powerpc64-*)
6699             LD="${LD-ld} -m elf32ppclinux"
6700             ;;
6701           s390x-*linux*)
6702             LD="${LD-ld} -m elf_s390"
6703             ;;
6704           sparc64-*linux*)
6705             LD="${LD-ld} -m elf32_sparc"
6706             ;;
6707         esac
6708         ;;
6709       *64-bit*)
6710         case $host in
6711           x86_64-*kfreebsd*-gnu)
6712             LD="${LD-ld} -m elf_x86_64_fbsd"
6713             ;;
6714           x86_64-*linux*)
6715             LD="${LD-ld} -m elf_x86_64"
6716             ;;
6717           powerpcle-*)
6718             LD="${LD-ld} -m elf64lppc"
6719             ;;
6720           powerpc-*)
6721             LD="${LD-ld} -m elf64ppc"
6722             ;;
6723           s390*-*linux*|s390*-*tpf*)
6724             LD="${LD-ld} -m elf64_s390"
6725             ;;
6726           sparc*-*linux*)
6727             LD="${LD-ld} -m elf64_sparc"
6728             ;;
6729         esac
6730         ;;
6731     esac
6732   fi
6733   rm -rf conftest*
6734   ;;
6735
6736 *-*-sco3.2v5*)
6737   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6738   SAVE_CFLAGS="$CFLAGS"
6739   CFLAGS="$CFLAGS -belf"
6740   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6741 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6742 if ${lt_cv_cc_needs_belf+:} false; then :
6743   $as_echo_n "(cached) " >&6
6744 else
6745   ac_ext=c
6746 ac_cpp='$CPP $CPPFLAGS'
6747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6750
6751      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6752 /* end confdefs.h.  */
6753
6754 int
6755 main ()
6756 {
6757
6758   ;
6759   return 0;
6760 }
6761 _ACEOF
6762 if ac_fn_c_try_link "$LINENO"; then :
6763   lt_cv_cc_needs_belf=yes
6764 else
6765   lt_cv_cc_needs_belf=no
6766 fi
6767 rm -f core conftest.err conftest.$ac_objext \
6768     conftest$ac_exeext conftest.$ac_ext
6769      ac_ext=c
6770 ac_cpp='$CPP $CPPFLAGS'
6771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6774
6775 fi
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6777 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6778   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6779     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6780     CFLAGS="$SAVE_CFLAGS"
6781   fi
6782   ;;
6783 *-*solaris*)
6784   # Find out which ABI we are using.
6785   echo 'int i;' > conftest.$ac_ext
6786   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6787   (eval $ac_compile) 2>&5
6788   ac_status=$?
6789   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6790   test $ac_status = 0; }; then
6791     case `/usr/bin/file conftest.o` in
6792     *64-bit*)
6793       case $lt_cv_prog_gnu_ld in
6794       yes*)
6795         case $host in
6796         i?86-*-solaris*)
6797           LD="${LD-ld} -m elf_x86_64"
6798           ;;
6799         sparc*-*-solaris*)
6800           LD="${LD-ld} -m elf64_sparc"
6801           ;;
6802         esac
6803         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6804         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6805           LD="${LD-ld}_sol2"
6806         fi
6807         ;;
6808       *)
6809         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6810           LD="${LD-ld} -64"
6811         fi
6812         ;;
6813       esac
6814       ;;
6815     esac
6816   fi
6817   rm -rf conftest*
6818   ;;
6819 esac
6820
6821 need_locks="$enable_libtool_lock"
6822
6823 if test -n "$ac_tool_prefix"; then
6824   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6825 set dummy ${ac_tool_prefix}mt; ac_word=$2
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6827 $as_echo_n "checking for $ac_word... " >&6; }
6828 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6829   $as_echo_n "(cached) " >&6
6830 else
6831   if test -n "$MANIFEST_TOOL"; then
6832   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6833 else
6834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6835 for as_dir in $PATH
6836 do
6837   IFS=$as_save_IFS
6838   test -z "$as_dir" && as_dir=.
6839     for ac_exec_ext in '' $ac_executable_extensions; do
6840   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6841     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6842     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6843     break 2
6844   fi
6845 done
6846   done
6847 IFS=$as_save_IFS
6848
6849 fi
6850 fi
6851 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6852 if test -n "$MANIFEST_TOOL"; then
6853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6854 $as_echo "$MANIFEST_TOOL" >&6; }
6855 else
6856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6857 $as_echo "no" >&6; }
6858 fi
6859
6860
6861 fi
6862 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6863   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6864   # Extract the first word of "mt", so it can be a program name with args.
6865 set dummy mt; ac_word=$2
6866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6867 $as_echo_n "checking for $ac_word... " >&6; }
6868 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6869   $as_echo_n "(cached) " >&6
6870 else
6871   if test -n "$ac_ct_MANIFEST_TOOL"; then
6872   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6873 else
6874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6875 for as_dir in $PATH
6876 do
6877   IFS=$as_save_IFS
6878   test -z "$as_dir" && as_dir=.
6879     for ac_exec_ext in '' $ac_executable_extensions; do
6880   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6881     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6882     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6883     break 2
6884   fi
6885 done
6886   done
6887 IFS=$as_save_IFS
6888
6889 fi
6890 fi
6891 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6892 if test -n "$ac_ct_MANIFEST_TOOL"; then
6893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6894 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6895 else
6896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6897 $as_echo "no" >&6; }
6898 fi
6899
6900   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6901     MANIFEST_TOOL=":"
6902   else
6903     case $cross_compiling:$ac_tool_warned in
6904 yes:)
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6906 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6907 ac_tool_warned=yes ;;
6908 esac
6909     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6910   fi
6911 else
6912   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6913 fi
6914
6915 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6917 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6918 if ${lt_cv_path_mainfest_tool+:} false; then :
6919   $as_echo_n "(cached) " >&6
6920 else
6921   lt_cv_path_mainfest_tool=no
6922   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6923   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6924   cat conftest.err >&5
6925   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6926     lt_cv_path_mainfest_tool=yes
6927   fi
6928   rm -f conftest*
6929 fi
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6931 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6932 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6933   MANIFEST_TOOL=:
6934 fi
6935
6936
6937
6938
6939
6940
6941   case $host_os in
6942     rhapsody* | darwin*)
6943     if test -n "$ac_tool_prefix"; then
6944   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6945 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6947 $as_echo_n "checking for $ac_word... " >&6; }
6948 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6949   $as_echo_n "(cached) " >&6
6950 else
6951   if test -n "$DSYMUTIL"; then
6952   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6953 else
6954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6955 for as_dir in $PATH
6956 do
6957   IFS=$as_save_IFS
6958   test -z "$as_dir" && as_dir=.
6959     for ac_exec_ext in '' $ac_executable_extensions; do
6960   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6961     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6962     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6963     break 2
6964   fi
6965 done
6966   done
6967 IFS=$as_save_IFS
6968
6969 fi
6970 fi
6971 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6972 if test -n "$DSYMUTIL"; then
6973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6974 $as_echo "$DSYMUTIL" >&6; }
6975 else
6976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6977 $as_echo "no" >&6; }
6978 fi
6979
6980
6981 fi
6982 if test -z "$ac_cv_prog_DSYMUTIL"; then
6983   ac_ct_DSYMUTIL=$DSYMUTIL
6984   # Extract the first word of "dsymutil", so it can be a program name with args.
6985 set dummy dsymutil; ac_word=$2
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6987 $as_echo_n "checking for $ac_word... " >&6; }
6988 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6989   $as_echo_n "(cached) " >&6
6990 else
6991   if test -n "$ac_ct_DSYMUTIL"; then
6992   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6993 else
6994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6995 for as_dir in $PATH
6996 do
6997   IFS=$as_save_IFS
6998   test -z "$as_dir" && as_dir=.
6999     for ac_exec_ext in '' $ac_executable_extensions; do
7000   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7001     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7002     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7003     break 2
7004   fi
7005 done
7006   done
7007 IFS=$as_save_IFS
7008
7009 fi
7010 fi
7011 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7012 if test -n "$ac_ct_DSYMUTIL"; then
7013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7014 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7015 else
7016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7017 $as_echo "no" >&6; }
7018 fi
7019
7020   if test "x$ac_ct_DSYMUTIL" = x; then
7021     DSYMUTIL=":"
7022   else
7023     case $cross_compiling:$ac_tool_warned in
7024 yes:)
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7026 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7027 ac_tool_warned=yes ;;
7028 esac
7029     DSYMUTIL=$ac_ct_DSYMUTIL
7030   fi
7031 else
7032   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7033 fi
7034
7035     if test -n "$ac_tool_prefix"; then
7036   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7037 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7039 $as_echo_n "checking for $ac_word... " >&6; }
7040 if ${ac_cv_prog_NMEDIT+:} false; then :
7041   $as_echo_n "(cached) " >&6
7042 else
7043   if test -n "$NMEDIT"; then
7044   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7045 else
7046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7047 for as_dir in $PATH
7048 do
7049   IFS=$as_save_IFS
7050   test -z "$as_dir" && as_dir=.
7051     for ac_exec_ext in '' $ac_executable_extensions; do
7052   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7053     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7054     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7055     break 2
7056   fi
7057 done
7058   done
7059 IFS=$as_save_IFS
7060
7061 fi
7062 fi
7063 NMEDIT=$ac_cv_prog_NMEDIT
7064 if test -n "$NMEDIT"; then
7065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7066 $as_echo "$NMEDIT" >&6; }
7067 else
7068   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7069 $as_echo "no" >&6; }
7070 fi
7071
7072
7073 fi
7074 if test -z "$ac_cv_prog_NMEDIT"; then
7075   ac_ct_NMEDIT=$NMEDIT
7076   # Extract the first word of "nmedit", so it can be a program name with args.
7077 set dummy nmedit; ac_word=$2
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7079 $as_echo_n "checking for $ac_word... " >&6; }
7080 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7081   $as_echo_n "(cached) " >&6
7082 else
7083   if test -n "$ac_ct_NMEDIT"; then
7084   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7085 else
7086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7087 for as_dir in $PATH
7088 do
7089   IFS=$as_save_IFS
7090   test -z "$as_dir" && as_dir=.
7091     for ac_exec_ext in '' $ac_executable_extensions; do
7092   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7093     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7094     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7095     break 2
7096   fi
7097 done
7098   done
7099 IFS=$as_save_IFS
7100
7101 fi
7102 fi
7103 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7104 if test -n "$ac_ct_NMEDIT"; then
7105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7106 $as_echo "$ac_ct_NMEDIT" >&6; }
7107 else
7108   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7109 $as_echo "no" >&6; }
7110 fi
7111
7112   if test "x$ac_ct_NMEDIT" = x; then
7113     NMEDIT=":"
7114   else
7115     case $cross_compiling:$ac_tool_warned in
7116 yes:)
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7118 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7119 ac_tool_warned=yes ;;
7120 esac
7121     NMEDIT=$ac_ct_NMEDIT
7122   fi
7123 else
7124   NMEDIT="$ac_cv_prog_NMEDIT"
7125 fi
7126
7127     if test -n "$ac_tool_prefix"; then
7128   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7129 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7131 $as_echo_n "checking for $ac_word... " >&6; }
7132 if ${ac_cv_prog_LIPO+:} false; then :
7133   $as_echo_n "(cached) " >&6
7134 else
7135   if test -n "$LIPO"; then
7136   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7137 else
7138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7139 for as_dir in $PATH
7140 do
7141   IFS=$as_save_IFS
7142   test -z "$as_dir" && as_dir=.
7143     for ac_exec_ext in '' $ac_executable_extensions; do
7144   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7145     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7146     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7147     break 2
7148   fi
7149 done
7150   done
7151 IFS=$as_save_IFS
7152
7153 fi
7154 fi
7155 LIPO=$ac_cv_prog_LIPO
7156 if test -n "$LIPO"; then
7157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7158 $as_echo "$LIPO" >&6; }
7159 else
7160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7161 $as_echo "no" >&6; }
7162 fi
7163
7164
7165 fi
7166 if test -z "$ac_cv_prog_LIPO"; then
7167   ac_ct_LIPO=$LIPO
7168   # Extract the first word of "lipo", so it can be a program name with args.
7169 set dummy lipo; ac_word=$2
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7171 $as_echo_n "checking for $ac_word... " >&6; }
7172 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7173   $as_echo_n "(cached) " >&6
7174 else
7175   if test -n "$ac_ct_LIPO"; then
7176   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7177 else
7178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7179 for as_dir in $PATH
7180 do
7181   IFS=$as_save_IFS
7182   test -z "$as_dir" && as_dir=.
7183     for ac_exec_ext in '' $ac_executable_extensions; do
7184   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7185     ac_cv_prog_ac_ct_LIPO="lipo"
7186     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7187     break 2
7188   fi
7189 done
7190   done
7191 IFS=$as_save_IFS
7192
7193 fi
7194 fi
7195 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7196 if test -n "$ac_ct_LIPO"; then
7197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7198 $as_echo "$ac_ct_LIPO" >&6; }
7199 else
7200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7201 $as_echo "no" >&6; }
7202 fi
7203
7204   if test "x$ac_ct_LIPO" = x; then
7205     LIPO=":"
7206   else
7207     case $cross_compiling:$ac_tool_warned in
7208 yes:)
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7210 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7211 ac_tool_warned=yes ;;
7212 esac
7213     LIPO=$ac_ct_LIPO
7214   fi
7215 else
7216   LIPO="$ac_cv_prog_LIPO"
7217 fi
7218
7219     if test -n "$ac_tool_prefix"; then
7220   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7221 set dummy ${ac_tool_prefix}otool; ac_word=$2
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7223 $as_echo_n "checking for $ac_word... " >&6; }
7224 if ${ac_cv_prog_OTOOL+:} false; then :
7225   $as_echo_n "(cached) " >&6
7226 else
7227   if test -n "$OTOOL"; then
7228   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7229 else
7230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7231 for as_dir in $PATH
7232 do
7233   IFS=$as_save_IFS
7234   test -z "$as_dir" && as_dir=.
7235     for ac_exec_ext in '' $ac_executable_extensions; do
7236   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7237     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7238     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7239     break 2
7240   fi
7241 done
7242   done
7243 IFS=$as_save_IFS
7244
7245 fi
7246 fi
7247 OTOOL=$ac_cv_prog_OTOOL
7248 if test -n "$OTOOL"; then
7249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7250 $as_echo "$OTOOL" >&6; }
7251 else
7252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7253 $as_echo "no" >&6; }
7254 fi
7255
7256
7257 fi
7258 if test -z "$ac_cv_prog_OTOOL"; then
7259   ac_ct_OTOOL=$OTOOL
7260   # Extract the first word of "otool", so it can be a program name with args.
7261 set dummy otool; ac_word=$2
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7263 $as_echo_n "checking for $ac_word... " >&6; }
7264 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7265   $as_echo_n "(cached) " >&6
7266 else
7267   if test -n "$ac_ct_OTOOL"; then
7268   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7269 else
7270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7271 for as_dir in $PATH
7272 do
7273   IFS=$as_save_IFS
7274   test -z "$as_dir" && as_dir=.
7275     for ac_exec_ext in '' $ac_executable_extensions; do
7276   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7277     ac_cv_prog_ac_ct_OTOOL="otool"
7278     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7279     break 2
7280   fi
7281 done
7282   done
7283 IFS=$as_save_IFS
7284
7285 fi
7286 fi
7287 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7288 if test -n "$ac_ct_OTOOL"; then
7289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7290 $as_echo "$ac_ct_OTOOL" >&6; }
7291 else
7292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7293 $as_echo "no" >&6; }
7294 fi
7295
7296   if test "x$ac_ct_OTOOL" = x; then
7297     OTOOL=":"
7298   else
7299     case $cross_compiling:$ac_tool_warned in
7300 yes:)
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7302 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7303 ac_tool_warned=yes ;;
7304 esac
7305     OTOOL=$ac_ct_OTOOL
7306   fi
7307 else
7308   OTOOL="$ac_cv_prog_OTOOL"
7309 fi
7310
7311     if test -n "$ac_tool_prefix"; then
7312   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7313 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7315 $as_echo_n "checking for $ac_word... " >&6; }
7316 if ${ac_cv_prog_OTOOL64+:} false; then :
7317   $as_echo_n "(cached) " >&6
7318 else
7319   if test -n "$OTOOL64"; then
7320   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7321 else
7322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7323 for as_dir in $PATH
7324 do
7325   IFS=$as_save_IFS
7326   test -z "$as_dir" && as_dir=.
7327     for ac_exec_ext in '' $ac_executable_extensions; do
7328   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7329     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7330     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7331     break 2
7332   fi
7333 done
7334   done
7335 IFS=$as_save_IFS
7336
7337 fi
7338 fi
7339 OTOOL64=$ac_cv_prog_OTOOL64
7340 if test -n "$OTOOL64"; then
7341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7342 $as_echo "$OTOOL64" >&6; }
7343 else
7344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7345 $as_echo "no" >&6; }
7346 fi
7347
7348
7349 fi
7350 if test -z "$ac_cv_prog_OTOOL64"; then
7351   ac_ct_OTOOL64=$OTOOL64
7352   # Extract the first word of "otool64", so it can be a program name with args.
7353 set dummy otool64; ac_word=$2
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7355 $as_echo_n "checking for $ac_word... " >&6; }
7356 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7357   $as_echo_n "(cached) " >&6
7358 else
7359   if test -n "$ac_ct_OTOOL64"; then
7360   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7361 else
7362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7363 for as_dir in $PATH
7364 do
7365   IFS=$as_save_IFS
7366   test -z "$as_dir" && as_dir=.
7367     for ac_exec_ext in '' $ac_executable_extensions; do
7368   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7369     ac_cv_prog_ac_ct_OTOOL64="otool64"
7370     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7371     break 2
7372   fi
7373 done
7374   done
7375 IFS=$as_save_IFS
7376
7377 fi
7378 fi
7379 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7380 if test -n "$ac_ct_OTOOL64"; then
7381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7382 $as_echo "$ac_ct_OTOOL64" >&6; }
7383 else
7384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7385 $as_echo "no" >&6; }
7386 fi
7387
7388   if test "x$ac_ct_OTOOL64" = x; then
7389     OTOOL64=":"
7390   else
7391     case $cross_compiling:$ac_tool_warned in
7392 yes:)
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7394 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7395 ac_tool_warned=yes ;;
7396 esac
7397     OTOOL64=$ac_ct_OTOOL64
7398   fi
7399 else
7400   OTOOL64="$ac_cv_prog_OTOOL64"
7401 fi
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7430 $as_echo_n "checking for -single_module linker flag... " >&6; }
7431 if ${lt_cv_apple_cc_single_mod+:} false; then :
7432   $as_echo_n "(cached) " >&6
7433 else
7434   lt_cv_apple_cc_single_mod=no
7435       if test -z "${LT_MULTI_MODULE}"; then
7436         # By default we will add the -single_module flag. You can override
7437         # by either setting the environment variable LT_MULTI_MODULE
7438         # non-empty at configure time, or by adding -multi_module to the
7439         # link flags.
7440         rm -rf libconftest.dylib*
7441         echo "int foo(void){return 1;}" > conftest.c
7442         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7443 -dynamiclib -Wl,-single_module conftest.c" >&5
7444         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7445           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7446         _lt_result=$?
7447         # If there is a non-empty error log, and "single_module"
7448         # appears in it, assume the flag caused a linker warning
7449         if test -s conftest.err && $GREP single_module conftest.err; then
7450           cat conftest.err >&5
7451         # Otherwise, if the output was created with a 0 exit code from
7452         # the compiler, it worked.
7453         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7454           lt_cv_apple_cc_single_mod=yes
7455         else
7456           cat conftest.err >&5
7457         fi
7458         rm -rf libconftest.dylib*
7459         rm -f conftest.*
7460       fi
7461 fi
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7463 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7464
7465     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7466 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7467 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7468   $as_echo_n "(cached) " >&6
7469 else
7470   lt_cv_ld_exported_symbols_list=no
7471       save_LDFLAGS=$LDFLAGS
7472       echo "_main" > conftest.sym
7473       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7474       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7475 /* end confdefs.h.  */
7476
7477 int
7478 main ()
7479 {
7480
7481   ;
7482   return 0;
7483 }
7484 _ACEOF
7485 if ac_fn_c_try_link "$LINENO"; then :
7486   lt_cv_ld_exported_symbols_list=yes
7487 else
7488   lt_cv_ld_exported_symbols_list=no
7489 fi
7490 rm -f core conftest.err conftest.$ac_objext \
7491     conftest$ac_exeext conftest.$ac_ext
7492         LDFLAGS="$save_LDFLAGS"
7493
7494 fi
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7496 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7497
7498     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7499 $as_echo_n "checking for -force_load linker flag... " >&6; }
7500 if ${lt_cv_ld_force_load+:} false; then :
7501   $as_echo_n "(cached) " >&6
7502 else
7503   lt_cv_ld_force_load=no
7504       cat > conftest.c << _LT_EOF
7505 int forced_loaded() { return 2;}
7506 _LT_EOF
7507       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7508       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7509       echo "$AR cru libconftest.a conftest.o" >&5
7510       $AR cru libconftest.a conftest.o 2>&5
7511       echo "$RANLIB libconftest.a" >&5
7512       $RANLIB libconftest.a 2>&5
7513       cat > conftest.c << _LT_EOF
7514 int main() { return 0;}
7515 _LT_EOF
7516       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7517       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7518       _lt_result=$?
7519       if test -s conftest.err && $GREP force_load conftest.err; then
7520         cat conftest.err >&5
7521       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7522         lt_cv_ld_force_load=yes
7523       else
7524         cat conftest.err >&5
7525       fi
7526         rm -f conftest.err libconftest.a conftest conftest.c
7527         rm -rf conftest.dSYM
7528
7529 fi
7530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7531 $as_echo "$lt_cv_ld_force_load" >&6; }
7532     case $host_os in
7533     rhapsody* | darwin1.[012])
7534       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7535     darwin1.*)
7536       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7537     darwin*) # darwin 5.x on
7538       # if running on 10.5 or later, the deployment target defaults
7539       # to the OS version, if on x86, and 10.4, the deployment
7540       # target defaults to 10.4. Don't you love it?
7541       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7542         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7543           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7544         10.[012]*)
7545           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7546         10.*)
7547           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7548       esac
7549     ;;
7550   esac
7551     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7552       _lt_dar_single_mod='$single_module'
7553     fi
7554     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7555       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7556     else
7557       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7558     fi
7559     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7560       _lt_dsymutil='~$DSYMUTIL $lib || :'
7561     else
7562       _lt_dsymutil=
7563     fi
7564     ;;
7565   esac
7566
7567 ac_ext=c
7568 ac_cpp='$CPP $CPPFLAGS'
7569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7573 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7574 # On Suns, sometimes $CPP names a directory.
7575 if test -n "$CPP" && test -d "$CPP"; then
7576   CPP=
7577 fi
7578 if test -z "$CPP"; then
7579   if ${ac_cv_prog_CPP+:} false; then :
7580   $as_echo_n "(cached) " >&6
7581 else
7582       # Double quotes because CPP needs to be expanded
7583     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7584     do
7585       ac_preproc_ok=false
7586 for ac_c_preproc_warn_flag in '' yes
7587 do
7588   # Use a header file that comes with gcc, so configuring glibc
7589   # with a fresh cross-compiler works.
7590   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7591   # <limits.h> exists even on freestanding compilers.
7592   # On the NeXT, cc -E runs the code through the compiler's parser,
7593   # not just through cpp. "Syntax error" is here to catch this case.
7594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7595 /* end confdefs.h.  */
7596 #ifdef __STDC__
7597 # include <limits.h>
7598 #else
7599 # include <assert.h>
7600 #endif
7601                      Syntax error
7602 _ACEOF
7603 if ac_fn_c_try_cpp "$LINENO"; then :
7604
7605 else
7606   # Broken: fails on valid input.
7607 continue
7608 fi
7609 rm -f conftest.err conftest.i conftest.$ac_ext
7610
7611   # OK, works on sane cases.  Now check whether nonexistent headers
7612   # can be detected and how.
7613   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7614 /* end confdefs.h.  */
7615 #include <ac_nonexistent.h>
7616 _ACEOF
7617 if ac_fn_c_try_cpp "$LINENO"; then :
7618   # Broken: success on invalid input.
7619 continue
7620 else
7621   # Passes both tests.
7622 ac_preproc_ok=:
7623 break
7624 fi
7625 rm -f conftest.err conftest.i conftest.$ac_ext
7626
7627 done
7628 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7629 rm -f conftest.i conftest.err conftest.$ac_ext
7630 if $ac_preproc_ok; then :
7631   break
7632 fi
7633
7634     done
7635     ac_cv_prog_CPP=$CPP
7636
7637 fi
7638   CPP=$ac_cv_prog_CPP
7639 else
7640   ac_cv_prog_CPP=$CPP
7641 fi
7642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7643 $as_echo "$CPP" >&6; }
7644 ac_preproc_ok=false
7645 for ac_c_preproc_warn_flag in '' yes
7646 do
7647   # Use a header file that comes with gcc, so configuring glibc
7648   # with a fresh cross-compiler works.
7649   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7650   # <limits.h> exists even on freestanding compilers.
7651   # On the NeXT, cc -E runs the code through the compiler's parser,
7652   # not just through cpp. "Syntax error" is here to catch this case.
7653   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7654 /* end confdefs.h.  */
7655 #ifdef __STDC__
7656 # include <limits.h>
7657 #else
7658 # include <assert.h>
7659 #endif
7660                      Syntax error
7661 _ACEOF
7662 if ac_fn_c_try_cpp "$LINENO"; then :
7663
7664 else
7665   # Broken: fails on valid input.
7666 continue
7667 fi
7668 rm -f conftest.err conftest.i conftest.$ac_ext
7669
7670   # OK, works on sane cases.  Now check whether nonexistent headers
7671   # can be detected and how.
7672   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7673 /* end confdefs.h.  */
7674 #include <ac_nonexistent.h>
7675 _ACEOF
7676 if ac_fn_c_try_cpp "$LINENO"; then :
7677   # Broken: success on invalid input.
7678 continue
7679 else
7680   # Passes both tests.
7681 ac_preproc_ok=:
7682 break
7683 fi
7684 rm -f conftest.err conftest.i conftest.$ac_ext
7685
7686 done
7687 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7688 rm -f conftest.i conftest.err conftest.$ac_ext
7689 if $ac_preproc_ok; then :
7690
7691 else
7692   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7693 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7694 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7695 See \`config.log' for more details" "$LINENO" 5; }
7696 fi
7697
7698 ac_ext=c
7699 ac_cpp='$CPP $CPPFLAGS'
7700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7703
7704
7705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7706 $as_echo_n "checking for ANSI C header files... " >&6; }
7707 if ${ac_cv_header_stdc+:} false; then :
7708   $as_echo_n "(cached) " >&6
7709 else
7710   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7711 /* end confdefs.h.  */
7712 #include <stdlib.h>
7713 #include <stdarg.h>
7714 #include <string.h>
7715 #include <float.h>
7716
7717 int
7718 main ()
7719 {
7720
7721   ;
7722   return 0;
7723 }
7724 _ACEOF
7725 if ac_fn_c_try_compile "$LINENO"; then :
7726   ac_cv_header_stdc=yes
7727 else
7728   ac_cv_header_stdc=no
7729 fi
7730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7731
7732 if test $ac_cv_header_stdc = yes; then
7733   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7735 /* end confdefs.h.  */
7736 #include <string.h>
7737
7738 _ACEOF
7739 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7740   $EGREP "memchr" >/dev/null 2>&1; then :
7741
7742 else
7743   ac_cv_header_stdc=no
7744 fi
7745 rm -f conftest*
7746
7747 fi
7748
7749 if test $ac_cv_header_stdc = yes; then
7750   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7751   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7752 /* end confdefs.h.  */
7753 #include <stdlib.h>
7754
7755 _ACEOF
7756 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7757   $EGREP "free" >/dev/null 2>&1; then :
7758
7759 else
7760   ac_cv_header_stdc=no
7761 fi
7762 rm -f conftest*
7763
7764 fi
7765
7766 if test $ac_cv_header_stdc = yes; then
7767   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7768   if test "$cross_compiling" = yes; then :
7769   :
7770 else
7771   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7772 /* end confdefs.h.  */
7773 #include <ctype.h>
7774 #include <stdlib.h>
7775 #if ((' ' & 0x0FF) == 0x020)
7776 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7777 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7778 #else
7779 # define ISLOWER(c) \
7780                    (('a' <= (c) && (c) <= 'i') \
7781                      || ('j' <= (c) && (c) <= 'r') \
7782                      || ('s' <= (c) && (c) <= 'z'))
7783 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7784 #endif
7785
7786 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7787 int
7788 main ()
7789 {
7790   int i;
7791   for (i = 0; i < 256; i++)
7792     if (XOR (islower (i), ISLOWER (i))
7793         || toupper (i) != TOUPPER (i))
7794       return 2;
7795   return 0;
7796 }
7797 _ACEOF
7798 if ac_fn_c_try_run "$LINENO"; then :
7799
7800 else
7801   ac_cv_header_stdc=no
7802 fi
7803 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7804   conftest.$ac_objext conftest.beam conftest.$ac_ext
7805 fi
7806
7807 fi
7808 fi
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7810 $as_echo "$ac_cv_header_stdc" >&6; }
7811 if test $ac_cv_header_stdc = yes; then
7812
7813 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7814
7815 fi
7816
7817 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7818 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7819                   inttypes.h stdint.h unistd.h
7820 do :
7821   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7822 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7823 "
7824 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7825   cat >>confdefs.h <<_ACEOF
7826 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7827 _ACEOF
7828
7829 fi
7830
7831 done
7832
7833
7834 for ac_header in dlfcn.h
7835 do :
7836   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7837 "
7838 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7839   cat >>confdefs.h <<_ACEOF
7840 #define HAVE_DLFCN_H 1
7841 _ACEOF
7842
7843 fi
7844
7845 done
7846
7847
7848
7849
7850
7851 # Set options
7852 # Check whether --enable-static was given.
7853 if test "${enable_static+set}" = set; then :
7854   enableval=$enable_static; p=${PACKAGE-default}
7855     case $enableval in
7856     yes) enable_static=yes ;;
7857     no) enable_static=no ;;
7858     *)
7859      enable_static=no
7860       # Look at the argument we got.  We use all the common list separators.
7861       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7862       for pkg in $enableval; do
7863         IFS="$lt_save_ifs"
7864         if test "X$pkg" = "X$p"; then
7865           enable_static=yes
7866         fi
7867       done
7868       IFS="$lt_save_ifs"
7869       ;;
7870     esac
7871 else
7872   enable_static=no
7873 fi
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884         enable_dlopen=no
7885
7886
7887   enable_win32_dll=no
7888
7889
7890             # Check whether --enable-shared was given.
7891 if test "${enable_shared+set}" = set; then :
7892   enableval=$enable_shared; p=${PACKAGE-default}
7893     case $enableval in
7894     yes) enable_shared=yes ;;
7895     no) enable_shared=no ;;
7896     *)
7897       enable_shared=no
7898       # Look at the argument we got.  We use all the common list separators.
7899       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7900       for pkg in $enableval; do
7901         IFS="$lt_save_ifs"
7902         if test "X$pkg" = "X$p"; then
7903           enable_shared=yes
7904         fi
7905       done
7906       IFS="$lt_save_ifs"
7907       ;;
7908     esac
7909 else
7910   enable_shared=yes
7911 fi
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923 # Check whether --with-pic was given.
7924 if test "${with_pic+set}" = set; then :
7925   withval=$with_pic; lt_p=${PACKAGE-default}
7926     case $withval in
7927     yes|no) pic_mode=$withval ;;
7928     *)
7929       pic_mode=default
7930       # Look at the argument we got.  We use all the common list separators.
7931       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7932       for lt_pkg in $withval; do
7933         IFS="$lt_save_ifs"
7934         if test "X$lt_pkg" = "X$lt_p"; then
7935           pic_mode=yes
7936         fi
7937       done
7938       IFS="$lt_save_ifs"
7939       ;;
7940     esac
7941 else
7942   pic_mode=default
7943 fi
7944
7945
7946 test -z "$pic_mode" && pic_mode=default
7947
7948
7949
7950
7951
7952
7953
7954   # Check whether --enable-fast-install was given.
7955 if test "${enable_fast_install+set}" = set; then :
7956   enableval=$enable_fast_install; p=${PACKAGE-default}
7957     case $enableval in
7958     yes) enable_fast_install=yes ;;
7959     no) enable_fast_install=no ;;
7960     *)
7961       enable_fast_install=no
7962       # Look at the argument we got.  We use all the common list separators.
7963       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7964       for pkg in $enableval; do
7965         IFS="$lt_save_ifs"
7966         if test "X$pkg" = "X$p"; then
7967           enable_fast_install=yes
7968         fi
7969       done
7970       IFS="$lt_save_ifs"
7971       ;;
7972     esac
7973 else
7974   enable_fast_install=yes
7975 fi
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987 # This can be used to rebuild libtool when needed
7988 LIBTOOL_DEPS="$ltmain"
7989
7990 # Always use our own libtool.
7991 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022 test -z "$LN_S" && LN_S="ln -s"
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037 if test -n "${ZSH_VERSION+set}" ; then
8038    setopt NO_GLOB_SUBST
8039 fi
8040
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8042 $as_echo_n "checking for objdir... " >&6; }
8043 if ${lt_cv_objdir+:} false; then :
8044   $as_echo_n "(cached) " >&6
8045 else
8046   rm -f .libs 2>/dev/null
8047 mkdir .libs 2>/dev/null
8048 if test -d .libs; then
8049   lt_cv_objdir=.libs
8050 else
8051   # MS-DOS does not allow filenames that begin with a dot.
8052   lt_cv_objdir=_libs
8053 fi
8054 rmdir .libs 2>/dev/null
8055 fi
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8057 $as_echo "$lt_cv_objdir" >&6; }
8058 objdir=$lt_cv_objdir
8059
8060
8061
8062
8063
8064 cat >>confdefs.h <<_ACEOF
8065 #define LT_OBJDIR "$lt_cv_objdir/"
8066 _ACEOF
8067
8068
8069
8070
8071 case $host_os in
8072 aix3*)
8073   # AIX sometimes has problems with the GCC collect2 program.  For some
8074   # reason, if we set the COLLECT_NAMES environment variable, the problems
8075   # vanish in a puff of smoke.
8076   if test "X${COLLECT_NAMES+set}" != Xset; then
8077     COLLECT_NAMES=
8078     export COLLECT_NAMES
8079   fi
8080   ;;
8081 esac
8082
8083 # Global variables:
8084 ofile=libtool
8085 can_build_shared=yes
8086
8087 # All known linkers require a `.a' archive for static linking (except MSVC,
8088 # which needs '.lib').
8089 libext=a
8090
8091 with_gnu_ld="$lt_cv_prog_gnu_ld"
8092
8093 old_CC="$CC"
8094 old_CFLAGS="$CFLAGS"
8095
8096 # Set sane defaults for various variables
8097 test -z "$CC" && CC=cc
8098 test -z "$LTCC" && LTCC=$CC
8099 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8100 test -z "$LD" && LD=ld
8101 test -z "$ac_objext" && ac_objext=o
8102
8103 for cc_temp in $compiler""; do
8104   case $cc_temp in
8105     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8106     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8107     \-*) ;;
8108     *) break;;
8109   esac
8110 done
8111 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8112
8113
8114 # Only perform the check for file, if the check method requires it
8115 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8116 case $deplibs_check_method in
8117 file_magic*)
8118   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8119     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8120 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8121 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8122   $as_echo_n "(cached) " >&6
8123 else
8124   case $MAGIC_CMD in
8125 [\\/*] |  ?:[\\/]*)
8126   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8127   ;;
8128 *)
8129   lt_save_MAGIC_CMD="$MAGIC_CMD"
8130   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8131   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8132   for ac_dir in $ac_dummy; do
8133     IFS="$lt_save_ifs"
8134     test -z "$ac_dir" && ac_dir=.
8135     if test -f $ac_dir/${ac_tool_prefix}file; then
8136       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8137       if test -n "$file_magic_test_file"; then
8138         case $deplibs_check_method in
8139         "file_magic "*)
8140           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8141           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8142           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8143             $EGREP "$file_magic_regex" > /dev/null; then
8144             :
8145           else
8146             cat <<_LT_EOF 1>&2
8147
8148 *** Warning: the command libtool uses to detect shared libraries,
8149 *** $file_magic_cmd, produces output that libtool cannot recognize.
8150 *** The result is that libtool may fail to recognize shared libraries
8151 *** as such.  This will affect the creation of libtool libraries that
8152 *** depend on shared libraries, but programs linked with such libtool
8153 *** libraries will work regardless of this problem.  Nevertheless, you
8154 *** may want to report the problem to your system manager and/or to
8155 *** bug-libtool@gnu.org
8156
8157 _LT_EOF
8158           fi ;;
8159         esac
8160       fi
8161       break
8162     fi
8163   done
8164   IFS="$lt_save_ifs"
8165   MAGIC_CMD="$lt_save_MAGIC_CMD"
8166   ;;
8167 esac
8168 fi
8169
8170 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8171 if test -n "$MAGIC_CMD"; then
8172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8173 $as_echo "$MAGIC_CMD" >&6; }
8174 else
8175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8176 $as_echo "no" >&6; }
8177 fi
8178
8179
8180
8181
8182
8183 if test -z "$lt_cv_path_MAGIC_CMD"; then
8184   if test -n "$ac_tool_prefix"; then
8185     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8186 $as_echo_n "checking for file... " >&6; }
8187 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8188   $as_echo_n "(cached) " >&6
8189 else
8190   case $MAGIC_CMD in
8191 [\\/*] |  ?:[\\/]*)
8192   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8193   ;;
8194 *)
8195   lt_save_MAGIC_CMD="$MAGIC_CMD"
8196   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8197   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8198   for ac_dir in $ac_dummy; do
8199     IFS="$lt_save_ifs"
8200     test -z "$ac_dir" && ac_dir=.
8201     if test -f $ac_dir/file; then
8202       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8203       if test -n "$file_magic_test_file"; then
8204         case $deplibs_check_method in
8205         "file_magic "*)
8206           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8207           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8208           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8209             $EGREP "$file_magic_regex" > /dev/null; then
8210             :
8211           else
8212             cat <<_LT_EOF 1>&2
8213
8214 *** Warning: the command libtool uses to detect shared libraries,
8215 *** $file_magic_cmd, produces output that libtool cannot recognize.
8216 *** The result is that libtool may fail to recognize shared libraries
8217 *** as such.  This will affect the creation of libtool libraries that
8218 *** depend on shared libraries, but programs linked with such libtool
8219 *** libraries will work regardless of this problem.  Nevertheless, you
8220 *** may want to report the problem to your system manager and/or to
8221 *** bug-libtool@gnu.org
8222
8223 _LT_EOF
8224           fi ;;
8225         esac
8226       fi
8227       break
8228     fi
8229   done
8230   IFS="$lt_save_ifs"
8231   MAGIC_CMD="$lt_save_MAGIC_CMD"
8232   ;;
8233 esac
8234 fi
8235
8236 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8237 if test -n "$MAGIC_CMD"; then
8238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8239 $as_echo "$MAGIC_CMD" >&6; }
8240 else
8241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8242 $as_echo "no" >&6; }
8243 fi
8244
8245
8246   else
8247     MAGIC_CMD=:
8248   fi
8249 fi
8250
8251   fi
8252   ;;
8253 esac
8254
8255 # Use C for the default configuration in the libtool script
8256
8257 lt_save_CC="$CC"
8258 ac_ext=c
8259 ac_cpp='$CPP $CPPFLAGS'
8260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8263
8264
8265 # Source file extension for C test sources.
8266 ac_ext=c
8267
8268 # Object file extension for compiled C test sources.
8269 objext=o
8270 objext=$objext
8271
8272 # Code to be used in simple compile tests
8273 lt_simple_compile_test_code="int some_variable = 0;"
8274
8275 # Code to be used in simple link tests
8276 lt_simple_link_test_code='int main(){return(0);}'
8277
8278
8279
8280
8281
8282
8283
8284 # If no C compiler was specified, use CC.
8285 LTCC=${LTCC-"$CC"}
8286
8287 # If no C compiler flags were specified, use CFLAGS.
8288 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8289
8290 # Allow CC to be a program name with arguments.
8291 compiler=$CC
8292
8293 # Save the default compiler, since it gets overwritten when the other
8294 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8295 compiler_DEFAULT=$CC
8296
8297 # save warnings/boilerplate of simple test code
8298 ac_outfile=conftest.$ac_objext
8299 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8300 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8301 _lt_compiler_boilerplate=`cat conftest.err`
8302 $RM conftest*
8303
8304 ac_outfile=conftest.$ac_objext
8305 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8306 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8307 _lt_linker_boilerplate=`cat conftest.err`
8308 $RM -r conftest*
8309
8310
8311 ## CAVEAT EMPTOR:
8312 ## There is no encapsulation within the following macros, do not change
8313 ## the running order or otherwise move them around unless you know exactly
8314 ## what you are doing...
8315 if test -n "$compiler"; then
8316
8317 lt_prog_compiler_no_builtin_flag=
8318
8319 if test "$GCC" = yes; then
8320   case $cc_basename in
8321   nvcc*)
8322     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8323   *)
8324     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8325   esac
8326
8327   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8328 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8329 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8330   $as_echo_n "(cached) " >&6
8331 else
8332   lt_cv_prog_compiler_rtti_exceptions=no
8333    ac_outfile=conftest.$ac_objext
8334    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8335    lt_compiler_flag="-fno-rtti -fno-exceptions"
8336    # Insert the option either (1) after the last *FLAGS variable, or
8337    # (2) before a word containing "conftest.", or (3) at the end.
8338    # Note that $ac_compile itself does not contain backslashes and begins
8339    # with a dollar sign (not a hyphen), so the echo should work correctly.
8340    # The option is referenced via a variable to avoid confusing sed.
8341    lt_compile=`echo "$ac_compile" | $SED \
8342    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8343    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8344    -e 's:$: $lt_compiler_flag:'`
8345    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8346    (eval "$lt_compile" 2>conftest.err)
8347    ac_status=$?
8348    cat conftest.err >&5
8349    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8350    if (exit $ac_status) && test -s "$ac_outfile"; then
8351      # The compiler can only warn and ignore the option if not recognized
8352      # So say no if there are warnings other than the usual output.
8353      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8354      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8355      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8356        lt_cv_prog_compiler_rtti_exceptions=yes
8357      fi
8358    fi
8359    $RM conftest*
8360
8361 fi
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8363 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8364
8365 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8366     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8367 else
8368     :
8369 fi
8370
8371 fi
8372
8373
8374
8375
8376
8377
8378   lt_prog_compiler_wl=
8379 lt_prog_compiler_pic=
8380 lt_prog_compiler_static=
8381
8382
8383   if test "$GCC" = yes; then
8384     lt_prog_compiler_wl='-Wl,'
8385     lt_prog_compiler_static='-static'
8386
8387     case $host_os in
8388       aix*)
8389       # All AIX code is PIC.
8390       if test "$host_cpu" = ia64; then
8391         # AIX 5 now supports IA64 processor
8392         lt_prog_compiler_static='-Bstatic'
8393       fi
8394       ;;
8395
8396     amigaos*)
8397       case $host_cpu in
8398       powerpc)
8399             # see comment about AmigaOS4 .so support
8400             lt_prog_compiler_pic='-fPIC'
8401         ;;
8402       m68k)
8403             # FIXME: we need at least 68020 code to build shared libraries, but
8404             # adding the `-m68020' flag to GCC prevents building anything better,
8405             # like `-m68040'.
8406             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8407         ;;
8408       esac
8409       ;;
8410
8411     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8412       # PIC is the default for these OSes.
8413       ;;
8414
8415     mingw* | cygwin* | pw32* | os2* | cegcc*)
8416       # This hack is so that the source file can tell whether it is being
8417       # built for inclusion in a dll (and should export symbols for example).
8418       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8419       # (--disable-auto-import) libraries
8420       lt_prog_compiler_pic='-DDLL_EXPORT'
8421       ;;
8422
8423     darwin* | rhapsody*)
8424       # PIC is the default on this platform
8425       # Common symbols not allowed in MH_DYLIB files
8426       lt_prog_compiler_pic='-fno-common'
8427       ;;
8428
8429     haiku*)
8430       # PIC is the default for Haiku.
8431       # The "-static" flag exists, but is broken.
8432       lt_prog_compiler_static=
8433       ;;
8434
8435     hpux*)
8436       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8437       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8438       # sets the default TLS model and affects inlining.
8439       case $host_cpu in
8440       hppa*64*)
8441         # +Z the default
8442         ;;
8443       *)
8444         lt_prog_compiler_pic='-fPIC'
8445         ;;
8446       esac
8447       ;;
8448
8449     interix[3-9]*)
8450       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8451       # Instead, we relocate shared libraries at runtime.
8452       ;;
8453
8454     msdosdjgpp*)
8455       # Just because we use GCC doesn't mean we suddenly get shared libraries
8456       # on systems that don't support them.
8457       lt_prog_compiler_can_build_shared=no
8458       enable_shared=no
8459       ;;
8460
8461     *nto* | *qnx*)
8462       # QNX uses GNU C++, but need to define -shared option too, otherwise
8463       # it will coredump.
8464       lt_prog_compiler_pic='-fPIC -shared'
8465       ;;
8466
8467     sysv4*MP*)
8468       if test -d /usr/nec; then
8469         lt_prog_compiler_pic=-Kconform_pic
8470       fi
8471       ;;
8472
8473     *)
8474       lt_prog_compiler_pic='-fPIC'
8475       ;;
8476     esac
8477
8478     case $cc_basename in
8479     nvcc*) # Cuda Compiler Driver 2.2
8480       lt_prog_compiler_wl='-Xlinker '
8481       if test -n "$lt_prog_compiler_pic"; then
8482         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8483       fi
8484       ;;
8485     esac
8486   else
8487     # PORTME Check for flag to pass linker flags through the system compiler.
8488     case $host_os in
8489     aix*)
8490       lt_prog_compiler_wl='-Wl,'
8491       if test "$host_cpu" = ia64; then
8492         # AIX 5 now supports IA64 processor
8493         lt_prog_compiler_static='-Bstatic'
8494       else
8495         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8496       fi
8497       ;;
8498
8499     mingw* | cygwin* | pw32* | os2* | cegcc*)
8500       # This hack is so that the source file can tell whether it is being
8501       # built for inclusion in a dll (and should export symbols for example).
8502       lt_prog_compiler_pic='-DDLL_EXPORT'
8503       ;;
8504
8505     hpux9* | hpux10* | hpux11*)
8506       lt_prog_compiler_wl='-Wl,'
8507       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8508       # not for PA HP-UX.
8509       case $host_cpu in
8510       hppa*64*|ia64*)
8511         # +Z the default
8512         ;;
8513       *)
8514         lt_prog_compiler_pic='+Z'
8515         ;;
8516       esac
8517       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8518       lt_prog_compiler_static='${wl}-a ${wl}archive'
8519       ;;
8520
8521     irix5* | irix6* | nonstopux*)
8522       lt_prog_compiler_wl='-Wl,'
8523       # PIC (with -KPIC) is the default.
8524       lt_prog_compiler_static='-non_shared'
8525       ;;
8526
8527     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8528       case $cc_basename in
8529       # old Intel for x86_64 which still supported -KPIC.
8530       ecc*)
8531         lt_prog_compiler_wl='-Wl,'
8532         lt_prog_compiler_pic='-KPIC'
8533         lt_prog_compiler_static='-static'
8534         ;;
8535       # icc used to be incompatible with GCC.
8536       # ICC 10 doesn't accept -KPIC any more.
8537       icc* | ifort*)
8538         lt_prog_compiler_wl='-Wl,'
8539         lt_prog_compiler_pic='-fPIC'
8540         lt_prog_compiler_static='-static'
8541         ;;
8542       # Lahey Fortran 8.1.
8543       lf95*)
8544         lt_prog_compiler_wl='-Wl,'
8545         lt_prog_compiler_pic='--shared'
8546         lt_prog_compiler_static='--static'
8547         ;;
8548       nagfor*)
8549         # NAG Fortran compiler
8550         lt_prog_compiler_wl='-Wl,-Wl,,'
8551         lt_prog_compiler_pic='-PIC'
8552         lt_prog_compiler_static='-Bstatic'
8553         ;;
8554       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8555         # Portland Group compilers (*not* the Pentium gcc compiler,
8556         # which looks to be a dead project)
8557         lt_prog_compiler_wl='-Wl,'
8558         lt_prog_compiler_pic='-fpic'
8559         lt_prog_compiler_static='-Bstatic'
8560         ;;
8561       ccc*)
8562         lt_prog_compiler_wl='-Wl,'
8563         # All Alpha code is PIC.
8564         lt_prog_compiler_static='-non_shared'
8565         ;;
8566       xl* | bgxl* | bgf* | mpixl*)
8567         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8568         lt_prog_compiler_wl='-Wl,'
8569         lt_prog_compiler_pic='-qpic'
8570         lt_prog_compiler_static='-qstaticlink'
8571         ;;
8572       *)
8573         case `$CC -V 2>&1 | sed 5q` in
8574         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8575           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8576           lt_prog_compiler_pic='-KPIC'
8577           lt_prog_compiler_static='-Bstatic'
8578           lt_prog_compiler_wl=''
8579           ;;
8580         *Sun\ F* | *Sun*Fortran*)
8581           lt_prog_compiler_pic='-KPIC'
8582           lt_prog_compiler_static='-Bstatic'
8583           lt_prog_compiler_wl='-Qoption ld '
8584           ;;
8585         *Sun\ C*)
8586           # Sun C 5.9
8587           lt_prog_compiler_pic='-KPIC'
8588           lt_prog_compiler_static='-Bstatic'
8589           lt_prog_compiler_wl='-Wl,'
8590           ;;
8591         *Intel*\ [CF]*Compiler*)
8592           lt_prog_compiler_wl='-Wl,'
8593           lt_prog_compiler_pic='-fPIC'
8594           lt_prog_compiler_static='-static'
8595           ;;
8596         *Portland\ Group*)
8597           lt_prog_compiler_wl='-Wl,'
8598           lt_prog_compiler_pic='-fpic'
8599           lt_prog_compiler_static='-Bstatic'
8600           ;;
8601         esac
8602         ;;
8603       esac
8604       ;;
8605
8606     newsos6)
8607       lt_prog_compiler_pic='-KPIC'
8608       lt_prog_compiler_static='-Bstatic'
8609       ;;
8610
8611     *nto* | *qnx*)
8612       # QNX uses GNU C++, but need to define -shared option too, otherwise
8613       # it will coredump.
8614       lt_prog_compiler_pic='-fPIC -shared'
8615       ;;
8616
8617     osf3* | osf4* | osf5*)
8618       lt_prog_compiler_wl='-Wl,'
8619       # All OSF/1 code is PIC.
8620       lt_prog_compiler_static='-non_shared'
8621       ;;
8622
8623     rdos*)
8624       lt_prog_compiler_static='-non_shared'
8625       ;;
8626
8627     solaris*)
8628       lt_prog_compiler_pic='-KPIC'
8629       lt_prog_compiler_static='-Bstatic'
8630       case $cc_basename in
8631       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8632         lt_prog_compiler_wl='-Qoption ld ';;
8633       *)
8634         lt_prog_compiler_wl='-Wl,';;
8635       esac
8636       ;;
8637
8638     sunos4*)
8639       lt_prog_compiler_wl='-Qoption ld '
8640       lt_prog_compiler_pic='-PIC'
8641       lt_prog_compiler_static='-Bstatic'
8642       ;;
8643
8644     sysv4 | sysv4.2uw2* | sysv4.3*)
8645       lt_prog_compiler_wl='-Wl,'
8646       lt_prog_compiler_pic='-KPIC'
8647       lt_prog_compiler_static='-Bstatic'
8648       ;;
8649
8650     sysv4*MP*)
8651       if test -d /usr/nec ;then
8652         lt_prog_compiler_pic='-Kconform_pic'
8653         lt_prog_compiler_static='-Bstatic'
8654       fi
8655       ;;
8656
8657     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8658       lt_prog_compiler_wl='-Wl,'
8659       lt_prog_compiler_pic='-KPIC'
8660       lt_prog_compiler_static='-Bstatic'
8661       ;;
8662
8663     unicos*)
8664       lt_prog_compiler_wl='-Wl,'
8665       lt_prog_compiler_can_build_shared=no
8666       ;;
8667
8668     uts4*)
8669       lt_prog_compiler_pic='-pic'
8670       lt_prog_compiler_static='-Bstatic'
8671       ;;
8672
8673     *)
8674       lt_prog_compiler_can_build_shared=no
8675       ;;
8676     esac
8677   fi
8678
8679 case $host_os in
8680   # For platforms which do not support PIC, -DPIC is meaningless:
8681   *djgpp*)
8682     lt_prog_compiler_pic=
8683     ;;
8684   *)
8685     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8686     ;;
8687 esac
8688
8689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8690 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8691 if ${lt_cv_prog_compiler_pic+:} false; then :
8692   $as_echo_n "(cached) " >&6
8693 else
8694   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8695 fi
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8697 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8698 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8699
8700 #
8701 # Check to make sure the PIC flag actually works.
8702 #
8703 if test -n "$lt_prog_compiler_pic"; then
8704   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8705 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8706 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8707   $as_echo_n "(cached) " >&6
8708 else
8709   lt_cv_prog_compiler_pic_works=no
8710    ac_outfile=conftest.$ac_objext
8711    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8712    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8713    # Insert the option either (1) after the last *FLAGS variable, or
8714    # (2) before a word containing "conftest.", or (3) at the end.
8715    # Note that $ac_compile itself does not contain backslashes and begins
8716    # with a dollar sign (not a hyphen), so the echo should work correctly.
8717    # The option is referenced via a variable to avoid confusing sed.
8718    lt_compile=`echo "$ac_compile" | $SED \
8719    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8720    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8721    -e 's:$: $lt_compiler_flag:'`
8722    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8723    (eval "$lt_compile" 2>conftest.err)
8724    ac_status=$?
8725    cat conftest.err >&5
8726    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8727    if (exit $ac_status) && test -s "$ac_outfile"; then
8728      # The compiler can only warn and ignore the option if not recognized
8729      # So say no if there are warnings other than the usual output.
8730      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8731      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8732      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8733        lt_cv_prog_compiler_pic_works=yes
8734      fi
8735    fi
8736    $RM conftest*
8737
8738 fi
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8740 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8741
8742 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8743     case $lt_prog_compiler_pic in
8744      "" | " "*) ;;
8745      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8746      esac
8747 else
8748     lt_prog_compiler_pic=
8749      lt_prog_compiler_can_build_shared=no
8750 fi
8751
8752 fi
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764 #
8765 # Check to make sure the static flag actually works.
8766 #
8767 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8769 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8770 if ${lt_cv_prog_compiler_static_works+:} false; then :
8771   $as_echo_n "(cached) " >&6
8772 else
8773   lt_cv_prog_compiler_static_works=no
8774    save_LDFLAGS="$LDFLAGS"
8775    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8776    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8777    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8778      # The linker can only warn and ignore the option if not recognized
8779      # So say no if there are warnings
8780      if test -s conftest.err; then
8781        # Append any errors to the config.log.
8782        cat conftest.err 1>&5
8783        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8784        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8785        if diff conftest.exp conftest.er2 >/dev/null; then
8786          lt_cv_prog_compiler_static_works=yes
8787        fi
8788      else
8789        lt_cv_prog_compiler_static_works=yes
8790      fi
8791    fi
8792    $RM -r conftest*
8793    LDFLAGS="$save_LDFLAGS"
8794
8795 fi
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8797 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8798
8799 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8800     :
8801 else
8802     lt_prog_compiler_static=
8803 fi
8804
8805
8806
8807
8808
8809
8810
8811   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8812 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8813 if ${lt_cv_prog_compiler_c_o+:} false; then :
8814   $as_echo_n "(cached) " >&6
8815 else
8816   lt_cv_prog_compiler_c_o=no
8817    $RM -r conftest 2>/dev/null
8818    mkdir conftest
8819    cd conftest
8820    mkdir out
8821    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8822
8823    lt_compiler_flag="-o out/conftest2.$ac_objext"
8824    # Insert the option either (1) after the last *FLAGS variable, or
8825    # (2) before a word containing "conftest.", or (3) at the end.
8826    # Note that $ac_compile itself does not contain backslashes and begins
8827    # with a dollar sign (not a hyphen), so the echo should work correctly.
8828    lt_compile=`echo "$ac_compile" | $SED \
8829    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8830    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8831    -e 's:$: $lt_compiler_flag:'`
8832    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8833    (eval "$lt_compile" 2>out/conftest.err)
8834    ac_status=$?
8835    cat out/conftest.err >&5
8836    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8837    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8838    then
8839      # The compiler can only warn and ignore the option if not recognized
8840      # So say no if there are warnings
8841      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8842      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8843      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8844        lt_cv_prog_compiler_c_o=yes
8845      fi
8846    fi
8847    chmod u+w . 2>&5
8848    $RM conftest*
8849    # SGI C++ compiler will create directory out/ii_files/ for
8850    # template instantiation
8851    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8852    $RM out/* && rmdir out
8853    cd ..
8854    $RM -r conftest
8855    $RM conftest*
8856
8857 fi
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8859 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8860
8861
8862
8863
8864
8865
8866   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8867 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8868 if ${lt_cv_prog_compiler_c_o+:} false; then :
8869   $as_echo_n "(cached) " >&6
8870 else
8871   lt_cv_prog_compiler_c_o=no
8872    $RM -r conftest 2>/dev/null
8873    mkdir conftest
8874    cd conftest
8875    mkdir out
8876    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8877
8878    lt_compiler_flag="-o out/conftest2.$ac_objext"
8879    # Insert the option either (1) after the last *FLAGS variable, or
8880    # (2) before a word containing "conftest.", or (3) at the end.
8881    # Note that $ac_compile itself does not contain backslashes and begins
8882    # with a dollar sign (not a hyphen), so the echo should work correctly.
8883    lt_compile=`echo "$ac_compile" | $SED \
8884    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8885    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8886    -e 's:$: $lt_compiler_flag:'`
8887    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8888    (eval "$lt_compile" 2>out/conftest.err)
8889    ac_status=$?
8890    cat out/conftest.err >&5
8891    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8892    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8893    then
8894      # The compiler can only warn and ignore the option if not recognized
8895      # So say no if there are warnings
8896      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8897      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8898      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8899        lt_cv_prog_compiler_c_o=yes
8900      fi
8901    fi
8902    chmod u+w . 2>&5
8903    $RM conftest*
8904    # SGI C++ compiler will create directory out/ii_files/ for
8905    # template instantiation
8906    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8907    $RM out/* && rmdir out
8908    cd ..
8909    $RM -r conftest
8910    $RM conftest*
8911
8912 fi
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8914 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8915
8916
8917
8918
8919 hard_links="nottested"
8920 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8921   # do not overwrite the value of need_locks provided by the user
8922   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8923 $as_echo_n "checking if we can lock with hard links... " >&6; }
8924   hard_links=yes
8925   $RM conftest*
8926   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8927   touch conftest.a
8928   ln conftest.a conftest.b 2>&5 || hard_links=no
8929   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8931 $as_echo "$hard_links" >&6; }
8932   if test "$hard_links" = no; then
8933     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8934 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8935     need_locks=warn
8936   fi
8937 else
8938   need_locks=no
8939 fi
8940
8941
8942
8943
8944
8945
8946   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8947 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8948
8949   runpath_var=
8950   allow_undefined_flag=
8951   always_export_symbols=no
8952   archive_cmds=
8953   archive_expsym_cmds=
8954   compiler_needs_object=no
8955   enable_shared_with_static_runtimes=no
8956   export_dynamic_flag_spec=
8957   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8958   hardcode_automatic=no
8959   hardcode_direct=no
8960   hardcode_direct_absolute=no
8961   hardcode_libdir_flag_spec=
8962   hardcode_libdir_separator=
8963   hardcode_minus_L=no
8964   hardcode_shlibpath_var=unsupported
8965   inherit_rpath=no
8966   link_all_deplibs=unknown
8967   module_cmds=
8968   module_expsym_cmds=
8969   old_archive_from_new_cmds=
8970   old_archive_from_expsyms_cmds=
8971   thread_safe_flag_spec=
8972   whole_archive_flag_spec=
8973   # include_expsyms should be a list of space-separated symbols to be *always*
8974   # included in the symbol list
8975   include_expsyms=
8976   # exclude_expsyms can be an extended regexp of symbols to exclude
8977   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8978   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8979   # as well as any symbol that contains `d'.
8980   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8981   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8982   # platforms (ab)use it in PIC code, but their linkers get confused if
8983   # the symbol is explicitly referenced.  Since portable code cannot
8984   # rely on this symbol name, it's probably fine to never include it in
8985   # preloaded symbol tables.
8986   # Exclude shared library initialization/finalization symbols.
8987   extract_expsyms_cmds=
8988
8989   case $host_os in
8990   cygwin* | mingw* | pw32* | cegcc*)
8991     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8992     # When not using gcc, we currently assume that we are using
8993     # Microsoft Visual C++.
8994     if test "$GCC" != yes; then
8995       with_gnu_ld=no
8996     fi
8997     ;;
8998   interix*)
8999     # we just hope/assume this is gcc and not c89 (= MSVC++)
9000     with_gnu_ld=yes
9001     ;;
9002   openbsd*)
9003     with_gnu_ld=no
9004     ;;
9005   linux* | k*bsd*-gnu | gnu*)
9006     link_all_deplibs=no
9007     ;;
9008   esac
9009
9010   ld_shlibs=yes
9011
9012   # On some targets, GNU ld is compatible enough with the native linker
9013   # that we're better off using the native interface for both.
9014   lt_use_gnu_ld_interface=no
9015   if test "$with_gnu_ld" = yes; then
9016     case $host_os in
9017       aix*)
9018         # The AIX port of GNU ld has always aspired to compatibility
9019         # with the native linker.  However, as the warning in the GNU ld
9020         # block says, versions before 2.19.5* couldn't really create working
9021         # shared libraries, regardless of the interface used.
9022         case `$LD -v 2>&1` in
9023           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9024           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9025           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9026           *)
9027             lt_use_gnu_ld_interface=yes
9028             ;;
9029         esac
9030         ;;
9031       *)
9032         lt_use_gnu_ld_interface=yes
9033         ;;
9034     esac
9035   fi
9036
9037   if test "$lt_use_gnu_ld_interface" = yes; then
9038     # If archive_cmds runs LD, not CC, wlarc should be empty
9039     wlarc='${wl}'
9040
9041     # Set some defaults for GNU ld with shared library support. These
9042     # are reset later if shared libraries are not supported. Putting them
9043     # here allows them to be overridden if necessary.
9044     runpath_var=LD_RUN_PATH
9045     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9046     export_dynamic_flag_spec='${wl}--export-dynamic'
9047     # ancient GNU ld didn't support --whole-archive et. al.
9048     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9049       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9050     else
9051       whole_archive_flag_spec=
9052     fi
9053     supports_anon_versioning=no
9054     case `$LD -v 2>&1` in
9055       *GNU\ gold*) supports_anon_versioning=yes ;;
9056       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9057       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9058       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9059       *\ 2.11.*) ;; # other 2.11 versions
9060       *) supports_anon_versioning=yes ;;
9061     esac
9062
9063     # See if GNU ld supports shared libraries.
9064     case $host_os in
9065     aix[3-9]*)
9066       # On AIX/PPC, the GNU linker is very broken
9067       if test "$host_cpu" != ia64; then
9068         ld_shlibs=no
9069         cat <<_LT_EOF 1>&2
9070
9071 *** Warning: the GNU linker, at least up to release 2.19, is reported
9072 *** to be unable to reliably create shared libraries on AIX.
9073 *** Therefore, libtool is disabling shared libraries support.  If you
9074 *** really care for shared libraries, you may want to install binutils
9075 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9076 *** You will then need to restart the configuration process.
9077
9078 _LT_EOF
9079       fi
9080       ;;
9081
9082     amigaos*)
9083       case $host_cpu in
9084       powerpc)
9085             # see comment about AmigaOS4 .so support
9086             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9087             archive_expsym_cmds=''
9088         ;;
9089       m68k)
9090             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9091             hardcode_libdir_flag_spec='-L$libdir'
9092             hardcode_minus_L=yes
9093         ;;
9094       esac
9095       ;;
9096
9097     beos*)
9098       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9099         allow_undefined_flag=unsupported
9100         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9101         # support --undefined.  This deserves some investigation.  FIXME
9102         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9103       else
9104         ld_shlibs=no
9105       fi
9106       ;;
9107
9108     cygwin* | mingw* | pw32* | cegcc*)
9109       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9110       # as there is no search path for DLLs.
9111       hardcode_libdir_flag_spec='-L$libdir'
9112       export_dynamic_flag_spec='${wl}--export-all-symbols'
9113       allow_undefined_flag=unsupported
9114       always_export_symbols=no
9115       enable_shared_with_static_runtimes=yes
9116       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9117       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9118
9119       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9120         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9121         # If the export-symbols file already is a .def file (1st line
9122         # is EXPORTS), use it as is; otherwise, prepend...
9123         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9124           cp $export_symbols $output_objdir/$soname.def;
9125         else
9126           echo EXPORTS > $output_objdir/$soname.def;
9127           cat $export_symbols >> $output_objdir/$soname.def;
9128         fi~
9129         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9130       else
9131         ld_shlibs=no
9132       fi
9133       ;;
9134
9135     haiku*)
9136       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9137       link_all_deplibs=yes
9138       ;;
9139
9140     interix[3-9]*)
9141       hardcode_direct=no
9142       hardcode_shlibpath_var=no
9143       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9144       export_dynamic_flag_spec='${wl}-E'
9145       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9146       # Instead, shared libraries are loaded at an image base (0x10000000 by
9147       # default) and relocated if they conflict, which is a slow very memory
9148       # consuming and fragmenting process.  To avoid this, we pick a random,
9149       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9150       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9151       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9152       archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9153       ;;
9154
9155     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9156       tmp_diet=no
9157       if test "$host_os" = linux-dietlibc; then
9158         case $cc_basename in
9159           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9160         esac
9161       fi
9162       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9163          && test "$tmp_diet" = no
9164       then
9165         tmp_addflag=' $pic_flag'
9166         tmp_sharedflag='-shared'
9167         case $cc_basename,$host_cpu in
9168         pgcc*)                          # Portland Group C compiler
9169           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9170           tmp_addflag=' $pic_flag'
9171           ;;
9172         pgf77* | pgf90* | pgf95* | pgfortran*)
9173                                         # Portland Group f77 and f90 compilers
9174           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9175           tmp_addflag=' $pic_flag -Mnomain' ;;
9176         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9177           tmp_addflag=' -i_dynamic' ;;
9178         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9179           tmp_addflag=' -i_dynamic -nofor_main' ;;
9180         ifc* | ifort*)                  # Intel Fortran compiler
9181           tmp_addflag=' -nofor_main' ;;
9182         lf95*)                          # Lahey Fortran 8.1
9183           whole_archive_flag_spec=
9184           tmp_sharedflag='--shared' ;;
9185         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9186           tmp_sharedflag='-qmkshrobj'
9187           tmp_addflag= ;;
9188         nvcc*)  # Cuda Compiler Driver 2.2
9189           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9190           compiler_needs_object=yes
9191           ;;
9192         esac
9193         case `$CC -V 2>&1 | sed 5q` in
9194         *Sun\ C*)                       # Sun C 5.9
9195           whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9196           compiler_needs_object=yes
9197           tmp_sharedflag='-G' ;;
9198         *Sun\ F*)                       # Sun Fortran 8.3
9199           tmp_sharedflag='-G' ;;
9200         esac
9201         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9202
9203         if test "x$supports_anon_versioning" = xyes; then
9204           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9205             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9206             echo "local: *; };" >> $output_objdir/$libname.ver~
9207             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9208         fi
9209
9210         case $cc_basename in
9211         xlf* | bgf* | bgxlf* | mpixlf*)
9212           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9213           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9214           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9215           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9216           if test "x$supports_anon_versioning" = xyes; then
9217             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9218               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9219               echo "local: *; };" >> $output_objdir/$libname.ver~
9220               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9221           fi
9222           ;;
9223         esac
9224       else
9225         ld_shlibs=no
9226       fi
9227       ;;
9228
9229     netbsd* | netbsdelf*-gnu)
9230       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9231         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9232         wlarc=
9233       else
9234         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9235         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9236       fi
9237       ;;
9238
9239     solaris*)
9240       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9241         ld_shlibs=no
9242         cat <<_LT_EOF 1>&2
9243
9244 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9245 *** create shared libraries on Solaris systems.  Therefore, libtool
9246 *** is disabling shared libraries support.  We urge you to upgrade GNU
9247 *** binutils to release 2.9.1 or newer.  Another option is to modify
9248 *** your PATH or compiler configuration so that the native linker is
9249 *** used, and then restart.
9250
9251 _LT_EOF
9252       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9253         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9254         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9255       else
9256         ld_shlibs=no
9257       fi
9258       ;;
9259
9260     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9261       case `$LD -v 2>&1` in
9262         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9263         ld_shlibs=no
9264         cat <<_LT_EOF 1>&2
9265
9266 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9267 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9268 *** is disabling shared libraries support.  We urge you to upgrade GNU
9269 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9270 *** your PATH or compiler configuration so that the native linker is
9271 *** used, and then restart.
9272
9273 _LT_EOF
9274         ;;
9275         *)
9276           # For security reasons, it is highly recommended that you always
9277           # use absolute paths for naming shared libraries, and exclude the
9278           # DT_RUNPATH tag from executables and libraries.  But doing so
9279           # requires that you compile everything twice, which is a pain.
9280           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9281             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9282             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9283             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9284           else
9285             ld_shlibs=no
9286           fi
9287         ;;
9288       esac
9289       ;;
9290
9291     sunos4*)
9292       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9293       wlarc=
9294       hardcode_direct=yes
9295       hardcode_shlibpath_var=no
9296       ;;
9297
9298     *)
9299       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9300         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9301         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9302       else
9303         ld_shlibs=no
9304       fi
9305       ;;
9306     esac
9307
9308     if test "$ld_shlibs" = no; then
9309       runpath_var=
9310       hardcode_libdir_flag_spec=
9311       export_dynamic_flag_spec=
9312       whole_archive_flag_spec=
9313     fi
9314   else
9315     # PORTME fill in a description of your system's linker (not GNU ld)
9316     case $host_os in
9317     aix3*)
9318       allow_undefined_flag=unsupported
9319       always_export_symbols=yes
9320       archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9321       # Note: this linker hardcodes the directories in LIBPATH if there
9322       # are no directories specified by -L.
9323       hardcode_minus_L=yes
9324       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9325         # Neither direct hardcoding nor static linking is supported with a
9326         # broken collect2.
9327         hardcode_direct=unsupported
9328       fi
9329       ;;
9330
9331     aix[4-9]*)
9332       if test "$host_cpu" = ia64; then
9333         # On IA64, the linker does run time linking by default, so we don't
9334         # have to do anything special.
9335         aix_use_runtimelinking=no
9336         exp_sym_flag='-Bexport'
9337         no_entry_flag=""
9338       else
9339         # If we're using GNU nm, then we don't want the "-C" option.
9340         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9341         # Also, AIX nm treats weak defined symbols like other global
9342         # defined symbols, whereas GNU nm marks them as "W".
9343         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9344           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9345         else
9346           export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9347         fi
9348         aix_use_runtimelinking=no
9349
9350         # Test if we are trying to use run time linking or normal
9351         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9352         # need to do runtime linking.
9353         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9354           for ld_flag in $LDFLAGS; do
9355           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9356             aix_use_runtimelinking=yes
9357             break
9358           fi
9359           done
9360           ;;
9361         esac
9362
9363         exp_sym_flag='-bexport'
9364         no_entry_flag='-bnoentry'
9365       fi
9366
9367       # When large executables or shared objects are built, AIX ld can
9368       # have problems creating the table of contents.  If linking a library
9369       # or program results in "error TOC overflow" add -mminimal-toc to
9370       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9371       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9372
9373       archive_cmds=''
9374       hardcode_direct=yes
9375       hardcode_direct_absolute=yes
9376       hardcode_libdir_separator=':'
9377       link_all_deplibs=yes
9378       file_list_spec='${wl}-f,'
9379
9380       if test "$GCC" = yes; then
9381         case $host_os in aix4.[012]|aix4.[012].*)
9382         # We only want to do this on AIX 4.2 and lower, the check
9383         # below for broken collect2 doesn't work under 4.3+
9384           collect2name=`${CC} -print-prog-name=collect2`
9385           if test -f "$collect2name" &&
9386            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9387           then
9388           # We have reworked collect2
9389           :
9390           else
9391           # We have old collect2
9392           hardcode_direct=unsupported
9393           # It fails to find uninstalled libraries when the uninstalled
9394           # path is not listed in the libpath.  Setting hardcode_minus_L
9395           # to unsupported forces relinking
9396           hardcode_minus_L=yes
9397           hardcode_libdir_flag_spec='-L$libdir'
9398           hardcode_libdir_separator=
9399           fi
9400           ;;
9401         esac
9402         shared_flag='-shared'
9403         if test "$aix_use_runtimelinking" = yes; then
9404           shared_flag="$shared_flag "'${wl}-G'
9405         fi
9406         link_all_deplibs=no
9407       else
9408         # not using gcc
9409         if test "$host_cpu" = ia64; then
9410         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9411         # chokes on -Wl,-G. The following line is correct:
9412           shared_flag='-G'
9413         else
9414           if test "$aix_use_runtimelinking" = yes; then
9415             shared_flag='${wl}-G'
9416           else
9417             shared_flag='${wl}-bM:SRE'
9418           fi
9419         fi
9420       fi
9421
9422       export_dynamic_flag_spec='${wl}-bexpall'
9423       # It seems that -bexpall does not export symbols beginning with
9424       # underscore (_), so it is better to generate a list of symbols to export.
9425       always_export_symbols=yes
9426       if test "$aix_use_runtimelinking" = yes; then
9427         # Warning - without using the other runtime loading flags (-brtl),
9428         # -berok will link without error, but may produce a broken library.
9429         allow_undefined_flag='-berok'
9430         # Determine the default libpath from the value encoded in an
9431         # empty executable.
9432         if test "${lt_cv_aix_libpath+set}" = set; then
9433   aix_libpath=$lt_cv_aix_libpath
9434 else
9435   if ${lt_cv_aix_libpath_+:} false; then :
9436   $as_echo_n "(cached) " >&6
9437 else
9438   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9439 /* end confdefs.h.  */
9440
9441 int
9442 main ()
9443 {
9444
9445   ;
9446   return 0;
9447 }
9448 _ACEOF
9449 if ac_fn_c_try_link "$LINENO"; then :
9450
9451   lt_aix_libpath_sed='
9452       /Import File Strings/,/^$/ {
9453           /^0/ {
9454               s/^0  *\([^ ]*\) *$/\1/
9455               p
9456           }
9457       }'
9458   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9459   # Check for a 64-bit object if we didn't find anything.
9460   if test -z "$lt_cv_aix_libpath_"; then
9461     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9462   fi
9463 fi
9464 rm -f core conftest.err conftest.$ac_objext \
9465     conftest$ac_exeext conftest.$ac_ext
9466   if test -z "$lt_cv_aix_libpath_"; then
9467     lt_cv_aix_libpath_="/usr/lib:/lib"
9468   fi
9469
9470 fi
9471
9472   aix_libpath=$lt_cv_aix_libpath_
9473 fi
9474
9475         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9476         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9477       else
9478         if test "$host_cpu" = ia64; then
9479           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9480           allow_undefined_flag="-z nodefs"
9481           archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9482         else
9483          # Determine the default libpath from the value encoded in an
9484          # empty executable.
9485          if test "${lt_cv_aix_libpath+set}" = set; then
9486   aix_libpath=$lt_cv_aix_libpath
9487 else
9488   if ${lt_cv_aix_libpath_+:} false; then :
9489   $as_echo_n "(cached) " >&6
9490 else
9491   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9492 /* end confdefs.h.  */
9493
9494 int
9495 main ()
9496 {
9497
9498   ;
9499   return 0;
9500 }
9501 _ACEOF
9502 if ac_fn_c_try_link "$LINENO"; then :
9503
9504   lt_aix_libpath_sed='
9505       /Import File Strings/,/^$/ {
9506           /^0/ {
9507               s/^0  *\([^ ]*\) *$/\1/
9508               p
9509           }
9510       }'
9511   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9512   # Check for a 64-bit object if we didn't find anything.
9513   if test -z "$lt_cv_aix_libpath_"; then
9514     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9515   fi
9516 fi
9517 rm -f core conftest.err conftest.$ac_objext \
9518     conftest$ac_exeext conftest.$ac_ext
9519   if test -z "$lt_cv_aix_libpath_"; then
9520     lt_cv_aix_libpath_="/usr/lib:/lib"
9521   fi
9522
9523 fi
9524
9525   aix_libpath=$lt_cv_aix_libpath_
9526 fi
9527
9528          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9529           # Warning - without using the other run time loading flags,
9530           # -berok will link without error, but may produce a broken library.
9531           no_undefined_flag=' ${wl}-bernotok'
9532           allow_undefined_flag=' ${wl}-berok'
9533           if test "$with_gnu_ld" = yes; then
9534             # We only use this code for GNU lds that support --whole-archive.
9535             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9536           else
9537             # Exported symbols can be pulled into shared objects from archives
9538             whole_archive_flag_spec='$convenience'
9539           fi
9540           archive_cmds_need_lc=yes
9541           # This is similar to how AIX traditionally builds its shared libraries.
9542           archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9543         fi
9544       fi
9545       ;;
9546
9547     amigaos*)
9548       case $host_cpu in
9549       powerpc)
9550             # see comment about AmigaOS4 .so support
9551             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9552             archive_expsym_cmds=''
9553         ;;
9554       m68k)
9555             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9556             hardcode_libdir_flag_spec='-L$libdir'
9557             hardcode_minus_L=yes
9558         ;;
9559       esac
9560       ;;
9561
9562     bsdi[45]*)
9563       export_dynamic_flag_spec=-rdynamic
9564       ;;
9565
9566     cygwin* | mingw* | pw32* | cegcc*)
9567       # When not using gcc, we currently assume that we are using
9568       # Microsoft Visual C++.
9569       # hardcode_libdir_flag_spec is actually meaningless, as there is
9570       # no search path for DLLs.
9571       case $cc_basename in
9572       cl*)
9573         # Native MSVC
9574         hardcode_libdir_flag_spec=' '
9575         allow_undefined_flag=unsupported
9576         always_export_symbols=yes
9577         file_list_spec='@'
9578         # Tell ltmain to make .lib files, not .a files.
9579         libext=lib
9580         # Tell ltmain to make .dll files, not .so files.
9581         shrext_cmds=".dll"
9582         # FIXME: Setting linknames here is a bad hack.
9583         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9584         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9585             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9586           else
9587             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9588           fi~
9589           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9590           linknames='
9591         # The linker will not automatically build a static lib if we build a DLL.
9592         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9593         enable_shared_with_static_runtimes=yes
9594         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9595         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9596         # Don't use ranlib
9597         old_postinstall_cmds='chmod 644 $oldlib'
9598         postlink_cmds='lt_outputfile="@OUTPUT@"~
9599           lt_tool_outputfile="@TOOL_OUTPUT@"~
9600           case $lt_outputfile in
9601             *.exe|*.EXE) ;;
9602             *)
9603               lt_outputfile="$lt_outputfile.exe"
9604               lt_tool_outputfile="$lt_tool_outputfile.exe"
9605               ;;
9606           esac~
9607           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9608             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9609             $RM "$lt_outputfile.manifest";
9610           fi'
9611         ;;
9612       *)
9613         # Assume MSVC wrapper
9614         hardcode_libdir_flag_spec=' '
9615         allow_undefined_flag=unsupported
9616         # Tell ltmain to make .lib files, not .a files.
9617         libext=lib
9618         # Tell ltmain to make .dll files, not .so files.
9619         shrext_cmds=".dll"
9620         # FIXME: Setting linknames here is a bad hack.
9621         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9622         # The linker will automatically build a .lib file if we build a DLL.
9623         old_archive_from_new_cmds='true'
9624         # FIXME: Should let the user specify the lib program.
9625         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9626         enable_shared_with_static_runtimes=yes
9627         ;;
9628       esac
9629       ;;
9630
9631     darwin* | rhapsody*)
9632
9633
9634   archive_cmds_need_lc=no
9635   hardcode_direct=no
9636   hardcode_automatic=yes
9637   hardcode_shlibpath_var=unsupported
9638   if test "$lt_cv_ld_force_load" = "yes"; then
9639     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9640
9641   else
9642     whole_archive_flag_spec=''
9643   fi
9644   link_all_deplibs=yes
9645   allow_undefined_flag="$_lt_dar_allow_undefined"
9646   case $cc_basename in
9647      ifort*) _lt_dar_can_shared=yes ;;
9648      *) _lt_dar_can_shared=$GCC ;;
9649   esac
9650   if test "$_lt_dar_can_shared" = "yes"; then
9651     output_verbose_link_cmd=func_echo_all
9652     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9653     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9654     archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9655     module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9656
9657   else
9658   ld_shlibs=no
9659   fi
9660
9661       ;;
9662
9663     dgux*)
9664       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9665       hardcode_libdir_flag_spec='-L$libdir'
9666       hardcode_shlibpath_var=no
9667       ;;
9668
9669     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9670     # support.  Future versions do this automatically, but an explicit c++rt0.o
9671     # does not break anything, and helps significantly (at the cost of a little
9672     # extra space).
9673     freebsd2.2*)
9674       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9675       hardcode_libdir_flag_spec='-R$libdir'
9676       hardcode_direct=yes
9677       hardcode_shlibpath_var=no
9678       ;;
9679
9680     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9681     freebsd2.*)
9682       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9683       hardcode_direct=yes
9684       hardcode_minus_L=yes
9685       hardcode_shlibpath_var=no
9686       ;;
9687
9688     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9689     freebsd* | dragonfly*)
9690       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9691       hardcode_libdir_flag_spec='-R$libdir'
9692       hardcode_direct=yes
9693       hardcode_shlibpath_var=no
9694       ;;
9695
9696     hpux9*)
9697       if test "$GCC" = yes; then
9698         archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9699       else
9700         archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9701       fi
9702       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9703       hardcode_libdir_separator=:
9704       hardcode_direct=yes
9705
9706       # hardcode_minus_L: Not really in the search PATH,
9707       # but as the default location of the library.
9708       hardcode_minus_L=yes
9709       export_dynamic_flag_spec='${wl}-E'
9710       ;;
9711
9712     hpux10*)
9713       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9714         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9715       else
9716         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9717       fi
9718       if test "$with_gnu_ld" = no; then
9719         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9720         hardcode_libdir_separator=:
9721         hardcode_direct=yes
9722         hardcode_direct_absolute=yes
9723         export_dynamic_flag_spec='${wl}-E'
9724         # hardcode_minus_L: Not really in the search PATH,
9725         # but as the default location of the library.
9726         hardcode_minus_L=yes
9727       fi
9728       ;;
9729
9730     hpux11*)
9731       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9732         case $host_cpu in
9733         hppa*64*)
9734           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9735           ;;
9736         ia64*)
9737           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9738           ;;
9739         *)
9740           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9741           ;;
9742         esac
9743       else
9744         case $host_cpu in
9745         hppa*64*)
9746           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9747           ;;
9748         ia64*)
9749           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9750           ;;
9751         *)
9752
9753           # Older versions of the 11.00 compiler do not understand -b yet
9754           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9755           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9756 $as_echo_n "checking if $CC understands -b... " >&6; }
9757 if ${lt_cv_prog_compiler__b+:} false; then :
9758   $as_echo_n "(cached) " >&6
9759 else
9760   lt_cv_prog_compiler__b=no
9761    save_LDFLAGS="$LDFLAGS"
9762    LDFLAGS="$LDFLAGS -b"
9763    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9764    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9765      # The linker can only warn and ignore the option if not recognized
9766      # So say no if there are warnings
9767      if test -s conftest.err; then
9768        # Append any errors to the config.log.
9769        cat conftest.err 1>&5
9770        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9771        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9772        if diff conftest.exp conftest.er2 >/dev/null; then
9773          lt_cv_prog_compiler__b=yes
9774        fi
9775      else
9776        lt_cv_prog_compiler__b=yes
9777      fi
9778    fi
9779    $RM -r conftest*
9780    LDFLAGS="$save_LDFLAGS"
9781
9782 fi
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9784 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9785
9786 if test x"$lt_cv_prog_compiler__b" = xyes; then
9787     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9788 else
9789     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9790 fi
9791
9792           ;;
9793         esac
9794       fi
9795       if test "$with_gnu_ld" = no; then
9796         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9797         hardcode_libdir_separator=:
9798
9799         case $host_cpu in
9800         hppa*64*|ia64*)
9801           hardcode_direct=no
9802           hardcode_shlibpath_var=no
9803           ;;
9804         *)
9805           hardcode_direct=yes
9806           hardcode_direct_absolute=yes
9807           export_dynamic_flag_spec='${wl}-E'
9808
9809           # hardcode_minus_L: Not really in the search PATH,
9810           # but as the default location of the library.
9811           hardcode_minus_L=yes
9812           ;;
9813         esac
9814       fi
9815       ;;
9816
9817     irix5* | irix6* | nonstopux*)
9818       if test "$GCC" = yes; then
9819         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9820         # Try to use the -exported_symbol ld option, if it does not
9821         # work, assume that -exports_file does not work either and
9822         # implicitly export all symbols.
9823         # This should be the same for all languages, so no per-tag cache variable.
9824         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9825 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9826 if ${lt_cv_irix_exported_symbol+:} false; then :
9827   $as_echo_n "(cached) " >&6
9828 else
9829   save_LDFLAGS="$LDFLAGS"
9830            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9831            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9832 /* end confdefs.h.  */
9833 int foo (void) { return 0; }
9834 _ACEOF
9835 if ac_fn_c_try_link "$LINENO"; then :
9836   lt_cv_irix_exported_symbol=yes
9837 else
9838   lt_cv_irix_exported_symbol=no
9839 fi
9840 rm -f core conftest.err conftest.$ac_objext \
9841     conftest$ac_exeext conftest.$ac_ext
9842            LDFLAGS="$save_LDFLAGS"
9843 fi
9844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9845 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9846         if test "$lt_cv_irix_exported_symbol" = yes; then
9847           archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9848         fi
9849       else
9850         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9851         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9852       fi
9853       archive_cmds_need_lc='no'
9854       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9855       hardcode_libdir_separator=:
9856       inherit_rpath=yes
9857       link_all_deplibs=yes
9858       ;;
9859
9860     netbsd* | netbsdelf*-gnu)
9861       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9862         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9863       else
9864         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9865       fi
9866       hardcode_libdir_flag_spec='-R$libdir'
9867       hardcode_direct=yes
9868       hardcode_shlibpath_var=no
9869       ;;
9870
9871     newsos6)
9872       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9873       hardcode_direct=yes
9874       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9875       hardcode_libdir_separator=:
9876       hardcode_shlibpath_var=no
9877       ;;
9878
9879     *nto* | *qnx*)
9880       ;;
9881
9882     openbsd*)
9883       if test -f /usr/libexec/ld.so; then
9884         hardcode_direct=yes
9885         hardcode_shlibpath_var=no
9886         hardcode_direct_absolute=yes
9887         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9888           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9889           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9890           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9891           export_dynamic_flag_spec='${wl}-E'
9892         else
9893           case $host_os in
9894            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9895              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9896              hardcode_libdir_flag_spec='-R$libdir'
9897              ;;
9898            *)
9899              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9900              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9901              ;;
9902           esac
9903         fi
9904       else
9905         ld_shlibs=no
9906       fi
9907       ;;
9908
9909     os2*)
9910       hardcode_libdir_flag_spec='-L$libdir'
9911       hardcode_minus_L=yes
9912       allow_undefined_flag=unsupported
9913       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9914       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9915       ;;
9916
9917     osf3*)
9918       if test "$GCC" = yes; then
9919         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9920         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9921       else
9922         allow_undefined_flag=' -expect_unresolved \*'
9923         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9924       fi
9925       archive_cmds_need_lc='no'
9926       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9927       hardcode_libdir_separator=:
9928       ;;
9929
9930     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9931       if test "$GCC" = yes; then
9932         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9933         archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9934         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9935       else
9936         allow_undefined_flag=' -expect_unresolved \*'
9937         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9938         archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9939         $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9940
9941         # Both c and cxx compiler support -rpath directly
9942         hardcode_libdir_flag_spec='-rpath $libdir'
9943       fi
9944       archive_cmds_need_lc='no'
9945       hardcode_libdir_separator=:
9946       ;;
9947
9948     solaris*)
9949       no_undefined_flag=' -z defs'
9950       if test "$GCC" = yes; then
9951         wlarc='${wl}'
9952         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9953         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9954           $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9955       else
9956         case `$CC -V 2>&1` in
9957         *"Compilers 5.0"*)
9958           wlarc=''
9959           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9960           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9961           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9962           ;;
9963         *)
9964           wlarc='${wl}'
9965           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9966           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9967           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9968           ;;
9969         esac
9970       fi
9971       hardcode_libdir_flag_spec='-R$libdir'
9972       hardcode_shlibpath_var=no
9973       case $host_os in
9974       solaris2.[0-5] | solaris2.[0-5].*) ;;
9975       *)
9976         # The compiler driver will combine and reorder linker options,
9977         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9978         # but is careful enough not to reorder.
9979         # Supported since Solaris 2.6 (maybe 2.5.1?)
9980         if test "$GCC" = yes; then
9981           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9982         else
9983           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9984         fi
9985         ;;
9986       esac
9987       link_all_deplibs=yes
9988       ;;
9989
9990     sunos4*)
9991       if test "x$host_vendor" = xsequent; then
9992         # Use $CC to link under sequent, because it throws in some extra .o
9993         # files that make .init and .fini sections work.
9994         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9995       else
9996         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9997       fi
9998       hardcode_libdir_flag_spec='-L$libdir'
9999       hardcode_direct=yes
10000       hardcode_minus_L=yes
10001       hardcode_shlibpath_var=no
10002       ;;
10003
10004     sysv4)
10005       case $host_vendor in
10006         sni)
10007           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10008           hardcode_direct=yes # is this really true???
10009         ;;
10010         siemens)
10011           ## LD is ld it makes a PLAMLIB
10012           ## CC just makes a GrossModule.
10013           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10014           reload_cmds='$CC -r -o $output$reload_objs'
10015           hardcode_direct=no
10016         ;;
10017         motorola)
10018           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10019           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10020         ;;
10021       esac
10022       runpath_var='LD_RUN_PATH'
10023       hardcode_shlibpath_var=no
10024       ;;
10025
10026     sysv4.3*)
10027       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10028       hardcode_shlibpath_var=no
10029       export_dynamic_flag_spec='-Bexport'
10030       ;;
10031
10032     sysv4*MP*)
10033       if test -d /usr/nec; then
10034         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10035         hardcode_shlibpath_var=no
10036         runpath_var=LD_RUN_PATH
10037         hardcode_runpath_var=yes
10038         ld_shlibs=yes
10039       fi
10040       ;;
10041
10042     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10043       no_undefined_flag='${wl}-z,text'
10044       archive_cmds_need_lc=no
10045       hardcode_shlibpath_var=no
10046       runpath_var='LD_RUN_PATH'
10047
10048       if test "$GCC" = yes; then
10049         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10050         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10051       else
10052         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10053         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10054       fi
10055       ;;
10056
10057     sysv5* | sco3.2v5* | sco5v6*)
10058       # Note: We can NOT use -z defs as we might desire, because we do not
10059       # link with -lc, and that would cause any symbols used from libc to
10060       # always be unresolved, which means just about no library would
10061       # ever link correctly.  If we're not using GNU ld we use -z text
10062       # though, which does catch some bad symbols but isn't as heavy-handed
10063       # as -z defs.
10064       no_undefined_flag='${wl}-z,text'
10065       allow_undefined_flag='${wl}-z,nodefs'
10066       archive_cmds_need_lc=no
10067       hardcode_shlibpath_var=no
10068       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10069       hardcode_libdir_separator=':'
10070       link_all_deplibs=yes
10071       export_dynamic_flag_spec='${wl}-Bexport'
10072       runpath_var='LD_RUN_PATH'
10073
10074       if test "$GCC" = yes; then
10075         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10076         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10077       else
10078         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10079         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10080       fi
10081       ;;
10082
10083     uts4*)
10084       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10085       hardcode_libdir_flag_spec='-L$libdir'
10086       hardcode_shlibpath_var=no
10087       ;;
10088
10089     *)
10090       ld_shlibs=no
10091       ;;
10092     esac
10093
10094     if test x$host_vendor = xsni; then
10095       case $host in
10096       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10097         export_dynamic_flag_spec='${wl}-Blargedynsym'
10098         ;;
10099       esac
10100     fi
10101   fi
10102
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10104 $as_echo "$ld_shlibs" >&6; }
10105 test "$ld_shlibs" = no && can_build_shared=no
10106
10107 with_gnu_ld=$with_gnu_ld
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123 #
10124 # Do we need to explicitly link libc?
10125 #
10126 case "x$archive_cmds_need_lc" in
10127 x|xyes)
10128   # Assume -lc should be added
10129   archive_cmds_need_lc=yes
10130
10131   if test "$enable_shared" = yes && test "$GCC" = yes; then
10132     case $archive_cmds in
10133     *'~'*)
10134       # FIXME: we may have to deal with multi-command sequences.
10135       ;;
10136     '$CC '*)
10137       # Test whether the compiler implicitly links with -lc since on some
10138       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10139       # to ld, don't add -lc before -lgcc.
10140       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10141 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10142 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10143   $as_echo_n "(cached) " >&6
10144 else
10145   $RM conftest*
10146         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10147
10148         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10149   (eval $ac_compile) 2>&5
10150   ac_status=$?
10151   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10152   test $ac_status = 0; } 2>conftest.err; then
10153           soname=conftest
10154           lib=conftest
10155           libobjs=conftest.$ac_objext
10156           deplibs=
10157           wl=$lt_prog_compiler_wl
10158           pic_flag=$lt_prog_compiler_pic
10159           compiler_flags=-v
10160           linker_flags=-v
10161           verstring=
10162           output_objdir=.
10163           libname=conftest
10164           lt_save_allow_undefined_flag=$allow_undefined_flag
10165           allow_undefined_flag=
10166           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10167   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10168   ac_status=$?
10169   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10170   test $ac_status = 0; }
10171           then
10172             lt_cv_archive_cmds_need_lc=no
10173           else
10174             lt_cv_archive_cmds_need_lc=yes
10175           fi
10176           allow_undefined_flag=$lt_save_allow_undefined_flag
10177         else
10178           cat conftest.err 1>&5
10179         fi
10180         $RM conftest*
10181
10182 fi
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10184 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10185       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10186       ;;
10187     esac
10188   fi
10189   ;;
10190 esac
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10344 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10345
10346 if test "$GCC" = yes; then
10347   case $host_os in
10348     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10349     *) lt_awk_arg="/^libraries:/" ;;
10350   esac
10351   case $host_os in
10352     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10353     *) lt_sed_strip_eq="s,=/,/,g" ;;
10354   esac
10355   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10356   case $lt_search_path_spec in
10357   *\;*)
10358     # if the path contains ";" then we assume it to be the separator
10359     # otherwise default to the standard path separator (i.e. ":") - it is
10360     # assumed that no part of a normal pathname contains ";" but that should
10361     # okay in the real world where ";" in dirpaths is itself problematic.
10362     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10363     ;;
10364   *)
10365     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10366     ;;
10367   esac
10368   # Ok, now we have the path, separated by spaces, we can step through it
10369   # and add multilib dir if necessary.
10370   lt_tmp_lt_search_path_spec=
10371   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10372   for lt_sys_path in $lt_search_path_spec; do
10373     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10374       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10375     else
10376       test -d "$lt_sys_path" && \
10377         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10378     fi
10379   done
10380   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10381 BEGIN {RS=" "; FS="/|\n";} {
10382   lt_foo="";
10383   lt_count=0;
10384   for (lt_i = NF; lt_i > 0; lt_i--) {
10385     if ($lt_i != "" && $lt_i != ".") {
10386       if ($lt_i == "..") {
10387         lt_count++;
10388       } else {
10389         if (lt_count == 0) {
10390           lt_foo="/" $lt_i lt_foo;
10391         } else {
10392           lt_count--;
10393         }
10394       }
10395     }
10396   }
10397   if (lt_foo != "") { lt_freq[lt_foo]++; }
10398   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10399 }'`
10400   # AWK program above erroneously prepends '/' to C:/dos/paths
10401   # for these hosts.
10402   case $host_os in
10403     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10404       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10405   esac
10406   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10407 else
10408   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10409 fi
10410 library_names_spec=
10411 libname_spec='lib$name'
10412 soname_spec=
10413 shrext_cmds=".so"
10414 postinstall_cmds=
10415 postuninstall_cmds=
10416 finish_cmds=
10417 finish_eval=
10418 shlibpath_var=
10419 shlibpath_overrides_runpath=unknown
10420 version_type=none
10421 dynamic_linker="$host_os ld.so"
10422 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10423 need_lib_prefix=unknown
10424 hardcode_into_libs=no
10425
10426 # when you set need_version to no, make sure it does not cause -set_version
10427 # flags to be left without arguments
10428 need_version=unknown
10429
10430 case $host_os in
10431 aix3*)
10432   version_type=linux # correct to gnu/linux during the next big refactor
10433   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10434   shlibpath_var=LIBPATH
10435
10436   # AIX 3 has no versioning support, so we append a major version to the name.
10437   soname_spec='${libname}${release}${shared_ext}$major'
10438   ;;
10439
10440 aix[4-9]*)
10441   version_type=linux # correct to gnu/linux during the next big refactor
10442   need_lib_prefix=no
10443   need_version=no
10444   hardcode_into_libs=yes
10445   if test "$host_cpu" = ia64; then
10446     # AIX 5 supports IA64
10447     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10448     shlibpath_var=LD_LIBRARY_PATH
10449   else
10450     # With GCC up to 2.95.x, collect2 would create an import file
10451     # for dependence libraries.  The import file would start with
10452     # the line `#! .'.  This would cause the generated library to
10453     # depend on `.', always an invalid library.  This was fixed in
10454     # development snapshots of GCC prior to 3.0.
10455     case $host_os in
10456       aix4 | aix4.[01] | aix4.[01].*)
10457       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10458            echo ' yes '
10459            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10460         :
10461       else
10462         can_build_shared=no
10463       fi
10464       ;;
10465     esac
10466     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10467     # soname into executable. Probably we can add versioning support to
10468     # collect2, so additional links can be useful in future.
10469     if test "$aix_use_runtimelinking" = yes; then
10470       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10471       # instead of lib<name>.a to let people know that these are not
10472       # typical AIX shared libraries.
10473       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10474     else
10475       # We preserve .a as extension for shared libraries through AIX4.2
10476       # and later when we are not doing run time linking.
10477       library_names_spec='${libname}${release}.a $libname.a'
10478       soname_spec='${libname}${release}${shared_ext}$major'
10479     fi
10480     shlibpath_var=LIBPATH
10481   fi
10482   ;;
10483
10484 amigaos*)
10485   case $host_cpu in
10486   powerpc)
10487     # Since July 2007 AmigaOS4 officially supports .so libraries.
10488     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10489     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10490     ;;
10491   m68k)
10492     library_names_spec='$libname.ixlibrary $libname.a'
10493     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10494     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10495     ;;
10496   esac
10497   ;;
10498
10499 beos*)
10500   library_names_spec='${libname}${shared_ext}'
10501   dynamic_linker="$host_os ld.so"
10502   shlibpath_var=LIBRARY_PATH
10503   ;;
10504
10505 bsdi[45]*)
10506   version_type=linux # correct to gnu/linux during the next big refactor
10507   need_version=no
10508   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10509   soname_spec='${libname}${release}${shared_ext}$major'
10510   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10511   shlibpath_var=LD_LIBRARY_PATH
10512   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10513   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10514   # the default ld.so.conf also contains /usr/contrib/lib and
10515   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10516   # libtool to hard-code these into programs
10517   ;;
10518
10519 cygwin* | mingw* | pw32* | cegcc*)
10520   version_type=windows
10521   shrext_cmds=".dll"
10522   need_version=no
10523   need_lib_prefix=no
10524
10525   case $GCC,$cc_basename in
10526   yes,*)
10527     # gcc
10528     library_names_spec='$libname.dll.a'
10529     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10530     postinstall_cmds='base_file=`basename \${file}`~
10531       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10532       dldir=$destdir/`dirname \$dlpath`~
10533       test -d \$dldir || mkdir -p \$dldir~
10534       $install_prog $dir/$dlname \$dldir/$dlname~
10535       chmod a+x \$dldir/$dlname~
10536       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10537         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10538       fi'
10539     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10540       dlpath=$dir/\$dldll~
10541        $RM \$dlpath'
10542     shlibpath_overrides_runpath=yes
10543
10544     case $host_os in
10545     cygwin*)
10546       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10547       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10548
10549       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10550       ;;
10551     mingw* | cegcc*)
10552       # MinGW DLLs use traditional 'lib' prefix
10553       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10554       ;;
10555     pw32*)
10556       # pw32 DLLs use 'pw' prefix rather than 'lib'
10557       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10558       ;;
10559     esac
10560     dynamic_linker='Win32 ld.exe'
10561     ;;
10562
10563   *,cl*)
10564     # Native MSVC
10565     libname_spec='$name'
10566     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10567     library_names_spec='${libname}.dll.lib'
10568
10569     case $build_os in
10570     mingw*)
10571       sys_lib_search_path_spec=
10572       lt_save_ifs=$IFS
10573       IFS=';'
10574       for lt_path in $LIB
10575       do
10576         IFS=$lt_save_ifs
10577         # Let DOS variable expansion print the short 8.3 style file name.
10578         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10579         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10580       done
10581       IFS=$lt_save_ifs
10582       # Convert to MSYS style.
10583       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10584       ;;
10585     cygwin*)
10586       # Convert to unix form, then to dos form, then back to unix form
10587       # but this time dos style (no spaces!) so that the unix form looks
10588       # like /cygdrive/c/PROGRA~1:/cygdr...
10589       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10590       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10591       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10592       ;;
10593     *)
10594       sys_lib_search_path_spec="$LIB"
10595       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10596         # It is most probably a Windows format PATH.
10597         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10598       else
10599         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10600       fi
10601       # FIXME: find the short name or the path components, as spaces are
10602       # common. (e.g. "Program Files" -> "PROGRA~1")
10603       ;;
10604     esac
10605
10606     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10607     postinstall_cmds='base_file=`basename \${file}`~
10608       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10609       dldir=$destdir/`dirname \$dlpath`~
10610       test -d \$dldir || mkdir -p \$dldir~
10611       $install_prog $dir/$dlname \$dldir/$dlname'
10612     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10613       dlpath=$dir/\$dldll~
10614        $RM \$dlpath'
10615     shlibpath_overrides_runpath=yes
10616     dynamic_linker='Win32 link.exe'
10617     ;;
10618
10619   *)
10620     # Assume MSVC wrapper
10621     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10622     dynamic_linker='Win32 ld.exe'
10623     ;;
10624   esac
10625   # FIXME: first we should search . and the directory the executable is in
10626   shlibpath_var=PATH
10627   ;;
10628
10629 darwin* | rhapsody*)
10630   dynamic_linker="$host_os dyld"
10631   version_type=darwin
10632   need_lib_prefix=no
10633   need_version=no
10634   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10635   soname_spec='${libname}${release}${major}$shared_ext'
10636   shlibpath_overrides_runpath=yes
10637   shlibpath_var=DYLD_LIBRARY_PATH
10638   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10639
10640   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10641   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10642   ;;
10643
10644 dgux*)
10645   version_type=linux # correct to gnu/linux during the next big refactor
10646   need_lib_prefix=no
10647   need_version=no
10648   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10649   soname_spec='${libname}${release}${shared_ext}$major'
10650   shlibpath_var=LD_LIBRARY_PATH
10651   ;;
10652
10653 freebsd* | dragonfly*)
10654   # DragonFly does not have aout.  When/if they implement a new
10655   # versioning mechanism, adjust this.
10656   if test -x /usr/bin/objformat; then
10657     objformat=`/usr/bin/objformat`
10658   else
10659     case $host_os in
10660     freebsd[23].*) objformat=aout ;;
10661     *) objformat=elf ;;
10662     esac
10663   fi
10664   version_type=freebsd-$objformat
10665   case $version_type in
10666     freebsd-elf*)
10667       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10668       need_version=no
10669       need_lib_prefix=no
10670       ;;
10671     freebsd-*)
10672       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10673       need_version=yes
10674       ;;
10675   esac
10676   shlibpath_var=LD_LIBRARY_PATH
10677   case $host_os in
10678   freebsd2.*)
10679     shlibpath_overrides_runpath=yes
10680     ;;
10681   freebsd3.[01]* | freebsdelf3.[01]*)
10682     shlibpath_overrides_runpath=yes
10683     hardcode_into_libs=yes
10684     ;;
10685   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10686   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10687     shlibpath_overrides_runpath=no
10688     hardcode_into_libs=yes
10689     ;;
10690   *) # from 4.6 on, and DragonFly
10691     shlibpath_overrides_runpath=yes
10692     hardcode_into_libs=yes
10693     ;;
10694   esac
10695   ;;
10696
10697 haiku*)
10698   version_type=linux # correct to gnu/linux during the next big refactor
10699   need_lib_prefix=no
10700   need_version=no
10701   dynamic_linker="$host_os runtime_loader"
10702   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10703   soname_spec='${libname}${release}${shared_ext}$major'
10704   shlibpath_var=LIBRARY_PATH
10705   shlibpath_overrides_runpath=yes
10706   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10707   hardcode_into_libs=yes
10708   ;;
10709
10710 hpux9* | hpux10* | hpux11*)
10711   # Give a soname corresponding to the major version so that dld.sl refuses to
10712   # link against other versions.
10713   version_type=sunos
10714   need_lib_prefix=no
10715   need_version=no
10716   case $host_cpu in
10717   ia64*)
10718     shrext_cmds='.so'
10719     hardcode_into_libs=yes
10720     dynamic_linker="$host_os dld.so"
10721     shlibpath_var=LD_LIBRARY_PATH
10722     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10723     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10724     soname_spec='${libname}${release}${shared_ext}$major'
10725     if test "X$HPUX_IA64_MODE" = X32; then
10726       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10727     else
10728       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10729     fi
10730     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10731     ;;
10732   hppa*64*)
10733     shrext_cmds='.sl'
10734     hardcode_into_libs=yes
10735     dynamic_linker="$host_os dld.sl"
10736     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10737     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10738     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10739     soname_spec='${libname}${release}${shared_ext}$major'
10740     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10741     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10742     ;;
10743   *)
10744     shrext_cmds='.sl'
10745     dynamic_linker="$host_os dld.sl"
10746     shlibpath_var=SHLIB_PATH
10747     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10748     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10749     soname_spec='${libname}${release}${shared_ext}$major'
10750     ;;
10751   esac
10752   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10753   postinstall_cmds='chmod 555 $lib'
10754   # or fails outright, so override atomically:
10755   install_override_mode=555
10756   ;;
10757
10758 interix[3-9]*)
10759   version_type=linux # correct to gnu/linux during the next big refactor
10760   need_lib_prefix=no
10761   need_version=no
10762   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10763   soname_spec='${libname}${release}${shared_ext}$major'
10764   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10765   shlibpath_var=LD_LIBRARY_PATH
10766   shlibpath_overrides_runpath=no
10767   hardcode_into_libs=yes
10768   ;;
10769
10770 irix5* | irix6* | nonstopux*)
10771   case $host_os in
10772     nonstopux*) version_type=nonstopux ;;
10773     *)
10774         if test "$lt_cv_prog_gnu_ld" = yes; then
10775                 version_type=linux # correct to gnu/linux during the next big refactor
10776         else
10777                 version_type=irix
10778         fi ;;
10779   esac
10780   need_lib_prefix=no
10781   need_version=no
10782   soname_spec='${libname}${release}${shared_ext}$major'
10783   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10784   case $host_os in
10785   irix5* | nonstopux*)
10786     libsuff= shlibsuff=
10787     ;;
10788   *)
10789     case $LD in # libtool.m4 will add one of these switches to LD
10790     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10791       libsuff= shlibsuff= libmagic=32-bit;;
10792     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10793       libsuff=32 shlibsuff=N32 libmagic=N32;;
10794     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10795       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10796     *) libsuff= shlibsuff= libmagic=never-match;;
10797     esac
10798     ;;
10799   esac
10800   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10801   shlibpath_overrides_runpath=no
10802   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10803   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10804   hardcode_into_libs=yes
10805   ;;
10806
10807 # No shared lib support for Linux oldld, aout, or coff.
10808 linux*oldld* | linux*aout* | linux*coff*)
10809   dynamic_linker=no
10810   ;;
10811
10812 # This must be glibc/ELF.
10813 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10814   version_type=linux # correct to gnu/linux during the next big refactor
10815   need_lib_prefix=no
10816   need_version=no
10817   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10818   soname_spec='${libname}${release}${shared_ext}$major'
10819   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10820   shlibpath_var=LD_LIBRARY_PATH
10821   shlibpath_overrides_runpath=no
10822
10823   # Some binutils ld are patched to set DT_RUNPATH
10824   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10825   $as_echo_n "(cached) " >&6
10826 else
10827   lt_cv_shlibpath_overrides_runpath=no
10828     save_LDFLAGS=$LDFLAGS
10829     save_libdir=$libdir
10830     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10831          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10832     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10833 /* end confdefs.h.  */
10834
10835 int
10836 main ()
10837 {
10838
10839   ;
10840   return 0;
10841 }
10842 _ACEOF
10843 if ac_fn_c_try_link "$LINENO"; then :
10844   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10845   lt_cv_shlibpath_overrides_runpath=yes
10846 fi
10847 fi
10848 rm -f core conftest.err conftest.$ac_objext \
10849     conftest$ac_exeext conftest.$ac_ext
10850     LDFLAGS=$save_LDFLAGS
10851     libdir=$save_libdir
10852
10853 fi
10854
10855   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10856
10857   # This implies no fast_install, which is unacceptable.
10858   # Some rework will be needed to allow for fast_install
10859   # before this can be enabled.
10860   hardcode_into_libs=yes
10861
10862   # Append ld.so.conf contents to the search path
10863   if test -f /etc/ld.so.conf; then
10864     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10865     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10866   fi
10867
10868   # We used to test for /lib/ld.so.1 and disable shared libraries on
10869   # powerpc, because MkLinux only supported shared libraries with the
10870   # GNU dynamic linker.  Since this was broken with cross compilers,
10871   # most powerpc-linux boxes support dynamic linking these days and
10872   # people can always --disable-shared, the test was removed, and we
10873   # assume the GNU/Linux dynamic linker is in use.
10874   dynamic_linker='GNU/Linux ld.so'
10875   ;;
10876
10877 netbsdelf*-gnu)
10878   version_type=linux
10879   need_lib_prefix=no
10880   need_version=no
10881   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10882   soname_spec='${libname}${release}${shared_ext}$major'
10883   shlibpath_var=LD_LIBRARY_PATH
10884   shlibpath_overrides_runpath=no
10885   hardcode_into_libs=yes
10886   dynamic_linker='NetBSD ld.elf_so'
10887   ;;
10888
10889 netbsd*)
10890   version_type=sunos
10891   need_lib_prefix=no
10892   need_version=no
10893   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10894     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10895     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10896     dynamic_linker='NetBSD (a.out) ld.so'
10897   else
10898     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10899     soname_spec='${libname}${release}${shared_ext}$major'
10900     dynamic_linker='NetBSD ld.elf_so'
10901   fi
10902   shlibpath_var=LD_LIBRARY_PATH
10903   shlibpath_overrides_runpath=yes
10904   hardcode_into_libs=yes
10905   ;;
10906
10907 newsos6)
10908   version_type=linux # correct to gnu/linux during the next big refactor
10909   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10910   shlibpath_var=LD_LIBRARY_PATH
10911   shlibpath_overrides_runpath=yes
10912   ;;
10913
10914 *nto* | *qnx*)
10915   version_type=qnx
10916   need_lib_prefix=no
10917   need_version=no
10918   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10919   soname_spec='${libname}${release}${shared_ext}$major'
10920   shlibpath_var=LD_LIBRARY_PATH
10921   shlibpath_overrides_runpath=no
10922   hardcode_into_libs=yes
10923   dynamic_linker='ldqnx.so'
10924   ;;
10925
10926 openbsd*)
10927   version_type=sunos
10928   sys_lib_dlsearch_path_spec="/usr/lib"
10929   need_lib_prefix=no
10930   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10931   case $host_os in
10932     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10933     *)                          need_version=no  ;;
10934   esac
10935   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10936   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10937   shlibpath_var=LD_LIBRARY_PATH
10938   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10939     case $host_os in
10940       openbsd2.[89] | openbsd2.[89].*)
10941         shlibpath_overrides_runpath=no
10942         ;;
10943       *)
10944         shlibpath_overrides_runpath=yes
10945         ;;
10946       esac
10947   else
10948     shlibpath_overrides_runpath=yes
10949   fi
10950   ;;
10951
10952 os2*)
10953   libname_spec='$name'
10954   shrext_cmds=".dll"
10955   need_lib_prefix=no
10956   library_names_spec='$libname${shared_ext} $libname.a'
10957   dynamic_linker='OS/2 ld.exe'
10958   shlibpath_var=LIBPATH
10959   ;;
10960
10961 osf3* | osf4* | osf5*)
10962   version_type=osf
10963   need_lib_prefix=no
10964   need_version=no
10965   soname_spec='${libname}${release}${shared_ext}$major'
10966   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10967   shlibpath_var=LD_LIBRARY_PATH
10968   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10969   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10970   ;;
10971
10972 rdos*)
10973   dynamic_linker=no
10974   ;;
10975
10976 solaris*)
10977   version_type=linux # correct to gnu/linux during the next big refactor
10978   need_lib_prefix=no
10979   need_version=no
10980   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10981   soname_spec='${libname}${release}${shared_ext}$major'
10982   shlibpath_var=LD_LIBRARY_PATH
10983   shlibpath_overrides_runpath=yes
10984   hardcode_into_libs=yes
10985   # ldd complains unless libraries are executable
10986   postinstall_cmds='chmod +x $lib'
10987   ;;
10988
10989 sunos4*)
10990   version_type=sunos
10991   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10992   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10993   shlibpath_var=LD_LIBRARY_PATH
10994   shlibpath_overrides_runpath=yes
10995   if test "$with_gnu_ld" = yes; then
10996     need_lib_prefix=no
10997   fi
10998   need_version=yes
10999   ;;
11000
11001 sysv4 | sysv4.3*)
11002   version_type=linux # correct to gnu/linux during the next big refactor
11003   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11004   soname_spec='${libname}${release}${shared_ext}$major'
11005   shlibpath_var=LD_LIBRARY_PATH
11006   case $host_vendor in
11007     sni)
11008       shlibpath_overrides_runpath=no
11009       need_lib_prefix=no
11010       runpath_var=LD_RUN_PATH
11011       ;;
11012     siemens)
11013       need_lib_prefix=no
11014       ;;
11015     motorola)
11016       need_lib_prefix=no
11017       need_version=no
11018       shlibpath_overrides_runpath=no
11019       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11020       ;;
11021   esac
11022   ;;
11023
11024 sysv4*MP*)
11025   if test -d /usr/nec ;then
11026     version_type=linux # correct to gnu/linux during the next big refactor
11027     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11028     soname_spec='$libname${shared_ext}.$major'
11029     shlibpath_var=LD_LIBRARY_PATH
11030   fi
11031   ;;
11032
11033 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11034   version_type=freebsd-elf
11035   need_lib_prefix=no
11036   need_version=no
11037   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11038   soname_spec='${libname}${release}${shared_ext}$major'
11039   shlibpath_var=LD_LIBRARY_PATH
11040   shlibpath_overrides_runpath=yes
11041   hardcode_into_libs=yes
11042   if test "$with_gnu_ld" = yes; then
11043     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11044   else
11045     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11046     case $host_os in
11047       sco3.2v5*)
11048         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11049         ;;
11050     esac
11051   fi
11052   sys_lib_dlsearch_path_spec='/usr/lib'
11053   ;;
11054
11055 tpf*)
11056   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11057   version_type=linux # correct to gnu/linux during the next big refactor
11058   need_lib_prefix=no
11059   need_version=no
11060   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11061   shlibpath_var=LD_LIBRARY_PATH
11062   shlibpath_overrides_runpath=no
11063   hardcode_into_libs=yes
11064   ;;
11065
11066 uts4*)
11067   version_type=linux # correct to gnu/linux during the next big refactor
11068   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11069   soname_spec='${libname}${release}${shared_ext}$major'
11070   shlibpath_var=LD_LIBRARY_PATH
11071   ;;
11072
11073 *)
11074   dynamic_linker=no
11075   ;;
11076 esac
11077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11078 $as_echo "$dynamic_linker" >&6; }
11079 test "$dynamic_linker" = no && can_build_shared=no
11080
11081 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11082 if test "$GCC" = yes; then
11083   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11084 fi
11085
11086 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11087   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11088 fi
11089 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11090   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11091 fi
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11185 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11186 hardcode_action=
11187 if test -n "$hardcode_libdir_flag_spec" ||
11188    test -n "$runpath_var" ||
11189    test "X$hardcode_automatic" = "Xyes" ; then
11190
11191   # We can hardcode non-existent directories.
11192   if test "$hardcode_direct" != no &&
11193      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11194      # have to relink, otherwise we might link with an installed library
11195      # when we should be linking with a yet-to-be-installed one
11196      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11197      test "$hardcode_minus_L" != no; then
11198     # Linking always hardcodes the temporary library directory.
11199     hardcode_action=relink
11200   else
11201     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11202     hardcode_action=immediate
11203   fi
11204 else
11205   # We cannot hardcode anything, or else we can only hardcode existing
11206   # directories.
11207   hardcode_action=unsupported
11208 fi
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11210 $as_echo "$hardcode_action" >&6; }
11211
11212 if test "$hardcode_action" = relink ||
11213    test "$inherit_rpath" = yes; then
11214   # Fast installation is not supported
11215   enable_fast_install=no
11216 elif test "$shlibpath_overrides_runpath" = yes ||
11217      test "$enable_shared" = no; then
11218   # Fast installation is not necessary
11219   enable_fast_install=needless
11220 fi
11221
11222
11223
11224
11225
11226
11227   if test "x$enable_dlopen" != xyes; then
11228   enable_dlopen=unknown
11229   enable_dlopen_self=unknown
11230   enable_dlopen_self_static=unknown
11231 else
11232   lt_cv_dlopen=no
11233   lt_cv_dlopen_libs=
11234
11235   case $host_os in
11236   beos*)
11237     lt_cv_dlopen="load_add_on"
11238     lt_cv_dlopen_libs=
11239     lt_cv_dlopen_self=yes
11240     ;;
11241
11242   mingw* | pw32* | cegcc*)
11243     lt_cv_dlopen="LoadLibrary"
11244     lt_cv_dlopen_libs=
11245     ;;
11246
11247   cygwin*)
11248     lt_cv_dlopen="dlopen"
11249     lt_cv_dlopen_libs=
11250     ;;
11251
11252   darwin*)
11253   # if libdl is installed we need to link against it
11254     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11255 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11256 if ${ac_cv_lib_dl_dlopen+:} false; then :
11257   $as_echo_n "(cached) " >&6
11258 else
11259   ac_check_lib_save_LIBS=$LIBS
11260 LIBS="-ldl  $LIBS"
11261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11262 /* end confdefs.h.  */
11263
11264 /* Override any GCC internal prototype to avoid an error.
11265    Use char because int might match the return type of a GCC
11266    builtin and then its argument prototype would still apply.  */
11267 #ifdef __cplusplus
11268 extern "C"
11269 #endif
11270 char dlopen ();
11271 int
11272 main ()
11273 {
11274 return dlopen ();
11275   ;
11276   return 0;
11277 }
11278 _ACEOF
11279 if ac_fn_c_try_link "$LINENO"; then :
11280   ac_cv_lib_dl_dlopen=yes
11281 else
11282   ac_cv_lib_dl_dlopen=no
11283 fi
11284 rm -f core conftest.err conftest.$ac_objext \
11285     conftest$ac_exeext conftest.$ac_ext
11286 LIBS=$ac_check_lib_save_LIBS
11287 fi
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11289 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11290 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11291   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11292 else
11293
11294     lt_cv_dlopen="dyld"
11295     lt_cv_dlopen_libs=
11296     lt_cv_dlopen_self=yes
11297
11298 fi
11299
11300     ;;
11301
11302   *)
11303     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11304 if test "x$ac_cv_func_shl_load" = xyes; then :
11305   lt_cv_dlopen="shl_load"
11306 else
11307   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11308 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11309 if ${ac_cv_lib_dld_shl_load+:} false; then :
11310   $as_echo_n "(cached) " >&6
11311 else
11312   ac_check_lib_save_LIBS=$LIBS
11313 LIBS="-ldld  $LIBS"
11314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11315 /* end confdefs.h.  */
11316
11317 /* Override any GCC internal prototype to avoid an error.
11318    Use char because int might match the return type of a GCC
11319    builtin and then its argument prototype would still apply.  */
11320 #ifdef __cplusplus
11321 extern "C"
11322 #endif
11323 char shl_load ();
11324 int
11325 main ()
11326 {
11327 return shl_load ();
11328   ;
11329   return 0;
11330 }
11331 _ACEOF
11332 if ac_fn_c_try_link "$LINENO"; then :
11333   ac_cv_lib_dld_shl_load=yes
11334 else
11335   ac_cv_lib_dld_shl_load=no
11336 fi
11337 rm -f core conftest.err conftest.$ac_objext \
11338     conftest$ac_exeext conftest.$ac_ext
11339 LIBS=$ac_check_lib_save_LIBS
11340 fi
11341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11342 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11343 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11344   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11345 else
11346   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11347 if test "x$ac_cv_func_dlopen" = xyes; then :
11348   lt_cv_dlopen="dlopen"
11349 else
11350   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11351 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11352 if ${ac_cv_lib_dl_dlopen+:} false; then :
11353   $as_echo_n "(cached) " >&6
11354 else
11355   ac_check_lib_save_LIBS=$LIBS
11356 LIBS="-ldl  $LIBS"
11357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11358 /* end confdefs.h.  */
11359
11360 /* Override any GCC internal prototype to avoid an error.
11361    Use char because int might match the return type of a GCC
11362    builtin and then its argument prototype would still apply.  */
11363 #ifdef __cplusplus
11364 extern "C"
11365 #endif
11366 char dlopen ();
11367 int
11368 main ()
11369 {
11370 return dlopen ();
11371   ;
11372   return 0;
11373 }
11374 _ACEOF
11375 if ac_fn_c_try_link "$LINENO"; then :
11376   ac_cv_lib_dl_dlopen=yes
11377 else
11378   ac_cv_lib_dl_dlopen=no
11379 fi
11380 rm -f core conftest.err conftest.$ac_objext \
11381     conftest$ac_exeext conftest.$ac_ext
11382 LIBS=$ac_check_lib_save_LIBS
11383 fi
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11385 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11386 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11387   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11388 else
11389   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11390 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11391 if ${ac_cv_lib_svld_dlopen+:} false; then :
11392   $as_echo_n "(cached) " >&6
11393 else
11394   ac_check_lib_save_LIBS=$LIBS
11395 LIBS="-lsvld  $LIBS"
11396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11397 /* end confdefs.h.  */
11398
11399 /* Override any GCC internal prototype to avoid an error.
11400    Use char because int might match the return type of a GCC
11401    builtin and then its argument prototype would still apply.  */
11402 #ifdef __cplusplus
11403 extern "C"
11404 #endif
11405 char dlopen ();
11406 int
11407 main ()
11408 {
11409 return dlopen ();
11410   ;
11411   return 0;
11412 }
11413 _ACEOF
11414 if ac_fn_c_try_link "$LINENO"; then :
11415   ac_cv_lib_svld_dlopen=yes
11416 else
11417   ac_cv_lib_svld_dlopen=no
11418 fi
11419 rm -f core conftest.err conftest.$ac_objext \
11420     conftest$ac_exeext conftest.$ac_ext
11421 LIBS=$ac_check_lib_save_LIBS
11422 fi
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11424 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11425 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11426   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11427 else
11428   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11429 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11430 if ${ac_cv_lib_dld_dld_link+:} false; then :
11431   $as_echo_n "(cached) " >&6
11432 else
11433   ac_check_lib_save_LIBS=$LIBS
11434 LIBS="-ldld  $LIBS"
11435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11436 /* end confdefs.h.  */
11437
11438 /* Override any GCC internal prototype to avoid an error.
11439    Use char because int might match the return type of a GCC
11440    builtin and then its argument prototype would still apply.  */
11441 #ifdef __cplusplus
11442 extern "C"
11443 #endif
11444 char dld_link ();
11445 int
11446 main ()
11447 {
11448 return dld_link ();
11449   ;
11450   return 0;
11451 }
11452 _ACEOF
11453 if ac_fn_c_try_link "$LINENO"; then :
11454   ac_cv_lib_dld_dld_link=yes
11455 else
11456   ac_cv_lib_dld_dld_link=no
11457 fi
11458 rm -f core conftest.err conftest.$ac_objext \
11459     conftest$ac_exeext conftest.$ac_ext
11460 LIBS=$ac_check_lib_save_LIBS
11461 fi
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11463 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11464 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11465   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11466 fi
11467
11468
11469 fi
11470
11471
11472 fi
11473
11474
11475 fi
11476
11477
11478 fi
11479
11480
11481 fi
11482
11483     ;;
11484   esac
11485
11486   if test "x$lt_cv_dlopen" != xno; then
11487     enable_dlopen=yes
11488   else
11489     enable_dlopen=no
11490   fi
11491
11492   case $lt_cv_dlopen in
11493   dlopen)
11494     save_CPPFLAGS="$CPPFLAGS"
11495     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11496
11497     save_LDFLAGS="$LDFLAGS"
11498     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11499
11500     save_LIBS="$LIBS"
11501     LIBS="$lt_cv_dlopen_libs $LIBS"
11502
11503     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11504 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11505 if ${lt_cv_dlopen_self+:} false; then :
11506   $as_echo_n "(cached) " >&6
11507 else
11508           if test "$cross_compiling" = yes; then :
11509   lt_cv_dlopen_self=cross
11510 else
11511   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11512   lt_status=$lt_dlunknown
11513   cat > conftest.$ac_ext <<_LT_EOF
11514 #line $LINENO "configure"
11515 #include "confdefs.h"
11516
11517 #if HAVE_DLFCN_H
11518 #include <dlfcn.h>
11519 #endif
11520
11521 #include <stdio.h>
11522
11523 #ifdef RTLD_GLOBAL
11524 #  define LT_DLGLOBAL           RTLD_GLOBAL
11525 #else
11526 #  ifdef DL_GLOBAL
11527 #    define LT_DLGLOBAL         DL_GLOBAL
11528 #  else
11529 #    define LT_DLGLOBAL         0
11530 #  endif
11531 #endif
11532
11533 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11534    find out it does not work in some platform. */
11535 #ifndef LT_DLLAZY_OR_NOW
11536 #  ifdef RTLD_LAZY
11537 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11538 #  else
11539 #    ifdef DL_LAZY
11540 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11541 #    else
11542 #      ifdef RTLD_NOW
11543 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11544 #      else
11545 #        ifdef DL_NOW
11546 #          define LT_DLLAZY_OR_NOW      DL_NOW
11547 #        else
11548 #          define LT_DLLAZY_OR_NOW      0
11549 #        endif
11550 #      endif
11551 #    endif
11552 #  endif
11553 #endif
11554
11555 /* When -fvisbility=hidden is used, assume the code has been annotated
11556    correspondingly for the symbols needed.  */
11557 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11558 int fnord () __attribute__((visibility("default")));
11559 #endif
11560
11561 int fnord () { return 42; }
11562 int main ()
11563 {
11564   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11565   int status = $lt_dlunknown;
11566
11567   if (self)
11568     {
11569       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11570       else
11571         {
11572           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11573           else puts (dlerror ());
11574         }
11575       /* dlclose (self); */
11576     }
11577   else
11578     puts (dlerror ());
11579
11580   return status;
11581 }
11582 _LT_EOF
11583   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11584   (eval $ac_link) 2>&5
11585   ac_status=$?
11586   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11587   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11588     (./conftest; exit; ) >&5 2>/dev/null
11589     lt_status=$?
11590     case x$lt_status in
11591       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11592       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11593       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11594     esac
11595   else :
11596     # compilation failed
11597     lt_cv_dlopen_self=no
11598   fi
11599 fi
11600 rm -fr conftest*
11601
11602
11603 fi
11604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11605 $as_echo "$lt_cv_dlopen_self" >&6; }
11606
11607     if test "x$lt_cv_dlopen_self" = xyes; then
11608       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11609       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11610 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11611 if ${lt_cv_dlopen_self_static+:} false; then :
11612   $as_echo_n "(cached) " >&6
11613 else
11614           if test "$cross_compiling" = yes; then :
11615   lt_cv_dlopen_self_static=cross
11616 else
11617   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11618   lt_status=$lt_dlunknown
11619   cat > conftest.$ac_ext <<_LT_EOF
11620 #line $LINENO "configure"
11621 #include "confdefs.h"
11622
11623 #if HAVE_DLFCN_H
11624 #include <dlfcn.h>
11625 #endif
11626
11627 #include <stdio.h>
11628
11629 #ifdef RTLD_GLOBAL
11630 #  define LT_DLGLOBAL           RTLD_GLOBAL
11631 #else
11632 #  ifdef DL_GLOBAL
11633 #    define LT_DLGLOBAL         DL_GLOBAL
11634 #  else
11635 #    define LT_DLGLOBAL         0
11636 #  endif
11637 #endif
11638
11639 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11640    find out it does not work in some platform. */
11641 #ifndef LT_DLLAZY_OR_NOW
11642 #  ifdef RTLD_LAZY
11643 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11644 #  else
11645 #    ifdef DL_LAZY
11646 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11647 #    else
11648 #      ifdef RTLD_NOW
11649 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11650 #      else
11651 #        ifdef DL_NOW
11652 #          define LT_DLLAZY_OR_NOW      DL_NOW
11653 #        else
11654 #          define LT_DLLAZY_OR_NOW      0
11655 #        endif
11656 #      endif
11657 #    endif
11658 #  endif
11659 #endif
11660
11661 /* When -fvisbility=hidden is used, assume the code has been annotated
11662    correspondingly for the symbols needed.  */
11663 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11664 int fnord () __attribute__((visibility("default")));
11665 #endif
11666
11667 int fnord () { return 42; }
11668 int main ()
11669 {
11670   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11671   int status = $lt_dlunknown;
11672
11673   if (self)
11674     {
11675       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11676       else
11677         {
11678           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11679           else puts (dlerror ());
11680         }
11681       /* dlclose (self); */
11682     }
11683   else
11684     puts (dlerror ());
11685
11686   return status;
11687 }
11688 _LT_EOF
11689   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11690   (eval $ac_link) 2>&5
11691   ac_status=$?
11692   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11693   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11694     (./conftest; exit; ) >&5 2>/dev/null
11695     lt_status=$?
11696     case x$lt_status in
11697       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11698       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11699       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11700     esac
11701   else :
11702     # compilation failed
11703     lt_cv_dlopen_self_static=no
11704   fi
11705 fi
11706 rm -fr conftest*
11707
11708
11709 fi
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11711 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11712     fi
11713
11714     CPPFLAGS="$save_CPPFLAGS"
11715     LDFLAGS="$save_LDFLAGS"
11716     LIBS="$save_LIBS"
11717     ;;
11718   esac
11719
11720   case $lt_cv_dlopen_self in
11721   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11722   *) enable_dlopen_self=unknown ;;
11723   esac
11724
11725   case $lt_cv_dlopen_self_static in
11726   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11727   *) enable_dlopen_self_static=unknown ;;
11728   esac
11729 fi
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747 striplib=
11748 old_striplib=
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11750 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11751 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11752   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11753   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11755 $as_echo "yes" >&6; }
11756 else
11757 # FIXME - insert some real tests, host_os isn't really good enough
11758   case $host_os in
11759   darwin*)
11760     if test -n "$STRIP" ; then
11761       striplib="$STRIP -x"
11762       old_striplib="$STRIP -S"
11763       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11764 $as_echo "yes" >&6; }
11765     else
11766       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11767 $as_echo "no" >&6; }
11768     fi
11769     ;;
11770   *)
11771     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11772 $as_echo "no" >&6; }
11773     ;;
11774   esac
11775 fi
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788   # Report which library types will actually be built
11789   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11790 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11792 $as_echo "$can_build_shared" >&6; }
11793
11794   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11795 $as_echo_n "checking whether to build shared libraries... " >&6; }
11796   test "$can_build_shared" = "no" && enable_shared=no
11797
11798   # On AIX, shared libraries and static libraries use the same namespace, and
11799   # are all built from PIC.
11800   case $host_os in
11801   aix3*)
11802     test "$enable_shared" = yes && enable_static=no
11803     if test -n "$RANLIB"; then
11804       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11805       postinstall_cmds='$RANLIB $lib'
11806     fi
11807     ;;
11808
11809   aix[4-9]*)
11810     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11811       test "$enable_shared" = yes && enable_static=no
11812     fi
11813     ;;
11814   esac
11815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11816 $as_echo "$enable_shared" >&6; }
11817
11818   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11819 $as_echo_n "checking whether to build static libraries... " >&6; }
11820   # Make sure either enable_shared or enable_static is yes.
11821   test "$enable_shared" = yes || enable_static=yes
11822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11823 $as_echo "$enable_static" >&6; }
11824
11825
11826
11827
11828 fi
11829 ac_ext=c
11830 ac_cpp='$CPP $CPPFLAGS'
11831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11834
11835 CC="$lt_save_CC"
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851         ac_config_commands="$ac_config_commands libtool"
11852
11853
11854
11855
11856 # Only expand once:
11857
11858
11859
11860 # Checks for libraries.
11861
11862
11863
11864
11865
11866
11867
11868 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11869         if test -n "$ac_tool_prefix"; then
11870   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11871 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11873 $as_echo_n "checking for $ac_word... " >&6; }
11874 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11875   $as_echo_n "(cached) " >&6
11876 else
11877   case $PKG_CONFIG in
11878   [\\/]* | ?:[\\/]*)
11879   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11880   ;;
11881   *)
11882   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11883 for as_dir in $PATH
11884 do
11885   IFS=$as_save_IFS
11886   test -z "$as_dir" && as_dir=.
11887     for ac_exec_ext in '' $ac_executable_extensions; do
11888   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11889     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11890     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11891     break 2
11892   fi
11893 done
11894   done
11895 IFS=$as_save_IFS
11896
11897   ;;
11898 esac
11899 fi
11900 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11901 if test -n "$PKG_CONFIG"; then
11902   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11903 $as_echo "$PKG_CONFIG" >&6; }
11904 else
11905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11906 $as_echo "no" >&6; }
11907 fi
11908
11909
11910 fi
11911 if test -z "$ac_cv_path_PKG_CONFIG"; then
11912   ac_pt_PKG_CONFIG=$PKG_CONFIG
11913   # Extract the first word of "pkg-config", so it can be a program name with args.
11914 set dummy pkg-config; ac_word=$2
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11916 $as_echo_n "checking for $ac_word... " >&6; }
11917 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11918   $as_echo_n "(cached) " >&6
11919 else
11920   case $ac_pt_PKG_CONFIG in
11921   [\\/]* | ?:[\\/]*)
11922   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11923   ;;
11924   *)
11925   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11926 for as_dir in $PATH
11927 do
11928   IFS=$as_save_IFS
11929   test -z "$as_dir" && as_dir=.
11930     for ac_exec_ext in '' $ac_executable_extensions; do
11931   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11932     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11933     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11934     break 2
11935   fi
11936 done
11937   done
11938 IFS=$as_save_IFS
11939
11940   ;;
11941 esac
11942 fi
11943 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11944 if test -n "$ac_pt_PKG_CONFIG"; then
11945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11946 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11947 else
11948   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11949 $as_echo "no" >&6; }
11950 fi
11951
11952   if test "x$ac_pt_PKG_CONFIG" = x; then
11953     PKG_CONFIG=""
11954   else
11955     case $cross_compiling:$ac_tool_warned in
11956 yes:)
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11958 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11959 ac_tool_warned=yes ;;
11960 esac
11961     PKG_CONFIG=$ac_pt_PKG_CONFIG
11962   fi
11963 else
11964   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11965 fi
11966
11967 fi
11968 if test -n "$PKG_CONFIG"; then
11969         _pkg_min_version=0.9.0
11970         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11971 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11972         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11973                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11974 $as_echo "yes" >&6; }
11975         else
11976                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11977 $as_echo "no" >&6; }
11978                 PKG_CONFIG=""
11979         fi
11980 fi
11981
11982 pkg_failed=no
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSIGNOND" >&5
11984 $as_echo_n "checking for GSIGNOND... " >&6; }
11985
11986 if test -n "$GSIGNOND_CFLAGS"; then
11987     pkg_cv_GSIGNOND_CFLAGS="$GSIGNOND_CFLAGS"
11988  elif test -n "$PKG_CONFIG"; then
11989     if test -n "$PKG_CONFIG" && \
11990     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.30
11991                    gio-2.0
11992                    gio-unix-2.0
11993                    gmodule-2.0
11994                    sqlite3\""; } >&5
11995   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.30
11996                    gio-2.0
11997                    gio-unix-2.0
11998                    gmodule-2.0
11999                    sqlite3") 2>&5
12000   ac_status=$?
12001   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12002   test $ac_status = 0; }; then
12003   pkg_cv_GSIGNOND_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.30
12004                    gio-2.0
12005                    gio-unix-2.0
12006                    gmodule-2.0
12007                    sqlite3" 2>/dev/null`
12008                       test "x$?" != "x0" && pkg_failed=yes
12009 else
12010   pkg_failed=yes
12011 fi
12012  else
12013     pkg_failed=untried
12014 fi
12015 if test -n "$GSIGNOND_LIBS"; then
12016     pkg_cv_GSIGNOND_LIBS="$GSIGNOND_LIBS"
12017  elif test -n "$PKG_CONFIG"; then
12018     if test -n "$PKG_CONFIG" && \
12019     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.30
12020                    gio-2.0
12021                    gio-unix-2.0
12022                    gmodule-2.0
12023                    sqlite3\""; } >&5
12024   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.30
12025                    gio-2.0
12026                    gio-unix-2.0
12027                    gmodule-2.0
12028                    sqlite3") 2>&5
12029   ac_status=$?
12030   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12031   test $ac_status = 0; }; then
12032   pkg_cv_GSIGNOND_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.30
12033                    gio-2.0
12034                    gio-unix-2.0
12035                    gmodule-2.0
12036                    sqlite3" 2>/dev/null`
12037                       test "x$?" != "x0" && pkg_failed=yes
12038 else
12039   pkg_failed=yes
12040 fi
12041  else
12042     pkg_failed=untried
12043 fi
12044
12045
12046
12047 if test $pkg_failed = yes; then
12048         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12049 $as_echo "no" >&6; }
12050
12051 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12052         _pkg_short_errors_supported=yes
12053 else
12054         _pkg_short_errors_supported=no
12055 fi
12056         if test $_pkg_short_errors_supported = yes; then
12057                 GSIGNOND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.30
12058                    gio-2.0
12059                    gio-unix-2.0
12060                    gmodule-2.0
12061                    sqlite3" 2>&1`
12062         else
12063                 GSIGNOND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.30
12064                    gio-2.0
12065                    gio-unix-2.0
12066                    gmodule-2.0
12067                    sqlite3" 2>&1`
12068         fi
12069         # Put the nasty error message in config.log where it belongs
12070         echo "$GSIGNOND_PKG_ERRORS" >&5
12071
12072         as_fn_error $? "Package requirements (glib-2.0 >= 2.30
12073                    gio-2.0
12074                    gio-unix-2.0
12075                    gmodule-2.0
12076                    sqlite3) were not met:
12077
12078 $GSIGNOND_PKG_ERRORS
12079
12080 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12081 installed software in a non-standard prefix.
12082
12083 Alternatively, you may set the environment variables GSIGNOND_CFLAGS
12084 and GSIGNOND_LIBS to avoid the need to call pkg-config.
12085 See the pkg-config man page for more details." "$LINENO" 5
12086 elif test $pkg_failed = untried; then
12087         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12088 $as_echo "no" >&6; }
12089         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12090 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12091 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12092 is in your PATH or set the PKG_CONFIG environment variable to the full
12093 path to pkg-config.
12094
12095 Alternatively, you may set the environment variables GSIGNOND_CFLAGS
12096 and GSIGNOND_LIBS to avoid the need to call pkg-config.
12097 See the pkg-config man page for more details.
12098
12099 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12100 See \`config.log' for more details" "$LINENO" 5; }
12101 else
12102         GSIGNOND_CFLAGS=$pkg_cv_GSIGNOND_CFLAGS
12103         GSIGNOND_LIBS=$pkg_cv_GSIGNOND_LIBS
12104         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12105 $as_echo "yes" >&6; }
12106
12107 fi
12108
12109
12110
12111
12112 # AM_PATH_CHECK() is deprecated, but check documentation fails to tell that :-/
12113
12114 pkg_failed=no
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
12116 $as_echo_n "checking for CHECK... " >&6; }
12117
12118 if test -n "$CHECK_CFLAGS"; then
12119     pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
12120  elif test -n "$PKG_CONFIG"; then
12121     if test -n "$PKG_CONFIG" && \
12122     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
12123   ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
12124   ac_status=$?
12125   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12126   test $ac_status = 0; }; then
12127   pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.4" 2>/dev/null`
12128                       test "x$?" != "x0" && pkg_failed=yes
12129 else
12130   pkg_failed=yes
12131 fi
12132  else
12133     pkg_failed=untried
12134 fi
12135 if test -n "$CHECK_LIBS"; then
12136     pkg_cv_CHECK_LIBS="$CHECK_LIBS"
12137  elif test -n "$PKG_CONFIG"; then
12138     if test -n "$PKG_CONFIG" && \
12139     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
12140   ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
12141   ac_status=$?
12142   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12143   test $ac_status = 0; }; then
12144   pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.4" 2>/dev/null`
12145                       test "x$?" != "x0" && pkg_failed=yes
12146 else
12147   pkg_failed=yes
12148 fi
12149  else
12150     pkg_failed=untried
12151 fi
12152
12153
12154
12155 if test $pkg_failed = yes; then
12156         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12157 $as_echo "no" >&6; }
12158
12159 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12160         _pkg_short_errors_supported=yes
12161 else
12162         _pkg_short_errors_supported=no
12163 fi
12164         if test $_pkg_short_errors_supported = yes; then
12165                 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
12166         else
12167                 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
12168         fi
12169         # Put the nasty error message in config.log where it belongs
12170         echo "$CHECK_PKG_ERRORS" >&5
12171
12172         have_check=no
12173 elif test $pkg_failed = untried; then
12174         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12175 $as_echo "no" >&6; }
12176         have_check=no
12177 else
12178         CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
12179         CHECK_LIBS=$pkg_cv_CHECK_LIBS
12180         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12181 $as_echo "yes" >&6; }
12182         have_check=yes
12183 fi
12184
12185
12186
12187
12188 pkg_failed=no
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSMACK" >&5
12190 $as_echo_n "checking for LIBSMACK... " >&6; }
12191
12192 if test -n "$LIBSMACK_CFLAGS"; then
12193     pkg_cv_LIBSMACK_CFLAGS="$LIBSMACK_CFLAGS"
12194  elif test -n "$PKG_CONFIG"; then
12195     if test -n "$PKG_CONFIG" && \
12196     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsmack >= 1.0\""; } >&5
12197   ($PKG_CONFIG --exists --print-errors "libsmack >= 1.0") 2>&5
12198   ac_status=$?
12199   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12200   test $ac_status = 0; }; then
12201   pkg_cv_LIBSMACK_CFLAGS=`$PKG_CONFIG --cflags "libsmack >= 1.0" 2>/dev/null`
12202                       test "x$?" != "x0" && pkg_failed=yes
12203 else
12204   pkg_failed=yes
12205 fi
12206  else
12207     pkg_failed=untried
12208 fi
12209 if test -n "$LIBSMACK_LIBS"; then
12210     pkg_cv_LIBSMACK_LIBS="$LIBSMACK_LIBS"
12211  elif test -n "$PKG_CONFIG"; then
12212     if test -n "$PKG_CONFIG" && \
12213     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsmack >= 1.0\""; } >&5
12214   ($PKG_CONFIG --exists --print-errors "libsmack >= 1.0") 2>&5
12215   ac_status=$?
12216   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12217   test $ac_status = 0; }; then
12218   pkg_cv_LIBSMACK_LIBS=`$PKG_CONFIG --libs "libsmack >= 1.0" 2>/dev/null`
12219                       test "x$?" != "x0" && pkg_failed=yes
12220 else
12221   pkg_failed=yes
12222 fi
12223  else
12224     pkg_failed=untried
12225 fi
12226
12227
12228
12229 if test $pkg_failed = yes; then
12230         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12231 $as_echo "no" >&6; }
12232
12233 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12234         _pkg_short_errors_supported=yes
12235 else
12236         _pkg_short_errors_supported=no
12237 fi
12238         if test $_pkg_short_errors_supported = yes; then
12239                 LIBSMACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsmack >= 1.0" 2>&1`
12240         else
12241                 LIBSMACK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsmack >= 1.0" 2>&1`
12242         fi
12243         # Put the nasty error message in config.log where it belongs
12244         echo "$LIBSMACK_PKG_ERRORS" >&5
12245
12246         libsmack=no
12247 elif test $pkg_failed = untried; then
12248         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12249 $as_echo "no" >&6; }
12250         libsmack=no
12251 else
12252         LIBSMACK_CFLAGS=$pkg_cv_LIBSMACK_CFLAGS
12253         LIBSMACK_LIBS=$pkg_cv_LIBSMACK_LIBS
12254         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12255 $as_echo "yes" >&6; }
12256         libsmack=yes
12257 fi
12258  if test x$libsmack = xyes; then
12259   HAVE_LIBSMACK_TRUE=
12260   HAVE_LIBSMACK_FALSE='#'
12261 else
12262   HAVE_LIBSMACK_TRUE='#'
12263   HAVE_LIBSMACK_FALSE=
12264 fi
12265
12266 if test "x$libsmack" = xyes; then
12267
12268 $as_echo "#define HAVE_LIBSMACK 1" >>confdefs.h
12269
12270 fi
12271
12272
12273 pkg_failed=no
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBECRYPTFS" >&5
12275 $as_echo_n "checking for LIBECRYPTFS... " >&6; }
12276
12277 if test -n "$LIBECRYPTFS_CFLAGS"; then
12278     pkg_cv_LIBECRYPTFS_CFLAGS="$LIBECRYPTFS_CFLAGS"
12279  elif test -n "$PKG_CONFIG"; then
12280     if test -n "$PKG_CONFIG" && \
12281     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libecryptfs >= 96\""; } >&5
12282   ($PKG_CONFIG --exists --print-errors "libecryptfs >= 96") 2>&5
12283   ac_status=$?
12284   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12285   test $ac_status = 0; }; then
12286   pkg_cv_LIBECRYPTFS_CFLAGS=`$PKG_CONFIG --cflags "libecryptfs >= 96" 2>/dev/null`
12287                       test "x$?" != "x0" && pkg_failed=yes
12288 else
12289   pkg_failed=yes
12290 fi
12291  else
12292     pkg_failed=untried
12293 fi
12294 if test -n "$LIBECRYPTFS_LIBS"; then
12295     pkg_cv_LIBECRYPTFS_LIBS="$LIBECRYPTFS_LIBS"
12296  elif test -n "$PKG_CONFIG"; then
12297     if test -n "$PKG_CONFIG" && \
12298     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libecryptfs >= 96\""; } >&5
12299   ($PKG_CONFIG --exists --print-errors "libecryptfs >= 96") 2>&5
12300   ac_status=$?
12301   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12302   test $ac_status = 0; }; then
12303   pkg_cv_LIBECRYPTFS_LIBS=`$PKG_CONFIG --libs "libecryptfs >= 96" 2>/dev/null`
12304                       test "x$?" != "x0" && pkg_failed=yes
12305 else
12306   pkg_failed=yes
12307 fi
12308  else
12309     pkg_failed=untried
12310 fi
12311
12312
12313
12314 if test $pkg_failed = yes; then
12315         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12316 $as_echo "no" >&6; }
12317
12318 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12319         _pkg_short_errors_supported=yes
12320 else
12321         _pkg_short_errors_supported=no
12322 fi
12323         if test $_pkg_short_errors_supported = yes; then
12324                 LIBECRYPTFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libecryptfs >= 96" 2>&1`
12325         else
12326                 LIBECRYPTFS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libecryptfs >= 96" 2>&1`
12327         fi
12328         # Put the nasty error message in config.log where it belongs
12329         echo "$LIBECRYPTFS_PKG_ERRORS" >&5
12330
12331         libecryptfs=no
12332 elif test $pkg_failed = untried; then
12333         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12334 $as_echo "no" >&6; }
12335         libecryptfs=no
12336 else
12337         LIBECRYPTFS_CFLAGS=$pkg_cv_LIBECRYPTFS_CFLAGS
12338         LIBECRYPTFS_LIBS=$pkg_cv_LIBECRYPTFS_LIBS
12339         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12340 $as_echo "yes" >&6; }
12341         libecryptfs=yes
12342 fi
12343  if test x$libecryptfs = xyes; then
12344   HAVE_LIBECRYPTFS_TRUE=
12345   HAVE_LIBECRYPTFS_FALSE='#'
12346 else
12347   HAVE_LIBECRYPTFS_TRUE='#'
12348   HAVE_LIBECRYPTFS_FALSE=
12349 fi
12350
12351 if test "x$libecryptfs" = xes; then
12352
12353 $as_echo "#define HAVE_LIBECRYPTFS 1" >>confdefs.h
12354
12355 fi
12356
12357 # Extract the first word of "glib-mkenums", so it can be a program name with args.
12358 set dummy glib-mkenums; ac_word=$2
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12360 $as_echo_n "checking for $ac_word... " >&6; }
12361 if ${ac_cv_path_GLIB_MKENUMS+:} false; then :
12362   $as_echo_n "(cached) " >&6
12363 else
12364   case $GLIB_MKENUMS in
12365   [\\/]* | ?:[\\/]*)
12366   ac_cv_path_GLIB_MKENUMS="$GLIB_MKENUMS" # Let the user override the test with a path.
12367   ;;
12368   *)
12369   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12370 for as_dir in $PATH
12371 do
12372   IFS=$as_save_IFS
12373   test -z "$as_dir" && as_dir=.
12374     for ac_exec_ext in '' $ac_executable_extensions; do
12375   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12376     ac_cv_path_GLIB_MKENUMS="$as_dir/$ac_word$ac_exec_ext"
12377     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12378     break 2
12379   fi
12380 done
12381   done
12382 IFS=$as_save_IFS
12383
12384   ;;
12385 esac
12386 fi
12387 GLIB_MKENUMS=$ac_cv_path_GLIB_MKENUMS
12388 if test -n "$GLIB_MKENUMS"; then
12389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_MKENUMS" >&5
12390 $as_echo "$GLIB_MKENUMS" >&6; }
12391 else
12392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12393 $as_echo "no" >&6; }
12394 fi
12395
12396
12397
12398 # Check whether --enable-coverage was given.
12399 if test "${enable_coverage+set}" = set; then :
12400   enableval=$enable_coverage;
12401 fi
12402
12403 if test "x$enable_coverage" = "xyes"; then :
12404   CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"
12405 fi
12406
12407 # allow fake installations for "distcheck"
12408 # Check whether --enable-distcheck was given.
12409 if test "${enable_distcheck+set}" = set; then :
12410   enableval=$enable_distcheck; enable_distcheck=yes
12411 else
12412   enable_distcheck=no
12413 fi
12414
12415 echo -n "running distcheck... "
12416 echo $enable_distcheck
12417
12418 # Check whether --enable-dbus-type was given.
12419 if test "${enable_dbus_type+set}" = set; then :
12420   enableval=$enable_dbus_type; enable_dbus_type=$enableval
12421 else
12422   enable_dbus_type=p2p
12423 fi
12424
12425 echo "----------------------"
12426 echo " DBUS TYPE : '$enable_dbus_type'"
12427 echo "----------------------"
12428 if test "x$enable_dbus_type" = "xp2p" ; then
12429
12430 $as_echo "#define USE_P2P 1" >>confdefs.h
12431
12432 elif test "x$enable_dbus_type" = "xsession" ; then
12433
12434 $as_echo "#define GSIGNOND_BUS_TYPE G_BUS_TYPE_SESSION" >>confdefs.h
12435
12436     if test "x$enable_distcheck" = "xyes" ; then
12437         DBUS_SERVICES_DIR="${datadir}/dbus-1/services"
12438     else
12439         DBUS_SERVICES_DIR="`pkg-config --variable session_bus_services_dir dbus-1`"
12440     fi
12441
12442
12443 pkg_failed=no
12444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTestDBus" >&5
12445 $as_echo_n "checking for GTestDBus... " >&6; }
12446
12447 if test -n "$GTestDBus_CFLAGS"; then
12448     pkg_cv_GTestDBus_CFLAGS="$GTestDBus_CFLAGS"
12449  elif test -n "$PKG_CONFIG"; then
12450     if test -n "$PKG_CONFIG" && \
12451     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.34\""; } >&5
12452   ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.34") 2>&5
12453   ac_status=$?
12454   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12455   test $ac_status = 0; }; then
12456   pkg_cv_GTestDBus_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.34" 2>/dev/null`
12457                       test "x$?" != "x0" && pkg_failed=yes
12458 else
12459   pkg_failed=yes
12460 fi
12461  else
12462     pkg_failed=untried
12463 fi
12464 if test -n "$GTestDBus_LIBS"; then
12465     pkg_cv_GTestDBus_LIBS="$GTestDBus_LIBS"
12466  elif test -n "$PKG_CONFIG"; then
12467     if test -n "$PKG_CONFIG" && \
12468     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.34\""; } >&5
12469   ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.34") 2>&5
12470   ac_status=$?
12471   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12472   test $ac_status = 0; }; then
12473   pkg_cv_GTestDBus_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.34" 2>/dev/null`
12474                       test "x$?" != "x0" && pkg_failed=yes
12475 else
12476   pkg_failed=yes
12477 fi
12478  else
12479     pkg_failed=untried
12480 fi
12481
12482
12483
12484 if test $pkg_failed = yes; then
12485         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12486 $as_echo "no" >&6; }
12487
12488 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12489         _pkg_short_errors_supported=yes
12490 else
12491         _pkg_short_errors_supported=no
12492 fi
12493         if test $_pkg_short_errors_supported = yes; then
12494                 GTestDBus_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.34" 2>&1`
12495         else
12496                 GTestDBus_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.34" 2>&1`
12497         fi
12498         # Put the nasty error message in config.log where it belongs
12499         echo "$GTestDBus_PKG_ERRORS" >&5
12500
12501         gtestdbus=no
12502 elif test $pkg_failed = untried; then
12503         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12504 $as_echo "no" >&6; }
12505         gtestdbus=no
12506 else
12507         GTestDBus_CFLAGS=$pkg_cv_GTestDBus_CFLAGS
12508         GTestDBus_LIBS=$pkg_cv_GTestDBus_LIBS
12509         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12510 $as_echo "yes" >&6; }
12511         gtestdbus=yes
12512 fi
12513     if test "x$gtestdbus" = xyes; then
12514
12515 $as_echo "#define HAVE_GTESTDBUS 1" >>confdefs.h
12516
12517     fi
12518 elif test "x$enable_dbus_type" = "xsystem" ; then
12519
12520 $as_echo "#define GSIGNOND_BUS_TYPE G_BUS_TYPE_SYSTEM" >>confdefs.h
12521
12522     if test "x$enable_distcheck" = "xyes" ; then
12523         DBUS_SERVICES_DIR="${datadir}/dbus-1/system-services"
12524     else
12525         DBUS_SERVICES_DIR="`pkg-config --variable system_bus_services_dir dbus-1`"
12526     fi
12527 fi
12528 if test "x$enable_dbus_type" != "xp2p" ; then
12529     if test "x$enable_distcheck" = "xyes" ; then
12530         DBUS_INTERFACES_DIR="${datadir}/dbus-1/interfaces"
12531     else
12532         DBUS_INTERFACES_DIR="`pkg-config --variable interfaces_dir dbus-1`"
12533     fi
12534 fi
12535
12536 # Check whether --enable-keychain was given.
12537 if test "${enable_keychain+set}" = set; then :
12538   enableval=$enable_keychain; enable_keychain=$enableval
12539 fi
12540
12541 if test "x$enable_keychain" != "x" ; then
12542
12543 cat >>confdefs.h <<_ACEOF
12544 #define KEYCHAIN_SYSCTX "$enable_keychain"
12545 _ACEOF
12546
12547     KEYCHAIN_SYSCTX="#KeychainSystemContext = $enable_keychain"
12548
12549 else
12550     KEYCHAIN_SYSCTX="#KeychainSystemContext = \"\""
12551
12552 fi
12553
12554 # Check whether --enable-storagedir was given.
12555 if test "${enable_storagedir+set}" = set; then :
12556   enableval=$enable_storagedir; enable_storagedir=$enableval
12557 else
12558   enable_storagedir="/var/db"
12559 fi
12560
12561
12562 cat >>confdefs.h <<_ACEOF
12563 #define BASE_STORAGE_DIR "$enable_storagedir"
12564 _ACEOF
12565
12566 BASE_STORAGE_DIR="#StoragePath = $enable_storagedir"
12567
12568
12569 # Check whether --enable-debug was given.
12570 if test "${enable_debug+set}" = set; then :
12571   enableval=$enable_debug; enable_debug=yes
12572 else
12573   enable_debug=no
12574 fi
12575
12576 echo -n "enable debug features... "
12577 echo $enable_debug
12578 if test "x$enable_debug" = "xyes" ; then
12579
12580 $as_echo "#define ENABLE_DEBUG 1" >>confdefs.h
12581
12582     # Check whether --enable-sql-log was given.
12583 if test "${enable_sql_log+set}" = set; then :
12584   enableval=$enable_sql_log; enable_sql_log=yes
12585 else
12586   enable_sql_log=no
12587 fi
12588
12589     echo -n "enable sql log feature... "
12590     echo $enable_sql_log
12591     if test "x$enable_sql_log" = "xyes" ; then
12592
12593 $as_echo "#define ENABLE_SQL_LOG 1" >>confdefs.h
12594
12595     fi
12596 fi
12597
12598 # Check whether --enable-acltriggers was given.
12599 if test "${enable_acltriggers+set}" = set; then :
12600   enableval=$enable_acltriggers; enable_acl_triggers=yes
12601 else
12602   enable_acl_triggers=no
12603 fi
12604
12605 if test "x$enable_acl_triggers" = "xyes" ; then
12606
12607 $as_echo "#define ENABLE_DB_ACL_TRIGGERS 1" >>confdefs.h
12608
12609 fi
12610
12611  if test x$gtestdbus = xyes; then
12612   USE_GTESTDBUS_TRUE=
12613   USE_GTESTDBUS_FALSE='#'
12614 else
12615   USE_GTESTDBUS_TRUE='#'
12616   USE_GTESTDBUS_FALSE=
12617 fi
12618
12619 MESSAGE_BUS_TYPE=$enable_dbus_type
12620
12621
12622  if test x$enable_debug = xyes; then
12623   HAVE_DEBUG_TRUE=
12624   HAVE_DEBUG_FALSE='#'
12625 else
12626   HAVE_DEBUG_TRUE='#'
12627   HAVE_DEBUG_FALSE=
12628 fi
12629
12630  if test x$enable_distcheck != xyes; then
12631   SET_PERMISSIONS_TRUE=
12632   SET_PERMISSIONS_FALSE='#'
12633 else
12634   SET_PERMISSIONS_TRUE='#'
12635   SET_PERMISSIONS_FALSE=
12636 fi
12637
12638
12639
12640
12641
12642 # gtk-doc
12643
12644
12645
12646   gtk_doc_requires="gtk-doc >= 1.18"
12647   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk-doc" >&5
12648 $as_echo_n "checking for gtk-doc... " >&6; }
12649   if test -n "$PKG_CONFIG" && \
12650     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_doc_requires\""; } >&5
12651   ($PKG_CONFIG --exists --print-errors "$gtk_doc_requires") 2>&5
12652   ac_status=$?
12653   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12654   test $ac_status = 0; }; then
12655   have_gtk_doc=yes
12656 else
12657   have_gtk_doc=no
12658 fi
12659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gtk_doc" >&5
12660 $as_echo "$have_gtk_doc" >&6; }
12661
12662   if test "$have_gtk_doc" = "no"; then
12663       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
12664   You will not be able to create source packages with 'make dist'
12665   because $gtk_doc_requires is not found." >&5
12666 $as_echo "$as_me: WARNING:
12667   You will not be able to create source packages with 'make dist'
12668   because $gtk_doc_requires is not found." >&2;}
12669   fi
12670
12671             # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12672 set dummy gtkdoc-check; ac_word=$2
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12674 $as_echo_n "checking for $ac_word... " >&6; }
12675 if ${ac_cv_prog_GTKDOC_CHECK+:} false; then :
12676   $as_echo_n "(cached) " >&6
12677 else
12678   if test -n "$GTKDOC_CHECK"; then
12679   ac_cv_prog_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test.
12680 else
12681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12682 for as_dir in $PATH
12683 do
12684   IFS=$as_save_IFS
12685   test -z "$as_dir" && as_dir=.
12686     for ac_exec_ext in '' $ac_executable_extensions; do
12687   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12688     ac_cv_prog_GTKDOC_CHECK="gtkdoc-check.test"
12689     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12690     break 2
12691   fi
12692 done
12693   done
12694 IFS=$as_save_IFS
12695
12696 fi
12697 fi
12698 GTKDOC_CHECK=$ac_cv_prog_GTKDOC_CHECK
12699 if test -n "$GTKDOC_CHECK"; then
12700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
12701 $as_echo "$GTKDOC_CHECK" >&6; }
12702 else
12703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12704 $as_echo "no" >&6; }
12705 fi
12706
12707
12708   # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12709 set dummy gtkdoc-check; ac_word=$2
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12711 $as_echo_n "checking for $ac_word... " >&6; }
12712 if ${ac_cv_path_GTKDOC_CHECK_PATH+:} false; then :
12713   $as_echo_n "(cached) " >&6
12714 else
12715   case $GTKDOC_CHECK_PATH in
12716   [\\/]* | ?:[\\/]*)
12717   ac_cv_path_GTKDOC_CHECK_PATH="$GTKDOC_CHECK_PATH" # Let the user override the test with a path.
12718   ;;
12719   *)
12720   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12721 for as_dir in $PATH
12722 do
12723   IFS=$as_save_IFS
12724   test -z "$as_dir" && as_dir=.
12725     for ac_exec_ext in '' $ac_executable_extensions; do
12726   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12727     ac_cv_path_GTKDOC_CHECK_PATH="$as_dir/$ac_word$ac_exec_ext"
12728     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12729     break 2
12730   fi
12731 done
12732   done
12733 IFS=$as_save_IFS
12734
12735   ;;
12736 esac
12737 fi
12738 GTKDOC_CHECK_PATH=$ac_cv_path_GTKDOC_CHECK_PATH
12739 if test -n "$GTKDOC_CHECK_PATH"; then
12740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK_PATH" >&5
12741 $as_echo "$GTKDOC_CHECK_PATH" >&6; }
12742 else
12743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12744 $as_echo "no" >&6; }
12745 fi
12746
12747
12748   for ac_prog in gtkdoc-rebase
12749 do
12750   # Extract the first word of "$ac_prog", so it can be a program name with args.
12751 set dummy $ac_prog; ac_word=$2
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12753 $as_echo_n "checking for $ac_word... " >&6; }
12754 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
12755   $as_echo_n "(cached) " >&6
12756 else
12757   case $GTKDOC_REBASE in
12758   [\\/]* | ?:[\\/]*)
12759   ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
12760   ;;
12761   *)
12762   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12763 for as_dir in $PATH
12764 do
12765   IFS=$as_save_IFS
12766   test -z "$as_dir" && as_dir=.
12767     for ac_exec_ext in '' $ac_executable_extensions; do
12768   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12769     ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
12770     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12771     break 2
12772   fi
12773 done
12774   done
12775 IFS=$as_save_IFS
12776
12777   ;;
12778 esac
12779 fi
12780 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
12781 if test -n "$GTKDOC_REBASE"; then
12782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
12783 $as_echo "$GTKDOC_REBASE" >&6; }
12784 else
12785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12786 $as_echo "no" >&6; }
12787 fi
12788
12789
12790   test -n "$GTKDOC_REBASE" && break
12791 done
12792 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
12793
12794   # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
12795 set dummy gtkdoc-mkpdf; ac_word=$2
12796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12797 $as_echo_n "checking for $ac_word... " >&6; }
12798 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
12799   $as_echo_n "(cached) " >&6
12800 else
12801   case $GTKDOC_MKPDF in
12802   [\\/]* | ?:[\\/]*)
12803   ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
12804   ;;
12805   *)
12806   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12807 for as_dir in $PATH
12808 do
12809   IFS=$as_save_IFS
12810   test -z "$as_dir" && as_dir=.
12811     for ac_exec_ext in '' $ac_executable_extensions; do
12812   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12813     ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
12814     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12815     break 2
12816   fi
12817 done
12818   done
12819 IFS=$as_save_IFS
12820
12821   ;;
12822 esac
12823 fi
12824 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
12825 if test -n "$GTKDOC_MKPDF"; then
12826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
12827 $as_echo "$GTKDOC_MKPDF" >&6; }
12828 else
12829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12830 $as_echo "no" >&6; }
12831 fi
12832
12833
12834
12835
12836 # Check whether --with-html-dir was given.
12837 if test "${with_html_dir+set}" = set; then :
12838   withval=$with_html_dir;
12839 else
12840   with_html_dir='${datadir}/gtk-doc/html'
12841 fi
12842
12843   HTML_DIR="$with_html_dir"
12844
12845
12846     # Check whether --enable-gtk-doc was given.
12847 if test "${enable_gtk_doc+set}" = set; then :
12848   enableval=$enable_gtk_doc;
12849 else
12850   enable_gtk_doc=no
12851 fi
12852
12853
12854   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
12855 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
12856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
12857 $as_echo "$enable_gtk_doc" >&6; }
12858
12859   if test "x$enable_gtk_doc" = "xyes" && test "$have_gtk_doc" = "no"; then
12860     as_fn_error $? "
12861   You must have $gtk_doc_requires installed to build documentation for
12862   $PACKAGE_NAME. Please install gtk-doc or disable building the
12863   documentation by adding '--disable-gtk-doc' to '$0'." "$LINENO" 5
12864   fi
12865
12866     if test "x$PACKAGE_NAME" != "xglib"; then
12867
12868 pkg_failed=no
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
12870 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
12871
12872 if test -n "$GTKDOC_DEPS_CFLAGS"; then
12873     pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
12874  elif test -n "$PKG_CONFIG"; then
12875     if test -n "$PKG_CONFIG" && \
12876     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
12877   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
12878   ac_status=$?
12879   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12880   test $ac_status = 0; }; then
12881   pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
12882                       test "x$?" != "x0" && pkg_failed=yes
12883 else
12884   pkg_failed=yes
12885 fi
12886  else
12887     pkg_failed=untried
12888 fi
12889 if test -n "$GTKDOC_DEPS_LIBS"; then
12890     pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
12891  elif test -n "$PKG_CONFIG"; then
12892     if test -n "$PKG_CONFIG" && \
12893     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
12894   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
12895   ac_status=$?
12896   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12897   test $ac_status = 0; }; then
12898   pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
12899                       test "x$?" != "x0" && pkg_failed=yes
12900 else
12901   pkg_failed=yes
12902 fi
12903  else
12904     pkg_failed=untried
12905 fi
12906
12907
12908
12909 if test $pkg_failed = yes; then
12910         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12911 $as_echo "no" >&6; }
12912
12913 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12914         _pkg_short_errors_supported=yes
12915 else
12916         _pkg_short_errors_supported=no
12917 fi
12918         if test $_pkg_short_errors_supported = yes; then
12919                 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
12920         else
12921                 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
12922         fi
12923         # Put the nasty error message in config.log where it belongs
12924         echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
12925
12926         :
12927 elif test $pkg_failed = untried; then
12928         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12929 $as_echo "no" >&6; }
12930         :
12931 else
12932         GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
12933         GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
12934         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12935 $as_echo "yes" >&6; }
12936
12937 fi
12938   fi
12939
12940     # Check whether --enable-gtk-doc-html was given.
12941 if test "${enable_gtk_doc_html+set}" = set; then :
12942   enableval=$enable_gtk_doc_html;
12943 else
12944   enable_gtk_doc_html=yes
12945 fi
12946
12947     # Check whether --enable-gtk-doc-pdf was given.
12948 if test "${enable_gtk_doc_pdf+set}" = set; then :
12949   enableval=$enable_gtk_doc_pdf;
12950 else
12951   enable_gtk_doc_pdf=no
12952 fi
12953
12954
12955   if test -z "$GTKDOC_MKPDF"; then
12956     enable_gtk_doc_pdf=no
12957   fi
12958
12959   if test -z "$AM_DEFAULT_VERBOSITY"; then
12960     AM_DEFAULT_VERBOSITY=1
12961   fi
12962
12963
12964    if test x$have_gtk_doc = xyes; then
12965   HAVE_GTK_DOC_TRUE=
12966   HAVE_GTK_DOC_FALSE='#'
12967 else
12968   HAVE_GTK_DOC_TRUE='#'
12969   HAVE_GTK_DOC_FALSE=
12970 fi
12971
12972    if test x$enable_gtk_doc = xyes; then
12973   ENABLE_GTK_DOC_TRUE=
12974   ENABLE_GTK_DOC_FALSE='#'
12975 else
12976   ENABLE_GTK_DOC_TRUE='#'
12977   ENABLE_GTK_DOC_FALSE=
12978 fi
12979
12980    if test x$enable_gtk_doc_html = xyes; then
12981   GTK_DOC_BUILD_HTML_TRUE=
12982   GTK_DOC_BUILD_HTML_FALSE='#'
12983 else
12984   GTK_DOC_BUILD_HTML_TRUE='#'
12985   GTK_DOC_BUILD_HTML_FALSE=
12986 fi
12987
12988    if test x$enable_gtk_doc_pdf = xyes; then
12989   GTK_DOC_BUILD_PDF_TRUE=
12990   GTK_DOC_BUILD_PDF_FALSE='#'
12991 else
12992   GTK_DOC_BUILD_PDF_TRUE='#'
12993   GTK_DOC_BUILD_PDF_FALSE=
12994 fi
12995
12996    if test -n "$LIBTOOL"; then
12997   GTK_DOC_USE_LIBTOOL_TRUE=
12998   GTK_DOC_USE_LIBTOOL_FALSE='#'
12999 else
13000   GTK_DOC_USE_LIBTOOL_TRUE='#'
13001   GTK_DOC_USE_LIBTOOL_FALSE=
13002 fi
13003
13004    if test -n "$GTKDOC_REBASE"; then
13005   GTK_DOC_USE_REBASE_TRUE=
13006   GTK_DOC_USE_REBASE_FALSE='#'
13007 else
13008   GTK_DOC_USE_REBASE_TRUE='#'
13009   GTK_DOC_USE_REBASE_FALSE=
13010 fi
13011
13012
13013
13014 # Checks for header files.
13015 for ac_header in string.h
13016 do :
13017   ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
13018 if test "x$ac_cv_header_string_h" = xyes; then :
13019   cat >>confdefs.h <<_ACEOF
13020 #define HAVE_STRING_H 1
13021 _ACEOF
13022
13023 fi
13024
13025 done
13026
13027
13028 # Enable feature sets
13029 GSIGNOND_CFLAGS="$GSIGNOND_CFLAGS -D_POSIX_C_SOURCE=\\\"200809L\\\" -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE"
13030
13031 # Checks for typedefs, structures, and compiler characteristics.
13032 GSIGNOND_CFLAGS="$GSIGNOND_CFLAGS -Wall -DG_LOG_DOMAIN=\\\"gsignond\\\""
13033 if test "x$enable_debug" = "xno" ; then
13034     GSIGNOND_CFLAGS="$GSIGNOND_CFLAGS -Werror"
13035 else
13036     GSIGNOND_CFLAGS="$GSIGNOND_CFLAGS -DENABLE_DEBUG"
13037 fi
13038
13039 # GSIGNOND_LIBS="$GSIGNOND_LIBS -lduma"
13040
13041 # Checks for library functions.
13042
13043 ac_config_files="$ac_config_files Makefile ${PACKAGE_NAME}.pc ${PACKAGE_NAME}-uninstalled.pc gsignond.conf docs/Makefile src/Makefile src/common/Makefile src/common/db/Makefile src/daemon/Makefile src/daemon/db/Makefile src/daemon/dbus/Makefile src/daemon/dbus/services/com.google.code.AccountsSSO.gSingleSignOn.service src/daemon/plugins/Makefile src/gplugind/Makefile src/extensions/Makefile src/extensions/test/Makefile src/extensions/tizen/Makefile src/plugins/Makefile src/plugins/password/Makefile src/plugins/ssotest/Makefile src/plugins/digest/Makefile test/Makefile test/common/Makefile test/db/Makefile test/daemon/Makefile test/daemon/gsignond-dbus.conf test/plugins/Makefile"
13044
13045 cat >confcache <<\_ACEOF
13046 # This file is a shell script that caches the results of configure
13047 # tests run on this system so they can be shared between configure
13048 # scripts and configure runs, see configure's option --config-cache.
13049 # It is not useful on other systems.  If it contains results you don't
13050 # want to keep, you may remove or edit it.
13051 #
13052 # config.status only pays attention to the cache file if you give it
13053 # the --recheck option to rerun configure.
13054 #
13055 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13056 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13057 # following values.
13058
13059 _ACEOF
13060
13061 # The following way of writing the cache mishandles newlines in values,
13062 # but we know of no workaround that is simple, portable, and efficient.
13063 # So, we kill variables containing newlines.
13064 # Ultrix sh set writes to stderr and can't be redirected directly,
13065 # and sets the high bit in the cache file unless we assign to the vars.
13066 (
13067   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13068     eval ac_val=\$$ac_var
13069     case $ac_val in #(
13070     *${as_nl}*)
13071       case $ac_var in #(
13072       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13073 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13074       esac
13075       case $ac_var in #(
13076       _ | IFS | as_nl) ;; #(
13077       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13078       *) { eval $ac_var=; unset $ac_var;} ;;
13079       esac ;;
13080     esac
13081   done
13082
13083   (set) 2>&1 |
13084     case $as_nl`(ac_space=' '; set) 2>&1` in #(
13085     *${as_nl}ac_space=\ *)
13086       # `set' does not quote correctly, so add quotes: double-quote
13087       # substitution turns \\\\ into \\, and sed turns \\ into \.
13088       sed -n \
13089         "s/'/'\\\\''/g;
13090           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13091       ;; #(
13092     *)
13093       # `set' quotes correctly as required by POSIX, so do not add quotes.
13094       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13095       ;;
13096     esac |
13097     sort
13098 ) |
13099   sed '
13100      /^ac_cv_env_/b end
13101      t clear
13102      :clear
13103      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13104      t end
13105      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13106      :end' >>confcache
13107 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13108   if test -w "$cache_file"; then
13109     if test "x$cache_file" != "x/dev/null"; then
13110       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13111 $as_echo "$as_me: updating cache $cache_file" >&6;}
13112       if test ! -f "$cache_file" || test -h "$cache_file"; then
13113         cat confcache >"$cache_file"
13114       else
13115         case $cache_file in #(
13116         */* | ?:*)
13117           mv -f confcache "$cache_file"$$ &&
13118           mv -f "$cache_file"$$ "$cache_file" ;; #(
13119         *)
13120           mv -f confcache "$cache_file" ;;
13121         esac
13122       fi
13123     fi
13124   else
13125     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13126 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13127   fi
13128 fi
13129 rm -f confcache
13130
13131 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13132 # Let make expand exec_prefix.
13133 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13134
13135 DEFS=-DHAVE_CONFIG_H
13136
13137 ac_libobjs=
13138 ac_ltlibobjs=
13139 U=
13140 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13141   # 1. Remove the extension, and $U if already installed.
13142   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13143   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13144   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13145   #    will be set to the directory where LIBOBJS objects are built.
13146   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13147   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13148 done
13149 LIBOBJS=$ac_libobjs
13150
13151 LTLIBOBJS=$ac_ltlibobjs
13152
13153
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13155 $as_echo_n "checking that generated files are newer than configure... " >&6; }
13156    if test -n "$am_sleep_pid"; then
13157      # Hide warnings about reused PIDs.
13158      wait $am_sleep_pid 2>/dev/null
13159    fi
13160    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13161 $as_echo "done" >&6; }
13162  if test -n "$EXEEXT"; then
13163   am__EXEEXT_TRUE=
13164   am__EXEEXT_FALSE='#'
13165 else
13166   am__EXEEXT_TRUE='#'
13167   am__EXEEXT_FALSE=
13168 fi
13169
13170 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13171   as_fn_error $? "conditional \"AMDEP\" was never defined.
13172 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13173 fi
13174 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13175   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13176 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13177 fi
13178 if test -z "${HAVE_LIBSMACK_TRUE}" && test -z "${HAVE_LIBSMACK_FALSE}"; then
13179   as_fn_error $? "conditional \"HAVE_LIBSMACK\" was never defined.
13180 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13181 fi
13182 if test -z "${HAVE_LIBECRYPTFS_TRUE}" && test -z "${HAVE_LIBECRYPTFS_FALSE}"; then
13183   as_fn_error $? "conditional \"HAVE_LIBECRYPTFS\" was never defined.
13184 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13185 fi
13186 if test -z "${USE_GTESTDBUS_TRUE}" && test -z "${USE_GTESTDBUS_FALSE}"; then
13187   as_fn_error $? "conditional \"USE_GTESTDBUS\" was never defined.
13188 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13189 fi
13190 if test -z "${HAVE_DEBUG_TRUE}" && test -z "${HAVE_DEBUG_FALSE}"; then
13191   as_fn_error $? "conditional \"HAVE_DEBUG\" was never defined.
13192 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13193 fi
13194 if test -z "${SET_PERMISSIONS_TRUE}" && test -z "${SET_PERMISSIONS_FALSE}"; then
13195   as_fn_error $? "conditional \"SET_PERMISSIONS\" was never defined.
13196 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13197 fi
13198 if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then
13199   as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined.
13200 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13201 fi
13202 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
13203   as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
13204 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13205 fi
13206 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
13207   as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
13208 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13209 fi
13210 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
13211   as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
13212 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13213 fi
13214 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
13215   as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
13216 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13217 fi
13218 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
13219   as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
13220 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13221 fi
13222
13223 : "${CONFIG_STATUS=./config.status}"
13224 ac_write_fail=0
13225 ac_clean_files_save=$ac_clean_files
13226 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13227 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13228 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13229 as_write_fail=0
13230 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13231 #! $SHELL
13232 # Generated by $as_me.
13233 # Run this file to recreate the current configuration.
13234 # Compiler output produced by configure, useful for debugging
13235 # configure, is in config.log if it exists.
13236
13237 debug=false
13238 ac_cs_recheck=false
13239 ac_cs_silent=false
13240
13241 SHELL=\${CONFIG_SHELL-$SHELL}
13242 export SHELL
13243 _ASEOF
13244 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13245 ## -------------------- ##
13246 ## M4sh Initialization. ##
13247 ## -------------------- ##
13248
13249 # Be more Bourne compatible
13250 DUALCASE=1; export DUALCASE # for MKS sh
13251 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13252   emulate sh
13253   NULLCMD=:
13254   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13255   # is contrary to our usage.  Disable this feature.
13256   alias -g '${1+"$@"}'='"$@"'
13257   setopt NO_GLOB_SUBST
13258 else
13259   case `(set -o) 2>/dev/null` in #(
13260   *posix*) :
13261     set -o posix ;; #(
13262   *) :
13263      ;;
13264 esac
13265 fi
13266
13267
13268 as_nl='
13269 '
13270 export as_nl
13271 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13272 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13273 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13274 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13275 # Prefer a ksh shell builtin over an external printf program on Solaris,
13276 # but without wasting forks for bash or zsh.
13277 if test -z "$BASH_VERSION$ZSH_VERSION" \
13278     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13279   as_echo='print -r --'
13280   as_echo_n='print -rn --'
13281 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13282   as_echo='printf %s\n'
13283   as_echo_n='printf %s'
13284 else
13285   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13286     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13287     as_echo_n='/usr/ucb/echo -n'
13288   else
13289     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13290     as_echo_n_body='eval
13291       arg=$1;
13292       case $arg in #(
13293       *"$as_nl"*)
13294         expr "X$arg" : "X\\(.*\\)$as_nl";
13295         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13296       esac;
13297       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13298     '
13299     export as_echo_n_body
13300     as_echo_n='sh -c $as_echo_n_body as_echo'
13301   fi
13302   export as_echo_body
13303   as_echo='sh -c $as_echo_body as_echo'
13304 fi
13305
13306 # The user is always right.
13307 if test "${PATH_SEPARATOR+set}" != set; then
13308   PATH_SEPARATOR=:
13309   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13310     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13311       PATH_SEPARATOR=';'
13312   }
13313 fi
13314
13315
13316 # IFS
13317 # We need space, tab and new line, in precisely that order.  Quoting is
13318 # there to prevent editors from complaining about space-tab.
13319 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13320 # splitting by setting IFS to empty value.)
13321 IFS=" ""        $as_nl"
13322
13323 # Find who we are.  Look in the path if we contain no directory separator.
13324 as_myself=
13325 case $0 in #((
13326   *[\\/]* ) as_myself=$0 ;;
13327   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13328 for as_dir in $PATH
13329 do
13330   IFS=$as_save_IFS
13331   test -z "$as_dir" && as_dir=.
13332     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13333   done
13334 IFS=$as_save_IFS
13335
13336      ;;
13337 esac
13338 # We did not find ourselves, most probably we were run as `sh COMMAND'
13339 # in which case we are not to be found in the path.
13340 if test "x$as_myself" = x; then
13341   as_myself=$0
13342 fi
13343 if test ! -f "$as_myself"; then
13344   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13345   exit 1
13346 fi
13347
13348 # Unset variables that we do not need and which cause bugs (e.g. in
13349 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
13350 # suppresses any "Segmentation fault" message there.  '((' could
13351 # trigger a bug in pdksh 5.2.14.
13352 for as_var in BASH_ENV ENV MAIL MAILPATH
13353 do eval test x\${$as_var+set} = xset \
13354   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13355 done
13356 PS1='$ '
13357 PS2='> '
13358 PS4='+ '
13359
13360 # NLS nuisances.
13361 LC_ALL=C
13362 export LC_ALL
13363 LANGUAGE=C
13364 export LANGUAGE
13365
13366 # CDPATH.
13367 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13368
13369
13370 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13371 # ----------------------------------------
13372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13374 # script with STATUS, using 1 if that was 0.
13375 as_fn_error ()
13376 {
13377   as_status=$1; test $as_status -eq 0 && as_status=1
13378   if test "$4"; then
13379     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13380     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13381   fi
13382   $as_echo "$as_me: error: $2" >&2
13383   as_fn_exit $as_status
13384 } # as_fn_error
13385
13386
13387 # as_fn_set_status STATUS
13388 # -----------------------
13389 # Set $? to STATUS, without forking.
13390 as_fn_set_status ()
13391 {
13392   return $1
13393 } # as_fn_set_status
13394
13395 # as_fn_exit STATUS
13396 # -----------------
13397 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13398 as_fn_exit ()
13399 {
13400   set +e
13401   as_fn_set_status $1
13402   exit $1
13403 } # as_fn_exit
13404
13405 # as_fn_unset VAR
13406 # ---------------
13407 # Portably unset VAR.
13408 as_fn_unset ()
13409 {
13410   { eval $1=; unset $1;}
13411 }
13412 as_unset=as_fn_unset
13413 # as_fn_append VAR VALUE
13414 # ----------------------
13415 # Append the text in VALUE to the end of the definition contained in VAR. Take
13416 # advantage of any shell optimizations that allow amortized linear growth over
13417 # repeated appends, instead of the typical quadratic growth present in naive
13418 # implementations.
13419 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13420   eval 'as_fn_append ()
13421   {
13422     eval $1+=\$2
13423   }'
13424 else
13425   as_fn_append ()
13426   {
13427     eval $1=\$$1\$2
13428   }
13429 fi # as_fn_append
13430
13431 # as_fn_arith ARG...
13432 # ------------------
13433 # Perform arithmetic evaluation on the ARGs, and store the result in the
13434 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13435 # must be portable across $(()) and expr.
13436 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13437   eval 'as_fn_arith ()
13438   {
13439     as_val=$(( $* ))
13440   }'
13441 else
13442   as_fn_arith ()
13443   {
13444     as_val=`expr "$@" || test $? -eq 1`
13445   }
13446 fi # as_fn_arith
13447
13448
13449 if expr a : '\(a\)' >/dev/null 2>&1 &&
13450    test "X`expr 00001 : '.*\(...\)'`" = X001; then
13451   as_expr=expr
13452 else
13453   as_expr=false
13454 fi
13455
13456 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13457   as_basename=basename
13458 else
13459   as_basename=false
13460 fi
13461
13462 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13463   as_dirname=dirname
13464 else
13465   as_dirname=false
13466 fi
13467
13468 as_me=`$as_basename -- "$0" ||
13469 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13470          X"$0" : 'X\(//\)$' \| \
13471          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13472 $as_echo X/"$0" |
13473     sed '/^.*\/\([^/][^/]*\)\/*$/{
13474             s//\1/
13475             q
13476           }
13477           /^X\/\(\/\/\)$/{
13478             s//\1/
13479             q
13480           }
13481           /^X\/\(\/\).*/{
13482             s//\1/
13483             q
13484           }
13485           s/.*/./; q'`
13486
13487 # Avoid depending upon Character Ranges.
13488 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13489 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13490 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13491 as_cr_digits='0123456789'
13492 as_cr_alnum=$as_cr_Letters$as_cr_digits
13493
13494 ECHO_C= ECHO_N= ECHO_T=
13495 case `echo -n x` in #(((((
13496 -n*)
13497   case `echo 'xy\c'` in
13498   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
13499   xy)  ECHO_C='\c';;
13500   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
13501        ECHO_T=' ';;
13502   esac;;
13503 *)
13504   ECHO_N='-n';;
13505 esac
13506
13507 rm -f conf$$ conf$$.exe conf$$.file
13508 if test -d conf$$.dir; then
13509   rm -f conf$$.dir/conf$$.file
13510 else
13511   rm -f conf$$.dir
13512   mkdir conf$$.dir 2>/dev/null
13513 fi
13514 if (echo >conf$$.file) 2>/dev/null; then
13515   if ln -s conf$$.file conf$$ 2>/dev/null; then
13516     as_ln_s='ln -s'
13517     # ... but there are two gotchas:
13518     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13519     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13520     # In both cases, we have to default to `cp -pR'.
13521     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13522       as_ln_s='cp -pR'
13523   elif ln conf$$.file conf$$ 2>/dev/null; then
13524     as_ln_s=ln
13525   else
13526     as_ln_s='cp -pR'
13527   fi
13528 else
13529   as_ln_s='cp -pR'
13530 fi
13531 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13532 rmdir conf$$.dir 2>/dev/null
13533
13534
13535 # as_fn_mkdir_p
13536 # -------------
13537 # Create "$as_dir" as a directory, including parents if necessary.
13538 as_fn_mkdir_p ()
13539 {
13540
13541   case $as_dir in #(
13542   -*) as_dir=./$as_dir;;
13543   esac
13544   test -d "$as_dir" || eval $as_mkdir_p || {
13545     as_dirs=
13546     while :; do
13547       case $as_dir in #(
13548       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13549       *) as_qdir=$as_dir;;
13550       esac
13551       as_dirs="'$as_qdir' $as_dirs"
13552       as_dir=`$as_dirname -- "$as_dir" ||
13553 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13554          X"$as_dir" : 'X\(//\)[^/]' \| \
13555          X"$as_dir" : 'X\(//\)$' \| \
13556          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13557 $as_echo X"$as_dir" |
13558     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13559             s//\1/
13560             q
13561           }
13562           /^X\(\/\/\)[^/].*/{
13563             s//\1/
13564             q
13565           }
13566           /^X\(\/\/\)$/{
13567             s//\1/
13568             q
13569           }
13570           /^X\(\/\).*/{
13571             s//\1/
13572             q
13573           }
13574           s/.*/./; q'`
13575       test -d "$as_dir" && break
13576     done
13577     test -z "$as_dirs" || eval "mkdir $as_dirs"
13578   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13579
13580
13581 } # as_fn_mkdir_p
13582 if mkdir -p . 2>/dev/null; then
13583   as_mkdir_p='mkdir -p "$as_dir"'
13584 else
13585   test -d ./-p && rmdir ./-p
13586   as_mkdir_p=false
13587 fi
13588
13589
13590 # as_fn_executable_p FILE
13591 # -----------------------
13592 # Test if FILE is an executable regular file.
13593 as_fn_executable_p ()
13594 {
13595   test -f "$1" && test -x "$1"
13596 } # as_fn_executable_p
13597 as_test_x='test -x'
13598 as_executable_p=as_fn_executable_p
13599
13600 # Sed expression to map a string onto a valid CPP name.
13601 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13602
13603 # Sed expression to map a string onto a valid variable name.
13604 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13605
13606
13607 exec 6>&1
13608 ## ----------------------------------- ##
13609 ## Main body of $CONFIG_STATUS script. ##
13610 ## ----------------------------------- ##
13611 _ASEOF
13612 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13613
13614 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13615 # Save the log message, to keep $0 and so on meaningful, and to
13616 # report actual input values of CONFIG_FILES etc. instead of their
13617 # values after options handling.
13618 ac_log="
13619 This file was extended by gsignond $as_me 1.0.3, which was
13620 generated by GNU Autoconf 2.69.  Invocation command line was
13621
13622   CONFIG_FILES    = $CONFIG_FILES
13623   CONFIG_HEADERS  = $CONFIG_HEADERS
13624   CONFIG_LINKS    = $CONFIG_LINKS
13625   CONFIG_COMMANDS = $CONFIG_COMMANDS
13626   $ $0 $@
13627
13628 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13629 "
13630
13631 _ACEOF
13632
13633 case $ac_config_files in *"
13634 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13635 esac
13636
13637 case $ac_config_headers in *"
13638 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13639 esac
13640
13641
13642 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13643 # Files that config.status was made for.
13644 config_files="$ac_config_files"
13645 config_headers="$ac_config_headers"
13646 config_commands="$ac_config_commands"
13647
13648 _ACEOF
13649
13650 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13651 ac_cs_usage="\
13652 \`$as_me' instantiates files and other configuration actions
13653 from templates according to the current configuration.  Unless the files
13654 and actions are specified as TAGs, all are instantiated by default.
13655
13656 Usage: $0 [OPTION]... [TAG]...
13657
13658   -h, --help       print this help, then exit
13659   -V, --version    print version number and configuration settings, then exit
13660       --config     print configuration, then exit
13661   -q, --quiet, --silent
13662                    do not print progress messages
13663   -d, --debug      don't remove temporary files
13664       --recheck    update $as_me by reconfiguring in the same conditions
13665       --file=FILE[:TEMPLATE]
13666                    instantiate the configuration file FILE
13667       --header=FILE[:TEMPLATE]
13668                    instantiate the configuration header FILE
13669
13670 Configuration files:
13671 $config_files
13672
13673 Configuration headers:
13674 $config_headers
13675
13676 Configuration commands:
13677 $config_commands
13678
13679 Report bugs to the package provider.
13680 gsignond home page: <http://01.org/gsso>."
13681
13682 _ACEOF
13683 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13684 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13685 ac_cs_version="\\
13686 gsignond config.status 1.0.3
13687 configured by $0, generated by GNU Autoconf 2.69,
13688   with options \\"\$ac_cs_config\\"
13689
13690 Copyright (C) 2012 Free Software Foundation, Inc.
13691 This config.status script is free software; the Free Software Foundation
13692 gives unlimited permission to copy, distribute and modify it."
13693
13694 ac_pwd='$ac_pwd'
13695 srcdir='$srcdir'
13696 INSTALL='$INSTALL'
13697 MKDIR_P='$MKDIR_P'
13698 AWK='$AWK'
13699 test -n "\$AWK" || AWK=awk
13700 _ACEOF
13701
13702 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13703 # The default lists apply if the user does not specify any file.
13704 ac_need_defaults=:
13705 while test $# != 0
13706 do
13707   case $1 in
13708   --*=?*)
13709     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13710     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13711     ac_shift=:
13712     ;;
13713   --*=)
13714     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13715     ac_optarg=
13716     ac_shift=:
13717     ;;
13718   *)
13719     ac_option=$1
13720     ac_optarg=$2
13721     ac_shift=shift
13722     ;;
13723   esac
13724
13725   case $ac_option in
13726   # Handling of the options.
13727   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13728     ac_cs_recheck=: ;;
13729   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13730     $as_echo "$ac_cs_version"; exit ;;
13731   --config | --confi | --conf | --con | --co | --c )
13732     $as_echo "$ac_cs_config"; exit ;;
13733   --debug | --debu | --deb | --de | --d | -d )
13734     debug=: ;;
13735   --file | --fil | --fi | --f )
13736     $ac_shift
13737     case $ac_optarg in
13738     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13739     '') as_fn_error $? "missing file argument" ;;
13740     esac
13741     as_fn_append CONFIG_FILES " '$ac_optarg'"
13742     ac_need_defaults=false;;
13743   --header | --heade | --head | --hea )
13744     $ac_shift
13745     case $ac_optarg in
13746     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13747     esac
13748     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13749     ac_need_defaults=false;;
13750   --he | --h)
13751     # Conflict between --help and --header
13752     as_fn_error $? "ambiguous option: \`$1'
13753 Try \`$0 --help' for more information.";;
13754   --help | --hel | -h )
13755     $as_echo "$ac_cs_usage"; exit ;;
13756   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13757   | -silent | --silent | --silen | --sile | --sil | --si | --s)
13758     ac_cs_silent=: ;;
13759
13760   # This is an error.
13761   -*) as_fn_error $? "unrecognized option: \`$1'
13762 Try \`$0 --help' for more information." ;;
13763
13764   *) as_fn_append ac_config_targets " $1"
13765      ac_need_defaults=false ;;
13766
13767   esac
13768   shift
13769 done
13770
13771 ac_configure_extra_args=
13772
13773 if $ac_cs_silent; then
13774   exec 6>/dev/null
13775   ac_configure_extra_args="$ac_configure_extra_args --silent"
13776 fi
13777
13778 _ACEOF
13779 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13780 if \$ac_cs_recheck; then
13781   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13782   shift
13783   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13784   CONFIG_SHELL='$SHELL'
13785   export CONFIG_SHELL
13786   exec "\$@"
13787 fi
13788
13789 _ACEOF
13790 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13791 exec 5>>config.log
13792 {
13793   echo
13794   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13795 ## Running $as_me. ##
13796 _ASBOX
13797   $as_echo "$ac_log"
13798 } >&5
13799
13800 _ACEOF
13801 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13802 #
13803 # INIT-COMMANDS
13804 #
13805 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13806
13807
13808 # The HP-UX ksh and POSIX shell print the target directory to stdout
13809 # if CDPATH is set.
13810 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13811
13812 sed_quote_subst='$sed_quote_subst'
13813 double_quote_subst='$double_quote_subst'
13814 delay_variable_subst='$delay_variable_subst'
13815 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13816 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13817 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13818 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13819 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13820 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13821 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13822 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13823 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13824 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13825 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13826 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13827 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13828 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13829 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13830 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13831 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13832 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13833 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13834 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13835 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13836 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13837 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13838 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13839 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13840 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13841 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13842 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13843 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13844 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13845 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13846 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13847 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13848 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13849 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13850 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13851 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13852 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13853 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13854 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13855 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13856 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13857 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13858 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13859 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13860 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13861 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13862 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13863 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13864 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13865 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13866 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13867 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13868 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13869 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13870 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13871 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"`'
13872 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13873 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13874 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13875 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13876 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13877 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13878 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13879 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13880 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13881 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13882 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13883 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13884 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13885 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13886 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13887 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13888 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13889 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13890 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13891 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13892 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13893 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13894 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13895 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13896 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13897 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13898 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13899 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13900 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13901 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13902 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13903 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13904 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13905 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13906 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13907 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13908 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13909 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13910 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13911 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13912 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13913 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13914 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13915 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13916 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13917 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13918 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13919 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13920 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13921 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13922 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13923 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13924 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13925 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13926 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13927 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13928 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13929 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13930 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13931 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13932 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13933 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13934 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13935 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13936 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13937 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13938 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13939 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13940 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13941 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13942 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13943 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13944 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13945
13946 LTCC='$LTCC'
13947 LTCFLAGS='$LTCFLAGS'
13948 compiler='$compiler_DEFAULT'
13949
13950 # A function that is used when there is no print builtin or printf.
13951 func_fallback_echo ()
13952 {
13953   eval 'cat <<_LTECHO_EOF
13954 \$1
13955 _LTECHO_EOF'
13956 }
13957
13958 # Quote evaled strings.
13959 for var in SHELL \
13960 ECHO \
13961 PATH_SEPARATOR \
13962 SED \
13963 GREP \
13964 EGREP \
13965 FGREP \
13966 LD \
13967 NM \
13968 LN_S \
13969 lt_SP2NL \
13970 lt_NL2SP \
13971 reload_flag \
13972 OBJDUMP \
13973 deplibs_check_method \
13974 file_magic_cmd \
13975 file_magic_glob \
13976 want_nocaseglob \
13977 DLLTOOL \
13978 sharedlib_from_linklib_cmd \
13979 AR \
13980 AR_FLAGS \
13981 archiver_list_spec \
13982 STRIP \
13983 RANLIB \
13984 CC \
13985 CFLAGS \
13986 compiler \
13987 lt_cv_sys_global_symbol_pipe \
13988 lt_cv_sys_global_symbol_to_cdecl \
13989 lt_cv_sys_global_symbol_to_c_name_address \
13990 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13991 nm_file_list_spec \
13992 lt_prog_compiler_no_builtin_flag \
13993 lt_prog_compiler_pic \
13994 lt_prog_compiler_wl \
13995 lt_prog_compiler_static \
13996 lt_cv_prog_compiler_c_o \
13997 need_locks \
13998 MANIFEST_TOOL \
13999 DSYMUTIL \
14000 NMEDIT \
14001 LIPO \
14002 OTOOL \
14003 OTOOL64 \
14004 shrext_cmds \
14005 export_dynamic_flag_spec \
14006 whole_archive_flag_spec \
14007 compiler_needs_object \
14008 with_gnu_ld \
14009 allow_undefined_flag \
14010 no_undefined_flag \
14011 hardcode_libdir_flag_spec \
14012 hardcode_libdir_separator \
14013 exclude_expsyms \
14014 include_expsyms \
14015 file_list_spec \
14016 variables_saved_for_relink \
14017 libname_spec \
14018 library_names_spec \
14019 soname_spec \
14020 install_override_mode \
14021 finish_eval \
14022 old_striplib \
14023 striplib; do
14024     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14025     *[\\\\\\\`\\"\\\$]*)
14026       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14027       ;;
14028     *)
14029       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14030       ;;
14031     esac
14032 done
14033
14034 # Double-quote double-evaled strings.
14035 for var in reload_cmds \
14036 old_postinstall_cmds \
14037 old_postuninstall_cmds \
14038 old_archive_cmds \
14039 extract_expsyms_cmds \
14040 old_archive_from_new_cmds \
14041 old_archive_from_expsyms_cmds \
14042 archive_cmds \
14043 archive_expsym_cmds \
14044 module_cmds \
14045 module_expsym_cmds \
14046 export_symbols_cmds \
14047 prelink_cmds \
14048 postlink_cmds \
14049 postinstall_cmds \
14050 postuninstall_cmds \
14051 finish_cmds \
14052 sys_lib_search_path_spec \
14053 sys_lib_dlsearch_path_spec; do
14054     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14055     *[\\\\\\\`\\"\\\$]*)
14056       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14057       ;;
14058     *)
14059       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14060       ;;
14061     esac
14062 done
14063
14064 ac_aux_dir='$ac_aux_dir'
14065 xsi_shell='$xsi_shell'
14066 lt_shell_append='$lt_shell_append'
14067
14068 # See if we are running on zsh, and set the options which allow our
14069 # commands through without removal of \ escapes INIT.
14070 if test -n "\${ZSH_VERSION+set}" ; then
14071    setopt NO_GLOB_SUBST
14072 fi
14073
14074
14075     PACKAGE='$PACKAGE'
14076     VERSION='$VERSION'
14077     TIMESTAMP='$TIMESTAMP'
14078     RM='$RM'
14079     ofile='$ofile'
14080
14081
14082
14083
14084 _ACEOF
14085
14086 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14087
14088 # Handling of arguments.
14089 for ac_config_target in $ac_config_targets
14090 do
14091   case $ac_config_target in
14092     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14093     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14094     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14095     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14096     "${PACKAGE_NAME}.pc") CONFIG_FILES="$CONFIG_FILES ${PACKAGE_NAME}.pc" ;;
14097     "${PACKAGE_NAME}-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES ${PACKAGE_NAME}-uninstalled.pc" ;;
14098     "gsignond.conf") CONFIG_FILES="$CONFIG_FILES gsignond.conf" ;;
14099     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
14100     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14101     "src/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/Makefile" ;;
14102     "src/common/db/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/db/Makefile" ;;
14103     "src/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/Makefile" ;;
14104     "src/daemon/db/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/db/Makefile" ;;
14105     "src/daemon/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/Makefile" ;;
14106     "src/daemon/dbus/services/com.google.code.AccountsSSO.gSingleSignOn.service") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/services/com.google.code.AccountsSSO.gSingleSignOn.service" ;;
14107     "src/daemon/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/plugins/Makefile" ;;
14108     "src/gplugind/Makefile") CONFIG_FILES="$CONFIG_FILES src/gplugind/Makefile" ;;
14109     "src/extensions/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/Makefile" ;;
14110     "src/extensions/test/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/test/Makefile" ;;
14111     "src/extensions/tizen/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/tizen/Makefile" ;;
14112     "src/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/Makefile" ;;
14113     "src/plugins/password/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/password/Makefile" ;;
14114     "src/plugins/ssotest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/ssotest/Makefile" ;;
14115     "src/plugins/digest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/digest/Makefile" ;;
14116     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
14117     "test/common/Makefile") CONFIG_FILES="$CONFIG_FILES test/common/Makefile" ;;
14118     "test/db/Makefile") CONFIG_FILES="$CONFIG_FILES test/db/Makefile" ;;
14119     "test/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES test/daemon/Makefile" ;;
14120     "test/daemon/gsignond-dbus.conf") CONFIG_FILES="$CONFIG_FILES test/daemon/gsignond-dbus.conf" ;;
14121     "test/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES test/plugins/Makefile" ;;
14122
14123   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14124   esac
14125 done
14126
14127
14128 # If the user did not use the arguments to specify the items to instantiate,
14129 # then the envvar interface is used.  Set only those that are not.
14130 # We use the long form for the default assignment because of an extremely
14131 # bizarre bug on SunOS 4.1.3.
14132 if $ac_need_defaults; then
14133   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14134   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14135   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14136 fi
14137
14138 # Have a temporary directory for convenience.  Make it in the build tree
14139 # simply because there is no reason against having it here, and in addition,
14140 # creating and moving files from /tmp can sometimes cause problems.
14141 # Hook for its removal unless debugging.
14142 # Note that there is a small window in which the directory will not be cleaned:
14143 # after its creation but before its name has been assigned to `$tmp'.
14144 $debug ||
14145 {
14146   tmp= ac_tmp=
14147   trap 'exit_status=$?
14148   : "${ac_tmp:=$tmp}"
14149   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14150 ' 0
14151   trap 'as_fn_exit 1' 1 2 13 15
14152 }
14153 # Create a (secure) tmp directory for tmp files.
14154
14155 {
14156   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14157   test -d "$tmp"
14158 }  ||
14159 {
14160   tmp=./conf$$-$RANDOM
14161   (umask 077 && mkdir "$tmp")
14162 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14163 ac_tmp=$tmp
14164
14165 # Set up the scripts for CONFIG_FILES section.
14166 # No need to generate them if there are no CONFIG_FILES.
14167 # This happens for instance with `./config.status config.h'.
14168 if test -n "$CONFIG_FILES"; then
14169
14170
14171 ac_cr=`echo X | tr X '\015'`
14172 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14173 # But we know of no other shell where ac_cr would be empty at this
14174 # point, so we can use a bashism as a fallback.
14175 if test "x$ac_cr" = x; then
14176   eval ac_cr=\$\'\\r\'
14177 fi
14178 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14179 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14180   ac_cs_awk_cr='\\r'
14181 else
14182   ac_cs_awk_cr=$ac_cr
14183 fi
14184
14185 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14186 _ACEOF
14187
14188
14189 {
14190   echo "cat >conf$$subs.awk <<_ACEOF" &&
14191   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14192   echo "_ACEOF"
14193 } >conf$$subs.sh ||
14194   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14195 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14196 ac_delim='%!_!# '
14197 for ac_last_try in false false false false false :; do
14198   . ./conf$$subs.sh ||
14199     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14200
14201   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14202   if test $ac_delim_n = $ac_delim_num; then
14203     break
14204   elif $ac_last_try; then
14205     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14206   else
14207     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14208   fi
14209 done
14210 rm -f conf$$subs.sh
14211
14212 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14213 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14214 _ACEOF
14215 sed -n '
14216 h
14217 s/^/S["/; s/!.*/"]=/
14218 p
14219 g
14220 s/^[^!]*!//
14221 :repl
14222 t repl
14223 s/'"$ac_delim"'$//
14224 t delim
14225 :nl
14226 h
14227 s/\(.\{148\}\)..*/\1/
14228 t more1
14229 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14230 p
14231 n
14232 b repl
14233 :more1
14234 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14235 p
14236 g
14237 s/.\{148\}//
14238 t nl
14239 :delim
14240 h
14241 s/\(.\{148\}\)..*/\1/
14242 t more2
14243 s/["\\]/\\&/g; s/^/"/; s/$/"/
14244 p
14245 b
14246 :more2
14247 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14248 p
14249 g
14250 s/.\{148\}//
14251 t delim
14252 ' <conf$$subs.awk | sed '
14253 /^[^""]/{
14254   N
14255   s/\n//
14256 }
14257 ' >>$CONFIG_STATUS || ac_write_fail=1
14258 rm -f conf$$subs.awk
14259 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14260 _ACAWK
14261 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14262   for (key in S) S_is_set[key] = 1
14263   FS = "\a"
14264
14265 }
14266 {
14267   line = $ 0
14268   nfields = split(line, field, "@")
14269   substed = 0
14270   len = length(field[1])
14271   for (i = 2; i < nfields; i++) {
14272     key = field[i]
14273     keylen = length(key)
14274     if (S_is_set[key]) {
14275       value = S[key]
14276       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14277       len += length(value) + length(field[++i])
14278       substed = 1
14279     } else
14280       len += 1 + keylen
14281   }
14282
14283   print line
14284 }
14285
14286 _ACAWK
14287 _ACEOF
14288 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14289 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14290   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14291 else
14292   cat
14293 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14294   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14295 _ACEOF
14296
14297 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14298 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14299 # trailing colons and then remove the whole line if VPATH becomes empty
14300 # (actually we leave an empty line to preserve line numbers).
14301 if test "x$srcdir" = x.; then
14302   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
14303 h
14304 s///
14305 s/^/:/
14306 s/[      ]*$/:/
14307 s/:\$(srcdir):/:/g
14308 s/:\${srcdir}:/:/g
14309 s/:@srcdir@:/:/g
14310 s/^:*//
14311 s/:*$//
14312 x
14313 s/\(=[   ]*\).*/\1/
14314 G
14315 s/\n//
14316 s/^[^=]*=[       ]*$//
14317 }'
14318 fi
14319
14320 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14321 fi # test -n "$CONFIG_FILES"
14322
14323 # Set up the scripts for CONFIG_HEADERS section.
14324 # No need to generate them if there are no CONFIG_HEADERS.
14325 # This happens for instance with `./config.status Makefile'.
14326 if test -n "$CONFIG_HEADERS"; then
14327 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14328 BEGIN {
14329 _ACEOF
14330
14331 # Transform confdefs.h into an awk script `defines.awk', embedded as
14332 # here-document in config.status, that substitutes the proper values into
14333 # config.h.in to produce config.h.
14334
14335 # Create a delimiter string that does not exist in confdefs.h, to ease
14336 # handling of long lines.
14337 ac_delim='%!_!# '
14338 for ac_last_try in false false :; do
14339   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14340   if test -z "$ac_tt"; then
14341     break
14342   elif $ac_last_try; then
14343     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14344   else
14345     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14346   fi
14347 done
14348
14349 # For the awk script, D is an array of macro values keyed by name,
14350 # likewise P contains macro parameters if any.  Preserve backslash
14351 # newline sequences.
14352
14353 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14354 sed -n '
14355 s/.\{148\}/&'"$ac_delim"'/g
14356 t rset
14357 :rset
14358 s/^[     ]*#[    ]*define[       ][      ]*/ /
14359 t def
14360 d
14361 :def
14362 s/\\$//
14363 t bsnl
14364 s/["\\]/\\&/g
14365 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14366 D["\1"]=" \3"/p
14367 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
14368 d
14369 :bsnl
14370 s/["\\]/\\&/g
14371 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14372 D["\1"]=" \3\\\\\\n"\\/p
14373 t cont
14374 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14375 t cont
14376 d
14377 :cont
14378 n
14379 s/.\{148\}/&'"$ac_delim"'/g
14380 t clear
14381 :clear
14382 s/\\$//
14383 t bsnlc
14384 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14385 d
14386 :bsnlc
14387 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14388 b cont
14389 ' <confdefs.h | sed '
14390 s/'"$ac_delim"'/"\\\
14391 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14392
14393 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14394   for (key in D) D_is_set[key] = 1
14395   FS = "\a"
14396 }
14397 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14398   line = \$ 0
14399   split(line, arg, " ")
14400   if (arg[1] == "#") {
14401     defundef = arg[2]
14402     mac1 = arg[3]
14403   } else {
14404     defundef = substr(arg[1], 2)
14405     mac1 = arg[2]
14406   }
14407   split(mac1, mac2, "(") #)
14408   macro = mac2[1]
14409   prefix = substr(line, 1, index(line, defundef) - 1)
14410   if (D_is_set[macro]) {
14411     # Preserve the white space surrounding the "#".
14412     print prefix "define", macro P[macro] D[macro]
14413     next
14414   } else {
14415     # Replace #undef with comments.  This is necessary, for example,
14416     # in the case of _POSIX_SOURCE, which is predefined and required
14417     # on some systems where configure will not decide to define it.
14418     if (defundef == "undef") {
14419       print "/*", prefix defundef, macro, "*/"
14420       next
14421     }
14422   }
14423 }
14424 { print }
14425 _ACAWK
14426 _ACEOF
14427 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14428   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14429 fi # test -n "$CONFIG_HEADERS"
14430
14431
14432 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
14433 shift
14434 for ac_tag
14435 do
14436   case $ac_tag in
14437   :[FHLC]) ac_mode=$ac_tag; continue;;
14438   esac
14439   case $ac_mode$ac_tag in
14440   :[FHL]*:*);;
14441   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14442   :[FH]-) ac_tag=-:-;;
14443   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14444   esac
14445   ac_save_IFS=$IFS
14446   IFS=:
14447   set x $ac_tag
14448   IFS=$ac_save_IFS
14449   shift
14450   ac_file=$1
14451   shift
14452
14453   case $ac_mode in
14454   :L) ac_source=$1;;
14455   :[FH])
14456     ac_file_inputs=
14457     for ac_f
14458     do
14459       case $ac_f in
14460       -) ac_f="$ac_tmp/stdin";;
14461       *) # Look for the file first in the build tree, then in the source tree
14462          # (if the path is not absolute).  The absolute path cannot be DOS-style,
14463          # because $ac_f cannot contain `:'.
14464          test -f "$ac_f" ||
14465            case $ac_f in
14466            [\\/$]*) false;;
14467            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14468            esac ||
14469            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14470       esac
14471       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14472       as_fn_append ac_file_inputs " '$ac_f'"
14473     done
14474
14475     # Let's still pretend it is `configure' which instantiates (i.e., don't
14476     # use $as_me), people would be surprised to read:
14477     #    /* config.h.  Generated by config.status.  */
14478     configure_input='Generated from '`
14479           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14480         `' by configure.'
14481     if test x"$ac_file" != x-; then
14482       configure_input="$ac_file.  $configure_input"
14483       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14484 $as_echo "$as_me: creating $ac_file" >&6;}
14485     fi
14486     # Neutralize special characters interpreted by sed in replacement strings.
14487     case $configure_input in #(
14488     *\&* | *\|* | *\\* )
14489        ac_sed_conf_input=`$as_echo "$configure_input" |
14490        sed 's/[\\\\&|]/\\\\&/g'`;; #(
14491     *) ac_sed_conf_input=$configure_input;;
14492     esac
14493
14494     case $ac_tag in
14495     *:-:* | *:-) cat >"$ac_tmp/stdin" \
14496       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14497     esac
14498     ;;
14499   esac
14500
14501   ac_dir=`$as_dirname -- "$ac_file" ||
14502 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14503          X"$ac_file" : 'X\(//\)[^/]' \| \
14504          X"$ac_file" : 'X\(//\)$' \| \
14505          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14506 $as_echo X"$ac_file" |
14507     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14508             s//\1/
14509             q
14510           }
14511           /^X\(\/\/\)[^/].*/{
14512             s//\1/
14513             q
14514           }
14515           /^X\(\/\/\)$/{
14516             s//\1/
14517             q
14518           }
14519           /^X\(\/\).*/{
14520             s//\1/
14521             q
14522           }
14523           s/.*/./; q'`
14524   as_dir="$ac_dir"; as_fn_mkdir_p
14525   ac_builddir=.
14526
14527 case "$ac_dir" in
14528 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14529 *)
14530   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14531   # A ".." for each directory in $ac_dir_suffix.
14532   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14533   case $ac_top_builddir_sub in
14534   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14535   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14536   esac ;;
14537 esac
14538 ac_abs_top_builddir=$ac_pwd
14539 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14540 # for backward compatibility:
14541 ac_top_builddir=$ac_top_build_prefix
14542
14543 case $srcdir in
14544   .)  # We are building in place.
14545     ac_srcdir=.
14546     ac_top_srcdir=$ac_top_builddir_sub
14547     ac_abs_top_srcdir=$ac_pwd ;;
14548   [\\/]* | ?:[\\/]* )  # Absolute name.
14549     ac_srcdir=$srcdir$ac_dir_suffix;
14550     ac_top_srcdir=$srcdir
14551     ac_abs_top_srcdir=$srcdir ;;
14552   *) # Relative name.
14553     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14554     ac_top_srcdir=$ac_top_build_prefix$srcdir
14555     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14556 esac
14557 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14558
14559
14560   case $ac_mode in
14561   :F)
14562   #
14563   # CONFIG_FILE
14564   #
14565
14566   case $INSTALL in
14567   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14568   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14569   esac
14570   ac_MKDIR_P=$MKDIR_P
14571   case $MKDIR_P in
14572   [\\/$]* | ?:[\\/]* ) ;;
14573   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14574   esac
14575 _ACEOF
14576
14577 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14578 # If the template does not know about datarootdir, expand it.
14579 # FIXME: This hack should be removed a few years after 2.60.
14580 ac_datarootdir_hack=; ac_datarootdir_seen=
14581 ac_sed_dataroot='
14582 /datarootdir/ {
14583   p
14584   q
14585 }
14586 /@datadir@/p
14587 /@docdir@/p
14588 /@infodir@/p
14589 /@localedir@/p
14590 /@mandir@/p'
14591 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14592 *datarootdir*) ac_datarootdir_seen=yes;;
14593 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14594   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14595 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14596 _ACEOF
14597 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14598   ac_datarootdir_hack='
14599   s&@datadir@&$datadir&g
14600   s&@docdir@&$docdir&g
14601   s&@infodir@&$infodir&g
14602   s&@localedir@&$localedir&g
14603   s&@mandir@&$mandir&g
14604   s&\\\${datarootdir}&$datarootdir&g' ;;
14605 esac
14606 _ACEOF
14607
14608 # Neutralize VPATH when `$srcdir' = `.'.
14609 # Shell code in configure.ac might set extrasub.
14610 # FIXME: do we really want to maintain this feature?
14611 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14612 ac_sed_extra="$ac_vpsub
14613 $extrasub
14614 _ACEOF
14615 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14616 :t
14617 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14618 s|@configure_input@|$ac_sed_conf_input|;t t
14619 s&@top_builddir@&$ac_top_builddir_sub&;t t
14620 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14621 s&@srcdir@&$ac_srcdir&;t t
14622 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14623 s&@top_srcdir@&$ac_top_srcdir&;t t
14624 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14625 s&@builddir@&$ac_builddir&;t t
14626 s&@abs_builddir@&$ac_abs_builddir&;t t
14627 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14628 s&@INSTALL@&$ac_INSTALL&;t t
14629 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14630 $ac_datarootdir_hack
14631 "
14632 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14633   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14634
14635 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14636   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14637   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
14638       "$ac_tmp/out"`; test -z "$ac_out"; } &&
14639   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14640 which seems to be undefined.  Please make sure it is defined" >&5
14641 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14642 which seems to be undefined.  Please make sure it is defined" >&2;}
14643
14644   rm -f "$ac_tmp/stdin"
14645   case $ac_file in
14646   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14647   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14648   esac \
14649   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14650  ;;
14651   :H)
14652   #
14653   # CONFIG_HEADER
14654   #
14655   if test x"$ac_file" != x-; then
14656     {
14657       $as_echo "/* $configure_input  */" \
14658       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14659     } >"$ac_tmp/config.h" \
14660       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14661     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14662       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14663 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14664     else
14665       rm -f "$ac_file"
14666       mv "$ac_tmp/config.h" "$ac_file" \
14667         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14668     fi
14669   else
14670     $as_echo "/* $configure_input  */" \
14671       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14672       || as_fn_error $? "could not create -" "$LINENO" 5
14673   fi
14674 # Compute "$ac_file"'s index in $config_headers.
14675 _am_arg="$ac_file"
14676 _am_stamp_count=1
14677 for _am_header in $config_headers :; do
14678   case $_am_header in
14679     $_am_arg | $_am_arg:* )
14680       break ;;
14681     * )
14682       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14683   esac
14684 done
14685 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14686 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14687          X"$_am_arg" : 'X\(//\)[^/]' \| \
14688          X"$_am_arg" : 'X\(//\)$' \| \
14689          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14690 $as_echo X"$_am_arg" |
14691     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14692             s//\1/
14693             q
14694           }
14695           /^X\(\/\/\)[^/].*/{
14696             s//\1/
14697             q
14698           }
14699           /^X\(\/\/\)$/{
14700             s//\1/
14701             q
14702           }
14703           /^X\(\/\).*/{
14704             s//\1/
14705             q
14706           }
14707           s/.*/./; q'`/stamp-h$_am_stamp_count
14708  ;;
14709
14710   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14711 $as_echo "$as_me: executing $ac_file commands" >&6;}
14712  ;;
14713   esac
14714
14715
14716   case $ac_file$ac_mode in
14717     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14718   # Older Autoconf quotes --file arguments for eval, but not when files
14719   # are listed without --file.  Let's play safe and only enable the eval
14720   # if we detect the quoting.
14721   case $CONFIG_FILES in
14722   *\'*) eval set x "$CONFIG_FILES" ;;
14723   *)   set x $CONFIG_FILES ;;
14724   esac
14725   shift
14726   for mf
14727   do
14728     # Strip MF so we end up with the name of the file.
14729     mf=`echo "$mf" | sed -e 's/:.*$//'`
14730     # Check whether this is an Automake generated Makefile or not.
14731     # We used to match only the files named 'Makefile.in', but
14732     # some people rename them; so instead we look at the file content.
14733     # Grep'ing the first line is not enough: some people post-process
14734     # each Makefile.in and add a new line on top of each file to say so.
14735     # Grep'ing the whole file is not good either: AIX grep has a line
14736     # limit of 2048, but all sed's we know have understand at least 4000.
14737     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14738       dirpart=`$as_dirname -- "$mf" ||
14739 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14740          X"$mf" : 'X\(//\)[^/]' \| \
14741          X"$mf" : 'X\(//\)$' \| \
14742          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14743 $as_echo X"$mf" |
14744     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14745             s//\1/
14746             q
14747           }
14748           /^X\(\/\/\)[^/].*/{
14749             s//\1/
14750             q
14751           }
14752           /^X\(\/\/\)$/{
14753             s//\1/
14754             q
14755           }
14756           /^X\(\/\).*/{
14757             s//\1/
14758             q
14759           }
14760           s/.*/./; q'`
14761     else
14762       continue
14763     fi
14764     # Extract the definition of DEPDIR, am__include, and am__quote
14765     # from the Makefile without running 'make'.
14766     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14767     test -z "$DEPDIR" && continue
14768     am__include=`sed -n 's/^am__include = //p' < "$mf"`
14769     test -z "$am__include" && continue
14770     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14771     # Find all dependency output files, they are included files with
14772     # $(DEPDIR) in their names.  We invoke sed twice because it is the
14773     # simplest approach to changing $(DEPDIR) to its actual value in the
14774     # expansion.
14775     for file in `sed -n "
14776       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14777          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
14778       # Make sure the directory exists.
14779       test -f "$dirpart/$file" && continue
14780       fdir=`$as_dirname -- "$file" ||
14781 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14782          X"$file" : 'X\(//\)[^/]' \| \
14783          X"$file" : 'X\(//\)$' \| \
14784          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14785 $as_echo X"$file" |
14786     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14787             s//\1/
14788             q
14789           }
14790           /^X\(\/\/\)[^/].*/{
14791             s//\1/
14792             q
14793           }
14794           /^X\(\/\/\)$/{
14795             s//\1/
14796             q
14797           }
14798           /^X\(\/\).*/{
14799             s//\1/
14800             q
14801           }
14802           s/.*/./; q'`
14803       as_dir=$dirpart/$fdir; as_fn_mkdir_p
14804       # echo "creating $dirpart/$file"
14805       echo '# dummy' > "$dirpart/$file"
14806     done
14807   done
14808 }
14809  ;;
14810     "libtool":C)
14811
14812     # See if we are running on zsh, and set the options which allow our
14813     # commands through without removal of \ escapes.
14814     if test -n "${ZSH_VERSION+set}" ; then
14815       setopt NO_GLOB_SUBST
14816     fi
14817
14818     cfgfile="${ofile}T"
14819     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14820     $RM "$cfgfile"
14821
14822     cat <<_LT_EOF >> "$cfgfile"
14823 #! $SHELL
14824
14825 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14826 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14827 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14828 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14829 #
14830 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14831 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14832 #                 Foundation, Inc.
14833 #   Written by Gordon Matzigkeit, 1996
14834 #
14835 #   This file is part of GNU Libtool.
14836 #
14837 # GNU Libtool is free software; you can redistribute it and/or
14838 # modify it under the terms of the GNU General Public License as
14839 # published by the Free Software Foundation; either version 2 of
14840 # the License, or (at your option) any later version.
14841 #
14842 # As a special exception to the GNU General Public License,
14843 # if you distribute this file as part of a program or library that
14844 # is built using GNU Libtool, you may include this file under the
14845 # same distribution terms that you use for the rest of that program.
14846 #
14847 # GNU Libtool is distributed in the hope that it will be useful,
14848 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14849 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14850 # GNU General Public License for more details.
14851 #
14852 # You should have received a copy of the GNU General Public License
14853 # along with GNU Libtool; see the file COPYING.  If not, a copy
14854 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14855 # obtained by writing to the Free Software Foundation, Inc.,
14856 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14857
14858
14859 # The names of the tagged configurations supported by this script.
14860 available_tags=""
14861
14862 # ### BEGIN LIBTOOL CONFIG
14863
14864 # Which release of libtool.m4 was used?
14865 macro_version=$macro_version
14866 macro_revision=$macro_revision
14867
14868 # Whether or not to build static libraries.
14869 build_old_libs=$enable_static
14870
14871 # Whether or not to build shared libraries.
14872 build_libtool_libs=$enable_shared
14873
14874 # What type of objects to build.
14875 pic_mode=$pic_mode
14876
14877 # Whether or not to optimize for fast installation.
14878 fast_install=$enable_fast_install
14879
14880 # Shell to use when invoking shell scripts.
14881 SHELL=$lt_SHELL
14882
14883 # An echo program that protects backslashes.
14884 ECHO=$lt_ECHO
14885
14886 # The PATH separator for the build system.
14887 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14888
14889 # The host system.
14890 host_alias=$host_alias
14891 host=$host
14892 host_os=$host_os
14893
14894 # The build system.
14895 build_alias=$build_alias
14896 build=$build
14897 build_os=$build_os
14898
14899 # A sed program that does not truncate output.
14900 SED=$lt_SED
14901
14902 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14903 Xsed="\$SED -e 1s/^X//"
14904
14905 # A grep program that handles long lines.
14906 GREP=$lt_GREP
14907
14908 # An ERE matcher.
14909 EGREP=$lt_EGREP
14910
14911 # A literal string matcher.
14912 FGREP=$lt_FGREP
14913
14914 # A BSD- or MS-compatible name lister.
14915 NM=$lt_NM
14916
14917 # Whether we need soft or hard links.
14918 LN_S=$lt_LN_S
14919
14920 # What is the maximum length of a command?
14921 max_cmd_len=$max_cmd_len
14922
14923 # Object file suffix (normally "o").
14924 objext=$ac_objext
14925
14926 # Executable file suffix (normally "").
14927 exeext=$exeext
14928
14929 # whether the shell understands "unset".
14930 lt_unset=$lt_unset
14931
14932 # turn spaces into newlines.
14933 SP2NL=$lt_lt_SP2NL
14934
14935 # turn newlines into spaces.
14936 NL2SP=$lt_lt_NL2SP
14937
14938 # convert \$build file names to \$host format.
14939 to_host_file_cmd=$lt_cv_to_host_file_cmd
14940
14941 # convert \$build files to toolchain format.
14942 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14943
14944 # An object symbol dumper.
14945 OBJDUMP=$lt_OBJDUMP
14946
14947 # Method to check whether dependent libraries are shared objects.
14948 deplibs_check_method=$lt_deplibs_check_method
14949
14950 # Command to use when deplibs_check_method = "file_magic".
14951 file_magic_cmd=$lt_file_magic_cmd
14952
14953 # How to find potential files when deplibs_check_method = "file_magic".
14954 file_magic_glob=$lt_file_magic_glob
14955
14956 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14957 want_nocaseglob=$lt_want_nocaseglob
14958
14959 # DLL creation program.
14960 DLLTOOL=$lt_DLLTOOL
14961
14962 # Command to associate shared and link libraries.
14963 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14964
14965 # The archiver.
14966 AR=$lt_AR
14967
14968 # Flags to create an archive.
14969 AR_FLAGS=$lt_AR_FLAGS
14970
14971 # How to feed a file listing to the archiver.
14972 archiver_list_spec=$lt_archiver_list_spec
14973
14974 # A symbol stripping program.
14975 STRIP=$lt_STRIP
14976
14977 # Commands used to install an old-style archive.
14978 RANLIB=$lt_RANLIB
14979 old_postinstall_cmds=$lt_old_postinstall_cmds
14980 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14981
14982 # Whether to use a lock for old archive extraction.
14983 lock_old_archive_extraction=$lock_old_archive_extraction
14984
14985 # A C compiler.
14986 LTCC=$lt_CC
14987
14988 # LTCC compiler flags.
14989 LTCFLAGS=$lt_CFLAGS
14990
14991 # Take the output of nm and produce a listing of raw symbols and C names.
14992 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14993
14994 # Transform the output of nm in a proper C declaration.
14995 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14996
14997 # Transform the output of nm in a C name address pair.
14998 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14999
15000 # Transform the output of nm in a C name address pair when lib prefix is needed.
15001 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15002
15003 # Specify filename containing input files for \$NM.
15004 nm_file_list_spec=$lt_nm_file_list_spec
15005
15006 # The root where to search for dependent libraries,and in which our libraries should be installed.
15007 lt_sysroot=$lt_sysroot
15008
15009 # The name of the directory that contains temporary libtool files.
15010 objdir=$objdir
15011
15012 # Used to examine libraries when file_magic_cmd begins with "file".
15013 MAGIC_CMD=$MAGIC_CMD
15014
15015 # Must we lock files when doing compilation?
15016 need_locks=$lt_need_locks
15017
15018 # Manifest tool.
15019 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15020
15021 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15022 DSYMUTIL=$lt_DSYMUTIL
15023
15024 # Tool to change global to local symbols on Mac OS X.
15025 NMEDIT=$lt_NMEDIT
15026
15027 # Tool to manipulate fat objects and archives on Mac OS X.
15028 LIPO=$lt_LIPO
15029
15030 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15031 OTOOL=$lt_OTOOL
15032
15033 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15034 OTOOL64=$lt_OTOOL64
15035
15036 # Old archive suffix (normally "a").
15037 libext=$libext
15038
15039 # Shared library suffix (normally ".so").
15040 shrext_cmds=$lt_shrext_cmds
15041
15042 # The commands to extract the exported symbol list from a shared archive.
15043 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15044
15045 # Variables whose values should be saved in libtool wrapper scripts and
15046 # restored at link time.
15047 variables_saved_for_relink=$lt_variables_saved_for_relink
15048
15049 # Do we need the "lib" prefix for modules?
15050 need_lib_prefix=$need_lib_prefix
15051
15052 # Do we need a version for libraries?
15053 need_version=$need_version
15054
15055 # Library versioning type.
15056 version_type=$version_type
15057
15058 # Shared library runtime path variable.
15059 runpath_var=$runpath_var
15060
15061 # Shared library path variable.
15062 shlibpath_var=$shlibpath_var
15063
15064 # Is shlibpath searched before the hard-coded library search path?
15065 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15066
15067 # Format of library name prefix.
15068 libname_spec=$lt_libname_spec
15069
15070 # List of archive names.  First name is the real one, the rest are links.
15071 # The last name is the one that the linker finds with -lNAME
15072 library_names_spec=$lt_library_names_spec
15073
15074 # The coded name of the library, if different from the real name.
15075 soname_spec=$lt_soname_spec
15076
15077 # Permission mode override for installation of shared libraries.
15078 install_override_mode=$lt_install_override_mode
15079
15080 # Command to use after installation of a shared archive.
15081 postinstall_cmds=$lt_postinstall_cmds
15082
15083 # Command to use after uninstallation of a shared archive.
15084 postuninstall_cmds=$lt_postuninstall_cmds
15085
15086 # Commands used to finish a libtool library installation in a directory.
15087 finish_cmds=$lt_finish_cmds
15088
15089 # As "finish_cmds", except a single script fragment to be evaled but
15090 # not shown.
15091 finish_eval=$lt_finish_eval
15092
15093 # Whether we should hardcode library paths into libraries.
15094 hardcode_into_libs=$hardcode_into_libs
15095
15096 # Compile-time system search path for libraries.
15097 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15098
15099 # Run-time system search path for libraries.
15100 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15101
15102 # Whether dlopen is supported.
15103 dlopen_support=$enable_dlopen
15104
15105 # Whether dlopen of programs is supported.
15106 dlopen_self=$enable_dlopen_self
15107
15108 # Whether dlopen of statically linked programs is supported.
15109 dlopen_self_static=$enable_dlopen_self_static
15110
15111 # Commands to strip libraries.
15112 old_striplib=$lt_old_striplib
15113 striplib=$lt_striplib
15114
15115
15116 # The linker used to build libraries.
15117 LD=$lt_LD
15118
15119 # How to create reloadable object files.
15120 reload_flag=$lt_reload_flag
15121 reload_cmds=$lt_reload_cmds
15122
15123 # Commands used to build an old-style archive.
15124 old_archive_cmds=$lt_old_archive_cmds
15125
15126 # A language specific compiler.
15127 CC=$lt_compiler
15128
15129 # Is the compiler the GNU compiler?
15130 with_gcc=$GCC
15131
15132 # Compiler flag to turn off builtin functions.
15133 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15134
15135 # Additional compiler flags for building library objects.
15136 pic_flag=$lt_lt_prog_compiler_pic
15137
15138 # How to pass a linker flag through the compiler.
15139 wl=$lt_lt_prog_compiler_wl
15140
15141 # Compiler flag to prevent dynamic linking.
15142 link_static_flag=$lt_lt_prog_compiler_static
15143
15144 # Does compiler simultaneously support -c and -o options?
15145 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15146
15147 # Whether or not to add -lc for building shared libraries.
15148 build_libtool_need_lc=$archive_cmds_need_lc
15149
15150 # Whether or not to disallow shared libs when runtime libs are static.
15151 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15152
15153 # Compiler flag to allow reflexive dlopens.
15154 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15155
15156 # Compiler flag to generate shared objects directly from archives.
15157 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15158
15159 # Whether the compiler copes with passing no objects directly.
15160 compiler_needs_object=$lt_compiler_needs_object
15161
15162 # Create an old-style archive from a shared archive.
15163 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15164
15165 # Create a temporary old-style archive to link instead of a shared archive.
15166 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15167
15168 # Commands used to build a shared archive.
15169 archive_cmds=$lt_archive_cmds
15170 archive_expsym_cmds=$lt_archive_expsym_cmds
15171
15172 # Commands used to build a loadable module if different from building
15173 # a shared archive.
15174 module_cmds=$lt_module_cmds
15175 module_expsym_cmds=$lt_module_expsym_cmds
15176
15177 # Whether we are building with GNU ld or not.
15178 with_gnu_ld=$lt_with_gnu_ld
15179
15180 # Flag that allows shared libraries with undefined symbols to be built.
15181 allow_undefined_flag=$lt_allow_undefined_flag
15182
15183 # Flag that enforces no undefined symbols.
15184 no_undefined_flag=$lt_no_undefined_flag
15185
15186 # Flag to hardcode \$libdir into a binary during linking.
15187 # This must work even if \$libdir does not exist
15188 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15189
15190 # Whether we need a single "-rpath" flag with a separated argument.
15191 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15192
15193 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15194 # DIR into the resulting binary.
15195 hardcode_direct=$hardcode_direct
15196
15197 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15198 # DIR into the resulting binary and the resulting library dependency is
15199 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15200 # library is relocated.
15201 hardcode_direct_absolute=$hardcode_direct_absolute
15202
15203 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15204 # into the resulting binary.
15205 hardcode_minus_L=$hardcode_minus_L
15206
15207 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15208 # into the resulting binary.
15209 hardcode_shlibpath_var=$hardcode_shlibpath_var
15210
15211 # Set to "yes" if building a shared library automatically hardcodes DIR
15212 # into the library and all subsequent libraries and executables linked
15213 # against it.
15214 hardcode_automatic=$hardcode_automatic
15215
15216 # Set to yes if linker adds runtime paths of dependent libraries
15217 # to runtime path list.
15218 inherit_rpath=$inherit_rpath
15219
15220 # Whether libtool must link a program against all its dependency libraries.
15221 link_all_deplibs=$link_all_deplibs
15222
15223 # Set to "yes" if exported symbols are required.
15224 always_export_symbols=$always_export_symbols
15225
15226 # The commands to list exported symbols.
15227 export_symbols_cmds=$lt_export_symbols_cmds
15228
15229 # Symbols that should not be listed in the preloaded symbols.
15230 exclude_expsyms=$lt_exclude_expsyms
15231
15232 # Symbols that must always be exported.
15233 include_expsyms=$lt_include_expsyms
15234
15235 # Commands necessary for linking programs (against libraries) with templates.
15236 prelink_cmds=$lt_prelink_cmds
15237
15238 # Commands necessary for finishing linking programs.
15239 postlink_cmds=$lt_postlink_cmds
15240
15241 # Specify filename containing input files.
15242 file_list_spec=$lt_file_list_spec
15243
15244 # How to hardcode a shared library path into an executable.
15245 hardcode_action=$hardcode_action
15246
15247 # ### END LIBTOOL CONFIG
15248
15249 _LT_EOF
15250
15251   case $host_os in
15252   aix3*)
15253     cat <<\_LT_EOF >> "$cfgfile"
15254 # AIX sometimes has problems with the GCC collect2 program.  For some
15255 # reason, if we set the COLLECT_NAMES environment variable, the problems
15256 # vanish in a puff of smoke.
15257 if test "X${COLLECT_NAMES+set}" != Xset; then
15258   COLLECT_NAMES=
15259   export COLLECT_NAMES
15260 fi
15261 _LT_EOF
15262     ;;
15263   esac
15264
15265
15266 ltmain="$ac_aux_dir/ltmain.sh"
15267
15268
15269   # We use sed instead of cat because bash on DJGPP gets confused if
15270   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15271   # text mode, it properly converts lines to CR/LF.  This bash problem
15272   # is reportedly fixed, but why not run on old versions too?
15273   sed '$q' "$ltmain" >> "$cfgfile" \
15274      || (rm -f "$cfgfile"; exit 1)
15275
15276   if test x"$xsi_shell" = xyes; then
15277   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15278 func_dirname ()\
15279 {\
15280 \    case ${1} in\
15281 \      */*) func_dirname_result="${1%/*}${2}" ;;\
15282 \      *  ) func_dirname_result="${3}" ;;\
15283 \    esac\
15284 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15285   && mv -f "$cfgfile.tmp" "$cfgfile" \
15286     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15287 test 0 -eq $? || _lt_function_replace_fail=:
15288
15289
15290   sed -e '/^func_basename ()$/,/^} # func_basename /c\
15291 func_basename ()\
15292 {\
15293 \    func_basename_result="${1##*/}"\
15294 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15295   && mv -f "$cfgfile.tmp" "$cfgfile" \
15296     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15297 test 0 -eq $? || _lt_function_replace_fail=:
15298
15299
15300   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15301 func_dirname_and_basename ()\
15302 {\
15303 \    case ${1} in\
15304 \      */*) func_dirname_result="${1%/*}${2}" ;;\
15305 \      *  ) func_dirname_result="${3}" ;;\
15306 \    esac\
15307 \    func_basename_result="${1##*/}"\
15308 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15309   && mv -f "$cfgfile.tmp" "$cfgfile" \
15310     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15311 test 0 -eq $? || _lt_function_replace_fail=:
15312
15313
15314   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15315 func_stripname ()\
15316 {\
15317 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15318 \    # positional parameters, so assign one to ordinary parameter first.\
15319 \    func_stripname_result=${3}\
15320 \    func_stripname_result=${func_stripname_result#"${1}"}\
15321 \    func_stripname_result=${func_stripname_result%"${2}"}\
15322 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15323   && mv -f "$cfgfile.tmp" "$cfgfile" \
15324     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15325 test 0 -eq $? || _lt_function_replace_fail=:
15326
15327
15328   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15329 func_split_long_opt ()\
15330 {\
15331 \    func_split_long_opt_name=${1%%=*}\
15332 \    func_split_long_opt_arg=${1#*=}\
15333 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15334   && mv -f "$cfgfile.tmp" "$cfgfile" \
15335     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15336 test 0 -eq $? || _lt_function_replace_fail=:
15337
15338
15339   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15340 func_split_short_opt ()\
15341 {\
15342 \    func_split_short_opt_arg=${1#??}\
15343 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15344 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15345   && mv -f "$cfgfile.tmp" "$cfgfile" \
15346     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15347 test 0 -eq $? || _lt_function_replace_fail=:
15348
15349
15350   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15351 func_lo2o ()\
15352 {\
15353 \    case ${1} in\
15354 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15355 \      *)    func_lo2o_result=${1} ;;\
15356 \    esac\
15357 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15358   && mv -f "$cfgfile.tmp" "$cfgfile" \
15359     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15360 test 0 -eq $? || _lt_function_replace_fail=:
15361
15362
15363   sed -e '/^func_xform ()$/,/^} # func_xform /c\
15364 func_xform ()\
15365 {\
15366     func_xform_result=${1%.*}.lo\
15367 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15368   && mv -f "$cfgfile.tmp" "$cfgfile" \
15369     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15370 test 0 -eq $? || _lt_function_replace_fail=:
15371
15372
15373   sed -e '/^func_arith ()$/,/^} # func_arith /c\
15374 func_arith ()\
15375 {\
15376     func_arith_result=$(( $* ))\
15377 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15378   && mv -f "$cfgfile.tmp" "$cfgfile" \
15379     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15380 test 0 -eq $? || _lt_function_replace_fail=:
15381
15382
15383   sed -e '/^func_len ()$/,/^} # func_len /c\
15384 func_len ()\
15385 {\
15386     func_len_result=${#1}\
15387 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15388   && mv -f "$cfgfile.tmp" "$cfgfile" \
15389     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15390 test 0 -eq $? || _lt_function_replace_fail=:
15391
15392 fi
15393
15394 if test x"$lt_shell_append" = xyes; then
15395   sed -e '/^func_append ()$/,/^} # func_append /c\
15396 func_append ()\
15397 {\
15398     eval "${1}+=\\${2}"\
15399 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15400   && mv -f "$cfgfile.tmp" "$cfgfile" \
15401     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15402 test 0 -eq $? || _lt_function_replace_fail=:
15403
15404
15405   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15406 func_append_quoted ()\
15407 {\
15408 \    func_quote_for_eval "${2}"\
15409 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15410 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15411   && mv -f "$cfgfile.tmp" "$cfgfile" \
15412     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15413 test 0 -eq $? || _lt_function_replace_fail=:
15414
15415
15416   # Save a `func_append' function call where possible by direct use of '+='
15417   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15418     && mv -f "$cfgfile.tmp" "$cfgfile" \
15419       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15420   test 0 -eq $? || _lt_function_replace_fail=:
15421 else
15422   # Save a `func_append' function call even when '+=' is not available
15423   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15424     && mv -f "$cfgfile.tmp" "$cfgfile" \
15425       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15426   test 0 -eq $? || _lt_function_replace_fail=:
15427 fi
15428
15429 if test x"$_lt_function_replace_fail" = x":"; then
15430   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15431 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15432 fi
15433
15434
15435    mv -f "$cfgfile" "$ofile" ||
15436     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15437   chmod +x "$ofile"
15438
15439  ;;
15440
15441   esac
15442 done # for ac_tag
15443
15444
15445 as_fn_exit 0
15446 _ACEOF
15447 ac_clean_files=$ac_clean_files_save
15448
15449 test $ac_write_fail = 0 ||
15450   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15451
15452
15453 # configure is writing to config.log, and then calls config.status.
15454 # config.status does its own redirection, appending to config.log.
15455 # Unfortunately, on DOS this fails, as config.log is still kept open
15456 # by configure, so config.status won't be able to write to it; its
15457 # output is simply discarded.  So we exec the FD to /dev/null,
15458 # effectively closing config.log, so it can be properly (re)opened and
15459 # appended to by config.status.  When coming back to configure, we
15460 # need to make the FD available again.
15461 if test "$no_create" != yes; then
15462   ac_cs_success=:
15463   ac_config_status_args=
15464   test "$silent" = yes &&
15465     ac_config_status_args="$ac_config_status_args --quiet"
15466   exec 5>/dev/null
15467   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15468   exec 5>>config.log
15469   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15470   # would make configure fail if this is the last instruction.
15471   $ac_cs_success || as_fn_exit 1
15472 fi
15473 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15474   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15475 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15476 fi
15477
15478
15479 if test x$enable_dbus_type != xp2p; then
15480     ac_config_files="$ac_config_files test/daemon/services/com.google.code.AccountsSSO.gSingleSignOn.service"
15481
15482 cat >confcache <<\_ACEOF
15483 # This file is a shell script that caches the results of configure
15484 # tests run on this system so they can be shared between configure
15485 # scripts and configure runs, see configure's option --config-cache.
15486 # It is not useful on other systems.  If it contains results you don't
15487 # want to keep, you may remove or edit it.
15488 #
15489 # config.status only pays attention to the cache file if you give it
15490 # the --recheck option to rerun configure.
15491 #
15492 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15493 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15494 # following values.
15495
15496 _ACEOF
15497
15498 # The following way of writing the cache mishandles newlines in values,
15499 # but we know of no workaround that is simple, portable, and efficient.
15500 # So, we kill variables containing newlines.
15501 # Ultrix sh set writes to stderr and can't be redirected directly,
15502 # and sets the high bit in the cache file unless we assign to the vars.
15503 (
15504   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15505     eval ac_val=\$$ac_var
15506     case $ac_val in #(
15507     *${as_nl}*)
15508       case $ac_var in #(
15509       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15510 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15511       esac
15512       case $ac_var in #(
15513       _ | IFS | as_nl) ;; #(
15514       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15515       *) { eval $ac_var=; unset $ac_var;} ;;
15516       esac ;;
15517     esac
15518   done
15519
15520   (set) 2>&1 |
15521     case $as_nl`(ac_space=' '; set) 2>&1` in #(
15522     *${as_nl}ac_space=\ *)
15523       # `set' does not quote correctly, so add quotes: double-quote
15524       # substitution turns \\\\ into \\, and sed turns \\ into \.
15525       sed -n \
15526         "s/'/'\\\\''/g;
15527           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15528       ;; #(
15529     *)
15530       # `set' quotes correctly as required by POSIX, so do not add quotes.
15531       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15532       ;;
15533     esac |
15534     sort
15535 ) |
15536   sed '
15537      /^ac_cv_env_/b end
15538      t clear
15539      :clear
15540      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15541      t end
15542      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15543      :end' >>confcache
15544 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15545   if test -w "$cache_file"; then
15546     if test "x$cache_file" != "x/dev/null"; then
15547       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15548 $as_echo "$as_me: updating cache $cache_file" >&6;}
15549       if test ! -f "$cache_file" || test -h "$cache_file"; then
15550         cat confcache >"$cache_file"
15551       else
15552         case $cache_file in #(
15553         */* | ?:*)
15554           mv -f confcache "$cache_file"$$ &&
15555           mv -f "$cache_file"$$ "$cache_file" ;; #(
15556         *)
15557           mv -f confcache "$cache_file" ;;
15558         esac
15559       fi
15560     fi
15561   else
15562     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15563 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15564   fi
15565 fi
15566 rm -f confcache
15567
15568 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15569 # Let make expand exec_prefix.
15570 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15571
15572 DEFS=-DHAVE_CONFIG_H
15573
15574 ac_libobjs=
15575 ac_ltlibobjs=
15576 U=
15577 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15578   # 1. Remove the extension, and $U if already installed.
15579   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15580   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15581   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
15582   #    will be set to the directory where LIBOBJS objects are built.
15583   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15584   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15585 done
15586 LIBOBJS=$ac_libobjs
15587
15588 LTLIBOBJS=$ac_ltlibobjs
15589
15590
15591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15592 $as_echo_n "checking that generated files are newer than configure... " >&6; }
15593    if test -n "$am_sleep_pid"; then
15594      # Hide warnings about reused PIDs.
15595      wait $am_sleep_pid 2>/dev/null
15596    fi
15597    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15598 $as_echo "done" >&6; }
15599  if test -n "$EXEEXT"; then
15600   am__EXEEXT_TRUE=
15601   am__EXEEXT_FALSE='#'
15602 else
15603   am__EXEEXT_TRUE='#'
15604   am__EXEEXT_FALSE=
15605 fi
15606
15607 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15608   as_fn_error $? "conditional \"AMDEP\" was never defined.
15609 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15610 fi
15611 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15612   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15613 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15614 fi
15615 if test -z "${HAVE_LIBSMACK_TRUE}" && test -z "${HAVE_LIBSMACK_FALSE}"; then
15616   as_fn_error $? "conditional \"HAVE_LIBSMACK\" was never defined.
15617 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15618 fi
15619 if test -z "${HAVE_LIBECRYPTFS_TRUE}" && test -z "${HAVE_LIBECRYPTFS_FALSE}"; then
15620   as_fn_error $? "conditional \"HAVE_LIBECRYPTFS\" was never defined.
15621 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15622 fi
15623 if test -z "${USE_GTESTDBUS_TRUE}" && test -z "${USE_GTESTDBUS_FALSE}"; then
15624   as_fn_error $? "conditional \"USE_GTESTDBUS\" was never defined.
15625 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15626 fi
15627 if test -z "${HAVE_DEBUG_TRUE}" && test -z "${HAVE_DEBUG_FALSE}"; then
15628   as_fn_error $? "conditional \"HAVE_DEBUG\" was never defined.
15629 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15630 fi
15631 if test -z "${SET_PERMISSIONS_TRUE}" && test -z "${SET_PERMISSIONS_FALSE}"; then
15632   as_fn_error $? "conditional \"SET_PERMISSIONS\" was never defined.
15633 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15634 fi
15635 if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then
15636   as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined.
15637 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15638 fi
15639 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
15640   as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
15641 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15642 fi
15643 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
15644   as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
15645 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15646 fi
15647 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
15648   as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
15649 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15650 fi
15651 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
15652   as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
15653 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15654 fi
15655 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
15656   as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
15657 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15658 fi
15659 if test -z "${am__EXEEXT_TRUE}" && test -z "${am__EXEEXT_FALSE}"; then
15660   as_fn_error $? "conditional \"am__EXEEXT\" was never defined.
15661 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15662 fi
15663
15664 : "${CONFIG_STATUS=./config.status}"
15665 ac_write_fail=0
15666 ac_clean_files_save=$ac_clean_files
15667 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15668 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15669 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15670 as_write_fail=0
15671 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15672 #! $SHELL
15673 # Generated by $as_me.
15674 # Run this file to recreate the current configuration.
15675 # Compiler output produced by configure, useful for debugging
15676 # configure, is in config.log if it exists.
15677
15678 debug=false
15679 ac_cs_recheck=false
15680 ac_cs_silent=false
15681
15682 SHELL=\${CONFIG_SHELL-$SHELL}
15683 export SHELL
15684 _ASEOF
15685 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15686 ## -------------------- ##
15687 ## M4sh Initialization. ##
15688 ## -------------------- ##
15689
15690 # Be more Bourne compatible
15691 DUALCASE=1; export DUALCASE # for MKS sh
15692 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15693   emulate sh
15694   NULLCMD=:
15695   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15696   # is contrary to our usage.  Disable this feature.
15697   alias -g '${1+"$@"}'='"$@"'
15698   setopt NO_GLOB_SUBST
15699 else
15700   case `(set -o) 2>/dev/null` in #(
15701   *posix*) :
15702     set -o posix ;; #(
15703   *) :
15704      ;;
15705 esac
15706 fi
15707
15708
15709 as_nl='
15710 '
15711 export as_nl
15712 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15713 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15714 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15715 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15716 # Prefer a ksh shell builtin over an external printf program on Solaris,
15717 # but without wasting forks for bash or zsh.
15718 if test -z "$BASH_VERSION$ZSH_VERSION" \
15719     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15720   as_echo='print -r --'
15721   as_echo_n='print -rn --'
15722 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15723   as_echo='printf %s\n'
15724   as_echo_n='printf %s'
15725 else
15726   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15727     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15728     as_echo_n='/usr/ucb/echo -n'
15729   else
15730     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15731     as_echo_n_body='eval
15732       arg=$1;
15733       case $arg in #(
15734       *"$as_nl"*)
15735         expr "X$arg" : "X\\(.*\\)$as_nl";
15736         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15737       esac;
15738       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15739     '
15740     export as_echo_n_body
15741     as_echo_n='sh -c $as_echo_n_body as_echo'
15742   fi
15743   export as_echo_body
15744   as_echo='sh -c $as_echo_body as_echo'
15745 fi
15746
15747 # The user is always right.
15748 if test "${PATH_SEPARATOR+set}" != set; then
15749   PATH_SEPARATOR=:
15750   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15751     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15752       PATH_SEPARATOR=';'
15753   }
15754 fi
15755
15756
15757 # IFS
15758 # We need space, tab and new line, in precisely that order.  Quoting is
15759 # there to prevent editors from complaining about space-tab.
15760 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15761 # splitting by setting IFS to empty value.)
15762 IFS=" ""        $as_nl"
15763
15764 # Find who we are.  Look in the path if we contain no directory separator.
15765 as_myself=
15766 case $0 in #((
15767   *[\\/]* ) as_myself=$0 ;;
15768   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15769 for as_dir in $PATH
15770 do
15771   IFS=$as_save_IFS
15772   test -z "$as_dir" && as_dir=.
15773     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15774   done
15775 IFS=$as_save_IFS
15776
15777      ;;
15778 esac
15779 # We did not find ourselves, most probably we were run as `sh COMMAND'
15780 # in which case we are not to be found in the path.
15781 if test "x$as_myself" = x; then
15782   as_myself=$0
15783 fi
15784 if test ! -f "$as_myself"; then
15785   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15786   exit 1
15787 fi
15788
15789 # Unset variables that we do not need and which cause bugs (e.g. in
15790 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
15791 # suppresses any "Segmentation fault" message there.  '((' could
15792 # trigger a bug in pdksh 5.2.14.
15793 for as_var in BASH_ENV ENV MAIL MAILPATH
15794 do eval test x\${$as_var+set} = xset \
15795   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15796 done
15797 PS1='$ '
15798 PS2='> '
15799 PS4='+ '
15800
15801 # NLS nuisances.
15802 LC_ALL=C
15803 export LC_ALL
15804 LANGUAGE=C
15805 export LANGUAGE
15806
15807 # CDPATH.
15808 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15809
15810
15811 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15812 # ----------------------------------------
15813 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15814 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15815 # script with STATUS, using 1 if that was 0.
15816 as_fn_error ()
15817 {
15818   as_status=$1; test $as_status -eq 0 && as_status=1
15819   if test "$4"; then
15820     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15821     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15822   fi
15823   $as_echo "$as_me: error: $2" >&2
15824   as_fn_exit $as_status
15825 } # as_fn_error
15826
15827
15828 # as_fn_set_status STATUS
15829 # -----------------------
15830 # Set $? to STATUS, without forking.
15831 as_fn_set_status ()
15832 {
15833   return $1
15834 } # as_fn_set_status
15835
15836 # as_fn_exit STATUS
15837 # -----------------
15838 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15839 as_fn_exit ()
15840 {
15841   set +e
15842   as_fn_set_status $1
15843   exit $1
15844 } # as_fn_exit
15845
15846 # as_fn_unset VAR
15847 # ---------------
15848 # Portably unset VAR.
15849 as_fn_unset ()
15850 {
15851   { eval $1=; unset $1;}
15852 }
15853 as_unset=as_fn_unset
15854 # as_fn_append VAR VALUE
15855 # ----------------------
15856 # Append the text in VALUE to the end of the definition contained in VAR. Take
15857 # advantage of any shell optimizations that allow amortized linear growth over
15858 # repeated appends, instead of the typical quadratic growth present in naive
15859 # implementations.
15860 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15861   eval 'as_fn_append ()
15862   {
15863     eval $1+=\$2
15864   }'
15865 else
15866   as_fn_append ()
15867   {
15868     eval $1=\$$1\$2
15869   }
15870 fi # as_fn_append
15871
15872 # as_fn_arith ARG...
15873 # ------------------
15874 # Perform arithmetic evaluation on the ARGs, and store the result in the
15875 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15876 # must be portable across $(()) and expr.
15877 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15878   eval 'as_fn_arith ()
15879   {
15880     as_val=$(( $* ))
15881   }'
15882 else
15883   as_fn_arith ()
15884   {
15885     as_val=`expr "$@" || test $? -eq 1`
15886   }
15887 fi # as_fn_arith
15888
15889
15890 if expr a : '\(a\)' >/dev/null 2>&1 &&
15891    test "X`expr 00001 : '.*\(...\)'`" = X001; then
15892   as_expr=expr
15893 else
15894   as_expr=false
15895 fi
15896
15897 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15898   as_basename=basename
15899 else
15900   as_basename=false
15901 fi
15902
15903 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15904   as_dirname=dirname
15905 else
15906   as_dirname=false
15907 fi
15908
15909 as_me=`$as_basename -- "$0" ||
15910 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15911          X"$0" : 'X\(//\)$' \| \
15912          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15913 $as_echo X/"$0" |
15914     sed '/^.*\/\([^/][^/]*\)\/*$/{
15915             s//\1/
15916             q
15917           }
15918           /^X\/\(\/\/\)$/{
15919             s//\1/
15920             q
15921           }
15922           /^X\/\(\/\).*/{
15923             s//\1/
15924             q
15925           }
15926           s/.*/./; q'`
15927
15928 # Avoid depending upon Character Ranges.
15929 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15930 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15931 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15932 as_cr_digits='0123456789'
15933 as_cr_alnum=$as_cr_Letters$as_cr_digits
15934
15935 ECHO_C= ECHO_N= ECHO_T=
15936 case `echo -n x` in #(((((
15937 -n*)
15938   case `echo 'xy\c'` in
15939   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
15940   xy)  ECHO_C='\c';;
15941   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
15942        ECHO_T=' ';;
15943   esac;;
15944 *)
15945   ECHO_N='-n';;
15946 esac
15947
15948 rm -f conf$$ conf$$.exe conf$$.file
15949 if test -d conf$$.dir; then
15950   rm -f conf$$.dir/conf$$.file
15951 else
15952   rm -f conf$$.dir
15953   mkdir conf$$.dir 2>/dev/null
15954 fi
15955 if (echo >conf$$.file) 2>/dev/null; then
15956   if ln -s conf$$.file conf$$ 2>/dev/null; then
15957     as_ln_s='ln -s'
15958     # ... but there are two gotchas:
15959     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15960     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15961     # In both cases, we have to default to `cp -pR'.
15962     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15963       as_ln_s='cp -pR'
15964   elif ln conf$$.file conf$$ 2>/dev/null; then
15965     as_ln_s=ln
15966   else
15967     as_ln_s='cp -pR'
15968   fi
15969 else
15970   as_ln_s='cp -pR'
15971 fi
15972 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15973 rmdir conf$$.dir 2>/dev/null
15974
15975
15976 # as_fn_mkdir_p
15977 # -------------
15978 # Create "$as_dir" as a directory, including parents if necessary.
15979 as_fn_mkdir_p ()
15980 {
15981
15982   case $as_dir in #(
15983   -*) as_dir=./$as_dir;;
15984   esac
15985   test -d "$as_dir" || eval $as_mkdir_p || {
15986     as_dirs=
15987     while :; do
15988       case $as_dir in #(
15989       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15990       *) as_qdir=$as_dir;;
15991       esac
15992       as_dirs="'$as_qdir' $as_dirs"
15993       as_dir=`$as_dirname -- "$as_dir" ||
15994 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15995          X"$as_dir" : 'X\(//\)[^/]' \| \
15996          X"$as_dir" : 'X\(//\)$' \| \
15997          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15998 $as_echo X"$as_dir" |
15999     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16000             s//\1/
16001             q
16002           }
16003           /^X\(\/\/\)[^/].*/{
16004             s//\1/
16005             q
16006           }
16007           /^X\(\/\/\)$/{
16008             s//\1/
16009             q
16010           }
16011           /^X\(\/\).*/{
16012             s//\1/
16013             q
16014           }
16015           s/.*/./; q'`
16016       test -d "$as_dir" && break
16017     done
16018     test -z "$as_dirs" || eval "mkdir $as_dirs"
16019   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16020
16021
16022 } # as_fn_mkdir_p
16023 if mkdir -p . 2>/dev/null; then
16024   as_mkdir_p='mkdir -p "$as_dir"'
16025 else
16026   test -d ./-p && rmdir ./-p
16027   as_mkdir_p=false
16028 fi
16029
16030
16031 # as_fn_executable_p FILE
16032 # -----------------------
16033 # Test if FILE is an executable regular file.
16034 as_fn_executable_p ()
16035 {
16036   test -f "$1" && test -x "$1"
16037 } # as_fn_executable_p
16038 as_test_x='test -x'
16039 as_executable_p=as_fn_executable_p
16040
16041 # Sed expression to map a string onto a valid CPP name.
16042 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16043
16044 # Sed expression to map a string onto a valid variable name.
16045 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16046
16047
16048 exec 6>&1
16049 ## ----------------------------------- ##
16050 ## Main body of $CONFIG_STATUS script. ##
16051 ## ----------------------------------- ##
16052 _ASEOF
16053 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16054
16055 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16056 # Save the log message, to keep $0 and so on meaningful, and to
16057 # report actual input values of CONFIG_FILES etc. instead of their
16058 # values after options handling.
16059 ac_log="
16060 This file was extended by gsignond $as_me 1.0.3, which was
16061 generated by GNU Autoconf 2.69.  Invocation command line was
16062
16063   CONFIG_FILES    = $CONFIG_FILES
16064   CONFIG_HEADERS  = $CONFIG_HEADERS
16065   CONFIG_LINKS    = $CONFIG_LINKS
16066   CONFIG_COMMANDS = $CONFIG_COMMANDS
16067   $ $0 $@
16068
16069 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16070 "
16071
16072 _ACEOF
16073
16074 case $ac_config_files in *"
16075 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16076 esac
16077
16078 case $ac_config_headers in *"
16079 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16080 esac
16081
16082
16083 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16084 # Files that config.status was made for.
16085 config_files="$ac_config_files"
16086 config_headers="$ac_config_headers"
16087 config_commands="$ac_config_commands"
16088
16089 _ACEOF
16090
16091 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16092 ac_cs_usage="\
16093 \`$as_me' instantiates files and other configuration actions
16094 from templates according to the current configuration.  Unless the files
16095 and actions are specified as TAGs, all are instantiated by default.
16096
16097 Usage: $0 [OPTION]... [TAG]...
16098
16099   -h, --help       print this help, then exit
16100   -V, --version    print version number and configuration settings, then exit
16101       --config     print configuration, then exit
16102   -q, --quiet, --silent
16103                    do not print progress messages
16104   -d, --debug      don't remove temporary files
16105       --recheck    update $as_me by reconfiguring in the same conditions
16106       --file=FILE[:TEMPLATE]
16107                    instantiate the configuration file FILE
16108       --header=FILE[:TEMPLATE]
16109                    instantiate the configuration header FILE
16110
16111 Configuration files:
16112 $config_files
16113
16114 Configuration headers:
16115 $config_headers
16116
16117 Configuration commands:
16118 $config_commands
16119
16120 Report bugs to the package provider.
16121 gsignond home page: <http://01.org/gsso>."
16122
16123 _ACEOF
16124 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16125 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16126 ac_cs_version="\\
16127 gsignond config.status 1.0.3
16128 configured by $0, generated by GNU Autoconf 2.69,
16129   with options \\"\$ac_cs_config\\"
16130
16131 Copyright (C) 2012 Free Software Foundation, Inc.
16132 This config.status script is free software; the Free Software Foundation
16133 gives unlimited permission to copy, distribute and modify it."
16134
16135 ac_pwd='$ac_pwd'
16136 srcdir='$srcdir'
16137 INSTALL='$INSTALL'
16138 MKDIR_P='$MKDIR_P'
16139 AWK='$AWK'
16140 test -n "\$AWK" || AWK=awk
16141 _ACEOF
16142
16143 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16144 # The default lists apply if the user does not specify any file.
16145 ac_need_defaults=:
16146 while test $# != 0
16147 do
16148   case $1 in
16149   --*=?*)
16150     ac_option=`expr "X$1" : 'X\([^=]*\)='`
16151     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16152     ac_shift=:
16153     ;;
16154   --*=)
16155     ac_option=`expr "X$1" : 'X\([^=]*\)='`
16156     ac_optarg=
16157     ac_shift=:
16158     ;;
16159   *)
16160     ac_option=$1
16161     ac_optarg=$2
16162     ac_shift=shift
16163     ;;
16164   esac
16165
16166   case $ac_option in
16167   # Handling of the options.
16168   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16169     ac_cs_recheck=: ;;
16170   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16171     $as_echo "$ac_cs_version"; exit ;;
16172   --config | --confi | --conf | --con | --co | --c )
16173     $as_echo "$ac_cs_config"; exit ;;
16174   --debug | --debu | --deb | --de | --d | -d )
16175     debug=: ;;
16176   --file | --fil | --fi | --f )
16177     $ac_shift
16178     case $ac_optarg in
16179     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16180     '') as_fn_error $? "missing file argument" ;;
16181     esac
16182     as_fn_append CONFIG_FILES " '$ac_optarg'"
16183     ac_need_defaults=false;;
16184   --header | --heade | --head | --hea )
16185     $ac_shift
16186     case $ac_optarg in
16187     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16188     esac
16189     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16190     ac_need_defaults=false;;
16191   --he | --h)
16192     # Conflict between --help and --header
16193     as_fn_error $? "ambiguous option: \`$1'
16194 Try \`$0 --help' for more information.";;
16195   --help | --hel | -h )
16196     $as_echo "$ac_cs_usage"; exit ;;
16197   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16198   | -silent | --silent | --silen | --sile | --sil | --si | --s)
16199     ac_cs_silent=: ;;
16200
16201   # This is an error.
16202   -*) as_fn_error $? "unrecognized option: \`$1'
16203 Try \`$0 --help' for more information." ;;
16204
16205   *) as_fn_append ac_config_targets " $1"
16206      ac_need_defaults=false ;;
16207
16208   esac
16209   shift
16210 done
16211
16212 ac_configure_extra_args=
16213
16214 if $ac_cs_silent; then
16215   exec 6>/dev/null
16216   ac_configure_extra_args="$ac_configure_extra_args --silent"
16217 fi
16218
16219 _ACEOF
16220 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16221 if \$ac_cs_recheck; then
16222   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16223   shift
16224   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16225   CONFIG_SHELL='$SHELL'
16226   export CONFIG_SHELL
16227   exec "\$@"
16228 fi
16229
16230 _ACEOF
16231 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16232 exec 5>>config.log
16233 {
16234   echo
16235   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16236 ## Running $as_me. ##
16237 _ASBOX
16238   $as_echo "$ac_log"
16239 } >&5
16240
16241 _ACEOF
16242 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16243 #
16244 # INIT-COMMANDS
16245 #
16246 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16247
16248
16249 # The HP-UX ksh and POSIX shell print the target directory to stdout
16250 # if CDPATH is set.
16251 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16252
16253 sed_quote_subst='$sed_quote_subst'
16254 double_quote_subst='$double_quote_subst'
16255 delay_variable_subst='$delay_variable_subst'
16256 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16257 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16258 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16259 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16260 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16261 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16262 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16263 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16264 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16265 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16266 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16267 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16268 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16269 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16270 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16271 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16272 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16273 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16274 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16275 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16276 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16277 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16278 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16279 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16280 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16281 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16282 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16283 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16284 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16285 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16286 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16287 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16288 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16289 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16290 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16291 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16292 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16293 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16294 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16295 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16296 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16297 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16298 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16299 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16300 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16301 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16302 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16303 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16304 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16305 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16306 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16307 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16308 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16309 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16310 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16311 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16312 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"`'
16313 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16314 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16315 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16316 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16317 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16318 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16319 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16320 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16321 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16322 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16323 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16324 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16325 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16326 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16327 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16328 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16329 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16330 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16331 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16332 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16333 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16334 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16335 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16336 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16337 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16338 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16339 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16340 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16341 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16342 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16343 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16344 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16345 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16346 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16347 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16348 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16349 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16350 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16351 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16352 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16353 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16354 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16355 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16356 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16357 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16358 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16359 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16360 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16361 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16362 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16363 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16364 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16365 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16366 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16367 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16368 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16369 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16370 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16371 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16372 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16373 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16374 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16375 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16376 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16377 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16378 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16379 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16380 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16381 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16382 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16383 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16384 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16385 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16386
16387 LTCC='$LTCC'
16388 LTCFLAGS='$LTCFLAGS'
16389 compiler='$compiler_DEFAULT'
16390
16391 # A function that is used when there is no print builtin or printf.
16392 func_fallback_echo ()
16393 {
16394   eval 'cat <<_LTECHO_EOF
16395 \$1
16396 _LTECHO_EOF'
16397 }
16398
16399 # Quote evaled strings.
16400 for var in SHELL \
16401 ECHO \
16402 PATH_SEPARATOR \
16403 SED \
16404 GREP \
16405 EGREP \
16406 FGREP \
16407 LD \
16408 NM \
16409 LN_S \
16410 lt_SP2NL \
16411 lt_NL2SP \
16412 reload_flag \
16413 OBJDUMP \
16414 deplibs_check_method \
16415 file_magic_cmd \
16416 file_magic_glob \
16417 want_nocaseglob \
16418 DLLTOOL \
16419 sharedlib_from_linklib_cmd \
16420 AR \
16421 AR_FLAGS \
16422 archiver_list_spec \
16423 STRIP \
16424 RANLIB \
16425 CC \
16426 CFLAGS \
16427 compiler \
16428 lt_cv_sys_global_symbol_pipe \
16429 lt_cv_sys_global_symbol_to_cdecl \
16430 lt_cv_sys_global_symbol_to_c_name_address \
16431 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16432 nm_file_list_spec \
16433 lt_prog_compiler_no_builtin_flag \
16434 lt_prog_compiler_pic \
16435 lt_prog_compiler_wl \
16436 lt_prog_compiler_static \
16437 lt_cv_prog_compiler_c_o \
16438 need_locks \
16439 MANIFEST_TOOL \
16440 DSYMUTIL \
16441 NMEDIT \
16442 LIPO \
16443 OTOOL \
16444 OTOOL64 \
16445 shrext_cmds \
16446 export_dynamic_flag_spec \
16447 whole_archive_flag_spec \
16448 compiler_needs_object \
16449 with_gnu_ld \
16450 allow_undefined_flag \
16451 no_undefined_flag \
16452 hardcode_libdir_flag_spec \
16453 hardcode_libdir_separator \
16454 exclude_expsyms \
16455 include_expsyms \
16456 file_list_spec \
16457 variables_saved_for_relink \
16458 libname_spec \
16459 library_names_spec \
16460 soname_spec \
16461 install_override_mode \
16462 finish_eval \
16463 old_striplib \
16464 striplib; do
16465     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16466     *[\\\\\\\`\\"\\\$]*)
16467       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16468       ;;
16469     *)
16470       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16471       ;;
16472     esac
16473 done
16474
16475 # Double-quote double-evaled strings.
16476 for var in reload_cmds \
16477 old_postinstall_cmds \
16478 old_postuninstall_cmds \
16479 old_archive_cmds \
16480 extract_expsyms_cmds \
16481 old_archive_from_new_cmds \
16482 old_archive_from_expsyms_cmds \
16483 archive_cmds \
16484 archive_expsym_cmds \
16485 module_cmds \
16486 module_expsym_cmds \
16487 export_symbols_cmds \
16488 prelink_cmds \
16489 postlink_cmds \
16490 postinstall_cmds \
16491 postuninstall_cmds \
16492 finish_cmds \
16493 sys_lib_search_path_spec \
16494 sys_lib_dlsearch_path_spec; do
16495     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16496     *[\\\\\\\`\\"\\\$]*)
16497       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16498       ;;
16499     *)
16500       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16501       ;;
16502     esac
16503 done
16504
16505 ac_aux_dir='$ac_aux_dir'
16506 xsi_shell='$xsi_shell'
16507 lt_shell_append='$lt_shell_append'
16508
16509 # See if we are running on zsh, and set the options which allow our
16510 # commands through without removal of \ escapes INIT.
16511 if test -n "\${ZSH_VERSION+set}" ; then
16512    setopt NO_GLOB_SUBST
16513 fi
16514
16515
16516     PACKAGE='$PACKAGE'
16517     VERSION='$VERSION'
16518     TIMESTAMP='$TIMESTAMP'
16519     RM='$RM'
16520     ofile='$ofile'
16521
16522 ac_aux_dir='$ac_aux_dir'
16523
16524
16525
16526 _ACEOF
16527
16528 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16529
16530 # Handling of arguments.
16531 for ac_config_target in $ac_config_targets
16532 do
16533   case $ac_config_target in
16534     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16535     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16536     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16537     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16538     "${PACKAGE_NAME}.pc") CONFIG_FILES="$CONFIG_FILES ${PACKAGE_NAME}.pc" ;;
16539     "${PACKAGE_NAME}-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES ${PACKAGE_NAME}-uninstalled.pc" ;;
16540     "gsignond.conf") CONFIG_FILES="$CONFIG_FILES gsignond.conf" ;;
16541     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
16542     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16543     "src/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/Makefile" ;;
16544     "src/common/db/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/db/Makefile" ;;
16545     "src/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/Makefile" ;;
16546     "src/daemon/db/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/db/Makefile" ;;
16547     "src/daemon/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/Makefile" ;;
16548     "src/daemon/dbus/services/com.google.code.AccountsSSO.gSingleSignOn.service") CONFIG_FILES="$CONFIG_FILES src/daemon/dbus/services/com.google.code.AccountsSSO.gSingleSignOn.service" ;;
16549     "src/daemon/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/daemon/plugins/Makefile" ;;
16550     "src/gplugind/Makefile") CONFIG_FILES="$CONFIG_FILES src/gplugind/Makefile" ;;
16551     "src/extensions/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/Makefile" ;;
16552     "src/extensions/test/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/test/Makefile" ;;
16553     "src/extensions/tizen/Makefile") CONFIG_FILES="$CONFIG_FILES src/extensions/tizen/Makefile" ;;
16554     "src/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/Makefile" ;;
16555     "src/plugins/password/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/password/Makefile" ;;
16556     "src/plugins/ssotest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/ssotest/Makefile" ;;
16557     "src/plugins/digest/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/digest/Makefile" ;;
16558     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
16559     "test/common/Makefile") CONFIG_FILES="$CONFIG_FILES test/common/Makefile" ;;
16560     "test/db/Makefile") CONFIG_FILES="$CONFIG_FILES test/db/Makefile" ;;
16561     "test/daemon/Makefile") CONFIG_FILES="$CONFIG_FILES test/daemon/Makefile" ;;
16562     "test/daemon/gsignond-dbus.conf") CONFIG_FILES="$CONFIG_FILES test/daemon/gsignond-dbus.conf" ;;
16563     "test/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES test/plugins/Makefile" ;;
16564     "test/daemon/services/com.google.code.AccountsSSO.gSingleSignOn.service") CONFIG_FILES="$CONFIG_FILES test/daemon/services/com.google.code.AccountsSSO.gSingleSignOn.service" ;;
16565
16566   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16567   esac
16568 done
16569
16570
16571 # If the user did not use the arguments to specify the items to instantiate,
16572 # then the envvar interface is used.  Set only those that are not.
16573 # We use the long form for the default assignment because of an extremely
16574 # bizarre bug on SunOS 4.1.3.
16575 if $ac_need_defaults; then
16576   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16577   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16578   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16579 fi
16580
16581 # Have a temporary directory for convenience.  Make it in the build tree
16582 # simply because there is no reason against having it here, and in addition,
16583 # creating and moving files from /tmp can sometimes cause problems.
16584 # Hook for its removal unless debugging.
16585 # Note that there is a small window in which the directory will not be cleaned:
16586 # after its creation but before its name has been assigned to `$tmp'.
16587 $debug ||
16588 {
16589   tmp= ac_tmp=
16590   trap 'exit_status=$?
16591   : "${ac_tmp:=$tmp}"
16592   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16593 ' 0
16594   trap 'as_fn_exit 1' 1 2 13 15
16595 }
16596 # Create a (secure) tmp directory for tmp files.
16597
16598 {
16599   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16600   test -d "$tmp"
16601 }  ||
16602 {
16603   tmp=./conf$$-$RANDOM
16604   (umask 077 && mkdir "$tmp")
16605 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16606 ac_tmp=$tmp
16607
16608 # Set up the scripts for CONFIG_FILES section.
16609 # No need to generate them if there are no CONFIG_FILES.
16610 # This happens for instance with `./config.status config.h'.
16611 if test -n "$CONFIG_FILES"; then
16612
16613
16614 ac_cr=`echo X | tr X '\015'`
16615 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16616 # But we know of no other shell where ac_cr would be empty at this
16617 # point, so we can use a bashism as a fallback.
16618 if test "x$ac_cr" = x; then
16619   eval ac_cr=\$\'\\r\'
16620 fi
16621 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16622 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16623   ac_cs_awk_cr='\\r'
16624 else
16625   ac_cs_awk_cr=$ac_cr
16626 fi
16627
16628 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16629 _ACEOF
16630
16631
16632 {
16633   echo "cat >conf$$subs.awk <<_ACEOF" &&
16634   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16635   echo "_ACEOF"
16636 } >conf$$subs.sh ||
16637   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16638 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16639 ac_delim='%!_!# '
16640 for ac_last_try in false false false false false :; do
16641   . ./conf$$subs.sh ||
16642     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16643
16644   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16645   if test $ac_delim_n = $ac_delim_num; then
16646     break
16647   elif $ac_last_try; then
16648     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16649   else
16650     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16651   fi
16652 done
16653 rm -f conf$$subs.sh
16654
16655 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16656 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16657 _ACEOF
16658 sed -n '
16659 h
16660 s/^/S["/; s/!.*/"]=/
16661 p
16662 g
16663 s/^[^!]*!//
16664 :repl
16665 t repl
16666 s/'"$ac_delim"'$//
16667 t delim
16668 :nl
16669 h
16670 s/\(.\{148\}\)..*/\1/
16671 t more1
16672 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16673 p
16674 n
16675 b repl
16676 :more1
16677 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16678 p
16679 g
16680 s/.\{148\}//
16681 t nl
16682 :delim
16683 h
16684 s/\(.\{148\}\)..*/\1/
16685 t more2
16686 s/["\\]/\\&/g; s/^/"/; s/$/"/
16687 p
16688 b
16689 :more2
16690 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16691 p
16692 g
16693 s/.\{148\}//
16694 t delim
16695 ' <conf$$subs.awk | sed '
16696 /^[^""]/{
16697   N
16698   s/\n//
16699 }
16700 ' >>$CONFIG_STATUS || ac_write_fail=1
16701 rm -f conf$$subs.awk
16702 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16703 _ACAWK
16704 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16705   for (key in S) S_is_set[key] = 1
16706   FS = "\a"
16707
16708 }
16709 {
16710   line = $ 0
16711   nfields = split(line, field, "@")
16712   substed = 0
16713   len = length(field[1])
16714   for (i = 2; i < nfields; i++) {
16715     key = field[i]
16716     keylen = length(key)
16717     if (S_is_set[key]) {
16718       value = S[key]
16719       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16720       len += length(value) + length(field[++i])
16721       substed = 1
16722     } else
16723       len += 1 + keylen
16724   }
16725
16726   print line
16727 }
16728
16729 _ACAWK
16730 _ACEOF
16731 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16732 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16733   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16734 else
16735   cat
16736 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16737   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16738 _ACEOF
16739
16740 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16741 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16742 # trailing colons and then remove the whole line if VPATH becomes empty
16743 # (actually we leave an empty line to preserve line numbers).
16744 if test "x$srcdir" = x.; then
16745   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
16746 h
16747 s///
16748 s/^/:/
16749 s/[      ]*$/:/
16750 s/:\$(srcdir):/:/g
16751 s/:\${srcdir}:/:/g
16752 s/:@srcdir@:/:/g
16753 s/^:*//
16754 s/:*$//
16755 x
16756 s/\(=[   ]*\).*/\1/
16757 G
16758 s/\n//
16759 s/^[^=]*=[       ]*$//
16760 }'
16761 fi
16762
16763 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16764 fi # test -n "$CONFIG_FILES"
16765
16766 # Set up the scripts for CONFIG_HEADERS section.
16767 # No need to generate them if there are no CONFIG_HEADERS.
16768 # This happens for instance with `./config.status Makefile'.
16769 if test -n "$CONFIG_HEADERS"; then
16770 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16771 BEGIN {
16772 _ACEOF
16773
16774 # Transform confdefs.h into an awk script `defines.awk', embedded as
16775 # here-document in config.status, that substitutes the proper values into
16776 # config.h.in to produce config.h.
16777
16778 # Create a delimiter string that does not exist in confdefs.h, to ease
16779 # handling of long lines.
16780 ac_delim='%!_!# '
16781 for ac_last_try in false false :; do
16782   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16783   if test -z "$ac_tt"; then
16784     break
16785   elif $ac_last_try; then
16786     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16787   else
16788     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16789   fi
16790 done
16791
16792 # For the awk script, D is an array of macro values keyed by name,
16793 # likewise P contains macro parameters if any.  Preserve backslash
16794 # newline sequences.
16795
16796 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16797 sed -n '
16798 s/.\{148\}/&'"$ac_delim"'/g
16799 t rset
16800 :rset
16801 s/^[     ]*#[    ]*define[       ][      ]*/ /
16802 t def
16803 d
16804 :def
16805 s/\\$//
16806 t bsnl
16807 s/["\\]/\\&/g
16808 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16809 D["\1"]=" \3"/p
16810 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
16811 d
16812 :bsnl
16813 s/["\\]/\\&/g
16814 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16815 D["\1"]=" \3\\\\\\n"\\/p
16816 t cont
16817 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16818 t cont
16819 d
16820 :cont
16821 n
16822 s/.\{148\}/&'"$ac_delim"'/g
16823 t clear
16824 :clear
16825 s/\\$//
16826 t bsnlc
16827 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16828 d
16829 :bsnlc
16830 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16831 b cont
16832 ' <confdefs.h | sed '
16833 s/'"$ac_delim"'/"\\\
16834 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16835
16836 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16837   for (key in D) D_is_set[key] = 1
16838   FS = "\a"
16839 }
16840 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16841   line = \$ 0
16842   split(line, arg, " ")
16843   if (arg[1] == "#") {
16844     defundef = arg[2]
16845     mac1 = arg[3]
16846   } else {
16847     defundef = substr(arg[1], 2)
16848     mac1 = arg[2]
16849   }
16850   split(mac1, mac2, "(") #)
16851   macro = mac2[1]
16852   prefix = substr(line, 1, index(line, defundef) - 1)
16853   if (D_is_set[macro]) {
16854     # Preserve the white space surrounding the "#".
16855     print prefix "define", macro P[macro] D[macro]
16856     next
16857   } else {
16858     # Replace #undef with comments.  This is necessary, for example,
16859     # in the case of _POSIX_SOURCE, which is predefined and required
16860     # on some systems where configure will not decide to define it.
16861     if (defundef == "undef") {
16862       print "/*", prefix defundef, macro, "*/"
16863       next
16864     }
16865   }
16866 }
16867 { print }
16868 _ACAWK
16869 _ACEOF
16870 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16871   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16872 fi # test -n "$CONFIG_HEADERS"
16873
16874
16875 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
16876 shift
16877 for ac_tag
16878 do
16879   case $ac_tag in
16880   :[FHLC]) ac_mode=$ac_tag; continue;;
16881   esac
16882   case $ac_mode$ac_tag in
16883   :[FHL]*:*);;
16884   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16885   :[FH]-) ac_tag=-:-;;
16886   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16887   esac
16888   ac_save_IFS=$IFS
16889   IFS=:
16890   set x $ac_tag
16891   IFS=$ac_save_IFS
16892   shift
16893   ac_file=$1
16894   shift
16895
16896   case $ac_mode in
16897   :L) ac_source=$1;;
16898   :[FH])
16899     ac_file_inputs=
16900     for ac_f
16901     do
16902       case $ac_f in
16903       -) ac_f="$ac_tmp/stdin";;
16904       *) # Look for the file first in the build tree, then in the source tree
16905          # (if the path is not absolute).  The absolute path cannot be DOS-style,
16906          # because $ac_f cannot contain `:'.
16907          test -f "$ac_f" ||
16908            case $ac_f in
16909            [\\/$]*) false;;
16910            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16911            esac ||
16912            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16913       esac
16914       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16915       as_fn_append ac_file_inputs " '$ac_f'"
16916     done
16917
16918     # Let's still pretend it is `configure' which instantiates (i.e., don't
16919     # use $as_me), people would be surprised to read:
16920     #    /* config.h.  Generated by config.status.  */
16921     configure_input='Generated from '`
16922           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16923         `' by configure.'
16924     if test x"$ac_file" != x-; then
16925       configure_input="$ac_file.  $configure_input"
16926       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16927 $as_echo "$as_me: creating $ac_file" >&6;}
16928     fi
16929     # Neutralize special characters interpreted by sed in replacement strings.
16930     case $configure_input in #(
16931     *\&* | *\|* | *\\* )
16932        ac_sed_conf_input=`$as_echo "$configure_input" |
16933        sed 's/[\\\\&|]/\\\\&/g'`;; #(
16934     *) ac_sed_conf_input=$configure_input;;
16935     esac
16936
16937     case $ac_tag in
16938     *:-:* | *:-) cat >"$ac_tmp/stdin" \
16939       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16940     esac
16941     ;;
16942   esac
16943
16944   ac_dir=`$as_dirname -- "$ac_file" ||
16945 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16946          X"$ac_file" : 'X\(//\)[^/]' \| \
16947          X"$ac_file" : 'X\(//\)$' \| \
16948          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16949 $as_echo X"$ac_file" |
16950     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16951             s//\1/
16952             q
16953           }
16954           /^X\(\/\/\)[^/].*/{
16955             s//\1/
16956             q
16957           }
16958           /^X\(\/\/\)$/{
16959             s//\1/
16960             q
16961           }
16962           /^X\(\/\).*/{
16963             s//\1/
16964             q
16965           }
16966           s/.*/./; q'`
16967   as_dir="$ac_dir"; as_fn_mkdir_p
16968   ac_builddir=.
16969
16970 case "$ac_dir" in
16971 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16972 *)
16973   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16974   # A ".." for each directory in $ac_dir_suffix.
16975   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16976   case $ac_top_builddir_sub in
16977   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16978   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16979   esac ;;
16980 esac
16981 ac_abs_top_builddir=$ac_pwd
16982 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16983 # for backward compatibility:
16984 ac_top_builddir=$ac_top_build_prefix
16985
16986 case $srcdir in
16987   .)  # We are building in place.
16988     ac_srcdir=.
16989     ac_top_srcdir=$ac_top_builddir_sub
16990     ac_abs_top_srcdir=$ac_pwd ;;
16991   [\\/]* | ?:[\\/]* )  # Absolute name.
16992     ac_srcdir=$srcdir$ac_dir_suffix;
16993     ac_top_srcdir=$srcdir
16994     ac_abs_top_srcdir=$srcdir ;;
16995   *) # Relative name.
16996     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16997     ac_top_srcdir=$ac_top_build_prefix$srcdir
16998     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16999 esac
17000 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17001
17002
17003   case $ac_mode in
17004   :F)
17005   #
17006   # CONFIG_FILE
17007   #
17008
17009   case $INSTALL in
17010   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17011   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17012   esac
17013   ac_MKDIR_P=$MKDIR_P
17014   case $MKDIR_P in
17015   [\\/$]* | ?:[\\/]* ) ;;
17016   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17017   esac
17018 _ACEOF
17019
17020 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17021 # If the template does not know about datarootdir, expand it.
17022 # FIXME: This hack should be removed a few years after 2.60.
17023 ac_datarootdir_hack=; ac_datarootdir_seen=
17024 ac_sed_dataroot='
17025 /datarootdir/ {
17026   p
17027   q
17028 }
17029 /@datadir@/p
17030 /@docdir@/p
17031 /@infodir@/p
17032 /@localedir@/p
17033 /@mandir@/p'
17034 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17035 *datarootdir*) ac_datarootdir_seen=yes;;
17036 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17037   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17038 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17039 _ACEOF
17040 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17041   ac_datarootdir_hack='
17042   s&@datadir@&$datadir&g
17043   s&@docdir@&$docdir&g
17044   s&@infodir@&$infodir&g
17045   s&@localedir@&$localedir&g
17046   s&@mandir@&$mandir&g
17047   s&\\\${datarootdir}&$datarootdir&g' ;;
17048 esac
17049 _ACEOF
17050
17051 # Neutralize VPATH when `$srcdir' = `.'.
17052 # Shell code in configure.ac might set extrasub.
17053 # FIXME: do we really want to maintain this feature?
17054 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17055 ac_sed_extra="$ac_vpsub
17056 $extrasub
17057 _ACEOF
17058 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17059 :t
17060 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17061 s|@configure_input@|$ac_sed_conf_input|;t t
17062 s&@top_builddir@&$ac_top_builddir_sub&;t t
17063 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17064 s&@srcdir@&$ac_srcdir&;t t
17065 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17066 s&@top_srcdir@&$ac_top_srcdir&;t t
17067 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17068 s&@builddir@&$ac_builddir&;t t
17069 s&@abs_builddir@&$ac_abs_builddir&;t t
17070 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17071 s&@INSTALL@&$ac_INSTALL&;t t
17072 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17073 $ac_datarootdir_hack
17074 "
17075 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17076   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17077
17078 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17079   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17080   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
17081       "$ac_tmp/out"`; test -z "$ac_out"; } &&
17082   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17083 which seems to be undefined.  Please make sure it is defined" >&5
17084 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17085 which seems to be undefined.  Please make sure it is defined" >&2;}
17086
17087   rm -f "$ac_tmp/stdin"
17088   case $ac_file in
17089   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17090   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17091   esac \
17092   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17093  ;;
17094   :H)
17095   #
17096   # CONFIG_HEADER
17097   #
17098   if test x"$ac_file" != x-; then
17099     {
17100       $as_echo "/* $configure_input  */" \
17101       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17102     } >"$ac_tmp/config.h" \
17103       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17104     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17105       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17106 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17107     else
17108       rm -f "$ac_file"
17109       mv "$ac_tmp/config.h" "$ac_file" \
17110         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17111     fi
17112   else
17113     $as_echo "/* $configure_input  */" \
17114       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17115       || as_fn_error $? "could not create -" "$LINENO" 5
17116   fi
17117 # Compute "$ac_file"'s index in $config_headers.
17118 _am_arg="$ac_file"
17119 _am_stamp_count=1
17120 for _am_header in $config_headers :; do
17121   case $_am_header in
17122     $_am_arg | $_am_arg:* )
17123       break ;;
17124     * )
17125       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17126   esac
17127 done
17128 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17129 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17130          X"$_am_arg" : 'X\(//\)[^/]' \| \
17131          X"$_am_arg" : 'X\(//\)$' \| \
17132          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17133 $as_echo X"$_am_arg" |
17134     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17135             s//\1/
17136             q
17137           }
17138           /^X\(\/\/\)[^/].*/{
17139             s//\1/
17140             q
17141           }
17142           /^X\(\/\/\)$/{
17143             s//\1/
17144             q
17145           }
17146           /^X\(\/\).*/{
17147             s//\1/
17148             q
17149           }
17150           s/.*/./; q'`/stamp-h$_am_stamp_count
17151  ;;
17152
17153   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17154 $as_echo "$as_me: executing $ac_file commands" >&6;}
17155  ;;
17156   esac
17157
17158
17159   case $ac_file$ac_mode in
17160     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17161   # Older Autoconf quotes --file arguments for eval, but not when files
17162   # are listed without --file.  Let's play safe and only enable the eval
17163   # if we detect the quoting.
17164   case $CONFIG_FILES in
17165   *\'*) eval set x "$CONFIG_FILES" ;;
17166   *)   set x $CONFIG_FILES ;;
17167   esac
17168   shift
17169   for mf
17170   do
17171     # Strip MF so we end up with the name of the file.
17172     mf=`echo "$mf" | sed -e 's/:.*$//'`
17173     # Check whether this is an Automake generated Makefile or not.
17174     # We used to match only the files named 'Makefile.in', but
17175     # some people rename them; so instead we look at the file content.
17176     # Grep'ing the first line is not enough: some people post-process
17177     # each Makefile.in and add a new line on top of each file to say so.
17178     # Grep'ing the whole file is not good either: AIX grep has a line
17179     # limit of 2048, but all sed's we know have understand at least 4000.
17180     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17181       dirpart=`$as_dirname -- "$mf" ||
17182 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17183          X"$mf" : 'X\(//\)[^/]' \| \
17184          X"$mf" : 'X\(//\)$' \| \
17185          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17186 $as_echo X"$mf" |
17187     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17188             s//\1/
17189             q
17190           }
17191           /^X\(\/\/\)[^/].*/{
17192             s//\1/
17193             q
17194           }
17195           /^X\(\/\/\)$/{
17196             s//\1/
17197             q
17198           }
17199           /^X\(\/\).*/{
17200             s//\1/
17201             q
17202           }
17203           s/.*/./; q'`
17204     else
17205       continue
17206     fi
17207     # Extract the definition of DEPDIR, am__include, and am__quote
17208     # from the Makefile without running 'make'.
17209     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17210     test -z "$DEPDIR" && continue
17211     am__include=`sed -n 's/^am__include = //p' < "$mf"`
17212     test -z "$am__include" && continue
17213     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17214     # Find all dependency output files, they are included files with
17215     # $(DEPDIR) in their names.  We invoke sed twice because it is the
17216     # simplest approach to changing $(DEPDIR) to its actual value in the
17217     # expansion.
17218     for file in `sed -n "
17219       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17220          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17221       # Make sure the directory exists.
17222       test -f "$dirpart/$file" && continue
17223       fdir=`$as_dirname -- "$file" ||
17224 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17225          X"$file" : 'X\(//\)[^/]' \| \
17226          X"$file" : 'X\(//\)$' \| \
17227          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17228 $as_echo X"$file" |
17229     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17230             s//\1/
17231             q
17232           }
17233           /^X\(\/\/\)[^/].*/{
17234             s//\1/
17235             q
17236           }
17237           /^X\(\/\/\)$/{
17238             s//\1/
17239             q
17240           }
17241           /^X\(\/\).*/{
17242             s//\1/
17243             q
17244           }
17245           s/.*/./; q'`
17246       as_dir=$dirpart/$fdir; as_fn_mkdir_p
17247       # echo "creating $dirpart/$file"
17248       echo '# dummy' > "$dirpart/$file"
17249     done
17250   done
17251 }
17252  ;;
17253     "libtool":C)
17254
17255     # See if we are running on zsh, and set the options which allow our
17256     # commands through without removal of \ escapes.
17257     if test -n "${ZSH_VERSION+set}" ; then
17258       setopt NO_GLOB_SUBST
17259     fi
17260
17261     cfgfile="${ofile}T"
17262     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17263     $RM "$cfgfile"
17264
17265     cat <<_LT_EOF >> "$cfgfile"
17266 #! $SHELL
17267
17268 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17269 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17270 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17271 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17272 #
17273 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17274 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17275 #                 Foundation, Inc.
17276 #   Written by Gordon Matzigkeit, 1996
17277 #
17278 #   This file is part of GNU Libtool.
17279 #
17280 # GNU Libtool is free software; you can redistribute it and/or
17281 # modify it under the terms of the GNU General Public License as
17282 # published by the Free Software Foundation; either version 2 of
17283 # the License, or (at your option) any later version.
17284 #
17285 # As a special exception to the GNU General Public License,
17286 # if you distribute this file as part of a program or library that
17287 # is built using GNU Libtool, you may include this file under the
17288 # same distribution terms that you use for the rest of that program.
17289 #
17290 # GNU Libtool is distributed in the hope that it will be useful,
17291 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17292 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17293 # GNU General Public License for more details.
17294 #
17295 # You should have received a copy of the GNU General Public License
17296 # along with GNU Libtool; see the file COPYING.  If not, a copy
17297 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17298 # obtained by writing to the Free Software Foundation, Inc.,
17299 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17300
17301
17302 # The names of the tagged configurations supported by this script.
17303 available_tags=""
17304
17305 # ### BEGIN LIBTOOL CONFIG
17306
17307 # Which release of libtool.m4 was used?
17308 macro_version=$macro_version
17309 macro_revision=$macro_revision
17310
17311 # Whether or not to build static libraries.
17312 build_old_libs=$enable_static
17313
17314 # Whether or not to build shared libraries.
17315 build_libtool_libs=$enable_shared
17316
17317 # What type of objects to build.
17318 pic_mode=$pic_mode
17319
17320 # Whether or not to optimize for fast installation.
17321 fast_install=$enable_fast_install
17322
17323 # Shell to use when invoking shell scripts.
17324 SHELL=$lt_SHELL
17325
17326 # An echo program that protects backslashes.
17327 ECHO=$lt_ECHO
17328
17329 # The PATH separator for the build system.
17330 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17331
17332 # The host system.
17333 host_alias=$host_alias
17334 host=$host
17335 host_os=$host_os
17336
17337 # The build system.
17338 build_alias=$build_alias
17339 build=$build
17340 build_os=$build_os
17341
17342 # A sed program that does not truncate output.
17343 SED=$lt_SED
17344
17345 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17346 Xsed="\$SED -e 1s/^X//"
17347
17348 # A grep program that handles long lines.
17349 GREP=$lt_GREP
17350
17351 # An ERE matcher.
17352 EGREP=$lt_EGREP
17353
17354 # A literal string matcher.
17355 FGREP=$lt_FGREP
17356
17357 # A BSD- or MS-compatible name lister.
17358 NM=$lt_NM
17359
17360 # Whether we need soft or hard links.
17361 LN_S=$lt_LN_S
17362
17363 # What is the maximum length of a command?
17364 max_cmd_len=$max_cmd_len
17365
17366 # Object file suffix (normally "o").
17367 objext=$ac_objext
17368
17369 # Executable file suffix (normally "").
17370 exeext=$exeext
17371
17372 # whether the shell understands "unset".
17373 lt_unset=$lt_unset
17374
17375 # turn spaces into newlines.
17376 SP2NL=$lt_lt_SP2NL
17377
17378 # turn newlines into spaces.
17379 NL2SP=$lt_lt_NL2SP
17380
17381 # convert \$build file names to \$host format.
17382 to_host_file_cmd=$lt_cv_to_host_file_cmd
17383
17384 # convert \$build files to toolchain format.
17385 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17386
17387 # An object symbol dumper.
17388 OBJDUMP=$lt_OBJDUMP
17389
17390 # Method to check whether dependent libraries are shared objects.
17391 deplibs_check_method=$lt_deplibs_check_method
17392
17393 # Command to use when deplibs_check_method = "file_magic".
17394 file_magic_cmd=$lt_file_magic_cmd
17395
17396 # How to find potential files when deplibs_check_method = "file_magic".
17397 file_magic_glob=$lt_file_magic_glob
17398
17399 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17400 want_nocaseglob=$lt_want_nocaseglob
17401
17402 # DLL creation program.
17403 DLLTOOL=$lt_DLLTOOL
17404
17405 # Command to associate shared and link libraries.
17406 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17407
17408 # The archiver.
17409 AR=$lt_AR
17410
17411 # Flags to create an archive.
17412 AR_FLAGS=$lt_AR_FLAGS
17413
17414 # How to feed a file listing to the archiver.
17415 archiver_list_spec=$lt_archiver_list_spec
17416
17417 # A symbol stripping program.
17418 STRIP=$lt_STRIP
17419
17420 # Commands used to install an old-style archive.
17421 RANLIB=$lt_RANLIB
17422 old_postinstall_cmds=$lt_old_postinstall_cmds
17423 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17424
17425 # Whether to use a lock for old archive extraction.
17426 lock_old_archive_extraction=$lock_old_archive_extraction
17427
17428 # A C compiler.
17429 LTCC=$lt_CC
17430
17431 # LTCC compiler flags.
17432 LTCFLAGS=$lt_CFLAGS
17433
17434 # Take the output of nm and produce a listing of raw symbols and C names.
17435 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17436
17437 # Transform the output of nm in a proper C declaration.
17438 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17439
17440 # Transform the output of nm in a C name address pair.
17441 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17442
17443 # Transform the output of nm in a C name address pair when lib prefix is needed.
17444 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17445
17446 # Specify filename containing input files for \$NM.
17447 nm_file_list_spec=$lt_nm_file_list_spec
17448
17449 # The root where to search for dependent libraries,and in which our libraries should be installed.
17450 lt_sysroot=$lt_sysroot
17451
17452 # The name of the directory that contains temporary libtool files.
17453 objdir=$objdir
17454
17455 # Used to examine libraries when file_magic_cmd begins with "file".
17456 MAGIC_CMD=$MAGIC_CMD
17457
17458 # Must we lock files when doing compilation?
17459 need_locks=$lt_need_locks
17460
17461 # Manifest tool.
17462 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17463
17464 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17465 DSYMUTIL=$lt_DSYMUTIL
17466
17467 # Tool to change global to local symbols on Mac OS X.
17468 NMEDIT=$lt_NMEDIT
17469
17470 # Tool to manipulate fat objects and archives on Mac OS X.
17471 LIPO=$lt_LIPO
17472
17473 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17474 OTOOL=$lt_OTOOL
17475
17476 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17477 OTOOL64=$lt_OTOOL64
17478
17479 # Old archive suffix (normally "a").
17480 libext=$libext
17481
17482 # Shared library suffix (normally ".so").
17483 shrext_cmds=$lt_shrext_cmds
17484
17485 # The commands to extract the exported symbol list from a shared archive.
17486 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17487
17488 # Variables whose values should be saved in libtool wrapper scripts and
17489 # restored at link time.
17490 variables_saved_for_relink=$lt_variables_saved_for_relink
17491
17492 # Do we need the "lib" prefix for modules?
17493 need_lib_prefix=$need_lib_prefix
17494
17495 # Do we need a version for libraries?
17496 need_version=$need_version
17497
17498 # Library versioning type.
17499 version_type=$version_type
17500
17501 # Shared library runtime path variable.
17502 runpath_var=$runpath_var
17503
17504 # Shared library path variable.
17505 shlibpath_var=$shlibpath_var
17506
17507 # Is shlibpath searched before the hard-coded library search path?
17508 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17509
17510 # Format of library name prefix.
17511 libname_spec=$lt_libname_spec
17512
17513 # List of archive names.  First name is the real one, the rest are links.
17514 # The last name is the one that the linker finds with -lNAME
17515 library_names_spec=$lt_library_names_spec
17516
17517 # The coded name of the library, if different from the real name.
17518 soname_spec=$lt_soname_spec
17519
17520 # Permission mode override for installation of shared libraries.
17521 install_override_mode=$lt_install_override_mode
17522
17523 # Command to use after installation of a shared archive.
17524 postinstall_cmds=$lt_postinstall_cmds
17525
17526 # Command to use after uninstallation of a shared archive.
17527 postuninstall_cmds=$lt_postuninstall_cmds
17528
17529 # Commands used to finish a libtool library installation in a directory.
17530 finish_cmds=$lt_finish_cmds
17531
17532 # As "finish_cmds", except a single script fragment to be evaled but
17533 # not shown.
17534 finish_eval=$lt_finish_eval
17535
17536 # Whether we should hardcode library paths into libraries.
17537 hardcode_into_libs=$hardcode_into_libs
17538
17539 # Compile-time system search path for libraries.
17540 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17541
17542 # Run-time system search path for libraries.
17543 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17544
17545 # Whether dlopen is supported.
17546 dlopen_support=$enable_dlopen
17547
17548 # Whether dlopen of programs is supported.
17549 dlopen_self=$enable_dlopen_self
17550
17551 # Whether dlopen of statically linked programs is supported.
17552 dlopen_self_static=$enable_dlopen_self_static
17553
17554 # Commands to strip libraries.
17555 old_striplib=$lt_old_striplib
17556 striplib=$lt_striplib
17557
17558
17559 # The linker used to build libraries.
17560 LD=$lt_LD
17561
17562 # How to create reloadable object files.
17563 reload_flag=$lt_reload_flag
17564 reload_cmds=$lt_reload_cmds
17565
17566 # Commands used to build an old-style archive.
17567 old_archive_cmds=$lt_old_archive_cmds
17568
17569 # A language specific compiler.
17570 CC=$lt_compiler
17571
17572 # Is the compiler the GNU compiler?
17573 with_gcc=$GCC
17574
17575 # Compiler flag to turn off builtin functions.
17576 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17577
17578 # Additional compiler flags for building library objects.
17579 pic_flag=$lt_lt_prog_compiler_pic
17580
17581 # How to pass a linker flag through the compiler.
17582 wl=$lt_lt_prog_compiler_wl
17583
17584 # Compiler flag to prevent dynamic linking.
17585 link_static_flag=$lt_lt_prog_compiler_static
17586
17587 # Does compiler simultaneously support -c and -o options?
17588 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17589
17590 # Whether or not to add -lc for building shared libraries.
17591 build_libtool_need_lc=$archive_cmds_need_lc
17592
17593 # Whether or not to disallow shared libs when runtime libs are static.
17594 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17595
17596 # Compiler flag to allow reflexive dlopens.
17597 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17598
17599 # Compiler flag to generate shared objects directly from archives.
17600 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17601
17602 # Whether the compiler copes with passing no objects directly.
17603 compiler_needs_object=$lt_compiler_needs_object
17604
17605 # Create an old-style archive from a shared archive.
17606 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17607
17608 # Create a temporary old-style archive to link instead of a shared archive.
17609 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17610
17611 # Commands used to build a shared archive.
17612 archive_cmds=$lt_archive_cmds
17613 archive_expsym_cmds=$lt_archive_expsym_cmds
17614
17615 # Commands used to build a loadable module if different from building
17616 # a shared archive.
17617 module_cmds=$lt_module_cmds
17618 module_expsym_cmds=$lt_module_expsym_cmds
17619
17620 # Whether we are building with GNU ld or not.
17621 with_gnu_ld=$lt_with_gnu_ld
17622
17623 # Flag that allows shared libraries with undefined symbols to be built.
17624 allow_undefined_flag=$lt_allow_undefined_flag
17625
17626 # Flag that enforces no undefined symbols.
17627 no_undefined_flag=$lt_no_undefined_flag
17628
17629 # Flag to hardcode \$libdir into a binary during linking.
17630 # This must work even if \$libdir does not exist
17631 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17632
17633 # Whether we need a single "-rpath" flag with a separated argument.
17634 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17635
17636 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17637 # DIR into the resulting binary.
17638 hardcode_direct=$hardcode_direct
17639
17640 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17641 # DIR into the resulting binary and the resulting library dependency is
17642 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17643 # library is relocated.
17644 hardcode_direct_absolute=$hardcode_direct_absolute
17645
17646 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17647 # into the resulting binary.
17648 hardcode_minus_L=$hardcode_minus_L
17649
17650 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17651 # into the resulting binary.
17652 hardcode_shlibpath_var=$hardcode_shlibpath_var
17653
17654 # Set to "yes" if building a shared library automatically hardcodes DIR
17655 # into the library and all subsequent libraries and executables linked
17656 # against it.
17657 hardcode_automatic=$hardcode_automatic
17658
17659 # Set to yes if linker adds runtime paths of dependent libraries
17660 # to runtime path list.
17661 inherit_rpath=$inherit_rpath
17662
17663 # Whether libtool must link a program against all its dependency libraries.
17664 link_all_deplibs=$link_all_deplibs
17665
17666 # Set to "yes" if exported symbols are required.
17667 always_export_symbols=$always_export_symbols
17668
17669 # The commands to list exported symbols.
17670 export_symbols_cmds=$lt_export_symbols_cmds
17671
17672 # Symbols that should not be listed in the preloaded symbols.
17673 exclude_expsyms=$lt_exclude_expsyms
17674
17675 # Symbols that must always be exported.
17676 include_expsyms=$lt_include_expsyms
17677
17678 # Commands necessary for linking programs (against libraries) with templates.
17679 prelink_cmds=$lt_prelink_cmds
17680
17681 # Commands necessary for finishing linking programs.
17682 postlink_cmds=$lt_postlink_cmds
17683
17684 # Specify filename containing input files.
17685 file_list_spec=$lt_file_list_spec
17686
17687 # How to hardcode a shared library path into an executable.
17688 hardcode_action=$hardcode_action
17689
17690 # ### END LIBTOOL CONFIG
17691
17692 _LT_EOF
17693
17694   case $host_os in
17695   aix3*)
17696     cat <<\_LT_EOF >> "$cfgfile"
17697 # AIX sometimes has problems with the GCC collect2 program.  For some
17698 # reason, if we set the COLLECT_NAMES environment variable, the problems
17699 # vanish in a puff of smoke.
17700 if test "X${COLLECT_NAMES+set}" != Xset; then
17701   COLLECT_NAMES=
17702   export COLLECT_NAMES
17703 fi
17704 _LT_EOF
17705     ;;
17706   esac
17707
17708
17709 ltmain="$ac_aux_dir/ltmain.sh"
17710
17711
17712   # We use sed instead of cat because bash on DJGPP gets confused if
17713   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17714   # text mode, it properly converts lines to CR/LF.  This bash problem
17715   # is reportedly fixed, but why not run on old versions too?
17716   sed '$q' "$ltmain" >> "$cfgfile" \
17717      || (rm -f "$cfgfile"; exit 1)
17718
17719   if test x"$xsi_shell" = xyes; then
17720   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17721 func_dirname ()\
17722 {\
17723 \    case ${1} in\
17724 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17725 \      *  ) func_dirname_result="${3}" ;;\
17726 \    esac\
17727 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17728   && mv -f "$cfgfile.tmp" "$cfgfile" \
17729     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17730 test 0 -eq $? || _lt_function_replace_fail=:
17731
17732
17733   sed -e '/^func_basename ()$/,/^} # func_basename /c\
17734 func_basename ()\
17735 {\
17736 \    func_basename_result="${1##*/}"\
17737 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17738   && mv -f "$cfgfile.tmp" "$cfgfile" \
17739     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17740 test 0 -eq $? || _lt_function_replace_fail=:
17741
17742
17743   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17744 func_dirname_and_basename ()\
17745 {\
17746 \    case ${1} in\
17747 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17748 \      *  ) func_dirname_result="${3}" ;;\
17749 \    esac\
17750 \    func_basename_result="${1##*/}"\
17751 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17752   && mv -f "$cfgfile.tmp" "$cfgfile" \
17753     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17754 test 0 -eq $? || _lt_function_replace_fail=:
17755
17756
17757   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17758 func_stripname ()\
17759 {\
17760 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17761 \    # positional parameters, so assign one to ordinary parameter first.\
17762 \    func_stripname_result=${3}\
17763 \    func_stripname_result=${func_stripname_result#"${1}"}\
17764 \    func_stripname_result=${func_stripname_result%"${2}"}\
17765 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17766   && mv -f "$cfgfile.tmp" "$cfgfile" \
17767     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17768 test 0 -eq $? || _lt_function_replace_fail=:
17769
17770
17771   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17772 func_split_long_opt ()\
17773 {\
17774 \    func_split_long_opt_name=${1%%=*}\
17775 \    func_split_long_opt_arg=${1#*=}\
17776 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17777   && mv -f "$cfgfile.tmp" "$cfgfile" \
17778     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17779 test 0 -eq $? || _lt_function_replace_fail=:
17780
17781
17782   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17783 func_split_short_opt ()\
17784 {\
17785 \    func_split_short_opt_arg=${1#??}\
17786 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17787 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17788   && mv -f "$cfgfile.tmp" "$cfgfile" \
17789     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17790 test 0 -eq $? || _lt_function_replace_fail=:
17791
17792
17793   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17794 func_lo2o ()\
17795 {\
17796 \    case ${1} in\
17797 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17798 \      *)    func_lo2o_result=${1} ;;\
17799 \    esac\
17800 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17801   && mv -f "$cfgfile.tmp" "$cfgfile" \
17802     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17803 test 0 -eq $? || _lt_function_replace_fail=:
17804
17805
17806   sed -e '/^func_xform ()$/,/^} # func_xform /c\
17807 func_xform ()\
17808 {\
17809     func_xform_result=${1%.*}.lo\
17810 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17811   && mv -f "$cfgfile.tmp" "$cfgfile" \
17812     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17813 test 0 -eq $? || _lt_function_replace_fail=:
17814
17815
17816   sed -e '/^func_arith ()$/,/^} # func_arith /c\
17817 func_arith ()\
17818 {\
17819     func_arith_result=$(( $* ))\
17820 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17821   && mv -f "$cfgfile.tmp" "$cfgfile" \
17822     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17823 test 0 -eq $? || _lt_function_replace_fail=:
17824
17825
17826   sed -e '/^func_len ()$/,/^} # func_len /c\
17827 func_len ()\
17828 {\
17829     func_len_result=${#1}\
17830 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17831   && mv -f "$cfgfile.tmp" "$cfgfile" \
17832     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17833 test 0 -eq $? || _lt_function_replace_fail=:
17834
17835 fi
17836
17837 if test x"$lt_shell_append" = xyes; then
17838   sed -e '/^func_append ()$/,/^} # func_append /c\
17839 func_append ()\
17840 {\
17841     eval "${1}+=\\${2}"\
17842 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17843   && mv -f "$cfgfile.tmp" "$cfgfile" \
17844     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17845 test 0 -eq $? || _lt_function_replace_fail=:
17846
17847
17848   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17849 func_append_quoted ()\
17850 {\
17851 \    func_quote_for_eval "${2}"\
17852 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17853 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17854   && mv -f "$cfgfile.tmp" "$cfgfile" \
17855     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17856 test 0 -eq $? || _lt_function_replace_fail=:
17857
17858
17859   # Save a `func_append' function call where possible by direct use of '+='
17860   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17861     && mv -f "$cfgfile.tmp" "$cfgfile" \
17862       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17863   test 0 -eq $? || _lt_function_replace_fail=:
17864 else
17865   # Save a `func_append' function call even when '+=' is not available
17866   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17867     && mv -f "$cfgfile.tmp" "$cfgfile" \
17868       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17869   test 0 -eq $? || _lt_function_replace_fail=:
17870 fi
17871
17872 if test x"$_lt_function_replace_fail" = x":"; then
17873   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17874 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17875 fi
17876
17877
17878    mv -f "$cfgfile" "$ofile" ||
17879     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17880   chmod +x "$ofile"
17881
17882  ;;
17883
17884   esac
17885 done # for ac_tag
17886
17887
17888 as_fn_exit 0
17889 _ACEOF
17890 ac_clean_files=$ac_clean_files_save
17891
17892 test $ac_write_fail = 0 ||
17893   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17894
17895
17896 # configure is writing to config.log, and then calls config.status.
17897 # config.status does its own redirection, appending to config.log.
17898 # Unfortunately, on DOS this fails, as config.log is still kept open
17899 # by configure, so config.status won't be able to write to it; its
17900 # output is simply discarded.  So we exec the FD to /dev/null,
17901 # effectively closing config.log, so it can be properly (re)opened and
17902 # appended to by config.status.  When coming back to configure, we
17903 # need to make the FD available again.
17904 if test "$no_create" != yes; then
17905   ac_cs_success=:
17906   ac_config_status_args=
17907   test "$silent" = yes &&
17908     ac_config_status_args="$ac_config_status_args --quiet"
17909   exec 5>/dev/null
17910   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17911   exec 5>>config.log
17912   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17913   # would make configure fail if this is the last instruction.
17914   $ac_cs_success || as_fn_exit 1
17915 fi
17916 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17917   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17918 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17919 fi
17920
17921 fi