packaging: depend on the same release
[platform/upstream/vala.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for vala 0.26.1.
4 #
5 # Report bugs to <j@bitron.ch>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20   emulate sh
21   NULLCMD=:
22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23   # is contrary to our usage.  Disable this feature.
24   alias -g '${1+"$@"}'='"$@"'
25   setopt NO_GLOB_SUBST
26 else
27   case `(set -o) 2>/dev/null` in #(
28   *posix*) :
29     set -o posix ;; #(
30   *) :
31      ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47   as_echo='print -r --'
48   as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in #(
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order.  Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" ""        $as_nl"
90
91 # Find who we are.  Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94   *[\\/]* ) as_myself=$0 ;;
95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98   IFS=$as_save_IFS
99   test -z "$as_dir" && as_dir=.
100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101   done
102 IFS=$as_save_IFS
103
104      ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109   as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113   exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there.  '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 # Use a proper internal environment variable to ensure we don't fall
138   # into an infinite loop, continuously re-executing ourselves.
139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140     _as_can_reexec=no; export _as_can_reexec;
141     # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149   *v*x* | *x*v* ) as_opts=-vx ;;
150   *v* ) as_opts=-v ;;
151   *x* ) as_opts=-x ;;
152   * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159   fi
160   # We don't want this to propagate to other subprocesses.
161           { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164   emulate sh
165   NULLCMD=:
166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167   # is contrary to our usage.  Disable this feature.
168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
169   setopt NO_GLOB_SUBST
170 else
171   case \`(set -o) 2>/dev/null\` in #(
172   *posix*) :
173     set -o posix ;; #(
174   *) :
175      ;;
176 esac
177 fi
178 "
179   as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193   exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
202   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206     PATH=/empty FPATH=/empty; export PATH FPATH
207     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210   if (eval "$as_required") 2>/dev/null; then :
211   as_have_required=yes
212 else
213   as_have_required=no
214 fi
215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217 else
218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219 as_found=false
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 do
222   IFS=$as_save_IFS
223   test -z "$as_dir" && as_dir=.
224   as_found=:
225   case $as_dir in #(
226          /*)
227            for as_base in sh bash ksh sh5; do
228              # Try only shells that exist, to save several forks.
229              as_shell=$as_dir/$as_base
230              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232   CONFIG_SHELL=$as_shell as_have_required=yes
233                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234   break 2
235 fi
236 fi
237            done;;
238        esac
239   as_found=false
240 done
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243   CONFIG_SHELL=$SHELL as_have_required=yes
244 fi; }
245 IFS=$as_save_IFS
246
247
248       if test "x$CONFIG_SHELL" != x; then :
249   export CONFIG_SHELL
250              # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
254 BASH_ENV=/dev/null
255 ENV=/dev/null
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257 case $- in # ((((
258   *v*x* | *x*v* ) as_opts=-vx ;;
259   *v* ) as_opts=-v ;;
260   *x* ) as_opts=-x ;;
261   * ) as_opts= ;;
262 esac
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267 exit 255
268 fi
269
270     if test x$as_have_required = xno; then :
271   $as_echo "$0: This script requires a shell more modern than all"
272   $as_echo "$0: the shells that I found on your system."
273   if test x${ZSH_VERSION+set} = xset ; then
274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276   else
277     $as_echo "$0: Please tell bug-autoconf@gnu.org and j@bitron.ch about
278 $0: your system, including any error possibly output before
279 $0: this message. Then install a modern shell, or manually
280 $0: run the script under such a shell if you do have one."
281   fi
282   exit 1
283 fi
284 fi
285 fi
286 SHELL=${CONFIG_SHELL-/bin/sh}
287 export SHELL
288 # Unset more variables known to interfere with behavior of common tools.
289 CLICOLOR_FORCE= GREP_OPTIONS=
290 unset CLICOLOR_FORCE GREP_OPTIONS
291
292 ## --------------------- ##
293 ## M4sh Shell Functions. ##
294 ## --------------------- ##
295 # as_fn_unset VAR
296 # ---------------
297 # Portably unset VAR.
298 as_fn_unset ()
299 {
300   { eval $1=; unset $1;}
301 }
302 as_unset=as_fn_unset
303
304 # as_fn_set_status STATUS
305 # -----------------------
306 # Set $? to STATUS, without forking.
307 as_fn_set_status ()
308 {
309   return $1
310 } # as_fn_set_status
311
312 # as_fn_exit STATUS
313 # -----------------
314 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
315 as_fn_exit ()
316 {
317   set +e
318   as_fn_set_status $1
319   exit $1
320 } # as_fn_exit
321
322 # as_fn_mkdir_p
323 # -------------
324 # Create "$as_dir" as a directory, including parents if necessary.
325 as_fn_mkdir_p ()
326 {
327
328   case $as_dir in #(
329   -*) as_dir=./$as_dir;;
330   esac
331   test -d "$as_dir" || eval $as_mkdir_p || {
332     as_dirs=
333     while :; do
334       case $as_dir in #(
335       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336       *) as_qdir=$as_dir;;
337       esac
338       as_dirs="'$as_qdir' $as_dirs"
339       as_dir=`$as_dirname -- "$as_dir" ||
340 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
341          X"$as_dir" : 'X\(//\)[^/]' \| \
342          X"$as_dir" : 'X\(//\)$' \| \
343          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
344 $as_echo X"$as_dir" |
345     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
346             s//\1/
347             q
348           }
349           /^X\(\/\/\)[^/].*/{
350             s//\1/
351             q
352           }
353           /^X\(\/\/\)$/{
354             s//\1/
355             q
356           }
357           /^X\(\/\).*/{
358             s//\1/
359             q
360           }
361           s/.*/./; q'`
362       test -d "$as_dir" && break
363     done
364     test -z "$as_dirs" || eval "mkdir $as_dirs"
365   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
366
367
368 } # as_fn_mkdir_p
369
370 # as_fn_executable_p FILE
371 # -----------------------
372 # Test if FILE is an executable regular file.
373 as_fn_executable_p ()
374 {
375   test -f "$1" && test -x "$1"
376 } # as_fn_executable_p
377 # as_fn_append VAR VALUE
378 # ----------------------
379 # Append the text in VALUE to the end of the definition contained in VAR. Take
380 # advantage of any shell optimizations that allow amortized linear growth over
381 # repeated appends, instead of the typical quadratic growth present in naive
382 # implementations.
383 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
384   eval 'as_fn_append ()
385   {
386     eval $1+=\$2
387   }'
388 else
389   as_fn_append ()
390   {
391     eval $1=\$$1\$2
392   }
393 fi # as_fn_append
394
395 # as_fn_arith ARG...
396 # ------------------
397 # Perform arithmetic evaluation on the ARGs, and store the result in the
398 # global $as_val. Take advantage of shells that can avoid forks. The arguments
399 # must be portable across $(()) and expr.
400 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
401   eval 'as_fn_arith ()
402   {
403     as_val=$(( $* ))
404   }'
405 else
406   as_fn_arith ()
407   {
408     as_val=`expr "$@" || test $? -eq 1`
409   }
410 fi # as_fn_arith
411
412
413 # as_fn_error STATUS ERROR [LINENO LOG_FD]
414 # ----------------------------------------
415 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
416 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
417 # script with STATUS, using 1 if that was 0.
418 as_fn_error ()
419 {
420   as_status=$1; test $as_status -eq 0 && as_status=1
421   if test "$4"; then
422     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
423     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
424   fi
425   $as_echo "$as_me: error: $2" >&2
426   as_fn_exit $as_status
427 } # as_fn_error
428
429 if expr a : '\(a\)' >/dev/null 2>&1 &&
430    test "X`expr 00001 : '.*\(...\)'`" = X001; then
431   as_expr=expr
432 else
433   as_expr=false
434 fi
435
436 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
437   as_basename=basename
438 else
439   as_basename=false
440 fi
441
442 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
443   as_dirname=dirname
444 else
445   as_dirname=false
446 fi
447
448 as_me=`$as_basename -- "$0" ||
449 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
450          X"$0" : 'X\(//\)$' \| \
451          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
452 $as_echo X/"$0" |
453     sed '/^.*\/\([^/][^/]*\)\/*$/{
454             s//\1/
455             q
456           }
457           /^X\/\(\/\/\)$/{
458             s//\1/
459             q
460           }
461           /^X\/\(\/\).*/{
462             s//\1/
463             q
464           }
465           s/.*/./; q'`
466
467 # Avoid depending upon Character Ranges.
468 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
469 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
470 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
471 as_cr_digits='0123456789'
472 as_cr_alnum=$as_cr_Letters$as_cr_digits
473
474
475   as_lineno_1=$LINENO as_lineno_1a=$LINENO
476   as_lineno_2=$LINENO as_lineno_2a=$LINENO
477   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
478   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
479   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
480   sed -n '
481     p
482     /[$]LINENO/=
483   ' <$as_myself |
484     sed '
485       s/[$]LINENO.*/&-/
486       t lineno
487       b
488       :lineno
489       N
490       :loop
491       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
492       t loop
493       s/-\n.*//
494     ' >$as_me.lineno &&
495   chmod +x "$as_me.lineno" ||
496     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
497
498   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
499   # already done that, so ensure we don't try to do so again and fall
500   # in an infinite loop.  This has already happened in practice.
501   _as_can_reexec=no; export _as_can_reexec
502   # Don't try to exec as it changes $[0], causing all sort of problems
503   # (the dirname of $[0] is not the place where we might find the
504   # original and so on.  Autoconf is especially sensitive to this).
505   . "./$as_me.lineno"
506   # Exit status is that of the last command.
507   exit
508 }
509
510 ECHO_C= ECHO_N= ECHO_T=
511 case `echo -n x` in #(((((
512 -n*)
513   case `echo 'xy\c'` in
514   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
515   xy)  ECHO_C='\c';;
516   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
517        ECHO_T=' ';;
518   esac;;
519 *)
520   ECHO_N='-n';;
521 esac
522
523 rm -f conf$$ conf$$.exe conf$$.file
524 if test -d conf$$.dir; then
525   rm -f conf$$.dir/conf$$.file
526 else
527   rm -f conf$$.dir
528   mkdir conf$$.dir 2>/dev/null
529 fi
530 if (echo >conf$$.file) 2>/dev/null; then
531   if ln -s conf$$.file conf$$ 2>/dev/null; then
532     as_ln_s='ln -s'
533     # ... but there are two gotchas:
534     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
535     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
536     # In both cases, we have to default to `cp -pR'.
537     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
538       as_ln_s='cp -pR'
539   elif ln conf$$.file conf$$ 2>/dev/null; then
540     as_ln_s=ln
541   else
542     as_ln_s='cp -pR'
543   fi
544 else
545   as_ln_s='cp -pR'
546 fi
547 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
548 rmdir conf$$.dir 2>/dev/null
549
550 if mkdir -p . 2>/dev/null; then
551   as_mkdir_p='mkdir -p "$as_dir"'
552 else
553   test -d ./-p && rmdir ./-p
554   as_mkdir_p=false
555 fi
556
557 as_test_x='test -x'
558 as_executable_p=as_fn_executable_p
559
560 # Sed expression to map a string onto a valid CPP name.
561 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
562
563 # Sed expression to map a string onto a valid variable name.
564 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
565
566 SHELL=${CONFIG_SHELL-/bin/sh}
567
568
569 test -n "$DJDIR" || exec 7<&0 </dev/null
570 exec 6>&1
571
572 # Name of the host.
573 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
574 # so uname gets run too.
575 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
576
577 #
578 # Initializations.
579 #
580 ac_default_prefix=/usr/local
581 ac_clean_files=
582 ac_config_libobj_dir=.
583 LIBOBJS=
584 cross_compiling=no
585 subdirs=
586 MFLAGS=
587 MAKEFLAGS=
588
589 # Identity of this package.
590 PACKAGE_NAME='vala'
591 PACKAGE_TARNAME='vala'
592 PACKAGE_VERSION='0.26.1'
593 PACKAGE_STRING='vala 0.26.1'
594 PACKAGE_BUGREPORT='j@bitron.ch'
595 PACKAGE_URL=''
596
597 ac_unique_file="Makefile.am"
598 # Factoring default headers for most tests.
599 ac_includes_default="\
600 #include <stdio.h>
601 #ifdef HAVE_SYS_TYPES_H
602 # include <sys/types.h>
603 #endif
604 #ifdef HAVE_SYS_STAT_H
605 # include <sys/stat.h>
606 #endif
607 #ifdef STDC_HEADERS
608 # include <stdlib.h>
609 # include <stddef.h>
610 #else
611 # ifdef HAVE_STDLIB_H
612 #  include <stdlib.h>
613 # endif
614 #endif
615 #ifdef HAVE_STRING_H
616 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
617 #  include <memory.h>
618 # endif
619 # include <string.h>
620 #endif
621 #ifdef HAVE_STRINGS_H
622 # include <strings.h>
623 #endif
624 #ifdef HAVE_INTTYPES_H
625 # include <inttypes.h>
626 #endif
627 #ifdef HAVE_STDINT_H
628 # include <stdint.h>
629 #endif
630 #ifdef HAVE_UNISTD_H
631 # include <unistd.h>
632 #endif"
633
634 ac_subst_vars='am__EXEEXT_FALSE
635 am__EXEEXT_TRUE
636 LTLIBOBJS
637 LIBOBJS
638 HAVE_XSLTPROC_FALSE
639 HAVE_XSLTPROC_TRUE
640 XSLTPROC
641 GTHREAD_LIBS
642 GTHREAD_CFLAGS
643 GMODULE_LIBS
644 GMODULE_CFLAGS
645 GLIB_LIBS
646 GLIB_CFLAGS
647 PKG_CONFIG_LIBDIR
648 PKG_CONFIG_PATH
649 PKG_CONFIG
650 COVERAGE_LIBS
651 COVERAGE_CFLAGS
652 COVERAGE_VALAFLAGS
653 ENABLE_COVERAGE_FALSE
654 ENABLE_COVERAGE_TRUE
655 ENABLE_UNVERSIONED_FALSE
656 ENABLE_UNVERSIONED_TRUE
657 VALAFLAGS
658 VALAC
659 YACC
660 LEXLIB
661 LEX_OUTPUT_ROOT
662 LEX
663 CPP
664 OTOOL64
665 OTOOL
666 LIPO
667 NMEDIT
668 DSYMUTIL
669 MANIFEST_TOOL
670 RANLIB
671 ac_ct_AR
672 AR
673 DLLTOOL
674 OBJDUMP
675 LN_S
676 NM
677 ac_ct_DUMPBIN
678 DUMPBIN
679 LD
680 FGREP
681 EGREP
682 GREP
683 SED
684 host_os
685 host_vendor
686 host_cpu
687 host
688 build_os
689 build_vendor
690 build_cpu
691 build
692 LIBTOOL
693 am__fastdepCC_FALSE
694 am__fastdepCC_TRUE
695 CCDEPMODE
696 am__nodep
697 AMDEPBACKSLASH
698 AMDEP_FALSE
699 AMDEP_TRUE
700 am__quote
701 am__include
702 DEPDIR
703 OBJEXT
704 EXEEXT
705 ac_ct_CC
706 CPPFLAGS
707 LDFLAGS
708 CFLAGS
709 CC
710 pkgdatadir
711 PACKAGE_SUFFIX
712 MAINT
713 MAINTAINER_MODE_FALSE
714 MAINTAINER_MODE_TRUE
715 AM_BACKSLASH
716 AM_DEFAULT_VERBOSITY
717 AM_DEFAULT_V
718 AM_V
719 am__untar
720 am__tar
721 AMTAR
722 am__leading_dot
723 SET_MAKE
724 AWK
725 mkdir_p
726 MKDIR_P
727 INSTALL_STRIP_PROGRAM
728 STRIP
729 install_sh
730 MAKEINFO
731 AUTOHEADER
732 AUTOMAKE
733 AUTOCONF
734 ACLOCAL
735 VERSION
736 PACKAGE
737 CYGPATH_W
738 am__isrc
739 INSTALL_DATA
740 INSTALL_SCRIPT
741 INSTALL_PROGRAM
742 target_alias
743 host_alias
744 build_alias
745 LIBS
746 ECHO_T
747 ECHO_N
748 ECHO_C
749 DEFS
750 mandir
751 localedir
752 libdir
753 psdir
754 pdfdir
755 dvidir
756 htmldir
757 infodir
758 docdir
759 oldincludedir
760 includedir
761 localstatedir
762 sharedstatedir
763 sysconfdir
764 datadir
765 datarootdir
766 libexecdir
767 sbindir
768 bindir
769 program_transform_name
770 prefix
771 exec_prefix
772 PACKAGE_URL
773 PACKAGE_BUGREPORT
774 PACKAGE_STRING
775 PACKAGE_VERSION
776 PACKAGE_TARNAME
777 PACKAGE_NAME
778 PATH_SEPARATOR
779 SHELL'
780 ac_subst_files=''
781 ac_user_opts='
782 enable_option_checking
783 enable_silent_rules
784 enable_maintainer_mode
785 enable_dependency_tracking
786 enable_static
787 enable_shared
788 with_pic
789 enable_fast_install
790 with_gnu_ld
791 with_sysroot
792 enable_libtool_lock
793 enable_unversioned
794 enable_coverage
795 '
796       ac_precious_vars='build_alias
797 host_alias
798 target_alias
799 CC
800 CFLAGS
801 LDFLAGS
802 LIBS
803 CPPFLAGS
804 CPP
805 PKG_CONFIG
806 PKG_CONFIG_PATH
807 PKG_CONFIG_LIBDIR
808 GLIB_CFLAGS
809 GLIB_LIBS
810 GMODULE_CFLAGS
811 GMODULE_LIBS
812 GTHREAD_CFLAGS
813 GTHREAD_LIBS'
814
815
816 # Initialize some variables set by options.
817 ac_init_help=
818 ac_init_version=false
819 ac_unrecognized_opts=
820 ac_unrecognized_sep=
821 # The variables have the same names as the options, with
822 # dashes changed to underlines.
823 cache_file=/dev/null
824 exec_prefix=NONE
825 no_create=
826 no_recursion=
827 prefix=NONE
828 program_prefix=NONE
829 program_suffix=NONE
830 program_transform_name=s,x,x,
831 silent=
832 site=
833 srcdir=
834 verbose=
835 x_includes=NONE
836 x_libraries=NONE
837
838 # Installation directory options.
839 # These are left unexpanded so users can "make install exec_prefix=/foo"
840 # and all the variables that are supposed to be based on exec_prefix
841 # by default will actually change.
842 # Use braces instead of parens because sh, perl, etc. also accept them.
843 # (The list follows the same order as the GNU Coding Standards.)
844 bindir='${exec_prefix}/bin'
845 sbindir='${exec_prefix}/sbin'
846 libexecdir='${exec_prefix}/libexec'
847 datarootdir='${prefix}/share'
848 datadir='${datarootdir}'
849 sysconfdir='${prefix}/etc'
850 sharedstatedir='${prefix}/com'
851 localstatedir='${prefix}/var'
852 includedir='${prefix}/include'
853 oldincludedir='/usr/include'
854 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
855 infodir='${datarootdir}/info'
856 htmldir='${docdir}'
857 dvidir='${docdir}'
858 pdfdir='${docdir}'
859 psdir='${docdir}'
860 libdir='${exec_prefix}/lib'
861 localedir='${datarootdir}/locale'
862 mandir='${datarootdir}/man'
863
864 ac_prev=
865 ac_dashdash=
866 for ac_option
867 do
868   # If the previous option needs an argument, assign it.
869   if test -n "$ac_prev"; then
870     eval $ac_prev=\$ac_option
871     ac_prev=
872     continue
873   fi
874
875   case $ac_option in
876   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
877   *=)   ac_optarg= ;;
878   *)    ac_optarg=yes ;;
879   esac
880
881   # Accept the important Cygnus configure options, so we can diagnose typos.
882
883   case $ac_dashdash$ac_option in
884   --)
885     ac_dashdash=yes ;;
886
887   -bindir | --bindir | --bindi | --bind | --bin | --bi)
888     ac_prev=bindir ;;
889   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
890     bindir=$ac_optarg ;;
891
892   -build | --build | --buil | --bui | --bu)
893     ac_prev=build_alias ;;
894   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
895     build_alias=$ac_optarg ;;
896
897   -cache-file | --cache-file | --cache-fil | --cache-fi \
898   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
899     ac_prev=cache_file ;;
900   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
901   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
902     cache_file=$ac_optarg ;;
903
904   --config-cache | -C)
905     cache_file=config.cache ;;
906
907   -datadir | --datadir | --datadi | --datad)
908     ac_prev=datadir ;;
909   -datadir=* | --datadir=* | --datadi=* | --datad=*)
910     datadir=$ac_optarg ;;
911
912   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
913   | --dataroo | --dataro | --datar)
914     ac_prev=datarootdir ;;
915   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
916   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
917     datarootdir=$ac_optarg ;;
918
919   -disable-* | --disable-*)
920     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
921     # Reject names that are not valid shell variable names.
922     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
923       as_fn_error $? "invalid feature name: $ac_useropt"
924     ac_useropt_orig=$ac_useropt
925     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
926     case $ac_user_opts in
927       *"
928 "enable_$ac_useropt"
929 "*) ;;
930       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
931          ac_unrecognized_sep=', ';;
932     esac
933     eval enable_$ac_useropt=no ;;
934
935   -docdir | --docdir | --docdi | --doc | --do)
936     ac_prev=docdir ;;
937   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
938     docdir=$ac_optarg ;;
939
940   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
941     ac_prev=dvidir ;;
942   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
943     dvidir=$ac_optarg ;;
944
945   -enable-* | --enable-*)
946     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
947     # Reject names that are not valid shell variable names.
948     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
949       as_fn_error $? "invalid feature name: $ac_useropt"
950     ac_useropt_orig=$ac_useropt
951     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
952     case $ac_user_opts in
953       *"
954 "enable_$ac_useropt"
955 "*) ;;
956       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
957          ac_unrecognized_sep=', ';;
958     esac
959     eval enable_$ac_useropt=\$ac_optarg ;;
960
961   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
962   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
963   | --exec | --exe | --ex)
964     ac_prev=exec_prefix ;;
965   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
966   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
967   | --exec=* | --exe=* | --ex=*)
968     exec_prefix=$ac_optarg ;;
969
970   -gas | --gas | --ga | --g)
971     # Obsolete; use --with-gas.
972     with_gas=yes ;;
973
974   -help | --help | --hel | --he | -h)
975     ac_init_help=long ;;
976   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
977     ac_init_help=recursive ;;
978   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
979     ac_init_help=short ;;
980
981   -host | --host | --hos | --ho)
982     ac_prev=host_alias ;;
983   -host=* | --host=* | --hos=* | --ho=*)
984     host_alias=$ac_optarg ;;
985
986   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
987     ac_prev=htmldir ;;
988   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
989   | --ht=*)
990     htmldir=$ac_optarg ;;
991
992   -includedir | --includedir | --includedi | --included | --include \
993   | --includ | --inclu | --incl | --inc)
994     ac_prev=includedir ;;
995   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
996   | --includ=* | --inclu=* | --incl=* | --inc=*)
997     includedir=$ac_optarg ;;
998
999   -infodir | --infodir | --infodi | --infod | --info | --inf)
1000     ac_prev=infodir ;;
1001   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1002     infodir=$ac_optarg ;;
1003
1004   -libdir | --libdir | --libdi | --libd)
1005     ac_prev=libdir ;;
1006   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1007     libdir=$ac_optarg ;;
1008
1009   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1010   | --libexe | --libex | --libe)
1011     ac_prev=libexecdir ;;
1012   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1013   | --libexe=* | --libex=* | --libe=*)
1014     libexecdir=$ac_optarg ;;
1015
1016   -localedir | --localedir | --localedi | --localed | --locale)
1017     ac_prev=localedir ;;
1018   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1019     localedir=$ac_optarg ;;
1020
1021   -localstatedir | --localstatedir | --localstatedi | --localstated \
1022   | --localstate | --localstat | --localsta | --localst | --locals)
1023     ac_prev=localstatedir ;;
1024   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1025   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1026     localstatedir=$ac_optarg ;;
1027
1028   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1029     ac_prev=mandir ;;
1030   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1031     mandir=$ac_optarg ;;
1032
1033   -nfp | --nfp | --nf)
1034     # Obsolete; use --without-fp.
1035     with_fp=no ;;
1036
1037   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1038   | --no-cr | --no-c | -n)
1039     no_create=yes ;;
1040
1041   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1042   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1043     no_recursion=yes ;;
1044
1045   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1046   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1047   | --oldin | --oldi | --old | --ol | --o)
1048     ac_prev=oldincludedir ;;
1049   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1050   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1051   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1052     oldincludedir=$ac_optarg ;;
1053
1054   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1055     ac_prev=prefix ;;
1056   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1057     prefix=$ac_optarg ;;
1058
1059   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1060   | --program-pre | --program-pr | --program-p)
1061     ac_prev=program_prefix ;;
1062   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1063   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1064     program_prefix=$ac_optarg ;;
1065
1066   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1067   | --program-suf | --program-su | --program-s)
1068     ac_prev=program_suffix ;;
1069   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1070   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1071     program_suffix=$ac_optarg ;;
1072
1073   -program-transform-name | --program-transform-name \
1074   | --program-transform-nam | --program-transform-na \
1075   | --program-transform-n | --program-transform- \
1076   | --program-transform | --program-transfor \
1077   | --program-transfo | --program-transf \
1078   | --program-trans | --program-tran \
1079   | --progr-tra | --program-tr | --program-t)
1080     ac_prev=program_transform_name ;;
1081   -program-transform-name=* | --program-transform-name=* \
1082   | --program-transform-nam=* | --program-transform-na=* \
1083   | --program-transform-n=* | --program-transform-=* \
1084   | --program-transform=* | --program-transfor=* \
1085   | --program-transfo=* | --program-transf=* \
1086   | --program-trans=* | --program-tran=* \
1087   | --progr-tra=* | --program-tr=* | --program-t=*)
1088     program_transform_name=$ac_optarg ;;
1089
1090   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1091     ac_prev=pdfdir ;;
1092   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1093     pdfdir=$ac_optarg ;;
1094
1095   -psdir | --psdir | --psdi | --psd | --ps)
1096     ac_prev=psdir ;;
1097   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1098     psdir=$ac_optarg ;;
1099
1100   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1101   | -silent | --silent | --silen | --sile | --sil)
1102     silent=yes ;;
1103
1104   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1105     ac_prev=sbindir ;;
1106   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1107   | --sbi=* | --sb=*)
1108     sbindir=$ac_optarg ;;
1109
1110   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1111   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1112   | --sharedst | --shareds | --shared | --share | --shar \
1113   | --sha | --sh)
1114     ac_prev=sharedstatedir ;;
1115   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1116   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1117   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1118   | --sha=* | --sh=*)
1119     sharedstatedir=$ac_optarg ;;
1120
1121   -site | --site | --sit)
1122     ac_prev=site ;;
1123   -site=* | --site=* | --sit=*)
1124     site=$ac_optarg ;;
1125
1126   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1127     ac_prev=srcdir ;;
1128   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1129     srcdir=$ac_optarg ;;
1130
1131   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1132   | --syscon | --sysco | --sysc | --sys | --sy)
1133     ac_prev=sysconfdir ;;
1134   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1135   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1136     sysconfdir=$ac_optarg ;;
1137
1138   -target | --target | --targe | --targ | --tar | --ta | --t)
1139     ac_prev=target_alias ;;
1140   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1141     target_alias=$ac_optarg ;;
1142
1143   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1144     verbose=yes ;;
1145
1146   -version | --version | --versio | --versi | --vers | -V)
1147     ac_init_version=: ;;
1148
1149   -with-* | --with-*)
1150     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1151     # Reject names that are not valid shell variable names.
1152     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1153       as_fn_error $? "invalid package name: $ac_useropt"
1154     ac_useropt_orig=$ac_useropt
1155     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1156     case $ac_user_opts in
1157       *"
1158 "with_$ac_useropt"
1159 "*) ;;
1160       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1161          ac_unrecognized_sep=', ';;
1162     esac
1163     eval with_$ac_useropt=\$ac_optarg ;;
1164
1165   -without-* | --without-*)
1166     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1167     # Reject names that are not valid shell variable names.
1168     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1169       as_fn_error $? "invalid package name: $ac_useropt"
1170     ac_useropt_orig=$ac_useropt
1171     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1172     case $ac_user_opts in
1173       *"
1174 "with_$ac_useropt"
1175 "*) ;;
1176       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1177          ac_unrecognized_sep=', ';;
1178     esac
1179     eval with_$ac_useropt=no ;;
1180
1181   --x)
1182     # Obsolete; use --with-x.
1183     with_x=yes ;;
1184
1185   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1186   | --x-incl | --x-inc | --x-in | --x-i)
1187     ac_prev=x_includes ;;
1188   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1189   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1190     x_includes=$ac_optarg ;;
1191
1192   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1193   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1194     ac_prev=x_libraries ;;
1195   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1196   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1197     x_libraries=$ac_optarg ;;
1198
1199   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1200 Try \`$0 --help' for more information"
1201     ;;
1202
1203   *=*)
1204     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1205     # Reject names that are not valid shell variable names.
1206     case $ac_envvar in #(
1207       '' | [0-9]* | *[!_$as_cr_alnum]* )
1208       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1209     esac
1210     eval $ac_envvar=\$ac_optarg
1211     export $ac_envvar ;;
1212
1213   *)
1214     # FIXME: should be removed in autoconf 3.0.
1215     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1216     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1217       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1218     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1219     ;;
1220
1221   esac
1222 done
1223
1224 if test -n "$ac_prev"; then
1225   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1226   as_fn_error $? "missing argument to $ac_option"
1227 fi
1228
1229 if test -n "$ac_unrecognized_opts"; then
1230   case $enable_option_checking in
1231     no) ;;
1232     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1233     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1234   esac
1235 fi
1236
1237 # Check all directory arguments for consistency.
1238 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1239                 datadir sysconfdir sharedstatedir localstatedir includedir \
1240                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1241                 libdir localedir mandir
1242 do
1243   eval ac_val=\$$ac_var
1244   # Remove trailing slashes.
1245   case $ac_val in
1246     */ )
1247       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1248       eval $ac_var=\$ac_val;;
1249   esac
1250   # Be sure to have absolute directory names.
1251   case $ac_val in
1252     [\\/$]* | ?:[\\/]* )  continue;;
1253     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1254   esac
1255   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1256 done
1257
1258 # There might be people who depend on the old broken behavior: `$host'
1259 # used to hold the argument of --host etc.
1260 # FIXME: To remove some day.
1261 build=$build_alias
1262 host=$host_alias
1263 target=$target_alias
1264
1265 # FIXME: To remove some day.
1266 if test "x$host_alias" != x; then
1267   if test "x$build_alias" = x; then
1268     cross_compiling=maybe
1269   elif test "x$build_alias" != "x$host_alias"; then
1270     cross_compiling=yes
1271   fi
1272 fi
1273
1274 ac_tool_prefix=
1275 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1276
1277 test "$silent" = yes && exec 6>/dev/null
1278
1279
1280 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1281 ac_ls_di=`ls -di .` &&
1282 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1283   as_fn_error $? "working directory cannot be determined"
1284 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1285   as_fn_error $? "pwd does not report name of working directory"
1286
1287
1288 # Find the source files, if location was not specified.
1289 if test -z "$srcdir"; then
1290   ac_srcdir_defaulted=yes
1291   # Try the directory containing this script, then the parent directory.
1292   ac_confdir=`$as_dirname -- "$as_myself" ||
1293 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1294          X"$as_myself" : 'X\(//\)[^/]' \| \
1295          X"$as_myself" : 'X\(//\)$' \| \
1296          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1297 $as_echo X"$as_myself" |
1298     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1299             s//\1/
1300             q
1301           }
1302           /^X\(\/\/\)[^/].*/{
1303             s//\1/
1304             q
1305           }
1306           /^X\(\/\/\)$/{
1307             s//\1/
1308             q
1309           }
1310           /^X\(\/\).*/{
1311             s//\1/
1312             q
1313           }
1314           s/.*/./; q'`
1315   srcdir=$ac_confdir
1316   if test ! -r "$srcdir/$ac_unique_file"; then
1317     srcdir=..
1318   fi
1319 else
1320   ac_srcdir_defaulted=no
1321 fi
1322 if test ! -r "$srcdir/$ac_unique_file"; then
1323   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1324   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1325 fi
1326 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1327 ac_abs_confdir=`(
1328         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1329         pwd)`
1330 # When building in place, set srcdir=.
1331 if test "$ac_abs_confdir" = "$ac_pwd"; then
1332   srcdir=.
1333 fi
1334 # Remove unnecessary trailing slashes from srcdir.
1335 # Double slashes in file names in object file debugging info
1336 # mess up M-x gdb in Emacs.
1337 case $srcdir in
1338 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1339 esac
1340 for ac_var in $ac_precious_vars; do
1341   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1342   eval ac_env_${ac_var}_value=\$${ac_var}
1343   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1344   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1345 done
1346
1347 #
1348 # Report the --help message.
1349 #
1350 if test "$ac_init_help" = "long"; then
1351   # Omit some internal or obsolete options to make the list less imposing.
1352   # This message is too long to be a string in the A/UX 3.1 sh.
1353   cat <<_ACEOF
1354 \`configure' configures vala 0.26.1 to adapt to many kinds of systems.
1355
1356 Usage: $0 [OPTION]... [VAR=VALUE]...
1357
1358 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1359 VAR=VALUE.  See below for descriptions of some of the useful variables.
1360
1361 Defaults for the options are specified in brackets.
1362
1363 Configuration:
1364   -h, --help              display this help and exit
1365       --help=short        display options specific to this package
1366       --help=recursive    display the short help of all the included packages
1367   -V, --version           display version information and exit
1368   -q, --quiet, --silent   do not print \`checking ...' messages
1369       --cache-file=FILE   cache test results in FILE [disabled]
1370   -C, --config-cache      alias for \`--cache-file=config.cache'
1371   -n, --no-create         do not create output files
1372       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1373
1374 Installation directories:
1375   --prefix=PREFIX         install architecture-independent files in PREFIX
1376                           [$ac_default_prefix]
1377   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1378                           [PREFIX]
1379
1380 By default, \`make install' will install all the files in
1381 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1382 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1383 for instance \`--prefix=\$HOME'.
1384
1385 For better control, use the options below.
1386
1387 Fine tuning of the installation directories:
1388   --bindir=DIR            user executables [EPREFIX/bin]
1389   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1390   --libexecdir=DIR        program executables [EPREFIX/libexec]
1391   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1392   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1393   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1394   --libdir=DIR            object code libraries [EPREFIX/lib]
1395   --includedir=DIR        C header files [PREFIX/include]
1396   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1397   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1398   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1399   --infodir=DIR           info documentation [DATAROOTDIR/info]
1400   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1401   --mandir=DIR            man documentation [DATAROOTDIR/man]
1402   --docdir=DIR            documentation root [DATAROOTDIR/doc/vala]
1403   --htmldir=DIR           html documentation [DOCDIR]
1404   --dvidir=DIR            dvi documentation [DOCDIR]
1405   --pdfdir=DIR            pdf documentation [DOCDIR]
1406   --psdir=DIR             ps documentation [DOCDIR]
1407 _ACEOF
1408
1409   cat <<\_ACEOF
1410
1411 Program names:
1412   --program-prefix=PREFIX            prepend PREFIX to installed program names
1413   --program-suffix=SUFFIX            append SUFFIX to installed program names
1414   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1415
1416 System types:
1417   --build=BUILD     configure for building on BUILD [guessed]
1418   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1419 _ACEOF
1420 fi
1421
1422 if test -n "$ac_init_help"; then
1423   case $ac_init_help in
1424      short | recursive ) echo "Configuration of vala 0.26.1:";;
1425    esac
1426   cat <<\_ACEOF
1427
1428 Optional Features:
1429   --disable-option-checking  ignore unrecognized --enable/--with options
1430   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1431   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1432   --enable-silent-rules   less verbose build output (undo: "make V=1")
1433   --disable-silent-rules  verbose build output (undo: "make V=0")
1434   --disable-maintainer-mode
1435                           disable make rules and dependencies not useful (and
1436                           sometimes confusing) to the casual installer
1437   --enable-dependency-tracking
1438                           do not reject slow dependency extractors
1439   --disable-dependency-tracking
1440                           speeds up one-time build
1441   --enable-static[=PKGS]  build static libraries [default=no]
1442   --enable-shared[=PKGS]  build shared libraries [default=yes]
1443   --enable-fast-install[=PKGS]
1444                           optimize for fast installation [default=yes]
1445   --disable-libtool-lock  avoid locking (might break parallel builds)
1446   --disable-unversioned   Disable unversioned binaries
1447   --enable-coverage       Enable coverage analysis
1448
1449 Optional Packages:
1450   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1451   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1452   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1453                           both]
1454   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1455   --with-sysroot=DIR Search for dependent libraries within DIR
1456                         (or the compiler's sysroot if not specified).
1457
1458 Some influential environment variables:
1459   CC          C compiler command
1460   CFLAGS      C compiler flags
1461   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1462               nonstandard directory <lib dir>
1463   LIBS        libraries to pass to the linker, e.g. -l<library>
1464   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1465               you have headers in a nonstandard directory <include dir>
1466   CPP         C preprocessor
1467   PKG_CONFIG  path to pkg-config utility
1468   PKG_CONFIG_PATH
1469               directories to add to pkg-config's search path
1470   PKG_CONFIG_LIBDIR
1471               path overriding pkg-config's built-in search path
1472   GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1473   GLIB_LIBS   linker flags for GLIB, overriding pkg-config
1474   GMODULE_CFLAGS
1475               C compiler flags for GMODULE, overriding pkg-config
1476   GMODULE_LIBS
1477               linker flags for GMODULE, overriding pkg-config
1478   GTHREAD_CFLAGS
1479               C compiler flags for GTHREAD, overriding pkg-config
1480   GTHREAD_LIBS
1481               linker flags for GTHREAD, overriding pkg-config
1482
1483 Use these variables to override the choices made by `configure' or to help
1484 it to find libraries and programs with nonstandard names/locations.
1485
1486 Report bugs to <j@bitron.ch>.
1487 _ACEOF
1488 ac_status=$?
1489 fi
1490
1491 if test "$ac_init_help" = "recursive"; then
1492   # If there are subdirs, report their specific --help.
1493   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1494     test -d "$ac_dir" ||
1495       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1496       continue
1497     ac_builddir=.
1498
1499 case "$ac_dir" in
1500 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1501 *)
1502   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1503   # A ".." for each directory in $ac_dir_suffix.
1504   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1505   case $ac_top_builddir_sub in
1506   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1507   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1508   esac ;;
1509 esac
1510 ac_abs_top_builddir=$ac_pwd
1511 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1512 # for backward compatibility:
1513 ac_top_builddir=$ac_top_build_prefix
1514
1515 case $srcdir in
1516   .)  # We are building in place.
1517     ac_srcdir=.
1518     ac_top_srcdir=$ac_top_builddir_sub
1519     ac_abs_top_srcdir=$ac_pwd ;;
1520   [\\/]* | ?:[\\/]* )  # Absolute name.
1521     ac_srcdir=$srcdir$ac_dir_suffix;
1522     ac_top_srcdir=$srcdir
1523     ac_abs_top_srcdir=$srcdir ;;
1524   *) # Relative name.
1525     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1526     ac_top_srcdir=$ac_top_build_prefix$srcdir
1527     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1528 esac
1529 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1530
1531     cd "$ac_dir" || { ac_status=$?; continue; }
1532     # Check for guested configure.
1533     if test -f "$ac_srcdir/configure.gnu"; then
1534       echo &&
1535       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1536     elif test -f "$ac_srcdir/configure"; then
1537       echo &&
1538       $SHELL "$ac_srcdir/configure" --help=recursive
1539     else
1540       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1541     fi || ac_status=$?
1542     cd "$ac_pwd" || { ac_status=$?; break; }
1543   done
1544 fi
1545
1546 test -n "$ac_init_help" && exit $ac_status
1547 if $ac_init_version; then
1548   cat <<\_ACEOF
1549 vala configure 0.26.1
1550 generated by GNU Autoconf 2.69
1551
1552 Copyright (C) 2012 Free Software Foundation, Inc.
1553 This configure script is free software; the Free Software Foundation
1554 gives unlimited permission to copy, distribute and modify it.
1555 _ACEOF
1556   exit
1557 fi
1558
1559 ## ------------------------ ##
1560 ## Autoconf initialization. ##
1561 ## ------------------------ ##
1562
1563 # ac_fn_c_try_compile LINENO
1564 # --------------------------
1565 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1566 ac_fn_c_try_compile ()
1567 {
1568   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1569   rm -f conftest.$ac_objext
1570   if { { ac_try="$ac_compile"
1571 case "(($ac_try" in
1572   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1573   *) ac_try_echo=$ac_try;;
1574 esac
1575 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1576 $as_echo "$ac_try_echo"; } >&5
1577   (eval "$ac_compile") 2>conftest.err
1578   ac_status=$?
1579   if test -s conftest.err; then
1580     grep -v '^ *+' conftest.err >conftest.er1
1581     cat conftest.er1 >&5
1582     mv -f conftest.er1 conftest.err
1583   fi
1584   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1585   test $ac_status = 0; } && {
1586          test -z "$ac_c_werror_flag" ||
1587          test ! -s conftest.err
1588        } && test -s conftest.$ac_objext; then :
1589   ac_retval=0
1590 else
1591   $as_echo "$as_me: failed program was:" >&5
1592 sed 's/^/| /' conftest.$ac_ext >&5
1593
1594         ac_retval=1
1595 fi
1596   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1597   as_fn_set_status $ac_retval
1598
1599 } # ac_fn_c_try_compile
1600
1601 # ac_fn_c_try_link LINENO
1602 # -----------------------
1603 # Try to link conftest.$ac_ext, and return whether this succeeded.
1604 ac_fn_c_try_link ()
1605 {
1606   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1607   rm -f conftest.$ac_objext conftest$ac_exeext
1608   if { { ac_try="$ac_link"
1609 case "(($ac_try" in
1610   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1611   *) ac_try_echo=$ac_try;;
1612 esac
1613 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1614 $as_echo "$ac_try_echo"; } >&5
1615   (eval "$ac_link") 2>conftest.err
1616   ac_status=$?
1617   if test -s conftest.err; then
1618     grep -v '^ *+' conftest.err >conftest.er1
1619     cat conftest.er1 >&5
1620     mv -f conftest.er1 conftest.err
1621   fi
1622   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1623   test $ac_status = 0; } && {
1624          test -z "$ac_c_werror_flag" ||
1625          test ! -s conftest.err
1626        } && test -s conftest$ac_exeext && {
1627          test "$cross_compiling" = yes ||
1628          test -x conftest$ac_exeext
1629        }; then :
1630   ac_retval=0
1631 else
1632   $as_echo "$as_me: failed program was:" >&5
1633 sed 's/^/| /' conftest.$ac_ext >&5
1634
1635         ac_retval=1
1636 fi
1637   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1638   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1639   # interfere with the next link command; also delete a directory that is
1640   # left behind by Apple's compiler.  We do this before executing the actions.
1641   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1642   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1643   as_fn_set_status $ac_retval
1644
1645 } # ac_fn_c_try_link
1646
1647 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1648 # -------------------------------------------------------
1649 # Tests whether HEADER exists and can be compiled using the include files in
1650 # INCLUDES, setting the cache variable VAR accordingly.
1651 ac_fn_c_check_header_compile ()
1652 {
1653   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1654   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1655 $as_echo_n "checking for $2... " >&6; }
1656 if eval \${$3+:} false; then :
1657   $as_echo_n "(cached) " >&6
1658 else
1659   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1660 /* end confdefs.h.  */
1661 $4
1662 #include <$2>
1663 _ACEOF
1664 if ac_fn_c_try_compile "$LINENO"; then :
1665   eval "$3=yes"
1666 else
1667   eval "$3=no"
1668 fi
1669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1670 fi
1671 eval ac_res=\$$3
1672                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1673 $as_echo "$ac_res" >&6; }
1674   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1675
1676 } # ac_fn_c_check_header_compile
1677
1678 # ac_fn_c_try_cpp LINENO
1679 # ----------------------
1680 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1681 ac_fn_c_try_cpp ()
1682 {
1683   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1684   if { { ac_try="$ac_cpp conftest.$ac_ext"
1685 case "(($ac_try" in
1686   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1687   *) ac_try_echo=$ac_try;;
1688 esac
1689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1690 $as_echo "$ac_try_echo"; } >&5
1691   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1692   ac_status=$?
1693   if test -s conftest.err; then
1694     grep -v '^ *+' conftest.err >conftest.er1
1695     cat conftest.er1 >&5
1696     mv -f conftest.er1 conftest.err
1697   fi
1698   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1699   test $ac_status = 0; } > conftest.i && {
1700          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1701          test ! -s conftest.err
1702        }; then :
1703   ac_retval=0
1704 else
1705   $as_echo "$as_me: failed program was:" >&5
1706 sed 's/^/| /' conftest.$ac_ext >&5
1707
1708     ac_retval=1
1709 fi
1710   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1711   as_fn_set_status $ac_retval
1712
1713 } # ac_fn_c_try_cpp
1714
1715 # ac_fn_c_try_run LINENO
1716 # ----------------------
1717 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1718 # that executables *can* be run.
1719 ac_fn_c_try_run ()
1720 {
1721   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1722   if { { ac_try="$ac_link"
1723 case "(($ac_try" in
1724   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1725   *) ac_try_echo=$ac_try;;
1726 esac
1727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1728 $as_echo "$ac_try_echo"; } >&5
1729   (eval "$ac_link") 2>&5
1730   ac_status=$?
1731   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1732   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1733   { { case "(($ac_try" in
1734   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1735   *) ac_try_echo=$ac_try;;
1736 esac
1737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1738 $as_echo "$ac_try_echo"; } >&5
1739   (eval "$ac_try") 2>&5
1740   ac_status=$?
1741   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1742   test $ac_status = 0; }; }; then :
1743   ac_retval=0
1744 else
1745   $as_echo "$as_me: program exited with status $ac_status" >&5
1746        $as_echo "$as_me: failed program was:" >&5
1747 sed 's/^/| /' conftest.$ac_ext >&5
1748
1749        ac_retval=$ac_status
1750 fi
1751   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1752   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1753   as_fn_set_status $ac_retval
1754
1755 } # ac_fn_c_try_run
1756
1757 # ac_fn_c_check_func LINENO FUNC VAR
1758 # ----------------------------------
1759 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1760 ac_fn_c_check_func ()
1761 {
1762   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1763   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1764 $as_echo_n "checking for $2... " >&6; }
1765 if eval \${$3+:} false; then :
1766   $as_echo_n "(cached) " >&6
1767 else
1768   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1769 /* end confdefs.h.  */
1770 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1771    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1772 #define $2 innocuous_$2
1773
1774 /* System header to define __stub macros and hopefully few prototypes,
1775     which can conflict with char $2 (); below.
1776     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1777     <limits.h> exists even on freestanding compilers.  */
1778
1779 #ifdef __STDC__
1780 # include <limits.h>
1781 #else
1782 # include <assert.h>
1783 #endif
1784
1785 #undef $2
1786
1787 /* Override any GCC internal prototype to avoid an error.
1788    Use char because int might match the return type of a GCC
1789    builtin and then its argument prototype would still apply.  */
1790 #ifdef __cplusplus
1791 extern "C"
1792 #endif
1793 char $2 ();
1794 /* The GNU C library defines this for functions which it implements
1795     to always fail with ENOSYS.  Some functions are actually named
1796     something starting with __ and the normal name is an alias.  */
1797 #if defined __stub_$2 || defined __stub___$2
1798 choke me
1799 #endif
1800
1801 int
1802 main ()
1803 {
1804 return $2 ();
1805   ;
1806   return 0;
1807 }
1808 _ACEOF
1809 if ac_fn_c_try_link "$LINENO"; then :
1810   eval "$3=yes"
1811 else
1812   eval "$3=no"
1813 fi
1814 rm -f core conftest.err conftest.$ac_objext \
1815     conftest$ac_exeext conftest.$ac_ext
1816 fi
1817 eval ac_res=\$$3
1818                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1819 $as_echo "$ac_res" >&6; }
1820   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1821
1822 } # ac_fn_c_check_func
1823 cat >config.log <<_ACEOF
1824 This file contains any messages produced by compilers while
1825 running configure, to aid debugging if configure makes a mistake.
1826
1827 It was created by vala $as_me 0.26.1, which was
1828 generated by GNU Autoconf 2.69.  Invocation command line was
1829
1830   $ $0 $@
1831
1832 _ACEOF
1833 exec 5>>config.log
1834 {
1835 cat <<_ASUNAME
1836 ## --------- ##
1837 ## Platform. ##
1838 ## --------- ##
1839
1840 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1841 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1842 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1843 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1844 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1845
1846 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1847 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1848
1849 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1850 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1851 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1852 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1853 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1854 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1855 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1856
1857 _ASUNAME
1858
1859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1860 for as_dir in $PATH
1861 do
1862   IFS=$as_save_IFS
1863   test -z "$as_dir" && as_dir=.
1864     $as_echo "PATH: $as_dir"
1865   done
1866 IFS=$as_save_IFS
1867
1868 } >&5
1869
1870 cat >&5 <<_ACEOF
1871
1872
1873 ## ----------- ##
1874 ## Core tests. ##
1875 ## ----------- ##
1876
1877 _ACEOF
1878
1879
1880 # Keep a trace of the command line.
1881 # Strip out --no-create and --no-recursion so they do not pile up.
1882 # Strip out --silent because we don't want to record it for future runs.
1883 # Also quote any args containing shell meta-characters.
1884 # Make two passes to allow for proper duplicate-argument suppression.
1885 ac_configure_args=
1886 ac_configure_args0=
1887 ac_configure_args1=
1888 ac_must_keep_next=false
1889 for ac_pass in 1 2
1890 do
1891   for ac_arg
1892   do
1893     case $ac_arg in
1894     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1895     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1896     | -silent | --silent | --silen | --sile | --sil)
1897       continue ;;
1898     *\'*)
1899       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1900     esac
1901     case $ac_pass in
1902     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1903     2)
1904       as_fn_append ac_configure_args1 " '$ac_arg'"
1905       if test $ac_must_keep_next = true; then
1906         ac_must_keep_next=false # Got value, back to normal.
1907       else
1908         case $ac_arg in
1909           *=* | --config-cache | -C | -disable-* | --disable-* \
1910           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1911           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1912           | -with-* | --with-* | -without-* | --without-* | --x)
1913             case "$ac_configure_args0 " in
1914               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1915             esac
1916             ;;
1917           -* ) ac_must_keep_next=true ;;
1918         esac
1919       fi
1920       as_fn_append ac_configure_args " '$ac_arg'"
1921       ;;
1922     esac
1923   done
1924 done
1925 { ac_configure_args0=; unset ac_configure_args0;}
1926 { ac_configure_args1=; unset ac_configure_args1;}
1927
1928 # When interrupted or exit'd, cleanup temporary files, and complete
1929 # config.log.  We remove comments because anyway the quotes in there
1930 # would cause problems or look ugly.
1931 # WARNING: Use '\'' to represent an apostrophe within the trap.
1932 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1933 trap 'exit_status=$?
1934   # Save into config.log some information that might help in debugging.
1935   {
1936     echo
1937
1938     $as_echo "## ---------------- ##
1939 ## Cache variables. ##
1940 ## ---------------- ##"
1941     echo
1942     # The following way of writing the cache mishandles newlines in values,
1943 (
1944   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1945     eval ac_val=\$$ac_var
1946     case $ac_val in #(
1947     *${as_nl}*)
1948       case $ac_var in #(
1949       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1950 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1951       esac
1952       case $ac_var in #(
1953       _ | IFS | as_nl) ;; #(
1954       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1955       *) { eval $ac_var=; unset $ac_var;} ;;
1956       esac ;;
1957     esac
1958   done
1959   (set) 2>&1 |
1960     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1961     *${as_nl}ac_space=\ *)
1962       sed -n \
1963         "s/'\''/'\''\\\\'\'''\''/g;
1964           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1965       ;; #(
1966     *)
1967       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1968       ;;
1969     esac |
1970     sort
1971 )
1972     echo
1973
1974     $as_echo "## ----------------- ##
1975 ## Output variables. ##
1976 ## ----------------- ##"
1977     echo
1978     for ac_var in $ac_subst_vars
1979     do
1980       eval ac_val=\$$ac_var
1981       case $ac_val in
1982       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1983       esac
1984       $as_echo "$ac_var='\''$ac_val'\''"
1985     done | sort
1986     echo
1987
1988     if test -n "$ac_subst_files"; then
1989       $as_echo "## ------------------- ##
1990 ## File substitutions. ##
1991 ## ------------------- ##"
1992       echo
1993       for ac_var in $ac_subst_files
1994       do
1995         eval ac_val=\$$ac_var
1996         case $ac_val in
1997         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1998         esac
1999         $as_echo "$ac_var='\''$ac_val'\''"
2000       done | sort
2001       echo
2002     fi
2003
2004     if test -s confdefs.h; then
2005       $as_echo "## ----------- ##
2006 ## confdefs.h. ##
2007 ## ----------- ##"
2008       echo
2009       cat confdefs.h
2010       echo
2011     fi
2012     test "$ac_signal" != 0 &&
2013       $as_echo "$as_me: caught signal $ac_signal"
2014     $as_echo "$as_me: exit $exit_status"
2015   } >&5
2016   rm -f core *.core core.conftest.* &&
2017     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2018     exit $exit_status
2019 ' 0
2020 for ac_signal in 1 2 13 15; do
2021   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2022 done
2023 ac_signal=0
2024
2025 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2026 rm -f -r conftest* confdefs.h
2027
2028 $as_echo "/* confdefs.h */" > confdefs.h
2029
2030 # Predefined preprocessor variables.
2031
2032 cat >>confdefs.h <<_ACEOF
2033 #define PACKAGE_NAME "$PACKAGE_NAME"
2034 _ACEOF
2035
2036 cat >>confdefs.h <<_ACEOF
2037 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2038 _ACEOF
2039
2040 cat >>confdefs.h <<_ACEOF
2041 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2042 _ACEOF
2043
2044 cat >>confdefs.h <<_ACEOF
2045 #define PACKAGE_STRING "$PACKAGE_STRING"
2046 _ACEOF
2047
2048 cat >>confdefs.h <<_ACEOF
2049 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2050 _ACEOF
2051
2052 cat >>confdefs.h <<_ACEOF
2053 #define PACKAGE_URL "$PACKAGE_URL"
2054 _ACEOF
2055
2056
2057 # Let the site file select an alternate cache file if it wants to.
2058 # Prefer an explicitly selected file to automatically selected ones.
2059 ac_site_file1=NONE
2060 ac_site_file2=NONE
2061 if test -n "$CONFIG_SITE"; then
2062   # We do not want a PATH search for config.site.
2063   case $CONFIG_SITE in #((
2064     -*)  ac_site_file1=./$CONFIG_SITE;;
2065     */*) ac_site_file1=$CONFIG_SITE;;
2066     *)   ac_site_file1=./$CONFIG_SITE;;
2067   esac
2068 elif test "x$prefix" != xNONE; then
2069   ac_site_file1=$prefix/share/config.site
2070   ac_site_file2=$prefix/etc/config.site
2071 else
2072   ac_site_file1=$ac_default_prefix/share/config.site
2073   ac_site_file2=$ac_default_prefix/etc/config.site
2074 fi
2075 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2076 do
2077   test "x$ac_site_file" = xNONE && continue
2078   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2079     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2080 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2081     sed 's/^/| /' "$ac_site_file" >&5
2082     . "$ac_site_file" \
2083       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2084 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2085 as_fn_error $? "failed to load site script $ac_site_file
2086 See \`config.log' for more details" "$LINENO" 5; }
2087   fi
2088 done
2089
2090 if test -r "$cache_file"; then
2091   # Some versions of bash will fail to source /dev/null (special files
2092   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2093   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2094     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2095 $as_echo "$as_me: loading cache $cache_file" >&6;}
2096     case $cache_file in
2097       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2098       *)                      . "./$cache_file";;
2099     esac
2100   fi
2101 else
2102   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2103 $as_echo "$as_me: creating cache $cache_file" >&6;}
2104   >$cache_file
2105 fi
2106
2107 # Check that the precious variables saved in the cache have kept the same
2108 # value.
2109 ac_cache_corrupted=false
2110 for ac_var in $ac_precious_vars; do
2111   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2112   eval ac_new_set=\$ac_env_${ac_var}_set
2113   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2114   eval ac_new_val=\$ac_env_${ac_var}_value
2115   case $ac_old_set,$ac_new_set in
2116     set,)
2117       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2118 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2119       ac_cache_corrupted=: ;;
2120     ,set)
2121       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2122 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2123       ac_cache_corrupted=: ;;
2124     ,);;
2125     *)
2126       if test "x$ac_old_val" != "x$ac_new_val"; then
2127         # differences in whitespace do not lead to failure.
2128         ac_old_val_w=`echo x $ac_old_val`
2129         ac_new_val_w=`echo x $ac_new_val`
2130         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2131           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2132 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2133           ac_cache_corrupted=:
2134         else
2135           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2136 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2137           eval $ac_var=\$ac_old_val
2138         fi
2139         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2140 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2141         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2142 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2143       fi;;
2144   esac
2145   # Pass precious variables to config.status.
2146   if test "$ac_new_set" = set; then
2147     case $ac_new_val in
2148     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2149     *) ac_arg=$ac_var=$ac_new_val ;;
2150     esac
2151     case " $ac_configure_args " in
2152       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2153       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2154     esac
2155   fi
2156 done
2157 if $ac_cache_corrupted; then
2158   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2159 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2160   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2161 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2162   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2163 fi
2164 ## -------------------- ##
2165 ## Main body of script. ##
2166 ## -------------------- ##
2167
2168 ac_ext=c
2169 ac_cpp='$CPP $CPPFLAGS'
2170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2173
2174
2175
2176 ac_aux_dir=
2177 for ac_dir in build-aux "$srcdir"/build-aux; do
2178   if test -f "$ac_dir/install-sh"; then
2179     ac_aux_dir=$ac_dir
2180     ac_install_sh="$ac_aux_dir/install-sh -c"
2181     break
2182   elif test -f "$ac_dir/install.sh"; then
2183     ac_aux_dir=$ac_dir
2184     ac_install_sh="$ac_aux_dir/install.sh -c"
2185     break
2186   elif test -f "$ac_dir/shtool"; then
2187     ac_aux_dir=$ac_dir
2188     ac_install_sh="$ac_aux_dir/shtool install -c"
2189     break
2190   fi
2191 done
2192 if test -z "$ac_aux_dir"; then
2193   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2194 fi
2195
2196 # These three variables are undocumented and unsupported,
2197 # and are intended to be withdrawn in a future Autoconf release.
2198 # They can cause serious problems if a builder's source tree is in a directory
2199 # whose full name contains unusual characters.
2200 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2201 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2202 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2203
2204
2205 ac_config_headers="$ac_config_headers config.h"
2206
2207
2208 am__api_version='1.14'
2209
2210 # Find a good install program.  We prefer a C program (faster),
2211 # so one script is as good as another.  But avoid the broken or
2212 # incompatible versions:
2213 # SysV /etc/install, /usr/sbin/install
2214 # SunOS /usr/etc/install
2215 # IRIX /sbin/install
2216 # AIX /bin/install
2217 # AmigaOS /C/install, which installs bootblocks on floppy discs
2218 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2219 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2220 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2221 # OS/2's system install, which has a completely different semantic
2222 # ./install, which can be erroneously created by make from ./install.sh.
2223 # Reject install programs that cannot install multiple files.
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2225 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2226 if test -z "$INSTALL"; then
2227 if ${ac_cv_path_install+:} false; then :
2228   $as_echo_n "(cached) " >&6
2229 else
2230   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2231 for as_dir in $PATH
2232 do
2233   IFS=$as_save_IFS
2234   test -z "$as_dir" && as_dir=.
2235     # Account for people who put trailing slashes in PATH elements.
2236 case $as_dir/ in #((
2237   ./ | .// | /[cC]/* | \
2238   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2239   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2240   /usr/ucb/* ) ;;
2241   *)
2242     # OSF1 and SCO ODT 3.0 have their own names for install.
2243     # Don't use installbsd from OSF since it installs stuff as root
2244     # by default.
2245     for ac_prog in ginstall scoinst install; do
2246       for ac_exec_ext in '' $ac_executable_extensions; do
2247         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2248           if test $ac_prog = install &&
2249             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2250             # AIX install.  It has an incompatible calling convention.
2251             :
2252           elif test $ac_prog = install &&
2253             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2254             # program-specific install script used by HP pwplus--don't use.
2255             :
2256           else
2257             rm -rf conftest.one conftest.two conftest.dir
2258             echo one > conftest.one
2259             echo two > conftest.two
2260             mkdir conftest.dir
2261             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2262               test -s conftest.one && test -s conftest.two &&
2263               test -s conftest.dir/conftest.one &&
2264               test -s conftest.dir/conftest.two
2265             then
2266               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2267               break 3
2268             fi
2269           fi
2270         fi
2271       done
2272     done
2273     ;;
2274 esac
2275
2276   done
2277 IFS=$as_save_IFS
2278
2279 rm -rf conftest.one conftest.two conftest.dir
2280
2281 fi
2282   if test "${ac_cv_path_install+set}" = set; then
2283     INSTALL=$ac_cv_path_install
2284   else
2285     # As a last resort, use the slow shell script.  Don't cache a
2286     # value for INSTALL within a source directory, because that will
2287     # break other packages using the cache if that directory is
2288     # removed, or if the value is a relative name.
2289     INSTALL=$ac_install_sh
2290   fi
2291 fi
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2293 $as_echo "$INSTALL" >&6; }
2294
2295 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2296 # It thinks the first close brace ends the variable substitution.
2297 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2298
2299 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2300
2301 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2302
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2304 $as_echo_n "checking whether build environment is sane... " >&6; }
2305 # Reject unsafe characters in $srcdir or the absolute working directory
2306 # name.  Accept space and tab only in the latter.
2307 am_lf='
2308 '
2309 case `pwd` in
2310   *[\\\"\#\$\&\'\`$am_lf]*)
2311     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2312 esac
2313 case $srcdir in
2314   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2315     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2316 esac
2317
2318 # Do 'set' in a subshell so we don't clobber the current shell's
2319 # arguments.  Must try -L first in case configure is actually a
2320 # symlink; some systems play weird games with the mod time of symlinks
2321 # (eg FreeBSD returns the mod time of the symlink's containing
2322 # directory).
2323 if (
2324    am_has_slept=no
2325    for am_try in 1 2; do
2326      echo "timestamp, slept: $am_has_slept" > conftest.file
2327      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2328      if test "$*" = "X"; then
2329         # -L didn't work.
2330         set X `ls -t "$srcdir/configure" conftest.file`
2331      fi
2332      if test "$*" != "X $srcdir/configure conftest.file" \
2333         && test "$*" != "X conftest.file $srcdir/configure"; then
2334
2335         # If neither matched, then we have a broken ls.  This can happen
2336         # if, for instance, CONFIG_SHELL is bash and it inherits a
2337         # broken ls alias from the environment.  This has actually
2338         # happened.  Such a system could not be considered "sane".
2339         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2340   alias in your environment" "$LINENO" 5
2341      fi
2342      if test "$2" = conftest.file || test $am_try -eq 2; then
2343        break
2344      fi
2345      # Just in case.
2346      sleep 1
2347      am_has_slept=yes
2348    done
2349    test "$2" = conftest.file
2350    )
2351 then
2352    # Ok.
2353    :
2354 else
2355    as_fn_error $? "newly created file is older than distributed files!
2356 Check your system clock" "$LINENO" 5
2357 fi
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2359 $as_echo "yes" >&6; }
2360 # If we didn't sleep, we still need to ensure time stamps of config.status and
2361 # generated files are strictly newer.
2362 am_sleep_pid=
2363 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2364   ( sleep 1 ) &
2365   am_sleep_pid=$!
2366 fi
2367
2368 rm -f conftest.file
2369
2370 test "$program_prefix" != NONE &&
2371   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2372 # Use a double $ so make ignores it.
2373 test "$program_suffix" != NONE &&
2374   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2375 # Double any \ or $.
2376 # By default was `s,x,x', remove it if useless.
2377 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2378 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2379
2380 # expand $ac_aux_dir to an absolute path
2381 am_aux_dir=`cd $ac_aux_dir && pwd`
2382
2383 if test x"${MISSING+set}" != xset; then
2384   case $am_aux_dir in
2385   *\ * | *\     *)
2386     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2387   *)
2388     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2389   esac
2390 fi
2391 # Use eval to expand $SHELL
2392 if eval "$MISSING --is-lightweight"; then
2393   am_missing_run="$MISSING "
2394 else
2395   am_missing_run=
2396   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2397 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2398 fi
2399
2400 if test x"${install_sh}" != xset; then
2401   case $am_aux_dir in
2402   *\ * | *\     *)
2403     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2404   *)
2405     install_sh="\${SHELL} $am_aux_dir/install-sh"
2406   esac
2407 fi
2408
2409 # Installed binaries are usually stripped using 'strip' when the user
2410 # run "make install-strip".  However 'strip' might not be the right
2411 # tool to use in cross-compilation environments, therefore Automake
2412 # will honor the 'STRIP' environment variable to overrule this program.
2413 if test "$cross_compiling" != no; then
2414   if test -n "$ac_tool_prefix"; then
2415   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2416 set dummy ${ac_tool_prefix}strip; ac_word=$2
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2418 $as_echo_n "checking for $ac_word... " >&6; }
2419 if ${ac_cv_prog_STRIP+:} false; then :
2420   $as_echo_n "(cached) " >&6
2421 else
2422   if test -n "$STRIP"; then
2423   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2424 else
2425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2426 for as_dir in $PATH
2427 do
2428   IFS=$as_save_IFS
2429   test -z "$as_dir" && as_dir=.
2430     for ac_exec_ext in '' $ac_executable_extensions; do
2431   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2432     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2433     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2434     break 2
2435   fi
2436 done
2437   done
2438 IFS=$as_save_IFS
2439
2440 fi
2441 fi
2442 STRIP=$ac_cv_prog_STRIP
2443 if test -n "$STRIP"; then
2444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2445 $as_echo "$STRIP" >&6; }
2446 else
2447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2448 $as_echo "no" >&6; }
2449 fi
2450
2451
2452 fi
2453 if test -z "$ac_cv_prog_STRIP"; then
2454   ac_ct_STRIP=$STRIP
2455   # Extract the first word of "strip", so it can be a program name with args.
2456 set dummy strip; ac_word=$2
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2458 $as_echo_n "checking for $ac_word... " >&6; }
2459 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2460   $as_echo_n "(cached) " >&6
2461 else
2462   if test -n "$ac_ct_STRIP"; then
2463   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2464 else
2465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2466 for as_dir in $PATH
2467 do
2468   IFS=$as_save_IFS
2469   test -z "$as_dir" && as_dir=.
2470     for ac_exec_ext in '' $ac_executable_extensions; do
2471   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2472     ac_cv_prog_ac_ct_STRIP="strip"
2473     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2474     break 2
2475   fi
2476 done
2477   done
2478 IFS=$as_save_IFS
2479
2480 fi
2481 fi
2482 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2483 if test -n "$ac_ct_STRIP"; then
2484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2485 $as_echo "$ac_ct_STRIP" >&6; }
2486 else
2487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2488 $as_echo "no" >&6; }
2489 fi
2490
2491   if test "x$ac_ct_STRIP" = x; then
2492     STRIP=":"
2493   else
2494     case $cross_compiling:$ac_tool_warned in
2495 yes:)
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2497 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2498 ac_tool_warned=yes ;;
2499 esac
2500     STRIP=$ac_ct_STRIP
2501   fi
2502 else
2503   STRIP="$ac_cv_prog_STRIP"
2504 fi
2505
2506 fi
2507 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2508
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2510 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2511 if test -z "$MKDIR_P"; then
2512   if ${ac_cv_path_mkdir+:} false; then :
2513   $as_echo_n "(cached) " >&6
2514 else
2515   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2516 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2517 do
2518   IFS=$as_save_IFS
2519   test -z "$as_dir" && as_dir=.
2520     for ac_prog in mkdir gmkdir; do
2521          for ac_exec_ext in '' $ac_executable_extensions; do
2522            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2523            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2524              'mkdir (GNU coreutils) '* | \
2525              'mkdir (coreutils) '* | \
2526              'mkdir (fileutils) '4.1*)
2527                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2528                break 3;;
2529            esac
2530          done
2531        done
2532   done
2533 IFS=$as_save_IFS
2534
2535 fi
2536
2537   test -d ./--version && rmdir ./--version
2538   if test "${ac_cv_path_mkdir+set}" = set; then
2539     MKDIR_P="$ac_cv_path_mkdir -p"
2540   else
2541     # As a last resort, use the slow shell script.  Don't cache a
2542     # value for MKDIR_P within a source directory, because that will
2543     # break other packages using the cache if that directory is
2544     # removed, or if the value is a relative name.
2545     MKDIR_P="$ac_install_sh -d"
2546   fi
2547 fi
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2549 $as_echo "$MKDIR_P" >&6; }
2550
2551 for ac_prog in gawk mawk nawk awk
2552 do
2553   # Extract the first word of "$ac_prog", so it can be a program name with args.
2554 set dummy $ac_prog; ac_word=$2
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2556 $as_echo_n "checking for $ac_word... " >&6; }
2557 if ${ac_cv_prog_AWK+:} false; then :
2558   $as_echo_n "(cached) " >&6
2559 else
2560   if test -n "$AWK"; then
2561   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2562 else
2563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2564 for as_dir in $PATH
2565 do
2566   IFS=$as_save_IFS
2567   test -z "$as_dir" && as_dir=.
2568     for ac_exec_ext in '' $ac_executable_extensions; do
2569   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2570     ac_cv_prog_AWK="$ac_prog"
2571     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2572     break 2
2573   fi
2574 done
2575   done
2576 IFS=$as_save_IFS
2577
2578 fi
2579 fi
2580 AWK=$ac_cv_prog_AWK
2581 if test -n "$AWK"; then
2582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2583 $as_echo "$AWK" >&6; }
2584 else
2585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2586 $as_echo "no" >&6; }
2587 fi
2588
2589
2590   test -n "$AWK" && break
2591 done
2592
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2594 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2595 set x ${MAKE-make}
2596 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2597 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2598   $as_echo_n "(cached) " >&6
2599 else
2600   cat >conftest.make <<\_ACEOF
2601 SHELL = /bin/sh
2602 all:
2603         @echo '@@@%%%=$(MAKE)=@@@%%%'
2604 _ACEOF
2605 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2606 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2607   *@@@%%%=?*=@@@%%%*)
2608     eval ac_cv_prog_make_${ac_make}_set=yes;;
2609   *)
2610     eval ac_cv_prog_make_${ac_make}_set=no;;
2611 esac
2612 rm -f conftest.make
2613 fi
2614 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2616 $as_echo "yes" >&6; }
2617   SET_MAKE=
2618 else
2619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2620 $as_echo "no" >&6; }
2621   SET_MAKE="MAKE=${MAKE-make}"
2622 fi
2623
2624 rm -rf .tst 2>/dev/null
2625 mkdir .tst 2>/dev/null
2626 if test -d .tst; then
2627   am__leading_dot=.
2628 else
2629   am__leading_dot=_
2630 fi
2631 rmdir .tst 2>/dev/null
2632
2633 # Check whether --enable-silent-rules was given.
2634 if test "${enable_silent_rules+set}" = set; then :
2635   enableval=$enable_silent_rules;
2636 fi
2637
2638 case $enable_silent_rules in # (((
2639   yes) AM_DEFAULT_VERBOSITY=0;;
2640    no) AM_DEFAULT_VERBOSITY=1;;
2641     *) AM_DEFAULT_VERBOSITY=1;;
2642 esac
2643 am_make=${MAKE-make}
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2645 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2646 if ${am_cv_make_support_nested_variables+:} false; then :
2647   $as_echo_n "(cached) " >&6
2648 else
2649   if $as_echo 'TRUE=$(BAR$(V))
2650 BAR0=false
2651 BAR1=true
2652 V=1
2653 am__doit:
2654         @$(TRUE)
2655 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2656   am_cv_make_support_nested_variables=yes
2657 else
2658   am_cv_make_support_nested_variables=no
2659 fi
2660 fi
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2662 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2663 if test $am_cv_make_support_nested_variables = yes; then
2664     AM_V='$(V)'
2665   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2666 else
2667   AM_V=$AM_DEFAULT_VERBOSITY
2668   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2669 fi
2670 AM_BACKSLASH='\'
2671
2672 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2673   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2674   # is not polluted with repeated "-I."
2675   am__isrc=' -I$(srcdir)'
2676   # test to see if srcdir already configured
2677   if test -f $srcdir/config.status; then
2678     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2679   fi
2680 fi
2681
2682 # test whether we have cygpath
2683 if test -z "$CYGPATH_W"; then
2684   if (cygpath --version) >/dev/null 2>/dev/null; then
2685     CYGPATH_W='cygpath -w'
2686   else
2687     CYGPATH_W=echo
2688   fi
2689 fi
2690
2691
2692 # Define the identity of the package.
2693  PACKAGE='vala'
2694  VERSION='0.26.1'
2695
2696
2697 cat >>confdefs.h <<_ACEOF
2698 #define PACKAGE "$PACKAGE"
2699 _ACEOF
2700
2701
2702 cat >>confdefs.h <<_ACEOF
2703 #define VERSION "$VERSION"
2704 _ACEOF
2705
2706 # Some tools Automake needs.
2707
2708 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2709
2710
2711 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2712
2713
2714 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2715
2716
2717 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2718
2719
2720 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2721
2722 # For better backward compatibility.  To be removed once Automake 1.9.x
2723 # dies out for good.  For more background, see:
2724 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2725 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2726 mkdir_p='$(MKDIR_P)'
2727
2728 # We need awk for the "check" target.  The system "awk" is bad on
2729 # some platforms.
2730 # Always define AMTAR for backward compatibility.  Yes, it's still used
2731 # in the wild :-(  We should find a proper way to deprecate it ...
2732 AMTAR='$${TAR-tar}'
2733
2734
2735 # We'll loop over all known methods to create a tar archive until one works.
2736 _am_tools='gnutar  pax cpio none'
2737
2738 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2739
2740
2741
2742
2743
2744
2745 # POSIX will say in a future version that running "rm -f" with no argument
2746 # is OK; and we want to be able to make that assumption in our Makefile
2747 # recipes.  So use an aggressive probe to check that the usage we want is
2748 # actually supported "in the wild" to an acceptable degree.
2749 # See automake bug#10828.
2750 # To make any issue more visible, cause the running configure to be aborted
2751 # by default if the 'rm' program in use doesn't match our expectations; the
2752 # user can still override this though.
2753 if rm -f && rm -fr && rm -rf; then : OK; else
2754   cat >&2 <<'END'
2755 Oops!
2756
2757 Your 'rm' program seems unable to run without file operands specified
2758 on the command line, even when the '-f' option is present.  This is contrary
2759 to the behaviour of most rm programs out there, and not conforming with
2760 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2761
2762 Please tell bug-automake@gnu.org about your system, including the value
2763 of your $PATH and any error possibly output before this message.  This
2764 can help us improve future automake versions.
2765
2766 END
2767   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2768     echo 'Configuration will proceed anyway, since you have set the' >&2
2769     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2770     echo >&2
2771   else
2772     cat >&2 <<'END'
2773 Aborting the configuration process, to ensure you take notice of the issue.
2774
2775 You can download and install GNU coreutils to get an 'rm' implementation
2776 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2777
2778 If you want to complete the configuration process using your problematic
2779 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2780 to "yes", and re-run configure.
2781
2782 END
2783     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2784   fi
2785 fi
2786
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2788 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2789     # Check whether --enable-maintainer-mode was given.
2790 if test "${enable_maintainer_mode+set}" = set; then :
2791   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2792 else
2793   USE_MAINTAINER_MODE=yes
2794 fi
2795
2796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2797 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2798    if test $USE_MAINTAINER_MODE = yes; then
2799   MAINTAINER_MODE_TRUE=
2800   MAINTAINER_MODE_FALSE='#'
2801 else
2802   MAINTAINER_MODE_TRUE='#'
2803   MAINTAINER_MODE_FALSE=
2804 fi
2805
2806   MAINT=$MAINTAINER_MODE_TRUE
2807
2808
2809
2810 PACKAGE_SUFFIX=-0.26
2811
2812 echo \#buildapi-variable-no-builddir >/dev/null
2813
2814
2815
2816 cat >>confdefs.h <<_ACEOF
2817 #define PACKAGE_SUFFIX "$PACKAGE_SUFFIX"
2818 _ACEOF
2819
2820
2821 program_transform_name="s,\$\$,${PACKAGE_SUFFIX},"
2822
2823 pkgdatadir=${datadir}/vala${PACKAGE_SUFFIX}
2824
2825
2826 # Checks for programs.
2827 ac_ext=c
2828 ac_cpp='$CPP $CPPFLAGS'
2829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2832 if test -n "$ac_tool_prefix"; then
2833   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2834 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2836 $as_echo_n "checking for $ac_word... " >&6; }
2837 if ${ac_cv_prog_CC+:} false; then :
2838   $as_echo_n "(cached) " >&6
2839 else
2840   if test -n "$CC"; then
2841   ac_cv_prog_CC="$CC" # Let the user override the test.
2842 else
2843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2844 for as_dir in $PATH
2845 do
2846   IFS=$as_save_IFS
2847   test -z "$as_dir" && as_dir=.
2848     for ac_exec_ext in '' $ac_executable_extensions; do
2849   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2850     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2851     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2852     break 2
2853   fi
2854 done
2855   done
2856 IFS=$as_save_IFS
2857
2858 fi
2859 fi
2860 CC=$ac_cv_prog_CC
2861 if test -n "$CC"; then
2862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2863 $as_echo "$CC" >&6; }
2864 else
2865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2866 $as_echo "no" >&6; }
2867 fi
2868
2869
2870 fi
2871 if test -z "$ac_cv_prog_CC"; then
2872   ac_ct_CC=$CC
2873   # Extract the first word of "gcc", so it can be a program name with args.
2874 set dummy gcc; ac_word=$2
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2876 $as_echo_n "checking for $ac_word... " >&6; }
2877 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2878   $as_echo_n "(cached) " >&6
2879 else
2880   if test -n "$ac_ct_CC"; then
2881   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2882 else
2883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2884 for as_dir in $PATH
2885 do
2886   IFS=$as_save_IFS
2887   test -z "$as_dir" && as_dir=.
2888     for ac_exec_ext in '' $ac_executable_extensions; do
2889   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2890     ac_cv_prog_ac_ct_CC="gcc"
2891     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2892     break 2
2893   fi
2894 done
2895   done
2896 IFS=$as_save_IFS
2897
2898 fi
2899 fi
2900 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2901 if test -n "$ac_ct_CC"; then
2902   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2903 $as_echo "$ac_ct_CC" >&6; }
2904 else
2905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2906 $as_echo "no" >&6; }
2907 fi
2908
2909   if test "x$ac_ct_CC" = x; then
2910     CC=""
2911   else
2912     case $cross_compiling:$ac_tool_warned in
2913 yes:)
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2915 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2916 ac_tool_warned=yes ;;
2917 esac
2918     CC=$ac_ct_CC
2919   fi
2920 else
2921   CC="$ac_cv_prog_CC"
2922 fi
2923
2924 if test -z "$CC"; then
2925           if test -n "$ac_tool_prefix"; then
2926     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2927 set dummy ${ac_tool_prefix}cc; ac_word=$2
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2929 $as_echo_n "checking for $ac_word... " >&6; }
2930 if ${ac_cv_prog_CC+:} false; then :
2931   $as_echo_n "(cached) " >&6
2932 else
2933   if test -n "$CC"; then
2934   ac_cv_prog_CC="$CC" # Let the user override the test.
2935 else
2936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2937 for as_dir in $PATH
2938 do
2939   IFS=$as_save_IFS
2940   test -z "$as_dir" && as_dir=.
2941     for ac_exec_ext in '' $ac_executable_extensions; do
2942   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2943     ac_cv_prog_CC="${ac_tool_prefix}cc"
2944     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2945     break 2
2946   fi
2947 done
2948   done
2949 IFS=$as_save_IFS
2950
2951 fi
2952 fi
2953 CC=$ac_cv_prog_CC
2954 if test -n "$CC"; then
2955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2956 $as_echo "$CC" >&6; }
2957 else
2958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2959 $as_echo "no" >&6; }
2960 fi
2961
2962
2963   fi
2964 fi
2965 if test -z "$CC"; then
2966   # Extract the first word of "cc", so it can be a program name with args.
2967 set dummy cc; ac_word=$2
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2969 $as_echo_n "checking for $ac_word... " >&6; }
2970 if ${ac_cv_prog_CC+:} false; then :
2971   $as_echo_n "(cached) " >&6
2972 else
2973   if test -n "$CC"; then
2974   ac_cv_prog_CC="$CC" # Let the user override the test.
2975 else
2976   ac_prog_rejected=no
2977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2978 for as_dir in $PATH
2979 do
2980   IFS=$as_save_IFS
2981   test -z "$as_dir" && as_dir=.
2982     for ac_exec_ext in '' $ac_executable_extensions; do
2983   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2984     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2985        ac_prog_rejected=yes
2986        continue
2987      fi
2988     ac_cv_prog_CC="cc"
2989     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2990     break 2
2991   fi
2992 done
2993   done
2994 IFS=$as_save_IFS
2995
2996 if test $ac_prog_rejected = yes; then
2997   # We found a bogon in the path, so make sure we never use it.
2998   set dummy $ac_cv_prog_CC
2999   shift
3000   if test $# != 0; then
3001     # We chose a different compiler from the bogus one.
3002     # However, it has the same basename, so the bogon will be chosen
3003     # first if we set CC to just the basename; use the full file name.
3004     shift
3005     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3006   fi
3007 fi
3008 fi
3009 fi
3010 CC=$ac_cv_prog_CC
3011 if test -n "$CC"; then
3012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3013 $as_echo "$CC" >&6; }
3014 else
3015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3016 $as_echo "no" >&6; }
3017 fi
3018
3019
3020 fi
3021 if test -z "$CC"; then
3022   if test -n "$ac_tool_prefix"; then
3023   for ac_prog in cl.exe
3024   do
3025     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3026 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3028 $as_echo_n "checking for $ac_word... " >&6; }
3029 if ${ac_cv_prog_CC+:} false; then :
3030   $as_echo_n "(cached) " >&6
3031 else
3032   if test -n "$CC"; then
3033   ac_cv_prog_CC="$CC" # Let the user override the test.
3034 else
3035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3036 for as_dir in $PATH
3037 do
3038   IFS=$as_save_IFS
3039   test -z "$as_dir" && as_dir=.
3040     for ac_exec_ext in '' $ac_executable_extensions; do
3041   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3042     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3043     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3044     break 2
3045   fi
3046 done
3047   done
3048 IFS=$as_save_IFS
3049
3050 fi
3051 fi
3052 CC=$ac_cv_prog_CC
3053 if test -n "$CC"; then
3054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3055 $as_echo "$CC" >&6; }
3056 else
3057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3058 $as_echo "no" >&6; }
3059 fi
3060
3061
3062     test -n "$CC" && break
3063   done
3064 fi
3065 if test -z "$CC"; then
3066   ac_ct_CC=$CC
3067   for ac_prog in cl.exe
3068 do
3069   # Extract the first word of "$ac_prog", so it can be a program name with args.
3070 set dummy $ac_prog; ac_word=$2
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3072 $as_echo_n "checking for $ac_word... " >&6; }
3073 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3074   $as_echo_n "(cached) " >&6
3075 else
3076   if test -n "$ac_ct_CC"; then
3077   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3078 else
3079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3080 for as_dir in $PATH
3081 do
3082   IFS=$as_save_IFS
3083   test -z "$as_dir" && as_dir=.
3084     for ac_exec_ext in '' $ac_executable_extensions; do
3085   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3086     ac_cv_prog_ac_ct_CC="$ac_prog"
3087     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3088     break 2
3089   fi
3090 done
3091   done
3092 IFS=$as_save_IFS
3093
3094 fi
3095 fi
3096 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3097 if test -n "$ac_ct_CC"; then
3098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3099 $as_echo "$ac_ct_CC" >&6; }
3100 else
3101   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3102 $as_echo "no" >&6; }
3103 fi
3104
3105
3106   test -n "$ac_ct_CC" && break
3107 done
3108
3109   if test "x$ac_ct_CC" = x; then
3110     CC=""
3111   else
3112     case $cross_compiling:$ac_tool_warned in
3113 yes:)
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3115 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3116 ac_tool_warned=yes ;;
3117 esac
3118     CC=$ac_ct_CC
3119   fi
3120 fi
3121
3122 fi
3123
3124
3125 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3126 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3127 as_fn_error $? "no acceptable C compiler found in \$PATH
3128 See \`config.log' for more details" "$LINENO" 5; }
3129
3130 # Provide some information about the compiler.
3131 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3132 set X $ac_compile
3133 ac_compiler=$2
3134 for ac_option in --version -v -V -qversion; do
3135   { { ac_try="$ac_compiler $ac_option >&5"
3136 case "(($ac_try" in
3137   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3138   *) ac_try_echo=$ac_try;;
3139 esac
3140 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3141 $as_echo "$ac_try_echo"; } >&5
3142   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3143   ac_status=$?
3144   if test -s conftest.err; then
3145     sed '10a\
3146 ... rest of stderr output deleted ...
3147          10q' conftest.err >conftest.er1
3148     cat conftest.er1 >&5
3149   fi
3150   rm -f conftest.er1 conftest.err
3151   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3152   test $ac_status = 0; }
3153 done
3154
3155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3156 /* end confdefs.h.  */
3157
3158 int
3159 main ()
3160 {
3161
3162   ;
3163   return 0;
3164 }
3165 _ACEOF
3166 ac_clean_files_save=$ac_clean_files
3167 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3168 # Try to create an executable without -o first, disregard a.out.
3169 # It will help us diagnose broken compilers, and finding out an intuition
3170 # of exeext.
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3172 $as_echo_n "checking whether the C compiler works... " >&6; }
3173 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3174
3175 # The possible output files:
3176 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3177
3178 ac_rmfiles=
3179 for ac_file in $ac_files
3180 do
3181   case $ac_file in
3182     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3183     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3184   esac
3185 done
3186 rm -f $ac_rmfiles
3187
3188 if { { ac_try="$ac_link_default"
3189 case "(($ac_try" in
3190   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3191   *) ac_try_echo=$ac_try;;
3192 esac
3193 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3194 $as_echo "$ac_try_echo"; } >&5
3195   (eval "$ac_link_default") 2>&5
3196   ac_status=$?
3197   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3198   test $ac_status = 0; }; then :
3199   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3200 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3201 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3202 # so that the user can short-circuit this test for compilers unknown to
3203 # Autoconf.
3204 for ac_file in $ac_files ''
3205 do
3206   test -f "$ac_file" || continue
3207   case $ac_file in
3208     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3209         ;;
3210     [ab].out )
3211         # We found the default executable, but exeext='' is most
3212         # certainly right.
3213         break;;
3214     *.* )
3215         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3216         then :; else
3217            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3218         fi
3219         # We set ac_cv_exeext here because the later test for it is not
3220         # safe: cross compilers may not add the suffix if given an `-o'
3221         # argument, so we may need to know it at that point already.
3222         # Even if this section looks crufty: it has the advantage of
3223         # actually working.
3224         break;;
3225     * )
3226         break;;
3227   esac
3228 done
3229 test "$ac_cv_exeext" = no && ac_cv_exeext=
3230
3231 else
3232   ac_file=''
3233 fi
3234 if test -z "$ac_file"; then :
3235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3236 $as_echo "no" >&6; }
3237 $as_echo "$as_me: failed program was:" >&5
3238 sed 's/^/| /' conftest.$ac_ext >&5
3239
3240 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3241 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3242 as_fn_error 77 "C compiler cannot create executables
3243 See \`config.log' for more details" "$LINENO" 5; }
3244 else
3245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3246 $as_echo "yes" >&6; }
3247 fi
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3249 $as_echo_n "checking for C compiler default output file name... " >&6; }
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3251 $as_echo "$ac_file" >&6; }
3252 ac_exeext=$ac_cv_exeext
3253
3254 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3255 ac_clean_files=$ac_clean_files_save
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3257 $as_echo_n "checking for suffix of executables... " >&6; }
3258 if { { ac_try="$ac_link"
3259 case "(($ac_try" in
3260   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3261   *) ac_try_echo=$ac_try;;
3262 esac
3263 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3264 $as_echo "$ac_try_echo"; } >&5
3265   (eval "$ac_link") 2>&5
3266   ac_status=$?
3267   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3268   test $ac_status = 0; }; then :
3269   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3270 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3271 # work properly (i.e., refer to `conftest.exe'), while it won't with
3272 # `rm'.
3273 for ac_file in conftest.exe conftest conftest.*; do
3274   test -f "$ac_file" || continue
3275   case $ac_file in
3276     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3277     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3278           break;;
3279     * ) break;;
3280   esac
3281 done
3282 else
3283   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3284 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3285 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3286 See \`config.log' for more details" "$LINENO" 5; }
3287 fi
3288 rm -f conftest conftest$ac_cv_exeext
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3290 $as_echo "$ac_cv_exeext" >&6; }
3291
3292 rm -f conftest.$ac_ext
3293 EXEEXT=$ac_cv_exeext
3294 ac_exeext=$EXEEXT
3295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3296 /* end confdefs.h.  */
3297 #include <stdio.h>
3298 int
3299 main ()
3300 {
3301 FILE *f = fopen ("conftest.out", "w");
3302  return ferror (f) || fclose (f) != 0;
3303
3304   ;
3305   return 0;
3306 }
3307 _ACEOF
3308 ac_clean_files="$ac_clean_files conftest.out"
3309 # Check that the compiler produces executables we can run.  If not, either
3310 # the compiler is broken, or we cross compile.
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3312 $as_echo_n "checking whether we are cross compiling... " >&6; }
3313 if test "$cross_compiling" != yes; then
3314   { { ac_try="$ac_link"
3315 case "(($ac_try" in
3316   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3317   *) ac_try_echo=$ac_try;;
3318 esac
3319 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3320 $as_echo "$ac_try_echo"; } >&5
3321   (eval "$ac_link") 2>&5
3322   ac_status=$?
3323   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3324   test $ac_status = 0; }
3325   if { ac_try='./conftest$ac_cv_exeext'
3326   { { case "(($ac_try" in
3327   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3328   *) ac_try_echo=$ac_try;;
3329 esac
3330 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3331 $as_echo "$ac_try_echo"; } >&5
3332   (eval "$ac_try") 2>&5
3333   ac_status=$?
3334   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3335   test $ac_status = 0; }; }; then
3336     cross_compiling=no
3337   else
3338     if test "$cross_compiling" = maybe; then
3339         cross_compiling=yes
3340     else
3341         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3342 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3343 as_fn_error $? "cannot run C compiled programs.
3344 If you meant to cross compile, use \`--host'.
3345 See \`config.log' for more details" "$LINENO" 5; }
3346     fi
3347   fi
3348 fi
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3350 $as_echo "$cross_compiling" >&6; }
3351
3352 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3353 ac_clean_files=$ac_clean_files_save
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3355 $as_echo_n "checking for suffix of object files... " >&6; }
3356 if ${ac_cv_objext+:} false; then :
3357   $as_echo_n "(cached) " >&6
3358 else
3359   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3360 /* end confdefs.h.  */
3361
3362 int
3363 main ()
3364 {
3365
3366   ;
3367   return 0;
3368 }
3369 _ACEOF
3370 rm -f conftest.o conftest.obj
3371 if { { ac_try="$ac_compile"
3372 case "(($ac_try" in
3373   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3374   *) ac_try_echo=$ac_try;;
3375 esac
3376 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3377 $as_echo "$ac_try_echo"; } >&5
3378   (eval "$ac_compile") 2>&5
3379   ac_status=$?
3380   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3381   test $ac_status = 0; }; then :
3382   for ac_file in conftest.o conftest.obj conftest.*; do
3383   test -f "$ac_file" || continue;
3384   case $ac_file in
3385     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3386     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3387        break;;
3388   esac
3389 done
3390 else
3391   $as_echo "$as_me: failed program was:" >&5
3392 sed 's/^/| /' conftest.$ac_ext >&5
3393
3394 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3395 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3396 as_fn_error $? "cannot compute suffix of object files: cannot compile
3397 See \`config.log' for more details" "$LINENO" 5; }
3398 fi
3399 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3400 fi
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3402 $as_echo "$ac_cv_objext" >&6; }
3403 OBJEXT=$ac_cv_objext
3404 ac_objext=$OBJEXT
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3406 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3407 if ${ac_cv_c_compiler_gnu+:} false; then :
3408   $as_echo_n "(cached) " >&6
3409 else
3410   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3411 /* end confdefs.h.  */
3412
3413 int
3414 main ()
3415 {
3416 #ifndef __GNUC__
3417        choke me
3418 #endif
3419
3420   ;
3421   return 0;
3422 }
3423 _ACEOF
3424 if ac_fn_c_try_compile "$LINENO"; then :
3425   ac_compiler_gnu=yes
3426 else
3427   ac_compiler_gnu=no
3428 fi
3429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3430 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3431
3432 fi
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3434 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3435 if test $ac_compiler_gnu = yes; then
3436   GCC=yes
3437 else
3438   GCC=
3439 fi
3440 ac_test_CFLAGS=${CFLAGS+set}
3441 ac_save_CFLAGS=$CFLAGS
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3443 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3444 if ${ac_cv_prog_cc_g+:} false; then :
3445   $as_echo_n "(cached) " >&6
3446 else
3447   ac_save_c_werror_flag=$ac_c_werror_flag
3448    ac_c_werror_flag=yes
3449    ac_cv_prog_cc_g=no
3450    CFLAGS="-g"
3451    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3452 /* end confdefs.h.  */
3453
3454 int
3455 main ()
3456 {
3457
3458   ;
3459   return 0;
3460 }
3461 _ACEOF
3462 if ac_fn_c_try_compile "$LINENO"; then :
3463   ac_cv_prog_cc_g=yes
3464 else
3465   CFLAGS=""
3466       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3467 /* end confdefs.h.  */
3468
3469 int
3470 main ()
3471 {
3472
3473   ;
3474   return 0;
3475 }
3476 _ACEOF
3477 if ac_fn_c_try_compile "$LINENO"; then :
3478
3479 else
3480   ac_c_werror_flag=$ac_save_c_werror_flag
3481          CFLAGS="-g"
3482          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3483 /* end confdefs.h.  */
3484
3485 int
3486 main ()
3487 {
3488
3489   ;
3490   return 0;
3491 }
3492 _ACEOF
3493 if ac_fn_c_try_compile "$LINENO"; then :
3494   ac_cv_prog_cc_g=yes
3495 fi
3496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3497 fi
3498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3499 fi
3500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3501    ac_c_werror_flag=$ac_save_c_werror_flag
3502 fi
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3504 $as_echo "$ac_cv_prog_cc_g" >&6; }
3505 if test "$ac_test_CFLAGS" = set; then
3506   CFLAGS=$ac_save_CFLAGS
3507 elif test $ac_cv_prog_cc_g = yes; then
3508   if test "$GCC" = yes; then
3509     CFLAGS="-g -O2"
3510   else
3511     CFLAGS="-g"
3512   fi
3513 else
3514   if test "$GCC" = yes; then
3515     CFLAGS="-O2"
3516   else
3517     CFLAGS=
3518   fi
3519 fi
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3521 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3522 if ${ac_cv_prog_cc_c89+:} false; then :
3523   $as_echo_n "(cached) " >&6
3524 else
3525   ac_cv_prog_cc_c89=no
3526 ac_save_CC=$CC
3527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3528 /* end confdefs.h.  */
3529 #include <stdarg.h>
3530 #include <stdio.h>
3531 struct stat;
3532 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3533 struct buf { int x; };
3534 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3535 static char *e (p, i)
3536      char **p;
3537      int i;
3538 {
3539   return p[i];
3540 }
3541 static char *f (char * (*g) (char **, int), char **p, ...)
3542 {
3543   char *s;
3544   va_list v;
3545   va_start (v,p);
3546   s = g (p, va_arg (v,int));
3547   va_end (v);
3548   return s;
3549 }
3550
3551 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3552    function prototypes and stuff, but not '\xHH' hex character constants.
3553    These don't provoke an error unfortunately, instead are silently treated
3554    as 'x'.  The following induces an error, until -std is added to get
3555    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3556    array size at least.  It's necessary to write '\x00'==0 to get something
3557    that's true only with -std.  */
3558 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3559
3560 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3561    inside strings and character constants.  */
3562 #define FOO(x) 'x'
3563 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3564
3565 int test (int i, double x);
3566 struct s1 {int (*f) (int a);};
3567 struct s2 {int (*f) (double a);};
3568 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3569 int argc;
3570 char **argv;
3571 int
3572 main ()
3573 {
3574 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3575   ;
3576   return 0;
3577 }
3578 _ACEOF
3579 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3580         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3581 do
3582   CC="$ac_save_CC $ac_arg"
3583   if ac_fn_c_try_compile "$LINENO"; then :
3584   ac_cv_prog_cc_c89=$ac_arg
3585 fi
3586 rm -f core conftest.err conftest.$ac_objext
3587   test "x$ac_cv_prog_cc_c89" != "xno" && break
3588 done
3589 rm -f conftest.$ac_ext
3590 CC=$ac_save_CC
3591
3592 fi
3593 # AC_CACHE_VAL
3594 case "x$ac_cv_prog_cc_c89" in
3595   x)
3596     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3597 $as_echo "none needed" >&6; } ;;
3598   xno)
3599     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3600 $as_echo "unsupported" >&6; } ;;
3601   *)
3602     CC="$CC $ac_cv_prog_cc_c89"
3603     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3604 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3605 esac
3606 if test "x$ac_cv_prog_cc_c89" != xno; then :
3607
3608 fi
3609
3610 ac_ext=c
3611 ac_cpp='$CPP $CPPFLAGS'
3612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3615
3616 ac_ext=c
3617 ac_cpp='$CPP $CPPFLAGS'
3618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3622 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3623 if ${am_cv_prog_cc_c_o+:} false; then :
3624   $as_echo_n "(cached) " >&6
3625 else
3626   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3627 /* end confdefs.h.  */
3628
3629 int
3630 main ()
3631 {
3632
3633   ;
3634   return 0;
3635 }
3636 _ACEOF
3637   # Make sure it works both with $CC and with simple cc.
3638   # Following AC_PROG_CC_C_O, we do the test twice because some
3639   # compilers refuse to overwrite an existing .o file with -o,
3640   # though they will create one.
3641   am_cv_prog_cc_c_o=yes
3642   for am_i in 1 2; do
3643     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3644    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3645    ac_status=$?
3646    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3647    (exit $ac_status); } \
3648          && test -f conftest2.$ac_objext; then
3649       : OK
3650     else
3651       am_cv_prog_cc_c_o=no
3652       break
3653     fi
3654   done
3655   rm -f core conftest*
3656   unset am_i
3657 fi
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3659 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3660 if test "$am_cv_prog_cc_c_o" != yes; then
3661    # Losing compiler, so override with the script.
3662    # FIXME: It is wrong to rewrite CC.
3663    # But if we don't then we get into trouble of one sort or another.
3664    # A longer-term fix would be to have automake use am__CC in this case,
3665    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3666    CC="$am_aux_dir/compile $CC"
3667 fi
3668 ac_ext=c
3669 ac_cpp='$CPP $CPPFLAGS'
3670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3673
3674 DEPDIR="${am__leading_dot}deps"
3675
3676 ac_config_commands="$ac_config_commands depfiles"
3677
3678
3679 am_make=${MAKE-make}
3680 cat > confinc << 'END'
3681 am__doit:
3682         @echo this is the am__doit target
3683 .PHONY: am__doit
3684 END
3685 # If we don't find an include directive, just comment out the code.
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3687 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3688 am__include="#"
3689 am__quote=
3690 _am_result=none
3691 # First try GNU make style include.
3692 echo "include confinc" > confmf
3693 # Ignore all kinds of additional output from 'make'.
3694 case `$am_make -s -f confmf 2> /dev/null` in #(
3695 *the\ am__doit\ target*)
3696   am__include=include
3697   am__quote=
3698   _am_result=GNU
3699   ;;
3700 esac
3701 # Now try BSD make style include.
3702 if test "$am__include" = "#"; then
3703    echo '.include "confinc"' > confmf
3704    case `$am_make -s -f confmf 2> /dev/null` in #(
3705    *the\ am__doit\ target*)
3706      am__include=.include
3707      am__quote="\""
3708      _am_result=BSD
3709      ;;
3710    esac
3711 fi
3712
3713
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3715 $as_echo "$_am_result" >&6; }
3716 rm -f confinc confmf
3717
3718 # Check whether --enable-dependency-tracking was given.
3719 if test "${enable_dependency_tracking+set}" = set; then :
3720   enableval=$enable_dependency_tracking;
3721 fi
3722
3723 if test "x$enable_dependency_tracking" != xno; then
3724   am_depcomp="$ac_aux_dir/depcomp"
3725   AMDEPBACKSLASH='\'
3726   am__nodep='_no'
3727 fi
3728  if test "x$enable_dependency_tracking" != xno; then
3729   AMDEP_TRUE=
3730   AMDEP_FALSE='#'
3731 else
3732   AMDEP_TRUE='#'
3733   AMDEP_FALSE=
3734 fi
3735
3736
3737
3738 depcc="$CC"   am_compiler_list=
3739
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3741 $as_echo_n "checking dependency style of $depcc... " >&6; }
3742 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3743   $as_echo_n "(cached) " >&6
3744 else
3745   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3746   # We make a subdir and do the tests there.  Otherwise we can end up
3747   # making bogus files that we don't know about and never remove.  For
3748   # instance it was reported that on HP-UX the gcc test will end up
3749   # making a dummy file named 'D' -- because '-MD' means "put the output
3750   # in D".
3751   rm -rf conftest.dir
3752   mkdir conftest.dir
3753   # Copy depcomp to subdir because otherwise we won't find it if we're
3754   # using a relative directory.
3755   cp "$am_depcomp" conftest.dir
3756   cd conftest.dir
3757   # We will build objects and dependencies in a subdirectory because
3758   # it helps to detect inapplicable dependency modes.  For instance
3759   # both Tru64's cc and ICC support -MD to output dependencies as a
3760   # side effect of compilation, but ICC will put the dependencies in
3761   # the current directory while Tru64 will put them in the object
3762   # directory.
3763   mkdir sub
3764
3765   am_cv_CC_dependencies_compiler_type=none
3766   if test "$am_compiler_list" = ""; then
3767      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3768   fi
3769   am__universal=false
3770   case " $depcc " in #(
3771      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3772      esac
3773
3774   for depmode in $am_compiler_list; do
3775     # Setup a source with many dependencies, because some compilers
3776     # like to wrap large dependency lists on column 80 (with \), and
3777     # we should not choose a depcomp mode which is confused by this.
3778     #
3779     # We need to recreate these files for each test, as the compiler may
3780     # overwrite some of them when testing with obscure command lines.
3781     # This happens at least with the AIX C compiler.
3782     : > sub/conftest.c
3783     for i in 1 2 3 4 5 6; do
3784       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3785       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3786       # Solaris 10 /bin/sh.
3787       echo '/* dummy */' > sub/conftst$i.h
3788     done
3789     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3790
3791     # We check with '-c' and '-o' for the sake of the "dashmstdout"
3792     # mode.  It turns out that the SunPro C++ compiler does not properly
3793     # handle '-M -o', and we need to detect this.  Also, some Intel
3794     # versions had trouble with output in subdirs.
3795     am__obj=sub/conftest.${OBJEXT-o}
3796     am__minus_obj="-o $am__obj"
3797     case $depmode in
3798     gcc)
3799       # This depmode causes a compiler race in universal mode.
3800       test "$am__universal" = false || continue
3801       ;;
3802     nosideeffect)
3803       # After this tag, mechanisms are not by side-effect, so they'll
3804       # only be used when explicitly requested.
3805       if test "x$enable_dependency_tracking" = xyes; then
3806         continue
3807       else
3808         break
3809       fi
3810       ;;
3811     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3812       # This compiler won't grok '-c -o', but also, the minuso test has
3813       # not run yet.  These depmodes are late enough in the game, and
3814       # so weak that their functioning should not be impacted.
3815       am__obj=conftest.${OBJEXT-o}
3816       am__minus_obj=
3817       ;;
3818     none) break ;;
3819     esac
3820     if depmode=$depmode \
3821        source=sub/conftest.c object=$am__obj \
3822        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3823        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3824          >/dev/null 2>conftest.err &&
3825        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3826        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3827        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3828        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3829       # icc doesn't choke on unknown options, it will just issue warnings
3830       # or remarks (even with -Werror).  So we grep stderr for any message
3831       # that says an option was ignored or not supported.
3832       # When given -MP, icc 7.0 and 7.1 complain thusly:
3833       #   icc: Command line warning: ignoring option '-M'; no argument required
3834       # The diagnosis changed in icc 8.0:
3835       #   icc: Command line remark: option '-MP' not supported
3836       if (grep 'ignoring option' conftest.err ||
3837           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3838         am_cv_CC_dependencies_compiler_type=$depmode
3839         break
3840       fi
3841     fi
3842   done
3843
3844   cd ..
3845   rm -rf conftest.dir
3846 else
3847   am_cv_CC_dependencies_compiler_type=none
3848 fi
3849
3850 fi
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3852 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3853 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3854
3855  if
3856   test "x$enable_dependency_tracking" != xno \
3857   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3858   am__fastdepCC_TRUE=
3859   am__fastdepCC_FALSE='#'
3860 else
3861   am__fastdepCC_TRUE='#'
3862   am__fastdepCC_FALSE=
3863 fi
3864
3865
3866
3867 # Check whether --enable-static was given.
3868 if test "${enable_static+set}" = set; then :
3869   enableval=$enable_static; p=${PACKAGE-default}
3870     case $enableval in
3871     yes) enable_static=yes ;;
3872     no) enable_static=no ;;
3873     *)
3874      enable_static=no
3875       # Look at the argument we got.  We use all the common list separators.
3876       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3877       for pkg in $enableval; do
3878         IFS="$lt_save_ifs"
3879         if test "X$pkg" = "X$p"; then
3880           enable_static=yes
3881         fi
3882       done
3883       IFS="$lt_save_ifs"
3884       ;;
3885     esac
3886 else
3887   enable_static=no
3888 fi
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898 case `pwd` in
3899   *\ * | *\     *)
3900     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3901 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3902 esac
3903
3904
3905
3906 macro_version='2.4.2'
3907 macro_revision='1.3337'
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921 ltmain="$ac_aux_dir/ltmain.sh"
3922
3923 # Make sure we can run config.sub.
3924 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3925   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3926
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3928 $as_echo_n "checking build system type... " >&6; }
3929 if ${ac_cv_build+:} false; then :
3930   $as_echo_n "(cached) " >&6
3931 else
3932   ac_build_alias=$build_alias
3933 test "x$ac_build_alias" = x &&
3934   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3935 test "x$ac_build_alias" = x &&
3936   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3937 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3938   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3939
3940 fi
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3942 $as_echo "$ac_cv_build" >&6; }
3943 case $ac_cv_build in
3944 *-*-*) ;;
3945 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3946 esac
3947 build=$ac_cv_build
3948 ac_save_IFS=$IFS; IFS='-'
3949 set x $ac_cv_build
3950 shift
3951 build_cpu=$1
3952 build_vendor=$2
3953 shift; shift
3954 # Remember, the first character of IFS is used to create $*,
3955 # except with old shells:
3956 build_os=$*
3957 IFS=$ac_save_IFS
3958 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3959
3960
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3962 $as_echo_n "checking host system type... " >&6; }
3963 if ${ac_cv_host+:} false; then :
3964   $as_echo_n "(cached) " >&6
3965 else
3966   if test "x$host_alias" = x; then
3967   ac_cv_host=$ac_cv_build
3968 else
3969   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3970     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3971 fi
3972
3973 fi
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3975 $as_echo "$ac_cv_host" >&6; }
3976 case $ac_cv_host in
3977 *-*-*) ;;
3978 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3979 esac
3980 host=$ac_cv_host
3981 ac_save_IFS=$IFS; IFS='-'
3982 set x $ac_cv_host
3983 shift
3984 host_cpu=$1
3985 host_vendor=$2
3986 shift; shift
3987 # Remember, the first character of IFS is used to create $*,
3988 # except with old shells:
3989 host_os=$*
3990 IFS=$ac_save_IFS
3991 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3992
3993
3994 # Backslashify metacharacters that are still active within
3995 # double-quoted strings.
3996 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3997
3998 # Same as above, but do not quote variable references.
3999 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4000
4001 # Sed substitution to delay expansion of an escaped shell variable in a
4002 # double_quote_subst'ed string.
4003 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4004
4005 # Sed substitution to delay expansion of an escaped single quote.
4006 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4007
4008 # Sed substitution to avoid accidental globbing in evaled expressions
4009 no_glob_subst='s/\*/\\\*/g'
4010
4011 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4012 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4013 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4014
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4016 $as_echo_n "checking how to print strings... " >&6; }
4017 # Test print first, because it will be a builtin if present.
4018 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4019    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4020   ECHO='print -r --'
4021 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4022   ECHO='printf %s\n'
4023 else
4024   # Use this function as a fallback that always works.
4025   func_fallback_echo ()
4026   {
4027     eval 'cat <<_LTECHO_EOF
4028 $1
4029 _LTECHO_EOF'
4030   }
4031   ECHO='func_fallback_echo'
4032 fi
4033
4034 # func_echo_all arg...
4035 # Invoke $ECHO with all args, space-separated.
4036 func_echo_all ()
4037 {
4038     $ECHO ""
4039 }
4040
4041 case "$ECHO" in
4042   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4043 $as_echo "printf" >&6; } ;;
4044   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4045 $as_echo "print -r" >&6; } ;;
4046   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4047 $as_echo "cat" >&6; } ;;
4048 esac
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4064 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4065 if ${ac_cv_path_SED+:} false; then :
4066   $as_echo_n "(cached) " >&6
4067 else
4068             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4069      for ac_i in 1 2 3 4 5 6 7; do
4070        ac_script="$ac_script$as_nl$ac_script"
4071      done
4072      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4073      { ac_script=; unset ac_script;}
4074      if test -z "$SED"; then
4075   ac_path_SED_found=false
4076   # Loop through the user's path and test for each of PROGNAME-LIST
4077   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4078 for as_dir in $PATH
4079 do
4080   IFS=$as_save_IFS
4081   test -z "$as_dir" && as_dir=.
4082     for ac_prog in sed gsed; do
4083     for ac_exec_ext in '' $ac_executable_extensions; do
4084       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4085       as_fn_executable_p "$ac_path_SED" || continue
4086 # Check for GNU ac_path_SED and select it if it is found.
4087   # Check for GNU $ac_path_SED
4088 case `"$ac_path_SED" --version 2>&1` in
4089 *GNU*)
4090   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4091 *)
4092   ac_count=0
4093   $as_echo_n 0123456789 >"conftest.in"
4094   while :
4095   do
4096     cat "conftest.in" "conftest.in" >"conftest.tmp"
4097     mv "conftest.tmp" "conftest.in"
4098     cp "conftest.in" "conftest.nl"
4099     $as_echo '' >> "conftest.nl"
4100     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4101     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4102     as_fn_arith $ac_count + 1 && ac_count=$as_val
4103     if test $ac_count -gt ${ac_path_SED_max-0}; then
4104       # Best one so far, save it but keep looking for a better one
4105       ac_cv_path_SED="$ac_path_SED"
4106       ac_path_SED_max=$ac_count
4107     fi
4108     # 10*(2^10) chars as input seems more than enough
4109     test $ac_count -gt 10 && break
4110   done
4111   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4112 esac
4113
4114       $ac_path_SED_found && break 3
4115     done
4116   done
4117   done
4118 IFS=$as_save_IFS
4119   if test -z "$ac_cv_path_SED"; then
4120     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4121   fi
4122 else
4123   ac_cv_path_SED=$SED
4124 fi
4125
4126 fi
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4128 $as_echo "$ac_cv_path_SED" >&6; }
4129  SED="$ac_cv_path_SED"
4130   rm -f conftest.sed
4131
4132 test -z "$SED" && SED=sed
4133 Xsed="$SED -e 1s/^X//"
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4146 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4147 if ${ac_cv_path_GREP+:} false; then :
4148   $as_echo_n "(cached) " >&6
4149 else
4150   if test -z "$GREP"; then
4151   ac_path_GREP_found=false
4152   # Loop through the user's path and test for each of PROGNAME-LIST
4153   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4154 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4155 do
4156   IFS=$as_save_IFS
4157   test -z "$as_dir" && as_dir=.
4158     for ac_prog in grep ggrep; do
4159     for ac_exec_ext in '' $ac_executable_extensions; do
4160       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4161       as_fn_executable_p "$ac_path_GREP" || continue
4162 # Check for GNU ac_path_GREP and select it if it is found.
4163   # Check for GNU $ac_path_GREP
4164 case `"$ac_path_GREP" --version 2>&1` in
4165 *GNU*)
4166   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4167 *)
4168   ac_count=0
4169   $as_echo_n 0123456789 >"conftest.in"
4170   while :
4171   do
4172     cat "conftest.in" "conftest.in" >"conftest.tmp"
4173     mv "conftest.tmp" "conftest.in"
4174     cp "conftest.in" "conftest.nl"
4175     $as_echo 'GREP' >> "conftest.nl"
4176     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4177     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4178     as_fn_arith $ac_count + 1 && ac_count=$as_val
4179     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4180       # Best one so far, save it but keep looking for a better one
4181       ac_cv_path_GREP="$ac_path_GREP"
4182       ac_path_GREP_max=$ac_count
4183     fi
4184     # 10*(2^10) chars as input seems more than enough
4185     test $ac_count -gt 10 && break
4186   done
4187   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4188 esac
4189
4190       $ac_path_GREP_found && break 3
4191     done
4192   done
4193   done
4194 IFS=$as_save_IFS
4195   if test -z "$ac_cv_path_GREP"; then
4196     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4197   fi
4198 else
4199   ac_cv_path_GREP=$GREP
4200 fi
4201
4202 fi
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4204 $as_echo "$ac_cv_path_GREP" >&6; }
4205  GREP="$ac_cv_path_GREP"
4206
4207
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4209 $as_echo_n "checking for egrep... " >&6; }
4210 if ${ac_cv_path_EGREP+:} false; then :
4211   $as_echo_n "(cached) " >&6
4212 else
4213   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4214    then ac_cv_path_EGREP="$GREP -E"
4215    else
4216      if test -z "$EGREP"; then
4217   ac_path_EGREP_found=false
4218   # Loop through the user's path and test for each of PROGNAME-LIST
4219   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4220 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4221 do
4222   IFS=$as_save_IFS
4223   test -z "$as_dir" && as_dir=.
4224     for ac_prog in egrep; do
4225     for ac_exec_ext in '' $ac_executable_extensions; do
4226       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4227       as_fn_executable_p "$ac_path_EGREP" || continue
4228 # Check for GNU ac_path_EGREP and select it if it is found.
4229   # Check for GNU $ac_path_EGREP
4230 case `"$ac_path_EGREP" --version 2>&1` in
4231 *GNU*)
4232   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4233 *)
4234   ac_count=0
4235   $as_echo_n 0123456789 >"conftest.in"
4236   while :
4237   do
4238     cat "conftest.in" "conftest.in" >"conftest.tmp"
4239     mv "conftest.tmp" "conftest.in"
4240     cp "conftest.in" "conftest.nl"
4241     $as_echo 'EGREP' >> "conftest.nl"
4242     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4243     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4244     as_fn_arith $ac_count + 1 && ac_count=$as_val
4245     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4246       # Best one so far, save it but keep looking for a better one
4247       ac_cv_path_EGREP="$ac_path_EGREP"
4248       ac_path_EGREP_max=$ac_count
4249     fi
4250     # 10*(2^10) chars as input seems more than enough
4251     test $ac_count -gt 10 && break
4252   done
4253   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4254 esac
4255
4256       $ac_path_EGREP_found && break 3
4257     done
4258   done
4259   done
4260 IFS=$as_save_IFS
4261   if test -z "$ac_cv_path_EGREP"; then
4262     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4263   fi
4264 else
4265   ac_cv_path_EGREP=$EGREP
4266 fi
4267
4268    fi
4269 fi
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4271 $as_echo "$ac_cv_path_EGREP" >&6; }
4272  EGREP="$ac_cv_path_EGREP"
4273
4274
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4276 $as_echo_n "checking for fgrep... " >&6; }
4277 if ${ac_cv_path_FGREP+:} false; then :
4278   $as_echo_n "(cached) " >&6
4279 else
4280   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4281    then ac_cv_path_FGREP="$GREP -F"
4282    else
4283      if test -z "$FGREP"; then
4284   ac_path_FGREP_found=false
4285   # Loop through the user's path and test for each of PROGNAME-LIST
4286   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4287 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4288 do
4289   IFS=$as_save_IFS
4290   test -z "$as_dir" && as_dir=.
4291     for ac_prog in fgrep; do
4292     for ac_exec_ext in '' $ac_executable_extensions; do
4293       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4294       as_fn_executable_p "$ac_path_FGREP" || continue
4295 # Check for GNU ac_path_FGREP and select it if it is found.
4296   # Check for GNU $ac_path_FGREP
4297 case `"$ac_path_FGREP" --version 2>&1` in
4298 *GNU*)
4299   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4300 *)
4301   ac_count=0
4302   $as_echo_n 0123456789 >"conftest.in"
4303   while :
4304   do
4305     cat "conftest.in" "conftest.in" >"conftest.tmp"
4306     mv "conftest.tmp" "conftest.in"
4307     cp "conftest.in" "conftest.nl"
4308     $as_echo 'FGREP' >> "conftest.nl"
4309     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4310     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4311     as_fn_arith $ac_count + 1 && ac_count=$as_val
4312     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4313       # Best one so far, save it but keep looking for a better one
4314       ac_cv_path_FGREP="$ac_path_FGREP"
4315       ac_path_FGREP_max=$ac_count
4316     fi
4317     # 10*(2^10) chars as input seems more than enough
4318     test $ac_count -gt 10 && break
4319   done
4320   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4321 esac
4322
4323       $ac_path_FGREP_found && break 3
4324     done
4325   done
4326   done
4327 IFS=$as_save_IFS
4328   if test -z "$ac_cv_path_FGREP"; then
4329     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4330   fi
4331 else
4332   ac_cv_path_FGREP=$FGREP
4333 fi
4334
4335    fi
4336 fi
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4338 $as_echo "$ac_cv_path_FGREP" >&6; }
4339  FGREP="$ac_cv_path_FGREP"
4340
4341
4342 test -z "$GREP" && GREP=grep
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362 # Check whether --with-gnu-ld was given.
4363 if test "${with_gnu_ld+set}" = set; then :
4364   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4365 else
4366   with_gnu_ld=no
4367 fi
4368
4369 ac_prog=ld
4370 if test "$GCC" = yes; then
4371   # Check if gcc -print-prog-name=ld gives a path.
4372   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4373 $as_echo_n "checking for ld used by $CC... " >&6; }
4374   case $host in
4375   *-*-mingw*)
4376     # gcc leaves a trailing carriage return which upsets mingw
4377     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4378   *)
4379     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4380   esac
4381   case $ac_prog in
4382     # Accept absolute paths.
4383     [\\/]* | ?:[\\/]*)
4384       re_direlt='/[^/][^/]*/\.\./'
4385       # Canonicalize the pathname of ld
4386       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4387       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4388         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4389       done
4390       test -z "$LD" && LD="$ac_prog"
4391       ;;
4392   "")
4393     # If it fails, then pretend we aren't using GCC.
4394     ac_prog=ld
4395     ;;
4396   *)
4397     # If it is relative, then search for the first ld in PATH.
4398     with_gnu_ld=unknown
4399     ;;
4400   esac
4401 elif test "$with_gnu_ld" = yes; then
4402   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4403 $as_echo_n "checking for GNU ld... " >&6; }
4404 else
4405   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4406 $as_echo_n "checking for non-GNU ld... " >&6; }
4407 fi
4408 if ${lt_cv_path_LD+:} false; then :
4409   $as_echo_n "(cached) " >&6
4410 else
4411   if test -z "$LD"; then
4412   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4413   for ac_dir in $PATH; do
4414     IFS="$lt_save_ifs"
4415     test -z "$ac_dir" && ac_dir=.
4416     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4417       lt_cv_path_LD="$ac_dir/$ac_prog"
4418       # Check to see if the program is GNU ld.  I'd rather use --version,
4419       # but apparently some variants of GNU ld only accept -v.
4420       # Break only if it was the GNU/non-GNU ld that we prefer.
4421       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4422       *GNU* | *'with BFD'*)
4423         test "$with_gnu_ld" != no && break
4424         ;;
4425       *)
4426         test "$with_gnu_ld" != yes && break
4427         ;;
4428       esac
4429     fi
4430   done
4431   IFS="$lt_save_ifs"
4432 else
4433   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4434 fi
4435 fi
4436
4437 LD="$lt_cv_path_LD"
4438 if test -n "$LD"; then
4439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4440 $as_echo "$LD" >&6; }
4441 else
4442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4443 $as_echo "no" >&6; }
4444 fi
4445 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4447 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4448 if ${lt_cv_prog_gnu_ld+:} false; then :
4449   $as_echo_n "(cached) " >&6
4450 else
4451   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4452 case `$LD -v 2>&1 </dev/null` in
4453 *GNU* | *'with BFD'*)
4454   lt_cv_prog_gnu_ld=yes
4455   ;;
4456 *)
4457   lt_cv_prog_gnu_ld=no
4458   ;;
4459 esac
4460 fi
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4462 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4463 with_gnu_ld=$lt_cv_prog_gnu_ld
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4474 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4475 if ${lt_cv_path_NM+:} false; then :
4476   $as_echo_n "(cached) " >&6
4477 else
4478   if test -n "$NM"; then
4479   # Let the user override the test.
4480   lt_cv_path_NM="$NM"
4481 else
4482   lt_nm_to_check="${ac_tool_prefix}nm"
4483   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4484     lt_nm_to_check="$lt_nm_to_check nm"
4485   fi
4486   for lt_tmp_nm in $lt_nm_to_check; do
4487     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4488     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4489       IFS="$lt_save_ifs"
4490       test -z "$ac_dir" && ac_dir=.
4491       tmp_nm="$ac_dir/$lt_tmp_nm"
4492       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4493         # Check to see if the nm accepts a BSD-compat flag.
4494         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4495         #   nm: unknown option "B" ignored
4496         # Tru64's nm complains that /dev/null is an invalid object file
4497         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4498         */dev/null* | *'Invalid file or object type'*)
4499           lt_cv_path_NM="$tmp_nm -B"
4500           break
4501           ;;
4502         *)
4503           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4504           */dev/null*)
4505             lt_cv_path_NM="$tmp_nm -p"
4506             break
4507             ;;
4508           *)
4509             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4510             continue # so that we can try to find one that supports BSD flags
4511             ;;
4512           esac
4513           ;;
4514         esac
4515       fi
4516     done
4517     IFS="$lt_save_ifs"
4518   done
4519   : ${lt_cv_path_NM=no}
4520 fi
4521 fi
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4523 $as_echo "$lt_cv_path_NM" >&6; }
4524 if test "$lt_cv_path_NM" != "no"; then
4525   NM="$lt_cv_path_NM"
4526 else
4527   # Didn't find any BSD compatible name lister, look for dumpbin.
4528   if test -n "$DUMPBIN"; then :
4529     # Let the user override the test.
4530   else
4531     if test -n "$ac_tool_prefix"; then
4532   for ac_prog in dumpbin "link -dump"
4533   do
4534     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4535 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4537 $as_echo_n "checking for $ac_word... " >&6; }
4538 if ${ac_cv_prog_DUMPBIN+:} false; then :
4539   $as_echo_n "(cached) " >&6
4540 else
4541   if test -n "$DUMPBIN"; then
4542   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4543 else
4544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4545 for as_dir in $PATH
4546 do
4547   IFS=$as_save_IFS
4548   test -z "$as_dir" && as_dir=.
4549     for ac_exec_ext in '' $ac_executable_extensions; do
4550   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4551     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4552     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4553     break 2
4554   fi
4555 done
4556   done
4557 IFS=$as_save_IFS
4558
4559 fi
4560 fi
4561 DUMPBIN=$ac_cv_prog_DUMPBIN
4562 if test -n "$DUMPBIN"; then
4563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4564 $as_echo "$DUMPBIN" >&6; }
4565 else
4566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4567 $as_echo "no" >&6; }
4568 fi
4569
4570
4571     test -n "$DUMPBIN" && break
4572   done
4573 fi
4574 if test -z "$DUMPBIN"; then
4575   ac_ct_DUMPBIN=$DUMPBIN
4576   for ac_prog in dumpbin "link -dump"
4577 do
4578   # Extract the first word of "$ac_prog", so it can be a program name with args.
4579 set dummy $ac_prog; ac_word=$2
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4581 $as_echo_n "checking for $ac_word... " >&6; }
4582 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4583   $as_echo_n "(cached) " >&6
4584 else
4585   if test -n "$ac_ct_DUMPBIN"; then
4586   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4587 else
4588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4589 for as_dir in $PATH
4590 do
4591   IFS=$as_save_IFS
4592   test -z "$as_dir" && as_dir=.
4593     for ac_exec_ext in '' $ac_executable_extensions; do
4594   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4595     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4596     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4597     break 2
4598   fi
4599 done
4600   done
4601 IFS=$as_save_IFS
4602
4603 fi
4604 fi
4605 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4606 if test -n "$ac_ct_DUMPBIN"; then
4607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4608 $as_echo "$ac_ct_DUMPBIN" >&6; }
4609 else
4610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4611 $as_echo "no" >&6; }
4612 fi
4613
4614
4615   test -n "$ac_ct_DUMPBIN" && break
4616 done
4617
4618   if test "x$ac_ct_DUMPBIN" = x; then
4619     DUMPBIN=":"
4620   else
4621     case $cross_compiling:$ac_tool_warned in
4622 yes:)
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4624 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4625 ac_tool_warned=yes ;;
4626 esac
4627     DUMPBIN=$ac_ct_DUMPBIN
4628   fi
4629 fi
4630
4631     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4632     *COFF*)
4633       DUMPBIN="$DUMPBIN -symbols"
4634       ;;
4635     *)
4636       DUMPBIN=:
4637       ;;
4638     esac
4639   fi
4640
4641   if test "$DUMPBIN" != ":"; then
4642     NM="$DUMPBIN"
4643   fi
4644 fi
4645 test -z "$NM" && NM=nm
4646
4647
4648
4649
4650
4651
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4653 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4654 if ${lt_cv_nm_interface+:} false; then :
4655   $as_echo_n "(cached) " >&6
4656 else
4657   lt_cv_nm_interface="BSD nm"
4658   echo "int some_variable = 0;" > conftest.$ac_ext
4659   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4660   (eval "$ac_compile" 2>conftest.err)
4661   cat conftest.err >&5
4662   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4663   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4664   cat conftest.err >&5
4665   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4666   cat conftest.out >&5
4667   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4668     lt_cv_nm_interface="MS dumpbin"
4669   fi
4670   rm -f conftest*
4671 fi
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4673 $as_echo "$lt_cv_nm_interface" >&6; }
4674
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4676 $as_echo_n "checking whether ln -s works... " >&6; }
4677 LN_S=$as_ln_s
4678 if test "$LN_S" = "ln -s"; then
4679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4680 $as_echo "yes" >&6; }
4681 else
4682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4683 $as_echo "no, using $LN_S" >&6; }
4684 fi
4685
4686 # find the maximum length of command line arguments
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4688 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4689 if ${lt_cv_sys_max_cmd_len+:} false; then :
4690   $as_echo_n "(cached) " >&6
4691 else
4692     i=0
4693   teststring="ABCD"
4694
4695   case $build_os in
4696   msdosdjgpp*)
4697     # On DJGPP, this test can blow up pretty badly due to problems in libc
4698     # (any single argument exceeding 2000 bytes causes a buffer overrun
4699     # during glob expansion).  Even if it were fixed, the result of this
4700     # check would be larger than it should be.
4701     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4702     ;;
4703
4704   gnu*)
4705     # Under GNU Hurd, this test is not required because there is
4706     # no limit to the length of command line arguments.
4707     # Libtool will interpret -1 as no limit whatsoever
4708     lt_cv_sys_max_cmd_len=-1;
4709     ;;
4710
4711   cygwin* | mingw* | cegcc*)
4712     # On Win9x/ME, this test blows up -- it succeeds, but takes
4713     # about 5 minutes as the teststring grows exponentially.
4714     # Worse, since 9x/ME are not pre-emptively multitasking,
4715     # you end up with a "frozen" computer, even though with patience
4716     # the test eventually succeeds (with a max line length of 256k).
4717     # Instead, let's just punt: use the minimum linelength reported by
4718     # all of the supported platforms: 8192 (on NT/2K/XP).
4719     lt_cv_sys_max_cmd_len=8192;
4720     ;;
4721
4722   mint*)
4723     # On MiNT this can take a long time and run out of memory.
4724     lt_cv_sys_max_cmd_len=8192;
4725     ;;
4726
4727   amigaos*)
4728     # On AmigaOS with pdksh, this test takes hours, literally.
4729     # So we just punt and use a minimum line length of 8192.
4730     lt_cv_sys_max_cmd_len=8192;
4731     ;;
4732
4733   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4734     # This has been around since 386BSD, at least.  Likely further.
4735     if test -x /sbin/sysctl; then
4736       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4737     elif test -x /usr/sbin/sysctl; then
4738       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4739     else
4740       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4741     fi
4742     # And add a safety zone
4743     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4744     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4745     ;;
4746
4747   interix*)
4748     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4749     lt_cv_sys_max_cmd_len=196608
4750     ;;
4751
4752   os2*)
4753     # The test takes a long time on OS/2.
4754     lt_cv_sys_max_cmd_len=8192
4755     ;;
4756
4757   osf*)
4758     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4759     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4760     # nice to cause kernel panics so lets avoid the loop below.
4761     # First set a reasonable default.
4762     lt_cv_sys_max_cmd_len=16384
4763     #
4764     if test -x /sbin/sysconfig; then
4765       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4766         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4767       esac
4768     fi
4769     ;;
4770   sco3.2v5*)
4771     lt_cv_sys_max_cmd_len=102400
4772     ;;
4773   sysv5* | sco5v6* | sysv4.2uw2*)
4774     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4775     if test -n "$kargmax"; then
4776       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4777     else
4778       lt_cv_sys_max_cmd_len=32768
4779     fi
4780     ;;
4781   *)
4782     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4783     if test -n "$lt_cv_sys_max_cmd_len"; then
4784       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4785       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4786     else
4787       # Make teststring a little bigger before we do anything with it.
4788       # a 1K string should be a reasonable start.
4789       for i in 1 2 3 4 5 6 7 8 ; do
4790         teststring=$teststring$teststring
4791       done
4792       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4793       # If test is not a shell built-in, we'll probably end up computing a
4794       # maximum length that is only half of the actual maximum length, but
4795       # we can't tell.
4796       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4797                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4798               test $i != 17 # 1/2 MB should be enough
4799       do
4800         i=`expr $i + 1`
4801         teststring=$teststring$teststring
4802       done
4803       # Only check the string length outside the loop.
4804       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4805       teststring=
4806       # Add a significant safety factor because C++ compilers can tack on
4807       # massive amounts of additional arguments before passing them to the
4808       # linker.  It appears as though 1/2 is a usable value.
4809       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4810     fi
4811     ;;
4812   esac
4813
4814 fi
4815
4816 if test -n $lt_cv_sys_max_cmd_len ; then
4817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4818 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4819 else
4820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4821 $as_echo "none" >&6; }
4822 fi
4823 max_cmd_len=$lt_cv_sys_max_cmd_len
4824
4825
4826
4827
4828
4829
4830 : ${CP="cp -f"}
4831 : ${MV="mv -f"}
4832 : ${RM="rm -f"}
4833
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4835 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4836 # Try some XSI features
4837 xsi_shell=no
4838 ( _lt_dummy="a/b/c"
4839   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4840       = c,a/b,b/c, \
4841     && eval 'test $(( 1 + 1 )) -eq 2 \
4842     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4843   && xsi_shell=yes
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4845 $as_echo "$xsi_shell" >&6; }
4846
4847
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4849 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4850 lt_shell_append=no
4851 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4852     >/dev/null 2>&1 \
4853   && lt_shell_append=yes
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4855 $as_echo "$lt_shell_append" >&6; }
4856
4857
4858 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4859   lt_unset=unset
4860 else
4861   lt_unset=false
4862 fi
4863
4864
4865
4866
4867
4868 # test EBCDIC or ASCII
4869 case `echo X|tr X '\101'` in
4870  A) # ASCII based system
4871     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4872   lt_SP2NL='tr \040 \012'
4873   lt_NL2SP='tr \015\012 \040\040'
4874   ;;
4875  *) # EBCDIC based system
4876   lt_SP2NL='tr \100 \n'
4877   lt_NL2SP='tr \r\n \100\100'
4878   ;;
4879 esac
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4890 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4891 if ${lt_cv_to_host_file_cmd+:} false; then :
4892   $as_echo_n "(cached) " >&6
4893 else
4894   case $host in
4895   *-*-mingw* )
4896     case $build in
4897       *-*-mingw* ) # actually msys
4898         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4899         ;;
4900       *-*-cygwin* )
4901         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4902         ;;
4903       * ) # otherwise, assume *nix
4904         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4905         ;;
4906     esac
4907     ;;
4908   *-*-cygwin* )
4909     case $build in
4910       *-*-mingw* ) # actually msys
4911         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4912         ;;
4913       *-*-cygwin* )
4914         lt_cv_to_host_file_cmd=func_convert_file_noop
4915         ;;
4916       * ) # otherwise, assume *nix
4917         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4918         ;;
4919     esac
4920     ;;
4921   * ) # unhandled hosts (and "normal" native builds)
4922     lt_cv_to_host_file_cmd=func_convert_file_noop
4923     ;;
4924 esac
4925
4926 fi
4927
4928 to_host_file_cmd=$lt_cv_to_host_file_cmd
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4930 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4931
4932
4933
4934
4935
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4937 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4938 if ${lt_cv_to_tool_file_cmd+:} false; then :
4939   $as_echo_n "(cached) " >&6
4940 else
4941   #assume ordinary cross tools, or native build.
4942 lt_cv_to_tool_file_cmd=func_convert_file_noop
4943 case $host in
4944   *-*-mingw* )
4945     case $build in
4946       *-*-mingw* ) # actually msys
4947         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4948         ;;
4949     esac
4950     ;;
4951 esac
4952
4953 fi
4954
4955 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4957 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4958
4959
4960
4961
4962
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4964 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4965 if ${lt_cv_ld_reload_flag+:} false; then :
4966   $as_echo_n "(cached) " >&6
4967 else
4968   lt_cv_ld_reload_flag='-r'
4969 fi
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4971 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4972 reload_flag=$lt_cv_ld_reload_flag
4973 case $reload_flag in
4974 "" | " "*) ;;
4975 *) reload_flag=" $reload_flag" ;;
4976 esac
4977 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4978 case $host_os in
4979   cygwin* | mingw* | pw32* | cegcc*)
4980     if test "$GCC" != yes; then
4981       reload_cmds=false
4982     fi
4983     ;;
4984   darwin*)
4985     if test "$GCC" = yes; then
4986       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4987     else
4988       reload_cmds='$LD$reload_flag -o $output$reload_objs'
4989     fi
4990     ;;
4991 esac
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001 if test -n "$ac_tool_prefix"; then
5002   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5003 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5005 $as_echo_n "checking for $ac_word... " >&6; }
5006 if ${ac_cv_prog_OBJDUMP+:} false; then :
5007   $as_echo_n "(cached) " >&6
5008 else
5009   if test -n "$OBJDUMP"; then
5010   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5011 else
5012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5013 for as_dir in $PATH
5014 do
5015   IFS=$as_save_IFS
5016   test -z "$as_dir" && as_dir=.
5017     for ac_exec_ext in '' $ac_executable_extensions; do
5018   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5019     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5020     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5021     break 2
5022   fi
5023 done
5024   done
5025 IFS=$as_save_IFS
5026
5027 fi
5028 fi
5029 OBJDUMP=$ac_cv_prog_OBJDUMP
5030 if test -n "$OBJDUMP"; then
5031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5032 $as_echo "$OBJDUMP" >&6; }
5033 else
5034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5035 $as_echo "no" >&6; }
5036 fi
5037
5038
5039 fi
5040 if test -z "$ac_cv_prog_OBJDUMP"; then
5041   ac_ct_OBJDUMP=$OBJDUMP
5042   # Extract the first word of "objdump", so it can be a program name with args.
5043 set dummy objdump; ac_word=$2
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5045 $as_echo_n "checking for $ac_word... " >&6; }
5046 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5047   $as_echo_n "(cached) " >&6
5048 else
5049   if test -n "$ac_ct_OBJDUMP"; then
5050   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5051 else
5052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5053 for as_dir in $PATH
5054 do
5055   IFS=$as_save_IFS
5056   test -z "$as_dir" && as_dir=.
5057     for ac_exec_ext in '' $ac_executable_extensions; do
5058   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5059     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5060     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5061     break 2
5062   fi
5063 done
5064   done
5065 IFS=$as_save_IFS
5066
5067 fi
5068 fi
5069 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5070 if test -n "$ac_ct_OBJDUMP"; then
5071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5072 $as_echo "$ac_ct_OBJDUMP" >&6; }
5073 else
5074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5075 $as_echo "no" >&6; }
5076 fi
5077
5078   if test "x$ac_ct_OBJDUMP" = x; then
5079     OBJDUMP="false"
5080   else
5081     case $cross_compiling:$ac_tool_warned in
5082 yes:)
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5084 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5085 ac_tool_warned=yes ;;
5086 esac
5087     OBJDUMP=$ac_ct_OBJDUMP
5088   fi
5089 else
5090   OBJDUMP="$ac_cv_prog_OBJDUMP"
5091 fi
5092
5093 test -z "$OBJDUMP" && OBJDUMP=objdump
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5104 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5105 if ${lt_cv_deplibs_check_method+:} false; then :
5106   $as_echo_n "(cached) " >&6
5107 else
5108   lt_cv_file_magic_cmd='$MAGIC_CMD'
5109 lt_cv_file_magic_test_file=
5110 lt_cv_deplibs_check_method='unknown'
5111 # Need to set the preceding variable on all platforms that support
5112 # interlibrary dependencies.
5113 # 'none' -- dependencies not supported.
5114 # `unknown' -- same as none, but documents that we really don't know.
5115 # 'pass_all' -- all dependencies passed with no checks.
5116 # 'test_compile' -- check by making test program.
5117 # 'file_magic [[regex]]' -- check by looking for files in library path
5118 # which responds to the $file_magic_cmd with a given extended regex.
5119 # If you have `file' or equivalent on your system and you're not sure
5120 # whether `pass_all' will *always* work, you probably want this one.
5121
5122 case $host_os in
5123 aix[4-9]*)
5124   lt_cv_deplibs_check_method=pass_all
5125   ;;
5126
5127 beos*)
5128   lt_cv_deplibs_check_method=pass_all
5129   ;;
5130
5131 bsdi[45]*)
5132   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5133   lt_cv_file_magic_cmd='/usr/bin/file -L'
5134   lt_cv_file_magic_test_file=/shlib/libc.so
5135   ;;
5136
5137 cygwin*)
5138   # func_win32_libid is a shell function defined in ltmain.sh
5139   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5140   lt_cv_file_magic_cmd='func_win32_libid'
5141   ;;
5142
5143 mingw* | pw32*)
5144   # Base MSYS/MinGW do not provide the 'file' command needed by
5145   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5146   # unless we find 'file', for example because we are cross-compiling.
5147   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5148   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5149     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5150     lt_cv_file_magic_cmd='func_win32_libid'
5151   else
5152     # Keep this pattern in sync with the one in func_win32_libid.
5153     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5154     lt_cv_file_magic_cmd='$OBJDUMP -f'
5155   fi
5156   ;;
5157
5158 cegcc*)
5159   # use the weaker test based on 'objdump'. See mingw*.
5160   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5161   lt_cv_file_magic_cmd='$OBJDUMP -f'
5162   ;;
5163
5164 darwin* | rhapsody*)
5165   lt_cv_deplibs_check_method=pass_all
5166   ;;
5167
5168 freebsd* | dragonfly*)
5169   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5170     case $host_cpu in
5171     i*86 )
5172       # Not sure whether the presence of OpenBSD here was a mistake.
5173       # Let's accept both of them until this is cleared up.
5174       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5175       lt_cv_file_magic_cmd=/usr/bin/file
5176       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5177       ;;
5178     esac
5179   else
5180     lt_cv_deplibs_check_method=pass_all
5181   fi
5182   ;;
5183
5184 gnu*)
5185   lt_cv_deplibs_check_method=pass_all
5186   ;;
5187
5188 haiku*)
5189   lt_cv_deplibs_check_method=pass_all
5190   ;;
5191
5192 hpux10.20* | hpux11*)
5193   lt_cv_file_magic_cmd=/usr/bin/file
5194   case $host_cpu in
5195   ia64*)
5196     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5197     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5198     ;;
5199   hppa*64*)
5200     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]'
5201     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5202     ;;
5203   *)
5204     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5205     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5206     ;;
5207   esac
5208   ;;
5209
5210 interix[3-9]*)
5211   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5212   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5213   ;;
5214
5215 irix5* | irix6* | nonstopux*)
5216   case $LD in
5217   *-32|*"-32 ") libmagic=32-bit;;
5218   *-n32|*"-n32 ") libmagic=N32;;
5219   *-64|*"-64 ") libmagic=64-bit;;
5220   *) libmagic=never-match;;
5221   esac
5222   lt_cv_deplibs_check_method=pass_all
5223   ;;
5224
5225 # This must be glibc/ELF.
5226 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5227   lt_cv_deplibs_check_method=pass_all
5228   ;;
5229
5230 netbsd*)
5231   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5232     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5233   else
5234     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5235   fi
5236   ;;
5237
5238 newos6*)
5239   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5240   lt_cv_file_magic_cmd=/usr/bin/file
5241   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5242   ;;
5243
5244 *nto* | *qnx*)
5245   lt_cv_deplibs_check_method=pass_all
5246   ;;
5247
5248 openbsd*)
5249   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5250     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5251   else
5252     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5253   fi
5254   ;;
5255
5256 osf3* | osf4* | osf5*)
5257   lt_cv_deplibs_check_method=pass_all
5258   ;;
5259
5260 rdos*)
5261   lt_cv_deplibs_check_method=pass_all
5262   ;;
5263
5264 solaris*)
5265   lt_cv_deplibs_check_method=pass_all
5266   ;;
5267
5268 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5269   lt_cv_deplibs_check_method=pass_all
5270   ;;
5271
5272 sysv4 | sysv4.3*)
5273   case $host_vendor in
5274   motorola)
5275     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]'
5276     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5277     ;;
5278   ncr)
5279     lt_cv_deplibs_check_method=pass_all
5280     ;;
5281   sequent)
5282     lt_cv_file_magic_cmd='/bin/file'
5283     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5284     ;;
5285   sni)
5286     lt_cv_file_magic_cmd='/bin/file'
5287     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5288     lt_cv_file_magic_test_file=/lib/libc.so
5289     ;;
5290   siemens)
5291     lt_cv_deplibs_check_method=pass_all
5292     ;;
5293   pc)
5294     lt_cv_deplibs_check_method=pass_all
5295     ;;
5296   esac
5297   ;;
5298
5299 tpf*)
5300   lt_cv_deplibs_check_method=pass_all
5301   ;;
5302 esac
5303
5304 fi
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5306 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5307
5308 file_magic_glob=
5309 want_nocaseglob=no
5310 if test "$build" = "$host"; then
5311   case $host_os in
5312   mingw* | pw32*)
5313     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5314       want_nocaseglob=yes
5315     else
5316       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5317     fi
5318     ;;
5319   esac
5320 fi
5321
5322 file_magic_cmd=$lt_cv_file_magic_cmd
5323 deplibs_check_method=$lt_cv_deplibs_check_method
5324 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347 if test -n "$ac_tool_prefix"; then
5348   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5349 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5351 $as_echo_n "checking for $ac_word... " >&6; }
5352 if ${ac_cv_prog_DLLTOOL+:} false; then :
5353   $as_echo_n "(cached) " >&6
5354 else
5355   if test -n "$DLLTOOL"; then
5356   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5357 else
5358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5359 for as_dir in $PATH
5360 do
5361   IFS=$as_save_IFS
5362   test -z "$as_dir" && as_dir=.
5363     for ac_exec_ext in '' $ac_executable_extensions; do
5364   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5365     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5366     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5367     break 2
5368   fi
5369 done
5370   done
5371 IFS=$as_save_IFS
5372
5373 fi
5374 fi
5375 DLLTOOL=$ac_cv_prog_DLLTOOL
5376 if test -n "$DLLTOOL"; then
5377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5378 $as_echo "$DLLTOOL" >&6; }
5379 else
5380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5381 $as_echo "no" >&6; }
5382 fi
5383
5384
5385 fi
5386 if test -z "$ac_cv_prog_DLLTOOL"; then
5387   ac_ct_DLLTOOL=$DLLTOOL
5388   # Extract the first word of "dlltool", so it can be a program name with args.
5389 set dummy dlltool; ac_word=$2
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5391 $as_echo_n "checking for $ac_word... " >&6; }
5392 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5393   $as_echo_n "(cached) " >&6
5394 else
5395   if test -n "$ac_ct_DLLTOOL"; then
5396   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5397 else
5398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5399 for as_dir in $PATH
5400 do
5401   IFS=$as_save_IFS
5402   test -z "$as_dir" && as_dir=.
5403     for ac_exec_ext in '' $ac_executable_extensions; do
5404   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5405     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5406     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5407     break 2
5408   fi
5409 done
5410   done
5411 IFS=$as_save_IFS
5412
5413 fi
5414 fi
5415 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5416 if test -n "$ac_ct_DLLTOOL"; then
5417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5418 $as_echo "$ac_ct_DLLTOOL" >&6; }
5419 else
5420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5421 $as_echo "no" >&6; }
5422 fi
5423
5424   if test "x$ac_ct_DLLTOOL" = x; then
5425     DLLTOOL="false"
5426   else
5427     case $cross_compiling:$ac_tool_warned in
5428 yes:)
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5430 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5431 ac_tool_warned=yes ;;
5432 esac
5433     DLLTOOL=$ac_ct_DLLTOOL
5434   fi
5435 else
5436   DLLTOOL="$ac_cv_prog_DLLTOOL"
5437 fi
5438
5439 test -z "$DLLTOOL" && DLLTOOL=dlltool
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5451 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5452 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5453   $as_echo_n "(cached) " >&6
5454 else
5455   lt_cv_sharedlib_from_linklib_cmd='unknown'
5456
5457 case $host_os in
5458 cygwin* | mingw* | pw32* | cegcc*)
5459   # two different shell functions defined in ltmain.sh
5460   # decide which to use based on capabilities of $DLLTOOL
5461   case `$DLLTOOL --help 2>&1` in
5462   *--identify-strict*)
5463     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5464     ;;
5465   *)
5466     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5467     ;;
5468   esac
5469   ;;
5470 *)
5471   # fallback: assume linklib IS sharedlib
5472   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5473   ;;
5474 esac
5475
5476 fi
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5478 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5479 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5480 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5481
5482
5483
5484
5485
5486
5487
5488
5489 if test -n "$ac_tool_prefix"; then
5490   for ac_prog in ar
5491   do
5492     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5493 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5495 $as_echo_n "checking for $ac_word... " >&6; }
5496 if ${ac_cv_prog_AR+:} false; then :
5497   $as_echo_n "(cached) " >&6
5498 else
5499   if test -n "$AR"; then
5500   ac_cv_prog_AR="$AR" # Let the user override the test.
5501 else
5502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5503 for as_dir in $PATH
5504 do
5505   IFS=$as_save_IFS
5506   test -z "$as_dir" && as_dir=.
5507     for ac_exec_ext in '' $ac_executable_extensions; do
5508   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5509     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5510     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5511     break 2
5512   fi
5513 done
5514   done
5515 IFS=$as_save_IFS
5516
5517 fi
5518 fi
5519 AR=$ac_cv_prog_AR
5520 if test -n "$AR"; then
5521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5522 $as_echo "$AR" >&6; }
5523 else
5524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5525 $as_echo "no" >&6; }
5526 fi
5527
5528
5529     test -n "$AR" && break
5530   done
5531 fi
5532 if test -z "$AR"; then
5533   ac_ct_AR=$AR
5534   for ac_prog in ar
5535 do
5536   # Extract the first word of "$ac_prog", so it can be a program name with args.
5537 set dummy $ac_prog; ac_word=$2
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5539 $as_echo_n "checking for $ac_word... " >&6; }
5540 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5541   $as_echo_n "(cached) " >&6
5542 else
5543   if test -n "$ac_ct_AR"; then
5544   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5545 else
5546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5547 for as_dir in $PATH
5548 do
5549   IFS=$as_save_IFS
5550   test -z "$as_dir" && as_dir=.
5551     for ac_exec_ext in '' $ac_executable_extensions; do
5552   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5553     ac_cv_prog_ac_ct_AR="$ac_prog"
5554     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5555     break 2
5556   fi
5557 done
5558   done
5559 IFS=$as_save_IFS
5560
5561 fi
5562 fi
5563 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5564 if test -n "$ac_ct_AR"; then
5565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5566 $as_echo "$ac_ct_AR" >&6; }
5567 else
5568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5569 $as_echo "no" >&6; }
5570 fi
5571
5572
5573   test -n "$ac_ct_AR" && break
5574 done
5575
5576   if test "x$ac_ct_AR" = x; then
5577     AR="false"
5578   else
5579     case $cross_compiling:$ac_tool_warned in
5580 yes:)
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5582 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5583 ac_tool_warned=yes ;;
5584 esac
5585     AR=$ac_ct_AR
5586   fi
5587 fi
5588
5589 : ${AR=ar}
5590 : ${AR_FLAGS=cru}
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5603 $as_echo_n "checking for archiver @FILE support... " >&6; }
5604 if ${lt_cv_ar_at_file+:} false; then :
5605   $as_echo_n "(cached) " >&6
5606 else
5607   lt_cv_ar_at_file=no
5608    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5609 /* end confdefs.h.  */
5610
5611 int
5612 main ()
5613 {
5614
5615   ;
5616   return 0;
5617 }
5618 _ACEOF
5619 if ac_fn_c_try_compile "$LINENO"; then :
5620   echo conftest.$ac_objext > conftest.lst
5621       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5622       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5623   (eval $lt_ar_try) 2>&5
5624   ac_status=$?
5625   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5626   test $ac_status = 0; }
5627       if test "$ac_status" -eq 0; then
5628         # Ensure the archiver fails upon bogus file names.
5629         rm -f conftest.$ac_objext libconftest.a
5630         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5631   (eval $lt_ar_try) 2>&5
5632   ac_status=$?
5633   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5634   test $ac_status = 0; }
5635         if test "$ac_status" -ne 0; then
5636           lt_cv_ar_at_file=@
5637         fi
5638       fi
5639       rm -f conftest.* libconftest.a
5640
5641 fi
5642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5643
5644 fi
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5646 $as_echo "$lt_cv_ar_at_file" >&6; }
5647
5648 if test "x$lt_cv_ar_at_file" = xno; then
5649   archiver_list_spec=
5650 else
5651   archiver_list_spec=$lt_cv_ar_at_file
5652 fi
5653
5654
5655
5656
5657
5658
5659
5660 if test -n "$ac_tool_prefix"; then
5661   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5662 set dummy ${ac_tool_prefix}strip; ac_word=$2
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5664 $as_echo_n "checking for $ac_word... " >&6; }
5665 if ${ac_cv_prog_STRIP+:} false; then :
5666   $as_echo_n "(cached) " >&6
5667 else
5668   if test -n "$STRIP"; then
5669   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5670 else
5671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5672 for as_dir in $PATH
5673 do
5674   IFS=$as_save_IFS
5675   test -z "$as_dir" && as_dir=.
5676     for ac_exec_ext in '' $ac_executable_extensions; do
5677   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5678     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5679     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5680     break 2
5681   fi
5682 done
5683   done
5684 IFS=$as_save_IFS
5685
5686 fi
5687 fi
5688 STRIP=$ac_cv_prog_STRIP
5689 if test -n "$STRIP"; then
5690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5691 $as_echo "$STRIP" >&6; }
5692 else
5693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5694 $as_echo "no" >&6; }
5695 fi
5696
5697
5698 fi
5699 if test -z "$ac_cv_prog_STRIP"; then
5700   ac_ct_STRIP=$STRIP
5701   # Extract the first word of "strip", so it can be a program name with args.
5702 set dummy strip; ac_word=$2
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5704 $as_echo_n "checking for $ac_word... " >&6; }
5705 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5706   $as_echo_n "(cached) " >&6
5707 else
5708   if test -n "$ac_ct_STRIP"; then
5709   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5710 else
5711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5712 for as_dir in $PATH
5713 do
5714   IFS=$as_save_IFS
5715   test -z "$as_dir" && as_dir=.
5716     for ac_exec_ext in '' $ac_executable_extensions; do
5717   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5718     ac_cv_prog_ac_ct_STRIP="strip"
5719     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5720     break 2
5721   fi
5722 done
5723   done
5724 IFS=$as_save_IFS
5725
5726 fi
5727 fi
5728 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5729 if test -n "$ac_ct_STRIP"; then
5730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5731 $as_echo "$ac_ct_STRIP" >&6; }
5732 else
5733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5734 $as_echo "no" >&6; }
5735 fi
5736
5737   if test "x$ac_ct_STRIP" = x; then
5738     STRIP=":"
5739   else
5740     case $cross_compiling:$ac_tool_warned in
5741 yes:)
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5743 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5744 ac_tool_warned=yes ;;
5745 esac
5746     STRIP=$ac_ct_STRIP
5747   fi
5748 else
5749   STRIP="$ac_cv_prog_STRIP"
5750 fi
5751
5752 test -z "$STRIP" && STRIP=:
5753
5754
5755
5756
5757
5758
5759 if test -n "$ac_tool_prefix"; then
5760   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5761 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5763 $as_echo_n "checking for $ac_word... " >&6; }
5764 if ${ac_cv_prog_RANLIB+:} false; then :
5765   $as_echo_n "(cached) " >&6
5766 else
5767   if test -n "$RANLIB"; then
5768   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5769 else
5770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5771 for as_dir in $PATH
5772 do
5773   IFS=$as_save_IFS
5774   test -z "$as_dir" && as_dir=.
5775     for ac_exec_ext in '' $ac_executable_extensions; do
5776   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5777     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5778     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5779     break 2
5780   fi
5781 done
5782   done
5783 IFS=$as_save_IFS
5784
5785 fi
5786 fi
5787 RANLIB=$ac_cv_prog_RANLIB
5788 if test -n "$RANLIB"; then
5789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5790 $as_echo "$RANLIB" >&6; }
5791 else
5792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5793 $as_echo "no" >&6; }
5794 fi
5795
5796
5797 fi
5798 if test -z "$ac_cv_prog_RANLIB"; then
5799   ac_ct_RANLIB=$RANLIB
5800   # Extract the first word of "ranlib", so it can be a program name with args.
5801 set dummy ranlib; ac_word=$2
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5803 $as_echo_n "checking for $ac_word... " >&6; }
5804 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5805   $as_echo_n "(cached) " >&6
5806 else
5807   if test -n "$ac_ct_RANLIB"; then
5808   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5809 else
5810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5811 for as_dir in $PATH
5812 do
5813   IFS=$as_save_IFS
5814   test -z "$as_dir" && as_dir=.
5815     for ac_exec_ext in '' $ac_executable_extensions; do
5816   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5817     ac_cv_prog_ac_ct_RANLIB="ranlib"
5818     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5819     break 2
5820   fi
5821 done
5822   done
5823 IFS=$as_save_IFS
5824
5825 fi
5826 fi
5827 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5828 if test -n "$ac_ct_RANLIB"; then
5829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5830 $as_echo "$ac_ct_RANLIB" >&6; }
5831 else
5832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5833 $as_echo "no" >&6; }
5834 fi
5835
5836   if test "x$ac_ct_RANLIB" = x; then
5837     RANLIB=":"
5838   else
5839     case $cross_compiling:$ac_tool_warned in
5840 yes:)
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5842 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5843 ac_tool_warned=yes ;;
5844 esac
5845     RANLIB=$ac_ct_RANLIB
5846   fi
5847 else
5848   RANLIB="$ac_cv_prog_RANLIB"
5849 fi
5850
5851 test -z "$RANLIB" && RANLIB=:
5852
5853
5854
5855
5856
5857
5858 # Determine commands to create old-style static archives.
5859 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5860 old_postinstall_cmds='chmod 644 $oldlib'
5861 old_postuninstall_cmds=
5862
5863 if test -n "$RANLIB"; then
5864   case $host_os in
5865   openbsd*)
5866     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5867     ;;
5868   *)
5869     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5870     ;;
5871   esac
5872   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5873 fi
5874
5875 case $host_os in
5876   darwin*)
5877     lock_old_archive_extraction=yes ;;
5878   *)
5879     lock_old_archive_extraction=no ;;
5880 esac
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920 # If no C compiler was specified, use CC.
5921 LTCC=${LTCC-"$CC"}
5922
5923 # If no C compiler flags were specified, use CFLAGS.
5924 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5925
5926 # Allow CC to be a program name with arguments.
5927 compiler=$CC
5928
5929
5930 # Check for command to grab the raw symbol name followed by C symbol from nm.
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5932 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5933 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5934   $as_echo_n "(cached) " >&6
5935 else
5936
5937 # These are sane defaults that work on at least a few old systems.
5938 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5939
5940 # Character class describing NM global symbol codes.
5941 symcode='[BCDEGRST]'
5942
5943 # Regexp to match symbols that can be accessed directly from C.
5944 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5945
5946 # Define system-specific variables.
5947 case $host_os in
5948 aix*)
5949   symcode='[BCDT]'
5950   ;;
5951 cygwin* | mingw* | pw32* | cegcc*)
5952   symcode='[ABCDGISTW]'
5953   ;;
5954 hpux*)
5955   if test "$host_cpu" = ia64; then
5956     symcode='[ABCDEGRST]'
5957   fi
5958   ;;
5959 irix* | nonstopux*)
5960   symcode='[BCDEGRST]'
5961   ;;
5962 osf*)
5963   symcode='[BCDEGQRST]'
5964   ;;
5965 solaris*)
5966   symcode='[BDRT]'
5967   ;;
5968 sco3.2v5*)
5969   symcode='[DT]'
5970   ;;
5971 sysv4.2uw2*)
5972   symcode='[DT]'
5973   ;;
5974 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5975   symcode='[ABDT]'
5976   ;;
5977 sysv4)
5978   symcode='[DFNSTU]'
5979   ;;
5980 esac
5981
5982 # If we're using GNU nm, then use its standard symbol codes.
5983 case `$NM -V 2>&1` in
5984 *GNU* | *'with BFD'*)
5985   symcode='[ABCDGIRSTW]' ;;
5986 esac
5987
5988 # Transform an extracted symbol line into a proper C declaration.
5989 # Some systems (esp. on ia64) link data and code symbols differently,
5990 # so use this general approach.
5991 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5992
5993 # Transform an extracted symbol line into symbol name and symbol address
5994 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5995 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'"
5996
5997 # Handle CRLF in mingw tool chain
5998 opt_cr=
5999 case $build_os in
6000 mingw*)
6001   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6002   ;;
6003 esac
6004
6005 # Try without a prefix underscore, then with it.
6006 for ac_symprfx in "" "_"; do
6007
6008   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6009   symxfrm="\\1 $ac_symprfx\\2 \\2"
6010
6011   # Write the raw and C identifiers.
6012   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6013     # Fake it for dumpbin and say T for any non-static function
6014     # and D for any global variable.
6015     # Also find C++ and __fastcall symbols from MSVC++,
6016     # which start with @ or ?.
6017     lt_cv_sys_global_symbol_pipe="$AWK '"\
6018 "     {last_section=section; section=\$ 3};"\
6019 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6020 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6021 "     \$ 0!~/External *\|/{next};"\
6022 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6023 "     {if(hide[section]) next};"\
6024 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6025 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6026 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6027 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6028 "     ' prfx=^$ac_symprfx"
6029   else
6030     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6031   fi
6032   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6033
6034   # Check to see that the pipe works correctly.
6035   pipe_works=no
6036
6037   rm -f conftest*
6038   cat > conftest.$ac_ext <<_LT_EOF
6039 #ifdef __cplusplus
6040 extern "C" {
6041 #endif
6042 char nm_test_var;
6043 void nm_test_func(void);
6044 void nm_test_func(void){}
6045 #ifdef __cplusplus
6046 }
6047 #endif
6048 int main(){nm_test_var='a';nm_test_func();return(0);}
6049 _LT_EOF
6050
6051   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6052   (eval $ac_compile) 2>&5
6053   ac_status=$?
6054   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6055   test $ac_status = 0; }; then
6056     # Now try to grab the symbols.
6057     nlist=conftest.nm
6058     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6059   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6060   ac_status=$?
6061   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6062   test $ac_status = 0; } && test -s "$nlist"; then
6063       # Try sorting and uniquifying the output.
6064       if sort "$nlist" | uniq > "$nlist"T; then
6065         mv -f "$nlist"T "$nlist"
6066       else
6067         rm -f "$nlist"T
6068       fi
6069
6070       # Make sure that we snagged all the symbols we need.
6071       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6072         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6073           cat <<_LT_EOF > conftest.$ac_ext
6074 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6075 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6076 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6077    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6078 # define LT_DLSYM_CONST
6079 #elif defined(__osf__)
6080 /* This system does not cope well with relocations in const data.  */
6081 # define LT_DLSYM_CONST
6082 #else
6083 # define LT_DLSYM_CONST const
6084 #endif
6085
6086 #ifdef __cplusplus
6087 extern "C" {
6088 #endif
6089
6090 _LT_EOF
6091           # Now generate the symbol file.
6092           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6093
6094           cat <<_LT_EOF >> conftest.$ac_ext
6095
6096 /* The mapping between symbol names and symbols.  */
6097 LT_DLSYM_CONST struct {
6098   const char *name;
6099   void       *address;
6100 }
6101 lt__PROGRAM__LTX_preloaded_symbols[] =
6102 {
6103   { "@PROGRAM@", (void *) 0 },
6104 _LT_EOF
6105           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6106           cat <<\_LT_EOF >> conftest.$ac_ext
6107   {0, (void *) 0}
6108 };
6109
6110 /* This works around a problem in FreeBSD linker */
6111 #ifdef FREEBSD_WORKAROUND
6112 static const void *lt_preloaded_setup() {
6113   return lt__PROGRAM__LTX_preloaded_symbols;
6114 }
6115 #endif
6116
6117 #ifdef __cplusplus
6118 }
6119 #endif
6120 _LT_EOF
6121           # Now try linking the two files.
6122           mv conftest.$ac_objext conftstm.$ac_objext
6123           lt_globsym_save_LIBS=$LIBS
6124           lt_globsym_save_CFLAGS=$CFLAGS
6125           LIBS="conftstm.$ac_objext"
6126           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6127           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6128   (eval $ac_link) 2>&5
6129   ac_status=$?
6130   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6131   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6132             pipe_works=yes
6133           fi
6134           LIBS=$lt_globsym_save_LIBS
6135           CFLAGS=$lt_globsym_save_CFLAGS
6136         else
6137           echo "cannot find nm_test_func in $nlist" >&5
6138         fi
6139       else
6140         echo "cannot find nm_test_var in $nlist" >&5
6141       fi
6142     else
6143       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6144     fi
6145   else
6146     echo "$progname: failed program was:" >&5
6147     cat conftest.$ac_ext >&5
6148   fi
6149   rm -rf conftest* conftst*
6150
6151   # Do not use the global_symbol_pipe unless it works.
6152   if test "$pipe_works" = yes; then
6153     break
6154   else
6155     lt_cv_sys_global_symbol_pipe=
6156   fi
6157 done
6158
6159 fi
6160
6161 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6162   lt_cv_sys_global_symbol_to_cdecl=
6163 fi
6164 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6166 $as_echo "failed" >&6; }
6167 else
6168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6169 $as_echo "ok" >&6; }
6170 fi
6171
6172 # Response file support.
6173 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6174   nm_file_list_spec='@'
6175 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6176   nm_file_list_spec='@'
6177 fi
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6206 $as_echo_n "checking for sysroot... " >&6; }
6207
6208 # Check whether --with-sysroot was given.
6209 if test "${with_sysroot+set}" = set; then :
6210   withval=$with_sysroot;
6211 else
6212   with_sysroot=no
6213 fi
6214
6215
6216 lt_sysroot=
6217 case ${with_sysroot} in #(
6218  yes)
6219    if test "$GCC" = yes; then
6220      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6221    fi
6222    ;; #(
6223  /*)
6224    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6225    ;; #(
6226  no|'')
6227    ;; #(
6228  *)
6229    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6230 $as_echo "${with_sysroot}" >&6; }
6231    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6232    ;;
6233 esac
6234
6235  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6236 $as_echo "${lt_sysroot:-no}" >&6; }
6237
6238
6239
6240
6241
6242 # Check whether --enable-libtool-lock was given.
6243 if test "${enable_libtool_lock+set}" = set; then :
6244   enableval=$enable_libtool_lock;
6245 fi
6246
6247 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6248
6249 # Some flags need to be propagated to the compiler or linker for good
6250 # libtool support.
6251 case $host in
6252 ia64-*-hpux*)
6253   # Find out which ABI we are using.
6254   echo 'int i;' > conftest.$ac_ext
6255   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6256   (eval $ac_compile) 2>&5
6257   ac_status=$?
6258   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6259   test $ac_status = 0; }; then
6260     case `/usr/bin/file conftest.$ac_objext` in
6261       *ELF-32*)
6262         HPUX_IA64_MODE="32"
6263         ;;
6264       *ELF-64*)
6265         HPUX_IA64_MODE="64"
6266         ;;
6267     esac
6268   fi
6269   rm -rf conftest*
6270   ;;
6271 *-*-irix6*)
6272   # Find out which ABI we are using.
6273   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6274   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6275   (eval $ac_compile) 2>&5
6276   ac_status=$?
6277   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6278   test $ac_status = 0; }; then
6279     if test "$lt_cv_prog_gnu_ld" = yes; then
6280       case `/usr/bin/file conftest.$ac_objext` in
6281         *32-bit*)
6282           LD="${LD-ld} -melf32bsmip"
6283           ;;
6284         *N32*)
6285           LD="${LD-ld} -melf32bmipn32"
6286           ;;
6287         *64-bit*)
6288           LD="${LD-ld} -melf64bmip"
6289         ;;
6290       esac
6291     else
6292       case `/usr/bin/file conftest.$ac_objext` in
6293         *32-bit*)
6294           LD="${LD-ld} -32"
6295           ;;
6296         *N32*)
6297           LD="${LD-ld} -n32"
6298           ;;
6299         *64-bit*)
6300           LD="${LD-ld} -64"
6301           ;;
6302       esac
6303     fi
6304   fi
6305   rm -rf conftest*
6306   ;;
6307
6308 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6309 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6310   # Find out which ABI we are using.
6311   echo 'int i;' > conftest.$ac_ext
6312   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6313   (eval $ac_compile) 2>&5
6314   ac_status=$?
6315   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6316   test $ac_status = 0; }; then
6317     case `/usr/bin/file conftest.o` in
6318       *32-bit*)
6319         case $host in
6320           x86_64-*kfreebsd*-gnu)
6321             LD="${LD-ld} -m elf_i386_fbsd"
6322             ;;
6323           x86_64-*linux*)
6324             LD="${LD-ld} -m elf_i386"
6325             ;;
6326           ppc64-*linux*|powerpc64-*linux*)
6327             LD="${LD-ld} -m elf32ppclinux"
6328             ;;
6329           s390x-*linux*)
6330             LD="${LD-ld} -m elf_s390"
6331             ;;
6332           sparc64-*linux*)
6333             LD="${LD-ld} -m elf32_sparc"
6334             ;;
6335         esac
6336         ;;
6337       *64-bit*)
6338         case $host in
6339           x86_64-*kfreebsd*-gnu)
6340             LD="${LD-ld} -m elf_x86_64_fbsd"
6341             ;;
6342           x86_64-*linux*)
6343             LD="${LD-ld} -m elf_x86_64"
6344             ;;
6345           ppc*-*linux*|powerpc*-*linux*)
6346             LD="${LD-ld} -m elf64ppc"
6347             ;;
6348           s390*-*linux*|s390*-*tpf*)
6349             LD="${LD-ld} -m elf64_s390"
6350             ;;
6351           sparc*-*linux*)
6352             LD="${LD-ld} -m elf64_sparc"
6353             ;;
6354         esac
6355         ;;
6356     esac
6357   fi
6358   rm -rf conftest*
6359   ;;
6360
6361 *-*-sco3.2v5*)
6362   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6363   SAVE_CFLAGS="$CFLAGS"
6364   CFLAGS="$CFLAGS -belf"
6365   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6366 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6367 if ${lt_cv_cc_needs_belf+:} false; then :
6368   $as_echo_n "(cached) " >&6
6369 else
6370   ac_ext=c
6371 ac_cpp='$CPP $CPPFLAGS'
6372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6375
6376      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6377 /* end confdefs.h.  */
6378
6379 int
6380 main ()
6381 {
6382
6383   ;
6384   return 0;
6385 }
6386 _ACEOF
6387 if ac_fn_c_try_link "$LINENO"; then :
6388   lt_cv_cc_needs_belf=yes
6389 else
6390   lt_cv_cc_needs_belf=no
6391 fi
6392 rm -f core conftest.err conftest.$ac_objext \
6393     conftest$ac_exeext conftest.$ac_ext
6394      ac_ext=c
6395 ac_cpp='$CPP $CPPFLAGS'
6396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6399
6400 fi
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6402 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6403   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6404     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6405     CFLAGS="$SAVE_CFLAGS"
6406   fi
6407   ;;
6408 *-*solaris*)
6409   # Find out which ABI we are using.
6410   echo 'int i;' > conftest.$ac_ext
6411   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6412   (eval $ac_compile) 2>&5
6413   ac_status=$?
6414   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6415   test $ac_status = 0; }; then
6416     case `/usr/bin/file conftest.o` in
6417     *64-bit*)
6418       case $lt_cv_prog_gnu_ld in
6419       yes*)
6420         case $host in
6421         i?86-*-solaris*)
6422           LD="${LD-ld} -m elf_x86_64"
6423           ;;
6424         sparc*-*-solaris*)
6425           LD="${LD-ld} -m elf64_sparc"
6426           ;;
6427         esac
6428         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6429         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6430           LD="${LD-ld}_sol2"
6431         fi
6432         ;;
6433       *)
6434         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6435           LD="${LD-ld} -64"
6436         fi
6437         ;;
6438       esac
6439       ;;
6440     esac
6441   fi
6442   rm -rf conftest*
6443   ;;
6444 esac
6445
6446 need_locks="$enable_libtool_lock"
6447
6448 if test -n "$ac_tool_prefix"; then
6449   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6450 set dummy ${ac_tool_prefix}mt; ac_word=$2
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6452 $as_echo_n "checking for $ac_word... " >&6; }
6453 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6454   $as_echo_n "(cached) " >&6
6455 else
6456   if test -n "$MANIFEST_TOOL"; then
6457   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6458 else
6459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6460 for as_dir in $PATH
6461 do
6462   IFS=$as_save_IFS
6463   test -z "$as_dir" && as_dir=.
6464     for ac_exec_ext in '' $ac_executable_extensions; do
6465   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6466     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6467     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6468     break 2
6469   fi
6470 done
6471   done
6472 IFS=$as_save_IFS
6473
6474 fi
6475 fi
6476 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6477 if test -n "$MANIFEST_TOOL"; then
6478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6479 $as_echo "$MANIFEST_TOOL" >&6; }
6480 else
6481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6482 $as_echo "no" >&6; }
6483 fi
6484
6485
6486 fi
6487 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6488   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6489   # Extract the first word of "mt", so it can be a program name with args.
6490 set dummy mt; ac_word=$2
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6492 $as_echo_n "checking for $ac_word... " >&6; }
6493 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6494   $as_echo_n "(cached) " >&6
6495 else
6496   if test -n "$ac_ct_MANIFEST_TOOL"; then
6497   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6498 else
6499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6500 for as_dir in $PATH
6501 do
6502   IFS=$as_save_IFS
6503   test -z "$as_dir" && as_dir=.
6504     for ac_exec_ext in '' $ac_executable_extensions; do
6505   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6506     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6507     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6508     break 2
6509   fi
6510 done
6511   done
6512 IFS=$as_save_IFS
6513
6514 fi
6515 fi
6516 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6517 if test -n "$ac_ct_MANIFEST_TOOL"; then
6518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6519 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6520 else
6521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6522 $as_echo "no" >&6; }
6523 fi
6524
6525   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6526     MANIFEST_TOOL=":"
6527   else
6528     case $cross_compiling:$ac_tool_warned in
6529 yes:)
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6531 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6532 ac_tool_warned=yes ;;
6533 esac
6534     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6535   fi
6536 else
6537   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6538 fi
6539
6540 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6542 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6543 if ${lt_cv_path_mainfest_tool+:} false; then :
6544   $as_echo_n "(cached) " >&6
6545 else
6546   lt_cv_path_mainfest_tool=no
6547   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6548   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6549   cat conftest.err >&5
6550   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6551     lt_cv_path_mainfest_tool=yes
6552   fi
6553   rm -f conftest*
6554 fi
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6556 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6557 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6558   MANIFEST_TOOL=:
6559 fi
6560
6561
6562
6563
6564
6565
6566   case $host_os in
6567     rhapsody* | darwin*)
6568     if test -n "$ac_tool_prefix"; then
6569   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6570 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6572 $as_echo_n "checking for $ac_word... " >&6; }
6573 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6574   $as_echo_n "(cached) " >&6
6575 else
6576   if test -n "$DSYMUTIL"; then
6577   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6578 else
6579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6580 for as_dir in $PATH
6581 do
6582   IFS=$as_save_IFS
6583   test -z "$as_dir" && as_dir=.
6584     for ac_exec_ext in '' $ac_executable_extensions; do
6585   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6586     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6587     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6588     break 2
6589   fi
6590 done
6591   done
6592 IFS=$as_save_IFS
6593
6594 fi
6595 fi
6596 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6597 if test -n "$DSYMUTIL"; then
6598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6599 $as_echo "$DSYMUTIL" >&6; }
6600 else
6601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6602 $as_echo "no" >&6; }
6603 fi
6604
6605
6606 fi
6607 if test -z "$ac_cv_prog_DSYMUTIL"; then
6608   ac_ct_DSYMUTIL=$DSYMUTIL
6609   # Extract the first word of "dsymutil", so it can be a program name with args.
6610 set dummy dsymutil; ac_word=$2
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6612 $as_echo_n "checking for $ac_word... " >&6; }
6613 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6614   $as_echo_n "(cached) " >&6
6615 else
6616   if test -n "$ac_ct_DSYMUTIL"; then
6617   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6618 else
6619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6620 for as_dir in $PATH
6621 do
6622   IFS=$as_save_IFS
6623   test -z "$as_dir" && as_dir=.
6624     for ac_exec_ext in '' $ac_executable_extensions; do
6625   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6626     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6627     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6628     break 2
6629   fi
6630 done
6631   done
6632 IFS=$as_save_IFS
6633
6634 fi
6635 fi
6636 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6637 if test -n "$ac_ct_DSYMUTIL"; then
6638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6639 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6640 else
6641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6642 $as_echo "no" >&6; }
6643 fi
6644
6645   if test "x$ac_ct_DSYMUTIL" = x; then
6646     DSYMUTIL=":"
6647   else
6648     case $cross_compiling:$ac_tool_warned in
6649 yes:)
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6651 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6652 ac_tool_warned=yes ;;
6653 esac
6654     DSYMUTIL=$ac_ct_DSYMUTIL
6655   fi
6656 else
6657   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6658 fi
6659
6660     if test -n "$ac_tool_prefix"; then
6661   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6662 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6664 $as_echo_n "checking for $ac_word... " >&6; }
6665 if ${ac_cv_prog_NMEDIT+:} false; then :
6666   $as_echo_n "(cached) " >&6
6667 else
6668   if test -n "$NMEDIT"; then
6669   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6670 else
6671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6672 for as_dir in $PATH
6673 do
6674   IFS=$as_save_IFS
6675   test -z "$as_dir" && as_dir=.
6676     for ac_exec_ext in '' $ac_executable_extensions; do
6677   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6678     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6679     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6680     break 2
6681   fi
6682 done
6683   done
6684 IFS=$as_save_IFS
6685
6686 fi
6687 fi
6688 NMEDIT=$ac_cv_prog_NMEDIT
6689 if test -n "$NMEDIT"; then
6690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6691 $as_echo "$NMEDIT" >&6; }
6692 else
6693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6694 $as_echo "no" >&6; }
6695 fi
6696
6697
6698 fi
6699 if test -z "$ac_cv_prog_NMEDIT"; then
6700   ac_ct_NMEDIT=$NMEDIT
6701   # Extract the first word of "nmedit", so it can be a program name with args.
6702 set dummy nmedit; ac_word=$2
6703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6704 $as_echo_n "checking for $ac_word... " >&6; }
6705 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6706   $as_echo_n "(cached) " >&6
6707 else
6708   if test -n "$ac_ct_NMEDIT"; then
6709   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6710 else
6711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6712 for as_dir in $PATH
6713 do
6714   IFS=$as_save_IFS
6715   test -z "$as_dir" && as_dir=.
6716     for ac_exec_ext in '' $ac_executable_extensions; do
6717   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6718     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6719     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6720     break 2
6721   fi
6722 done
6723   done
6724 IFS=$as_save_IFS
6725
6726 fi
6727 fi
6728 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6729 if test -n "$ac_ct_NMEDIT"; then
6730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6731 $as_echo "$ac_ct_NMEDIT" >&6; }
6732 else
6733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6734 $as_echo "no" >&6; }
6735 fi
6736
6737   if test "x$ac_ct_NMEDIT" = x; then
6738     NMEDIT=":"
6739   else
6740     case $cross_compiling:$ac_tool_warned in
6741 yes:)
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6743 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6744 ac_tool_warned=yes ;;
6745 esac
6746     NMEDIT=$ac_ct_NMEDIT
6747   fi
6748 else
6749   NMEDIT="$ac_cv_prog_NMEDIT"
6750 fi
6751
6752     if test -n "$ac_tool_prefix"; then
6753   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6754 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6756 $as_echo_n "checking for $ac_word... " >&6; }
6757 if ${ac_cv_prog_LIPO+:} false; then :
6758   $as_echo_n "(cached) " >&6
6759 else
6760   if test -n "$LIPO"; then
6761   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6762 else
6763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6764 for as_dir in $PATH
6765 do
6766   IFS=$as_save_IFS
6767   test -z "$as_dir" && as_dir=.
6768     for ac_exec_ext in '' $ac_executable_extensions; do
6769   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6770     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6771     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6772     break 2
6773   fi
6774 done
6775   done
6776 IFS=$as_save_IFS
6777
6778 fi
6779 fi
6780 LIPO=$ac_cv_prog_LIPO
6781 if test -n "$LIPO"; then
6782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6783 $as_echo "$LIPO" >&6; }
6784 else
6785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6786 $as_echo "no" >&6; }
6787 fi
6788
6789
6790 fi
6791 if test -z "$ac_cv_prog_LIPO"; then
6792   ac_ct_LIPO=$LIPO
6793   # Extract the first word of "lipo", so it can be a program name with args.
6794 set dummy lipo; ac_word=$2
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6796 $as_echo_n "checking for $ac_word... " >&6; }
6797 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6798   $as_echo_n "(cached) " >&6
6799 else
6800   if test -n "$ac_ct_LIPO"; then
6801   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6802 else
6803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6804 for as_dir in $PATH
6805 do
6806   IFS=$as_save_IFS
6807   test -z "$as_dir" && as_dir=.
6808     for ac_exec_ext in '' $ac_executable_extensions; do
6809   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6810     ac_cv_prog_ac_ct_LIPO="lipo"
6811     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6812     break 2
6813   fi
6814 done
6815   done
6816 IFS=$as_save_IFS
6817
6818 fi
6819 fi
6820 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6821 if test -n "$ac_ct_LIPO"; then
6822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6823 $as_echo "$ac_ct_LIPO" >&6; }
6824 else
6825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6826 $as_echo "no" >&6; }
6827 fi
6828
6829   if test "x$ac_ct_LIPO" = x; then
6830     LIPO=":"
6831   else
6832     case $cross_compiling:$ac_tool_warned in
6833 yes:)
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6835 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6836 ac_tool_warned=yes ;;
6837 esac
6838     LIPO=$ac_ct_LIPO
6839   fi
6840 else
6841   LIPO="$ac_cv_prog_LIPO"
6842 fi
6843
6844     if test -n "$ac_tool_prefix"; then
6845   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6846 set dummy ${ac_tool_prefix}otool; ac_word=$2
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6848 $as_echo_n "checking for $ac_word... " >&6; }
6849 if ${ac_cv_prog_OTOOL+:} false; then :
6850   $as_echo_n "(cached) " >&6
6851 else
6852   if test -n "$OTOOL"; then
6853   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6854 else
6855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6856 for as_dir in $PATH
6857 do
6858   IFS=$as_save_IFS
6859   test -z "$as_dir" && as_dir=.
6860     for ac_exec_ext in '' $ac_executable_extensions; do
6861   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6862     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6863     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6864     break 2
6865   fi
6866 done
6867   done
6868 IFS=$as_save_IFS
6869
6870 fi
6871 fi
6872 OTOOL=$ac_cv_prog_OTOOL
6873 if test -n "$OTOOL"; then
6874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6875 $as_echo "$OTOOL" >&6; }
6876 else
6877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6878 $as_echo "no" >&6; }
6879 fi
6880
6881
6882 fi
6883 if test -z "$ac_cv_prog_OTOOL"; then
6884   ac_ct_OTOOL=$OTOOL
6885   # Extract the first word of "otool", so it can be a program name with args.
6886 set dummy otool; ac_word=$2
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6888 $as_echo_n "checking for $ac_word... " >&6; }
6889 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6890   $as_echo_n "(cached) " >&6
6891 else
6892   if test -n "$ac_ct_OTOOL"; then
6893   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6894 else
6895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6896 for as_dir in $PATH
6897 do
6898   IFS=$as_save_IFS
6899   test -z "$as_dir" && as_dir=.
6900     for ac_exec_ext in '' $ac_executable_extensions; do
6901   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6902     ac_cv_prog_ac_ct_OTOOL="otool"
6903     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6904     break 2
6905   fi
6906 done
6907   done
6908 IFS=$as_save_IFS
6909
6910 fi
6911 fi
6912 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6913 if test -n "$ac_ct_OTOOL"; then
6914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6915 $as_echo "$ac_ct_OTOOL" >&6; }
6916 else
6917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6918 $as_echo "no" >&6; }
6919 fi
6920
6921   if test "x$ac_ct_OTOOL" = x; then
6922     OTOOL=":"
6923   else
6924     case $cross_compiling:$ac_tool_warned in
6925 yes:)
6926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6927 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6928 ac_tool_warned=yes ;;
6929 esac
6930     OTOOL=$ac_ct_OTOOL
6931   fi
6932 else
6933   OTOOL="$ac_cv_prog_OTOOL"
6934 fi
6935
6936     if test -n "$ac_tool_prefix"; then
6937   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6938 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6940 $as_echo_n "checking for $ac_word... " >&6; }
6941 if ${ac_cv_prog_OTOOL64+:} false; then :
6942   $as_echo_n "(cached) " >&6
6943 else
6944   if test -n "$OTOOL64"; then
6945   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6946 else
6947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6948 for as_dir in $PATH
6949 do
6950   IFS=$as_save_IFS
6951   test -z "$as_dir" && as_dir=.
6952     for ac_exec_ext in '' $ac_executable_extensions; do
6953   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6954     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6955     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6956     break 2
6957   fi
6958 done
6959   done
6960 IFS=$as_save_IFS
6961
6962 fi
6963 fi
6964 OTOOL64=$ac_cv_prog_OTOOL64
6965 if test -n "$OTOOL64"; then
6966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6967 $as_echo "$OTOOL64" >&6; }
6968 else
6969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6970 $as_echo "no" >&6; }
6971 fi
6972
6973
6974 fi
6975 if test -z "$ac_cv_prog_OTOOL64"; then
6976   ac_ct_OTOOL64=$OTOOL64
6977   # Extract the first word of "otool64", so it can be a program name with args.
6978 set dummy otool64; ac_word=$2
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6980 $as_echo_n "checking for $ac_word... " >&6; }
6981 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6982   $as_echo_n "(cached) " >&6
6983 else
6984   if test -n "$ac_ct_OTOOL64"; then
6985   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6986 else
6987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6988 for as_dir in $PATH
6989 do
6990   IFS=$as_save_IFS
6991   test -z "$as_dir" && as_dir=.
6992     for ac_exec_ext in '' $ac_executable_extensions; do
6993   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6994     ac_cv_prog_ac_ct_OTOOL64="otool64"
6995     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6996     break 2
6997   fi
6998 done
6999   done
7000 IFS=$as_save_IFS
7001
7002 fi
7003 fi
7004 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7005 if test -n "$ac_ct_OTOOL64"; then
7006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7007 $as_echo "$ac_ct_OTOOL64" >&6; }
7008 else
7009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7010 $as_echo "no" >&6; }
7011 fi
7012
7013   if test "x$ac_ct_OTOOL64" = x; then
7014     OTOOL64=":"
7015   else
7016     case $cross_compiling:$ac_tool_warned in
7017 yes:)
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7019 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7020 ac_tool_warned=yes ;;
7021 esac
7022     OTOOL64=$ac_ct_OTOOL64
7023   fi
7024 else
7025   OTOOL64="$ac_cv_prog_OTOOL64"
7026 fi
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7055 $as_echo_n "checking for -single_module linker flag... " >&6; }
7056 if ${lt_cv_apple_cc_single_mod+:} false; then :
7057   $as_echo_n "(cached) " >&6
7058 else
7059   lt_cv_apple_cc_single_mod=no
7060       if test -z "${LT_MULTI_MODULE}"; then
7061         # By default we will add the -single_module flag. You can override
7062         # by either setting the environment variable LT_MULTI_MODULE
7063         # non-empty at configure time, or by adding -multi_module to the
7064         # link flags.
7065         rm -rf libconftest.dylib*
7066         echo "int foo(void){return 1;}" > conftest.c
7067         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7068 -dynamiclib -Wl,-single_module conftest.c" >&5
7069         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7070           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7071         _lt_result=$?
7072         # If there is a non-empty error log, and "single_module"
7073         # appears in it, assume the flag caused a linker warning
7074         if test -s conftest.err && $GREP single_module conftest.err; then
7075           cat conftest.err >&5
7076         # Otherwise, if the output was created with a 0 exit code from
7077         # the compiler, it worked.
7078         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7079           lt_cv_apple_cc_single_mod=yes
7080         else
7081           cat conftest.err >&5
7082         fi
7083         rm -rf libconftest.dylib*
7084         rm -f conftest.*
7085       fi
7086 fi
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7088 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7089
7090     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7091 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7092 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7093   $as_echo_n "(cached) " >&6
7094 else
7095   lt_cv_ld_exported_symbols_list=no
7096       save_LDFLAGS=$LDFLAGS
7097       echo "_main" > conftest.sym
7098       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7099       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7100 /* end confdefs.h.  */
7101
7102 int
7103 main ()
7104 {
7105
7106   ;
7107   return 0;
7108 }
7109 _ACEOF
7110 if ac_fn_c_try_link "$LINENO"; then :
7111   lt_cv_ld_exported_symbols_list=yes
7112 else
7113   lt_cv_ld_exported_symbols_list=no
7114 fi
7115 rm -f core conftest.err conftest.$ac_objext \
7116     conftest$ac_exeext conftest.$ac_ext
7117         LDFLAGS="$save_LDFLAGS"
7118
7119 fi
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7121 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7122
7123     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7124 $as_echo_n "checking for -force_load linker flag... " >&6; }
7125 if ${lt_cv_ld_force_load+:} false; then :
7126   $as_echo_n "(cached) " >&6
7127 else
7128   lt_cv_ld_force_load=no
7129       cat > conftest.c << _LT_EOF
7130 int forced_loaded() { return 2;}
7131 _LT_EOF
7132       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7133       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7134       echo "$AR cru libconftest.a conftest.o" >&5
7135       $AR cru libconftest.a conftest.o 2>&5
7136       echo "$RANLIB libconftest.a" >&5
7137       $RANLIB libconftest.a 2>&5
7138       cat > conftest.c << _LT_EOF
7139 int main() { return 0;}
7140 _LT_EOF
7141       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7142       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7143       _lt_result=$?
7144       if test -s conftest.err && $GREP force_load conftest.err; then
7145         cat conftest.err >&5
7146       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7147         lt_cv_ld_force_load=yes
7148       else
7149         cat conftest.err >&5
7150       fi
7151         rm -f conftest.err libconftest.a conftest conftest.c
7152         rm -rf conftest.dSYM
7153
7154 fi
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7156 $as_echo "$lt_cv_ld_force_load" >&6; }
7157     case $host_os in
7158     rhapsody* | darwin1.[012])
7159       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7160     darwin1.*)
7161       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7162     darwin*) # darwin 5.x on
7163       # if running on 10.5 or later, the deployment target defaults
7164       # to the OS version, if on x86, and 10.4, the deployment
7165       # target defaults to 10.4. Don't you love it?
7166       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7167         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7168           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7169         10.[012]*)
7170           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7171         10.*)
7172           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7173       esac
7174     ;;
7175   esac
7176     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7177       _lt_dar_single_mod='$single_module'
7178     fi
7179     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7180       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7181     else
7182       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7183     fi
7184     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7185       _lt_dsymutil='~$DSYMUTIL $lib || :'
7186     else
7187       _lt_dsymutil=
7188     fi
7189     ;;
7190   esac
7191
7192 ac_ext=c
7193 ac_cpp='$CPP $CPPFLAGS'
7194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7198 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7199 # On Suns, sometimes $CPP names a directory.
7200 if test -n "$CPP" && test -d "$CPP"; then
7201   CPP=
7202 fi
7203 if test -z "$CPP"; then
7204   if ${ac_cv_prog_CPP+:} false; then :
7205   $as_echo_n "(cached) " >&6
7206 else
7207       # Double quotes because CPP needs to be expanded
7208     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7209     do
7210       ac_preproc_ok=false
7211 for ac_c_preproc_warn_flag in '' yes
7212 do
7213   # Use a header file that comes with gcc, so configuring glibc
7214   # with a fresh cross-compiler works.
7215   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7216   # <limits.h> exists even on freestanding compilers.
7217   # On the NeXT, cc -E runs the code through the compiler's parser,
7218   # not just through cpp. "Syntax error" is here to catch this case.
7219   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7220 /* end confdefs.h.  */
7221 #ifdef __STDC__
7222 # include <limits.h>
7223 #else
7224 # include <assert.h>
7225 #endif
7226                      Syntax error
7227 _ACEOF
7228 if ac_fn_c_try_cpp "$LINENO"; then :
7229
7230 else
7231   # Broken: fails on valid input.
7232 continue
7233 fi
7234 rm -f conftest.err conftest.i conftest.$ac_ext
7235
7236   # OK, works on sane cases.  Now check whether nonexistent headers
7237   # can be detected and how.
7238   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7239 /* end confdefs.h.  */
7240 #include <ac_nonexistent.h>
7241 _ACEOF
7242 if ac_fn_c_try_cpp "$LINENO"; then :
7243   # Broken: success on invalid input.
7244 continue
7245 else
7246   # Passes both tests.
7247 ac_preproc_ok=:
7248 break
7249 fi
7250 rm -f conftest.err conftest.i conftest.$ac_ext
7251
7252 done
7253 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7254 rm -f conftest.i conftest.err conftest.$ac_ext
7255 if $ac_preproc_ok; then :
7256   break
7257 fi
7258
7259     done
7260     ac_cv_prog_CPP=$CPP
7261
7262 fi
7263   CPP=$ac_cv_prog_CPP
7264 else
7265   ac_cv_prog_CPP=$CPP
7266 fi
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7268 $as_echo "$CPP" >&6; }
7269 ac_preproc_ok=false
7270 for ac_c_preproc_warn_flag in '' yes
7271 do
7272   # Use a header file that comes with gcc, so configuring glibc
7273   # with a fresh cross-compiler works.
7274   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7275   # <limits.h> exists even on freestanding compilers.
7276   # On the NeXT, cc -E runs the code through the compiler's parser,
7277   # not just through cpp. "Syntax error" is here to catch this case.
7278   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7279 /* end confdefs.h.  */
7280 #ifdef __STDC__
7281 # include <limits.h>
7282 #else
7283 # include <assert.h>
7284 #endif
7285                      Syntax error
7286 _ACEOF
7287 if ac_fn_c_try_cpp "$LINENO"; then :
7288
7289 else
7290   # Broken: fails on valid input.
7291 continue
7292 fi
7293 rm -f conftest.err conftest.i conftest.$ac_ext
7294
7295   # OK, works on sane cases.  Now check whether nonexistent headers
7296   # can be detected and how.
7297   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7298 /* end confdefs.h.  */
7299 #include <ac_nonexistent.h>
7300 _ACEOF
7301 if ac_fn_c_try_cpp "$LINENO"; then :
7302   # Broken: success on invalid input.
7303 continue
7304 else
7305   # Passes both tests.
7306 ac_preproc_ok=:
7307 break
7308 fi
7309 rm -f conftest.err conftest.i conftest.$ac_ext
7310
7311 done
7312 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7313 rm -f conftest.i conftest.err conftest.$ac_ext
7314 if $ac_preproc_ok; then :
7315
7316 else
7317   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7318 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7319 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7320 See \`config.log' for more details" "$LINENO" 5; }
7321 fi
7322
7323 ac_ext=c
7324 ac_cpp='$CPP $CPPFLAGS'
7325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7328
7329
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7331 $as_echo_n "checking for ANSI C header files... " >&6; }
7332 if ${ac_cv_header_stdc+:} false; then :
7333   $as_echo_n "(cached) " >&6
7334 else
7335   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7336 /* end confdefs.h.  */
7337 #include <stdlib.h>
7338 #include <stdarg.h>
7339 #include <string.h>
7340 #include <float.h>
7341
7342 int
7343 main ()
7344 {
7345
7346   ;
7347   return 0;
7348 }
7349 _ACEOF
7350 if ac_fn_c_try_compile "$LINENO"; then :
7351   ac_cv_header_stdc=yes
7352 else
7353   ac_cv_header_stdc=no
7354 fi
7355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7356
7357 if test $ac_cv_header_stdc = yes; then
7358   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7359   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7360 /* end confdefs.h.  */
7361 #include <string.h>
7362
7363 _ACEOF
7364 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7365   $EGREP "memchr" >/dev/null 2>&1; then :
7366
7367 else
7368   ac_cv_header_stdc=no
7369 fi
7370 rm -f conftest*
7371
7372 fi
7373
7374 if test $ac_cv_header_stdc = yes; then
7375   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7376   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7377 /* end confdefs.h.  */
7378 #include <stdlib.h>
7379
7380 _ACEOF
7381 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7382   $EGREP "free" >/dev/null 2>&1; then :
7383
7384 else
7385   ac_cv_header_stdc=no
7386 fi
7387 rm -f conftest*
7388
7389 fi
7390
7391 if test $ac_cv_header_stdc = yes; then
7392   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7393   if test "$cross_compiling" = yes; then :
7394   :
7395 else
7396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7397 /* end confdefs.h.  */
7398 #include <ctype.h>
7399 #include <stdlib.h>
7400 #if ((' ' & 0x0FF) == 0x020)
7401 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7402 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7403 #else
7404 # define ISLOWER(c) \
7405                    (('a' <= (c) && (c) <= 'i') \
7406                      || ('j' <= (c) && (c) <= 'r') \
7407                      || ('s' <= (c) && (c) <= 'z'))
7408 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7409 #endif
7410
7411 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7412 int
7413 main ()
7414 {
7415   int i;
7416   for (i = 0; i < 256; i++)
7417     if (XOR (islower (i), ISLOWER (i))
7418         || toupper (i) != TOUPPER (i))
7419       return 2;
7420   return 0;
7421 }
7422 _ACEOF
7423 if ac_fn_c_try_run "$LINENO"; then :
7424
7425 else
7426   ac_cv_header_stdc=no
7427 fi
7428 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7429   conftest.$ac_objext conftest.beam conftest.$ac_ext
7430 fi
7431
7432 fi
7433 fi
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7435 $as_echo "$ac_cv_header_stdc" >&6; }
7436 if test $ac_cv_header_stdc = yes; then
7437
7438 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7439
7440 fi
7441
7442 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7443 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7444                   inttypes.h stdint.h unistd.h
7445 do :
7446   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7447 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7448 "
7449 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7450   cat >>confdefs.h <<_ACEOF
7451 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7452 _ACEOF
7453
7454 fi
7455
7456 done
7457
7458
7459 for ac_header in dlfcn.h
7460 do :
7461   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7462 "
7463 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7464   cat >>confdefs.h <<_ACEOF
7465 #define HAVE_DLFCN_H 1
7466 _ACEOF
7467
7468 fi
7469
7470 done
7471
7472
7473
7474
7475
7476 # Set options
7477
7478
7479
7480         enable_dlopen=no
7481
7482
7483   enable_win32_dll=no
7484
7485
7486             # Check whether --enable-shared was given.
7487 if test "${enable_shared+set}" = set; then :
7488   enableval=$enable_shared; p=${PACKAGE-default}
7489     case $enableval in
7490     yes) enable_shared=yes ;;
7491     no) enable_shared=no ;;
7492     *)
7493       enable_shared=no
7494       # Look at the argument we got.  We use all the common list separators.
7495       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7496       for pkg in $enableval; do
7497         IFS="$lt_save_ifs"
7498         if test "X$pkg" = "X$p"; then
7499           enable_shared=yes
7500         fi
7501       done
7502       IFS="$lt_save_ifs"
7503       ;;
7504     esac
7505 else
7506   enable_shared=yes
7507 fi
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519 # Check whether --with-pic was given.
7520 if test "${with_pic+set}" = set; then :
7521   withval=$with_pic; lt_p=${PACKAGE-default}
7522     case $withval in
7523     yes|no) pic_mode=$withval ;;
7524     *)
7525       pic_mode=default
7526       # Look at the argument we got.  We use all the common list separators.
7527       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7528       for lt_pkg in $withval; do
7529         IFS="$lt_save_ifs"
7530         if test "X$lt_pkg" = "X$lt_p"; then
7531           pic_mode=yes
7532         fi
7533       done
7534       IFS="$lt_save_ifs"
7535       ;;
7536     esac
7537 else
7538   pic_mode=default
7539 fi
7540
7541
7542 test -z "$pic_mode" && pic_mode=default
7543
7544
7545
7546
7547
7548
7549
7550   # Check whether --enable-fast-install was given.
7551 if test "${enable_fast_install+set}" = set; then :
7552   enableval=$enable_fast_install; p=${PACKAGE-default}
7553     case $enableval in
7554     yes) enable_fast_install=yes ;;
7555     no) enable_fast_install=no ;;
7556     *)
7557       enable_fast_install=no
7558       # Look at the argument we got.  We use all the common list separators.
7559       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7560       for pkg in $enableval; do
7561         IFS="$lt_save_ifs"
7562         if test "X$pkg" = "X$p"; then
7563           enable_fast_install=yes
7564         fi
7565       done
7566       IFS="$lt_save_ifs"
7567       ;;
7568     esac
7569 else
7570   enable_fast_install=yes
7571 fi
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583 # This can be used to rebuild libtool when needed
7584 LIBTOOL_DEPS="$ltmain"
7585
7586 # Always use our own libtool.
7587 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618 test -z "$LN_S" && LN_S="ln -s"
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633 if test -n "${ZSH_VERSION+set}" ; then
7634    setopt NO_GLOB_SUBST
7635 fi
7636
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7638 $as_echo_n "checking for objdir... " >&6; }
7639 if ${lt_cv_objdir+:} false; then :
7640   $as_echo_n "(cached) " >&6
7641 else
7642   rm -f .libs 2>/dev/null
7643 mkdir .libs 2>/dev/null
7644 if test -d .libs; then
7645   lt_cv_objdir=.libs
7646 else
7647   # MS-DOS does not allow filenames that begin with a dot.
7648   lt_cv_objdir=_libs
7649 fi
7650 rmdir .libs 2>/dev/null
7651 fi
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7653 $as_echo "$lt_cv_objdir" >&6; }
7654 objdir=$lt_cv_objdir
7655
7656
7657
7658
7659
7660 cat >>confdefs.h <<_ACEOF
7661 #define LT_OBJDIR "$lt_cv_objdir/"
7662 _ACEOF
7663
7664
7665
7666
7667 case $host_os in
7668 aix3*)
7669   # AIX sometimes has problems with the GCC collect2 program.  For some
7670   # reason, if we set the COLLECT_NAMES environment variable, the problems
7671   # vanish in a puff of smoke.
7672   if test "X${COLLECT_NAMES+set}" != Xset; then
7673     COLLECT_NAMES=
7674     export COLLECT_NAMES
7675   fi
7676   ;;
7677 esac
7678
7679 # Global variables:
7680 ofile=libtool
7681 can_build_shared=yes
7682
7683 # All known linkers require a `.a' archive for static linking (except MSVC,
7684 # which needs '.lib').
7685 libext=a
7686
7687 with_gnu_ld="$lt_cv_prog_gnu_ld"
7688
7689 old_CC="$CC"
7690 old_CFLAGS="$CFLAGS"
7691
7692 # Set sane defaults for various variables
7693 test -z "$CC" && CC=cc
7694 test -z "$LTCC" && LTCC=$CC
7695 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7696 test -z "$LD" && LD=ld
7697 test -z "$ac_objext" && ac_objext=o
7698
7699 for cc_temp in $compiler""; do
7700   case $cc_temp in
7701     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7702     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7703     \-*) ;;
7704     *) break;;
7705   esac
7706 done
7707 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7708
7709
7710 # Only perform the check for file, if the check method requires it
7711 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7712 case $deplibs_check_method in
7713 file_magic*)
7714   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7715     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7716 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7717 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7718   $as_echo_n "(cached) " >&6
7719 else
7720   case $MAGIC_CMD in
7721 [\\/*] |  ?:[\\/]*)
7722   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7723   ;;
7724 *)
7725   lt_save_MAGIC_CMD="$MAGIC_CMD"
7726   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7727   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7728   for ac_dir in $ac_dummy; do
7729     IFS="$lt_save_ifs"
7730     test -z "$ac_dir" && ac_dir=.
7731     if test -f $ac_dir/${ac_tool_prefix}file; then
7732       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7733       if test -n "$file_magic_test_file"; then
7734         case $deplibs_check_method in
7735         "file_magic "*)
7736           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7737           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7738           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7739             $EGREP "$file_magic_regex" > /dev/null; then
7740             :
7741           else
7742             cat <<_LT_EOF 1>&2
7743
7744 *** Warning: the command libtool uses to detect shared libraries,
7745 *** $file_magic_cmd, produces output that libtool cannot recognize.
7746 *** The result is that libtool may fail to recognize shared libraries
7747 *** as such.  This will affect the creation of libtool libraries that
7748 *** depend on shared libraries, but programs linked with such libtool
7749 *** libraries will work regardless of this problem.  Nevertheless, you
7750 *** may want to report the problem to your system manager and/or to
7751 *** bug-libtool@gnu.org
7752
7753 _LT_EOF
7754           fi ;;
7755         esac
7756       fi
7757       break
7758     fi
7759   done
7760   IFS="$lt_save_ifs"
7761   MAGIC_CMD="$lt_save_MAGIC_CMD"
7762   ;;
7763 esac
7764 fi
7765
7766 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7767 if test -n "$MAGIC_CMD"; then
7768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7769 $as_echo "$MAGIC_CMD" >&6; }
7770 else
7771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7772 $as_echo "no" >&6; }
7773 fi
7774
7775
7776
7777
7778
7779 if test -z "$lt_cv_path_MAGIC_CMD"; then
7780   if test -n "$ac_tool_prefix"; then
7781     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7782 $as_echo_n "checking for file... " >&6; }
7783 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7784   $as_echo_n "(cached) " >&6
7785 else
7786   case $MAGIC_CMD in
7787 [\\/*] |  ?:[\\/]*)
7788   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7789   ;;
7790 *)
7791   lt_save_MAGIC_CMD="$MAGIC_CMD"
7792   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7793   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7794   for ac_dir in $ac_dummy; do
7795     IFS="$lt_save_ifs"
7796     test -z "$ac_dir" && ac_dir=.
7797     if test -f $ac_dir/file; then
7798       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7799       if test -n "$file_magic_test_file"; then
7800         case $deplibs_check_method in
7801         "file_magic "*)
7802           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7803           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7804           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7805             $EGREP "$file_magic_regex" > /dev/null; then
7806             :
7807           else
7808             cat <<_LT_EOF 1>&2
7809
7810 *** Warning: the command libtool uses to detect shared libraries,
7811 *** $file_magic_cmd, produces output that libtool cannot recognize.
7812 *** The result is that libtool may fail to recognize shared libraries
7813 *** as such.  This will affect the creation of libtool libraries that
7814 *** depend on shared libraries, but programs linked with such libtool
7815 *** libraries will work regardless of this problem.  Nevertheless, you
7816 *** may want to report the problem to your system manager and/or to
7817 *** bug-libtool@gnu.org
7818
7819 _LT_EOF
7820           fi ;;
7821         esac
7822       fi
7823       break
7824     fi
7825   done
7826   IFS="$lt_save_ifs"
7827   MAGIC_CMD="$lt_save_MAGIC_CMD"
7828   ;;
7829 esac
7830 fi
7831
7832 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7833 if test -n "$MAGIC_CMD"; then
7834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7835 $as_echo "$MAGIC_CMD" >&6; }
7836 else
7837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7838 $as_echo "no" >&6; }
7839 fi
7840
7841
7842   else
7843     MAGIC_CMD=:
7844   fi
7845 fi
7846
7847   fi
7848   ;;
7849 esac
7850
7851 # Use C for the default configuration in the libtool script
7852
7853 lt_save_CC="$CC"
7854 ac_ext=c
7855 ac_cpp='$CPP $CPPFLAGS'
7856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7859
7860
7861 # Source file extension for C test sources.
7862 ac_ext=c
7863
7864 # Object file extension for compiled C test sources.
7865 objext=o
7866 objext=$objext
7867
7868 # Code to be used in simple compile tests
7869 lt_simple_compile_test_code="int some_variable = 0;"
7870
7871 # Code to be used in simple link tests
7872 lt_simple_link_test_code='int main(){return(0);}'
7873
7874
7875
7876
7877
7878
7879
7880 # If no C compiler was specified, use CC.
7881 LTCC=${LTCC-"$CC"}
7882
7883 # If no C compiler flags were specified, use CFLAGS.
7884 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7885
7886 # Allow CC to be a program name with arguments.
7887 compiler=$CC
7888
7889 # Save the default compiler, since it gets overwritten when the other
7890 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7891 compiler_DEFAULT=$CC
7892
7893 # save warnings/boilerplate of simple test code
7894 ac_outfile=conftest.$ac_objext
7895 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7896 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7897 _lt_compiler_boilerplate=`cat conftest.err`
7898 $RM conftest*
7899
7900 ac_outfile=conftest.$ac_objext
7901 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7902 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7903 _lt_linker_boilerplate=`cat conftest.err`
7904 $RM -r conftest*
7905
7906
7907 ## CAVEAT EMPTOR:
7908 ## There is no encapsulation within the following macros, do not change
7909 ## the running order or otherwise move them around unless you know exactly
7910 ## what you are doing...
7911 if test -n "$compiler"; then
7912
7913 lt_prog_compiler_no_builtin_flag=
7914
7915 if test "$GCC" = yes; then
7916   case $cc_basename in
7917   nvcc*)
7918     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7919   *)
7920     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7921   esac
7922
7923   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7924 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7925 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7926   $as_echo_n "(cached) " >&6
7927 else
7928   lt_cv_prog_compiler_rtti_exceptions=no
7929    ac_outfile=conftest.$ac_objext
7930    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7931    lt_compiler_flag="-fno-rtti -fno-exceptions"
7932    # Insert the option either (1) after the last *FLAGS variable, or
7933    # (2) before a word containing "conftest.", or (3) at the end.
7934    # Note that $ac_compile itself does not contain backslashes and begins
7935    # with a dollar sign (not a hyphen), so the echo should work correctly.
7936    # The option is referenced via a variable to avoid confusing sed.
7937    lt_compile=`echo "$ac_compile" | $SED \
7938    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7939    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7940    -e 's:$: $lt_compiler_flag:'`
7941    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7942    (eval "$lt_compile" 2>conftest.err)
7943    ac_status=$?
7944    cat conftest.err >&5
7945    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7946    if (exit $ac_status) && test -s "$ac_outfile"; then
7947      # The compiler can only warn and ignore the option if not recognized
7948      # So say no if there are warnings other than the usual output.
7949      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7950      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7951      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7952        lt_cv_prog_compiler_rtti_exceptions=yes
7953      fi
7954    fi
7955    $RM conftest*
7956
7957 fi
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7959 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7960
7961 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7962     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7963 else
7964     :
7965 fi
7966
7967 fi
7968
7969
7970
7971
7972
7973
7974   lt_prog_compiler_wl=
7975 lt_prog_compiler_pic=
7976 lt_prog_compiler_static=
7977
7978
7979   if test "$GCC" = yes; then
7980     lt_prog_compiler_wl='-Wl,'
7981     lt_prog_compiler_static='-static'
7982
7983     case $host_os in
7984       aix*)
7985       # All AIX code is PIC.
7986       if test "$host_cpu" = ia64; then
7987         # AIX 5 now supports IA64 processor
7988         lt_prog_compiler_static='-Bstatic'
7989       fi
7990       ;;
7991
7992     amigaos*)
7993       case $host_cpu in
7994       powerpc)
7995             # see comment about AmigaOS4 .so support
7996             lt_prog_compiler_pic='-fPIC'
7997         ;;
7998       m68k)
7999             # FIXME: we need at least 68020 code to build shared libraries, but
8000             # adding the `-m68020' flag to GCC prevents building anything better,
8001             # like `-m68040'.
8002             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8003         ;;
8004       esac
8005       ;;
8006
8007     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8008       # PIC is the default for these OSes.
8009       ;;
8010
8011     mingw* | cygwin* | pw32* | os2* | cegcc*)
8012       # This hack is so that the source file can tell whether it is being
8013       # built for inclusion in a dll (and should export symbols for example).
8014       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8015       # (--disable-auto-import) libraries
8016       lt_prog_compiler_pic='-DDLL_EXPORT'
8017       ;;
8018
8019     darwin* | rhapsody*)
8020       # PIC is the default on this platform
8021       # Common symbols not allowed in MH_DYLIB files
8022       lt_prog_compiler_pic='-fno-common'
8023       ;;
8024
8025     haiku*)
8026       # PIC is the default for Haiku.
8027       # The "-static" flag exists, but is broken.
8028       lt_prog_compiler_static=
8029       ;;
8030
8031     hpux*)
8032       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8033       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8034       # sets the default TLS model and affects inlining.
8035       case $host_cpu in
8036       hppa*64*)
8037         # +Z the default
8038         ;;
8039       *)
8040         lt_prog_compiler_pic='-fPIC'
8041         ;;
8042       esac
8043       ;;
8044
8045     interix[3-9]*)
8046       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8047       # Instead, we relocate shared libraries at runtime.
8048       ;;
8049
8050     msdosdjgpp*)
8051       # Just because we use GCC doesn't mean we suddenly get shared libraries
8052       # on systems that don't support them.
8053       lt_prog_compiler_can_build_shared=no
8054       enable_shared=no
8055       ;;
8056
8057     *nto* | *qnx*)
8058       # QNX uses GNU C++, but need to define -shared option too, otherwise
8059       # it will coredump.
8060       lt_prog_compiler_pic='-fPIC -shared'
8061       ;;
8062
8063     sysv4*MP*)
8064       if test -d /usr/nec; then
8065         lt_prog_compiler_pic=-Kconform_pic
8066       fi
8067       ;;
8068
8069     *)
8070       lt_prog_compiler_pic='-fPIC'
8071       ;;
8072     esac
8073
8074     case $cc_basename in
8075     nvcc*) # Cuda Compiler Driver 2.2
8076       lt_prog_compiler_wl='-Xlinker '
8077       if test -n "$lt_prog_compiler_pic"; then
8078         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8079       fi
8080       ;;
8081     esac
8082   else
8083     # PORTME Check for flag to pass linker flags through the system compiler.
8084     case $host_os in
8085     aix*)
8086       lt_prog_compiler_wl='-Wl,'
8087       if test "$host_cpu" = ia64; then
8088         # AIX 5 now supports IA64 processor
8089         lt_prog_compiler_static='-Bstatic'
8090       else
8091         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8092       fi
8093       ;;
8094
8095     mingw* | cygwin* | pw32* | os2* | cegcc*)
8096       # This hack is so that the source file can tell whether it is being
8097       # built for inclusion in a dll (and should export symbols for example).
8098       lt_prog_compiler_pic='-DDLL_EXPORT'
8099       ;;
8100
8101     hpux9* | hpux10* | hpux11*)
8102       lt_prog_compiler_wl='-Wl,'
8103       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8104       # not for PA HP-UX.
8105       case $host_cpu in
8106       hppa*64*|ia64*)
8107         # +Z the default
8108         ;;
8109       *)
8110         lt_prog_compiler_pic='+Z'
8111         ;;
8112       esac
8113       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8114       lt_prog_compiler_static='${wl}-a ${wl}archive'
8115       ;;
8116
8117     irix5* | irix6* | nonstopux*)
8118       lt_prog_compiler_wl='-Wl,'
8119       # PIC (with -KPIC) is the default.
8120       lt_prog_compiler_static='-non_shared'
8121       ;;
8122
8123     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8124       case $cc_basename in
8125       # old Intel for x86_64 which still supported -KPIC.
8126       ecc*)
8127         lt_prog_compiler_wl='-Wl,'
8128         lt_prog_compiler_pic='-KPIC'
8129         lt_prog_compiler_static='-static'
8130         ;;
8131       # icc used to be incompatible with GCC.
8132       # ICC 10 doesn't accept -KPIC any more.
8133       icc* | ifort*)
8134         lt_prog_compiler_wl='-Wl,'
8135         lt_prog_compiler_pic='-fPIC'
8136         lt_prog_compiler_static='-static'
8137         ;;
8138       # Lahey Fortran 8.1.
8139       lf95*)
8140         lt_prog_compiler_wl='-Wl,'
8141         lt_prog_compiler_pic='--shared'
8142         lt_prog_compiler_static='--static'
8143         ;;
8144       nagfor*)
8145         # NAG Fortran compiler
8146         lt_prog_compiler_wl='-Wl,-Wl,,'
8147         lt_prog_compiler_pic='-PIC'
8148         lt_prog_compiler_static='-Bstatic'
8149         ;;
8150       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8151         # Portland Group compilers (*not* the Pentium gcc compiler,
8152         # which looks to be a dead project)
8153         lt_prog_compiler_wl='-Wl,'
8154         lt_prog_compiler_pic='-fpic'
8155         lt_prog_compiler_static='-Bstatic'
8156         ;;
8157       ccc*)
8158         lt_prog_compiler_wl='-Wl,'
8159         # All Alpha code is PIC.
8160         lt_prog_compiler_static='-non_shared'
8161         ;;
8162       xl* | bgxl* | bgf* | mpixl*)
8163         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8164         lt_prog_compiler_wl='-Wl,'
8165         lt_prog_compiler_pic='-qpic'
8166         lt_prog_compiler_static='-qstaticlink'
8167         ;;
8168       *)
8169         case `$CC -V 2>&1 | sed 5q` in
8170         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8171           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8172           lt_prog_compiler_pic='-KPIC'
8173           lt_prog_compiler_static='-Bstatic'
8174           lt_prog_compiler_wl=''
8175           ;;
8176         *Sun\ F* | *Sun*Fortran*)
8177           lt_prog_compiler_pic='-KPIC'
8178           lt_prog_compiler_static='-Bstatic'
8179           lt_prog_compiler_wl='-Qoption ld '
8180           ;;
8181         *Sun\ C*)
8182           # Sun C 5.9
8183           lt_prog_compiler_pic='-KPIC'
8184           lt_prog_compiler_static='-Bstatic'
8185           lt_prog_compiler_wl='-Wl,'
8186           ;;
8187         *Intel*\ [CF]*Compiler*)
8188           lt_prog_compiler_wl='-Wl,'
8189           lt_prog_compiler_pic='-fPIC'
8190           lt_prog_compiler_static='-static'
8191           ;;
8192         *Portland\ Group*)
8193           lt_prog_compiler_wl='-Wl,'
8194           lt_prog_compiler_pic='-fpic'
8195           lt_prog_compiler_static='-Bstatic'
8196           ;;
8197         esac
8198         ;;
8199       esac
8200       ;;
8201
8202     newsos6)
8203       lt_prog_compiler_pic='-KPIC'
8204       lt_prog_compiler_static='-Bstatic'
8205       ;;
8206
8207     *nto* | *qnx*)
8208       # QNX uses GNU C++, but need to define -shared option too, otherwise
8209       # it will coredump.
8210       lt_prog_compiler_pic='-fPIC -shared'
8211       ;;
8212
8213     osf3* | osf4* | osf5*)
8214       lt_prog_compiler_wl='-Wl,'
8215       # All OSF/1 code is PIC.
8216       lt_prog_compiler_static='-non_shared'
8217       ;;
8218
8219     rdos*)
8220       lt_prog_compiler_static='-non_shared'
8221       ;;
8222
8223     solaris*)
8224       lt_prog_compiler_pic='-KPIC'
8225       lt_prog_compiler_static='-Bstatic'
8226       case $cc_basename in
8227       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8228         lt_prog_compiler_wl='-Qoption ld ';;
8229       *)
8230         lt_prog_compiler_wl='-Wl,';;
8231       esac
8232       ;;
8233
8234     sunos4*)
8235       lt_prog_compiler_wl='-Qoption ld '
8236       lt_prog_compiler_pic='-PIC'
8237       lt_prog_compiler_static='-Bstatic'
8238       ;;
8239
8240     sysv4 | sysv4.2uw2* | sysv4.3*)
8241       lt_prog_compiler_wl='-Wl,'
8242       lt_prog_compiler_pic='-KPIC'
8243       lt_prog_compiler_static='-Bstatic'
8244       ;;
8245
8246     sysv4*MP*)
8247       if test -d /usr/nec ;then
8248         lt_prog_compiler_pic='-Kconform_pic'
8249         lt_prog_compiler_static='-Bstatic'
8250       fi
8251       ;;
8252
8253     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8254       lt_prog_compiler_wl='-Wl,'
8255       lt_prog_compiler_pic='-KPIC'
8256       lt_prog_compiler_static='-Bstatic'
8257       ;;
8258
8259     unicos*)
8260       lt_prog_compiler_wl='-Wl,'
8261       lt_prog_compiler_can_build_shared=no
8262       ;;
8263
8264     uts4*)
8265       lt_prog_compiler_pic='-pic'
8266       lt_prog_compiler_static='-Bstatic'
8267       ;;
8268
8269     *)
8270       lt_prog_compiler_can_build_shared=no
8271       ;;
8272     esac
8273   fi
8274
8275 case $host_os in
8276   # For platforms which do not support PIC, -DPIC is meaningless:
8277   *djgpp*)
8278     lt_prog_compiler_pic=
8279     ;;
8280   *)
8281     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8282     ;;
8283 esac
8284
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8286 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8287 if ${lt_cv_prog_compiler_pic+:} false; then :
8288   $as_echo_n "(cached) " >&6
8289 else
8290   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8291 fi
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8293 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8294 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8295
8296 #
8297 # Check to make sure the PIC flag actually works.
8298 #
8299 if test -n "$lt_prog_compiler_pic"; then
8300   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8301 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8302 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8303   $as_echo_n "(cached) " >&6
8304 else
8305   lt_cv_prog_compiler_pic_works=no
8306    ac_outfile=conftest.$ac_objext
8307    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8308    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8309    # Insert the option either (1) after the last *FLAGS variable, or
8310    # (2) before a word containing "conftest.", or (3) at the end.
8311    # Note that $ac_compile itself does not contain backslashes and begins
8312    # with a dollar sign (not a hyphen), so the echo should work correctly.
8313    # The option is referenced via a variable to avoid confusing sed.
8314    lt_compile=`echo "$ac_compile" | $SED \
8315    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8316    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8317    -e 's:$: $lt_compiler_flag:'`
8318    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8319    (eval "$lt_compile" 2>conftest.err)
8320    ac_status=$?
8321    cat conftest.err >&5
8322    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8323    if (exit $ac_status) && test -s "$ac_outfile"; then
8324      # The compiler can only warn and ignore the option if not recognized
8325      # So say no if there are warnings other than the usual output.
8326      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8327      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8328      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8329        lt_cv_prog_compiler_pic_works=yes
8330      fi
8331    fi
8332    $RM conftest*
8333
8334 fi
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8336 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8337
8338 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8339     case $lt_prog_compiler_pic in
8340      "" | " "*) ;;
8341      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8342      esac
8343 else
8344     lt_prog_compiler_pic=
8345      lt_prog_compiler_can_build_shared=no
8346 fi
8347
8348 fi
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360 #
8361 # Check to make sure the static flag actually works.
8362 #
8363 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8365 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8366 if ${lt_cv_prog_compiler_static_works+:} false; then :
8367   $as_echo_n "(cached) " >&6
8368 else
8369   lt_cv_prog_compiler_static_works=no
8370    save_LDFLAGS="$LDFLAGS"
8371    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8372    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8373    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8374      # The linker can only warn and ignore the option if not recognized
8375      # So say no if there are warnings
8376      if test -s conftest.err; then
8377        # Append any errors to the config.log.
8378        cat conftest.err 1>&5
8379        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8380        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8381        if diff conftest.exp conftest.er2 >/dev/null; then
8382          lt_cv_prog_compiler_static_works=yes
8383        fi
8384      else
8385        lt_cv_prog_compiler_static_works=yes
8386      fi
8387    fi
8388    $RM -r conftest*
8389    LDFLAGS="$save_LDFLAGS"
8390
8391 fi
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8393 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8394
8395 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8396     :
8397 else
8398     lt_prog_compiler_static=
8399 fi
8400
8401
8402
8403
8404
8405
8406
8407   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8408 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8409 if ${lt_cv_prog_compiler_c_o+:} false; then :
8410   $as_echo_n "(cached) " >&6
8411 else
8412   lt_cv_prog_compiler_c_o=no
8413    $RM -r conftest 2>/dev/null
8414    mkdir conftest
8415    cd conftest
8416    mkdir out
8417    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8418
8419    lt_compiler_flag="-o out/conftest2.$ac_objext"
8420    # Insert the option either (1) after the last *FLAGS variable, or
8421    # (2) before a word containing "conftest.", or (3) at the end.
8422    # Note that $ac_compile itself does not contain backslashes and begins
8423    # with a dollar sign (not a hyphen), so the echo should work correctly.
8424    lt_compile=`echo "$ac_compile" | $SED \
8425    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8426    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8427    -e 's:$: $lt_compiler_flag:'`
8428    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8429    (eval "$lt_compile" 2>out/conftest.err)
8430    ac_status=$?
8431    cat out/conftest.err >&5
8432    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8433    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8434    then
8435      # The compiler can only warn and ignore the option if not recognized
8436      # So say no if there are warnings
8437      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8438      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8439      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8440        lt_cv_prog_compiler_c_o=yes
8441      fi
8442    fi
8443    chmod u+w . 2>&5
8444    $RM conftest*
8445    # SGI C++ compiler will create directory out/ii_files/ for
8446    # template instantiation
8447    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8448    $RM out/* && rmdir out
8449    cd ..
8450    $RM -r conftest
8451    $RM conftest*
8452
8453 fi
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8455 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8456
8457
8458
8459
8460
8461
8462   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8463 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8464 if ${lt_cv_prog_compiler_c_o+:} false; then :
8465   $as_echo_n "(cached) " >&6
8466 else
8467   lt_cv_prog_compiler_c_o=no
8468    $RM -r conftest 2>/dev/null
8469    mkdir conftest
8470    cd conftest
8471    mkdir out
8472    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8473
8474    lt_compiler_flag="-o out/conftest2.$ac_objext"
8475    # Insert the option either (1) after the last *FLAGS variable, or
8476    # (2) before a word containing "conftest.", or (3) at the end.
8477    # Note that $ac_compile itself does not contain backslashes and begins
8478    # with a dollar sign (not a hyphen), so the echo should work correctly.
8479    lt_compile=`echo "$ac_compile" | $SED \
8480    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8481    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8482    -e 's:$: $lt_compiler_flag:'`
8483    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8484    (eval "$lt_compile" 2>out/conftest.err)
8485    ac_status=$?
8486    cat out/conftest.err >&5
8487    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8488    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8489    then
8490      # The compiler can only warn and ignore the option if not recognized
8491      # So say no if there are warnings
8492      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8493      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8494      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8495        lt_cv_prog_compiler_c_o=yes
8496      fi
8497    fi
8498    chmod u+w . 2>&5
8499    $RM conftest*
8500    # SGI C++ compiler will create directory out/ii_files/ for
8501    # template instantiation
8502    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8503    $RM out/* && rmdir out
8504    cd ..
8505    $RM -r conftest
8506    $RM conftest*
8507
8508 fi
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8510 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8511
8512
8513
8514
8515 hard_links="nottested"
8516 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8517   # do not overwrite the value of need_locks provided by the user
8518   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8519 $as_echo_n "checking if we can lock with hard links... " >&6; }
8520   hard_links=yes
8521   $RM conftest*
8522   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8523   touch conftest.a
8524   ln conftest.a conftest.b 2>&5 || hard_links=no
8525   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8527 $as_echo "$hard_links" >&6; }
8528   if test "$hard_links" = no; then
8529     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8530 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8531     need_locks=warn
8532   fi
8533 else
8534   need_locks=no
8535 fi
8536
8537
8538
8539
8540
8541
8542   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8543 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8544
8545   runpath_var=
8546   allow_undefined_flag=
8547   always_export_symbols=no
8548   archive_cmds=
8549   archive_expsym_cmds=
8550   compiler_needs_object=no
8551   enable_shared_with_static_runtimes=no
8552   export_dynamic_flag_spec=
8553   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8554   hardcode_automatic=no
8555   hardcode_direct=no
8556   hardcode_direct_absolute=no
8557   hardcode_libdir_flag_spec=
8558   hardcode_libdir_separator=
8559   hardcode_minus_L=no
8560   hardcode_shlibpath_var=unsupported
8561   inherit_rpath=no
8562   link_all_deplibs=unknown
8563   module_cmds=
8564   module_expsym_cmds=
8565   old_archive_from_new_cmds=
8566   old_archive_from_expsyms_cmds=
8567   thread_safe_flag_spec=
8568   whole_archive_flag_spec=
8569   # include_expsyms should be a list of space-separated symbols to be *always*
8570   # included in the symbol list
8571   include_expsyms=
8572   # exclude_expsyms can be an extended regexp of symbols to exclude
8573   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8574   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8575   # as well as any symbol that contains `d'.
8576   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8577   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8578   # platforms (ab)use it in PIC code, but their linkers get confused if
8579   # the symbol is explicitly referenced.  Since portable code cannot
8580   # rely on this symbol name, it's probably fine to never include it in
8581   # preloaded symbol tables.
8582   # Exclude shared library initialization/finalization symbols.
8583   extract_expsyms_cmds=
8584
8585   case $host_os in
8586   cygwin* | mingw* | pw32* | cegcc*)
8587     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8588     # When not using gcc, we currently assume that we are using
8589     # Microsoft Visual C++.
8590     if test "$GCC" != yes; then
8591       with_gnu_ld=no
8592     fi
8593     ;;
8594   interix*)
8595     # we just hope/assume this is gcc and not c89 (= MSVC++)
8596     with_gnu_ld=yes
8597     ;;
8598   openbsd*)
8599     with_gnu_ld=no
8600     ;;
8601   esac
8602
8603   ld_shlibs=yes
8604
8605   # On some targets, GNU ld is compatible enough with the native linker
8606   # that we're better off using the native interface for both.
8607   lt_use_gnu_ld_interface=no
8608   if test "$with_gnu_ld" = yes; then
8609     case $host_os in
8610       aix*)
8611         # The AIX port of GNU ld has always aspired to compatibility
8612         # with the native linker.  However, as the warning in the GNU ld
8613         # block says, versions before 2.19.5* couldn't really create working
8614         # shared libraries, regardless of the interface used.
8615         case `$LD -v 2>&1` in
8616           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8617           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8618           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8619           *)
8620             lt_use_gnu_ld_interface=yes
8621             ;;
8622         esac
8623         ;;
8624       *)
8625         lt_use_gnu_ld_interface=yes
8626         ;;
8627     esac
8628   fi
8629
8630   if test "$lt_use_gnu_ld_interface" = yes; then
8631     # If archive_cmds runs LD, not CC, wlarc should be empty
8632     wlarc='${wl}'
8633
8634     # Set some defaults for GNU ld with shared library support. These
8635     # are reset later if shared libraries are not supported. Putting them
8636     # here allows them to be overridden if necessary.
8637     runpath_var=LD_RUN_PATH
8638     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8639     export_dynamic_flag_spec='${wl}--export-dynamic'
8640     # ancient GNU ld didn't support --whole-archive et. al.
8641     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8642       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8643     else
8644       whole_archive_flag_spec=
8645     fi
8646     supports_anon_versioning=no
8647     case `$LD -v 2>&1` in
8648       *GNU\ gold*) supports_anon_versioning=yes ;;
8649       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8650       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8651       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8652       *\ 2.11.*) ;; # other 2.11 versions
8653       *) supports_anon_versioning=yes ;;
8654     esac
8655
8656     # See if GNU ld supports shared libraries.
8657     case $host_os in
8658     aix[3-9]*)
8659       # On AIX/PPC, the GNU linker is very broken
8660       if test "$host_cpu" != ia64; then
8661         ld_shlibs=no
8662         cat <<_LT_EOF 1>&2
8663
8664 *** Warning: the GNU linker, at least up to release 2.19, is reported
8665 *** to be unable to reliably create shared libraries on AIX.
8666 *** Therefore, libtool is disabling shared libraries support.  If you
8667 *** really care for shared libraries, you may want to install binutils
8668 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8669 *** You will then need to restart the configuration process.
8670
8671 _LT_EOF
8672       fi
8673       ;;
8674
8675     amigaos*)
8676       case $host_cpu in
8677       powerpc)
8678             # see comment about AmigaOS4 .so support
8679             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8680             archive_expsym_cmds=''
8681         ;;
8682       m68k)
8683             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)'
8684             hardcode_libdir_flag_spec='-L$libdir'
8685             hardcode_minus_L=yes
8686         ;;
8687       esac
8688       ;;
8689
8690     beos*)
8691       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8692         allow_undefined_flag=unsupported
8693         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8694         # support --undefined.  This deserves some investigation.  FIXME
8695         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8696       else
8697         ld_shlibs=no
8698       fi
8699       ;;
8700
8701     cygwin* | mingw* | pw32* | cegcc*)
8702       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8703       # as there is no search path for DLLs.
8704       hardcode_libdir_flag_spec='-L$libdir'
8705       export_dynamic_flag_spec='${wl}--export-all-symbols'
8706       allow_undefined_flag=unsupported
8707       always_export_symbols=no
8708       enable_shared_with_static_runtimes=yes
8709       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'
8710       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8711
8712       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8713         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8714         # If the export-symbols file already is a .def file (1st line
8715         # is EXPORTS), use it as is; otherwise, prepend...
8716         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8717           cp $export_symbols $output_objdir/$soname.def;
8718         else
8719           echo EXPORTS > $output_objdir/$soname.def;
8720           cat $export_symbols >> $output_objdir/$soname.def;
8721         fi~
8722         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8723       else
8724         ld_shlibs=no
8725       fi
8726       ;;
8727
8728     haiku*)
8729       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8730       link_all_deplibs=yes
8731       ;;
8732
8733     interix[3-9]*)
8734       hardcode_direct=no
8735       hardcode_shlibpath_var=no
8736       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8737       export_dynamic_flag_spec='${wl}-E'
8738       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8739       # Instead, shared libraries are loaded at an image base (0x10000000 by
8740       # default) and relocated if they conflict, which is a slow very memory
8741       # consuming and fragmenting process.  To avoid this, we pick a random,
8742       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8743       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8744       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8745       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'
8746       ;;
8747
8748     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8749       tmp_diet=no
8750       if test "$host_os" = linux-dietlibc; then
8751         case $cc_basename in
8752           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8753         esac
8754       fi
8755       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8756          && test "$tmp_diet" = no
8757       then
8758         tmp_addflag=' $pic_flag'
8759         tmp_sharedflag='-shared'
8760         case $cc_basename,$host_cpu in
8761         pgcc*)                          # Portland Group C compiler
8762           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'
8763           tmp_addflag=' $pic_flag'
8764           ;;
8765         pgf77* | pgf90* | pgf95* | pgfortran*)
8766                                         # Portland Group f77 and f90 compilers
8767           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'
8768           tmp_addflag=' $pic_flag -Mnomain' ;;
8769         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8770           tmp_addflag=' -i_dynamic' ;;
8771         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8772           tmp_addflag=' -i_dynamic -nofor_main' ;;
8773         ifc* | ifort*)                  # Intel Fortran compiler
8774           tmp_addflag=' -nofor_main' ;;
8775         lf95*)                          # Lahey Fortran 8.1
8776           whole_archive_flag_spec=
8777           tmp_sharedflag='--shared' ;;
8778         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8779           tmp_sharedflag='-qmkshrobj'
8780           tmp_addflag= ;;
8781         nvcc*)  # Cuda Compiler Driver 2.2
8782           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'
8783           compiler_needs_object=yes
8784           ;;
8785         esac
8786         case `$CC -V 2>&1 | sed 5q` in
8787         *Sun\ C*)                       # Sun C 5.9
8788           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'
8789           compiler_needs_object=yes
8790           tmp_sharedflag='-G' ;;
8791         *Sun\ F*)                       # Sun Fortran 8.3
8792           tmp_sharedflag='-G' ;;
8793         esac
8794         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8795
8796         if test "x$supports_anon_versioning" = xyes; then
8797           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8798             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8799             echo "local: *; };" >> $output_objdir/$libname.ver~
8800             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8801         fi
8802
8803         case $cc_basename in
8804         xlf* | bgf* | bgxlf* | mpixlf*)
8805           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8806           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8807           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8808           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8809           if test "x$supports_anon_versioning" = xyes; then
8810             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8811               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8812               echo "local: *; };" >> $output_objdir/$libname.ver~
8813               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8814           fi
8815           ;;
8816         esac
8817       else
8818         ld_shlibs=no
8819       fi
8820       ;;
8821
8822     netbsd*)
8823       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8824         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8825         wlarc=
8826       else
8827         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8828         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8829       fi
8830       ;;
8831
8832     solaris*)
8833       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8834         ld_shlibs=no
8835         cat <<_LT_EOF 1>&2
8836
8837 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8838 *** create shared libraries on Solaris systems.  Therefore, libtool
8839 *** is disabling shared libraries support.  We urge you to upgrade GNU
8840 *** binutils to release 2.9.1 or newer.  Another option is to modify
8841 *** your PATH or compiler configuration so that the native linker is
8842 *** used, and then restart.
8843
8844 _LT_EOF
8845       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8846         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8847         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8848       else
8849         ld_shlibs=no
8850       fi
8851       ;;
8852
8853     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8854       case `$LD -v 2>&1` in
8855         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8856         ld_shlibs=no
8857         cat <<_LT_EOF 1>&2
8858
8859 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8860 *** reliably create shared libraries on SCO systems.  Therefore, libtool
8861 *** is disabling shared libraries support.  We urge you to upgrade GNU
8862 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8863 *** your PATH or compiler configuration so that the native linker is
8864 *** used, and then restart.
8865
8866 _LT_EOF
8867         ;;
8868         *)
8869           # For security reasons, it is highly recommended that you always
8870           # use absolute paths for naming shared libraries, and exclude the
8871           # DT_RUNPATH tag from executables and libraries.  But doing so
8872           # requires that you compile everything twice, which is a pain.
8873           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8874             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8875             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8876             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8877           else
8878             ld_shlibs=no
8879           fi
8880         ;;
8881       esac
8882       ;;
8883
8884     sunos4*)
8885       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8886       wlarc=
8887       hardcode_direct=yes
8888       hardcode_shlibpath_var=no
8889       ;;
8890
8891     *)
8892       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8893         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8894         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8895       else
8896         ld_shlibs=no
8897       fi
8898       ;;
8899     esac
8900
8901     if test "$ld_shlibs" = no; then
8902       runpath_var=
8903       hardcode_libdir_flag_spec=
8904       export_dynamic_flag_spec=
8905       whole_archive_flag_spec=
8906     fi
8907   else
8908     # PORTME fill in a description of your system's linker (not GNU ld)
8909     case $host_os in
8910     aix3*)
8911       allow_undefined_flag=unsupported
8912       always_export_symbols=yes
8913       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'
8914       # Note: this linker hardcodes the directories in LIBPATH if there
8915       # are no directories specified by -L.
8916       hardcode_minus_L=yes
8917       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8918         # Neither direct hardcoding nor static linking is supported with a
8919         # broken collect2.
8920         hardcode_direct=unsupported
8921       fi
8922       ;;
8923
8924     aix[4-9]*)
8925       if test "$host_cpu" = ia64; then
8926         # On IA64, the linker does run time linking by default, so we don't
8927         # have to do anything special.
8928         aix_use_runtimelinking=no
8929         exp_sym_flag='-Bexport'
8930         no_entry_flag=""
8931       else
8932         # If we're using GNU nm, then we don't want the "-C" option.
8933         # -C means demangle to AIX nm, but means don't demangle with GNU nm
8934         # Also, AIX nm treats weak defined symbols like other global
8935         # defined symbols, whereas GNU nm marks them as "W".
8936         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8937           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'
8938         else
8939           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'
8940         fi
8941         aix_use_runtimelinking=no
8942
8943         # Test if we are trying to use run time linking or normal
8944         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8945         # need to do runtime linking.
8946         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8947           for ld_flag in $LDFLAGS; do
8948           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8949             aix_use_runtimelinking=yes
8950             break
8951           fi
8952           done
8953           ;;
8954         esac
8955
8956         exp_sym_flag='-bexport'
8957         no_entry_flag='-bnoentry'
8958       fi
8959
8960       # When large executables or shared objects are built, AIX ld can
8961       # have problems creating the table of contents.  If linking a library
8962       # or program results in "error TOC overflow" add -mminimal-toc to
8963       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8964       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8965
8966       archive_cmds=''
8967       hardcode_direct=yes
8968       hardcode_direct_absolute=yes
8969       hardcode_libdir_separator=':'
8970       link_all_deplibs=yes
8971       file_list_spec='${wl}-f,'
8972
8973       if test "$GCC" = yes; then
8974         case $host_os in aix4.[012]|aix4.[012].*)
8975         # We only want to do this on AIX 4.2 and lower, the check
8976         # below for broken collect2 doesn't work under 4.3+
8977           collect2name=`${CC} -print-prog-name=collect2`
8978           if test -f "$collect2name" &&
8979            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8980           then
8981           # We have reworked collect2
8982           :
8983           else
8984           # We have old collect2
8985           hardcode_direct=unsupported
8986           # It fails to find uninstalled libraries when the uninstalled
8987           # path is not listed in the libpath.  Setting hardcode_minus_L
8988           # to unsupported forces relinking
8989           hardcode_minus_L=yes
8990           hardcode_libdir_flag_spec='-L$libdir'
8991           hardcode_libdir_separator=
8992           fi
8993           ;;
8994         esac
8995         shared_flag='-shared'
8996         if test "$aix_use_runtimelinking" = yes; then
8997           shared_flag="$shared_flag "'${wl}-G'
8998         fi
8999       else
9000         # not using gcc
9001         if test "$host_cpu" = ia64; then
9002         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9003         # chokes on -Wl,-G. The following line is correct:
9004           shared_flag='-G'
9005         else
9006           if test "$aix_use_runtimelinking" = yes; then
9007             shared_flag='${wl}-G'
9008           else
9009             shared_flag='${wl}-bM:SRE'
9010           fi
9011         fi
9012       fi
9013
9014       export_dynamic_flag_spec='${wl}-bexpall'
9015       # It seems that -bexpall does not export symbols beginning with
9016       # underscore (_), so it is better to generate a list of symbols to export.
9017       always_export_symbols=yes
9018       if test "$aix_use_runtimelinking" = yes; then
9019         # Warning - without using the other runtime loading flags (-brtl),
9020         # -berok will link without error, but may produce a broken library.
9021         allow_undefined_flag='-berok'
9022         # Determine the default libpath from the value encoded in an
9023         # empty executable.
9024         if test "${lt_cv_aix_libpath+set}" = set; then
9025   aix_libpath=$lt_cv_aix_libpath
9026 else
9027   if ${lt_cv_aix_libpath_+:} false; then :
9028   $as_echo_n "(cached) " >&6
9029 else
9030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9031 /* end confdefs.h.  */
9032
9033 int
9034 main ()
9035 {
9036
9037   ;
9038   return 0;
9039 }
9040 _ACEOF
9041 if ac_fn_c_try_link "$LINENO"; then :
9042
9043   lt_aix_libpath_sed='
9044       /Import File Strings/,/^$/ {
9045           /^0/ {
9046               s/^0  *\([^ ]*\) *$/\1/
9047               p
9048           }
9049       }'
9050   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9051   # Check for a 64-bit object if we didn't find anything.
9052   if test -z "$lt_cv_aix_libpath_"; then
9053     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9054   fi
9055 fi
9056 rm -f core conftest.err conftest.$ac_objext \
9057     conftest$ac_exeext conftest.$ac_ext
9058   if test -z "$lt_cv_aix_libpath_"; then
9059     lt_cv_aix_libpath_="/usr/lib:/lib"
9060   fi
9061
9062 fi
9063
9064   aix_libpath=$lt_cv_aix_libpath_
9065 fi
9066
9067         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9068         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"
9069       else
9070         if test "$host_cpu" = ia64; then
9071           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9072           allow_undefined_flag="-z nodefs"
9073           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"
9074         else
9075          # Determine the default libpath from the value encoded in an
9076          # empty executable.
9077          if test "${lt_cv_aix_libpath+set}" = set; then
9078   aix_libpath=$lt_cv_aix_libpath
9079 else
9080   if ${lt_cv_aix_libpath_+:} false; then :
9081   $as_echo_n "(cached) " >&6
9082 else
9083   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9084 /* end confdefs.h.  */
9085
9086 int
9087 main ()
9088 {
9089
9090   ;
9091   return 0;
9092 }
9093 _ACEOF
9094 if ac_fn_c_try_link "$LINENO"; then :
9095
9096   lt_aix_libpath_sed='
9097       /Import File Strings/,/^$/ {
9098           /^0/ {
9099               s/^0  *\([^ ]*\) *$/\1/
9100               p
9101           }
9102       }'
9103   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9104   # Check for a 64-bit object if we didn't find anything.
9105   if test -z "$lt_cv_aix_libpath_"; then
9106     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9107   fi
9108 fi
9109 rm -f core conftest.err conftest.$ac_objext \
9110     conftest$ac_exeext conftest.$ac_ext
9111   if test -z "$lt_cv_aix_libpath_"; then
9112     lt_cv_aix_libpath_="/usr/lib:/lib"
9113   fi
9114
9115 fi
9116
9117   aix_libpath=$lt_cv_aix_libpath_
9118 fi
9119
9120          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9121           # Warning - without using the other run time loading flags,
9122           # -berok will link without error, but may produce a broken library.
9123           no_undefined_flag=' ${wl}-bernotok'
9124           allow_undefined_flag=' ${wl}-berok'
9125           if test "$with_gnu_ld" = yes; then
9126             # We only use this code for GNU lds that support --whole-archive.
9127             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9128           else
9129             # Exported symbols can be pulled into shared objects from archives
9130             whole_archive_flag_spec='$convenience'
9131           fi
9132           archive_cmds_need_lc=yes
9133           # This is similar to how AIX traditionally builds its shared libraries.
9134           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'
9135         fi
9136       fi
9137       ;;
9138
9139     amigaos*)
9140       case $host_cpu in
9141       powerpc)
9142             # see comment about AmigaOS4 .so support
9143             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9144             archive_expsym_cmds=''
9145         ;;
9146       m68k)
9147             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)'
9148             hardcode_libdir_flag_spec='-L$libdir'
9149             hardcode_minus_L=yes
9150         ;;
9151       esac
9152       ;;
9153
9154     bsdi[45]*)
9155       export_dynamic_flag_spec=-rdynamic
9156       ;;
9157
9158     cygwin* | mingw* | pw32* | cegcc*)
9159       # When not using gcc, we currently assume that we are using
9160       # Microsoft Visual C++.
9161       # hardcode_libdir_flag_spec is actually meaningless, as there is
9162       # no search path for DLLs.
9163       case $cc_basename in
9164       cl*)
9165         # Native MSVC
9166         hardcode_libdir_flag_spec=' '
9167         allow_undefined_flag=unsupported
9168         always_export_symbols=yes
9169         file_list_spec='@'
9170         # Tell ltmain to make .lib files, not .a files.
9171         libext=lib
9172         # Tell ltmain to make .dll files, not .so files.
9173         shrext_cmds=".dll"
9174         # FIXME: Setting linknames here is a bad hack.
9175         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9176         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9177             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9178           else
9179             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9180           fi~
9181           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9182           linknames='
9183         # The linker will not automatically build a static lib if we build a DLL.
9184         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9185         enable_shared_with_static_runtimes=yes
9186         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9187         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9188         # Don't use ranlib
9189         old_postinstall_cmds='chmod 644 $oldlib'
9190         postlink_cmds='lt_outputfile="@OUTPUT@"~
9191           lt_tool_outputfile="@TOOL_OUTPUT@"~
9192           case $lt_outputfile in
9193             *.exe|*.EXE) ;;
9194             *)
9195               lt_outputfile="$lt_outputfile.exe"
9196               lt_tool_outputfile="$lt_tool_outputfile.exe"
9197               ;;
9198           esac~
9199           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9200             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9201             $RM "$lt_outputfile.manifest";
9202           fi'
9203         ;;
9204       *)
9205         # Assume MSVC wrapper
9206         hardcode_libdir_flag_spec=' '
9207         allow_undefined_flag=unsupported
9208         # Tell ltmain to make .lib files, not .a files.
9209         libext=lib
9210         # Tell ltmain to make .dll files, not .so files.
9211         shrext_cmds=".dll"
9212         # FIXME: Setting linknames here is a bad hack.
9213         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9214         # The linker will automatically build a .lib file if we build a DLL.
9215         old_archive_from_new_cmds='true'
9216         # FIXME: Should let the user specify the lib program.
9217         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9218         enable_shared_with_static_runtimes=yes
9219         ;;
9220       esac
9221       ;;
9222
9223     darwin* | rhapsody*)
9224
9225
9226   archive_cmds_need_lc=no
9227   hardcode_direct=no
9228   hardcode_automatic=yes
9229   hardcode_shlibpath_var=unsupported
9230   if test "$lt_cv_ld_force_load" = "yes"; then
9231     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\"`'
9232
9233   else
9234     whole_archive_flag_spec=''
9235   fi
9236   link_all_deplibs=yes
9237   allow_undefined_flag="$_lt_dar_allow_undefined"
9238   case $cc_basename in
9239      ifort*) _lt_dar_can_shared=yes ;;
9240      *) _lt_dar_can_shared=$GCC ;;
9241   esac
9242   if test "$_lt_dar_can_shared" = "yes"; then
9243     output_verbose_link_cmd=func_echo_all
9244     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9245     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9246     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}"
9247     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}"
9248
9249   else
9250   ld_shlibs=no
9251   fi
9252
9253       ;;
9254
9255     dgux*)
9256       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9257       hardcode_libdir_flag_spec='-L$libdir'
9258       hardcode_shlibpath_var=no
9259       ;;
9260
9261     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9262     # support.  Future versions do this automatically, but an explicit c++rt0.o
9263     # does not break anything, and helps significantly (at the cost of a little
9264     # extra space).
9265     freebsd2.2*)
9266       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9267       hardcode_libdir_flag_spec='-R$libdir'
9268       hardcode_direct=yes
9269       hardcode_shlibpath_var=no
9270       ;;
9271
9272     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9273     freebsd2.*)
9274       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9275       hardcode_direct=yes
9276       hardcode_minus_L=yes
9277       hardcode_shlibpath_var=no
9278       ;;
9279
9280     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9281     freebsd* | dragonfly*)
9282       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9283       hardcode_libdir_flag_spec='-R$libdir'
9284       hardcode_direct=yes
9285       hardcode_shlibpath_var=no
9286       ;;
9287
9288     hpux9*)
9289       if test "$GCC" = yes; then
9290         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'
9291       else
9292         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'
9293       fi
9294       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9295       hardcode_libdir_separator=:
9296       hardcode_direct=yes
9297
9298       # hardcode_minus_L: Not really in the search PATH,
9299       # but as the default location of the library.
9300       hardcode_minus_L=yes
9301       export_dynamic_flag_spec='${wl}-E'
9302       ;;
9303
9304     hpux10*)
9305       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9306         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9307       else
9308         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9309       fi
9310       if test "$with_gnu_ld" = no; then
9311         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9312         hardcode_libdir_separator=:
9313         hardcode_direct=yes
9314         hardcode_direct_absolute=yes
9315         export_dynamic_flag_spec='${wl}-E'
9316         # hardcode_minus_L: Not really in the search PATH,
9317         # but as the default location of the library.
9318         hardcode_minus_L=yes
9319       fi
9320       ;;
9321
9322     hpux11*)
9323       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9324         case $host_cpu in
9325         hppa*64*)
9326           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9327           ;;
9328         ia64*)
9329           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9330           ;;
9331         *)
9332           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9333           ;;
9334         esac
9335       else
9336         case $host_cpu in
9337         hppa*64*)
9338           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9339           ;;
9340         ia64*)
9341           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9342           ;;
9343         *)
9344
9345           # Older versions of the 11.00 compiler do not understand -b yet
9346           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9347           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9348 $as_echo_n "checking if $CC understands -b... " >&6; }
9349 if ${lt_cv_prog_compiler__b+:} false; then :
9350   $as_echo_n "(cached) " >&6
9351 else
9352   lt_cv_prog_compiler__b=no
9353    save_LDFLAGS="$LDFLAGS"
9354    LDFLAGS="$LDFLAGS -b"
9355    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9356    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9357      # The linker can only warn and ignore the option if not recognized
9358      # So say no if there are warnings
9359      if test -s conftest.err; then
9360        # Append any errors to the config.log.
9361        cat conftest.err 1>&5
9362        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9363        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9364        if diff conftest.exp conftest.er2 >/dev/null; then
9365          lt_cv_prog_compiler__b=yes
9366        fi
9367      else
9368        lt_cv_prog_compiler__b=yes
9369      fi
9370    fi
9371    $RM -r conftest*
9372    LDFLAGS="$save_LDFLAGS"
9373
9374 fi
9375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9376 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9377
9378 if test x"$lt_cv_prog_compiler__b" = xyes; then
9379     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9380 else
9381     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9382 fi
9383
9384           ;;
9385         esac
9386       fi
9387       if test "$with_gnu_ld" = no; then
9388         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9389         hardcode_libdir_separator=:
9390
9391         case $host_cpu in
9392         hppa*64*|ia64*)
9393           hardcode_direct=no
9394           hardcode_shlibpath_var=no
9395           ;;
9396         *)
9397           hardcode_direct=yes
9398           hardcode_direct_absolute=yes
9399           export_dynamic_flag_spec='${wl}-E'
9400
9401           # hardcode_minus_L: Not really in the search PATH,
9402           # but as the default location of the library.
9403           hardcode_minus_L=yes
9404           ;;
9405         esac
9406       fi
9407       ;;
9408
9409     irix5* | irix6* | nonstopux*)
9410       if test "$GCC" = yes; then
9411         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'
9412         # Try to use the -exported_symbol ld option, if it does not
9413         # work, assume that -exports_file does not work either and
9414         # implicitly export all symbols.
9415         # This should be the same for all languages, so no per-tag cache variable.
9416         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9417 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9418 if ${lt_cv_irix_exported_symbol+:} false; then :
9419   $as_echo_n "(cached) " >&6
9420 else
9421   save_LDFLAGS="$LDFLAGS"
9422            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9423            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9424 /* end confdefs.h.  */
9425 int foo (void) { return 0; }
9426 _ACEOF
9427 if ac_fn_c_try_link "$LINENO"; then :
9428   lt_cv_irix_exported_symbol=yes
9429 else
9430   lt_cv_irix_exported_symbol=no
9431 fi
9432 rm -f core conftest.err conftest.$ac_objext \
9433     conftest$ac_exeext conftest.$ac_ext
9434            LDFLAGS="$save_LDFLAGS"
9435 fi
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9437 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9438         if test "$lt_cv_irix_exported_symbol" = yes; then
9439           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'
9440         fi
9441       else
9442         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'
9443         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'
9444       fi
9445       archive_cmds_need_lc='no'
9446       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9447       hardcode_libdir_separator=:
9448       inherit_rpath=yes
9449       link_all_deplibs=yes
9450       ;;
9451
9452     netbsd*)
9453       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9454         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9455       else
9456         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9457       fi
9458       hardcode_libdir_flag_spec='-R$libdir'
9459       hardcode_direct=yes
9460       hardcode_shlibpath_var=no
9461       ;;
9462
9463     newsos6)
9464       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9465       hardcode_direct=yes
9466       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9467       hardcode_libdir_separator=:
9468       hardcode_shlibpath_var=no
9469       ;;
9470
9471     *nto* | *qnx*)
9472       ;;
9473
9474     openbsd*)
9475       if test -f /usr/libexec/ld.so; then
9476         hardcode_direct=yes
9477         hardcode_shlibpath_var=no
9478         hardcode_direct_absolute=yes
9479         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9480           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9481           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9482           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9483           export_dynamic_flag_spec='${wl}-E'
9484         else
9485           case $host_os in
9486            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9487              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9488              hardcode_libdir_flag_spec='-R$libdir'
9489              ;;
9490            *)
9491              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9492              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9493              ;;
9494           esac
9495         fi
9496       else
9497         ld_shlibs=no
9498       fi
9499       ;;
9500
9501     os2*)
9502       hardcode_libdir_flag_spec='-L$libdir'
9503       hardcode_minus_L=yes
9504       allow_undefined_flag=unsupported
9505       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'
9506       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9507       ;;
9508
9509     osf3*)
9510       if test "$GCC" = yes; then
9511         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9512         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'
9513       else
9514         allow_undefined_flag=' -expect_unresolved \*'
9515         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'
9516       fi
9517       archive_cmds_need_lc='no'
9518       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9519       hardcode_libdir_separator=:
9520       ;;
9521
9522     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9523       if test "$GCC" = yes; then
9524         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9525         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'
9526         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9527       else
9528         allow_undefined_flag=' -expect_unresolved \*'
9529         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'
9530         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~
9531         $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'
9532
9533         # Both c and cxx compiler support -rpath directly
9534         hardcode_libdir_flag_spec='-rpath $libdir'
9535       fi
9536       archive_cmds_need_lc='no'
9537       hardcode_libdir_separator=:
9538       ;;
9539
9540     solaris*)
9541       no_undefined_flag=' -z defs'
9542       if test "$GCC" = yes; then
9543         wlarc='${wl}'
9544         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9545         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9546           $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'
9547       else
9548         case `$CC -V 2>&1` in
9549         *"Compilers 5.0"*)
9550           wlarc=''
9551           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9552           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9553           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9554           ;;
9555         *)
9556           wlarc='${wl}'
9557           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9558           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9559           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9560           ;;
9561         esac
9562       fi
9563       hardcode_libdir_flag_spec='-R$libdir'
9564       hardcode_shlibpath_var=no
9565       case $host_os in
9566       solaris2.[0-5] | solaris2.[0-5].*) ;;
9567       *)
9568         # The compiler driver will combine and reorder linker options,
9569         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9570         # but is careful enough not to reorder.
9571         # Supported since Solaris 2.6 (maybe 2.5.1?)
9572         if test "$GCC" = yes; then
9573           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9574         else
9575           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9576         fi
9577         ;;
9578       esac
9579       link_all_deplibs=yes
9580       ;;
9581
9582     sunos4*)
9583       if test "x$host_vendor" = xsequent; then
9584         # Use $CC to link under sequent, because it throws in some extra .o
9585         # files that make .init and .fini sections work.
9586         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9587       else
9588         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9589       fi
9590       hardcode_libdir_flag_spec='-L$libdir'
9591       hardcode_direct=yes
9592       hardcode_minus_L=yes
9593       hardcode_shlibpath_var=no
9594       ;;
9595
9596     sysv4)
9597       case $host_vendor in
9598         sni)
9599           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9600           hardcode_direct=yes # is this really true???
9601         ;;
9602         siemens)
9603           ## LD is ld it makes a PLAMLIB
9604           ## CC just makes a GrossModule.
9605           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9606           reload_cmds='$CC -r -o $output$reload_objs'
9607           hardcode_direct=no
9608         ;;
9609         motorola)
9610           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9611           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9612         ;;
9613       esac
9614       runpath_var='LD_RUN_PATH'
9615       hardcode_shlibpath_var=no
9616       ;;
9617
9618     sysv4.3*)
9619       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9620       hardcode_shlibpath_var=no
9621       export_dynamic_flag_spec='-Bexport'
9622       ;;
9623
9624     sysv4*MP*)
9625       if test -d /usr/nec; then
9626         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9627         hardcode_shlibpath_var=no
9628         runpath_var=LD_RUN_PATH
9629         hardcode_runpath_var=yes
9630         ld_shlibs=yes
9631       fi
9632       ;;
9633
9634     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9635       no_undefined_flag='${wl}-z,text'
9636       archive_cmds_need_lc=no
9637       hardcode_shlibpath_var=no
9638       runpath_var='LD_RUN_PATH'
9639
9640       if test "$GCC" = yes; then
9641         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9642         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9643       else
9644         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9645         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9646       fi
9647       ;;
9648
9649     sysv5* | sco3.2v5* | sco5v6*)
9650       # Note: We can NOT use -z defs as we might desire, because we do not
9651       # link with -lc, and that would cause any symbols used from libc to
9652       # always be unresolved, which means just about no library would
9653       # ever link correctly.  If we're not using GNU ld we use -z text
9654       # though, which does catch some bad symbols but isn't as heavy-handed
9655       # as -z defs.
9656       no_undefined_flag='${wl}-z,text'
9657       allow_undefined_flag='${wl}-z,nodefs'
9658       archive_cmds_need_lc=no
9659       hardcode_shlibpath_var=no
9660       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9661       hardcode_libdir_separator=':'
9662       link_all_deplibs=yes
9663       export_dynamic_flag_spec='${wl}-Bexport'
9664       runpath_var='LD_RUN_PATH'
9665
9666       if test "$GCC" = yes; then
9667         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9668         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9669       else
9670         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9671         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9672       fi
9673       ;;
9674
9675     uts4*)
9676       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9677       hardcode_libdir_flag_spec='-L$libdir'
9678       hardcode_shlibpath_var=no
9679       ;;
9680
9681     *)
9682       ld_shlibs=no
9683       ;;
9684     esac
9685
9686     if test x$host_vendor = xsni; then
9687       case $host in
9688       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9689         export_dynamic_flag_spec='${wl}-Blargedynsym'
9690         ;;
9691       esac
9692     fi
9693   fi
9694
9695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9696 $as_echo "$ld_shlibs" >&6; }
9697 test "$ld_shlibs" = no && can_build_shared=no
9698
9699 with_gnu_ld=$with_gnu_ld
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715 #
9716 # Do we need to explicitly link libc?
9717 #
9718 case "x$archive_cmds_need_lc" in
9719 x|xyes)
9720   # Assume -lc should be added
9721   archive_cmds_need_lc=yes
9722
9723   if test "$enable_shared" = yes && test "$GCC" = yes; then
9724     case $archive_cmds in
9725     *'~'*)
9726       # FIXME: we may have to deal with multi-command sequences.
9727       ;;
9728     '$CC '*)
9729       # Test whether the compiler implicitly links with -lc since on some
9730       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9731       # to ld, don't add -lc before -lgcc.
9732       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9733 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9734 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9735   $as_echo_n "(cached) " >&6
9736 else
9737   $RM conftest*
9738         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9739
9740         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9741   (eval $ac_compile) 2>&5
9742   ac_status=$?
9743   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9744   test $ac_status = 0; } 2>conftest.err; then
9745           soname=conftest
9746           lib=conftest
9747           libobjs=conftest.$ac_objext
9748           deplibs=
9749           wl=$lt_prog_compiler_wl
9750           pic_flag=$lt_prog_compiler_pic
9751           compiler_flags=-v
9752           linker_flags=-v
9753           verstring=
9754           output_objdir=.
9755           libname=conftest
9756           lt_save_allow_undefined_flag=$allow_undefined_flag
9757           allow_undefined_flag=
9758           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9759   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9760   ac_status=$?
9761   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9762   test $ac_status = 0; }
9763           then
9764             lt_cv_archive_cmds_need_lc=no
9765           else
9766             lt_cv_archive_cmds_need_lc=yes
9767           fi
9768           allow_undefined_flag=$lt_save_allow_undefined_flag
9769         else
9770           cat conftest.err 1>&5
9771         fi
9772         $RM conftest*
9773
9774 fi
9775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9776 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9777       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9778       ;;
9779     esac
9780   fi
9781   ;;
9782 esac
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9936 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9937
9938 if test "$GCC" = yes; then
9939   case $host_os in
9940     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9941     *) lt_awk_arg="/^libraries:/" ;;
9942   esac
9943   case $host_os in
9944     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9945     *) lt_sed_strip_eq="s,=/,/,g" ;;
9946   esac
9947   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9948   case $lt_search_path_spec in
9949   *\;*)
9950     # if the path contains ";" then we assume it to be the separator
9951     # otherwise default to the standard path separator (i.e. ":") - it is
9952     # assumed that no part of a normal pathname contains ";" but that should
9953     # okay in the real world where ";" in dirpaths is itself problematic.
9954     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9955     ;;
9956   *)
9957     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9958     ;;
9959   esac
9960   # Ok, now we have the path, separated by spaces, we can step through it
9961   # and add multilib dir if necessary.
9962   lt_tmp_lt_search_path_spec=
9963   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9964   for lt_sys_path in $lt_search_path_spec; do
9965     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9966       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9967     else
9968       test -d "$lt_sys_path" && \
9969         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9970     fi
9971   done
9972   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9973 BEGIN {RS=" "; FS="/|\n";} {
9974   lt_foo="";
9975   lt_count=0;
9976   for (lt_i = NF; lt_i > 0; lt_i--) {
9977     if ($lt_i != "" && $lt_i != ".") {
9978       if ($lt_i == "..") {
9979         lt_count++;
9980       } else {
9981         if (lt_count == 0) {
9982           lt_foo="/" $lt_i lt_foo;
9983         } else {
9984           lt_count--;
9985         }
9986       }
9987     }
9988   }
9989   if (lt_foo != "") { lt_freq[lt_foo]++; }
9990   if (lt_freq[lt_foo] == 1) { print lt_foo; }
9991 }'`
9992   # AWK program above erroneously prepends '/' to C:/dos/paths
9993   # for these hosts.
9994   case $host_os in
9995     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9996       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9997   esac
9998   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9999 else
10000   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10001 fi
10002 library_names_spec=
10003 libname_spec='lib$name'
10004 soname_spec=
10005 shrext_cmds=".so"
10006 postinstall_cmds=
10007 postuninstall_cmds=
10008 finish_cmds=
10009 finish_eval=
10010 shlibpath_var=
10011 shlibpath_overrides_runpath=unknown
10012 version_type=none
10013 dynamic_linker="$host_os ld.so"
10014 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10015 need_lib_prefix=unknown
10016 hardcode_into_libs=no
10017
10018 # when you set need_version to no, make sure it does not cause -set_version
10019 # flags to be left without arguments
10020 need_version=unknown
10021
10022 case $host_os in
10023 aix3*)
10024   version_type=linux # correct to gnu/linux during the next big refactor
10025   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10026   shlibpath_var=LIBPATH
10027
10028   # AIX 3 has no versioning support, so we append a major version to the name.
10029   soname_spec='${libname}${release}${shared_ext}$major'
10030   ;;
10031
10032 aix[4-9]*)
10033   version_type=linux # correct to gnu/linux during the next big refactor
10034   need_lib_prefix=no
10035   need_version=no
10036   hardcode_into_libs=yes
10037   if test "$host_cpu" = ia64; then
10038     # AIX 5 supports IA64
10039     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10040     shlibpath_var=LD_LIBRARY_PATH
10041   else
10042     # With GCC up to 2.95.x, collect2 would create an import file
10043     # for dependence libraries.  The import file would start with
10044     # the line `#! .'.  This would cause the generated library to
10045     # depend on `.', always an invalid library.  This was fixed in
10046     # development snapshots of GCC prior to 3.0.
10047     case $host_os in
10048       aix4 | aix4.[01] | aix4.[01].*)
10049       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10050            echo ' yes '
10051            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10052         :
10053       else
10054         can_build_shared=no
10055       fi
10056       ;;
10057     esac
10058     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10059     # soname into executable. Probably we can add versioning support to
10060     # collect2, so additional links can be useful in future.
10061     if test "$aix_use_runtimelinking" = yes; then
10062       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10063       # instead of lib<name>.a to let people know that these are not
10064       # typical AIX shared libraries.
10065       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10066     else
10067       # We preserve .a as extension for shared libraries through AIX4.2
10068       # and later when we are not doing run time linking.
10069       library_names_spec='${libname}${release}.a $libname.a'
10070       soname_spec='${libname}${release}${shared_ext}$major'
10071     fi
10072     shlibpath_var=LIBPATH
10073   fi
10074   ;;
10075
10076 amigaos*)
10077   case $host_cpu in
10078   powerpc)
10079     # Since July 2007 AmigaOS4 officially supports .so libraries.
10080     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10081     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10082     ;;
10083   m68k)
10084     library_names_spec='$libname.ixlibrary $libname.a'
10085     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10086     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'
10087     ;;
10088   esac
10089   ;;
10090
10091 beos*)
10092   library_names_spec='${libname}${shared_ext}'
10093   dynamic_linker="$host_os ld.so"
10094   shlibpath_var=LIBRARY_PATH
10095   ;;
10096
10097 bsdi[45]*)
10098   version_type=linux # correct to gnu/linux during the next big refactor
10099   need_version=no
10100   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10101   soname_spec='${libname}${release}${shared_ext}$major'
10102   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10103   shlibpath_var=LD_LIBRARY_PATH
10104   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10105   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10106   # the default ld.so.conf also contains /usr/contrib/lib and
10107   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10108   # libtool to hard-code these into programs
10109   ;;
10110
10111 cygwin* | mingw* | pw32* | cegcc*)
10112   version_type=windows
10113   shrext_cmds=".dll"
10114   need_version=no
10115   need_lib_prefix=no
10116
10117   case $GCC,$cc_basename in
10118   yes,*)
10119     # gcc
10120     library_names_spec='$libname.dll.a'
10121     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10122     postinstall_cmds='base_file=`basename \${file}`~
10123       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10124       dldir=$destdir/`dirname \$dlpath`~
10125       test -d \$dldir || mkdir -p \$dldir~
10126       $install_prog $dir/$dlname \$dldir/$dlname~
10127       chmod a+x \$dldir/$dlname~
10128       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10129         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10130       fi'
10131     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10132       dlpath=$dir/\$dldll~
10133        $RM \$dlpath'
10134     shlibpath_overrides_runpath=yes
10135
10136     case $host_os in
10137     cygwin*)
10138       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10139       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10140
10141       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10142       ;;
10143     mingw* | cegcc*)
10144       # MinGW DLLs use traditional 'lib' prefix
10145       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10146       ;;
10147     pw32*)
10148       # pw32 DLLs use 'pw' prefix rather than 'lib'
10149       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10150       ;;
10151     esac
10152     dynamic_linker='Win32 ld.exe'
10153     ;;
10154
10155   *,cl*)
10156     # Native MSVC
10157     libname_spec='$name'
10158     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10159     library_names_spec='${libname}.dll.lib'
10160
10161     case $build_os in
10162     mingw*)
10163       sys_lib_search_path_spec=
10164       lt_save_ifs=$IFS
10165       IFS=';'
10166       for lt_path in $LIB
10167       do
10168         IFS=$lt_save_ifs
10169         # Let DOS variable expansion print the short 8.3 style file name.
10170         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10171         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10172       done
10173       IFS=$lt_save_ifs
10174       # Convert to MSYS style.
10175       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10176       ;;
10177     cygwin*)
10178       # Convert to unix form, then to dos form, then back to unix form
10179       # but this time dos style (no spaces!) so that the unix form looks
10180       # like /cygdrive/c/PROGRA~1:/cygdr...
10181       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10182       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10183       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10184       ;;
10185     *)
10186       sys_lib_search_path_spec="$LIB"
10187       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10188         # It is most probably a Windows format PATH.
10189         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10190       else
10191         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10192       fi
10193       # FIXME: find the short name or the path components, as spaces are
10194       # common. (e.g. "Program Files" -> "PROGRA~1")
10195       ;;
10196     esac
10197
10198     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10199     postinstall_cmds='base_file=`basename \${file}`~
10200       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10201       dldir=$destdir/`dirname \$dlpath`~
10202       test -d \$dldir || mkdir -p \$dldir~
10203       $install_prog $dir/$dlname \$dldir/$dlname'
10204     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10205       dlpath=$dir/\$dldll~
10206        $RM \$dlpath'
10207     shlibpath_overrides_runpath=yes
10208     dynamic_linker='Win32 link.exe'
10209     ;;
10210
10211   *)
10212     # Assume MSVC wrapper
10213     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10214     dynamic_linker='Win32 ld.exe'
10215     ;;
10216   esac
10217   # FIXME: first we should search . and the directory the executable is in
10218   shlibpath_var=PATH
10219   ;;
10220
10221 darwin* | rhapsody*)
10222   dynamic_linker="$host_os dyld"
10223   version_type=darwin
10224   need_lib_prefix=no
10225   need_version=no
10226   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10227   soname_spec='${libname}${release}${major}$shared_ext'
10228   shlibpath_overrides_runpath=yes
10229   shlibpath_var=DYLD_LIBRARY_PATH
10230   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10231
10232   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10233   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10234   ;;
10235
10236 dgux*)
10237   version_type=linux # correct to gnu/linux during the next big refactor
10238   need_lib_prefix=no
10239   need_version=no
10240   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10241   soname_spec='${libname}${release}${shared_ext}$major'
10242   shlibpath_var=LD_LIBRARY_PATH
10243   ;;
10244
10245 freebsd* | dragonfly*)
10246   # DragonFly does not have aout.  When/if they implement a new
10247   # versioning mechanism, adjust this.
10248   if test -x /usr/bin/objformat; then
10249     objformat=`/usr/bin/objformat`
10250   else
10251     case $host_os in
10252     freebsd[23].*) objformat=aout ;;
10253     *) objformat=elf ;;
10254     esac
10255   fi
10256   version_type=freebsd-$objformat
10257   case $version_type in
10258     freebsd-elf*)
10259       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10260       need_version=no
10261       need_lib_prefix=no
10262       ;;
10263     freebsd-*)
10264       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10265       need_version=yes
10266       ;;
10267   esac
10268   shlibpath_var=LD_LIBRARY_PATH
10269   case $host_os in
10270   freebsd2.*)
10271     shlibpath_overrides_runpath=yes
10272     ;;
10273   freebsd3.[01]* | freebsdelf3.[01]*)
10274     shlibpath_overrides_runpath=yes
10275     hardcode_into_libs=yes
10276     ;;
10277   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10278   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10279     shlibpath_overrides_runpath=no
10280     hardcode_into_libs=yes
10281     ;;
10282   *) # from 4.6 on, and DragonFly
10283     shlibpath_overrides_runpath=yes
10284     hardcode_into_libs=yes
10285     ;;
10286   esac
10287   ;;
10288
10289 gnu*)
10290   version_type=linux # correct to gnu/linux during the next big refactor
10291   need_lib_prefix=no
10292   need_version=no
10293   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10294   soname_spec='${libname}${release}${shared_ext}$major'
10295   shlibpath_var=LD_LIBRARY_PATH
10296   shlibpath_overrides_runpath=no
10297   hardcode_into_libs=yes
10298   ;;
10299
10300 haiku*)
10301   version_type=linux # correct to gnu/linux during the next big refactor
10302   need_lib_prefix=no
10303   need_version=no
10304   dynamic_linker="$host_os runtime_loader"
10305   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10306   soname_spec='${libname}${release}${shared_ext}$major'
10307   shlibpath_var=LIBRARY_PATH
10308   shlibpath_overrides_runpath=yes
10309   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10310   hardcode_into_libs=yes
10311   ;;
10312
10313 hpux9* | hpux10* | hpux11*)
10314   # Give a soname corresponding to the major version so that dld.sl refuses to
10315   # link against other versions.
10316   version_type=sunos
10317   need_lib_prefix=no
10318   need_version=no
10319   case $host_cpu in
10320   ia64*)
10321     shrext_cmds='.so'
10322     hardcode_into_libs=yes
10323     dynamic_linker="$host_os dld.so"
10324     shlibpath_var=LD_LIBRARY_PATH
10325     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10326     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10327     soname_spec='${libname}${release}${shared_ext}$major'
10328     if test "X$HPUX_IA64_MODE" = X32; then
10329       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10330     else
10331       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10332     fi
10333     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10334     ;;
10335   hppa*64*)
10336     shrext_cmds='.sl'
10337     hardcode_into_libs=yes
10338     dynamic_linker="$host_os dld.sl"
10339     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10340     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10341     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10342     soname_spec='${libname}${release}${shared_ext}$major'
10343     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10344     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10345     ;;
10346   *)
10347     shrext_cmds='.sl'
10348     dynamic_linker="$host_os dld.sl"
10349     shlibpath_var=SHLIB_PATH
10350     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10351     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10352     soname_spec='${libname}${release}${shared_ext}$major'
10353     ;;
10354   esac
10355   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10356   postinstall_cmds='chmod 555 $lib'
10357   # or fails outright, so override atomically:
10358   install_override_mode=555
10359   ;;
10360
10361 interix[3-9]*)
10362   version_type=linux # correct to gnu/linux during the next big refactor
10363   need_lib_prefix=no
10364   need_version=no
10365   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10366   soname_spec='${libname}${release}${shared_ext}$major'
10367   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10368   shlibpath_var=LD_LIBRARY_PATH
10369   shlibpath_overrides_runpath=no
10370   hardcode_into_libs=yes
10371   ;;
10372
10373 irix5* | irix6* | nonstopux*)
10374   case $host_os in
10375     nonstopux*) version_type=nonstopux ;;
10376     *)
10377         if test "$lt_cv_prog_gnu_ld" = yes; then
10378                 version_type=linux # correct to gnu/linux during the next big refactor
10379         else
10380                 version_type=irix
10381         fi ;;
10382   esac
10383   need_lib_prefix=no
10384   need_version=no
10385   soname_spec='${libname}${release}${shared_ext}$major'
10386   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10387   case $host_os in
10388   irix5* | nonstopux*)
10389     libsuff= shlibsuff=
10390     ;;
10391   *)
10392     case $LD in # libtool.m4 will add one of these switches to LD
10393     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10394       libsuff= shlibsuff= libmagic=32-bit;;
10395     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10396       libsuff=32 shlibsuff=N32 libmagic=N32;;
10397     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10398       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10399     *) libsuff= shlibsuff= libmagic=never-match;;
10400     esac
10401     ;;
10402   esac
10403   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10404   shlibpath_overrides_runpath=no
10405   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10406   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10407   hardcode_into_libs=yes
10408   ;;
10409
10410 # No shared lib support for Linux oldld, aout, or coff.
10411 linux*oldld* | linux*aout* | linux*coff*)
10412   dynamic_linker=no
10413   ;;
10414
10415 # This must be glibc/ELF.
10416 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10417   version_type=linux # correct to gnu/linux during the next big refactor
10418   need_lib_prefix=no
10419   need_version=no
10420   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10421   soname_spec='${libname}${release}${shared_ext}$major'
10422   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10423   shlibpath_var=LD_LIBRARY_PATH
10424   shlibpath_overrides_runpath=no
10425
10426   # Some binutils ld are patched to set DT_RUNPATH
10427   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10428   $as_echo_n "(cached) " >&6
10429 else
10430   lt_cv_shlibpath_overrides_runpath=no
10431     save_LDFLAGS=$LDFLAGS
10432     save_libdir=$libdir
10433     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10434          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10435     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10436 /* end confdefs.h.  */
10437
10438 int
10439 main ()
10440 {
10441
10442   ;
10443   return 0;
10444 }
10445 _ACEOF
10446 if ac_fn_c_try_link "$LINENO"; then :
10447   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10448   lt_cv_shlibpath_overrides_runpath=yes
10449 fi
10450 fi
10451 rm -f core conftest.err conftest.$ac_objext \
10452     conftest$ac_exeext conftest.$ac_ext
10453     LDFLAGS=$save_LDFLAGS
10454     libdir=$save_libdir
10455
10456 fi
10457
10458   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10459
10460   # This implies no fast_install, which is unacceptable.
10461   # Some rework will be needed to allow for fast_install
10462   # before this can be enabled.
10463   hardcode_into_libs=yes
10464
10465   # Append ld.so.conf contents to the search path
10466   if test -f /etc/ld.so.conf; then
10467     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' ' '`
10468     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10469   fi
10470
10471   # We used to test for /lib/ld.so.1 and disable shared libraries on
10472   # powerpc, because MkLinux only supported shared libraries with the
10473   # GNU dynamic linker.  Since this was broken with cross compilers,
10474   # most powerpc-linux boxes support dynamic linking these days and
10475   # people can always --disable-shared, the test was removed, and we
10476   # assume the GNU/Linux dynamic linker is in use.
10477   dynamic_linker='GNU/Linux ld.so'
10478   ;;
10479
10480 netbsd*)
10481   version_type=sunos
10482   need_lib_prefix=no
10483   need_version=no
10484   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10485     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10486     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10487     dynamic_linker='NetBSD (a.out) ld.so'
10488   else
10489     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10490     soname_spec='${libname}${release}${shared_ext}$major'
10491     dynamic_linker='NetBSD ld.elf_so'
10492   fi
10493   shlibpath_var=LD_LIBRARY_PATH
10494   shlibpath_overrides_runpath=yes
10495   hardcode_into_libs=yes
10496   ;;
10497
10498 newsos6)
10499   version_type=linux # correct to gnu/linux during the next big refactor
10500   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10501   shlibpath_var=LD_LIBRARY_PATH
10502   shlibpath_overrides_runpath=yes
10503   ;;
10504
10505 *nto* | *qnx*)
10506   version_type=qnx
10507   need_lib_prefix=no
10508   need_version=no
10509   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10510   soname_spec='${libname}${release}${shared_ext}$major'
10511   shlibpath_var=LD_LIBRARY_PATH
10512   shlibpath_overrides_runpath=no
10513   hardcode_into_libs=yes
10514   dynamic_linker='ldqnx.so'
10515   ;;
10516
10517 openbsd*)
10518   version_type=sunos
10519   sys_lib_dlsearch_path_spec="/usr/lib"
10520   need_lib_prefix=no
10521   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10522   case $host_os in
10523     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10524     *)                          need_version=no  ;;
10525   esac
10526   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10527   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10528   shlibpath_var=LD_LIBRARY_PATH
10529   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10530     case $host_os in
10531       openbsd2.[89] | openbsd2.[89].*)
10532         shlibpath_overrides_runpath=no
10533         ;;
10534       *)
10535         shlibpath_overrides_runpath=yes
10536         ;;
10537       esac
10538   else
10539     shlibpath_overrides_runpath=yes
10540   fi
10541   ;;
10542
10543 os2*)
10544   libname_spec='$name'
10545   shrext_cmds=".dll"
10546   need_lib_prefix=no
10547   library_names_spec='$libname${shared_ext} $libname.a'
10548   dynamic_linker='OS/2 ld.exe'
10549   shlibpath_var=LIBPATH
10550   ;;
10551
10552 osf3* | osf4* | osf5*)
10553   version_type=osf
10554   need_lib_prefix=no
10555   need_version=no
10556   soname_spec='${libname}${release}${shared_ext}$major'
10557   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10558   shlibpath_var=LD_LIBRARY_PATH
10559   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10560   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10561   ;;
10562
10563 rdos*)
10564   dynamic_linker=no
10565   ;;
10566
10567 solaris*)
10568   version_type=linux # correct to gnu/linux during the next big refactor
10569   need_lib_prefix=no
10570   need_version=no
10571   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10572   soname_spec='${libname}${release}${shared_ext}$major'
10573   shlibpath_var=LD_LIBRARY_PATH
10574   shlibpath_overrides_runpath=yes
10575   hardcode_into_libs=yes
10576   # ldd complains unless libraries are executable
10577   postinstall_cmds='chmod +x $lib'
10578   ;;
10579
10580 sunos4*)
10581   version_type=sunos
10582   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10583   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10584   shlibpath_var=LD_LIBRARY_PATH
10585   shlibpath_overrides_runpath=yes
10586   if test "$with_gnu_ld" = yes; then
10587     need_lib_prefix=no
10588   fi
10589   need_version=yes
10590   ;;
10591
10592 sysv4 | sysv4.3*)
10593   version_type=linux # correct to gnu/linux during the next big refactor
10594   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10595   soname_spec='${libname}${release}${shared_ext}$major'
10596   shlibpath_var=LD_LIBRARY_PATH
10597   case $host_vendor in
10598     sni)
10599       shlibpath_overrides_runpath=no
10600       need_lib_prefix=no
10601       runpath_var=LD_RUN_PATH
10602       ;;
10603     siemens)
10604       need_lib_prefix=no
10605       ;;
10606     motorola)
10607       need_lib_prefix=no
10608       need_version=no
10609       shlibpath_overrides_runpath=no
10610       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10611       ;;
10612   esac
10613   ;;
10614
10615 sysv4*MP*)
10616   if test -d /usr/nec ;then
10617     version_type=linux # correct to gnu/linux during the next big refactor
10618     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10619     soname_spec='$libname${shared_ext}.$major'
10620     shlibpath_var=LD_LIBRARY_PATH
10621   fi
10622   ;;
10623
10624 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10625   version_type=freebsd-elf
10626   need_lib_prefix=no
10627   need_version=no
10628   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10629   soname_spec='${libname}${release}${shared_ext}$major'
10630   shlibpath_var=LD_LIBRARY_PATH
10631   shlibpath_overrides_runpath=yes
10632   hardcode_into_libs=yes
10633   if test "$with_gnu_ld" = yes; then
10634     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10635   else
10636     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10637     case $host_os in
10638       sco3.2v5*)
10639         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10640         ;;
10641     esac
10642   fi
10643   sys_lib_dlsearch_path_spec='/usr/lib'
10644   ;;
10645
10646 tpf*)
10647   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10648   version_type=linux # correct to gnu/linux during the next big refactor
10649   need_lib_prefix=no
10650   need_version=no
10651   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10652   shlibpath_var=LD_LIBRARY_PATH
10653   shlibpath_overrides_runpath=no
10654   hardcode_into_libs=yes
10655   ;;
10656
10657 uts4*)
10658   version_type=linux # correct to gnu/linux during the next big refactor
10659   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10660   soname_spec='${libname}${release}${shared_ext}$major'
10661   shlibpath_var=LD_LIBRARY_PATH
10662   ;;
10663
10664 *)
10665   dynamic_linker=no
10666   ;;
10667 esac
10668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10669 $as_echo "$dynamic_linker" >&6; }
10670 test "$dynamic_linker" = no && can_build_shared=no
10671
10672 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10673 if test "$GCC" = yes; then
10674   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10675 fi
10676
10677 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10678   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10679 fi
10680 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10681   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10682 fi
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10776 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10777 hardcode_action=
10778 if test -n "$hardcode_libdir_flag_spec" ||
10779    test -n "$runpath_var" ||
10780    test "X$hardcode_automatic" = "Xyes" ; then
10781
10782   # We can hardcode non-existent directories.
10783   if test "$hardcode_direct" != no &&
10784      # If the only mechanism to avoid hardcoding is shlibpath_var, we
10785      # have to relink, otherwise we might link with an installed library
10786      # when we should be linking with a yet-to-be-installed one
10787      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10788      test "$hardcode_minus_L" != no; then
10789     # Linking always hardcodes the temporary library directory.
10790     hardcode_action=relink
10791   else
10792     # We can link without hardcoding, and we can hardcode nonexisting dirs.
10793     hardcode_action=immediate
10794   fi
10795 else
10796   # We cannot hardcode anything, or else we can only hardcode existing
10797   # directories.
10798   hardcode_action=unsupported
10799 fi
10800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10801 $as_echo "$hardcode_action" >&6; }
10802
10803 if test "$hardcode_action" = relink ||
10804    test "$inherit_rpath" = yes; then
10805   # Fast installation is not supported
10806   enable_fast_install=no
10807 elif test "$shlibpath_overrides_runpath" = yes ||
10808      test "$enable_shared" = no; then
10809   # Fast installation is not necessary
10810   enable_fast_install=needless
10811 fi
10812
10813
10814
10815
10816
10817
10818   if test "x$enable_dlopen" != xyes; then
10819   enable_dlopen=unknown
10820   enable_dlopen_self=unknown
10821   enable_dlopen_self_static=unknown
10822 else
10823   lt_cv_dlopen=no
10824   lt_cv_dlopen_libs=
10825
10826   case $host_os in
10827   beos*)
10828     lt_cv_dlopen="load_add_on"
10829     lt_cv_dlopen_libs=
10830     lt_cv_dlopen_self=yes
10831     ;;
10832
10833   mingw* | pw32* | cegcc*)
10834     lt_cv_dlopen="LoadLibrary"
10835     lt_cv_dlopen_libs=
10836     ;;
10837
10838   cygwin*)
10839     lt_cv_dlopen="dlopen"
10840     lt_cv_dlopen_libs=
10841     ;;
10842
10843   darwin*)
10844   # if libdl is installed we need to link against it
10845     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10846 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10847 if ${ac_cv_lib_dl_dlopen+:} false; then :
10848   $as_echo_n "(cached) " >&6
10849 else
10850   ac_check_lib_save_LIBS=$LIBS
10851 LIBS="-ldl  $LIBS"
10852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10853 /* end confdefs.h.  */
10854
10855 /* Override any GCC internal prototype to avoid an error.
10856    Use char because int might match the return type of a GCC
10857    builtin and then its argument prototype would still apply.  */
10858 #ifdef __cplusplus
10859 extern "C"
10860 #endif
10861 char dlopen ();
10862 int
10863 main ()
10864 {
10865 return dlopen ();
10866   ;
10867   return 0;
10868 }
10869 _ACEOF
10870 if ac_fn_c_try_link "$LINENO"; then :
10871   ac_cv_lib_dl_dlopen=yes
10872 else
10873   ac_cv_lib_dl_dlopen=no
10874 fi
10875 rm -f core conftest.err conftest.$ac_objext \
10876     conftest$ac_exeext conftest.$ac_ext
10877 LIBS=$ac_check_lib_save_LIBS
10878 fi
10879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10880 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10881 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10882   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10883 else
10884
10885     lt_cv_dlopen="dyld"
10886     lt_cv_dlopen_libs=
10887     lt_cv_dlopen_self=yes
10888
10889 fi
10890
10891     ;;
10892
10893   *)
10894     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10895 if test "x$ac_cv_func_shl_load" = xyes; then :
10896   lt_cv_dlopen="shl_load"
10897 else
10898   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10899 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10900 if ${ac_cv_lib_dld_shl_load+:} false; then :
10901   $as_echo_n "(cached) " >&6
10902 else
10903   ac_check_lib_save_LIBS=$LIBS
10904 LIBS="-ldld  $LIBS"
10905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10906 /* end confdefs.h.  */
10907
10908 /* Override any GCC internal prototype to avoid an error.
10909    Use char because int might match the return type of a GCC
10910    builtin and then its argument prototype would still apply.  */
10911 #ifdef __cplusplus
10912 extern "C"
10913 #endif
10914 char shl_load ();
10915 int
10916 main ()
10917 {
10918 return shl_load ();
10919   ;
10920   return 0;
10921 }
10922 _ACEOF
10923 if ac_fn_c_try_link "$LINENO"; then :
10924   ac_cv_lib_dld_shl_load=yes
10925 else
10926   ac_cv_lib_dld_shl_load=no
10927 fi
10928 rm -f core conftest.err conftest.$ac_objext \
10929     conftest$ac_exeext conftest.$ac_ext
10930 LIBS=$ac_check_lib_save_LIBS
10931 fi
10932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10933 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10934 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10935   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10936 else
10937   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10938 if test "x$ac_cv_func_dlopen" = xyes; then :
10939   lt_cv_dlopen="dlopen"
10940 else
10941   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10942 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10943 if ${ac_cv_lib_dl_dlopen+:} false; then :
10944   $as_echo_n "(cached) " >&6
10945 else
10946   ac_check_lib_save_LIBS=$LIBS
10947 LIBS="-ldl  $LIBS"
10948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10949 /* end confdefs.h.  */
10950
10951 /* Override any GCC internal prototype to avoid an error.
10952    Use char because int might match the return type of a GCC
10953    builtin and then its argument prototype would still apply.  */
10954 #ifdef __cplusplus
10955 extern "C"
10956 #endif
10957 char dlopen ();
10958 int
10959 main ()
10960 {
10961 return dlopen ();
10962   ;
10963   return 0;
10964 }
10965 _ACEOF
10966 if ac_fn_c_try_link "$LINENO"; then :
10967   ac_cv_lib_dl_dlopen=yes
10968 else
10969   ac_cv_lib_dl_dlopen=no
10970 fi
10971 rm -f core conftest.err conftest.$ac_objext \
10972     conftest$ac_exeext conftest.$ac_ext
10973 LIBS=$ac_check_lib_save_LIBS
10974 fi
10975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10976 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10977 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10978   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10979 else
10980   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10981 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10982 if ${ac_cv_lib_svld_dlopen+:} false; then :
10983   $as_echo_n "(cached) " >&6
10984 else
10985   ac_check_lib_save_LIBS=$LIBS
10986 LIBS="-lsvld  $LIBS"
10987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10988 /* end confdefs.h.  */
10989
10990 /* Override any GCC internal prototype to avoid an error.
10991    Use char because int might match the return type of a GCC
10992    builtin and then its argument prototype would still apply.  */
10993 #ifdef __cplusplus
10994 extern "C"
10995 #endif
10996 char dlopen ();
10997 int
10998 main ()
10999 {
11000 return dlopen ();
11001   ;
11002   return 0;
11003 }
11004 _ACEOF
11005 if ac_fn_c_try_link "$LINENO"; then :
11006   ac_cv_lib_svld_dlopen=yes
11007 else
11008   ac_cv_lib_svld_dlopen=no
11009 fi
11010 rm -f core conftest.err conftest.$ac_objext \
11011     conftest$ac_exeext conftest.$ac_ext
11012 LIBS=$ac_check_lib_save_LIBS
11013 fi
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11015 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11016 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11017   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11018 else
11019   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11020 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11021 if ${ac_cv_lib_dld_dld_link+:} false; then :
11022   $as_echo_n "(cached) " >&6
11023 else
11024   ac_check_lib_save_LIBS=$LIBS
11025 LIBS="-ldld  $LIBS"
11026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11027 /* end confdefs.h.  */
11028
11029 /* Override any GCC internal prototype to avoid an error.
11030    Use char because int might match the return type of a GCC
11031    builtin and then its argument prototype would still apply.  */
11032 #ifdef __cplusplus
11033 extern "C"
11034 #endif
11035 char dld_link ();
11036 int
11037 main ()
11038 {
11039 return dld_link ();
11040   ;
11041   return 0;
11042 }
11043 _ACEOF
11044 if ac_fn_c_try_link "$LINENO"; then :
11045   ac_cv_lib_dld_dld_link=yes
11046 else
11047   ac_cv_lib_dld_dld_link=no
11048 fi
11049 rm -f core conftest.err conftest.$ac_objext \
11050     conftest$ac_exeext conftest.$ac_ext
11051 LIBS=$ac_check_lib_save_LIBS
11052 fi
11053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11054 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11055 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11056   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11057 fi
11058
11059
11060 fi
11061
11062
11063 fi
11064
11065
11066 fi
11067
11068
11069 fi
11070
11071
11072 fi
11073
11074     ;;
11075   esac
11076
11077   if test "x$lt_cv_dlopen" != xno; then
11078     enable_dlopen=yes
11079   else
11080     enable_dlopen=no
11081   fi
11082
11083   case $lt_cv_dlopen in
11084   dlopen)
11085     save_CPPFLAGS="$CPPFLAGS"
11086     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11087
11088     save_LDFLAGS="$LDFLAGS"
11089     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11090
11091     save_LIBS="$LIBS"
11092     LIBS="$lt_cv_dlopen_libs $LIBS"
11093
11094     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11095 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11096 if ${lt_cv_dlopen_self+:} false; then :
11097   $as_echo_n "(cached) " >&6
11098 else
11099           if test "$cross_compiling" = yes; then :
11100   lt_cv_dlopen_self=cross
11101 else
11102   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11103   lt_status=$lt_dlunknown
11104   cat > conftest.$ac_ext <<_LT_EOF
11105 #line $LINENO "configure"
11106 #include "confdefs.h"
11107
11108 #if HAVE_DLFCN_H
11109 #include <dlfcn.h>
11110 #endif
11111
11112 #include <stdio.h>
11113
11114 #ifdef RTLD_GLOBAL
11115 #  define LT_DLGLOBAL           RTLD_GLOBAL
11116 #else
11117 #  ifdef DL_GLOBAL
11118 #    define LT_DLGLOBAL         DL_GLOBAL
11119 #  else
11120 #    define LT_DLGLOBAL         0
11121 #  endif
11122 #endif
11123
11124 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11125    find out it does not work in some platform. */
11126 #ifndef LT_DLLAZY_OR_NOW
11127 #  ifdef RTLD_LAZY
11128 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11129 #  else
11130 #    ifdef DL_LAZY
11131 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11132 #    else
11133 #      ifdef RTLD_NOW
11134 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11135 #      else
11136 #        ifdef DL_NOW
11137 #          define LT_DLLAZY_OR_NOW      DL_NOW
11138 #        else
11139 #          define LT_DLLAZY_OR_NOW      0
11140 #        endif
11141 #      endif
11142 #    endif
11143 #  endif
11144 #endif
11145
11146 /* When -fvisbility=hidden is used, assume the code has been annotated
11147    correspondingly for the symbols needed.  */
11148 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11149 int fnord () __attribute__((visibility("default")));
11150 #endif
11151
11152 int fnord () { return 42; }
11153 int main ()
11154 {
11155   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11156   int status = $lt_dlunknown;
11157
11158   if (self)
11159     {
11160       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11161       else
11162         {
11163           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11164           else puts (dlerror ());
11165         }
11166       /* dlclose (self); */
11167     }
11168   else
11169     puts (dlerror ());
11170
11171   return status;
11172 }
11173 _LT_EOF
11174   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11175   (eval $ac_link) 2>&5
11176   ac_status=$?
11177   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11178   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11179     (./conftest; exit; ) >&5 2>/dev/null
11180     lt_status=$?
11181     case x$lt_status in
11182       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11183       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11184       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11185     esac
11186   else :
11187     # compilation failed
11188     lt_cv_dlopen_self=no
11189   fi
11190 fi
11191 rm -fr conftest*
11192
11193
11194 fi
11195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11196 $as_echo "$lt_cv_dlopen_self" >&6; }
11197
11198     if test "x$lt_cv_dlopen_self" = xyes; then
11199       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11200       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11201 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11202 if ${lt_cv_dlopen_self_static+:} false; then :
11203   $as_echo_n "(cached) " >&6
11204 else
11205           if test "$cross_compiling" = yes; then :
11206   lt_cv_dlopen_self_static=cross
11207 else
11208   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11209   lt_status=$lt_dlunknown
11210   cat > conftest.$ac_ext <<_LT_EOF
11211 #line $LINENO "configure"
11212 #include "confdefs.h"
11213
11214 #if HAVE_DLFCN_H
11215 #include <dlfcn.h>
11216 #endif
11217
11218 #include <stdio.h>
11219
11220 #ifdef RTLD_GLOBAL
11221 #  define LT_DLGLOBAL           RTLD_GLOBAL
11222 #else
11223 #  ifdef DL_GLOBAL
11224 #    define LT_DLGLOBAL         DL_GLOBAL
11225 #  else
11226 #    define LT_DLGLOBAL         0
11227 #  endif
11228 #endif
11229
11230 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11231    find out it does not work in some platform. */
11232 #ifndef LT_DLLAZY_OR_NOW
11233 #  ifdef RTLD_LAZY
11234 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11235 #  else
11236 #    ifdef DL_LAZY
11237 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11238 #    else
11239 #      ifdef RTLD_NOW
11240 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11241 #      else
11242 #        ifdef DL_NOW
11243 #          define LT_DLLAZY_OR_NOW      DL_NOW
11244 #        else
11245 #          define LT_DLLAZY_OR_NOW      0
11246 #        endif
11247 #      endif
11248 #    endif
11249 #  endif
11250 #endif
11251
11252 /* When -fvisbility=hidden is used, assume the code has been annotated
11253    correspondingly for the symbols needed.  */
11254 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11255 int fnord () __attribute__((visibility("default")));
11256 #endif
11257
11258 int fnord () { return 42; }
11259 int main ()
11260 {
11261   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11262   int status = $lt_dlunknown;
11263
11264   if (self)
11265     {
11266       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11267       else
11268         {
11269           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11270           else puts (dlerror ());
11271         }
11272       /* dlclose (self); */
11273     }
11274   else
11275     puts (dlerror ());
11276
11277   return status;
11278 }
11279 _LT_EOF
11280   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11281   (eval $ac_link) 2>&5
11282   ac_status=$?
11283   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11284   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11285     (./conftest; exit; ) >&5 2>/dev/null
11286     lt_status=$?
11287     case x$lt_status in
11288       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11289       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11290       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11291     esac
11292   else :
11293     # compilation failed
11294     lt_cv_dlopen_self_static=no
11295   fi
11296 fi
11297 rm -fr conftest*
11298
11299
11300 fi
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11302 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11303     fi
11304
11305     CPPFLAGS="$save_CPPFLAGS"
11306     LDFLAGS="$save_LDFLAGS"
11307     LIBS="$save_LIBS"
11308     ;;
11309   esac
11310
11311   case $lt_cv_dlopen_self in
11312   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11313   *) enable_dlopen_self=unknown ;;
11314   esac
11315
11316   case $lt_cv_dlopen_self_static in
11317   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11318   *) enable_dlopen_self_static=unknown ;;
11319   esac
11320 fi
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338 striplib=
11339 old_striplib=
11340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11341 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11342 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11343   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11344   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11346 $as_echo "yes" >&6; }
11347 else
11348 # FIXME - insert some real tests, host_os isn't really good enough
11349   case $host_os in
11350   darwin*)
11351     if test -n "$STRIP" ; then
11352       striplib="$STRIP -x"
11353       old_striplib="$STRIP -S"
11354       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11355 $as_echo "yes" >&6; }
11356     else
11357       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11358 $as_echo "no" >&6; }
11359     fi
11360     ;;
11361   *)
11362     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11363 $as_echo "no" >&6; }
11364     ;;
11365   esac
11366 fi
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379   # Report which library types will actually be built
11380   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11381 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11383 $as_echo "$can_build_shared" >&6; }
11384
11385   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11386 $as_echo_n "checking whether to build shared libraries... " >&6; }
11387   test "$can_build_shared" = "no" && enable_shared=no
11388
11389   # On AIX, shared libraries and static libraries use the same namespace, and
11390   # are all built from PIC.
11391   case $host_os in
11392   aix3*)
11393     test "$enable_shared" = yes && enable_static=no
11394     if test -n "$RANLIB"; then
11395       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11396       postinstall_cmds='$RANLIB $lib'
11397     fi
11398     ;;
11399
11400   aix[4-9]*)
11401     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11402       test "$enable_shared" = yes && enable_static=no
11403     fi
11404     ;;
11405   esac
11406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11407 $as_echo "$enable_shared" >&6; }
11408
11409   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11410 $as_echo_n "checking whether to build static libraries... " >&6; }
11411   # Make sure either enable_shared or enable_static is yes.
11412   test "$enable_shared" = yes || enable_static=yes
11413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11414 $as_echo "$enable_static" >&6; }
11415
11416
11417
11418
11419 fi
11420 ac_ext=c
11421 ac_cpp='$CPP $CPPFLAGS'
11422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11425
11426 CC="$lt_save_CC"
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442         ac_config_commands="$ac_config_commands libtool"
11443
11444
11445
11446
11447 # Only expand once:
11448
11449
11450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
11451 $as_echo_n "checking whether ln -s works... " >&6; }
11452 LN_S=$as_ln_s
11453 if test "$LN_S" = "ln -s"; then
11454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11455 $as_echo "yes" >&6; }
11456 else
11457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
11458 $as_echo "no, using $LN_S" >&6; }
11459 fi
11460
11461
11462 for ac_prog in flex lex
11463 do
11464   # Extract the first word of "$ac_prog", so it can be a program name with args.
11465 set dummy $ac_prog; ac_word=$2
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11467 $as_echo_n "checking for $ac_word... " >&6; }
11468 if ${ac_cv_prog_LEX+:} false; then :
11469   $as_echo_n "(cached) " >&6
11470 else
11471   if test -n "$LEX"; then
11472   ac_cv_prog_LEX="$LEX" # Let the user override the test.
11473 else
11474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11475 for as_dir in $PATH
11476 do
11477   IFS=$as_save_IFS
11478   test -z "$as_dir" && as_dir=.
11479     for ac_exec_ext in '' $ac_executable_extensions; do
11480   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11481     ac_cv_prog_LEX="$ac_prog"
11482     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11483     break 2
11484   fi
11485 done
11486   done
11487 IFS=$as_save_IFS
11488
11489 fi
11490 fi
11491 LEX=$ac_cv_prog_LEX
11492 if test -n "$LEX"; then
11493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
11494 $as_echo "$LEX" >&6; }
11495 else
11496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11497 $as_echo "no" >&6; }
11498 fi
11499
11500
11501   test -n "$LEX" && break
11502 done
11503 test -n "$LEX" || LEX=":"
11504
11505 if test "x$LEX" != "x:"; then
11506   cat >conftest.l <<_ACEOF
11507 %%
11508 a { ECHO; }
11509 b { REJECT; }
11510 c { yymore (); }
11511 d { yyless (1); }
11512 e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
11513     yyless ((input () != 0)); }
11514 f { unput (yytext[0]); }
11515 . { BEGIN INITIAL; }
11516 %%
11517 #ifdef YYTEXT_POINTER
11518 extern char *yytext;
11519 #endif
11520 int
11521 main (void)
11522 {
11523   return ! yylex () + ! yywrap ();
11524 }
11525 _ACEOF
11526 { { ac_try="$LEX conftest.l"
11527 case "(($ac_try" in
11528   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11529   *) ac_try_echo=$ac_try;;
11530 esac
11531 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11532 $as_echo "$ac_try_echo"; } >&5
11533   (eval "$LEX conftest.l") 2>&5
11534   ac_status=$?
11535   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11536   test $ac_status = 0; }
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
11538 $as_echo_n "checking lex output file root... " >&6; }
11539 if ${ac_cv_prog_lex_root+:} false; then :
11540   $as_echo_n "(cached) " >&6
11541 else
11542
11543 if test -f lex.yy.c; then
11544   ac_cv_prog_lex_root=lex.yy
11545 elif test -f lexyy.c; then
11546   ac_cv_prog_lex_root=lexyy
11547 else
11548   as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
11549 fi
11550 fi
11551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
11552 $as_echo "$ac_cv_prog_lex_root" >&6; }
11553 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
11554
11555 if test -z "${LEXLIB+set}"; then
11556   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
11557 $as_echo_n "checking lex library... " >&6; }
11558 if ${ac_cv_lib_lex+:} false; then :
11559   $as_echo_n "(cached) " >&6
11560 else
11561
11562     ac_save_LIBS=$LIBS
11563     ac_cv_lib_lex='none needed'
11564     for ac_lib in '' -lfl -ll; do
11565       LIBS="$ac_lib $ac_save_LIBS"
11566       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11567 /* end confdefs.h.  */
11568 `cat $LEX_OUTPUT_ROOT.c`
11569 _ACEOF
11570 if ac_fn_c_try_link "$LINENO"; then :
11571   ac_cv_lib_lex=$ac_lib
11572 fi
11573 rm -f core conftest.err conftest.$ac_objext \
11574     conftest$ac_exeext conftest.$ac_ext
11575       test "$ac_cv_lib_lex" != 'none needed' && break
11576     done
11577     LIBS=$ac_save_LIBS
11578
11579 fi
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
11581 $as_echo "$ac_cv_lib_lex" >&6; }
11582   test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
11583 fi
11584
11585
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
11587 $as_echo_n "checking whether yytext is a pointer... " >&6; }
11588 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
11589   $as_echo_n "(cached) " >&6
11590 else
11591   # POSIX says lex can declare yytext either as a pointer or an array; the
11592 # default is implementation-dependent.  Figure out which it is, since
11593 # not all implementations provide the %pointer and %array declarations.
11594 ac_cv_prog_lex_yytext_pointer=no
11595 ac_save_LIBS=$LIBS
11596 LIBS="$LEXLIB $ac_save_LIBS"
11597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11598 /* end confdefs.h.  */
11599
11600   #define YYTEXT_POINTER 1
11601 `cat $LEX_OUTPUT_ROOT.c`
11602 _ACEOF
11603 if ac_fn_c_try_link "$LINENO"; then :
11604   ac_cv_prog_lex_yytext_pointer=yes
11605 fi
11606 rm -f core conftest.err conftest.$ac_objext \
11607     conftest$ac_exeext conftest.$ac_ext
11608 LIBS=$ac_save_LIBS
11609
11610 fi
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
11612 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
11613 if test $ac_cv_prog_lex_yytext_pointer = yes; then
11614
11615 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
11616
11617 fi
11618 rm -f conftest.l $LEX_OUTPUT_ROOT.c
11619
11620 fi
11621 if test "$LEX" = :; then
11622         as_fn_error $? "flex not found but required" "$LINENO" 5
11623 fi
11624
11625 for ac_prog in 'bison -y' byacc yacc
11626 do
11627   # Extract the first word of "$ac_prog", so it can be a program name with args.
11628 set dummy $ac_prog; ac_word=$2
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11630 $as_echo_n "checking for $ac_word... " >&6; }
11631 if ${ac_cv_prog_YACC+:} false; then :
11632   $as_echo_n "(cached) " >&6
11633 else
11634   if test -n "$YACC"; then
11635   ac_cv_prog_YACC="$YACC" # Let the user override the test.
11636 else
11637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11638 for as_dir in $PATH
11639 do
11640   IFS=$as_save_IFS
11641   test -z "$as_dir" && as_dir=.
11642     for ac_exec_ext in '' $ac_executable_extensions; do
11643   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11644     ac_cv_prog_YACC="$ac_prog"
11645     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11646     break 2
11647   fi
11648 done
11649   done
11650 IFS=$as_save_IFS
11651
11652 fi
11653 fi
11654 YACC=$ac_cv_prog_YACC
11655 if test -n "$YACC"; then
11656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
11657 $as_echo "$YACC" >&6; }
11658 else
11659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11660 $as_echo "no" >&6; }
11661 fi
11662
11663
11664   test -n "$YACC" && break
11665 done
11666 test -n "$YACC" || YACC=":"
11667
11668 if test "$YACC" = :; then
11669         as_fn_error $? "bison not found but required" "$LINENO" 5
11670 fi
11671
11672 # Extract the first word of "valac", so it can be a program name with args.
11673 set dummy valac; ac_word=$2
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11675 $as_echo_n "checking for $ac_word... " >&6; }
11676 if ${ac_cv_path_VALAC+:} false; then :
11677   $as_echo_n "(cached) " >&6
11678 else
11679   case $VALAC in
11680   [\\/]* | ?:[\\/]*)
11681   ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path.
11682   ;;
11683   *)
11684   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11685 for as_dir in $PATH
11686 do
11687   IFS=$as_save_IFS
11688   test -z "$as_dir" && as_dir=.
11689     for ac_exec_ext in '' $ac_executable_extensions; do
11690   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11691     ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext"
11692     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11693     break 2
11694   fi
11695 done
11696   done
11697 IFS=$as_save_IFS
11698
11699   test -z "$ac_cv_path_VALAC" && ac_cv_path_VALAC="valac"
11700   ;;
11701 esac
11702 fi
11703 VALAC=$ac_cv_path_VALAC
11704 if test -n "$VALAC"; then
11705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5
11706 $as_echo "$VALAC" >&6; }
11707 else
11708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11709 $as_echo "no" >&6; }
11710 fi
11711
11712
11713
11714
11715 VALAFLAGS="$VALAFLAGS --disable-version-header"
11716
11717
11718
11719
11720
11721
11722 # Check whether --enable-unversioned was given.
11723 if test "${enable_unversioned+set}" = set; then :
11724   enableval=$enable_unversioned; enable_unversioned=$enableval
11725 else
11726   enable_unversioned=yes
11727 fi
11728
11729  if test x$enable_unversioned = xyes; then
11730   ENABLE_UNVERSIONED_TRUE=
11731   ENABLE_UNVERSIONED_FALSE='#'
11732 else
11733   ENABLE_UNVERSIONED_TRUE='#'
11734   ENABLE_UNVERSIONED_FALSE=
11735 fi
11736
11737
11738 # Check whether --enable-coverage was given.
11739 if test "${enable_coverage+set}" = set; then :
11740   enableval=$enable_coverage; enable_coverage=$enableval
11741 else
11742   enable_coverage=no
11743 fi
11744
11745  if test x$enable_coverage = xyes; then
11746   ENABLE_COVERAGE_TRUE=
11747   ENABLE_COVERAGE_FALSE='#'
11748 else
11749   ENABLE_COVERAGE_TRUE='#'
11750   ENABLE_COVERAGE_FALSE=
11751 fi
11752
11753
11754 if test "$enable_coverage" = "yes"; then
11755         COVERAGE_VALAFLAGS="-g"
11756         COVERAGE_CFLAGS="-fprofile-arcs -ftest-coverage"
11757         COVERAGE_LIBS="-lgcov"
11758 else
11759         COVERAGE_VALAFLAGS=
11760         COVERAGE_CFLAGS=
11761         COVERAGE_LIBS=
11762 fi
11763
11764
11765
11766
11767 GLIB_REQUIRED=2.24.0
11768
11769
11770
11771
11772
11773
11774
11775
11776 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11777         if test -n "$ac_tool_prefix"; then
11778   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11779 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11781 $as_echo_n "checking for $ac_word... " >&6; }
11782 if ${ac_cv_path_PKG_CONFIG+:} false; then :
11783   $as_echo_n "(cached) " >&6
11784 else
11785   case $PKG_CONFIG in
11786   [\\/]* | ?:[\\/]*)
11787   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11788   ;;
11789   *)
11790   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11791 for as_dir in $PATH
11792 do
11793   IFS=$as_save_IFS
11794   test -z "$as_dir" && as_dir=.
11795     for ac_exec_ext in '' $ac_executable_extensions; do
11796   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11797     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11798     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11799     break 2
11800   fi
11801 done
11802   done
11803 IFS=$as_save_IFS
11804
11805   ;;
11806 esac
11807 fi
11808 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11809 if test -n "$PKG_CONFIG"; then
11810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11811 $as_echo "$PKG_CONFIG" >&6; }
11812 else
11813   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11814 $as_echo "no" >&6; }
11815 fi
11816
11817
11818 fi
11819 if test -z "$ac_cv_path_PKG_CONFIG"; then
11820   ac_pt_PKG_CONFIG=$PKG_CONFIG
11821   # Extract the first word of "pkg-config", so it can be a program name with args.
11822 set dummy pkg-config; ac_word=$2
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11824 $as_echo_n "checking for $ac_word... " >&6; }
11825 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11826   $as_echo_n "(cached) " >&6
11827 else
11828   case $ac_pt_PKG_CONFIG in
11829   [\\/]* | ?:[\\/]*)
11830   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11831   ;;
11832   *)
11833   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11834 for as_dir in $PATH
11835 do
11836   IFS=$as_save_IFS
11837   test -z "$as_dir" && as_dir=.
11838     for ac_exec_ext in '' $ac_executable_extensions; do
11839   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11840     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11841     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11842     break 2
11843   fi
11844 done
11845   done
11846 IFS=$as_save_IFS
11847
11848   ;;
11849 esac
11850 fi
11851 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11852 if test -n "$ac_pt_PKG_CONFIG"; then
11853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11854 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11855 else
11856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11857 $as_echo "no" >&6; }
11858 fi
11859
11860   if test "x$ac_pt_PKG_CONFIG" = x; then
11861     PKG_CONFIG=""
11862   else
11863     case $cross_compiling:$ac_tool_warned in
11864 yes:)
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11866 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11867 ac_tool_warned=yes ;;
11868 esac
11869     PKG_CONFIG=$ac_pt_PKG_CONFIG
11870   fi
11871 else
11872   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11873 fi
11874
11875 fi
11876 if test -n "$PKG_CONFIG"; then
11877         _pkg_min_version=0.9.0
11878         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11879 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11880         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11881                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11882 $as_echo "yes" >&6; }
11883         else
11884                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11885 $as_echo "no" >&6; }
11886                 PKG_CONFIG=""
11887         fi
11888 fi
11889
11890 pkg_failed=no
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
11892 $as_echo_n "checking for GLIB... " >&6; }
11893
11894 if test -n "$GLIB_CFLAGS"; then
11895     pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
11896  elif test -n "$PKG_CONFIG"; then
11897     if test -n "$PKG_CONFIG" && \
11898     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED gobject-2.0 >= \$GLIB_REQUIRED\""; } >&5
11899   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED") 2>&5
11900   ac_status=$?
11901   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11902   test $ac_status = 0; }; then
11903   pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
11904                       test "x$?" != "x0" && pkg_failed=yes
11905 else
11906   pkg_failed=yes
11907 fi
11908  else
11909     pkg_failed=untried
11910 fi
11911 if test -n "$GLIB_LIBS"; then
11912     pkg_cv_GLIB_LIBS="$GLIB_LIBS"
11913  elif test -n "$PKG_CONFIG"; then
11914     if test -n "$PKG_CONFIG" && \
11915     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED gobject-2.0 >= \$GLIB_REQUIRED\""; } >&5
11916   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED") 2>&5
11917   ac_status=$?
11918   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11919   test $ac_status = 0; }; then
11920   pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
11921                       test "x$?" != "x0" && pkg_failed=yes
11922 else
11923   pkg_failed=yes
11924 fi
11925  else
11926     pkg_failed=untried
11927 fi
11928
11929
11930
11931 if test $pkg_failed = yes; then
11932         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11933 $as_echo "no" >&6; }
11934
11935 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11936         _pkg_short_errors_supported=yes
11937 else
11938         _pkg_short_errors_supported=no
11939 fi
11940         if test $_pkg_short_errors_supported = yes; then
11941                 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED" 2>&1`
11942         else
11943                 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED" 2>&1`
11944         fi
11945         # Put the nasty error message in config.log where it belongs
11946         echo "$GLIB_PKG_ERRORS" >&5
11947
11948         as_fn_error $? "Package requirements (glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED) were not met:
11949
11950 $GLIB_PKG_ERRORS
11951
11952 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11953 installed software in a non-standard prefix.
11954
11955 Alternatively, you may set the environment variables GLIB_CFLAGS
11956 and GLIB_LIBS to avoid the need to call pkg-config.
11957 See the pkg-config man page for more details." "$LINENO" 5
11958 elif test $pkg_failed = untried; then
11959         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11960 $as_echo "no" >&6; }
11961         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11962 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11963 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
11964 is in your PATH or set the PKG_CONFIG environment variable to the full
11965 path to pkg-config.
11966
11967 Alternatively, you may set the environment variables GLIB_CFLAGS
11968 and GLIB_LIBS to avoid the need to call pkg-config.
11969 See the pkg-config man page for more details.
11970
11971 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11972 See \`config.log' for more details" "$LINENO" 5; }
11973 else
11974         GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
11975         GLIB_LIBS=$pkg_cv_GLIB_LIBS
11976         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11977 $as_echo "yes" >&6; }
11978
11979 fi
11980
11981
11982
11983
11984
11985 pkg_failed=no
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMODULE" >&5
11987 $as_echo_n "checking for GMODULE... " >&6; }
11988
11989 if test -n "$GMODULE_CFLAGS"; then
11990     pkg_cv_GMODULE_CFLAGS="$GMODULE_CFLAGS"
11991  elif test -n "$PKG_CONFIG"; then
11992     if test -n "$PKG_CONFIG" && \
11993     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0 >= \$GLIB_REQUIRED\""; } >&5
11994   ($PKG_CONFIG --exists --print-errors "gmodule-2.0 >= $GLIB_REQUIRED") 2>&5
11995   ac_status=$?
11996   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11997   test $ac_status = 0; }; then
11998   pkg_cv_GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
11999                       test "x$?" != "x0" && pkg_failed=yes
12000 else
12001   pkg_failed=yes
12002 fi
12003  else
12004     pkg_failed=untried
12005 fi
12006 if test -n "$GMODULE_LIBS"; then
12007     pkg_cv_GMODULE_LIBS="$GMODULE_LIBS"
12008  elif test -n "$PKG_CONFIG"; then
12009     if test -n "$PKG_CONFIG" && \
12010     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0 >= \$GLIB_REQUIRED\""; } >&5
12011   ($PKG_CONFIG --exists --print-errors "gmodule-2.0 >= $GLIB_REQUIRED") 2>&5
12012   ac_status=$?
12013   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12014   test $ac_status = 0; }; then
12015   pkg_cv_GMODULE_LIBS=`$PKG_CONFIG --libs "gmodule-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
12016                       test "x$?" != "x0" && pkg_failed=yes
12017 else
12018   pkg_failed=yes
12019 fi
12020  else
12021     pkg_failed=untried
12022 fi
12023
12024
12025
12026 if test $pkg_failed = yes; then
12027         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12028 $as_echo "no" >&6; }
12029
12030 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12031         _pkg_short_errors_supported=yes
12032 else
12033         _pkg_short_errors_supported=no
12034 fi
12035         if test $_pkg_short_errors_supported = yes; then
12036                 GMODULE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gmodule-2.0 >= $GLIB_REQUIRED" 2>&1`
12037         else
12038                 GMODULE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gmodule-2.0 >= $GLIB_REQUIRED" 2>&1`
12039         fi
12040         # Put the nasty error message in config.log where it belongs
12041         echo "$GMODULE_PKG_ERRORS" >&5
12042
12043         as_fn_error $? "Package requirements (gmodule-2.0 >= $GLIB_REQUIRED) were not met:
12044
12045 $GMODULE_PKG_ERRORS
12046
12047 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12048 installed software in a non-standard prefix.
12049
12050 Alternatively, you may set the environment variables GMODULE_CFLAGS
12051 and GMODULE_LIBS to avoid the need to call pkg-config.
12052 See the pkg-config man page for more details." "$LINENO" 5
12053 elif test $pkg_failed = untried; then
12054         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12055 $as_echo "no" >&6; }
12056         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12057 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12058 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12059 is in your PATH or set the PKG_CONFIG environment variable to the full
12060 path to pkg-config.
12061
12062 Alternatively, you may set the environment variables GMODULE_CFLAGS
12063 and GMODULE_LIBS to avoid the need to call pkg-config.
12064 See the pkg-config man page for more details.
12065
12066 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12067 See \`config.log' for more details" "$LINENO" 5; }
12068 else
12069         GMODULE_CFLAGS=$pkg_cv_GMODULE_CFLAGS
12070         GMODULE_LIBS=$pkg_cv_GMODULE_LIBS
12071         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12072 $as_echo "yes" >&6; }
12073
12074 fi
12075
12076
12077
12078
12079
12080 pkg_failed=no
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTHREAD" >&5
12082 $as_echo_n "checking for GTHREAD... " >&6; }
12083
12084 if test -n "$GTHREAD_CFLAGS"; then
12085     pkg_cv_GTHREAD_CFLAGS="$GTHREAD_CFLAGS"
12086  elif test -n "$PKG_CONFIG"; then
12087     if test -n "$PKG_CONFIG" && \
12088     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0 >= \$GLIB_REQUIRED\""; } >&5
12089   ($PKG_CONFIG --exists --print-errors "gthread-2.0 >= $GLIB_REQUIRED") 2>&5
12090   ac_status=$?
12091   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12092   test $ac_status = 0; }; then
12093   pkg_cv_GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
12094                       test "x$?" != "x0" && pkg_failed=yes
12095 else
12096   pkg_failed=yes
12097 fi
12098  else
12099     pkg_failed=untried
12100 fi
12101 if test -n "$GTHREAD_LIBS"; then
12102     pkg_cv_GTHREAD_LIBS="$GTHREAD_LIBS"
12103  elif test -n "$PKG_CONFIG"; then
12104     if test -n "$PKG_CONFIG" && \
12105     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0 >= \$GLIB_REQUIRED\""; } >&5
12106   ($PKG_CONFIG --exists --print-errors "gthread-2.0 >= $GLIB_REQUIRED") 2>&5
12107   ac_status=$?
12108   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12109   test $ac_status = 0; }; then
12110   pkg_cv_GTHREAD_LIBS=`$PKG_CONFIG --libs "gthread-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
12111                       test "x$?" != "x0" && pkg_failed=yes
12112 else
12113   pkg_failed=yes
12114 fi
12115  else
12116     pkg_failed=untried
12117 fi
12118
12119
12120
12121 if test $pkg_failed = yes; then
12122         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12123 $as_echo "no" >&6; }
12124
12125 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12126         _pkg_short_errors_supported=yes
12127 else
12128         _pkg_short_errors_supported=no
12129 fi
12130         if test $_pkg_short_errors_supported = yes; then
12131                 GTHREAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gthread-2.0 >= $GLIB_REQUIRED" 2>&1`
12132         else
12133                 GTHREAD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gthread-2.0 >= $GLIB_REQUIRED" 2>&1`
12134         fi
12135         # Put the nasty error message in config.log where it belongs
12136         echo "$GTHREAD_PKG_ERRORS" >&5
12137
12138         as_fn_error $? "Package requirements (gthread-2.0 >= $GLIB_REQUIRED) were not met:
12139
12140 $GTHREAD_PKG_ERRORS
12141
12142 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12143 installed software in a non-standard prefix.
12144
12145 Alternatively, you may set the environment variables GTHREAD_CFLAGS
12146 and GTHREAD_LIBS to avoid the need to call pkg-config.
12147 See the pkg-config man page for more details." "$LINENO" 5
12148 elif test $pkg_failed = untried; then
12149         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12150 $as_echo "no" >&6; }
12151         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12152 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12153 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12154 is in your PATH or set the PKG_CONFIG environment variable to the full
12155 path to pkg-config.
12156
12157 Alternatively, you may set the environment variables GTHREAD_CFLAGS
12158 and GTHREAD_LIBS to avoid the need to call pkg-config.
12159 See the pkg-config man page for more details.
12160
12161 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12162 See \`config.log' for more details" "$LINENO" 5; }
12163 else
12164         GTHREAD_CFLAGS=$pkg_cv_GTHREAD_CFLAGS
12165         GTHREAD_LIBS=$pkg_cv_GTHREAD_LIBS
12166         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12167 $as_echo "yes" >&6; }
12168
12169 fi
12170
12171
12172
12173
12174 # Extract the first word of "xsltproc", so it can be a program name with args.
12175 set dummy xsltproc; ac_word=$2
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12177 $as_echo_n "checking for $ac_word... " >&6; }
12178 if ${ac_cv_path_XSLTPROC+:} false; then :
12179   $as_echo_n "(cached) " >&6
12180 else
12181   case $XSLTPROC in
12182   [\\/]* | ?:[\\/]*)
12183   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
12184   ;;
12185   *)
12186   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12187 for as_dir in $PATH
12188 do
12189   IFS=$as_save_IFS
12190   test -z "$as_dir" && as_dir=.
12191     for ac_exec_ext in '' $ac_executable_extensions; do
12192   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12193     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
12194     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12195     break 2
12196   fi
12197 done
12198   done
12199 IFS=$as_save_IFS
12200
12201   test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC=":"
12202   ;;
12203 esac
12204 fi
12205 XSLTPROC=$ac_cv_path_XSLTPROC
12206 if test -n "$XSLTPROC"; then
12207   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
12208 $as_echo "$XSLTPROC" >&6; }
12209 else
12210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12211 $as_echo "no" >&6; }
12212 fi
12213
12214
12215  if test "$XSLTPROC" != :; then
12216   HAVE_XSLTPROC_TRUE=
12217   HAVE_XSLTPROC_FALSE='#'
12218 else
12219   HAVE_XSLTPROC_TRUE='#'
12220   HAVE_XSLTPROC_FALSE=
12221 fi
12222
12223
12224 # Check whether --enable-silent-rules was given.
12225 if test "${enable_silent_rules+set}" = set; then :
12226   enableval=$enable_silent_rules;
12227 fi
12228
12229 case $enable_silent_rules in # (((
12230   yes) AM_DEFAULT_VERBOSITY=0;;
12231    no) AM_DEFAULT_VERBOSITY=1;;
12232     *) AM_DEFAULT_VERBOSITY=0;;
12233 esac
12234 am_make=${MAKE-make}
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
12236 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
12237 if ${am_cv_make_support_nested_variables+:} false; then :
12238   $as_echo_n "(cached) " >&6
12239 else
12240   if $as_echo 'TRUE=$(BAR$(V))
12241 BAR0=false
12242 BAR1=true
12243 V=1
12244 am__doit:
12245         @$(TRUE)
12246 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
12247   am_cv_make_support_nested_variables=yes
12248 else
12249   am_cv_make_support_nested_variables=no
12250 fi
12251 fi
12252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
12253 $as_echo "$am_cv_make_support_nested_variables" >&6; }
12254 if test $am_cv_make_support_nested_variables = yes; then
12255     AM_V='$(V)'
12256   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
12257 else
12258   AM_V=$AM_DEFAULT_VERBOSITY
12259   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
12260 fi
12261 AM_BACKSLASH='\'
12262
12263
12264 ac_config_files="$ac_config_files Makefile libvala.pc gee/Makefile ccode/Makefile vala/Makefile codegen/Makefile compiler/Makefile vapi/Makefile tests/Makefile doc/Makefile doc/vala/Makefile gobject-introspection/Makefile vapigen/vapigen.pc vapigen/Makefile vapigen/vala-gen-introspect/Makefile vapigen/vala-gen-introspect/vala-gen-introspect"
12265
12266
12267 cat >confcache <<\_ACEOF
12268 # This file is a shell script that caches the results of configure
12269 # tests run on this system so they can be shared between configure
12270 # scripts and configure runs, see configure's option --config-cache.
12271 # It is not useful on other systems.  If it contains results you don't
12272 # want to keep, you may remove or edit it.
12273 #
12274 # config.status only pays attention to the cache file if you give it
12275 # the --recheck option to rerun configure.
12276 #
12277 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12278 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12279 # following values.
12280
12281 _ACEOF
12282
12283 # The following way of writing the cache mishandles newlines in values,
12284 # but we know of no workaround that is simple, portable, and efficient.
12285 # So, we kill variables containing newlines.
12286 # Ultrix sh set writes to stderr and can't be redirected directly,
12287 # and sets the high bit in the cache file unless we assign to the vars.
12288 (
12289   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12290     eval ac_val=\$$ac_var
12291     case $ac_val in #(
12292     *${as_nl}*)
12293       case $ac_var in #(
12294       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12295 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12296       esac
12297       case $ac_var in #(
12298       _ | IFS | as_nl) ;; #(
12299       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12300       *) { eval $ac_var=; unset $ac_var;} ;;
12301       esac ;;
12302     esac
12303   done
12304
12305   (set) 2>&1 |
12306     case $as_nl`(ac_space=' '; set) 2>&1` in #(
12307     *${as_nl}ac_space=\ *)
12308       # `set' does not quote correctly, so add quotes: double-quote
12309       # substitution turns \\\\ into \\, and sed turns \\ into \.
12310       sed -n \
12311         "s/'/'\\\\''/g;
12312           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12313       ;; #(
12314     *)
12315       # `set' quotes correctly as required by POSIX, so do not add quotes.
12316       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12317       ;;
12318     esac |
12319     sort
12320 ) |
12321   sed '
12322      /^ac_cv_env_/b end
12323      t clear
12324      :clear
12325      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12326      t end
12327      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12328      :end' >>confcache
12329 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12330   if test -w "$cache_file"; then
12331     if test "x$cache_file" != "x/dev/null"; then
12332       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12333 $as_echo "$as_me: updating cache $cache_file" >&6;}
12334       if test ! -f "$cache_file" || test -h "$cache_file"; then
12335         cat confcache >"$cache_file"
12336       else
12337         case $cache_file in #(
12338         */* | ?:*)
12339           mv -f confcache "$cache_file"$$ &&
12340           mv -f "$cache_file"$$ "$cache_file" ;; #(
12341         *)
12342           mv -f confcache "$cache_file" ;;
12343         esac
12344       fi
12345     fi
12346   else
12347     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12348 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12349   fi
12350 fi
12351 rm -f confcache
12352
12353 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12354 # Let make expand exec_prefix.
12355 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12356
12357 DEFS=-DHAVE_CONFIG_H
12358
12359 ac_libobjs=
12360 ac_ltlibobjs=
12361 U=
12362 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12363   # 1. Remove the extension, and $U if already installed.
12364   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12365   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12366   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
12367   #    will be set to the directory where LIBOBJS objects are built.
12368   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12369   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12370 done
12371 LIBOBJS=$ac_libobjs
12372
12373 LTLIBOBJS=$ac_ltlibobjs
12374
12375
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
12377 $as_echo_n "checking that generated files are newer than configure... " >&6; }
12378    if test -n "$am_sleep_pid"; then
12379      # Hide warnings about reused PIDs.
12380      wait $am_sleep_pid 2>/dev/null
12381    fi
12382    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
12383 $as_echo "done" >&6; }
12384  if test -n "$EXEEXT"; then
12385   am__EXEEXT_TRUE=
12386   am__EXEEXT_FALSE='#'
12387 else
12388   am__EXEEXT_TRUE='#'
12389   am__EXEEXT_FALSE=
12390 fi
12391
12392 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12393   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
12394 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12395 fi
12396 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12397   as_fn_error $? "conditional \"AMDEP\" was never defined.
12398 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12399 fi
12400 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12401   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12402 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12403 fi
12404 if test -z "${ENABLE_UNVERSIONED_TRUE}" && test -z "${ENABLE_UNVERSIONED_FALSE}"; then
12405   as_fn_error $? "conditional \"ENABLE_UNVERSIONED\" was never defined.
12406 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12407 fi
12408 if test -z "${ENABLE_COVERAGE_TRUE}" && test -z "${ENABLE_COVERAGE_FALSE}"; then
12409   as_fn_error $? "conditional \"ENABLE_COVERAGE\" was never defined.
12410 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12411 fi
12412 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
12413   as_fn_error $? "conditional \"HAVE_XSLTPROC\" was never defined.
12414 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12415 fi
12416
12417 : "${CONFIG_STATUS=./config.status}"
12418 ac_write_fail=0
12419 ac_clean_files_save=$ac_clean_files
12420 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12421 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12422 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12423 as_write_fail=0
12424 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12425 #! $SHELL
12426 # Generated by $as_me.
12427 # Run this file to recreate the current configuration.
12428 # Compiler output produced by configure, useful for debugging
12429 # configure, is in config.log if it exists.
12430
12431 debug=false
12432 ac_cs_recheck=false
12433 ac_cs_silent=false
12434
12435 SHELL=\${CONFIG_SHELL-$SHELL}
12436 export SHELL
12437 _ASEOF
12438 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12439 ## -------------------- ##
12440 ## M4sh Initialization. ##
12441 ## -------------------- ##
12442
12443 # Be more Bourne compatible
12444 DUALCASE=1; export DUALCASE # for MKS sh
12445 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12446   emulate sh
12447   NULLCMD=:
12448   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12449   # is contrary to our usage.  Disable this feature.
12450   alias -g '${1+"$@"}'='"$@"'
12451   setopt NO_GLOB_SUBST
12452 else
12453   case `(set -o) 2>/dev/null` in #(
12454   *posix*) :
12455     set -o posix ;; #(
12456   *) :
12457      ;;
12458 esac
12459 fi
12460
12461
12462 as_nl='
12463 '
12464 export as_nl
12465 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12466 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12467 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12468 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12469 # Prefer a ksh shell builtin over an external printf program on Solaris,
12470 # but without wasting forks for bash or zsh.
12471 if test -z "$BASH_VERSION$ZSH_VERSION" \
12472     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12473   as_echo='print -r --'
12474   as_echo_n='print -rn --'
12475 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12476   as_echo='printf %s\n'
12477   as_echo_n='printf %s'
12478 else
12479   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12480     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12481     as_echo_n='/usr/ucb/echo -n'
12482   else
12483     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12484     as_echo_n_body='eval
12485       arg=$1;
12486       case $arg in #(
12487       *"$as_nl"*)
12488         expr "X$arg" : "X\\(.*\\)$as_nl";
12489         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12490       esac;
12491       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12492     '
12493     export as_echo_n_body
12494     as_echo_n='sh -c $as_echo_n_body as_echo'
12495   fi
12496   export as_echo_body
12497   as_echo='sh -c $as_echo_body as_echo'
12498 fi
12499
12500 # The user is always right.
12501 if test "${PATH_SEPARATOR+set}" != set; then
12502   PATH_SEPARATOR=:
12503   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12504     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12505       PATH_SEPARATOR=';'
12506   }
12507 fi
12508
12509
12510 # IFS
12511 # We need space, tab and new line, in precisely that order.  Quoting is
12512 # there to prevent editors from complaining about space-tab.
12513 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12514 # splitting by setting IFS to empty value.)
12515 IFS=" ""        $as_nl"
12516
12517 # Find who we are.  Look in the path if we contain no directory separator.
12518 as_myself=
12519 case $0 in #((
12520   *[\\/]* ) as_myself=$0 ;;
12521   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12522 for as_dir in $PATH
12523 do
12524   IFS=$as_save_IFS
12525   test -z "$as_dir" && as_dir=.
12526     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12527   done
12528 IFS=$as_save_IFS
12529
12530      ;;
12531 esac
12532 # We did not find ourselves, most probably we were run as `sh COMMAND'
12533 # in which case we are not to be found in the path.
12534 if test "x$as_myself" = x; then
12535   as_myself=$0
12536 fi
12537 if test ! -f "$as_myself"; then
12538   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12539   exit 1
12540 fi
12541
12542 # Unset variables that we do not need and which cause bugs (e.g. in
12543 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
12544 # suppresses any "Segmentation fault" message there.  '((' could
12545 # trigger a bug in pdksh 5.2.14.
12546 for as_var in BASH_ENV ENV MAIL MAILPATH
12547 do eval test x\${$as_var+set} = xset \
12548   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12549 done
12550 PS1='$ '
12551 PS2='> '
12552 PS4='+ '
12553
12554 # NLS nuisances.
12555 LC_ALL=C
12556 export LC_ALL
12557 LANGUAGE=C
12558 export LANGUAGE
12559
12560 # CDPATH.
12561 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12562
12563
12564 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12565 # ----------------------------------------
12566 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12567 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12568 # script with STATUS, using 1 if that was 0.
12569 as_fn_error ()
12570 {
12571   as_status=$1; test $as_status -eq 0 && as_status=1
12572   if test "$4"; then
12573     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12574     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12575   fi
12576   $as_echo "$as_me: error: $2" >&2
12577   as_fn_exit $as_status
12578 } # as_fn_error
12579
12580
12581 # as_fn_set_status STATUS
12582 # -----------------------
12583 # Set $? to STATUS, without forking.
12584 as_fn_set_status ()
12585 {
12586   return $1
12587 } # as_fn_set_status
12588
12589 # as_fn_exit STATUS
12590 # -----------------
12591 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12592 as_fn_exit ()
12593 {
12594   set +e
12595   as_fn_set_status $1
12596   exit $1
12597 } # as_fn_exit
12598
12599 # as_fn_unset VAR
12600 # ---------------
12601 # Portably unset VAR.
12602 as_fn_unset ()
12603 {
12604   { eval $1=; unset $1;}
12605 }
12606 as_unset=as_fn_unset
12607 # as_fn_append VAR VALUE
12608 # ----------------------
12609 # Append the text in VALUE to the end of the definition contained in VAR. Take
12610 # advantage of any shell optimizations that allow amortized linear growth over
12611 # repeated appends, instead of the typical quadratic growth present in naive
12612 # implementations.
12613 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12614   eval 'as_fn_append ()
12615   {
12616     eval $1+=\$2
12617   }'
12618 else
12619   as_fn_append ()
12620   {
12621     eval $1=\$$1\$2
12622   }
12623 fi # as_fn_append
12624
12625 # as_fn_arith ARG...
12626 # ------------------
12627 # Perform arithmetic evaluation on the ARGs, and store the result in the
12628 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12629 # must be portable across $(()) and expr.
12630 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12631   eval 'as_fn_arith ()
12632   {
12633     as_val=$(( $* ))
12634   }'
12635 else
12636   as_fn_arith ()
12637   {
12638     as_val=`expr "$@" || test $? -eq 1`
12639   }
12640 fi # as_fn_arith
12641
12642
12643 if expr a : '\(a\)' >/dev/null 2>&1 &&
12644    test "X`expr 00001 : '.*\(...\)'`" = X001; then
12645   as_expr=expr
12646 else
12647   as_expr=false
12648 fi
12649
12650 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12651   as_basename=basename
12652 else
12653   as_basename=false
12654 fi
12655
12656 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12657   as_dirname=dirname
12658 else
12659   as_dirname=false
12660 fi
12661
12662 as_me=`$as_basename -- "$0" ||
12663 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12664          X"$0" : 'X\(//\)$' \| \
12665          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12666 $as_echo X/"$0" |
12667     sed '/^.*\/\([^/][^/]*\)\/*$/{
12668             s//\1/
12669             q
12670           }
12671           /^X\/\(\/\/\)$/{
12672             s//\1/
12673             q
12674           }
12675           /^X\/\(\/\).*/{
12676             s//\1/
12677             q
12678           }
12679           s/.*/./; q'`
12680
12681 # Avoid depending upon Character Ranges.
12682 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12683 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12684 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12685 as_cr_digits='0123456789'
12686 as_cr_alnum=$as_cr_Letters$as_cr_digits
12687
12688 ECHO_C= ECHO_N= ECHO_T=
12689 case `echo -n x` in #(((((
12690 -n*)
12691   case `echo 'xy\c'` in
12692   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
12693   xy)  ECHO_C='\c';;
12694   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
12695        ECHO_T=' ';;
12696   esac;;
12697 *)
12698   ECHO_N='-n';;
12699 esac
12700
12701 rm -f conf$$ conf$$.exe conf$$.file
12702 if test -d conf$$.dir; then
12703   rm -f conf$$.dir/conf$$.file
12704 else
12705   rm -f conf$$.dir
12706   mkdir conf$$.dir 2>/dev/null
12707 fi
12708 if (echo >conf$$.file) 2>/dev/null; then
12709   if ln -s conf$$.file conf$$ 2>/dev/null; then
12710     as_ln_s='ln -s'
12711     # ... but there are two gotchas:
12712     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12713     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12714     # In both cases, we have to default to `cp -pR'.
12715     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12716       as_ln_s='cp -pR'
12717   elif ln conf$$.file conf$$ 2>/dev/null; then
12718     as_ln_s=ln
12719   else
12720     as_ln_s='cp -pR'
12721   fi
12722 else
12723   as_ln_s='cp -pR'
12724 fi
12725 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12726 rmdir conf$$.dir 2>/dev/null
12727
12728
12729 # as_fn_mkdir_p
12730 # -------------
12731 # Create "$as_dir" as a directory, including parents if necessary.
12732 as_fn_mkdir_p ()
12733 {
12734
12735   case $as_dir in #(
12736   -*) as_dir=./$as_dir;;
12737   esac
12738   test -d "$as_dir" || eval $as_mkdir_p || {
12739     as_dirs=
12740     while :; do
12741       case $as_dir in #(
12742       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12743       *) as_qdir=$as_dir;;
12744       esac
12745       as_dirs="'$as_qdir' $as_dirs"
12746       as_dir=`$as_dirname -- "$as_dir" ||
12747 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12748          X"$as_dir" : 'X\(//\)[^/]' \| \
12749          X"$as_dir" : 'X\(//\)$' \| \
12750          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12751 $as_echo X"$as_dir" |
12752     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12753             s//\1/
12754             q
12755           }
12756           /^X\(\/\/\)[^/].*/{
12757             s//\1/
12758             q
12759           }
12760           /^X\(\/\/\)$/{
12761             s//\1/
12762             q
12763           }
12764           /^X\(\/\).*/{
12765             s//\1/
12766             q
12767           }
12768           s/.*/./; q'`
12769       test -d "$as_dir" && break
12770     done
12771     test -z "$as_dirs" || eval "mkdir $as_dirs"
12772   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12773
12774
12775 } # as_fn_mkdir_p
12776 if mkdir -p . 2>/dev/null; then
12777   as_mkdir_p='mkdir -p "$as_dir"'
12778 else
12779   test -d ./-p && rmdir ./-p
12780   as_mkdir_p=false
12781 fi
12782
12783
12784 # as_fn_executable_p FILE
12785 # -----------------------
12786 # Test if FILE is an executable regular file.
12787 as_fn_executable_p ()
12788 {
12789   test -f "$1" && test -x "$1"
12790 } # as_fn_executable_p
12791 as_test_x='test -x'
12792 as_executable_p=as_fn_executable_p
12793
12794 # Sed expression to map a string onto a valid CPP name.
12795 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12796
12797 # Sed expression to map a string onto a valid variable name.
12798 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12799
12800
12801 exec 6>&1
12802 ## ----------------------------------- ##
12803 ## Main body of $CONFIG_STATUS script. ##
12804 ## ----------------------------------- ##
12805 _ASEOF
12806 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12807
12808 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12809 # Save the log message, to keep $0 and so on meaningful, and to
12810 # report actual input values of CONFIG_FILES etc. instead of their
12811 # values after options handling.
12812 ac_log="
12813 This file was extended by vala $as_me 0.26.1, which was
12814 generated by GNU Autoconf 2.69.  Invocation command line was
12815
12816   CONFIG_FILES    = $CONFIG_FILES
12817   CONFIG_HEADERS  = $CONFIG_HEADERS
12818   CONFIG_LINKS    = $CONFIG_LINKS
12819   CONFIG_COMMANDS = $CONFIG_COMMANDS
12820   $ $0 $@
12821
12822 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12823 "
12824
12825 _ACEOF
12826
12827 case $ac_config_files in *"
12828 "*) set x $ac_config_files; shift; ac_config_files=$*;;
12829 esac
12830
12831 case $ac_config_headers in *"
12832 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
12833 esac
12834
12835
12836 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12837 # Files that config.status was made for.
12838 config_files="$ac_config_files"
12839 config_headers="$ac_config_headers"
12840 config_commands="$ac_config_commands"
12841
12842 _ACEOF
12843
12844 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12845 ac_cs_usage="\
12846 \`$as_me' instantiates files and other configuration actions
12847 from templates according to the current configuration.  Unless the files
12848 and actions are specified as TAGs, all are instantiated by default.
12849
12850 Usage: $0 [OPTION]... [TAG]...
12851
12852   -h, --help       print this help, then exit
12853   -V, --version    print version number and configuration settings, then exit
12854       --config     print configuration, then exit
12855   -q, --quiet, --silent
12856                    do not print progress messages
12857   -d, --debug      don't remove temporary files
12858       --recheck    update $as_me by reconfiguring in the same conditions
12859       --file=FILE[:TEMPLATE]
12860                    instantiate the configuration file FILE
12861       --header=FILE[:TEMPLATE]
12862                    instantiate the configuration header FILE
12863
12864 Configuration files:
12865 $config_files
12866
12867 Configuration headers:
12868 $config_headers
12869
12870 Configuration commands:
12871 $config_commands
12872
12873 Report bugs to <j@bitron.ch>."
12874
12875 _ACEOF
12876 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12877 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12878 ac_cs_version="\\
12879 vala config.status 0.26.1
12880 configured by $0, generated by GNU Autoconf 2.69,
12881   with options \\"\$ac_cs_config\\"
12882
12883 Copyright (C) 2012 Free Software Foundation, Inc.
12884 This config.status script is free software; the Free Software Foundation
12885 gives unlimited permission to copy, distribute and modify it."
12886
12887 ac_pwd='$ac_pwd'
12888 srcdir='$srcdir'
12889 INSTALL='$INSTALL'
12890 MKDIR_P='$MKDIR_P'
12891 AWK='$AWK'
12892 test -n "\$AWK" || AWK=awk
12893 _ACEOF
12894
12895 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12896 # The default lists apply if the user does not specify any file.
12897 ac_need_defaults=:
12898 while test $# != 0
12899 do
12900   case $1 in
12901   --*=?*)
12902     ac_option=`expr "X$1" : 'X\([^=]*\)='`
12903     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12904     ac_shift=:
12905     ;;
12906   --*=)
12907     ac_option=`expr "X$1" : 'X\([^=]*\)='`
12908     ac_optarg=
12909     ac_shift=:
12910     ;;
12911   *)
12912     ac_option=$1
12913     ac_optarg=$2
12914     ac_shift=shift
12915     ;;
12916   esac
12917
12918   case $ac_option in
12919   # Handling of the options.
12920   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12921     ac_cs_recheck=: ;;
12922   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12923     $as_echo "$ac_cs_version"; exit ;;
12924   --config | --confi | --conf | --con | --co | --c )
12925     $as_echo "$ac_cs_config"; exit ;;
12926   --debug | --debu | --deb | --de | --d | -d )
12927     debug=: ;;
12928   --file | --fil | --fi | --f )
12929     $ac_shift
12930     case $ac_optarg in
12931     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12932     '') as_fn_error $? "missing file argument" ;;
12933     esac
12934     as_fn_append CONFIG_FILES " '$ac_optarg'"
12935     ac_need_defaults=false;;
12936   --header | --heade | --head | --hea )
12937     $ac_shift
12938     case $ac_optarg in
12939     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12940     esac
12941     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
12942     ac_need_defaults=false;;
12943   --he | --h)
12944     # Conflict between --help and --header
12945     as_fn_error $? "ambiguous option: \`$1'
12946 Try \`$0 --help' for more information.";;
12947   --help | --hel | -h )
12948     $as_echo "$ac_cs_usage"; exit ;;
12949   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12950   | -silent | --silent | --silen | --sile | --sil | --si | --s)
12951     ac_cs_silent=: ;;
12952
12953   # This is an error.
12954   -*) as_fn_error $? "unrecognized option: \`$1'
12955 Try \`$0 --help' for more information." ;;
12956
12957   *) as_fn_append ac_config_targets " $1"
12958      ac_need_defaults=false ;;
12959
12960   esac
12961   shift
12962 done
12963
12964 ac_configure_extra_args=
12965
12966 if $ac_cs_silent; then
12967   exec 6>/dev/null
12968   ac_configure_extra_args="$ac_configure_extra_args --silent"
12969 fi
12970
12971 _ACEOF
12972 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12973 if \$ac_cs_recheck; then
12974   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12975   shift
12976   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12977   CONFIG_SHELL='$SHELL'
12978   export CONFIG_SHELL
12979   exec "\$@"
12980 fi
12981
12982 _ACEOF
12983 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12984 exec 5>>config.log
12985 {
12986   echo
12987   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12988 ## Running $as_me. ##
12989 _ASBOX
12990   $as_echo "$ac_log"
12991 } >&5
12992
12993 _ACEOF
12994 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12995 #
12996 # INIT-COMMANDS
12997 #
12998 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12999
13000
13001 # The HP-UX ksh and POSIX shell print the target directory to stdout
13002 # if CDPATH is set.
13003 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13004
13005 sed_quote_subst='$sed_quote_subst'
13006 double_quote_subst='$double_quote_subst'
13007 delay_variable_subst='$delay_variable_subst'
13008 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13009 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13010 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13011 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13012 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13013 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13014 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13015 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13016 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13017 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13018 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13019 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13020 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13021 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13022 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13023 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13024 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13025 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13026 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13027 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13028 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13029 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13030 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13031 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13032 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13033 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13034 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13035 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13036 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13037 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13038 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13039 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13040 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13041 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13042 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13043 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13044 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13045 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13046 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13047 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13048 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13049 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13050 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13051 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13052 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13053 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13054 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13055 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13056 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13057 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13058 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13059 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13060 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13061 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13062 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13063 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13064 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"`'
13065 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13066 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13067 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13068 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13069 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13070 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13071 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13072 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13073 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13074 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13075 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13076 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13077 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13078 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13079 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13080 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13081 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13082 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13083 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13084 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13085 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13086 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13087 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13088 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13089 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13090 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13091 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13092 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13093 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13094 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13095 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13096 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13097 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13098 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13099 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13100 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13101 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13102 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13103 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13104 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13105 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13106 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13107 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13108 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13109 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13110 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13111 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13112 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13113 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13114 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13115 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13116 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13117 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13118 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13119 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13120 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13121 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13122 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13123 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13124 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13125 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13126 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13127 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13128 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13129 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13130 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13131 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13132 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13133 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13134 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13135 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13136 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13137 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13138
13139 LTCC='$LTCC'
13140 LTCFLAGS='$LTCFLAGS'
13141 compiler='$compiler_DEFAULT'
13142
13143 # A function that is used when there is no print builtin or printf.
13144 func_fallback_echo ()
13145 {
13146   eval 'cat <<_LTECHO_EOF
13147 \$1
13148 _LTECHO_EOF'
13149 }
13150
13151 # Quote evaled strings.
13152 for var in SHELL \
13153 ECHO \
13154 PATH_SEPARATOR \
13155 SED \
13156 GREP \
13157 EGREP \
13158 FGREP \
13159 LD \
13160 NM \
13161 LN_S \
13162 lt_SP2NL \
13163 lt_NL2SP \
13164 reload_flag \
13165 OBJDUMP \
13166 deplibs_check_method \
13167 file_magic_cmd \
13168 file_magic_glob \
13169 want_nocaseglob \
13170 DLLTOOL \
13171 sharedlib_from_linklib_cmd \
13172 AR \
13173 AR_FLAGS \
13174 archiver_list_spec \
13175 STRIP \
13176 RANLIB \
13177 CC \
13178 CFLAGS \
13179 compiler \
13180 lt_cv_sys_global_symbol_pipe \
13181 lt_cv_sys_global_symbol_to_cdecl \
13182 lt_cv_sys_global_symbol_to_c_name_address \
13183 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13184 nm_file_list_spec \
13185 lt_prog_compiler_no_builtin_flag \
13186 lt_prog_compiler_pic \
13187 lt_prog_compiler_wl \
13188 lt_prog_compiler_static \
13189 lt_cv_prog_compiler_c_o \
13190 need_locks \
13191 MANIFEST_TOOL \
13192 DSYMUTIL \
13193 NMEDIT \
13194 LIPO \
13195 OTOOL \
13196 OTOOL64 \
13197 shrext_cmds \
13198 export_dynamic_flag_spec \
13199 whole_archive_flag_spec \
13200 compiler_needs_object \
13201 with_gnu_ld \
13202 allow_undefined_flag \
13203 no_undefined_flag \
13204 hardcode_libdir_flag_spec \
13205 hardcode_libdir_separator \
13206 exclude_expsyms \
13207 include_expsyms \
13208 file_list_spec \
13209 variables_saved_for_relink \
13210 libname_spec \
13211 library_names_spec \
13212 soname_spec \
13213 install_override_mode \
13214 finish_eval \
13215 old_striplib \
13216 striplib; do
13217     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13218     *[\\\\\\\`\\"\\\$]*)
13219       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13220       ;;
13221     *)
13222       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13223       ;;
13224     esac
13225 done
13226
13227 # Double-quote double-evaled strings.
13228 for var in reload_cmds \
13229 old_postinstall_cmds \
13230 old_postuninstall_cmds \
13231 old_archive_cmds \
13232 extract_expsyms_cmds \
13233 old_archive_from_new_cmds \
13234 old_archive_from_expsyms_cmds \
13235 archive_cmds \
13236 archive_expsym_cmds \
13237 module_cmds \
13238 module_expsym_cmds \
13239 export_symbols_cmds \
13240 prelink_cmds \
13241 postlink_cmds \
13242 postinstall_cmds \
13243 postuninstall_cmds \
13244 finish_cmds \
13245 sys_lib_search_path_spec \
13246 sys_lib_dlsearch_path_spec; do
13247     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13248     *[\\\\\\\`\\"\\\$]*)
13249       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13250       ;;
13251     *)
13252       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13253       ;;
13254     esac
13255 done
13256
13257 ac_aux_dir='$ac_aux_dir'
13258 xsi_shell='$xsi_shell'
13259 lt_shell_append='$lt_shell_append'
13260
13261 # See if we are running on zsh, and set the options which allow our
13262 # commands through without removal of \ escapes INIT.
13263 if test -n "\${ZSH_VERSION+set}" ; then
13264    setopt NO_GLOB_SUBST
13265 fi
13266
13267
13268     PACKAGE='$PACKAGE'
13269     VERSION='$VERSION'
13270     TIMESTAMP='$TIMESTAMP'
13271     RM='$RM'
13272     ofile='$ofile'
13273
13274
13275
13276
13277 _ACEOF
13278
13279 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13280
13281 # Handling of arguments.
13282 for ac_config_target in $ac_config_targets
13283 do
13284   case $ac_config_target in
13285     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13286     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13287     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13288     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13289     "libvala.pc") CONFIG_FILES="$CONFIG_FILES libvala.pc" ;;
13290     "gee/Makefile") CONFIG_FILES="$CONFIG_FILES gee/Makefile" ;;
13291     "ccode/Makefile") CONFIG_FILES="$CONFIG_FILES ccode/Makefile" ;;
13292     "vala/Makefile") CONFIG_FILES="$CONFIG_FILES vala/Makefile" ;;
13293     "codegen/Makefile") CONFIG_FILES="$CONFIG_FILES codegen/Makefile" ;;
13294     "compiler/Makefile") CONFIG_FILES="$CONFIG_FILES compiler/Makefile" ;;
13295     "vapi/Makefile") CONFIG_FILES="$CONFIG_FILES vapi/Makefile" ;;
13296     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
13297     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
13298     "doc/vala/Makefile") CONFIG_FILES="$CONFIG_FILES doc/vala/Makefile" ;;
13299     "gobject-introspection/Makefile") CONFIG_FILES="$CONFIG_FILES gobject-introspection/Makefile" ;;
13300     "vapigen/vapigen.pc") CONFIG_FILES="$CONFIG_FILES vapigen/vapigen.pc" ;;
13301     "vapigen/Makefile") CONFIG_FILES="$CONFIG_FILES vapigen/Makefile" ;;
13302     "vapigen/vala-gen-introspect/Makefile") CONFIG_FILES="$CONFIG_FILES vapigen/vala-gen-introspect/Makefile" ;;
13303     "vapigen/vala-gen-introspect/vala-gen-introspect") CONFIG_FILES="$CONFIG_FILES vapigen/vala-gen-introspect/vala-gen-introspect" ;;
13304
13305   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13306   esac
13307 done
13308
13309
13310 # If the user did not use the arguments to specify the items to instantiate,
13311 # then the envvar interface is used.  Set only those that are not.
13312 # We use the long form for the default assignment because of an extremely
13313 # bizarre bug on SunOS 4.1.3.
13314 if $ac_need_defaults; then
13315   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13316   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13317   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13318 fi
13319
13320 # Have a temporary directory for convenience.  Make it in the build tree
13321 # simply because there is no reason against having it here, and in addition,
13322 # creating and moving files from /tmp can sometimes cause problems.
13323 # Hook for its removal unless debugging.
13324 # Note that there is a small window in which the directory will not be cleaned:
13325 # after its creation but before its name has been assigned to `$tmp'.
13326 $debug ||
13327 {
13328   tmp= ac_tmp=
13329   trap 'exit_status=$?
13330   : "${ac_tmp:=$tmp}"
13331   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13332 ' 0
13333   trap 'as_fn_exit 1' 1 2 13 15
13334 }
13335 # Create a (secure) tmp directory for tmp files.
13336
13337 {
13338   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13339   test -d "$tmp"
13340 }  ||
13341 {
13342   tmp=./conf$$-$RANDOM
13343   (umask 077 && mkdir "$tmp")
13344 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13345 ac_tmp=$tmp
13346
13347 # Set up the scripts for CONFIG_FILES section.
13348 # No need to generate them if there are no CONFIG_FILES.
13349 # This happens for instance with `./config.status config.h'.
13350 if test -n "$CONFIG_FILES"; then
13351
13352
13353 ac_cr=`echo X | tr X '\015'`
13354 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13355 # But we know of no other shell where ac_cr would be empty at this
13356 # point, so we can use a bashism as a fallback.
13357 if test "x$ac_cr" = x; then
13358   eval ac_cr=\$\'\\r\'
13359 fi
13360 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13361 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13362   ac_cs_awk_cr='\\r'
13363 else
13364   ac_cs_awk_cr=$ac_cr
13365 fi
13366
13367 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13368 _ACEOF
13369
13370
13371 {
13372   echo "cat >conf$$subs.awk <<_ACEOF" &&
13373   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13374   echo "_ACEOF"
13375 } >conf$$subs.sh ||
13376   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13377 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13378 ac_delim='%!_!# '
13379 for ac_last_try in false false false false false :; do
13380   . ./conf$$subs.sh ||
13381     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13382
13383   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13384   if test $ac_delim_n = $ac_delim_num; then
13385     break
13386   elif $ac_last_try; then
13387     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13388   else
13389     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13390   fi
13391 done
13392 rm -f conf$$subs.sh
13393
13394 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13395 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13396 _ACEOF
13397 sed -n '
13398 h
13399 s/^/S["/; s/!.*/"]=/
13400 p
13401 g
13402 s/^[^!]*!//
13403 :repl
13404 t repl
13405 s/'"$ac_delim"'$//
13406 t delim
13407 :nl
13408 h
13409 s/\(.\{148\}\)..*/\1/
13410 t more1
13411 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13412 p
13413 n
13414 b repl
13415 :more1
13416 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13417 p
13418 g
13419 s/.\{148\}//
13420 t nl
13421 :delim
13422 h
13423 s/\(.\{148\}\)..*/\1/
13424 t more2
13425 s/["\\]/\\&/g; s/^/"/; s/$/"/
13426 p
13427 b
13428 :more2
13429 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13430 p
13431 g
13432 s/.\{148\}//
13433 t delim
13434 ' <conf$$subs.awk | sed '
13435 /^[^""]/{
13436   N
13437   s/\n//
13438 }
13439 ' >>$CONFIG_STATUS || ac_write_fail=1
13440 rm -f conf$$subs.awk
13441 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13442 _ACAWK
13443 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13444   for (key in S) S_is_set[key] = 1
13445   FS = "\a"
13446
13447 }
13448 {
13449   line = $ 0
13450   nfields = split(line, field, "@")
13451   substed = 0
13452   len = length(field[1])
13453   for (i = 2; i < nfields; i++) {
13454     key = field[i]
13455     keylen = length(key)
13456     if (S_is_set[key]) {
13457       value = S[key]
13458       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13459       len += length(value) + length(field[++i])
13460       substed = 1
13461     } else
13462       len += 1 + keylen
13463   }
13464
13465   print line
13466 }
13467
13468 _ACAWK
13469 _ACEOF
13470 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13471 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13472   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13473 else
13474   cat
13475 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13476   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13477 _ACEOF
13478
13479 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13480 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13481 # trailing colons and then remove the whole line if VPATH becomes empty
13482 # (actually we leave an empty line to preserve line numbers).
13483 if test "x$srcdir" = x.; then
13484   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
13485 h
13486 s///
13487 s/^/:/
13488 s/[      ]*$/:/
13489 s/:\$(srcdir):/:/g
13490 s/:\${srcdir}:/:/g
13491 s/:@srcdir@:/:/g
13492 s/^:*//
13493 s/:*$//
13494 x
13495 s/\(=[   ]*\).*/\1/
13496 G
13497 s/\n//
13498 s/^[^=]*=[       ]*$//
13499 }'
13500 fi
13501
13502 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13503 fi # test -n "$CONFIG_FILES"
13504
13505 # Set up the scripts for CONFIG_HEADERS section.
13506 # No need to generate them if there are no CONFIG_HEADERS.
13507 # This happens for instance with `./config.status Makefile'.
13508 if test -n "$CONFIG_HEADERS"; then
13509 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
13510 BEGIN {
13511 _ACEOF
13512
13513 # Transform confdefs.h into an awk script `defines.awk', embedded as
13514 # here-document in config.status, that substitutes the proper values into
13515 # config.h.in to produce config.h.
13516
13517 # Create a delimiter string that does not exist in confdefs.h, to ease
13518 # handling of long lines.
13519 ac_delim='%!_!# '
13520 for ac_last_try in false false :; do
13521   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
13522   if test -z "$ac_tt"; then
13523     break
13524   elif $ac_last_try; then
13525     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13526   else
13527     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13528   fi
13529 done
13530
13531 # For the awk script, D is an array of macro values keyed by name,
13532 # likewise P contains macro parameters if any.  Preserve backslash
13533 # newline sequences.
13534
13535 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13536 sed -n '
13537 s/.\{148\}/&'"$ac_delim"'/g
13538 t rset
13539 :rset
13540 s/^[     ]*#[    ]*define[       ][      ]*/ /
13541 t def
13542 d
13543 :def
13544 s/\\$//
13545 t bsnl
13546 s/["\\]/\\&/g
13547 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
13548 D["\1"]=" \3"/p
13549 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
13550 d
13551 :bsnl
13552 s/["\\]/\\&/g
13553 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
13554 D["\1"]=" \3\\\\\\n"\\/p
13555 t cont
13556 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13557 t cont
13558 d
13559 :cont
13560 n
13561 s/.\{148\}/&'"$ac_delim"'/g
13562 t clear
13563 :clear
13564 s/\\$//
13565 t bsnlc
13566 s/["\\]/\\&/g; s/^/"/; s/$/"/p
13567 d
13568 :bsnlc
13569 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13570 b cont
13571 ' <confdefs.h | sed '
13572 s/'"$ac_delim"'/"\\\
13573 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13574
13575 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13576   for (key in D) D_is_set[key] = 1
13577   FS = "\a"
13578 }
13579 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13580   line = \$ 0
13581   split(line, arg, " ")
13582   if (arg[1] == "#") {
13583     defundef = arg[2]
13584     mac1 = arg[3]
13585   } else {
13586     defundef = substr(arg[1], 2)
13587     mac1 = arg[2]
13588   }
13589   split(mac1, mac2, "(") #)
13590   macro = mac2[1]
13591   prefix = substr(line, 1, index(line, defundef) - 1)
13592   if (D_is_set[macro]) {
13593     # Preserve the white space surrounding the "#".
13594     print prefix "define", macro P[macro] D[macro]
13595     next
13596   } else {
13597     # Replace #undef with comments.  This is necessary, for example,
13598     # in the case of _POSIX_SOURCE, which is predefined and required
13599     # on some systems where configure will not decide to define it.
13600     if (defundef == "undef") {
13601       print "/*", prefix defundef, macro, "*/"
13602       next
13603     }
13604   }
13605 }
13606 { print }
13607 _ACAWK
13608 _ACEOF
13609 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13610   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
13611 fi # test -n "$CONFIG_HEADERS"
13612
13613
13614 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
13615 shift
13616 for ac_tag
13617 do
13618   case $ac_tag in
13619   :[FHLC]) ac_mode=$ac_tag; continue;;
13620   esac
13621   case $ac_mode$ac_tag in
13622   :[FHL]*:*);;
13623   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
13624   :[FH]-) ac_tag=-:-;;
13625   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13626   esac
13627   ac_save_IFS=$IFS
13628   IFS=:
13629   set x $ac_tag
13630   IFS=$ac_save_IFS
13631   shift
13632   ac_file=$1
13633   shift
13634
13635   case $ac_mode in
13636   :L) ac_source=$1;;
13637   :[FH])
13638     ac_file_inputs=
13639     for ac_f
13640     do
13641       case $ac_f in
13642       -) ac_f="$ac_tmp/stdin";;
13643       *) # Look for the file first in the build tree, then in the source tree
13644          # (if the path is not absolute).  The absolute path cannot be DOS-style,
13645          # because $ac_f cannot contain `:'.
13646          test -f "$ac_f" ||
13647            case $ac_f in
13648            [\\/$]*) false;;
13649            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13650            esac ||
13651            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13652       esac
13653       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13654       as_fn_append ac_file_inputs " '$ac_f'"
13655     done
13656
13657     # Let's still pretend it is `configure' which instantiates (i.e., don't
13658     # use $as_me), people would be surprised to read:
13659     #    /* config.h.  Generated by config.status.  */
13660     configure_input='Generated from '`
13661           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13662         `' by configure.'
13663     if test x"$ac_file" != x-; then
13664       configure_input="$ac_file.  $configure_input"
13665       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13666 $as_echo "$as_me: creating $ac_file" >&6;}
13667     fi
13668     # Neutralize special characters interpreted by sed in replacement strings.
13669     case $configure_input in #(
13670     *\&* | *\|* | *\\* )
13671        ac_sed_conf_input=`$as_echo "$configure_input" |
13672        sed 's/[\\\\&|]/\\\\&/g'`;; #(
13673     *) ac_sed_conf_input=$configure_input;;
13674     esac
13675
13676     case $ac_tag in
13677     *:-:* | *:-) cat >"$ac_tmp/stdin" \
13678       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
13679     esac
13680     ;;
13681   esac
13682
13683   ac_dir=`$as_dirname -- "$ac_file" ||
13684 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13685          X"$ac_file" : 'X\(//\)[^/]' \| \
13686          X"$ac_file" : 'X\(//\)$' \| \
13687          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13688 $as_echo X"$ac_file" |
13689     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13690             s//\1/
13691             q
13692           }
13693           /^X\(\/\/\)[^/].*/{
13694             s//\1/
13695             q
13696           }
13697           /^X\(\/\/\)$/{
13698             s//\1/
13699             q
13700           }
13701           /^X\(\/\).*/{
13702             s//\1/
13703             q
13704           }
13705           s/.*/./; q'`
13706   as_dir="$ac_dir"; as_fn_mkdir_p
13707   ac_builddir=.
13708
13709 case "$ac_dir" in
13710 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13711 *)
13712   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13713   # A ".." for each directory in $ac_dir_suffix.
13714   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13715   case $ac_top_builddir_sub in
13716   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13717   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13718   esac ;;
13719 esac
13720 ac_abs_top_builddir=$ac_pwd
13721 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13722 # for backward compatibility:
13723 ac_top_builddir=$ac_top_build_prefix
13724
13725 case $srcdir in
13726   .)  # We are building in place.
13727     ac_srcdir=.
13728     ac_top_srcdir=$ac_top_builddir_sub
13729     ac_abs_top_srcdir=$ac_pwd ;;
13730   [\\/]* | ?:[\\/]* )  # Absolute name.
13731     ac_srcdir=$srcdir$ac_dir_suffix;
13732     ac_top_srcdir=$srcdir
13733     ac_abs_top_srcdir=$srcdir ;;
13734   *) # Relative name.
13735     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13736     ac_top_srcdir=$ac_top_build_prefix$srcdir
13737     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13738 esac
13739 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13740
13741
13742   case $ac_mode in
13743   :F)
13744   #
13745   # CONFIG_FILE
13746   #
13747
13748   case $INSTALL in
13749   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13750   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13751   esac
13752   ac_MKDIR_P=$MKDIR_P
13753   case $MKDIR_P in
13754   [\\/$]* | ?:[\\/]* ) ;;
13755   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13756   esac
13757 _ACEOF
13758
13759 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13760 # If the template does not know about datarootdir, expand it.
13761 # FIXME: This hack should be removed a few years after 2.60.
13762 ac_datarootdir_hack=; ac_datarootdir_seen=
13763 ac_sed_dataroot='
13764 /datarootdir/ {
13765   p
13766   q
13767 }
13768 /@datadir@/p
13769 /@docdir@/p
13770 /@infodir@/p
13771 /@localedir@/p
13772 /@mandir@/p'
13773 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13774 *datarootdir*) ac_datarootdir_seen=yes;;
13775 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13776   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13777 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13778 _ACEOF
13779 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13780   ac_datarootdir_hack='
13781   s&@datadir@&$datadir&g
13782   s&@docdir@&$docdir&g
13783   s&@infodir@&$infodir&g
13784   s&@localedir@&$localedir&g
13785   s&@mandir@&$mandir&g
13786   s&\\\${datarootdir}&$datarootdir&g' ;;
13787 esac
13788 _ACEOF
13789
13790 # Neutralize VPATH when `$srcdir' = `.'.
13791 # Shell code in configure.ac might set extrasub.
13792 # FIXME: do we really want to maintain this feature?
13793 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13794 ac_sed_extra="$ac_vpsub
13795 $extrasub
13796 _ACEOF
13797 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13798 :t
13799 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13800 s|@configure_input@|$ac_sed_conf_input|;t t
13801 s&@top_builddir@&$ac_top_builddir_sub&;t t
13802 s&@top_build_prefix@&$ac_top_build_prefix&;t t
13803 s&@srcdir@&$ac_srcdir&;t t
13804 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13805 s&@top_srcdir@&$ac_top_srcdir&;t t
13806 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13807 s&@builddir@&$ac_builddir&;t t
13808 s&@abs_builddir@&$ac_abs_builddir&;t t
13809 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13810 s&@INSTALL@&$ac_INSTALL&;t t
13811 s&@MKDIR_P@&$ac_MKDIR_P&;t t
13812 $ac_datarootdir_hack
13813 "
13814 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
13815   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13816
13817 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13818   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
13819   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
13820       "$ac_tmp/out"`; test -z "$ac_out"; } &&
13821   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13822 which seems to be undefined.  Please make sure it is defined" >&5
13823 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13824 which seems to be undefined.  Please make sure it is defined" >&2;}
13825
13826   rm -f "$ac_tmp/stdin"
13827   case $ac_file in
13828   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13829   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13830   esac \
13831   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13832  ;;
13833   :H)
13834   #
13835   # CONFIG_HEADER
13836   #
13837   if test x"$ac_file" != x-; then
13838     {
13839       $as_echo "/* $configure_input  */" \
13840       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13841     } >"$ac_tmp/config.h" \
13842       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13843     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13844       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13845 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13846     else
13847       rm -f "$ac_file"
13848       mv "$ac_tmp/config.h" "$ac_file" \
13849         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13850     fi
13851   else
13852     $as_echo "/* $configure_input  */" \
13853       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13854       || as_fn_error $? "could not create -" "$LINENO" 5
13855   fi
13856 # Compute "$ac_file"'s index in $config_headers.
13857 _am_arg="$ac_file"
13858 _am_stamp_count=1
13859 for _am_header in $config_headers :; do
13860   case $_am_header in
13861     $_am_arg | $_am_arg:* )
13862       break ;;
13863     * )
13864       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13865   esac
13866 done
13867 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13868 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13869          X"$_am_arg" : 'X\(//\)[^/]' \| \
13870          X"$_am_arg" : 'X\(//\)$' \| \
13871          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13872 $as_echo X"$_am_arg" |
13873     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13874             s//\1/
13875             q
13876           }
13877           /^X\(\/\/\)[^/].*/{
13878             s//\1/
13879             q
13880           }
13881           /^X\(\/\/\)$/{
13882             s//\1/
13883             q
13884           }
13885           /^X\(\/\).*/{
13886             s//\1/
13887             q
13888           }
13889           s/.*/./; q'`/stamp-h$_am_stamp_count
13890  ;;
13891
13892   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13893 $as_echo "$as_me: executing $ac_file commands" >&6;}
13894  ;;
13895   esac
13896
13897
13898   case $ac_file$ac_mode in
13899     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
13900   # Older Autoconf quotes --file arguments for eval, but not when files
13901   # are listed without --file.  Let's play safe and only enable the eval
13902   # if we detect the quoting.
13903   case $CONFIG_FILES in
13904   *\'*) eval set x "$CONFIG_FILES" ;;
13905   *)   set x $CONFIG_FILES ;;
13906   esac
13907   shift
13908   for mf
13909   do
13910     # Strip MF so we end up with the name of the file.
13911     mf=`echo "$mf" | sed -e 's/:.*$//'`
13912     # Check whether this is an Automake generated Makefile or not.
13913     # We used to match only the files named 'Makefile.in', but
13914     # some people rename them; so instead we look at the file content.
13915     # Grep'ing the first line is not enough: some people post-process
13916     # each Makefile.in and add a new line on top of each file to say so.
13917     # Grep'ing the whole file is not good either: AIX grep has a line
13918     # limit of 2048, but all sed's we know have understand at least 4000.
13919     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
13920       dirpart=`$as_dirname -- "$mf" ||
13921 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13922          X"$mf" : 'X\(//\)[^/]' \| \
13923          X"$mf" : 'X\(//\)$' \| \
13924          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13925 $as_echo X"$mf" |
13926     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13927             s//\1/
13928             q
13929           }
13930           /^X\(\/\/\)[^/].*/{
13931             s//\1/
13932             q
13933           }
13934           /^X\(\/\/\)$/{
13935             s//\1/
13936             q
13937           }
13938           /^X\(\/\).*/{
13939             s//\1/
13940             q
13941           }
13942           s/.*/./; q'`
13943     else
13944       continue
13945     fi
13946     # Extract the definition of DEPDIR, am__include, and am__quote
13947     # from the Makefile without running 'make'.
13948     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13949     test -z "$DEPDIR" && continue
13950     am__include=`sed -n 's/^am__include = //p' < "$mf"`
13951     test -z "$am__include" && continue
13952     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13953     # Find all dependency output files, they are included files with
13954     # $(DEPDIR) in their names.  We invoke sed twice because it is the
13955     # simplest approach to changing $(DEPDIR) to its actual value in the
13956     # expansion.
13957     for file in `sed -n "
13958       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13959          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
13960       # Make sure the directory exists.
13961       test -f "$dirpart/$file" && continue
13962       fdir=`$as_dirname -- "$file" ||
13963 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13964          X"$file" : 'X\(//\)[^/]' \| \
13965          X"$file" : 'X\(//\)$' \| \
13966          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13967 $as_echo X"$file" |
13968     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13969             s//\1/
13970             q
13971           }
13972           /^X\(\/\/\)[^/].*/{
13973             s//\1/
13974             q
13975           }
13976           /^X\(\/\/\)$/{
13977             s//\1/
13978             q
13979           }
13980           /^X\(\/\).*/{
13981             s//\1/
13982             q
13983           }
13984           s/.*/./; q'`
13985       as_dir=$dirpart/$fdir; as_fn_mkdir_p
13986       # echo "creating $dirpart/$file"
13987       echo '# dummy' > "$dirpart/$file"
13988     done
13989   done
13990 }
13991  ;;
13992     "libtool":C)
13993
13994     # See if we are running on zsh, and set the options which allow our
13995     # commands through without removal of \ escapes.
13996     if test -n "${ZSH_VERSION+set}" ; then
13997       setopt NO_GLOB_SUBST
13998     fi
13999
14000     cfgfile="${ofile}T"
14001     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14002     $RM "$cfgfile"
14003
14004     cat <<_LT_EOF >> "$cfgfile"
14005 #! $SHELL
14006
14007 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14008 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14009 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14010 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14011 #
14012 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14013 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14014 #                 Foundation, Inc.
14015 #   Written by Gordon Matzigkeit, 1996
14016 #
14017 #   This file is part of GNU Libtool.
14018 #
14019 # GNU Libtool is free software; you can redistribute it and/or
14020 # modify it under the terms of the GNU General Public License as
14021 # published by the Free Software Foundation; either version 2 of
14022 # the License, or (at your option) any later version.
14023 #
14024 # As a special exception to the GNU General Public License,
14025 # if you distribute this file as part of a program or library that
14026 # is built using GNU Libtool, you may include this file under the
14027 # same distribution terms that you use for the rest of that program.
14028 #
14029 # GNU Libtool is distributed in the hope that it will be useful,
14030 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14031 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14032 # GNU General Public License for more details.
14033 #
14034 # You should have received a copy of the GNU General Public License
14035 # along with GNU Libtool; see the file COPYING.  If not, a copy
14036 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14037 # obtained by writing to the Free Software Foundation, Inc.,
14038 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14039
14040
14041 # The names of the tagged configurations supported by this script.
14042 available_tags=""
14043
14044 # ### BEGIN LIBTOOL CONFIG
14045
14046 # Whether or not to build static libraries.
14047 build_old_libs=$enable_static
14048
14049 # Which release of libtool.m4 was used?
14050 macro_version=$macro_version
14051 macro_revision=$macro_revision
14052
14053 # Whether or not to build shared libraries.
14054 build_libtool_libs=$enable_shared
14055
14056 # What type of objects to build.
14057 pic_mode=$pic_mode
14058
14059 # Whether or not to optimize for fast installation.
14060 fast_install=$enable_fast_install
14061
14062 # Shell to use when invoking shell scripts.
14063 SHELL=$lt_SHELL
14064
14065 # An echo program that protects backslashes.
14066 ECHO=$lt_ECHO
14067
14068 # The PATH separator for the build system.
14069 PATH_SEPARATOR=$lt_PATH_SEPARATOR
14070
14071 # The host system.
14072 host_alias=$host_alias
14073 host=$host
14074 host_os=$host_os
14075
14076 # The build system.
14077 build_alias=$build_alias
14078 build=$build
14079 build_os=$build_os
14080
14081 # A sed program that does not truncate output.
14082 SED=$lt_SED
14083
14084 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14085 Xsed="\$SED -e 1s/^X//"
14086
14087 # A grep program that handles long lines.
14088 GREP=$lt_GREP
14089
14090 # An ERE matcher.
14091 EGREP=$lt_EGREP
14092
14093 # A literal string matcher.
14094 FGREP=$lt_FGREP
14095
14096 # A BSD- or MS-compatible name lister.
14097 NM=$lt_NM
14098
14099 # Whether we need soft or hard links.
14100 LN_S=$lt_LN_S
14101
14102 # What is the maximum length of a command?
14103 max_cmd_len=$max_cmd_len
14104
14105 # Object file suffix (normally "o").
14106 objext=$ac_objext
14107
14108 # Executable file suffix (normally "").
14109 exeext=$exeext
14110
14111 # whether the shell understands "unset".
14112 lt_unset=$lt_unset
14113
14114 # turn spaces into newlines.
14115 SP2NL=$lt_lt_SP2NL
14116
14117 # turn newlines into spaces.
14118 NL2SP=$lt_lt_NL2SP
14119
14120 # convert \$build file names to \$host format.
14121 to_host_file_cmd=$lt_cv_to_host_file_cmd
14122
14123 # convert \$build files to toolchain format.
14124 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14125
14126 # An object symbol dumper.
14127 OBJDUMP=$lt_OBJDUMP
14128
14129 # Method to check whether dependent libraries are shared objects.
14130 deplibs_check_method=$lt_deplibs_check_method
14131
14132 # Command to use when deplibs_check_method = "file_magic".
14133 file_magic_cmd=$lt_file_magic_cmd
14134
14135 # How to find potential files when deplibs_check_method = "file_magic".
14136 file_magic_glob=$lt_file_magic_glob
14137
14138 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14139 want_nocaseglob=$lt_want_nocaseglob
14140
14141 # DLL creation program.
14142 DLLTOOL=$lt_DLLTOOL
14143
14144 # Command to associate shared and link libraries.
14145 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14146
14147 # The archiver.
14148 AR=$lt_AR
14149
14150 # Flags to create an archive.
14151 AR_FLAGS=$lt_AR_FLAGS
14152
14153 # How to feed a file listing to the archiver.
14154 archiver_list_spec=$lt_archiver_list_spec
14155
14156 # A symbol stripping program.
14157 STRIP=$lt_STRIP
14158
14159 # Commands used to install an old-style archive.
14160 RANLIB=$lt_RANLIB
14161 old_postinstall_cmds=$lt_old_postinstall_cmds
14162 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14163
14164 # Whether to use a lock for old archive extraction.
14165 lock_old_archive_extraction=$lock_old_archive_extraction
14166
14167 # A C compiler.
14168 LTCC=$lt_CC
14169
14170 # LTCC compiler flags.
14171 LTCFLAGS=$lt_CFLAGS
14172
14173 # Take the output of nm and produce a listing of raw symbols and C names.
14174 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14175
14176 # Transform the output of nm in a proper C declaration.
14177 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14178
14179 # Transform the output of nm in a C name address pair.
14180 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14181
14182 # Transform the output of nm in a C name address pair when lib prefix is needed.
14183 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14184
14185 # Specify filename containing input files for \$NM.
14186 nm_file_list_spec=$lt_nm_file_list_spec
14187
14188 # The root where to search for dependent libraries,and in which our libraries should be installed.
14189 lt_sysroot=$lt_sysroot
14190
14191 # The name of the directory that contains temporary libtool files.
14192 objdir=$objdir
14193
14194 # Used to examine libraries when file_magic_cmd begins with "file".
14195 MAGIC_CMD=$MAGIC_CMD
14196
14197 # Must we lock files when doing compilation?
14198 need_locks=$lt_need_locks
14199
14200 # Manifest tool.
14201 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14202
14203 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14204 DSYMUTIL=$lt_DSYMUTIL
14205
14206 # Tool to change global to local symbols on Mac OS X.
14207 NMEDIT=$lt_NMEDIT
14208
14209 # Tool to manipulate fat objects and archives on Mac OS X.
14210 LIPO=$lt_LIPO
14211
14212 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14213 OTOOL=$lt_OTOOL
14214
14215 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14216 OTOOL64=$lt_OTOOL64
14217
14218 # Old archive suffix (normally "a").
14219 libext=$libext
14220
14221 # Shared library suffix (normally ".so").
14222 shrext_cmds=$lt_shrext_cmds
14223
14224 # The commands to extract the exported symbol list from a shared archive.
14225 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14226
14227 # Variables whose values should be saved in libtool wrapper scripts and
14228 # restored at link time.
14229 variables_saved_for_relink=$lt_variables_saved_for_relink
14230
14231 # Do we need the "lib" prefix for modules?
14232 need_lib_prefix=$need_lib_prefix
14233
14234 # Do we need a version for libraries?
14235 need_version=$need_version
14236
14237 # Library versioning type.
14238 version_type=$version_type
14239
14240 # Shared library runtime path variable.
14241 runpath_var=$runpath_var
14242
14243 # Shared library path variable.
14244 shlibpath_var=$shlibpath_var
14245
14246 # Is shlibpath searched before the hard-coded library search path?
14247 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14248
14249 # Format of library name prefix.
14250 libname_spec=$lt_libname_spec
14251
14252 # List of archive names.  First name is the real one, the rest are links.
14253 # The last name is the one that the linker finds with -lNAME
14254 library_names_spec=$lt_library_names_spec
14255
14256 # The coded name of the library, if different from the real name.
14257 soname_spec=$lt_soname_spec
14258
14259 # Permission mode override for installation of shared libraries.
14260 install_override_mode=$lt_install_override_mode
14261
14262 # Command to use after installation of a shared archive.
14263 postinstall_cmds=$lt_postinstall_cmds
14264
14265 # Command to use after uninstallation of a shared archive.
14266 postuninstall_cmds=$lt_postuninstall_cmds
14267
14268 # Commands used to finish a libtool library installation in a directory.
14269 finish_cmds=$lt_finish_cmds
14270
14271 # As "finish_cmds", except a single script fragment to be evaled but
14272 # not shown.
14273 finish_eval=$lt_finish_eval
14274
14275 # Whether we should hardcode library paths into libraries.
14276 hardcode_into_libs=$hardcode_into_libs
14277
14278 # Compile-time system search path for libraries.
14279 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14280
14281 # Run-time system search path for libraries.
14282 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14283
14284 # Whether dlopen is supported.
14285 dlopen_support=$enable_dlopen
14286
14287 # Whether dlopen of programs is supported.
14288 dlopen_self=$enable_dlopen_self
14289
14290 # Whether dlopen of statically linked programs is supported.
14291 dlopen_self_static=$enable_dlopen_self_static
14292
14293 # Commands to strip libraries.
14294 old_striplib=$lt_old_striplib
14295 striplib=$lt_striplib
14296
14297
14298 # The linker used to build libraries.
14299 LD=$lt_LD
14300
14301 # How to create reloadable object files.
14302 reload_flag=$lt_reload_flag
14303 reload_cmds=$lt_reload_cmds
14304
14305 # Commands used to build an old-style archive.
14306 old_archive_cmds=$lt_old_archive_cmds
14307
14308 # A language specific compiler.
14309 CC=$lt_compiler
14310
14311 # Is the compiler the GNU compiler?
14312 with_gcc=$GCC
14313
14314 # Compiler flag to turn off builtin functions.
14315 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14316
14317 # Additional compiler flags for building library objects.
14318 pic_flag=$lt_lt_prog_compiler_pic
14319
14320 # How to pass a linker flag through the compiler.
14321 wl=$lt_lt_prog_compiler_wl
14322
14323 # Compiler flag to prevent dynamic linking.
14324 link_static_flag=$lt_lt_prog_compiler_static
14325
14326 # Does compiler simultaneously support -c and -o options?
14327 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14328
14329 # Whether or not to add -lc for building shared libraries.
14330 build_libtool_need_lc=$archive_cmds_need_lc
14331
14332 # Whether or not to disallow shared libs when runtime libs are static.
14333 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14334
14335 # Compiler flag to allow reflexive dlopens.
14336 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14337
14338 # Compiler flag to generate shared objects directly from archives.
14339 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14340
14341 # Whether the compiler copes with passing no objects directly.
14342 compiler_needs_object=$lt_compiler_needs_object
14343
14344 # Create an old-style archive from a shared archive.
14345 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14346
14347 # Create a temporary old-style archive to link instead of a shared archive.
14348 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14349
14350 # Commands used to build a shared archive.
14351 archive_cmds=$lt_archive_cmds
14352 archive_expsym_cmds=$lt_archive_expsym_cmds
14353
14354 # Commands used to build a loadable module if different from building
14355 # a shared archive.
14356 module_cmds=$lt_module_cmds
14357 module_expsym_cmds=$lt_module_expsym_cmds
14358
14359 # Whether we are building with GNU ld or not.
14360 with_gnu_ld=$lt_with_gnu_ld
14361
14362 # Flag that allows shared libraries with undefined symbols to be built.
14363 allow_undefined_flag=$lt_allow_undefined_flag
14364
14365 # Flag that enforces no undefined symbols.
14366 no_undefined_flag=$lt_no_undefined_flag
14367
14368 # Flag to hardcode \$libdir into a binary during linking.
14369 # This must work even if \$libdir does not exist
14370 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14371
14372 # Whether we need a single "-rpath" flag with a separated argument.
14373 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14374
14375 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14376 # DIR into the resulting binary.
14377 hardcode_direct=$hardcode_direct
14378
14379 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14380 # DIR into the resulting binary and the resulting library dependency is
14381 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14382 # library is relocated.
14383 hardcode_direct_absolute=$hardcode_direct_absolute
14384
14385 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14386 # into the resulting binary.
14387 hardcode_minus_L=$hardcode_minus_L
14388
14389 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14390 # into the resulting binary.
14391 hardcode_shlibpath_var=$hardcode_shlibpath_var
14392
14393 # Set to "yes" if building a shared library automatically hardcodes DIR
14394 # into the library and all subsequent libraries and executables linked
14395 # against it.
14396 hardcode_automatic=$hardcode_automatic
14397
14398 # Set to yes if linker adds runtime paths of dependent libraries
14399 # to runtime path list.
14400 inherit_rpath=$inherit_rpath
14401
14402 # Whether libtool must link a program against all its dependency libraries.
14403 link_all_deplibs=$link_all_deplibs
14404
14405 # Set to "yes" if exported symbols are required.
14406 always_export_symbols=$always_export_symbols
14407
14408 # The commands to list exported symbols.
14409 export_symbols_cmds=$lt_export_symbols_cmds
14410
14411 # Symbols that should not be listed in the preloaded symbols.
14412 exclude_expsyms=$lt_exclude_expsyms
14413
14414 # Symbols that must always be exported.
14415 include_expsyms=$lt_include_expsyms
14416
14417 # Commands necessary for linking programs (against libraries) with templates.
14418 prelink_cmds=$lt_prelink_cmds
14419
14420 # Commands necessary for finishing linking programs.
14421 postlink_cmds=$lt_postlink_cmds
14422
14423 # Specify filename containing input files.
14424 file_list_spec=$lt_file_list_spec
14425
14426 # How to hardcode a shared library path into an executable.
14427 hardcode_action=$hardcode_action
14428
14429 # ### END LIBTOOL CONFIG
14430
14431 _LT_EOF
14432
14433   case $host_os in
14434   aix3*)
14435     cat <<\_LT_EOF >> "$cfgfile"
14436 # AIX sometimes has problems with the GCC collect2 program.  For some
14437 # reason, if we set the COLLECT_NAMES environment variable, the problems
14438 # vanish in a puff of smoke.
14439 if test "X${COLLECT_NAMES+set}" != Xset; then
14440   COLLECT_NAMES=
14441   export COLLECT_NAMES
14442 fi
14443 _LT_EOF
14444     ;;
14445   esac
14446
14447
14448 ltmain="$ac_aux_dir/ltmain.sh"
14449
14450
14451   # We use sed instead of cat because bash on DJGPP gets confused if
14452   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
14453   # text mode, it properly converts lines to CR/LF.  This bash problem
14454   # is reportedly fixed, but why not run on old versions too?
14455   sed '$q' "$ltmain" >> "$cfgfile" \
14456      || (rm -f "$cfgfile"; exit 1)
14457
14458   if test x"$xsi_shell" = xyes; then
14459   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14460 func_dirname ()\
14461 {\
14462 \    case ${1} in\
14463 \      */*) func_dirname_result="${1%/*}${2}" ;;\
14464 \      *  ) func_dirname_result="${3}" ;;\
14465 \    esac\
14466 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14467   && mv -f "$cfgfile.tmp" "$cfgfile" \
14468     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14469 test 0 -eq $? || _lt_function_replace_fail=:
14470
14471
14472   sed -e '/^func_basename ()$/,/^} # func_basename /c\
14473 func_basename ()\
14474 {\
14475 \    func_basename_result="${1##*/}"\
14476 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14477   && mv -f "$cfgfile.tmp" "$cfgfile" \
14478     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14479 test 0 -eq $? || _lt_function_replace_fail=:
14480
14481
14482   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14483 func_dirname_and_basename ()\
14484 {\
14485 \    case ${1} in\
14486 \      */*) func_dirname_result="${1%/*}${2}" ;;\
14487 \      *  ) func_dirname_result="${3}" ;;\
14488 \    esac\
14489 \    func_basename_result="${1##*/}"\
14490 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14491   && mv -f "$cfgfile.tmp" "$cfgfile" \
14492     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14493 test 0 -eq $? || _lt_function_replace_fail=:
14494
14495
14496   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14497 func_stripname ()\
14498 {\
14499 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14500 \    # positional parameters, so assign one to ordinary parameter first.\
14501 \    func_stripname_result=${3}\
14502 \    func_stripname_result=${func_stripname_result#"${1}"}\
14503 \    func_stripname_result=${func_stripname_result%"${2}"}\
14504 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14505   && mv -f "$cfgfile.tmp" "$cfgfile" \
14506     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14507 test 0 -eq $? || _lt_function_replace_fail=:
14508
14509
14510   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14511 func_split_long_opt ()\
14512 {\
14513 \    func_split_long_opt_name=${1%%=*}\
14514 \    func_split_long_opt_arg=${1#*=}\
14515 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14516   && mv -f "$cfgfile.tmp" "$cfgfile" \
14517     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14518 test 0 -eq $? || _lt_function_replace_fail=:
14519
14520
14521   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14522 func_split_short_opt ()\
14523 {\
14524 \    func_split_short_opt_arg=${1#??}\
14525 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14526 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14527   && mv -f "$cfgfile.tmp" "$cfgfile" \
14528     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14529 test 0 -eq $? || _lt_function_replace_fail=:
14530
14531
14532   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14533 func_lo2o ()\
14534 {\
14535 \    case ${1} in\
14536 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14537 \      *)    func_lo2o_result=${1} ;;\
14538 \    esac\
14539 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14540   && mv -f "$cfgfile.tmp" "$cfgfile" \
14541     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14542 test 0 -eq $? || _lt_function_replace_fail=:
14543
14544
14545   sed -e '/^func_xform ()$/,/^} # func_xform /c\
14546 func_xform ()\
14547 {\
14548     func_xform_result=${1%.*}.lo\
14549 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14550   && mv -f "$cfgfile.tmp" "$cfgfile" \
14551     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14552 test 0 -eq $? || _lt_function_replace_fail=:
14553
14554
14555   sed -e '/^func_arith ()$/,/^} # func_arith /c\
14556 func_arith ()\
14557 {\
14558     func_arith_result=$(( $* ))\
14559 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14560   && mv -f "$cfgfile.tmp" "$cfgfile" \
14561     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14562 test 0 -eq $? || _lt_function_replace_fail=:
14563
14564
14565   sed -e '/^func_len ()$/,/^} # func_len /c\
14566 func_len ()\
14567 {\
14568     func_len_result=${#1}\
14569 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14570   && mv -f "$cfgfile.tmp" "$cfgfile" \
14571     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14572 test 0 -eq $? || _lt_function_replace_fail=:
14573
14574 fi
14575
14576 if test x"$lt_shell_append" = xyes; then
14577   sed -e '/^func_append ()$/,/^} # func_append /c\
14578 func_append ()\
14579 {\
14580     eval "${1}+=\\${2}"\
14581 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14582   && mv -f "$cfgfile.tmp" "$cfgfile" \
14583     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14584 test 0 -eq $? || _lt_function_replace_fail=:
14585
14586
14587   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14588 func_append_quoted ()\
14589 {\
14590 \    func_quote_for_eval "${2}"\
14591 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14592 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14593   && mv -f "$cfgfile.tmp" "$cfgfile" \
14594     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14595 test 0 -eq $? || _lt_function_replace_fail=:
14596
14597
14598   # Save a `func_append' function call where possible by direct use of '+='
14599   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14600     && mv -f "$cfgfile.tmp" "$cfgfile" \
14601       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14602   test 0 -eq $? || _lt_function_replace_fail=:
14603 else
14604   # Save a `func_append' function call even when '+=' is not available
14605   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14606     && mv -f "$cfgfile.tmp" "$cfgfile" \
14607       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14608   test 0 -eq $? || _lt_function_replace_fail=:
14609 fi
14610
14611 if test x"$_lt_function_replace_fail" = x":"; then
14612   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
14613 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
14614 fi
14615
14616
14617    mv -f "$cfgfile" "$ofile" ||
14618     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14619   chmod +x "$ofile"
14620
14621  ;;
14622
14623   esac
14624 done # for ac_tag
14625
14626
14627 as_fn_exit 0
14628 _ACEOF
14629 ac_clean_files=$ac_clean_files_save
14630
14631 test $ac_write_fail = 0 ||
14632   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14633
14634
14635 # configure is writing to config.log, and then calls config.status.
14636 # config.status does its own redirection, appending to config.log.
14637 # Unfortunately, on DOS this fails, as config.log is still kept open
14638 # by configure, so config.status won't be able to write to it; its
14639 # output is simply discarded.  So we exec the FD to /dev/null,
14640 # effectively closing config.log, so it can be properly (re)opened and
14641 # appended to by config.status.  When coming back to configure, we
14642 # need to make the FD available again.
14643 if test "$no_create" != yes; then
14644   ac_cs_success=:
14645   ac_config_status_args=
14646   test "$silent" = yes &&
14647     ac_config_status_args="$ac_config_status_args --quiet"
14648   exec 5>/dev/null
14649   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14650   exec 5>>config.log
14651   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14652   # would make configure fail if this is the last instruction.
14653   $ac_cs_success || as_fn_exit 1
14654 fi
14655 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14656   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14657 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14658 fi
14659