Import moonshot-ui_0.7.2.orig.tar.xz
[moonshot-ui.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Moonshot-ui 0.7.2.
4 #
5 # Report bugs to <moonshot-community@jiscmail.ac.uk>.
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
278 $0: moonshot-community@jiscmail.ac.uk about your system,
279 $0: including any error possibly output before this
280 $0: message. Then install a modern shell, or manually run
281 $0: the script under such a shell if you do have one."
282   fi
283   exit 1
284 fi
285 fi
286 fi
287 SHELL=${CONFIG_SHELL-/bin/sh}
288 export SHELL
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
292
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
296 # as_fn_unset VAR
297 # ---------------
298 # Portably unset VAR.
299 as_fn_unset ()
300 {
301   { eval $1=; unset $1;}
302 }
303 as_unset=as_fn_unset
304
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
308 as_fn_set_status ()
309 {
310   return $1
311 } # as_fn_set_status
312
313 # as_fn_exit STATUS
314 # -----------------
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316 as_fn_exit ()
317 {
318   set +e
319   as_fn_set_status $1
320   exit $1
321 } # as_fn_exit
322
323 # as_fn_mkdir_p
324 # -------------
325 # Create "$as_dir" as a directory, including parents if necessary.
326 as_fn_mkdir_p ()
327 {
328
329   case $as_dir in #(
330   -*) as_dir=./$as_dir;;
331   esac
332   test -d "$as_dir" || eval $as_mkdir_p || {
333     as_dirs=
334     while :; do
335       case $as_dir in #(
336       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
337       *) as_qdir=$as_dir;;
338       esac
339       as_dirs="'$as_qdir' $as_dirs"
340       as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342          X"$as_dir" : 'X\(//\)[^/]' \| \
343          X"$as_dir" : 'X\(//\)$' \| \
344          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
347             s//\1/
348             q
349           }
350           /^X\(\/\/\)[^/].*/{
351             s//\1/
352             q
353           }
354           /^X\(\/\/\)$/{
355             s//\1/
356             q
357           }
358           /^X\(\/\).*/{
359             s//\1/
360             q
361           }
362           s/.*/./; q'`
363       test -d "$as_dir" && break
364     done
365     test -z "$as_dirs" || eval "mkdir $as_dirs"
366   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
367
368
369 } # as_fn_mkdir_p
370
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
375 {
376   test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
383 # implementations.
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385   eval 'as_fn_append ()
386   {
387     eval $1+=\$2
388   }'
389 else
390   as_fn_append ()
391   {
392     eval $1=\$$1\$2
393   }
394 fi # as_fn_append
395
396 # as_fn_arith ARG...
397 # ------------------
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402   eval 'as_fn_arith ()
403   {
404     as_val=$(( $* ))
405   }'
406 else
407   as_fn_arith ()
408   {
409     as_val=`expr "$@" || test $? -eq 1`
410   }
411 fi # as_fn_arith
412
413
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
419 as_fn_error ()
420 {
421   as_status=$1; test $as_status -eq 0 && as_status=1
422   if test "$4"; then
423     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425   fi
426   $as_echo "$as_me: error: $2" >&2
427   as_fn_exit $as_status
428 } # as_fn_error
429
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431    test "X`expr 00001 : '.*\(...\)'`" = X001; then
432   as_expr=expr
433 else
434   as_expr=false
435 fi
436
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438   as_basename=basename
439 else
440   as_basename=false
441 fi
442
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444   as_dirname=dirname
445 else
446   as_dirname=false
447 fi
448
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451          X"$0" : 'X\(//\)$' \| \
452          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453 $as_echo X/"$0" |
454     sed '/^.*\/\([^/][^/]*\)\/*$/{
455             s//\1/
456             q
457           }
458           /^X\/\(\/\/\)$/{
459             s//\1/
460             q
461           }
462           /^X\/\(\/\).*/{
463             s//\1/
464             q
465           }
466           s/.*/./; q'`
467
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
474
475
476   as_lineno_1=$LINENO as_lineno_1a=$LINENO
477   as_lineno_2=$LINENO as_lineno_2a=$LINENO
478   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
481   sed -n '
482     p
483     /[$]LINENO/=
484   ' <$as_myself |
485     sed '
486       s/[$]LINENO.*/&-/
487       t lineno
488       b
489       :lineno
490       N
491       :loop
492       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493       t loop
494       s/-\n.*//
495     ' >$as_me.lineno &&
496   chmod +x "$as_me.lineno" ||
497     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
498
499   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500   # already done that, so ensure we don't try to do so again and fall
501   # in an infinite loop.  This has already happened in practice.
502   _as_can_reexec=no; export _as_can_reexec
503   # Don't try to exec as it changes $[0], causing all sort of problems
504   # (the dirname of $[0] is not the place where we might find the
505   # original and so on.  Autoconf is especially sensitive to this).
506   . "./$as_me.lineno"
507   # Exit status is that of the last command.
508   exit
509 }
510
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in #(((((
513 -n*)
514   case `echo 'xy\c'` in
515   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
516   xy)  ECHO_C='\c';;
517   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
518        ECHO_T=' ';;
519   esac;;
520 *)
521   ECHO_N='-n';;
522 esac
523
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526   rm -f conf$$.dir/conf$$.file
527 else
528   rm -f conf$$.dir
529   mkdir conf$$.dir 2>/dev/null
530 fi
531 if (echo >conf$$.file) 2>/dev/null; then
532   if ln -s conf$$.file conf$$ 2>/dev/null; then
533     as_ln_s='ln -s'
534     # ... but there are two gotchas:
535     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537     # In both cases, we have to default to `cp -pR'.
538     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
539       as_ln_s='cp -pR'
540   elif ln conf$$.file conf$$ 2>/dev/null; then
541     as_ln_s=ln
542   else
543     as_ln_s='cp -pR'
544   fi
545 else
546   as_ln_s='cp -pR'
547 fi
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
550
551 if mkdir -p . 2>/dev/null; then
552   as_mkdir_p='mkdir -p "$as_dir"'
553 else
554   test -d ./-p && rmdir ./-p
555   as_mkdir_p=false
556 fi
557
558 as_test_x='test -x'
559 as_executable_p=as_fn_executable_p
560
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566
567 SHELL=${CONFIG_SHELL-/bin/sh}
568
569 as_awk_strverscmp='
570   # Use only awk features that work with 7th edition Unix awk (1978).
571   # My, what an old awk you have, Mr. Solaris!
572   END {
573     while (length(v1) && length(v2)) {
574       # Set d1 to be the next thing to compare from v1, and likewise for d2.
575       # Normally this is a single character, but if v1 and v2 contain digits,
576       # compare them as integers and fractions as strverscmp does.
577       if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
578         # Split v1 and v2 into their leading digit string components d1 and d2,
579         # and advance v1 and v2 past the leading digit strings.
580         for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
581         for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
582         d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
583         d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
584         if (d1 ~ /^0/) {
585           if (d2 ~ /^0/) {
586             # Compare two fractions.
587             while (d1 ~ /^0/ && d2 ~ /^0/) {
588               d1 = substr(d1, 2); len1--
589               d2 = substr(d2, 2); len2--
590             }
591             if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
592               # The two components differ in length, and the common prefix
593               # contains only leading zeros.  Consider the longer to be less.
594               d1 = -len1
595               d2 = -len2
596             } else {
597               # Otherwise, compare as strings.
598               d1 = "x" d1
599               d2 = "x" d2
600             }
601           } else {
602             # A fraction is less than an integer.
603             exit 1
604           }
605         } else {
606           if (d2 ~ /^0/) {
607             # An integer is greater than a fraction.
608             exit 2
609           } else {
610             # Compare two integers.
611             d1 += 0
612             d2 += 0
613           }
614         }
615       } else {
616         # The normal case, without worrying about digits.
617         d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
618         d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
619       }
620       if (d1 < d2) exit 1
621       if (d1 > d2) exit 2
622     }
623     # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
624     # which mishandles some comparisons of empty strings to integers.
625     if (length(v2)) exit 1
626     if (length(v1)) exit 2
627   }
628 '
629
630 test -n "$DJDIR" || exec 7<&0 </dev/null
631 exec 6>&1
632
633 # Name of the host.
634 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
635 # so uname gets run too.
636 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
637
638 #
639 # Initializations.
640 #
641 ac_default_prefix=/usr/local
642 ac_clean_files=
643 ac_config_libobj_dir=.
644 LIBOBJS=
645 cross_compiling=no
646 subdirs=
647 MFLAGS=
648 MAKEFLAGS=
649
650 # Identity of this package.
651 PACKAGE_NAME='Moonshot-ui'
652 PACKAGE_TARNAME='moonshot-ui'
653 PACKAGE_VERSION='0.7.2'
654 PACKAGE_STRING='Moonshot-ui 0.7.2'
655 PACKAGE_BUGREPORT='moonshot-community@jiscmail.ac.uk'
656 PACKAGE_URL='http://www.project-moonshot.org/'
657
658 ac_unique_file="configure.ac"
659 # Factoring default headers for most tests.
660 ac_includes_default="\
661 #include <stdio.h>
662 #ifdef HAVE_SYS_TYPES_H
663 # include <sys/types.h>
664 #endif
665 #ifdef HAVE_SYS_STAT_H
666 # include <sys/stat.h>
667 #endif
668 #ifdef STDC_HEADERS
669 # include <stdlib.h>
670 # include <stddef.h>
671 #else
672 # ifdef HAVE_STDLIB_H
673 #  include <stdlib.h>
674 # endif
675 #endif
676 #ifdef HAVE_STRING_H
677 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
678 #  include <memory.h>
679 # endif
680 # include <string.h>
681 #endif
682 #ifdef HAVE_STRINGS_H
683 # include <strings.h>
684 #endif
685 #ifdef HAVE_INTTYPES_H
686 # include <inttypes.h>
687 #endif
688 #ifdef HAVE_STDINT_H
689 # include <stdint.h>
690 #endif
691 #ifdef HAVE_UNISTD_H
692 # include <unistd.h>
693 #endif"
694
695 ac_func_list=
696 gt_needs=
697 ac_subst_vars='am__EXEEXT_FALSE
698 am__EXEEXT_TRUE
699 LTLIBOBJS
700 LIBOBJS
701 GETTEXT_PACKAGE
702 POSUB
703 LTLIBINTL
704 LIBINTL
705 INTLLIBS
706 LTLIBICONV
707 LIBICONV
708 INTL_MACOSX_LIBS
709 XGETTEXT_EXTRA_OPTIONS
710 MSGMERGE
711 XGETTEXT_015
712 XGETTEXT
713 GMSGFMT_015
714 MSGFMT_015
715 GMSGFMT
716 MSGFMT
717 GETTEXT_MACRO_VERSION
718 USE_NLS
719 libmoonshot_LIBS
720 libmoonshot_CFLAGS
721 moonshot_LIBS
722 moonshot_CFLAGS
723 MOONSHOT_WEBP
724 MOONSHOT_APP
725 UPDATE_DESKTOP_DATABASE
726 UPDATE_MIME_DATABASE
727 WIX_LIGHT
728 WIX_CANDLE
729 IMAGEMAGICK_CONVERT
730 MSVC_LIB
731 MIDL
732 MIDL_WRAPPER
733 MSRPC_LIBS
734 MSRPC_CFLAGS
735 GIO_VAPI_USES_ARRAYS_FALSE
736 GIO_VAPI_USES_ARRAYS_TRUE
737 IPC_GDBUS_FALSE
738 IPC_GDBUS_TRUE
739 IPC_DBUS_GLIB_FALSE
740 IPC_DBUS_GLIB_TRUE
741 IPC_DBUS_FALSE
742 IPC_DBUS_TRUE
743 IPC_MSRPC_FALSE
744 IPC_MSRPC_TRUE
745 OS_MACOS_FALSE
746 OS_MACOS_TRUE
747 OS_WIN32_FALSE
748 OS_WIN32_TRUE
749 OS_LINUX_FALSE
750 OS_LINUX_TRUE
751 GDBUS_LIBS
752 GDBUS_CFLAGS
753 MAC_LIBS
754 MAC_CFLAGS
755 GTK_LIBS
756 GTK_CFLAGS
757 VALAC
758 PKG_CONFIG_LIBDIR
759 PKG_CONFIG_PATH
760 PKG_CONFIG
761 CPP
762 OTOOL64
763 OTOOL
764 LIPO
765 NMEDIT
766 DSYMUTIL
767 MANIFEST_TOOL
768 RANLIB
769 ac_ct_AR
770 AR
771 LN_S
772 NM
773 ac_ct_DUMPBIN
774 DUMPBIN
775 LD
776 FGREP
777 EGREP
778 GREP
779 SED
780 am__fastdepCC_FALSE
781 am__fastdepCC_TRUE
782 CCDEPMODE
783 am__nodep
784 AMDEPBACKSLASH
785 AMDEP_FALSE
786 AMDEP_TRUE
787 am__quote
788 am__include
789 DEPDIR
790 OBJEXT
791 EXEEXT
792 ac_ct_CC
793 CPPFLAGS
794 LDFLAGS
795 CFLAGS
796 CC
797 host_os
798 host_vendor
799 host_cpu
800 host
801 build_os
802 build_vendor
803 build_cpu
804 build
805 LIBTOOL
806 OBJDUMP
807 DLLTOOL
808 AS
809 MAINT
810 MAINTAINER_MODE_FALSE
811 MAINTAINER_MODE_TRUE
812 AM_BACKSLASH
813 AM_DEFAULT_VERBOSITY
814 AM_DEFAULT_V
815 AM_V
816 am__untar
817 am__tar
818 AMTAR
819 am__leading_dot
820 SET_MAKE
821 AWK
822 mkdir_p
823 MKDIR_P
824 INSTALL_STRIP_PROGRAM
825 STRIP
826 install_sh
827 MAKEINFO
828 AUTOHEADER
829 AUTOMAKE
830 AUTOCONF
831 ACLOCAL
832 VERSION
833 PACKAGE
834 CYGPATH_W
835 am__isrc
836 INSTALL_DATA
837 INSTALL_SCRIPT
838 INSTALL_PROGRAM
839 target_alias
840 host_alias
841 build_alias
842 LIBS
843 ECHO_T
844 ECHO_N
845 ECHO_C
846 DEFS
847 mandir
848 localedir
849 libdir
850 psdir
851 pdfdir
852 dvidir
853 htmldir
854 infodir
855 docdir
856 oldincludedir
857 includedir
858 localstatedir
859 sharedstatedir
860 sysconfdir
861 datadir
862 datarootdir
863 libexecdir
864 sbindir
865 bindir
866 program_transform_name
867 prefix
868 exec_prefix
869 PACKAGE_URL
870 PACKAGE_BUGREPORT
871 PACKAGE_STRING
872 PACKAGE_VERSION
873 PACKAGE_TARNAME
874 PACKAGE_NAME
875 PATH_SEPARATOR
876 SHELL'
877 ac_subst_files=''
878 ac_user_opts='
879 enable_option_checking
880 enable_silent_rules
881 enable_maintainer_mode
882 enable_shared
883 enable_static
884 with_pic
885 enable_fast_install
886 enable_dependency_tracking
887 with_gnu_ld
888 with_sysroot
889 enable_libtool_lock
890 enable_nls
891 enable_rpath
892 with_libiconv_prefix
893 with_libintl_prefix
894 '
895       ac_precious_vars='build_alias
896 host_alias
897 target_alias
898 CC
899 CFLAGS
900 LDFLAGS
901 LIBS
902 CPPFLAGS
903 CPP
904 PKG_CONFIG
905 PKG_CONFIG_PATH
906 PKG_CONFIG_LIBDIR
907 GTK_CFLAGS
908 GTK_LIBS
909 MAC_CFLAGS
910 MAC_LIBS
911 GDBUS_CFLAGS
912 GDBUS_LIBS
913 moonshot_CFLAGS
914 moonshot_LIBS
915 libmoonshot_CFLAGS
916 libmoonshot_LIBS'
917
918
919 # Initialize some variables set by options.
920 ac_init_help=
921 ac_init_version=false
922 ac_unrecognized_opts=
923 ac_unrecognized_sep=
924 # The variables have the same names as the options, with
925 # dashes changed to underlines.
926 cache_file=/dev/null
927 exec_prefix=NONE
928 no_create=
929 no_recursion=
930 prefix=NONE
931 program_prefix=NONE
932 program_suffix=NONE
933 program_transform_name=s,x,x,
934 silent=
935 site=
936 srcdir=
937 verbose=
938 x_includes=NONE
939 x_libraries=NONE
940
941 # Installation directory options.
942 # These are left unexpanded so users can "make install exec_prefix=/foo"
943 # and all the variables that are supposed to be based on exec_prefix
944 # by default will actually change.
945 # Use braces instead of parens because sh, perl, etc. also accept them.
946 # (The list follows the same order as the GNU Coding Standards.)
947 bindir='${exec_prefix}/bin'
948 sbindir='${exec_prefix}/sbin'
949 libexecdir='${exec_prefix}/libexec'
950 datarootdir='${prefix}/share'
951 datadir='${datarootdir}'
952 sysconfdir='${prefix}/etc'
953 sharedstatedir='${prefix}/com'
954 localstatedir='${prefix}/var'
955 includedir='${prefix}/include'
956 oldincludedir='/usr/include'
957 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
958 infodir='${datarootdir}/info'
959 htmldir='${docdir}'
960 dvidir='${docdir}'
961 pdfdir='${docdir}'
962 psdir='${docdir}'
963 libdir='${exec_prefix}/lib'
964 localedir='${datarootdir}/locale'
965 mandir='${datarootdir}/man'
966
967 ac_prev=
968 ac_dashdash=
969 for ac_option
970 do
971   # If the previous option needs an argument, assign it.
972   if test -n "$ac_prev"; then
973     eval $ac_prev=\$ac_option
974     ac_prev=
975     continue
976   fi
977
978   case $ac_option in
979   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
980   *=)   ac_optarg= ;;
981   *)    ac_optarg=yes ;;
982   esac
983
984   # Accept the important Cygnus configure options, so we can diagnose typos.
985
986   case $ac_dashdash$ac_option in
987   --)
988     ac_dashdash=yes ;;
989
990   -bindir | --bindir | --bindi | --bind | --bin | --bi)
991     ac_prev=bindir ;;
992   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
993     bindir=$ac_optarg ;;
994
995   -build | --build | --buil | --bui | --bu)
996     ac_prev=build_alias ;;
997   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
998     build_alias=$ac_optarg ;;
999
1000   -cache-file | --cache-file | --cache-fil | --cache-fi \
1001   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1002     ac_prev=cache_file ;;
1003   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1004   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1005     cache_file=$ac_optarg ;;
1006
1007   --config-cache | -C)
1008     cache_file=config.cache ;;
1009
1010   -datadir | --datadir | --datadi | --datad)
1011     ac_prev=datadir ;;
1012   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1013     datadir=$ac_optarg ;;
1014
1015   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1016   | --dataroo | --dataro | --datar)
1017     ac_prev=datarootdir ;;
1018   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1019   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1020     datarootdir=$ac_optarg ;;
1021
1022   -disable-* | --disable-*)
1023     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1024     # Reject names that are not valid shell variable names.
1025     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1026       as_fn_error $? "invalid feature name: $ac_useropt"
1027     ac_useropt_orig=$ac_useropt
1028     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1029     case $ac_user_opts in
1030       *"
1031 "enable_$ac_useropt"
1032 "*) ;;
1033       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1034          ac_unrecognized_sep=', ';;
1035     esac
1036     eval enable_$ac_useropt=no ;;
1037
1038   -docdir | --docdir | --docdi | --doc | --do)
1039     ac_prev=docdir ;;
1040   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1041     docdir=$ac_optarg ;;
1042
1043   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1044     ac_prev=dvidir ;;
1045   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1046     dvidir=$ac_optarg ;;
1047
1048   -enable-* | --enable-*)
1049     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1050     # Reject names that are not valid shell variable names.
1051     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1052       as_fn_error $? "invalid feature name: $ac_useropt"
1053     ac_useropt_orig=$ac_useropt
1054     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1055     case $ac_user_opts in
1056       *"
1057 "enable_$ac_useropt"
1058 "*) ;;
1059       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1060          ac_unrecognized_sep=', ';;
1061     esac
1062     eval enable_$ac_useropt=\$ac_optarg ;;
1063
1064   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1065   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1066   | --exec | --exe | --ex)
1067     ac_prev=exec_prefix ;;
1068   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1069   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1070   | --exec=* | --exe=* | --ex=*)
1071     exec_prefix=$ac_optarg ;;
1072
1073   -gas | --gas | --ga | --g)
1074     # Obsolete; use --with-gas.
1075     with_gas=yes ;;
1076
1077   -help | --help | --hel | --he | -h)
1078     ac_init_help=long ;;
1079   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1080     ac_init_help=recursive ;;
1081   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1082     ac_init_help=short ;;
1083
1084   -host | --host | --hos | --ho)
1085     ac_prev=host_alias ;;
1086   -host=* | --host=* | --hos=* | --ho=*)
1087     host_alias=$ac_optarg ;;
1088
1089   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1090     ac_prev=htmldir ;;
1091   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1092   | --ht=*)
1093     htmldir=$ac_optarg ;;
1094
1095   -includedir | --includedir | --includedi | --included | --include \
1096   | --includ | --inclu | --incl | --inc)
1097     ac_prev=includedir ;;
1098   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1099   | --includ=* | --inclu=* | --incl=* | --inc=*)
1100     includedir=$ac_optarg ;;
1101
1102   -infodir | --infodir | --infodi | --infod | --info | --inf)
1103     ac_prev=infodir ;;
1104   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1105     infodir=$ac_optarg ;;
1106
1107   -libdir | --libdir | --libdi | --libd)
1108     ac_prev=libdir ;;
1109   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1110     libdir=$ac_optarg ;;
1111
1112   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1113   | --libexe | --libex | --libe)
1114     ac_prev=libexecdir ;;
1115   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1116   | --libexe=* | --libex=* | --libe=*)
1117     libexecdir=$ac_optarg ;;
1118
1119   -localedir | --localedir | --localedi | --localed | --locale)
1120     ac_prev=localedir ;;
1121   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1122     localedir=$ac_optarg ;;
1123
1124   -localstatedir | --localstatedir | --localstatedi | --localstated \
1125   | --localstate | --localstat | --localsta | --localst | --locals)
1126     ac_prev=localstatedir ;;
1127   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1128   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1129     localstatedir=$ac_optarg ;;
1130
1131   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1132     ac_prev=mandir ;;
1133   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1134     mandir=$ac_optarg ;;
1135
1136   -nfp | --nfp | --nf)
1137     # Obsolete; use --without-fp.
1138     with_fp=no ;;
1139
1140   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1141   | --no-cr | --no-c | -n)
1142     no_create=yes ;;
1143
1144   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1145   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1146     no_recursion=yes ;;
1147
1148   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1149   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1150   | --oldin | --oldi | --old | --ol | --o)
1151     ac_prev=oldincludedir ;;
1152   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1153   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1154   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1155     oldincludedir=$ac_optarg ;;
1156
1157   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1158     ac_prev=prefix ;;
1159   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1160     prefix=$ac_optarg ;;
1161
1162   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1163   | --program-pre | --program-pr | --program-p)
1164     ac_prev=program_prefix ;;
1165   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1166   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1167     program_prefix=$ac_optarg ;;
1168
1169   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1170   | --program-suf | --program-su | --program-s)
1171     ac_prev=program_suffix ;;
1172   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1173   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1174     program_suffix=$ac_optarg ;;
1175
1176   -program-transform-name | --program-transform-name \
1177   | --program-transform-nam | --program-transform-na \
1178   | --program-transform-n | --program-transform- \
1179   | --program-transform | --program-transfor \
1180   | --program-transfo | --program-transf \
1181   | --program-trans | --program-tran \
1182   | --progr-tra | --program-tr | --program-t)
1183     ac_prev=program_transform_name ;;
1184   -program-transform-name=* | --program-transform-name=* \
1185   | --program-transform-nam=* | --program-transform-na=* \
1186   | --program-transform-n=* | --program-transform-=* \
1187   | --program-transform=* | --program-transfor=* \
1188   | --program-transfo=* | --program-transf=* \
1189   | --program-trans=* | --program-tran=* \
1190   | --progr-tra=* | --program-tr=* | --program-t=*)
1191     program_transform_name=$ac_optarg ;;
1192
1193   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1194     ac_prev=pdfdir ;;
1195   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1196     pdfdir=$ac_optarg ;;
1197
1198   -psdir | --psdir | --psdi | --psd | --ps)
1199     ac_prev=psdir ;;
1200   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1201     psdir=$ac_optarg ;;
1202
1203   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1204   | -silent | --silent | --silen | --sile | --sil)
1205     silent=yes ;;
1206
1207   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1208     ac_prev=sbindir ;;
1209   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1210   | --sbi=* | --sb=*)
1211     sbindir=$ac_optarg ;;
1212
1213   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1214   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1215   | --sharedst | --shareds | --shared | --share | --shar \
1216   | --sha | --sh)
1217     ac_prev=sharedstatedir ;;
1218   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1219   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1220   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1221   | --sha=* | --sh=*)
1222     sharedstatedir=$ac_optarg ;;
1223
1224   -site | --site | --sit)
1225     ac_prev=site ;;
1226   -site=* | --site=* | --sit=*)
1227     site=$ac_optarg ;;
1228
1229   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1230     ac_prev=srcdir ;;
1231   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1232     srcdir=$ac_optarg ;;
1233
1234   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1235   | --syscon | --sysco | --sysc | --sys | --sy)
1236     ac_prev=sysconfdir ;;
1237   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1238   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1239     sysconfdir=$ac_optarg ;;
1240
1241   -target | --target | --targe | --targ | --tar | --ta | --t)
1242     ac_prev=target_alias ;;
1243   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1244     target_alias=$ac_optarg ;;
1245
1246   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1247     verbose=yes ;;
1248
1249   -version | --version | --versio | --versi | --vers | -V)
1250     ac_init_version=: ;;
1251
1252   -with-* | --with-*)
1253     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1254     # Reject names that are not valid shell variable names.
1255     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1256       as_fn_error $? "invalid package name: $ac_useropt"
1257     ac_useropt_orig=$ac_useropt
1258     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1259     case $ac_user_opts in
1260       *"
1261 "with_$ac_useropt"
1262 "*) ;;
1263       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1264          ac_unrecognized_sep=', ';;
1265     esac
1266     eval with_$ac_useropt=\$ac_optarg ;;
1267
1268   -without-* | --without-*)
1269     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1270     # Reject names that are not valid shell variable names.
1271     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1272       as_fn_error $? "invalid package name: $ac_useropt"
1273     ac_useropt_orig=$ac_useropt
1274     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1275     case $ac_user_opts in
1276       *"
1277 "with_$ac_useropt"
1278 "*) ;;
1279       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1280          ac_unrecognized_sep=', ';;
1281     esac
1282     eval with_$ac_useropt=no ;;
1283
1284   --x)
1285     # Obsolete; use --with-x.
1286     with_x=yes ;;
1287
1288   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1289   | --x-incl | --x-inc | --x-in | --x-i)
1290     ac_prev=x_includes ;;
1291   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1292   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1293     x_includes=$ac_optarg ;;
1294
1295   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1296   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1297     ac_prev=x_libraries ;;
1298   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1299   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1300     x_libraries=$ac_optarg ;;
1301
1302   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1303 Try \`$0 --help' for more information"
1304     ;;
1305
1306   *=*)
1307     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1308     # Reject names that are not valid shell variable names.
1309     case $ac_envvar in #(
1310       '' | [0-9]* | *[!_$as_cr_alnum]* )
1311       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1312     esac
1313     eval $ac_envvar=\$ac_optarg
1314     export $ac_envvar ;;
1315
1316   *)
1317     # FIXME: should be removed in autoconf 3.0.
1318     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1319     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1320       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1321     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1322     ;;
1323
1324   esac
1325 done
1326
1327 if test -n "$ac_prev"; then
1328   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1329   as_fn_error $? "missing argument to $ac_option"
1330 fi
1331
1332 if test -n "$ac_unrecognized_opts"; then
1333   case $enable_option_checking in
1334     no) ;;
1335     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1336     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1337   esac
1338 fi
1339
1340 # Check all directory arguments for consistency.
1341 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1342                 datadir sysconfdir sharedstatedir localstatedir includedir \
1343                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1344                 libdir localedir mandir
1345 do
1346   eval ac_val=\$$ac_var
1347   # Remove trailing slashes.
1348   case $ac_val in
1349     */ )
1350       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1351       eval $ac_var=\$ac_val;;
1352   esac
1353   # Be sure to have absolute directory names.
1354   case $ac_val in
1355     [\\/$]* | ?:[\\/]* )  continue;;
1356     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1357   esac
1358   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1359 done
1360
1361 # There might be people who depend on the old broken behavior: `$host'
1362 # used to hold the argument of --host etc.
1363 # FIXME: To remove some day.
1364 build=$build_alias
1365 host=$host_alias
1366 target=$target_alias
1367
1368 # FIXME: To remove some day.
1369 if test "x$host_alias" != x; then
1370   if test "x$build_alias" = x; then
1371     cross_compiling=maybe
1372   elif test "x$build_alias" != "x$host_alias"; then
1373     cross_compiling=yes
1374   fi
1375 fi
1376
1377 ac_tool_prefix=
1378 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1379
1380 test "$silent" = yes && exec 6>/dev/null
1381
1382
1383 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1384 ac_ls_di=`ls -di .` &&
1385 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1386   as_fn_error $? "working directory cannot be determined"
1387 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1388   as_fn_error $? "pwd does not report name of working directory"
1389
1390
1391 # Find the source files, if location was not specified.
1392 if test -z "$srcdir"; then
1393   ac_srcdir_defaulted=yes
1394   # Try the directory containing this script, then the parent directory.
1395   ac_confdir=`$as_dirname -- "$as_myself" ||
1396 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1397          X"$as_myself" : 'X\(//\)[^/]' \| \
1398          X"$as_myself" : 'X\(//\)$' \| \
1399          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1400 $as_echo X"$as_myself" |
1401     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1402             s//\1/
1403             q
1404           }
1405           /^X\(\/\/\)[^/].*/{
1406             s//\1/
1407             q
1408           }
1409           /^X\(\/\/\)$/{
1410             s//\1/
1411             q
1412           }
1413           /^X\(\/\).*/{
1414             s//\1/
1415             q
1416           }
1417           s/.*/./; q'`
1418   srcdir=$ac_confdir
1419   if test ! -r "$srcdir/$ac_unique_file"; then
1420     srcdir=..
1421   fi
1422 else
1423   ac_srcdir_defaulted=no
1424 fi
1425 if test ! -r "$srcdir/$ac_unique_file"; then
1426   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1427   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1428 fi
1429 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1430 ac_abs_confdir=`(
1431         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1432         pwd)`
1433 # When building in place, set srcdir=.
1434 if test "$ac_abs_confdir" = "$ac_pwd"; then
1435   srcdir=.
1436 fi
1437 # Remove unnecessary trailing slashes from srcdir.
1438 # Double slashes in file names in object file debugging info
1439 # mess up M-x gdb in Emacs.
1440 case $srcdir in
1441 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1442 esac
1443 for ac_var in $ac_precious_vars; do
1444   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1445   eval ac_env_${ac_var}_value=\$${ac_var}
1446   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1447   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1448 done
1449
1450 #
1451 # Report the --help message.
1452 #
1453 if test "$ac_init_help" = "long"; then
1454   # Omit some internal or obsolete options to make the list less imposing.
1455   # This message is too long to be a string in the A/UX 3.1 sh.
1456   cat <<_ACEOF
1457 \`configure' configures Moonshot-ui 0.7.2 to adapt to many kinds of systems.
1458
1459 Usage: $0 [OPTION]... [VAR=VALUE]...
1460
1461 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1462 VAR=VALUE.  See below for descriptions of some of the useful variables.
1463
1464 Defaults for the options are specified in brackets.
1465
1466 Configuration:
1467   -h, --help              display this help and exit
1468       --help=short        display options specific to this package
1469       --help=recursive    display the short help of all the included packages
1470   -V, --version           display version information and exit
1471   -q, --quiet, --silent   do not print \`checking ...' messages
1472       --cache-file=FILE   cache test results in FILE [disabled]
1473   -C, --config-cache      alias for \`--cache-file=config.cache'
1474   -n, --no-create         do not create output files
1475       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1476
1477 Installation directories:
1478   --prefix=PREFIX         install architecture-independent files in PREFIX
1479                           [$ac_default_prefix]
1480   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1481                           [PREFIX]
1482
1483 By default, \`make install' will install all the files in
1484 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1485 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1486 for instance \`--prefix=\$HOME'.
1487
1488 For better control, use the options below.
1489
1490 Fine tuning of the installation directories:
1491   --bindir=DIR            user executables [EPREFIX/bin]
1492   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1493   --libexecdir=DIR        program executables [EPREFIX/libexec]
1494   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1495   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1496   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1497   --libdir=DIR            object code libraries [EPREFIX/lib]
1498   --includedir=DIR        C header files [PREFIX/include]
1499   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1500   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1501   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1502   --infodir=DIR           info documentation [DATAROOTDIR/info]
1503   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1504   --mandir=DIR            man documentation [DATAROOTDIR/man]
1505   --docdir=DIR            documentation root [DATAROOTDIR/doc/moonshot-ui]
1506   --htmldir=DIR           html documentation [DOCDIR]
1507   --dvidir=DIR            dvi documentation [DOCDIR]
1508   --pdfdir=DIR            pdf documentation [DOCDIR]
1509   --psdir=DIR             ps documentation [DOCDIR]
1510 _ACEOF
1511
1512   cat <<\_ACEOF
1513
1514 Program names:
1515   --program-prefix=PREFIX            prepend PREFIX to installed program names
1516   --program-suffix=SUFFIX            append SUFFIX to installed program names
1517   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1518
1519 System types:
1520   --build=BUILD     configure for building on BUILD [guessed]
1521   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1522 _ACEOF
1523 fi
1524
1525 if test -n "$ac_init_help"; then
1526   case $ac_init_help in
1527      short | recursive ) echo "Configuration of Moonshot-ui 0.7.2:";;
1528    esac
1529   cat <<\_ACEOF
1530
1531 Optional Features:
1532   --disable-option-checking  ignore unrecognized --enable/--with options
1533   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1534   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1535   --enable-silent-rules   less verbose build output (undo: "make V=1")
1536   --disable-silent-rules  verbose build output (undo: "make V=0")
1537   --disable-maintainer-mode
1538                           disable make rules and dependencies not useful (and
1539                           sometimes confusing) to the casual installer
1540   --enable-shared[=PKGS]  build shared libraries [default=yes]
1541   --enable-static[=PKGS]  build static libraries [default=yes]
1542   --enable-fast-install[=PKGS]
1543                           optimize for fast installation [default=yes]
1544   --enable-dependency-tracking
1545                           do not reject slow dependency extractors
1546   --disable-dependency-tracking
1547                           speeds up one-time build
1548   --disable-libtool-lock  avoid locking (might break parallel builds)
1549   --disable-nls           do not use Native Language Support
1550   --disable-rpath         do not hardcode runtime library paths
1551
1552 Optional Packages:
1553   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1554   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1555   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1556                           both]
1557   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1558   --with-sysroot=DIR Search for dependent libraries within DIR
1559                         (or the compiler's sysroot if not specified).
1560   --with-gnu-ld           assume the C compiler uses GNU ld default=no
1561   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1562   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1563   --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
1564   --without-libintl-prefix     don't search for libintl in includedir and libdir
1565
1566 Some influential environment variables:
1567   CC          C compiler command
1568   CFLAGS      C compiler flags
1569   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1570               nonstandard directory <lib dir>
1571   LIBS        libraries to pass to the linker, e.g. -l<library>
1572   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1573               you have headers in a nonstandard directory <include dir>
1574   CPP         C preprocessor
1575   PKG_CONFIG  path to pkg-config utility
1576   PKG_CONFIG_PATH
1577               directories to add to pkg-config's search path
1578   PKG_CONFIG_LIBDIR
1579               path overriding pkg-config's built-in search path
1580   GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
1581   GTK_LIBS    linker flags for GTK, overriding pkg-config
1582   MAC_CFLAGS  C compiler flags for MAC, overriding pkg-config
1583   MAC_LIBS    linker flags for MAC, overriding pkg-config
1584   GDBUS_CFLAGS
1585               C compiler flags for GDBUS, overriding pkg-config
1586   GDBUS_LIBS  linker flags for GDBUS, overriding pkg-config
1587   moonshot_CFLAGS
1588               C compiler flags for moonshot, overriding pkg-config
1589   moonshot_LIBS
1590               linker flags for moonshot, overriding pkg-config
1591   libmoonshot_CFLAGS
1592               C compiler flags for libmoonshot, overriding pkg-config
1593   libmoonshot_LIBS
1594               linker flags for libmoonshot, overriding pkg-config
1595
1596 Use these variables to override the choices made by `configure' or to help
1597 it to find libraries and programs with nonstandard names/locations.
1598
1599 Report bugs to <moonshot-community@jiscmail.ac.uk>.
1600 Moonshot-ui home page: <http://www.project-moonshot.org/>.
1601 _ACEOF
1602 ac_status=$?
1603 fi
1604
1605 if test "$ac_init_help" = "recursive"; then
1606   # If there are subdirs, report their specific --help.
1607   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1608     test -d "$ac_dir" ||
1609       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1610       continue
1611     ac_builddir=.
1612
1613 case "$ac_dir" in
1614 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1615 *)
1616   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1617   # A ".." for each directory in $ac_dir_suffix.
1618   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1619   case $ac_top_builddir_sub in
1620   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1621   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1622   esac ;;
1623 esac
1624 ac_abs_top_builddir=$ac_pwd
1625 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1626 # for backward compatibility:
1627 ac_top_builddir=$ac_top_build_prefix
1628
1629 case $srcdir in
1630   .)  # We are building in place.
1631     ac_srcdir=.
1632     ac_top_srcdir=$ac_top_builddir_sub
1633     ac_abs_top_srcdir=$ac_pwd ;;
1634   [\\/]* | ?:[\\/]* )  # Absolute name.
1635     ac_srcdir=$srcdir$ac_dir_suffix;
1636     ac_top_srcdir=$srcdir
1637     ac_abs_top_srcdir=$srcdir ;;
1638   *) # Relative name.
1639     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1640     ac_top_srcdir=$ac_top_build_prefix$srcdir
1641     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1642 esac
1643 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1644
1645     cd "$ac_dir" || { ac_status=$?; continue; }
1646     # Check for guested configure.
1647     if test -f "$ac_srcdir/configure.gnu"; then
1648       echo &&
1649       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1650     elif test -f "$ac_srcdir/configure"; then
1651       echo &&
1652       $SHELL "$ac_srcdir/configure" --help=recursive
1653     else
1654       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1655     fi || ac_status=$?
1656     cd "$ac_pwd" || { ac_status=$?; break; }
1657   done
1658 fi
1659
1660 test -n "$ac_init_help" && exit $ac_status
1661 if $ac_init_version; then
1662   cat <<\_ACEOF
1663 Moonshot-ui configure 0.7.2
1664 generated by GNU Autoconf 2.69
1665
1666 Copyright (C) 2012 Free Software Foundation, Inc.
1667 This configure script is free software; the Free Software Foundation
1668 gives unlimited permission to copy, distribute and modify it.
1669 _ACEOF
1670   exit
1671 fi
1672
1673 ## ------------------------ ##
1674 ## Autoconf initialization. ##
1675 ## ------------------------ ##
1676
1677 # ac_fn_c_try_compile LINENO
1678 # --------------------------
1679 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1680 ac_fn_c_try_compile ()
1681 {
1682   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1683   rm -f conftest.$ac_objext
1684   if { { ac_try="$ac_compile"
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_compile") 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; } && {
1700          test -z "$ac_c_werror_flag" ||
1701          test ! -s conftest.err
1702        } && test -s conftest.$ac_objext; 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_compile
1714
1715 # ac_fn_c_try_link LINENO
1716 # -----------------------
1717 # Try to link conftest.$ac_ext, and return whether this succeeded.
1718 ac_fn_c_try_link ()
1719 {
1720   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1721   rm -f conftest.$ac_objext conftest$ac_exeext
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>conftest.err
1730   ac_status=$?
1731   if test -s conftest.err; then
1732     grep -v '^ *+' conftest.err >conftest.er1
1733     cat conftest.er1 >&5
1734     mv -f conftest.er1 conftest.err
1735   fi
1736   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1737   test $ac_status = 0; } && {
1738          test -z "$ac_c_werror_flag" ||
1739          test ! -s conftest.err
1740        } && test -s conftest$ac_exeext && {
1741          test "$cross_compiling" = yes ||
1742          test -x conftest$ac_exeext
1743        }; then :
1744   ac_retval=0
1745 else
1746   $as_echo "$as_me: failed program was:" >&5
1747 sed 's/^/| /' conftest.$ac_ext >&5
1748
1749         ac_retval=1
1750 fi
1751   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1752   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1753   # interfere with the next link command; also delete a directory that is
1754   # left behind by Apple's compiler.  We do this before executing the actions.
1755   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1756   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1757   as_fn_set_status $ac_retval
1758
1759 } # ac_fn_c_try_link
1760
1761 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1762 # -------------------------------------------------------
1763 # Tests whether HEADER exists and can be compiled using the include files in
1764 # INCLUDES, setting the cache variable VAR accordingly.
1765 ac_fn_c_check_header_compile ()
1766 {
1767   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1768   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1769 $as_echo_n "checking for $2... " >&6; }
1770 if eval \${$3+:} false; then :
1771   $as_echo_n "(cached) " >&6
1772 else
1773   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1774 /* end confdefs.h.  */
1775 $4
1776 #include <$2>
1777 _ACEOF
1778 if ac_fn_c_try_compile "$LINENO"; then :
1779   eval "$3=yes"
1780 else
1781   eval "$3=no"
1782 fi
1783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1784 fi
1785 eval ac_res=\$$3
1786                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1787 $as_echo "$ac_res" >&6; }
1788   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1789
1790 } # ac_fn_c_check_header_compile
1791
1792 # ac_fn_c_try_cpp LINENO
1793 # ----------------------
1794 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1795 ac_fn_c_try_cpp ()
1796 {
1797   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1798   if { { ac_try="$ac_cpp conftest.$ac_ext"
1799 case "(($ac_try" in
1800   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1801   *) ac_try_echo=$ac_try;;
1802 esac
1803 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1804 $as_echo "$ac_try_echo"; } >&5
1805   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1806   ac_status=$?
1807   if test -s conftest.err; then
1808     grep -v '^ *+' conftest.err >conftest.er1
1809     cat conftest.er1 >&5
1810     mv -f conftest.er1 conftest.err
1811   fi
1812   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1813   test $ac_status = 0; } > conftest.i && {
1814          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1815          test ! -s conftest.err
1816        }; then :
1817   ac_retval=0
1818 else
1819   $as_echo "$as_me: failed program was:" >&5
1820 sed 's/^/| /' conftest.$ac_ext >&5
1821
1822     ac_retval=1
1823 fi
1824   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1825   as_fn_set_status $ac_retval
1826
1827 } # ac_fn_c_try_cpp
1828
1829 # ac_fn_c_try_run LINENO
1830 # ----------------------
1831 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1832 # that executables *can* be run.
1833 ac_fn_c_try_run ()
1834 {
1835   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1836   if { { ac_try="$ac_link"
1837 case "(($ac_try" in
1838   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1839   *) ac_try_echo=$ac_try;;
1840 esac
1841 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1842 $as_echo "$ac_try_echo"; } >&5
1843   (eval "$ac_link") 2>&5
1844   ac_status=$?
1845   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1846   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1847   { { case "(($ac_try" in
1848   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1849   *) ac_try_echo=$ac_try;;
1850 esac
1851 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1852 $as_echo "$ac_try_echo"; } >&5
1853   (eval "$ac_try") 2>&5
1854   ac_status=$?
1855   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1856   test $ac_status = 0; }; }; then :
1857   ac_retval=0
1858 else
1859   $as_echo "$as_me: program exited with status $ac_status" >&5
1860        $as_echo "$as_me: failed program was:" >&5
1861 sed 's/^/| /' conftest.$ac_ext >&5
1862
1863        ac_retval=$ac_status
1864 fi
1865   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1866   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1867   as_fn_set_status $ac_retval
1868
1869 } # ac_fn_c_try_run
1870
1871 # ac_fn_c_check_func LINENO FUNC VAR
1872 # ----------------------------------
1873 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1874 ac_fn_c_check_func ()
1875 {
1876   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1877   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1878 $as_echo_n "checking for $2... " >&6; }
1879 if eval \${$3+:} false; then :
1880   $as_echo_n "(cached) " >&6
1881 else
1882   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1883 /* end confdefs.h.  */
1884 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1885    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1886 #define $2 innocuous_$2
1887
1888 /* System header to define __stub macros and hopefully few prototypes,
1889     which can conflict with char $2 (); below.
1890     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1891     <limits.h> exists even on freestanding compilers.  */
1892
1893 #ifdef __STDC__
1894 # include <limits.h>
1895 #else
1896 # include <assert.h>
1897 #endif
1898
1899 #undef $2
1900
1901 /* Override any GCC internal prototype to avoid an error.
1902    Use char because int might match the return type of a GCC
1903    builtin and then its argument prototype would still apply.  */
1904 #ifdef __cplusplus
1905 extern "C"
1906 #endif
1907 char $2 ();
1908 /* The GNU C library defines this for functions which it implements
1909     to always fail with ENOSYS.  Some functions are actually named
1910     something starting with __ and the normal name is an alias.  */
1911 #if defined __stub_$2 || defined __stub___$2
1912 choke me
1913 #endif
1914
1915 int
1916 main ()
1917 {
1918 return $2 ();
1919   ;
1920   return 0;
1921 }
1922 _ACEOF
1923 if ac_fn_c_try_link "$LINENO"; then :
1924   eval "$3=yes"
1925 else
1926   eval "$3=no"
1927 fi
1928 rm -f core conftest.err conftest.$ac_objext \
1929     conftest$ac_exeext conftest.$ac_ext
1930 fi
1931 eval ac_res=\$$3
1932                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1933 $as_echo "$ac_res" >&6; }
1934   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1935
1936 } # ac_fn_c_check_func
1937 cat >config.log <<_ACEOF
1938 This file contains any messages produced by compilers while
1939 running configure, to aid debugging if configure makes a mistake.
1940
1941 It was created by Moonshot-ui $as_me 0.7.2, which was
1942 generated by GNU Autoconf 2.69.  Invocation command line was
1943
1944   $ $0 $@
1945
1946 _ACEOF
1947 exec 5>>config.log
1948 {
1949 cat <<_ASUNAME
1950 ## --------- ##
1951 ## Platform. ##
1952 ## --------- ##
1953
1954 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1955 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1956 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1957 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1958 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1959
1960 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1961 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1962
1963 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1964 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1965 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1966 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1967 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1968 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1969 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1970
1971 _ASUNAME
1972
1973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1974 for as_dir in $PATH
1975 do
1976   IFS=$as_save_IFS
1977   test -z "$as_dir" && as_dir=.
1978     $as_echo "PATH: $as_dir"
1979   done
1980 IFS=$as_save_IFS
1981
1982 } >&5
1983
1984 cat >&5 <<_ACEOF
1985
1986
1987 ## ----------- ##
1988 ## Core tests. ##
1989 ## ----------- ##
1990
1991 _ACEOF
1992
1993
1994 # Keep a trace of the command line.
1995 # Strip out --no-create and --no-recursion so they do not pile up.
1996 # Strip out --silent because we don't want to record it for future runs.
1997 # Also quote any args containing shell meta-characters.
1998 # Make two passes to allow for proper duplicate-argument suppression.
1999 ac_configure_args=
2000 ac_configure_args0=
2001 ac_configure_args1=
2002 ac_must_keep_next=false
2003 for ac_pass in 1 2
2004 do
2005   for ac_arg
2006   do
2007     case $ac_arg in
2008     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2009     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2010     | -silent | --silent | --silen | --sile | --sil)
2011       continue ;;
2012     *\'*)
2013       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2014     esac
2015     case $ac_pass in
2016     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2017     2)
2018       as_fn_append ac_configure_args1 " '$ac_arg'"
2019       if test $ac_must_keep_next = true; then
2020         ac_must_keep_next=false # Got value, back to normal.
2021       else
2022         case $ac_arg in
2023           *=* | --config-cache | -C | -disable-* | --disable-* \
2024           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2025           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2026           | -with-* | --with-* | -without-* | --without-* | --x)
2027             case "$ac_configure_args0 " in
2028               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2029             esac
2030             ;;
2031           -* ) ac_must_keep_next=true ;;
2032         esac
2033       fi
2034       as_fn_append ac_configure_args " '$ac_arg'"
2035       ;;
2036     esac
2037   done
2038 done
2039 { ac_configure_args0=; unset ac_configure_args0;}
2040 { ac_configure_args1=; unset ac_configure_args1;}
2041
2042 # When interrupted or exit'd, cleanup temporary files, and complete
2043 # config.log.  We remove comments because anyway the quotes in there
2044 # would cause problems or look ugly.
2045 # WARNING: Use '\'' to represent an apostrophe within the trap.
2046 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2047 trap 'exit_status=$?
2048   # Save into config.log some information that might help in debugging.
2049   {
2050     echo
2051
2052     $as_echo "## ---------------- ##
2053 ## Cache variables. ##
2054 ## ---------------- ##"
2055     echo
2056     # The following way of writing the cache mishandles newlines in values,
2057 (
2058   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2059     eval ac_val=\$$ac_var
2060     case $ac_val in #(
2061     *${as_nl}*)
2062       case $ac_var in #(
2063       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2064 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2065       esac
2066       case $ac_var in #(
2067       _ | IFS | as_nl) ;; #(
2068       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2069       *) { eval $ac_var=; unset $ac_var;} ;;
2070       esac ;;
2071     esac
2072   done
2073   (set) 2>&1 |
2074     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2075     *${as_nl}ac_space=\ *)
2076       sed -n \
2077         "s/'\''/'\''\\\\'\'''\''/g;
2078           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2079       ;; #(
2080     *)
2081       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2082       ;;
2083     esac |
2084     sort
2085 )
2086     echo
2087
2088     $as_echo "## ----------------- ##
2089 ## Output variables. ##
2090 ## ----------------- ##"
2091     echo
2092     for ac_var in $ac_subst_vars
2093     do
2094       eval ac_val=\$$ac_var
2095       case $ac_val in
2096       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2097       esac
2098       $as_echo "$ac_var='\''$ac_val'\''"
2099     done | sort
2100     echo
2101
2102     if test -n "$ac_subst_files"; then
2103       $as_echo "## ------------------- ##
2104 ## File substitutions. ##
2105 ## ------------------- ##"
2106       echo
2107       for ac_var in $ac_subst_files
2108       do
2109         eval ac_val=\$$ac_var
2110         case $ac_val in
2111         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2112         esac
2113         $as_echo "$ac_var='\''$ac_val'\''"
2114       done | sort
2115       echo
2116     fi
2117
2118     if test -s confdefs.h; then
2119       $as_echo "## ----------- ##
2120 ## confdefs.h. ##
2121 ## ----------- ##"
2122       echo
2123       cat confdefs.h
2124       echo
2125     fi
2126     test "$ac_signal" != 0 &&
2127       $as_echo "$as_me: caught signal $ac_signal"
2128     $as_echo "$as_me: exit $exit_status"
2129   } >&5
2130   rm -f core *.core core.conftest.* &&
2131     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2132     exit $exit_status
2133 ' 0
2134 for ac_signal in 1 2 13 15; do
2135   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2136 done
2137 ac_signal=0
2138
2139 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2140 rm -f -r conftest* confdefs.h
2141
2142 $as_echo "/* confdefs.h */" > confdefs.h
2143
2144 # Predefined preprocessor variables.
2145
2146 cat >>confdefs.h <<_ACEOF
2147 #define PACKAGE_NAME "$PACKAGE_NAME"
2148 _ACEOF
2149
2150 cat >>confdefs.h <<_ACEOF
2151 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2152 _ACEOF
2153
2154 cat >>confdefs.h <<_ACEOF
2155 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2156 _ACEOF
2157
2158 cat >>confdefs.h <<_ACEOF
2159 #define PACKAGE_STRING "$PACKAGE_STRING"
2160 _ACEOF
2161
2162 cat >>confdefs.h <<_ACEOF
2163 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2164 _ACEOF
2165
2166 cat >>confdefs.h <<_ACEOF
2167 #define PACKAGE_URL "$PACKAGE_URL"
2168 _ACEOF
2169
2170
2171 # Let the site file select an alternate cache file if it wants to.
2172 # Prefer an explicitly selected file to automatically selected ones.
2173 ac_site_file1=NONE
2174 ac_site_file2=NONE
2175 if test -n "$CONFIG_SITE"; then
2176   # We do not want a PATH search for config.site.
2177   case $CONFIG_SITE in #((
2178     -*)  ac_site_file1=./$CONFIG_SITE;;
2179     */*) ac_site_file1=$CONFIG_SITE;;
2180     *)   ac_site_file1=./$CONFIG_SITE;;
2181   esac
2182 elif test "x$prefix" != xNONE; then
2183   ac_site_file1=$prefix/share/config.site
2184   ac_site_file2=$prefix/etc/config.site
2185 else
2186   ac_site_file1=$ac_default_prefix/share/config.site
2187   ac_site_file2=$ac_default_prefix/etc/config.site
2188 fi
2189 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2190 do
2191   test "x$ac_site_file" = xNONE && continue
2192   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2193     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2194 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2195     sed 's/^/| /' "$ac_site_file" >&5
2196     . "$ac_site_file" \
2197       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2198 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2199 as_fn_error $? "failed to load site script $ac_site_file
2200 See \`config.log' for more details" "$LINENO" 5; }
2201   fi
2202 done
2203
2204 if test -r "$cache_file"; then
2205   # Some versions of bash will fail to source /dev/null (special files
2206   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2207   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2208     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2209 $as_echo "$as_me: loading cache $cache_file" >&6;}
2210     case $cache_file in
2211       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2212       *)                      . "./$cache_file";;
2213     esac
2214   fi
2215 else
2216   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2217 $as_echo "$as_me: creating cache $cache_file" >&6;}
2218   >$cache_file
2219 fi
2220
2221 as_fn_append ac_func_list " geteuid"
2222 as_fn_append ac_func_list " getpwuid"
2223 gt_needs="$gt_needs "
2224 # Check that the precious variables saved in the cache have kept the same
2225 # value.
2226 ac_cache_corrupted=false
2227 for ac_var in $ac_precious_vars; do
2228   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2229   eval ac_new_set=\$ac_env_${ac_var}_set
2230   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2231   eval ac_new_val=\$ac_env_${ac_var}_value
2232   case $ac_old_set,$ac_new_set in
2233     set,)
2234       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2235 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2236       ac_cache_corrupted=: ;;
2237     ,set)
2238       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2239 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2240       ac_cache_corrupted=: ;;
2241     ,);;
2242     *)
2243       if test "x$ac_old_val" != "x$ac_new_val"; then
2244         # differences in whitespace do not lead to failure.
2245         ac_old_val_w=`echo x $ac_old_val`
2246         ac_new_val_w=`echo x $ac_new_val`
2247         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2248           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2249 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2250           ac_cache_corrupted=:
2251         else
2252           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2253 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2254           eval $ac_var=\$ac_old_val
2255         fi
2256         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2257 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2258         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2259 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2260       fi;;
2261   esac
2262   # Pass precious variables to config.status.
2263   if test "$ac_new_set" = set; then
2264     case $ac_new_val in
2265     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2266     *) ac_arg=$ac_var=$ac_new_val ;;
2267     esac
2268     case " $ac_configure_args " in
2269       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2270       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2271     esac
2272   fi
2273 done
2274 if $ac_cache_corrupted; then
2275   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2276 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2277   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2278 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2279   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2280 fi
2281 ## -------------------- ##
2282 ## Main body of script. ##
2283 ## -------------------- ##
2284
2285 ac_ext=c
2286 ac_cpp='$CPP $CPPFLAGS'
2287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2290
2291
2292
2293 # Remove this when we can depend on autoconf >= 2.64
2294 PACKAGE_URL=http://www.project-moonshot.org/
2295
2296
2297 $as_echo "#define PACKAGE_URL \"http://www.project-moonshot.org\"" >>confdefs.h
2298
2299 ac_config_headers="$ac_config_headers config.h"
2300
2301
2302
2303 ac_aux_dir=
2304 for ac_dir in build-aux "$srcdir"/build-aux; do
2305   if test -f "$ac_dir/install-sh"; then
2306     ac_aux_dir=$ac_dir
2307     ac_install_sh="$ac_aux_dir/install-sh -c"
2308     break
2309   elif test -f "$ac_dir/install.sh"; then
2310     ac_aux_dir=$ac_dir
2311     ac_install_sh="$ac_aux_dir/install.sh -c"
2312     break
2313   elif test -f "$ac_dir/shtool"; then
2314     ac_aux_dir=$ac_dir
2315     ac_install_sh="$ac_aux_dir/shtool install -c"
2316     break
2317   fi
2318 done
2319 if test -z "$ac_aux_dir"; then
2320   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2321 fi
2322
2323 # These three variables are undocumented and unsupported,
2324 # and are intended to be withdrawn in a future Autoconf release.
2325 # They can cause serious problems if a builder's source tree is in a directory
2326 # whose full name contains unusual characters.
2327 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2328 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2329 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2330
2331
2332
2333 am__api_version='1.15'
2334
2335 # Find a good install program.  We prefer a C program (faster),
2336 # so one script is as good as another.  But avoid the broken or
2337 # incompatible versions:
2338 # SysV /etc/install, /usr/sbin/install
2339 # SunOS /usr/etc/install
2340 # IRIX /sbin/install
2341 # AIX /bin/install
2342 # AmigaOS /C/install, which installs bootblocks on floppy discs
2343 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2344 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2345 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2346 # OS/2's system install, which has a completely different semantic
2347 # ./install, which can be erroneously created by make from ./install.sh.
2348 # Reject install programs that cannot install multiple files.
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2350 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2351 if test -z "$INSTALL"; then
2352 if ${ac_cv_path_install+:} false; then :
2353   $as_echo_n "(cached) " >&6
2354 else
2355   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2356 for as_dir in $PATH
2357 do
2358   IFS=$as_save_IFS
2359   test -z "$as_dir" && as_dir=.
2360     # Account for people who put trailing slashes in PATH elements.
2361 case $as_dir/ in #((
2362   ./ | .// | /[cC]/* | \
2363   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2364   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2365   /usr/ucb/* ) ;;
2366   *)
2367     # OSF1 and SCO ODT 3.0 have their own names for install.
2368     # Don't use installbsd from OSF since it installs stuff as root
2369     # by default.
2370     for ac_prog in ginstall scoinst install; do
2371       for ac_exec_ext in '' $ac_executable_extensions; do
2372         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2373           if test $ac_prog = install &&
2374             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2375             # AIX install.  It has an incompatible calling convention.
2376             :
2377           elif test $ac_prog = install &&
2378             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2379             # program-specific install script used by HP pwplus--don't use.
2380             :
2381           else
2382             rm -rf conftest.one conftest.two conftest.dir
2383             echo one > conftest.one
2384             echo two > conftest.two
2385             mkdir conftest.dir
2386             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2387               test -s conftest.one && test -s conftest.two &&
2388               test -s conftest.dir/conftest.one &&
2389               test -s conftest.dir/conftest.two
2390             then
2391               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2392               break 3
2393             fi
2394           fi
2395         fi
2396       done
2397     done
2398     ;;
2399 esac
2400
2401   done
2402 IFS=$as_save_IFS
2403
2404 rm -rf conftest.one conftest.two conftest.dir
2405
2406 fi
2407   if test "${ac_cv_path_install+set}" = set; then
2408     INSTALL=$ac_cv_path_install
2409   else
2410     # As a last resort, use the slow shell script.  Don't cache a
2411     # value for INSTALL within a source directory, because that will
2412     # break other packages using the cache if that directory is
2413     # removed, or if the value is a relative name.
2414     INSTALL=$ac_install_sh
2415   fi
2416 fi
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2418 $as_echo "$INSTALL" >&6; }
2419
2420 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2421 # It thinks the first close brace ends the variable substitution.
2422 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2423
2424 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2425
2426 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2427
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2429 $as_echo_n "checking whether build environment is sane... " >&6; }
2430 # Reject unsafe characters in $srcdir or the absolute working directory
2431 # name.  Accept space and tab only in the latter.
2432 am_lf='
2433 '
2434 case `pwd` in
2435   *[\\\"\#\$\&\'\`$am_lf]*)
2436     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2437 esac
2438 case $srcdir in
2439   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2440     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2441 esac
2442
2443 # Do 'set' in a subshell so we don't clobber the current shell's
2444 # arguments.  Must try -L first in case configure is actually a
2445 # symlink; some systems play weird games with the mod time of symlinks
2446 # (eg FreeBSD returns the mod time of the symlink's containing
2447 # directory).
2448 if (
2449    am_has_slept=no
2450    for am_try in 1 2; do
2451      echo "timestamp, slept: $am_has_slept" > conftest.file
2452      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2453      if test "$*" = "X"; then
2454         # -L didn't work.
2455         set X `ls -t "$srcdir/configure" conftest.file`
2456      fi
2457      if test "$*" != "X $srcdir/configure conftest.file" \
2458         && test "$*" != "X conftest.file $srcdir/configure"; then
2459
2460         # If neither matched, then we have a broken ls.  This can happen
2461         # if, for instance, CONFIG_SHELL is bash and it inherits a
2462         # broken ls alias from the environment.  This has actually
2463         # happened.  Such a system could not be considered "sane".
2464         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2465   alias in your environment" "$LINENO" 5
2466      fi
2467      if test "$2" = conftest.file || test $am_try -eq 2; then
2468        break
2469      fi
2470      # Just in case.
2471      sleep 1
2472      am_has_slept=yes
2473    done
2474    test "$2" = conftest.file
2475    )
2476 then
2477    # Ok.
2478    :
2479 else
2480    as_fn_error $? "newly created file is older than distributed files!
2481 Check your system clock" "$LINENO" 5
2482 fi
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2484 $as_echo "yes" >&6; }
2485 # If we didn't sleep, we still need to ensure time stamps of config.status and
2486 # generated files are strictly newer.
2487 am_sleep_pid=
2488 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2489   ( sleep 1 ) &
2490   am_sleep_pid=$!
2491 fi
2492
2493 rm -f conftest.file
2494
2495 test "$program_prefix" != NONE &&
2496   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2497 # Use a double $ so make ignores it.
2498 test "$program_suffix" != NONE &&
2499   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2500 # Double any \ or $.
2501 # By default was `s,x,x', remove it if useless.
2502 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2503 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2504
2505 # Expand $ac_aux_dir to an absolute path.
2506 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2507
2508 if test x"${MISSING+set}" != xset; then
2509   case $am_aux_dir in
2510   *\ * | *\     *)
2511     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2512   *)
2513     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2514   esac
2515 fi
2516 # Use eval to expand $SHELL
2517 if eval "$MISSING --is-lightweight"; then
2518   am_missing_run="$MISSING "
2519 else
2520   am_missing_run=
2521   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2522 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2523 fi
2524
2525 if test x"${install_sh+set}" != xset; then
2526   case $am_aux_dir in
2527   *\ * | *\     *)
2528     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2529   *)
2530     install_sh="\${SHELL} $am_aux_dir/install-sh"
2531   esac
2532 fi
2533
2534 # Installed binaries are usually stripped using 'strip' when the user
2535 # run "make install-strip".  However 'strip' might not be the right
2536 # tool to use in cross-compilation environments, therefore Automake
2537 # will honor the 'STRIP' environment variable to overrule this program.
2538 if test "$cross_compiling" != no; then
2539   if test -n "$ac_tool_prefix"; then
2540   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2541 set dummy ${ac_tool_prefix}strip; ac_word=$2
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2543 $as_echo_n "checking for $ac_word... " >&6; }
2544 if ${ac_cv_prog_STRIP+:} false; then :
2545   $as_echo_n "(cached) " >&6
2546 else
2547   if test -n "$STRIP"; then
2548   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2549 else
2550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2551 for as_dir in $PATH
2552 do
2553   IFS=$as_save_IFS
2554   test -z "$as_dir" && as_dir=.
2555     for ac_exec_ext in '' $ac_executable_extensions; do
2556   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2557     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2558     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2559     break 2
2560   fi
2561 done
2562   done
2563 IFS=$as_save_IFS
2564
2565 fi
2566 fi
2567 STRIP=$ac_cv_prog_STRIP
2568 if test -n "$STRIP"; then
2569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2570 $as_echo "$STRIP" >&6; }
2571 else
2572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2573 $as_echo "no" >&6; }
2574 fi
2575
2576
2577 fi
2578 if test -z "$ac_cv_prog_STRIP"; then
2579   ac_ct_STRIP=$STRIP
2580   # Extract the first word of "strip", so it can be a program name with args.
2581 set dummy strip; ac_word=$2
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2583 $as_echo_n "checking for $ac_word... " >&6; }
2584 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2585   $as_echo_n "(cached) " >&6
2586 else
2587   if test -n "$ac_ct_STRIP"; then
2588   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2589 else
2590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2591 for as_dir in $PATH
2592 do
2593   IFS=$as_save_IFS
2594   test -z "$as_dir" && as_dir=.
2595     for ac_exec_ext in '' $ac_executable_extensions; do
2596   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2597     ac_cv_prog_ac_ct_STRIP="strip"
2598     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2599     break 2
2600   fi
2601 done
2602   done
2603 IFS=$as_save_IFS
2604
2605 fi
2606 fi
2607 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2608 if test -n "$ac_ct_STRIP"; then
2609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2610 $as_echo "$ac_ct_STRIP" >&6; }
2611 else
2612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2613 $as_echo "no" >&6; }
2614 fi
2615
2616   if test "x$ac_ct_STRIP" = x; then
2617     STRIP=":"
2618   else
2619     case $cross_compiling:$ac_tool_warned in
2620 yes:)
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2622 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2623 ac_tool_warned=yes ;;
2624 esac
2625     STRIP=$ac_ct_STRIP
2626   fi
2627 else
2628   STRIP="$ac_cv_prog_STRIP"
2629 fi
2630
2631 fi
2632 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2633
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2635 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2636 if test -z "$MKDIR_P"; then
2637   if ${ac_cv_path_mkdir+:} false; then :
2638   $as_echo_n "(cached) " >&6
2639 else
2640   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2641 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2642 do
2643   IFS=$as_save_IFS
2644   test -z "$as_dir" && as_dir=.
2645     for ac_prog in mkdir gmkdir; do
2646          for ac_exec_ext in '' $ac_executable_extensions; do
2647            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2648            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2649              'mkdir (GNU coreutils) '* | \
2650              'mkdir (coreutils) '* | \
2651              'mkdir (fileutils) '4.1*)
2652                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2653                break 3;;
2654            esac
2655          done
2656        done
2657   done
2658 IFS=$as_save_IFS
2659
2660 fi
2661
2662   test -d ./--version && rmdir ./--version
2663   if test "${ac_cv_path_mkdir+set}" = set; then
2664     MKDIR_P="$ac_cv_path_mkdir -p"
2665   else
2666     # As a last resort, use the slow shell script.  Don't cache a
2667     # value for MKDIR_P within a source directory, because that will
2668     # break other packages using the cache if that directory is
2669     # removed, or if the value is a relative name.
2670     MKDIR_P="$ac_install_sh -d"
2671   fi
2672 fi
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2674 $as_echo "$MKDIR_P" >&6; }
2675
2676 for ac_prog in gawk mawk nawk awk
2677 do
2678   # Extract the first word of "$ac_prog", so it can be a program name with args.
2679 set dummy $ac_prog; ac_word=$2
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2681 $as_echo_n "checking for $ac_word... " >&6; }
2682 if ${ac_cv_prog_AWK+:} false; then :
2683   $as_echo_n "(cached) " >&6
2684 else
2685   if test -n "$AWK"; then
2686   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2687 else
2688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2689 for as_dir in $PATH
2690 do
2691   IFS=$as_save_IFS
2692   test -z "$as_dir" && as_dir=.
2693     for ac_exec_ext in '' $ac_executable_extensions; do
2694   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2695     ac_cv_prog_AWK="$ac_prog"
2696     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2697     break 2
2698   fi
2699 done
2700   done
2701 IFS=$as_save_IFS
2702
2703 fi
2704 fi
2705 AWK=$ac_cv_prog_AWK
2706 if test -n "$AWK"; then
2707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2708 $as_echo "$AWK" >&6; }
2709 else
2710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2711 $as_echo "no" >&6; }
2712 fi
2713
2714
2715   test -n "$AWK" && break
2716 done
2717
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2719 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2720 set x ${MAKE-make}
2721 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2722 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2723   $as_echo_n "(cached) " >&6
2724 else
2725   cat >conftest.make <<\_ACEOF
2726 SHELL = /bin/sh
2727 all:
2728         @echo '@@@%%%=$(MAKE)=@@@%%%'
2729 _ACEOF
2730 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2731 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2732   *@@@%%%=?*=@@@%%%*)
2733     eval ac_cv_prog_make_${ac_make}_set=yes;;
2734   *)
2735     eval ac_cv_prog_make_${ac_make}_set=no;;
2736 esac
2737 rm -f conftest.make
2738 fi
2739 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2741 $as_echo "yes" >&6; }
2742   SET_MAKE=
2743 else
2744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2745 $as_echo "no" >&6; }
2746   SET_MAKE="MAKE=${MAKE-make}"
2747 fi
2748
2749 rm -rf .tst 2>/dev/null
2750 mkdir .tst 2>/dev/null
2751 if test -d .tst; then
2752   am__leading_dot=.
2753 else
2754   am__leading_dot=_
2755 fi
2756 rmdir .tst 2>/dev/null
2757
2758 # Check whether --enable-silent-rules was given.
2759 if test "${enable_silent_rules+set}" = set; then :
2760   enableval=$enable_silent_rules;
2761 fi
2762
2763 case $enable_silent_rules in # (((
2764   yes) AM_DEFAULT_VERBOSITY=0;;
2765    no) AM_DEFAULT_VERBOSITY=1;;
2766     *) AM_DEFAULT_VERBOSITY=1;;
2767 esac
2768 am_make=${MAKE-make}
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2770 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2771 if ${am_cv_make_support_nested_variables+:} false; then :
2772   $as_echo_n "(cached) " >&6
2773 else
2774   if $as_echo 'TRUE=$(BAR$(V))
2775 BAR0=false
2776 BAR1=true
2777 V=1
2778 am__doit:
2779         @$(TRUE)
2780 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2781   am_cv_make_support_nested_variables=yes
2782 else
2783   am_cv_make_support_nested_variables=no
2784 fi
2785 fi
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2787 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2788 if test $am_cv_make_support_nested_variables = yes; then
2789     AM_V='$(V)'
2790   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2791 else
2792   AM_V=$AM_DEFAULT_VERBOSITY
2793   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2794 fi
2795 AM_BACKSLASH='\'
2796
2797 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2798   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2799   # is not polluted with repeated "-I."
2800   am__isrc=' -I$(srcdir)'
2801   # test to see if srcdir already configured
2802   if test -f $srcdir/config.status; then
2803     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2804   fi
2805 fi
2806
2807 # test whether we have cygpath
2808 if test -z "$CYGPATH_W"; then
2809   if (cygpath --version) >/dev/null 2>/dev/null; then
2810     CYGPATH_W='cygpath -w'
2811   else
2812     CYGPATH_W=echo
2813   fi
2814 fi
2815
2816
2817 # Define the identity of the package.
2818  PACKAGE='moonshot-ui'
2819  VERSION='0.7.2'
2820
2821
2822 cat >>confdefs.h <<_ACEOF
2823 #define PACKAGE "$PACKAGE"
2824 _ACEOF
2825
2826
2827 cat >>confdefs.h <<_ACEOF
2828 #define VERSION "$VERSION"
2829 _ACEOF
2830
2831 # Some tools Automake needs.
2832
2833 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2834
2835
2836 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2837
2838
2839 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2840
2841
2842 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2843
2844
2845 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2846
2847 # For better backward compatibility.  To be removed once Automake 1.9.x
2848 # dies out for good.  For more background, see:
2849 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2850 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2851 mkdir_p='$(MKDIR_P)'
2852
2853 # We need awk for the "check" target (and possibly the TAP driver).  The
2854 # system "awk" is bad on some platforms.
2855 # Always define AMTAR for backward compatibility.  Yes, it's still used
2856 # in the wild :-(  We should find a proper way to deprecate it ...
2857 AMTAR='$${TAR-tar}'
2858
2859
2860 # We'll loop over all known methods to create a tar archive until one works.
2861 _am_tools='gnutar  pax cpio none'
2862
2863
2864
2865   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2866 $as_echo_n "checking how to create a pax tar archive... " >&6; }
2867
2868   # Go ahead even if we have the value already cached.  We do so because we
2869   # need to set the values for the 'am__tar' and 'am__untar' variables.
2870   _am_tools=${am_cv_prog_tar_pax-$_am_tools}
2871
2872   for _am_tool in $_am_tools; do
2873     case $_am_tool in
2874     gnutar)
2875       for _am_tar in tar gnutar gtar; do
2876         { echo "$as_me:$LINENO: $_am_tar --version" >&5
2877    ($_am_tar --version) >&5 2>&5
2878    ac_status=$?
2879    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2880    (exit $ac_status); } && break
2881       done
2882       am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2883       am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2884       am__untar="$_am_tar -xf -"
2885       ;;
2886     plaintar)
2887       # Must skip GNU tar: if it does not support --format= it doesn't create
2888       # ustar tarball either.
2889       (tar --version) >/dev/null 2>&1 && continue
2890       am__tar='tar chf - "$$tardir"'
2891       am__tar_='tar chf - "$tardir"'
2892       am__untar='tar xf -'
2893       ;;
2894     pax)
2895       am__tar='pax -L -x pax -w "$$tardir"'
2896       am__tar_='pax -L -x pax -w "$tardir"'
2897       am__untar='pax -r'
2898       ;;
2899     cpio)
2900       am__tar='find "$$tardir" -print | cpio -o -H pax -L'
2901       am__tar_='find "$tardir" -print | cpio -o -H pax -L'
2902       am__untar='cpio -i -H pax -d'
2903       ;;
2904     none)
2905       am__tar=false
2906       am__tar_=false
2907       am__untar=false
2908       ;;
2909     esac
2910
2911     # If the value was cached, stop now.  We just wanted to have am__tar
2912     # and am__untar set.
2913     test -n "${am_cv_prog_tar_pax}" && break
2914
2915     # tar/untar a dummy directory, and stop if the command works.
2916     rm -rf conftest.dir
2917     mkdir conftest.dir
2918     echo GrepMe > conftest.dir/file
2919     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2920    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2921    ac_status=$?
2922    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2923    (exit $ac_status); }
2924     rm -rf conftest.dir
2925     if test -s conftest.tar; then
2926       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2927    ($am__untar <conftest.tar) >&5 2>&5
2928    ac_status=$?
2929    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2930    (exit $ac_status); }
2931       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
2932    (cat conftest.dir/file) >&5 2>&5
2933    ac_status=$?
2934    echo "$as_me:$LINENO: \$? = $ac_status" >&5
2935    (exit $ac_status); }
2936       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2937     fi
2938   done
2939   rm -rf conftest.dir
2940
2941   if ${am_cv_prog_tar_pax+:} false; then :
2942   $as_echo_n "(cached) " >&6
2943 else
2944   am_cv_prog_tar_pax=$_am_tool
2945 fi
2946
2947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
2948 $as_echo "$am_cv_prog_tar_pax" >&6; }
2949
2950
2951
2952
2953
2954
2955 # POSIX will say in a future version that running "rm -f" with no argument
2956 # is OK; and we want to be able to make that assumption in our Makefile
2957 # recipes.  So use an aggressive probe to check that the usage we want is
2958 # actually supported "in the wild" to an acceptable degree.
2959 # See automake bug#10828.
2960 # To make any issue more visible, cause the running configure to be aborted
2961 # by default if the 'rm' program in use doesn't match our expectations; the
2962 # user can still override this though.
2963 if rm -f && rm -fr && rm -rf; then : OK; else
2964   cat >&2 <<'END'
2965 Oops!
2966
2967 Your 'rm' program seems unable to run without file operands specified
2968 on the command line, even when the '-f' option is present.  This is contrary
2969 to the behaviour of most rm programs out there, and not conforming with
2970 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2971
2972 Please tell bug-automake@gnu.org about your system, including the value
2973 of your $PATH and any error possibly output before this message.  This
2974 can help us improve future automake versions.
2975
2976 END
2977   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2978     echo 'Configuration will proceed anyway, since you have set the' >&2
2979     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2980     echo >&2
2981   else
2982     cat >&2 <<'END'
2983 Aborting the configuration process, to ensure you take notice of the issue.
2984
2985 You can download and install GNU coreutils to get an 'rm' implementation
2986 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2987
2988 If you want to complete the configuration process using your problematic
2989 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2990 to "yes", and re-run configure.
2991
2992 END
2993     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2994   fi
2995 fi
2996
2997 # Check whether --enable-silent-rules was given.
2998 if test "${enable_silent_rules+set}" = set; then :
2999   enableval=$enable_silent_rules;
3000 fi
3001
3002 case $enable_silent_rules in # (((
3003   yes) AM_DEFAULT_VERBOSITY=0;;
3004    no) AM_DEFAULT_VERBOSITY=1;;
3005     *) AM_DEFAULT_VERBOSITY=0;;
3006 esac
3007 am_make=${MAKE-make}
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3009 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3010 if ${am_cv_make_support_nested_variables+:} false; then :
3011   $as_echo_n "(cached) " >&6
3012 else
3013   if $as_echo 'TRUE=$(BAR$(V))
3014 BAR0=false
3015 BAR1=true
3016 V=1
3017 am__doit:
3018         @$(TRUE)
3019 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3020   am_cv_make_support_nested_variables=yes
3021 else
3022   am_cv_make_support_nested_variables=no
3023 fi
3024 fi
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3026 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3027 if test $am_cv_make_support_nested_variables = yes; then
3028     AM_V='$(V)'
3029   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3030 else
3031   AM_V=$AM_DEFAULT_VERBOSITY
3032   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3033 fi
3034 AM_BACKSLASH='\'
3035
3036
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3038 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3039     # Check whether --enable-maintainer-mode was given.
3040 if test "${enable_maintainer_mode+set}" = set; then :
3041   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3042 else
3043   USE_MAINTAINER_MODE=yes
3044 fi
3045
3046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3047 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3048    if test $USE_MAINTAINER_MODE = yes; then
3049   MAINTAINER_MODE_TRUE=
3050   MAINTAINER_MODE_FALSE='#'
3051 else
3052   MAINTAINER_MODE_TRUE='#'
3053   MAINTAINER_MODE_FALSE=
3054 fi
3055
3056   MAINT=$MAINTAINER_MODE_TRUE
3057
3058
3059
3060
3061 case `pwd` in
3062   *\ * | *\     *)
3063     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3064 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3065 esac
3066
3067
3068
3069 macro_version='2.4.2'
3070 macro_revision='1.3337'
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084 ltmain="$ac_aux_dir/ltmain.sh"
3085
3086 # Make sure we can run config.sub.
3087 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3088   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3089
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3091 $as_echo_n "checking build system type... " >&6; }
3092 if ${ac_cv_build+:} false; then :
3093   $as_echo_n "(cached) " >&6
3094 else
3095   ac_build_alias=$build_alias
3096 test "x$ac_build_alias" = x &&
3097   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3098 test "x$ac_build_alias" = x &&
3099   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3100 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3101   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3102
3103 fi
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3105 $as_echo "$ac_cv_build" >&6; }
3106 case $ac_cv_build in
3107 *-*-*) ;;
3108 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3109 esac
3110 build=$ac_cv_build
3111 ac_save_IFS=$IFS; IFS='-'
3112 set x $ac_cv_build
3113 shift
3114 build_cpu=$1
3115 build_vendor=$2
3116 shift; shift
3117 # Remember, the first character of IFS is used to create $*,
3118 # except with old shells:
3119 build_os=$*
3120 IFS=$ac_save_IFS
3121 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3122
3123
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3125 $as_echo_n "checking host system type... " >&6; }
3126 if ${ac_cv_host+:} false; then :
3127   $as_echo_n "(cached) " >&6
3128 else
3129   if test "x$host_alias" = x; then
3130   ac_cv_host=$ac_cv_build
3131 else
3132   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3133     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3134 fi
3135
3136 fi
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3138 $as_echo "$ac_cv_host" >&6; }
3139 case $ac_cv_host in
3140 *-*-*) ;;
3141 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3142 esac
3143 host=$ac_cv_host
3144 ac_save_IFS=$IFS; IFS='-'
3145 set x $ac_cv_host
3146 shift
3147 host_cpu=$1
3148 host_vendor=$2
3149 shift; shift
3150 # Remember, the first character of IFS is used to create $*,
3151 # except with old shells:
3152 host_os=$*
3153 IFS=$ac_save_IFS
3154 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3155
3156
3157 # Backslashify metacharacters that are still active within
3158 # double-quoted strings.
3159 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3160
3161 # Same as above, but do not quote variable references.
3162 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3163
3164 # Sed substitution to delay expansion of an escaped shell variable in a
3165 # double_quote_subst'ed string.
3166 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3167
3168 # Sed substitution to delay expansion of an escaped single quote.
3169 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3170
3171 # Sed substitution to avoid accidental globbing in evaled expressions
3172 no_glob_subst='s/\*/\\\*/g'
3173
3174 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3175 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3176 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3177
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3179 $as_echo_n "checking how to print strings... " >&6; }
3180 # Test print first, because it will be a builtin if present.
3181 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3182    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3183   ECHO='print -r --'
3184 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3185   ECHO='printf %s\n'
3186 else
3187   # Use this function as a fallback that always works.
3188   func_fallback_echo ()
3189   {
3190     eval 'cat <<_LTECHO_EOF
3191 $1
3192 _LTECHO_EOF'
3193   }
3194   ECHO='func_fallback_echo'
3195 fi
3196
3197 # func_echo_all arg...
3198 # Invoke $ECHO with all args, space-separated.
3199 func_echo_all ()
3200 {
3201     $ECHO ""
3202 }
3203
3204 case "$ECHO" in
3205   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3206 $as_echo "printf" >&6; } ;;
3207   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3208 $as_echo "print -r" >&6; } ;;
3209   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3210 $as_echo "cat" >&6; } ;;
3211 esac
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226 DEPDIR="${am__leading_dot}deps"
3227
3228 ac_config_commands="$ac_config_commands depfiles"
3229
3230
3231 am_make=${MAKE-make}
3232 cat > confinc << 'END'
3233 am__doit:
3234         @echo this is the am__doit target
3235 .PHONY: am__doit
3236 END
3237 # If we don't find an include directive, just comment out the code.
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3239 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3240 am__include="#"
3241 am__quote=
3242 _am_result=none
3243 # First try GNU make style include.
3244 echo "include confinc" > confmf
3245 # Ignore all kinds of additional output from 'make'.
3246 case `$am_make -s -f confmf 2> /dev/null` in #(
3247 *the\ am__doit\ target*)
3248   am__include=include
3249   am__quote=
3250   _am_result=GNU
3251   ;;
3252 esac
3253 # Now try BSD make style include.
3254 if test "$am__include" = "#"; then
3255    echo '.include "confinc"' > confmf
3256    case `$am_make -s -f confmf 2> /dev/null` in #(
3257    *the\ am__doit\ target*)
3258      am__include=.include
3259      am__quote="\""
3260      _am_result=BSD
3261      ;;
3262    esac
3263 fi
3264
3265
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3267 $as_echo "$_am_result" >&6; }
3268 rm -f confinc confmf
3269
3270 # Check whether --enable-dependency-tracking was given.
3271 if test "${enable_dependency_tracking+set}" = set; then :
3272   enableval=$enable_dependency_tracking;
3273 fi
3274
3275 if test "x$enable_dependency_tracking" != xno; then
3276   am_depcomp="$ac_aux_dir/depcomp"
3277   AMDEPBACKSLASH='\'
3278   am__nodep='_no'
3279 fi
3280  if test "x$enable_dependency_tracking" != xno; then
3281   AMDEP_TRUE=
3282   AMDEP_FALSE='#'
3283 else
3284   AMDEP_TRUE='#'
3285   AMDEP_FALSE=
3286 fi
3287
3288
3289 ac_ext=c
3290 ac_cpp='$CPP $CPPFLAGS'
3291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3294 if test -n "$ac_tool_prefix"; then
3295   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3296 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3298 $as_echo_n "checking for $ac_word... " >&6; }
3299 if ${ac_cv_prog_CC+:} false; then :
3300   $as_echo_n "(cached) " >&6
3301 else
3302   if test -n "$CC"; then
3303   ac_cv_prog_CC="$CC" # Let the user override the test.
3304 else
3305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3306 for as_dir in $PATH
3307 do
3308   IFS=$as_save_IFS
3309   test -z "$as_dir" && as_dir=.
3310     for ac_exec_ext in '' $ac_executable_extensions; do
3311   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3312     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3313     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3314     break 2
3315   fi
3316 done
3317   done
3318 IFS=$as_save_IFS
3319
3320 fi
3321 fi
3322 CC=$ac_cv_prog_CC
3323 if test -n "$CC"; then
3324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3325 $as_echo "$CC" >&6; }
3326 else
3327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3328 $as_echo "no" >&6; }
3329 fi
3330
3331
3332 fi
3333 if test -z "$ac_cv_prog_CC"; then
3334   ac_ct_CC=$CC
3335   # Extract the first word of "gcc", so it can be a program name with args.
3336 set dummy gcc; ac_word=$2
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3338 $as_echo_n "checking for $ac_word... " >&6; }
3339 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3340   $as_echo_n "(cached) " >&6
3341 else
3342   if test -n "$ac_ct_CC"; then
3343   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3344 else
3345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3346 for as_dir in $PATH
3347 do
3348   IFS=$as_save_IFS
3349   test -z "$as_dir" && as_dir=.
3350     for ac_exec_ext in '' $ac_executable_extensions; do
3351   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3352     ac_cv_prog_ac_ct_CC="gcc"
3353     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3354     break 2
3355   fi
3356 done
3357   done
3358 IFS=$as_save_IFS
3359
3360 fi
3361 fi
3362 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3363 if test -n "$ac_ct_CC"; then
3364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3365 $as_echo "$ac_ct_CC" >&6; }
3366 else
3367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3368 $as_echo "no" >&6; }
3369 fi
3370
3371   if test "x$ac_ct_CC" = x; then
3372     CC=""
3373   else
3374     case $cross_compiling:$ac_tool_warned in
3375 yes:)
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3377 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3378 ac_tool_warned=yes ;;
3379 esac
3380     CC=$ac_ct_CC
3381   fi
3382 else
3383   CC="$ac_cv_prog_CC"
3384 fi
3385
3386 if test -z "$CC"; then
3387           if test -n "$ac_tool_prefix"; then
3388     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3389 set dummy ${ac_tool_prefix}cc; ac_word=$2
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3391 $as_echo_n "checking for $ac_word... " >&6; }
3392 if ${ac_cv_prog_CC+:} false; then :
3393   $as_echo_n "(cached) " >&6
3394 else
3395   if test -n "$CC"; then
3396   ac_cv_prog_CC="$CC" # Let the user override the test.
3397 else
3398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3399 for as_dir in $PATH
3400 do
3401   IFS=$as_save_IFS
3402   test -z "$as_dir" && as_dir=.
3403     for ac_exec_ext in '' $ac_executable_extensions; do
3404   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3405     ac_cv_prog_CC="${ac_tool_prefix}cc"
3406     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3407     break 2
3408   fi
3409 done
3410   done
3411 IFS=$as_save_IFS
3412
3413 fi
3414 fi
3415 CC=$ac_cv_prog_CC
3416 if test -n "$CC"; then
3417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3418 $as_echo "$CC" >&6; }
3419 else
3420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3421 $as_echo "no" >&6; }
3422 fi
3423
3424
3425   fi
3426 fi
3427 if test -z "$CC"; then
3428   # Extract the first word of "cc", so it can be a program name with args.
3429 set dummy cc; ac_word=$2
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3431 $as_echo_n "checking for $ac_word... " >&6; }
3432 if ${ac_cv_prog_CC+:} false; then :
3433   $as_echo_n "(cached) " >&6
3434 else
3435   if test -n "$CC"; then
3436   ac_cv_prog_CC="$CC" # Let the user override the test.
3437 else
3438   ac_prog_rejected=no
3439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3440 for as_dir in $PATH
3441 do
3442   IFS=$as_save_IFS
3443   test -z "$as_dir" && as_dir=.
3444     for ac_exec_ext in '' $ac_executable_extensions; do
3445   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3446     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3447        ac_prog_rejected=yes
3448        continue
3449      fi
3450     ac_cv_prog_CC="cc"
3451     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3452     break 2
3453   fi
3454 done
3455   done
3456 IFS=$as_save_IFS
3457
3458 if test $ac_prog_rejected = yes; then
3459   # We found a bogon in the path, so make sure we never use it.
3460   set dummy $ac_cv_prog_CC
3461   shift
3462   if test $# != 0; then
3463     # We chose a different compiler from the bogus one.
3464     # However, it has the same basename, so the bogon will be chosen
3465     # first if we set CC to just the basename; use the full file name.
3466     shift
3467     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3468   fi
3469 fi
3470 fi
3471 fi
3472 CC=$ac_cv_prog_CC
3473 if test -n "$CC"; then
3474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3475 $as_echo "$CC" >&6; }
3476 else
3477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3478 $as_echo "no" >&6; }
3479 fi
3480
3481
3482 fi
3483 if test -z "$CC"; then
3484   if test -n "$ac_tool_prefix"; then
3485   for ac_prog in cl.exe
3486   do
3487     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3488 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3490 $as_echo_n "checking for $ac_word... " >&6; }
3491 if ${ac_cv_prog_CC+:} false; then :
3492   $as_echo_n "(cached) " >&6
3493 else
3494   if test -n "$CC"; then
3495   ac_cv_prog_CC="$CC" # Let the user override the test.
3496 else
3497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3498 for as_dir in $PATH
3499 do
3500   IFS=$as_save_IFS
3501   test -z "$as_dir" && as_dir=.
3502     for ac_exec_ext in '' $ac_executable_extensions; do
3503   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3504     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3505     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3506     break 2
3507   fi
3508 done
3509   done
3510 IFS=$as_save_IFS
3511
3512 fi
3513 fi
3514 CC=$ac_cv_prog_CC
3515 if test -n "$CC"; then
3516   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3517 $as_echo "$CC" >&6; }
3518 else
3519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3520 $as_echo "no" >&6; }
3521 fi
3522
3523
3524     test -n "$CC" && break
3525   done
3526 fi
3527 if test -z "$CC"; then
3528   ac_ct_CC=$CC
3529   for ac_prog in cl.exe
3530 do
3531   # Extract the first word of "$ac_prog", so it can be a program name with args.
3532 set dummy $ac_prog; ac_word=$2
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3534 $as_echo_n "checking for $ac_word... " >&6; }
3535 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3536   $as_echo_n "(cached) " >&6
3537 else
3538   if test -n "$ac_ct_CC"; then
3539   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3540 else
3541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3542 for as_dir in $PATH
3543 do
3544   IFS=$as_save_IFS
3545   test -z "$as_dir" && as_dir=.
3546     for ac_exec_ext in '' $ac_executable_extensions; do
3547   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3548     ac_cv_prog_ac_ct_CC="$ac_prog"
3549     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3550     break 2
3551   fi
3552 done
3553   done
3554 IFS=$as_save_IFS
3555
3556 fi
3557 fi
3558 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3559 if test -n "$ac_ct_CC"; then
3560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3561 $as_echo "$ac_ct_CC" >&6; }
3562 else
3563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3564 $as_echo "no" >&6; }
3565 fi
3566
3567
3568   test -n "$ac_ct_CC" && break
3569 done
3570
3571   if test "x$ac_ct_CC" = x; then
3572     CC=""
3573   else
3574     case $cross_compiling:$ac_tool_warned in
3575 yes:)
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3577 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3578 ac_tool_warned=yes ;;
3579 esac
3580     CC=$ac_ct_CC
3581   fi
3582 fi
3583
3584 fi
3585
3586
3587 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3588 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3589 as_fn_error $? "no acceptable C compiler found in \$PATH
3590 See \`config.log' for more details" "$LINENO" 5; }
3591
3592 # Provide some information about the compiler.
3593 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3594 set X $ac_compile
3595 ac_compiler=$2
3596 for ac_option in --version -v -V -qversion; do
3597   { { ac_try="$ac_compiler $ac_option >&5"
3598 case "(($ac_try" in
3599   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3600   *) ac_try_echo=$ac_try;;
3601 esac
3602 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3603 $as_echo "$ac_try_echo"; } >&5
3604   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3605   ac_status=$?
3606   if test -s conftest.err; then
3607     sed '10a\
3608 ... rest of stderr output deleted ...
3609          10q' conftest.err >conftest.er1
3610     cat conftest.er1 >&5
3611   fi
3612   rm -f conftest.er1 conftest.err
3613   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3614   test $ac_status = 0; }
3615 done
3616
3617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3618 /* end confdefs.h.  */
3619
3620 int
3621 main ()
3622 {
3623
3624   ;
3625   return 0;
3626 }
3627 _ACEOF
3628 ac_clean_files_save=$ac_clean_files
3629 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3630 # Try to create an executable without -o first, disregard a.out.
3631 # It will help us diagnose broken compilers, and finding out an intuition
3632 # of exeext.
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3634 $as_echo_n "checking whether the C compiler works... " >&6; }
3635 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3636
3637 # The possible output files:
3638 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3639
3640 ac_rmfiles=
3641 for ac_file in $ac_files
3642 do
3643   case $ac_file in
3644     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3645     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3646   esac
3647 done
3648 rm -f $ac_rmfiles
3649
3650 if { { ac_try="$ac_link_default"
3651 case "(($ac_try" in
3652   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3653   *) ac_try_echo=$ac_try;;
3654 esac
3655 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3656 $as_echo "$ac_try_echo"; } >&5
3657   (eval "$ac_link_default") 2>&5
3658   ac_status=$?
3659   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3660   test $ac_status = 0; }; then :
3661   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3662 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3663 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3664 # so that the user can short-circuit this test for compilers unknown to
3665 # Autoconf.
3666 for ac_file in $ac_files ''
3667 do
3668   test -f "$ac_file" || continue
3669   case $ac_file in
3670     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3671         ;;
3672     [ab].out )
3673         # We found the default executable, but exeext='' is most
3674         # certainly right.
3675         break;;
3676     *.* )
3677         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3678         then :; else
3679            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3680         fi
3681         # We set ac_cv_exeext here because the later test for it is not
3682         # safe: cross compilers may not add the suffix if given an `-o'
3683         # argument, so we may need to know it at that point already.
3684         # Even if this section looks crufty: it has the advantage of
3685         # actually working.
3686         break;;
3687     * )
3688         break;;
3689   esac
3690 done
3691 test "$ac_cv_exeext" = no && ac_cv_exeext=
3692
3693 else
3694   ac_file=''
3695 fi
3696 if test -z "$ac_file"; then :
3697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3698 $as_echo "no" >&6; }
3699 $as_echo "$as_me: failed program was:" >&5
3700 sed 's/^/| /' conftest.$ac_ext >&5
3701
3702 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3703 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3704 as_fn_error 77 "C compiler cannot create executables
3705 See \`config.log' for more details" "$LINENO" 5; }
3706 else
3707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3708 $as_echo "yes" >&6; }
3709 fi
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3711 $as_echo_n "checking for C compiler default output file name... " >&6; }
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3713 $as_echo "$ac_file" >&6; }
3714 ac_exeext=$ac_cv_exeext
3715
3716 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3717 ac_clean_files=$ac_clean_files_save
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3719 $as_echo_n "checking for suffix of executables... " >&6; }
3720 if { { ac_try="$ac_link"
3721 case "(($ac_try" in
3722   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3723   *) ac_try_echo=$ac_try;;
3724 esac
3725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3726 $as_echo "$ac_try_echo"; } >&5
3727   (eval "$ac_link") 2>&5
3728   ac_status=$?
3729   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3730   test $ac_status = 0; }; then :
3731   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3732 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3733 # work properly (i.e., refer to `conftest.exe'), while it won't with
3734 # `rm'.
3735 for ac_file in conftest.exe conftest conftest.*; do
3736   test -f "$ac_file" || continue
3737   case $ac_file in
3738     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3739     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3740           break;;
3741     * ) break;;
3742   esac
3743 done
3744 else
3745   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3746 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3747 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3748 See \`config.log' for more details" "$LINENO" 5; }
3749 fi
3750 rm -f conftest conftest$ac_cv_exeext
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3752 $as_echo "$ac_cv_exeext" >&6; }
3753
3754 rm -f conftest.$ac_ext
3755 EXEEXT=$ac_cv_exeext
3756 ac_exeext=$EXEEXT
3757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3758 /* end confdefs.h.  */
3759 #include <stdio.h>
3760 int
3761 main ()
3762 {
3763 FILE *f = fopen ("conftest.out", "w");
3764  return ferror (f) || fclose (f) != 0;
3765
3766   ;
3767   return 0;
3768 }
3769 _ACEOF
3770 ac_clean_files="$ac_clean_files conftest.out"
3771 # Check that the compiler produces executables we can run.  If not, either
3772 # the compiler is broken, or we cross compile.
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3774 $as_echo_n "checking whether we are cross compiling... " >&6; }
3775 if test "$cross_compiling" != yes; then
3776   { { ac_try="$ac_link"
3777 case "(($ac_try" in
3778   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3779   *) ac_try_echo=$ac_try;;
3780 esac
3781 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3782 $as_echo "$ac_try_echo"; } >&5
3783   (eval "$ac_link") 2>&5
3784   ac_status=$?
3785   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3786   test $ac_status = 0; }
3787   if { ac_try='./conftest$ac_cv_exeext'
3788   { { case "(($ac_try" in
3789   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3790   *) ac_try_echo=$ac_try;;
3791 esac
3792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3793 $as_echo "$ac_try_echo"; } >&5
3794   (eval "$ac_try") 2>&5
3795   ac_status=$?
3796   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3797   test $ac_status = 0; }; }; then
3798     cross_compiling=no
3799   else
3800     if test "$cross_compiling" = maybe; then
3801         cross_compiling=yes
3802     else
3803         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3804 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3805 as_fn_error $? "cannot run C compiled programs.
3806 If you meant to cross compile, use \`--host'.
3807 See \`config.log' for more details" "$LINENO" 5; }
3808     fi
3809   fi
3810 fi
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3812 $as_echo "$cross_compiling" >&6; }
3813
3814 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3815 ac_clean_files=$ac_clean_files_save
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3817 $as_echo_n "checking for suffix of object files... " >&6; }
3818 if ${ac_cv_objext+:} false; then :
3819   $as_echo_n "(cached) " >&6
3820 else
3821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3822 /* end confdefs.h.  */
3823
3824 int
3825 main ()
3826 {
3827
3828   ;
3829   return 0;
3830 }
3831 _ACEOF
3832 rm -f conftest.o conftest.obj
3833 if { { ac_try="$ac_compile"
3834 case "(($ac_try" in
3835   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3836   *) ac_try_echo=$ac_try;;
3837 esac
3838 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3839 $as_echo "$ac_try_echo"; } >&5
3840   (eval "$ac_compile") 2>&5
3841   ac_status=$?
3842   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3843   test $ac_status = 0; }; then :
3844   for ac_file in conftest.o conftest.obj conftest.*; do
3845   test -f "$ac_file" || continue;
3846   case $ac_file in
3847     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3848     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3849        break;;
3850   esac
3851 done
3852 else
3853   $as_echo "$as_me: failed program was:" >&5
3854 sed 's/^/| /' conftest.$ac_ext >&5
3855
3856 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3858 as_fn_error $? "cannot compute suffix of object files: cannot compile
3859 See \`config.log' for more details" "$LINENO" 5; }
3860 fi
3861 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3862 fi
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3864 $as_echo "$ac_cv_objext" >&6; }
3865 OBJEXT=$ac_cv_objext
3866 ac_objext=$OBJEXT
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3868 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3869 if ${ac_cv_c_compiler_gnu+:} false; then :
3870   $as_echo_n "(cached) " >&6
3871 else
3872   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3873 /* end confdefs.h.  */
3874
3875 int
3876 main ()
3877 {
3878 #ifndef __GNUC__
3879        choke me
3880 #endif
3881
3882   ;
3883   return 0;
3884 }
3885 _ACEOF
3886 if ac_fn_c_try_compile "$LINENO"; then :
3887   ac_compiler_gnu=yes
3888 else
3889   ac_compiler_gnu=no
3890 fi
3891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3892 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3893
3894 fi
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3896 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3897 if test $ac_compiler_gnu = yes; then
3898   GCC=yes
3899 else
3900   GCC=
3901 fi
3902 ac_test_CFLAGS=${CFLAGS+set}
3903 ac_save_CFLAGS=$CFLAGS
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3905 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3906 if ${ac_cv_prog_cc_g+:} false; then :
3907   $as_echo_n "(cached) " >&6
3908 else
3909   ac_save_c_werror_flag=$ac_c_werror_flag
3910    ac_c_werror_flag=yes
3911    ac_cv_prog_cc_g=no
3912    CFLAGS="-g"
3913    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3914 /* end confdefs.h.  */
3915
3916 int
3917 main ()
3918 {
3919
3920   ;
3921   return 0;
3922 }
3923 _ACEOF
3924 if ac_fn_c_try_compile "$LINENO"; then :
3925   ac_cv_prog_cc_g=yes
3926 else
3927   CFLAGS=""
3928       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3929 /* end confdefs.h.  */
3930
3931 int
3932 main ()
3933 {
3934
3935   ;
3936   return 0;
3937 }
3938 _ACEOF
3939 if ac_fn_c_try_compile "$LINENO"; then :
3940
3941 else
3942   ac_c_werror_flag=$ac_save_c_werror_flag
3943          CFLAGS="-g"
3944          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3945 /* end confdefs.h.  */
3946
3947 int
3948 main ()
3949 {
3950
3951   ;
3952   return 0;
3953 }
3954 _ACEOF
3955 if ac_fn_c_try_compile "$LINENO"; then :
3956   ac_cv_prog_cc_g=yes
3957 fi
3958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3959 fi
3960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3961 fi
3962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3963    ac_c_werror_flag=$ac_save_c_werror_flag
3964 fi
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3966 $as_echo "$ac_cv_prog_cc_g" >&6; }
3967 if test "$ac_test_CFLAGS" = set; then
3968   CFLAGS=$ac_save_CFLAGS
3969 elif test $ac_cv_prog_cc_g = yes; then
3970   if test "$GCC" = yes; then
3971     CFLAGS="-g -O2"
3972   else
3973     CFLAGS="-g"
3974   fi
3975 else
3976   if test "$GCC" = yes; then
3977     CFLAGS="-O2"
3978   else
3979     CFLAGS=
3980   fi
3981 fi
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3983 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3984 if ${ac_cv_prog_cc_c89+:} false; then :
3985   $as_echo_n "(cached) " >&6
3986 else
3987   ac_cv_prog_cc_c89=no
3988 ac_save_CC=$CC
3989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3990 /* end confdefs.h.  */
3991 #include <stdarg.h>
3992 #include <stdio.h>
3993 struct stat;
3994 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3995 struct buf { int x; };
3996 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3997 static char *e (p, i)
3998      char **p;
3999      int i;
4000 {
4001   return p[i];
4002 }
4003 static char *f (char * (*g) (char **, int), char **p, ...)
4004 {
4005   char *s;
4006   va_list v;
4007   va_start (v,p);
4008   s = g (p, va_arg (v,int));
4009   va_end (v);
4010   return s;
4011 }
4012
4013 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4014    function prototypes and stuff, but not '\xHH' hex character constants.
4015    These don't provoke an error unfortunately, instead are silently treated
4016    as 'x'.  The following induces an error, until -std is added to get
4017    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4018    array size at least.  It's necessary to write '\x00'==0 to get something
4019    that's true only with -std.  */
4020 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4021
4022 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4023    inside strings and character constants.  */
4024 #define FOO(x) 'x'
4025 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4026
4027 int test (int i, double x);
4028 struct s1 {int (*f) (int a);};
4029 struct s2 {int (*f) (double a);};
4030 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4031 int argc;
4032 char **argv;
4033 int
4034 main ()
4035 {
4036 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4037   ;
4038   return 0;
4039 }
4040 _ACEOF
4041 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4042         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4043 do
4044   CC="$ac_save_CC $ac_arg"
4045   if ac_fn_c_try_compile "$LINENO"; then :
4046   ac_cv_prog_cc_c89=$ac_arg
4047 fi
4048 rm -f core conftest.err conftest.$ac_objext
4049   test "x$ac_cv_prog_cc_c89" != "xno" && break
4050 done
4051 rm -f conftest.$ac_ext
4052 CC=$ac_save_CC
4053
4054 fi
4055 # AC_CACHE_VAL
4056 case "x$ac_cv_prog_cc_c89" in
4057   x)
4058     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4059 $as_echo "none needed" >&6; } ;;
4060   xno)
4061     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4062 $as_echo "unsupported" >&6; } ;;
4063   *)
4064     CC="$CC $ac_cv_prog_cc_c89"
4065     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4066 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4067 esac
4068 if test "x$ac_cv_prog_cc_c89" != xno; then :
4069
4070 fi
4071
4072 ac_ext=c
4073 ac_cpp='$CPP $CPPFLAGS'
4074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4077
4078 ac_ext=c
4079 ac_cpp='$CPP $CPPFLAGS'
4080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4084 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4085 if ${am_cv_prog_cc_c_o+:} false; then :
4086   $as_echo_n "(cached) " >&6
4087 else
4088   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4089 /* end confdefs.h.  */
4090
4091 int
4092 main ()
4093 {
4094
4095   ;
4096   return 0;
4097 }
4098 _ACEOF
4099   # Make sure it works both with $CC and with simple cc.
4100   # Following AC_PROG_CC_C_O, we do the test twice because some
4101   # compilers refuse to overwrite an existing .o file with -o,
4102   # though they will create one.
4103   am_cv_prog_cc_c_o=yes
4104   for am_i in 1 2; do
4105     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4106    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4107    ac_status=$?
4108    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4109    (exit $ac_status); } \
4110          && test -f conftest2.$ac_objext; then
4111       : OK
4112     else
4113       am_cv_prog_cc_c_o=no
4114       break
4115     fi
4116   done
4117   rm -f core conftest*
4118   unset am_i
4119 fi
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4121 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4122 if test "$am_cv_prog_cc_c_o" != yes; then
4123    # Losing compiler, so override with the script.
4124    # FIXME: It is wrong to rewrite CC.
4125    # But if we don't then we get into trouble of one sort or another.
4126    # A longer-term fix would be to have automake use am__CC in this case,
4127    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4128    CC="$am_aux_dir/compile $CC"
4129 fi
4130 ac_ext=c
4131 ac_cpp='$CPP $CPPFLAGS'
4132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4135
4136
4137 depcc="$CC"   am_compiler_list=
4138
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4140 $as_echo_n "checking dependency style of $depcc... " >&6; }
4141 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4142   $as_echo_n "(cached) " >&6
4143 else
4144   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4145   # We make a subdir and do the tests there.  Otherwise we can end up
4146   # making bogus files that we don't know about and never remove.  For
4147   # instance it was reported that on HP-UX the gcc test will end up
4148   # making a dummy file named 'D' -- because '-MD' means "put the output
4149   # in D".
4150   rm -rf conftest.dir
4151   mkdir conftest.dir
4152   # Copy depcomp to subdir because otherwise we won't find it if we're
4153   # using a relative directory.
4154   cp "$am_depcomp" conftest.dir
4155   cd conftest.dir
4156   # We will build objects and dependencies in a subdirectory because
4157   # it helps to detect inapplicable dependency modes.  For instance
4158   # both Tru64's cc and ICC support -MD to output dependencies as a
4159   # side effect of compilation, but ICC will put the dependencies in
4160   # the current directory while Tru64 will put them in the object
4161   # directory.
4162   mkdir sub
4163
4164   am_cv_CC_dependencies_compiler_type=none
4165   if test "$am_compiler_list" = ""; then
4166      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4167   fi
4168   am__universal=false
4169   case " $depcc " in #(
4170      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4171      esac
4172
4173   for depmode in $am_compiler_list; do
4174     # Setup a source with many dependencies, because some compilers
4175     # like to wrap large dependency lists on column 80 (with \), and
4176     # we should not choose a depcomp mode which is confused by this.
4177     #
4178     # We need to recreate these files for each test, as the compiler may
4179     # overwrite some of them when testing with obscure command lines.
4180     # This happens at least with the AIX C compiler.
4181     : > sub/conftest.c
4182     for i in 1 2 3 4 5 6; do
4183       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4184       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4185       # Solaris 10 /bin/sh.
4186       echo '/* dummy */' > sub/conftst$i.h
4187     done
4188     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4189
4190     # We check with '-c' and '-o' for the sake of the "dashmstdout"
4191     # mode.  It turns out that the SunPro C++ compiler does not properly
4192     # handle '-M -o', and we need to detect this.  Also, some Intel
4193     # versions had trouble with output in subdirs.
4194     am__obj=sub/conftest.${OBJEXT-o}
4195     am__minus_obj="-o $am__obj"
4196     case $depmode in
4197     gcc)
4198       # This depmode causes a compiler race in universal mode.
4199       test "$am__universal" = false || continue
4200       ;;
4201     nosideeffect)
4202       # After this tag, mechanisms are not by side-effect, so they'll
4203       # only be used when explicitly requested.
4204       if test "x$enable_dependency_tracking" = xyes; then
4205         continue
4206       else
4207         break
4208       fi
4209       ;;
4210     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4211       # This compiler won't grok '-c -o', but also, the minuso test has
4212       # not run yet.  These depmodes are late enough in the game, and
4213       # so weak that their functioning should not be impacted.
4214       am__obj=conftest.${OBJEXT-o}
4215       am__minus_obj=
4216       ;;
4217     none) break ;;
4218     esac
4219     if depmode=$depmode \
4220        source=sub/conftest.c object=$am__obj \
4221        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4222        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4223          >/dev/null 2>conftest.err &&
4224        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4225        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4226        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4227        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4228       # icc doesn't choke on unknown options, it will just issue warnings
4229       # or remarks (even with -Werror).  So we grep stderr for any message
4230       # that says an option was ignored or not supported.
4231       # When given -MP, icc 7.0 and 7.1 complain thusly:
4232       #   icc: Command line warning: ignoring option '-M'; no argument required
4233       # The diagnosis changed in icc 8.0:
4234       #   icc: Command line remark: option '-MP' not supported
4235       if (grep 'ignoring option' conftest.err ||
4236           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4237         am_cv_CC_dependencies_compiler_type=$depmode
4238         break
4239       fi
4240     fi
4241   done
4242
4243   cd ..
4244   rm -rf conftest.dir
4245 else
4246   am_cv_CC_dependencies_compiler_type=none
4247 fi
4248
4249 fi
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4251 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4252 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4253
4254  if
4255   test "x$enable_dependency_tracking" != xno \
4256   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4257   am__fastdepCC_TRUE=
4258   am__fastdepCC_FALSE='#'
4259 else
4260   am__fastdepCC_TRUE='#'
4261   am__fastdepCC_FALSE=
4262 fi
4263
4264
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4266 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4267 if ${ac_cv_path_SED+:} false; then :
4268   $as_echo_n "(cached) " >&6
4269 else
4270             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4271      for ac_i in 1 2 3 4 5 6 7; do
4272        ac_script="$ac_script$as_nl$ac_script"
4273      done
4274      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4275      { ac_script=; unset ac_script;}
4276      if test -z "$SED"; then
4277   ac_path_SED_found=false
4278   # Loop through the user's path and test for each of PROGNAME-LIST
4279   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4280 for as_dir in $PATH
4281 do
4282   IFS=$as_save_IFS
4283   test -z "$as_dir" && as_dir=.
4284     for ac_prog in sed gsed; do
4285     for ac_exec_ext in '' $ac_executable_extensions; do
4286       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4287       as_fn_executable_p "$ac_path_SED" || continue
4288 # Check for GNU ac_path_SED and select it if it is found.
4289   # Check for GNU $ac_path_SED
4290 case `"$ac_path_SED" --version 2>&1` in
4291 *GNU*)
4292   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4293 *)
4294   ac_count=0
4295   $as_echo_n 0123456789 >"conftest.in"
4296   while :
4297   do
4298     cat "conftest.in" "conftest.in" >"conftest.tmp"
4299     mv "conftest.tmp" "conftest.in"
4300     cp "conftest.in" "conftest.nl"
4301     $as_echo '' >> "conftest.nl"
4302     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4303     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4304     as_fn_arith $ac_count + 1 && ac_count=$as_val
4305     if test $ac_count -gt ${ac_path_SED_max-0}; then
4306       # Best one so far, save it but keep looking for a better one
4307       ac_cv_path_SED="$ac_path_SED"
4308       ac_path_SED_max=$ac_count
4309     fi
4310     # 10*(2^10) chars as input seems more than enough
4311     test $ac_count -gt 10 && break
4312   done
4313   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4314 esac
4315
4316       $ac_path_SED_found && break 3
4317     done
4318   done
4319   done
4320 IFS=$as_save_IFS
4321   if test -z "$ac_cv_path_SED"; then
4322     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4323   fi
4324 else
4325   ac_cv_path_SED=$SED
4326 fi
4327
4328 fi
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4330 $as_echo "$ac_cv_path_SED" >&6; }
4331  SED="$ac_cv_path_SED"
4332   rm -f conftest.sed
4333
4334 test -z "$SED" && SED=sed
4335 Xsed="$SED -e 1s/^X//"
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4348 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4349 if ${ac_cv_path_GREP+:} false; then :
4350   $as_echo_n "(cached) " >&6
4351 else
4352   if test -z "$GREP"; then
4353   ac_path_GREP_found=false
4354   # Loop through the user's path and test for each of PROGNAME-LIST
4355   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4356 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4357 do
4358   IFS=$as_save_IFS
4359   test -z "$as_dir" && as_dir=.
4360     for ac_prog in grep ggrep; do
4361     for ac_exec_ext in '' $ac_executable_extensions; do
4362       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4363       as_fn_executable_p "$ac_path_GREP" || continue
4364 # Check for GNU ac_path_GREP and select it if it is found.
4365   # Check for GNU $ac_path_GREP
4366 case `"$ac_path_GREP" --version 2>&1` in
4367 *GNU*)
4368   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4369 *)
4370   ac_count=0
4371   $as_echo_n 0123456789 >"conftest.in"
4372   while :
4373   do
4374     cat "conftest.in" "conftest.in" >"conftest.tmp"
4375     mv "conftest.tmp" "conftest.in"
4376     cp "conftest.in" "conftest.nl"
4377     $as_echo 'GREP' >> "conftest.nl"
4378     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4379     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4380     as_fn_arith $ac_count + 1 && ac_count=$as_val
4381     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4382       # Best one so far, save it but keep looking for a better one
4383       ac_cv_path_GREP="$ac_path_GREP"
4384       ac_path_GREP_max=$ac_count
4385     fi
4386     # 10*(2^10) chars as input seems more than enough
4387     test $ac_count -gt 10 && break
4388   done
4389   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4390 esac
4391
4392       $ac_path_GREP_found && break 3
4393     done
4394   done
4395   done
4396 IFS=$as_save_IFS
4397   if test -z "$ac_cv_path_GREP"; then
4398     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4399   fi
4400 else
4401   ac_cv_path_GREP=$GREP
4402 fi
4403
4404 fi
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4406 $as_echo "$ac_cv_path_GREP" >&6; }
4407  GREP="$ac_cv_path_GREP"
4408
4409
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4411 $as_echo_n "checking for egrep... " >&6; }
4412 if ${ac_cv_path_EGREP+:} false; then :
4413   $as_echo_n "(cached) " >&6
4414 else
4415   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4416    then ac_cv_path_EGREP="$GREP -E"
4417    else
4418      if test -z "$EGREP"; then
4419   ac_path_EGREP_found=false
4420   # Loop through the user's path and test for each of PROGNAME-LIST
4421   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4422 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4423 do
4424   IFS=$as_save_IFS
4425   test -z "$as_dir" && as_dir=.
4426     for ac_prog in egrep; do
4427     for ac_exec_ext in '' $ac_executable_extensions; do
4428       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4429       as_fn_executable_p "$ac_path_EGREP" || continue
4430 # Check for GNU ac_path_EGREP and select it if it is found.
4431   # Check for GNU $ac_path_EGREP
4432 case `"$ac_path_EGREP" --version 2>&1` in
4433 *GNU*)
4434   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4435 *)
4436   ac_count=0
4437   $as_echo_n 0123456789 >"conftest.in"
4438   while :
4439   do
4440     cat "conftest.in" "conftest.in" >"conftest.tmp"
4441     mv "conftest.tmp" "conftest.in"
4442     cp "conftest.in" "conftest.nl"
4443     $as_echo 'EGREP' >> "conftest.nl"
4444     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4445     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4446     as_fn_arith $ac_count + 1 && ac_count=$as_val
4447     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4448       # Best one so far, save it but keep looking for a better one
4449       ac_cv_path_EGREP="$ac_path_EGREP"
4450       ac_path_EGREP_max=$ac_count
4451     fi
4452     # 10*(2^10) chars as input seems more than enough
4453     test $ac_count -gt 10 && break
4454   done
4455   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4456 esac
4457
4458       $ac_path_EGREP_found && break 3
4459     done
4460   done
4461   done
4462 IFS=$as_save_IFS
4463   if test -z "$ac_cv_path_EGREP"; then
4464     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4465   fi
4466 else
4467   ac_cv_path_EGREP=$EGREP
4468 fi
4469
4470    fi
4471 fi
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4473 $as_echo "$ac_cv_path_EGREP" >&6; }
4474  EGREP="$ac_cv_path_EGREP"
4475
4476
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4478 $as_echo_n "checking for fgrep... " >&6; }
4479 if ${ac_cv_path_FGREP+:} false; then :
4480   $as_echo_n "(cached) " >&6
4481 else
4482   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4483    then ac_cv_path_FGREP="$GREP -F"
4484    else
4485      if test -z "$FGREP"; then
4486   ac_path_FGREP_found=false
4487   # Loop through the user's path and test for each of PROGNAME-LIST
4488   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4489 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4490 do
4491   IFS=$as_save_IFS
4492   test -z "$as_dir" && as_dir=.
4493     for ac_prog in fgrep; do
4494     for ac_exec_ext in '' $ac_executable_extensions; do
4495       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4496       as_fn_executable_p "$ac_path_FGREP" || continue
4497 # Check for GNU ac_path_FGREP and select it if it is found.
4498   # Check for GNU $ac_path_FGREP
4499 case `"$ac_path_FGREP" --version 2>&1` in
4500 *GNU*)
4501   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4502 *)
4503   ac_count=0
4504   $as_echo_n 0123456789 >"conftest.in"
4505   while :
4506   do
4507     cat "conftest.in" "conftest.in" >"conftest.tmp"
4508     mv "conftest.tmp" "conftest.in"
4509     cp "conftest.in" "conftest.nl"
4510     $as_echo 'FGREP' >> "conftest.nl"
4511     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4512     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4513     as_fn_arith $ac_count + 1 && ac_count=$as_val
4514     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4515       # Best one so far, save it but keep looking for a better one
4516       ac_cv_path_FGREP="$ac_path_FGREP"
4517       ac_path_FGREP_max=$ac_count
4518     fi
4519     # 10*(2^10) chars as input seems more than enough
4520     test $ac_count -gt 10 && break
4521   done
4522   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4523 esac
4524
4525       $ac_path_FGREP_found && break 3
4526     done
4527   done
4528   done
4529 IFS=$as_save_IFS
4530   if test -z "$ac_cv_path_FGREP"; then
4531     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4532   fi
4533 else
4534   ac_cv_path_FGREP=$FGREP
4535 fi
4536
4537    fi
4538 fi
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4540 $as_echo "$ac_cv_path_FGREP" >&6; }
4541  FGREP="$ac_cv_path_FGREP"
4542
4543
4544 test -z "$GREP" && GREP=grep
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564 # Check whether --with-gnu-ld was given.
4565 if test "${with_gnu_ld+set}" = set; then :
4566   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4567 else
4568   with_gnu_ld=no
4569 fi
4570
4571 ac_prog=ld
4572 if test "$GCC" = yes; then
4573   # Check if gcc -print-prog-name=ld gives a path.
4574   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4575 $as_echo_n "checking for ld used by $CC... " >&6; }
4576   case $host in
4577   *-*-mingw*)
4578     # gcc leaves a trailing carriage return which upsets mingw
4579     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4580   *)
4581     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4582   esac
4583   case $ac_prog in
4584     # Accept absolute paths.
4585     [\\/]* | ?:[\\/]*)
4586       re_direlt='/[^/][^/]*/\.\./'
4587       # Canonicalize the pathname of ld
4588       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4589       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4590         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4591       done
4592       test -z "$LD" && LD="$ac_prog"
4593       ;;
4594   "")
4595     # If it fails, then pretend we aren't using GCC.
4596     ac_prog=ld
4597     ;;
4598   *)
4599     # If it is relative, then search for the first ld in PATH.
4600     with_gnu_ld=unknown
4601     ;;
4602   esac
4603 elif test "$with_gnu_ld" = yes; then
4604   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4605 $as_echo_n "checking for GNU ld... " >&6; }
4606 else
4607   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4608 $as_echo_n "checking for non-GNU ld... " >&6; }
4609 fi
4610 if ${lt_cv_path_LD+:} false; then :
4611   $as_echo_n "(cached) " >&6
4612 else
4613   if test -z "$LD"; then
4614   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4615   for ac_dir in $PATH; do
4616     IFS="$lt_save_ifs"
4617     test -z "$ac_dir" && ac_dir=.
4618     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4619       lt_cv_path_LD="$ac_dir/$ac_prog"
4620       # Check to see if the program is GNU ld.  I'd rather use --version,
4621       # but apparently some variants of GNU ld only accept -v.
4622       # Break only if it was the GNU/non-GNU ld that we prefer.
4623       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4624       *GNU* | *'with BFD'*)
4625         test "$with_gnu_ld" != no && break
4626         ;;
4627       *)
4628         test "$with_gnu_ld" != yes && break
4629         ;;
4630       esac
4631     fi
4632   done
4633   IFS="$lt_save_ifs"
4634 else
4635   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4636 fi
4637 fi
4638
4639 LD="$lt_cv_path_LD"
4640 if test -n "$LD"; then
4641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4642 $as_echo "$LD" >&6; }
4643 else
4644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4645 $as_echo "no" >&6; }
4646 fi
4647 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4649 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4650 if ${lt_cv_prog_gnu_ld+:} false; then :
4651   $as_echo_n "(cached) " >&6
4652 else
4653   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4654 case `$LD -v 2>&1 </dev/null` in
4655 *GNU* | *'with BFD'*)
4656   lt_cv_prog_gnu_ld=yes
4657   ;;
4658 *)
4659   lt_cv_prog_gnu_ld=no
4660   ;;
4661 esac
4662 fi
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4664 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4665 with_gnu_ld=$lt_cv_prog_gnu_ld
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4676 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4677 if ${lt_cv_path_NM+:} false; then :
4678   $as_echo_n "(cached) " >&6
4679 else
4680   if test -n "$NM"; then
4681   # Let the user override the test.
4682   lt_cv_path_NM="$NM"
4683 else
4684   lt_nm_to_check="${ac_tool_prefix}nm"
4685   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4686     lt_nm_to_check="$lt_nm_to_check nm"
4687   fi
4688   for lt_tmp_nm in $lt_nm_to_check; do
4689     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4690     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4691       IFS="$lt_save_ifs"
4692       test -z "$ac_dir" && ac_dir=.
4693       tmp_nm="$ac_dir/$lt_tmp_nm"
4694       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4695         # Check to see if the nm accepts a BSD-compat flag.
4696         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4697         #   nm: unknown option "B" ignored
4698         # Tru64's nm complains that /dev/null is an invalid object file
4699         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4700         */dev/null* | *'Invalid file or object type'*)
4701           lt_cv_path_NM="$tmp_nm -B"
4702           break
4703           ;;
4704         *)
4705           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4706           */dev/null*)
4707             lt_cv_path_NM="$tmp_nm -p"
4708             break
4709             ;;
4710           *)
4711             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4712             continue # so that we can try to find one that supports BSD flags
4713             ;;
4714           esac
4715           ;;
4716         esac
4717       fi
4718     done
4719     IFS="$lt_save_ifs"
4720   done
4721   : ${lt_cv_path_NM=no}
4722 fi
4723 fi
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4725 $as_echo "$lt_cv_path_NM" >&6; }
4726 if test "$lt_cv_path_NM" != "no"; then
4727   NM="$lt_cv_path_NM"
4728 else
4729   # Didn't find any BSD compatible name lister, look for dumpbin.
4730   if test -n "$DUMPBIN"; then :
4731     # Let the user override the test.
4732   else
4733     if test -n "$ac_tool_prefix"; then
4734   for ac_prog in dumpbin "link -dump"
4735   do
4736     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4737 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4739 $as_echo_n "checking for $ac_word... " >&6; }
4740 if ${ac_cv_prog_DUMPBIN+:} false; then :
4741   $as_echo_n "(cached) " >&6
4742 else
4743   if test -n "$DUMPBIN"; then
4744   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4745 else
4746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4747 for as_dir in $PATH
4748 do
4749   IFS=$as_save_IFS
4750   test -z "$as_dir" && as_dir=.
4751     for ac_exec_ext in '' $ac_executable_extensions; do
4752   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4753     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4754     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4755     break 2
4756   fi
4757 done
4758   done
4759 IFS=$as_save_IFS
4760
4761 fi
4762 fi
4763 DUMPBIN=$ac_cv_prog_DUMPBIN
4764 if test -n "$DUMPBIN"; then
4765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4766 $as_echo "$DUMPBIN" >&6; }
4767 else
4768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4769 $as_echo "no" >&6; }
4770 fi
4771
4772
4773     test -n "$DUMPBIN" && break
4774   done
4775 fi
4776 if test -z "$DUMPBIN"; then
4777   ac_ct_DUMPBIN=$DUMPBIN
4778   for ac_prog in dumpbin "link -dump"
4779 do
4780   # Extract the first word of "$ac_prog", so it can be a program name with args.
4781 set dummy $ac_prog; ac_word=$2
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4783 $as_echo_n "checking for $ac_word... " >&6; }
4784 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4785   $as_echo_n "(cached) " >&6
4786 else
4787   if test -n "$ac_ct_DUMPBIN"; then
4788   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4789 else
4790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4791 for as_dir in $PATH
4792 do
4793   IFS=$as_save_IFS
4794   test -z "$as_dir" && as_dir=.
4795     for ac_exec_ext in '' $ac_executable_extensions; do
4796   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4797     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4798     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4799     break 2
4800   fi
4801 done
4802   done
4803 IFS=$as_save_IFS
4804
4805 fi
4806 fi
4807 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4808 if test -n "$ac_ct_DUMPBIN"; then
4809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4810 $as_echo "$ac_ct_DUMPBIN" >&6; }
4811 else
4812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4813 $as_echo "no" >&6; }
4814 fi
4815
4816
4817   test -n "$ac_ct_DUMPBIN" && break
4818 done
4819
4820   if test "x$ac_ct_DUMPBIN" = x; then
4821     DUMPBIN=":"
4822   else
4823     case $cross_compiling:$ac_tool_warned in
4824 yes:)
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4826 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4827 ac_tool_warned=yes ;;
4828 esac
4829     DUMPBIN=$ac_ct_DUMPBIN
4830   fi
4831 fi
4832
4833     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4834     *COFF*)
4835       DUMPBIN="$DUMPBIN -symbols"
4836       ;;
4837     *)
4838       DUMPBIN=:
4839       ;;
4840     esac
4841   fi
4842
4843   if test "$DUMPBIN" != ":"; then
4844     NM="$DUMPBIN"
4845   fi
4846 fi
4847 test -z "$NM" && NM=nm
4848
4849
4850
4851
4852
4853
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4855 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4856 if ${lt_cv_nm_interface+:} false; then :
4857   $as_echo_n "(cached) " >&6
4858 else
4859   lt_cv_nm_interface="BSD nm"
4860   echo "int some_variable = 0;" > conftest.$ac_ext
4861   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4862   (eval "$ac_compile" 2>conftest.err)
4863   cat conftest.err >&5
4864   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4865   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4866   cat conftest.err >&5
4867   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4868   cat conftest.out >&5
4869   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4870     lt_cv_nm_interface="MS dumpbin"
4871   fi
4872   rm -f conftest*
4873 fi
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4875 $as_echo "$lt_cv_nm_interface" >&6; }
4876
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4878 $as_echo_n "checking whether ln -s works... " >&6; }
4879 LN_S=$as_ln_s
4880 if test "$LN_S" = "ln -s"; then
4881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4882 $as_echo "yes" >&6; }
4883 else
4884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4885 $as_echo "no, using $LN_S" >&6; }
4886 fi
4887
4888 # find the maximum length of command line arguments
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4890 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4891 if ${lt_cv_sys_max_cmd_len+:} false; then :
4892   $as_echo_n "(cached) " >&6
4893 else
4894     i=0
4895   teststring="ABCD"
4896
4897   case $build_os in
4898   msdosdjgpp*)
4899     # On DJGPP, this test can blow up pretty badly due to problems in libc
4900     # (any single argument exceeding 2000 bytes causes a buffer overrun
4901     # during glob expansion).  Even if it were fixed, the result of this
4902     # check would be larger than it should be.
4903     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4904     ;;
4905
4906   gnu*)
4907     # Under GNU Hurd, this test is not required because there is
4908     # no limit to the length of command line arguments.
4909     # Libtool will interpret -1 as no limit whatsoever
4910     lt_cv_sys_max_cmd_len=-1;
4911     ;;
4912
4913   cygwin* | mingw* | cegcc*)
4914     # On Win9x/ME, this test blows up -- it succeeds, but takes
4915     # about 5 minutes as the teststring grows exponentially.
4916     # Worse, since 9x/ME are not pre-emptively multitasking,
4917     # you end up with a "frozen" computer, even though with patience
4918     # the test eventually succeeds (with a max line length of 256k).
4919     # Instead, let's just punt: use the minimum linelength reported by
4920     # all of the supported platforms: 8192 (on NT/2K/XP).
4921     lt_cv_sys_max_cmd_len=8192;
4922     ;;
4923
4924   mint*)
4925     # On MiNT this can take a long time and run out of memory.
4926     lt_cv_sys_max_cmd_len=8192;
4927     ;;
4928
4929   amigaos*)
4930     # On AmigaOS with pdksh, this test takes hours, literally.
4931     # So we just punt and use a minimum line length of 8192.
4932     lt_cv_sys_max_cmd_len=8192;
4933     ;;
4934
4935   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4936     # This has been around since 386BSD, at least.  Likely further.
4937     if test -x /sbin/sysctl; then
4938       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4939     elif test -x /usr/sbin/sysctl; then
4940       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4941     else
4942       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4943     fi
4944     # And add a safety zone
4945     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4946     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4947     ;;
4948
4949   interix*)
4950     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4951     lt_cv_sys_max_cmd_len=196608
4952     ;;
4953
4954   os2*)
4955     # The test takes a long time on OS/2.
4956     lt_cv_sys_max_cmd_len=8192
4957     ;;
4958
4959   osf*)
4960     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4961     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4962     # nice to cause kernel panics so lets avoid the loop below.
4963     # First set a reasonable default.
4964     lt_cv_sys_max_cmd_len=16384
4965     #
4966     if test -x /sbin/sysconfig; then
4967       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4968         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4969       esac
4970     fi
4971     ;;
4972   sco3.2v5*)
4973     lt_cv_sys_max_cmd_len=102400
4974     ;;
4975   sysv5* | sco5v6* | sysv4.2uw2*)
4976     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4977     if test -n "$kargmax"; then
4978       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4979     else
4980       lt_cv_sys_max_cmd_len=32768
4981     fi
4982     ;;
4983   *)
4984     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4985     if test -n "$lt_cv_sys_max_cmd_len" && \
4986         test undefined != "$lt_cv_sys_max_cmd_len"; then
4987       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4988       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4989     else
4990       # Make teststring a little bigger before we do anything with it.
4991       # a 1K string should be a reasonable start.
4992       for i in 1 2 3 4 5 6 7 8 ; do
4993         teststring=$teststring$teststring
4994       done
4995       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4996       # If test is not a shell built-in, we'll probably end up computing a
4997       # maximum length that is only half of the actual maximum length, but
4998       # we can't tell.
4999       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5000                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5001               test $i != 17 # 1/2 MB should be enough
5002       do
5003         i=`expr $i + 1`
5004         teststring=$teststring$teststring
5005       done
5006       # Only check the string length outside the loop.
5007       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5008       teststring=
5009       # Add a significant safety factor because C++ compilers can tack on
5010       # massive amounts of additional arguments before passing them to the
5011       # linker.  It appears as though 1/2 is a usable value.
5012       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5013     fi
5014     ;;
5015   esac
5016
5017 fi
5018
5019 if test -n $lt_cv_sys_max_cmd_len ; then
5020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5021 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5022 else
5023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5024 $as_echo "none" >&6; }
5025 fi
5026 max_cmd_len=$lt_cv_sys_max_cmd_len
5027
5028
5029
5030
5031
5032
5033 : ${CP="cp -f"}
5034 : ${MV="mv -f"}
5035 : ${RM="rm -f"}
5036
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5038 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5039 # Try some XSI features
5040 xsi_shell=no
5041 ( _lt_dummy="a/b/c"
5042   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5043       = c,a/b,b/c, \
5044     && eval 'test $(( 1 + 1 )) -eq 2 \
5045     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5046   && xsi_shell=yes
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5048 $as_echo "$xsi_shell" >&6; }
5049
5050
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5052 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5053 lt_shell_append=no
5054 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5055     >/dev/null 2>&1 \
5056   && lt_shell_append=yes
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5058 $as_echo "$lt_shell_append" >&6; }
5059
5060
5061 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5062   lt_unset=unset
5063 else
5064   lt_unset=false
5065 fi
5066
5067
5068
5069
5070
5071 # test EBCDIC or ASCII
5072 case `echo X|tr X '\101'` in
5073  A) # ASCII based system
5074     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5075   lt_SP2NL='tr \040 \012'
5076   lt_NL2SP='tr \015\012 \040\040'
5077   ;;
5078  *) # EBCDIC based system
5079   lt_SP2NL='tr \100 \n'
5080   lt_NL2SP='tr \r\n \100\100'
5081   ;;
5082 esac
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5093 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5094 if ${lt_cv_to_host_file_cmd+:} false; then :
5095   $as_echo_n "(cached) " >&6
5096 else
5097   case $host in
5098   *-*-mingw* )
5099     case $build in
5100       *-*-mingw* ) # actually msys
5101         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5102         ;;
5103       *-*-cygwin* )
5104         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5105         ;;
5106       * ) # otherwise, assume *nix
5107         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5108         ;;
5109     esac
5110     ;;
5111   *-*-cygwin* )
5112     case $build in
5113       *-*-mingw* ) # actually msys
5114         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5115         ;;
5116       *-*-cygwin* )
5117         lt_cv_to_host_file_cmd=func_convert_file_noop
5118         ;;
5119       * ) # otherwise, assume *nix
5120         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5121         ;;
5122     esac
5123     ;;
5124   * ) # unhandled hosts (and "normal" native builds)
5125     lt_cv_to_host_file_cmd=func_convert_file_noop
5126     ;;
5127 esac
5128
5129 fi
5130
5131 to_host_file_cmd=$lt_cv_to_host_file_cmd
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5133 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5134
5135
5136
5137
5138
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5140 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5141 if ${lt_cv_to_tool_file_cmd+:} false; then :
5142   $as_echo_n "(cached) " >&6
5143 else
5144   #assume ordinary cross tools, or native build.
5145 lt_cv_to_tool_file_cmd=func_convert_file_noop
5146 case $host in
5147   *-*-mingw* )
5148     case $build in
5149       *-*-mingw* ) # actually msys
5150         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5151         ;;
5152     esac
5153     ;;
5154 esac
5155
5156 fi
5157
5158 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5160 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5161
5162
5163
5164
5165
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5167 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5168 if ${lt_cv_ld_reload_flag+:} false; then :
5169   $as_echo_n "(cached) " >&6
5170 else
5171   lt_cv_ld_reload_flag='-r'
5172 fi
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5174 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5175 reload_flag=$lt_cv_ld_reload_flag
5176 case $reload_flag in
5177 "" | " "*) ;;
5178 *) reload_flag=" $reload_flag" ;;
5179 esac
5180 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5181 case $host_os in
5182   cygwin* | mingw* | pw32* | cegcc*)
5183     if test "$GCC" != yes; then
5184       reload_cmds=false
5185     fi
5186     ;;
5187   darwin*)
5188     if test "$GCC" = yes; then
5189       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5190     else
5191       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5192     fi
5193     ;;
5194 esac
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204 if test -n "$ac_tool_prefix"; then
5205   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5206 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5208 $as_echo_n "checking for $ac_word... " >&6; }
5209 if ${ac_cv_prog_OBJDUMP+:} false; then :
5210   $as_echo_n "(cached) " >&6
5211 else
5212   if test -n "$OBJDUMP"; then
5213   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5214 else
5215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5216 for as_dir in $PATH
5217 do
5218   IFS=$as_save_IFS
5219   test -z "$as_dir" && as_dir=.
5220     for ac_exec_ext in '' $ac_executable_extensions; do
5221   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5222     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5223     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5224     break 2
5225   fi
5226 done
5227   done
5228 IFS=$as_save_IFS
5229
5230 fi
5231 fi
5232 OBJDUMP=$ac_cv_prog_OBJDUMP
5233 if test -n "$OBJDUMP"; then
5234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5235 $as_echo "$OBJDUMP" >&6; }
5236 else
5237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5238 $as_echo "no" >&6; }
5239 fi
5240
5241
5242 fi
5243 if test -z "$ac_cv_prog_OBJDUMP"; then
5244   ac_ct_OBJDUMP=$OBJDUMP
5245   # Extract the first word of "objdump", so it can be a program name with args.
5246 set dummy objdump; ac_word=$2
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5248 $as_echo_n "checking for $ac_word... " >&6; }
5249 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5250   $as_echo_n "(cached) " >&6
5251 else
5252   if test -n "$ac_ct_OBJDUMP"; then
5253   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5254 else
5255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5256 for as_dir in $PATH
5257 do
5258   IFS=$as_save_IFS
5259   test -z "$as_dir" && as_dir=.
5260     for ac_exec_ext in '' $ac_executable_extensions; do
5261   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5262     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5263     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5264     break 2
5265   fi
5266 done
5267   done
5268 IFS=$as_save_IFS
5269
5270 fi
5271 fi
5272 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5273 if test -n "$ac_ct_OBJDUMP"; then
5274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5275 $as_echo "$ac_ct_OBJDUMP" >&6; }
5276 else
5277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5278 $as_echo "no" >&6; }
5279 fi
5280
5281   if test "x$ac_ct_OBJDUMP" = x; then
5282     OBJDUMP="false"
5283   else
5284     case $cross_compiling:$ac_tool_warned in
5285 yes:)
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5287 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5288 ac_tool_warned=yes ;;
5289 esac
5290     OBJDUMP=$ac_ct_OBJDUMP
5291   fi
5292 else
5293   OBJDUMP="$ac_cv_prog_OBJDUMP"
5294 fi
5295
5296 test -z "$OBJDUMP" && OBJDUMP=objdump
5297
5298
5299
5300
5301
5302
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5304 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5305 if ${lt_cv_deplibs_check_method+:} false; then :
5306   $as_echo_n "(cached) " >&6
5307 else
5308   lt_cv_file_magic_cmd='$MAGIC_CMD'
5309 lt_cv_file_magic_test_file=
5310 lt_cv_deplibs_check_method='unknown'
5311 # Need to set the preceding variable on all platforms that support
5312 # interlibrary dependencies.
5313 # 'none' -- dependencies not supported.
5314 # `unknown' -- same as none, but documents that we really don't know.
5315 # 'pass_all' -- all dependencies passed with no checks.
5316 # 'test_compile' -- check by making test program.
5317 # 'file_magic [[regex]]' -- check by looking for files in library path
5318 # which responds to the $file_magic_cmd with a given extended regex.
5319 # If you have `file' or equivalent on your system and you're not sure
5320 # whether `pass_all' will *always* work, you probably want this one.
5321
5322 case $host_os in
5323 aix[4-9]*)
5324   lt_cv_deplibs_check_method=pass_all
5325   ;;
5326
5327 beos*)
5328   lt_cv_deplibs_check_method=pass_all
5329   ;;
5330
5331 bsdi[45]*)
5332   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5333   lt_cv_file_magic_cmd='/usr/bin/file -L'
5334   lt_cv_file_magic_test_file=/shlib/libc.so
5335   ;;
5336
5337 cygwin*)
5338   # func_win32_libid is a shell function defined in ltmain.sh
5339   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5340   lt_cv_file_magic_cmd='func_win32_libid'
5341   ;;
5342
5343 mingw* | pw32*)
5344   # Base MSYS/MinGW do not provide the 'file' command needed by
5345   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5346   # unless we find 'file', for example because we are cross-compiling.
5347   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5348   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5349     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5350     lt_cv_file_magic_cmd='func_win32_libid'
5351   else
5352     # Keep this pattern in sync with the one in func_win32_libid.
5353     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5354     lt_cv_file_magic_cmd='$OBJDUMP -f'
5355   fi
5356   ;;
5357
5358 cegcc*)
5359   # use the weaker test based on 'objdump'. See mingw*.
5360   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5361   lt_cv_file_magic_cmd='$OBJDUMP -f'
5362   ;;
5363
5364 darwin* | rhapsody*)
5365   lt_cv_deplibs_check_method=pass_all
5366   ;;
5367
5368 freebsd* | dragonfly*)
5369   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5370     case $host_cpu in
5371     i*86 )
5372       # Not sure whether the presence of OpenBSD here was a mistake.
5373       # Let's accept both of them until this is cleared up.
5374       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5375       lt_cv_file_magic_cmd=/usr/bin/file
5376       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5377       ;;
5378     esac
5379   else
5380     lt_cv_deplibs_check_method=pass_all
5381   fi
5382   ;;
5383
5384 haiku*)
5385   lt_cv_deplibs_check_method=pass_all
5386   ;;
5387
5388 hpux10.20* | hpux11*)
5389   lt_cv_file_magic_cmd=/usr/bin/file
5390   case $host_cpu in
5391   ia64*)
5392     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5393     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5394     ;;
5395   hppa*64*)
5396     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]'
5397     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5398     ;;
5399   *)
5400     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5401     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5402     ;;
5403   esac
5404   ;;
5405
5406 interix[3-9]*)
5407   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5408   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5409   ;;
5410
5411 irix5* | irix6* | nonstopux*)
5412   case $LD in
5413   *-32|*"-32 ") libmagic=32-bit;;
5414   *-n32|*"-n32 ") libmagic=N32;;
5415   *-64|*"-64 ") libmagic=64-bit;;
5416   *) libmagic=never-match;;
5417   esac
5418   lt_cv_deplibs_check_method=pass_all
5419   ;;
5420
5421 # This must be glibc/ELF.
5422 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5423   lt_cv_deplibs_check_method=pass_all
5424   ;;
5425
5426 netbsd* | netbsdelf*-gnu)
5427   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5428     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5429   else
5430     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5431   fi
5432   ;;
5433
5434 newos6*)
5435   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5436   lt_cv_file_magic_cmd=/usr/bin/file
5437   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5438   ;;
5439
5440 *nto* | *qnx*)
5441   lt_cv_deplibs_check_method=pass_all
5442   ;;
5443
5444 openbsd*)
5445   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5446     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5447   else
5448     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5449   fi
5450   ;;
5451
5452 osf3* | osf4* | osf5*)
5453   lt_cv_deplibs_check_method=pass_all
5454   ;;
5455
5456 rdos*)
5457   lt_cv_deplibs_check_method=pass_all
5458   ;;
5459
5460 solaris*)
5461   lt_cv_deplibs_check_method=pass_all
5462   ;;
5463
5464 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5465   lt_cv_deplibs_check_method=pass_all
5466   ;;
5467
5468 sysv4 | sysv4.3*)
5469   case $host_vendor in
5470   motorola)
5471     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]'
5472     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5473     ;;
5474   ncr)
5475     lt_cv_deplibs_check_method=pass_all
5476     ;;
5477   sequent)
5478     lt_cv_file_magic_cmd='/bin/file'
5479     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5480     ;;
5481   sni)
5482     lt_cv_file_magic_cmd='/bin/file'
5483     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5484     lt_cv_file_magic_test_file=/lib/libc.so
5485     ;;
5486   siemens)
5487     lt_cv_deplibs_check_method=pass_all
5488     ;;
5489   pc)
5490     lt_cv_deplibs_check_method=pass_all
5491     ;;
5492   esac
5493   ;;
5494
5495 tpf*)
5496   lt_cv_deplibs_check_method=pass_all
5497   ;;
5498 esac
5499
5500 fi
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5502 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5503
5504 file_magic_glob=
5505 want_nocaseglob=no
5506 if test "$build" = "$host"; then
5507   case $host_os in
5508   mingw* | pw32*)
5509     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5510       want_nocaseglob=yes
5511     else
5512       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5513     fi
5514     ;;
5515   esac
5516 fi
5517
5518 file_magic_cmd=$lt_cv_file_magic_cmd
5519 deplibs_check_method=$lt_cv_deplibs_check_method
5520 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543 if test -n "$ac_tool_prefix"; then
5544   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5545 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5547 $as_echo_n "checking for $ac_word... " >&6; }
5548 if ${ac_cv_prog_DLLTOOL+:} false; then :
5549   $as_echo_n "(cached) " >&6
5550 else
5551   if test -n "$DLLTOOL"; then
5552   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5553 else
5554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5555 for as_dir in $PATH
5556 do
5557   IFS=$as_save_IFS
5558   test -z "$as_dir" && as_dir=.
5559     for ac_exec_ext in '' $ac_executable_extensions; do
5560   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5561     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5562     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5563     break 2
5564   fi
5565 done
5566   done
5567 IFS=$as_save_IFS
5568
5569 fi
5570 fi
5571 DLLTOOL=$ac_cv_prog_DLLTOOL
5572 if test -n "$DLLTOOL"; then
5573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5574 $as_echo "$DLLTOOL" >&6; }
5575 else
5576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5577 $as_echo "no" >&6; }
5578 fi
5579
5580
5581 fi
5582 if test -z "$ac_cv_prog_DLLTOOL"; then
5583   ac_ct_DLLTOOL=$DLLTOOL
5584   # Extract the first word of "dlltool", so it can be a program name with args.
5585 set dummy dlltool; ac_word=$2
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5587 $as_echo_n "checking for $ac_word... " >&6; }
5588 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5589   $as_echo_n "(cached) " >&6
5590 else
5591   if test -n "$ac_ct_DLLTOOL"; then
5592   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5593 else
5594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5595 for as_dir in $PATH
5596 do
5597   IFS=$as_save_IFS
5598   test -z "$as_dir" && as_dir=.
5599     for ac_exec_ext in '' $ac_executable_extensions; do
5600   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5601     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5602     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5603     break 2
5604   fi
5605 done
5606   done
5607 IFS=$as_save_IFS
5608
5609 fi
5610 fi
5611 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5612 if test -n "$ac_ct_DLLTOOL"; then
5613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5614 $as_echo "$ac_ct_DLLTOOL" >&6; }
5615 else
5616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5617 $as_echo "no" >&6; }
5618 fi
5619
5620   if test "x$ac_ct_DLLTOOL" = x; then
5621     DLLTOOL="false"
5622   else
5623     case $cross_compiling:$ac_tool_warned in
5624 yes:)
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5626 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5627 ac_tool_warned=yes ;;
5628 esac
5629     DLLTOOL=$ac_ct_DLLTOOL
5630   fi
5631 else
5632   DLLTOOL="$ac_cv_prog_DLLTOOL"
5633 fi
5634
5635 test -z "$DLLTOOL" && DLLTOOL=dlltool
5636
5637
5638
5639
5640
5641
5642
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5644 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5645 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5646   $as_echo_n "(cached) " >&6
5647 else
5648   lt_cv_sharedlib_from_linklib_cmd='unknown'
5649
5650 case $host_os in
5651 cygwin* | mingw* | pw32* | cegcc*)
5652   # two different shell functions defined in ltmain.sh
5653   # decide which to use based on capabilities of $DLLTOOL
5654   case `$DLLTOOL --help 2>&1` in
5655   *--identify-strict*)
5656     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5657     ;;
5658   *)
5659     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5660     ;;
5661   esac
5662   ;;
5663 *)
5664   # fallback: assume linklib IS sharedlib
5665   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5666   ;;
5667 esac
5668
5669 fi
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5671 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5672 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5673 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5674
5675
5676
5677
5678
5679
5680
5681
5682 if test -n "$ac_tool_prefix"; then
5683   for ac_prog in ar
5684   do
5685     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5686 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5688 $as_echo_n "checking for $ac_word... " >&6; }
5689 if ${ac_cv_prog_AR+:} false; then :
5690   $as_echo_n "(cached) " >&6
5691 else
5692   if test -n "$AR"; then
5693   ac_cv_prog_AR="$AR" # Let the user override the test.
5694 else
5695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5696 for as_dir in $PATH
5697 do
5698   IFS=$as_save_IFS
5699   test -z "$as_dir" && as_dir=.
5700     for ac_exec_ext in '' $ac_executable_extensions; do
5701   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5702     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5703     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5704     break 2
5705   fi
5706 done
5707   done
5708 IFS=$as_save_IFS
5709
5710 fi
5711 fi
5712 AR=$ac_cv_prog_AR
5713 if test -n "$AR"; then
5714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5715 $as_echo "$AR" >&6; }
5716 else
5717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5718 $as_echo "no" >&6; }
5719 fi
5720
5721
5722     test -n "$AR" && break
5723   done
5724 fi
5725 if test -z "$AR"; then
5726   ac_ct_AR=$AR
5727   for ac_prog in ar
5728 do
5729   # Extract the first word of "$ac_prog", so it can be a program name with args.
5730 set dummy $ac_prog; ac_word=$2
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5732 $as_echo_n "checking for $ac_word... " >&6; }
5733 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5734   $as_echo_n "(cached) " >&6
5735 else
5736   if test -n "$ac_ct_AR"; then
5737   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5738 else
5739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5740 for as_dir in $PATH
5741 do
5742   IFS=$as_save_IFS
5743   test -z "$as_dir" && as_dir=.
5744     for ac_exec_ext in '' $ac_executable_extensions; do
5745   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5746     ac_cv_prog_ac_ct_AR="$ac_prog"
5747     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5748     break 2
5749   fi
5750 done
5751   done
5752 IFS=$as_save_IFS
5753
5754 fi
5755 fi
5756 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5757 if test -n "$ac_ct_AR"; then
5758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5759 $as_echo "$ac_ct_AR" >&6; }
5760 else
5761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5762 $as_echo "no" >&6; }
5763 fi
5764
5765
5766   test -n "$ac_ct_AR" && break
5767 done
5768
5769   if test "x$ac_ct_AR" = x; then
5770     AR="false"
5771   else
5772     case $cross_compiling:$ac_tool_warned in
5773 yes:)
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5775 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5776 ac_tool_warned=yes ;;
5777 esac
5778     AR=$ac_ct_AR
5779   fi
5780 fi
5781
5782 : ${AR=ar}
5783 : ${AR_FLAGS=cru}
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5796 $as_echo_n "checking for archiver @FILE support... " >&6; }
5797 if ${lt_cv_ar_at_file+:} false; then :
5798   $as_echo_n "(cached) " >&6
5799 else
5800   lt_cv_ar_at_file=no
5801    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5802 /* end confdefs.h.  */
5803
5804 int
5805 main ()
5806 {
5807
5808   ;
5809   return 0;
5810 }
5811 _ACEOF
5812 if ac_fn_c_try_compile "$LINENO"; then :
5813   echo conftest.$ac_objext > conftest.lst
5814       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5815       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5816   (eval $lt_ar_try) 2>&5
5817   ac_status=$?
5818   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5819   test $ac_status = 0; }
5820       if test "$ac_status" -eq 0; then
5821         # Ensure the archiver fails upon bogus file names.
5822         rm -f conftest.$ac_objext libconftest.a
5823         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5824   (eval $lt_ar_try) 2>&5
5825   ac_status=$?
5826   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5827   test $ac_status = 0; }
5828         if test "$ac_status" -ne 0; then
5829           lt_cv_ar_at_file=@
5830         fi
5831       fi
5832       rm -f conftest.* libconftest.a
5833
5834 fi
5835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5836
5837 fi
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5839 $as_echo "$lt_cv_ar_at_file" >&6; }
5840
5841 if test "x$lt_cv_ar_at_file" = xno; then
5842   archiver_list_spec=
5843 else
5844   archiver_list_spec=$lt_cv_ar_at_file
5845 fi
5846
5847
5848
5849
5850
5851
5852
5853 if test -n "$ac_tool_prefix"; then
5854   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5855 set dummy ${ac_tool_prefix}strip; ac_word=$2
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5857 $as_echo_n "checking for $ac_word... " >&6; }
5858 if ${ac_cv_prog_STRIP+:} false; then :
5859   $as_echo_n "(cached) " >&6
5860 else
5861   if test -n "$STRIP"; then
5862   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5863 else
5864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5865 for as_dir in $PATH
5866 do
5867   IFS=$as_save_IFS
5868   test -z "$as_dir" && as_dir=.
5869     for ac_exec_ext in '' $ac_executable_extensions; do
5870   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5871     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5872     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5873     break 2
5874   fi
5875 done
5876   done
5877 IFS=$as_save_IFS
5878
5879 fi
5880 fi
5881 STRIP=$ac_cv_prog_STRIP
5882 if test -n "$STRIP"; then
5883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5884 $as_echo "$STRIP" >&6; }
5885 else
5886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5887 $as_echo "no" >&6; }
5888 fi
5889
5890
5891 fi
5892 if test -z "$ac_cv_prog_STRIP"; then
5893   ac_ct_STRIP=$STRIP
5894   # Extract the first word of "strip", so it can be a program name with args.
5895 set dummy strip; ac_word=$2
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5897 $as_echo_n "checking for $ac_word... " >&6; }
5898 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5899   $as_echo_n "(cached) " >&6
5900 else
5901   if test -n "$ac_ct_STRIP"; then
5902   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5903 else
5904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5905 for as_dir in $PATH
5906 do
5907   IFS=$as_save_IFS
5908   test -z "$as_dir" && as_dir=.
5909     for ac_exec_ext in '' $ac_executable_extensions; do
5910   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5911     ac_cv_prog_ac_ct_STRIP="strip"
5912     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5913     break 2
5914   fi
5915 done
5916   done
5917 IFS=$as_save_IFS
5918
5919 fi
5920 fi
5921 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5922 if test -n "$ac_ct_STRIP"; then
5923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5924 $as_echo "$ac_ct_STRIP" >&6; }
5925 else
5926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5927 $as_echo "no" >&6; }
5928 fi
5929
5930   if test "x$ac_ct_STRIP" = x; then
5931     STRIP=":"
5932   else
5933     case $cross_compiling:$ac_tool_warned in
5934 yes:)
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5936 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5937 ac_tool_warned=yes ;;
5938 esac
5939     STRIP=$ac_ct_STRIP
5940   fi
5941 else
5942   STRIP="$ac_cv_prog_STRIP"
5943 fi
5944
5945 test -z "$STRIP" && STRIP=:
5946
5947
5948
5949
5950
5951
5952 if test -n "$ac_tool_prefix"; then
5953   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5954 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5956 $as_echo_n "checking for $ac_word... " >&6; }
5957 if ${ac_cv_prog_RANLIB+:} false; then :
5958   $as_echo_n "(cached) " >&6
5959 else
5960   if test -n "$RANLIB"; then
5961   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5962 else
5963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5964 for as_dir in $PATH
5965 do
5966   IFS=$as_save_IFS
5967   test -z "$as_dir" && as_dir=.
5968     for ac_exec_ext in '' $ac_executable_extensions; do
5969   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5970     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5971     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5972     break 2
5973   fi
5974 done
5975   done
5976 IFS=$as_save_IFS
5977
5978 fi
5979 fi
5980 RANLIB=$ac_cv_prog_RANLIB
5981 if test -n "$RANLIB"; then
5982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5983 $as_echo "$RANLIB" >&6; }
5984 else
5985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5986 $as_echo "no" >&6; }
5987 fi
5988
5989
5990 fi
5991 if test -z "$ac_cv_prog_RANLIB"; then
5992   ac_ct_RANLIB=$RANLIB
5993   # Extract the first word of "ranlib", so it can be a program name with args.
5994 set dummy ranlib; ac_word=$2
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5996 $as_echo_n "checking for $ac_word... " >&6; }
5997 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5998   $as_echo_n "(cached) " >&6
5999 else
6000   if test -n "$ac_ct_RANLIB"; then
6001   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6002 else
6003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6004 for as_dir in $PATH
6005 do
6006   IFS=$as_save_IFS
6007   test -z "$as_dir" && as_dir=.
6008     for ac_exec_ext in '' $ac_executable_extensions; do
6009   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6010     ac_cv_prog_ac_ct_RANLIB="ranlib"
6011     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6012     break 2
6013   fi
6014 done
6015   done
6016 IFS=$as_save_IFS
6017
6018 fi
6019 fi
6020 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6021 if test -n "$ac_ct_RANLIB"; then
6022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6023 $as_echo "$ac_ct_RANLIB" >&6; }
6024 else
6025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6026 $as_echo "no" >&6; }
6027 fi
6028
6029   if test "x$ac_ct_RANLIB" = x; then
6030     RANLIB=":"
6031   else
6032     case $cross_compiling:$ac_tool_warned in
6033 yes:)
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6035 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6036 ac_tool_warned=yes ;;
6037 esac
6038     RANLIB=$ac_ct_RANLIB
6039   fi
6040 else
6041   RANLIB="$ac_cv_prog_RANLIB"
6042 fi
6043
6044 test -z "$RANLIB" && RANLIB=:
6045
6046
6047
6048
6049
6050
6051 # Determine commands to create old-style static archives.
6052 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6053 old_postinstall_cmds='chmod 644 $oldlib'
6054 old_postuninstall_cmds=
6055
6056 if test -n "$RANLIB"; then
6057   case $host_os in
6058   openbsd*)
6059     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6060     ;;
6061   *)
6062     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6063     ;;
6064   esac
6065   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6066 fi
6067
6068 case $host_os in
6069   darwin*)
6070     lock_old_archive_extraction=yes ;;
6071   *)
6072     lock_old_archive_extraction=no ;;
6073 esac
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113 # If no C compiler was specified, use CC.
6114 LTCC=${LTCC-"$CC"}
6115
6116 # If no C compiler flags were specified, use CFLAGS.
6117 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6118
6119 # Allow CC to be a program name with arguments.
6120 compiler=$CC
6121
6122
6123 # Check for command to grab the raw symbol name followed by C symbol from nm.
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6125 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6126 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6127   $as_echo_n "(cached) " >&6
6128 else
6129
6130 # These are sane defaults that work on at least a few old systems.
6131 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6132
6133 # Character class describing NM global symbol codes.
6134 symcode='[BCDEGRST]'
6135
6136 # Regexp to match symbols that can be accessed directly from C.
6137 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6138
6139 # Define system-specific variables.
6140 case $host_os in
6141 aix*)
6142   symcode='[BCDT]'
6143   ;;
6144 cygwin* | mingw* | pw32* | cegcc*)
6145   symcode='[ABCDGISTW]'
6146   ;;
6147 hpux*)
6148   if test "$host_cpu" = ia64; then
6149     symcode='[ABCDEGRST]'
6150   fi
6151   ;;
6152 irix* | nonstopux*)
6153   symcode='[BCDEGRST]'
6154   ;;
6155 osf*)
6156   symcode='[BCDEGQRST]'
6157   ;;
6158 solaris*)
6159   symcode='[BDRT]'
6160   ;;
6161 sco3.2v5*)
6162   symcode='[DT]'
6163   ;;
6164 sysv4.2uw2*)
6165   symcode='[DT]'
6166   ;;
6167 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6168   symcode='[ABDT]'
6169   ;;
6170 sysv4)
6171   symcode='[DFNSTU]'
6172   ;;
6173 esac
6174
6175 # If we're using GNU nm, then use its standard symbol codes.
6176 case `$NM -V 2>&1` in
6177 *GNU* | *'with BFD'*)
6178   symcode='[ABCDGIRSTW]' ;;
6179 esac
6180
6181 # Transform an extracted symbol line into a proper C declaration.
6182 # Some systems (esp. on ia64) link data and code symbols differently,
6183 # so use this general approach.
6184 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6185
6186 # Transform an extracted symbol line into symbol name and symbol address
6187 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6188 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'"
6189
6190 # Handle CRLF in mingw tool chain
6191 opt_cr=
6192 case $build_os in
6193 mingw*)
6194   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6195   ;;
6196 esac
6197
6198 # Try without a prefix underscore, then with it.
6199 for ac_symprfx in "" "_"; do
6200
6201   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6202   symxfrm="\\1 $ac_symprfx\\2 \\2"
6203
6204   # Write the raw and C identifiers.
6205   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6206     # Fake it for dumpbin and say T for any non-static function
6207     # and D for any global variable.
6208     # Also find C++ and __fastcall symbols from MSVC++,
6209     # which start with @ or ?.
6210     lt_cv_sys_global_symbol_pipe="$AWK '"\
6211 "     {last_section=section; section=\$ 3};"\
6212 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6213 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6214 "     \$ 0!~/External *\|/{next};"\
6215 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6216 "     {if(hide[section]) next};"\
6217 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6218 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6219 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6220 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6221 "     ' prfx=^$ac_symprfx"
6222   else
6223     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6224   fi
6225   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6226
6227   # Check to see that the pipe works correctly.
6228   pipe_works=no
6229
6230   rm -f conftest*
6231   cat > conftest.$ac_ext <<_LT_EOF
6232 #ifdef __cplusplus
6233 extern "C" {
6234 #endif
6235 char nm_test_var;
6236 void nm_test_func(void);
6237 void nm_test_func(void){}
6238 #ifdef __cplusplus
6239 }
6240 #endif
6241 int main(){nm_test_var='a';nm_test_func();return(0);}
6242 _LT_EOF
6243
6244   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6245   (eval $ac_compile) 2>&5
6246   ac_status=$?
6247   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6248   test $ac_status = 0; }; then
6249     # Now try to grab the symbols.
6250     nlist=conftest.nm
6251     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6252   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6253   ac_status=$?
6254   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6255   test $ac_status = 0; } && test -s "$nlist"; then
6256       # Try sorting and uniquifying the output.
6257       if sort "$nlist" | uniq > "$nlist"T; then
6258         mv -f "$nlist"T "$nlist"
6259       else
6260         rm -f "$nlist"T
6261       fi
6262
6263       # Make sure that we snagged all the symbols we need.
6264       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6265         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6266           cat <<_LT_EOF > conftest.$ac_ext
6267 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6268 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6269 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6270    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6271 # define LT_DLSYM_CONST
6272 #elif defined(__osf__)
6273 /* This system does not cope well with relocations in const data.  */
6274 # define LT_DLSYM_CONST
6275 #else
6276 # define LT_DLSYM_CONST const
6277 #endif
6278
6279 #ifdef __cplusplus
6280 extern "C" {
6281 #endif
6282
6283 _LT_EOF
6284           # Now generate the symbol file.
6285           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6286
6287           cat <<_LT_EOF >> conftest.$ac_ext
6288
6289 /* The mapping between symbol names and symbols.  */
6290 LT_DLSYM_CONST struct {
6291   const char *name;
6292   void       *address;
6293 }
6294 lt__PROGRAM__LTX_preloaded_symbols[] =
6295 {
6296   { "@PROGRAM@", (void *) 0 },
6297 _LT_EOF
6298           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6299           cat <<\_LT_EOF >> conftest.$ac_ext
6300   {0, (void *) 0}
6301 };
6302
6303 /* This works around a problem in FreeBSD linker */
6304 #ifdef FREEBSD_WORKAROUND
6305 static const void *lt_preloaded_setup() {
6306   return lt__PROGRAM__LTX_preloaded_symbols;
6307 }
6308 #endif
6309
6310 #ifdef __cplusplus
6311 }
6312 #endif
6313 _LT_EOF
6314           # Now try linking the two files.
6315           mv conftest.$ac_objext conftstm.$ac_objext
6316           lt_globsym_save_LIBS=$LIBS
6317           lt_globsym_save_CFLAGS=$CFLAGS
6318           LIBS="conftstm.$ac_objext"
6319           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6320           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6321   (eval $ac_link) 2>&5
6322   ac_status=$?
6323   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6324   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6325             pipe_works=yes
6326           fi
6327           LIBS=$lt_globsym_save_LIBS
6328           CFLAGS=$lt_globsym_save_CFLAGS
6329         else
6330           echo "cannot find nm_test_func in $nlist" >&5
6331         fi
6332       else
6333         echo "cannot find nm_test_var in $nlist" >&5
6334       fi
6335     else
6336       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6337     fi
6338   else
6339     echo "$progname: failed program was:" >&5
6340     cat conftest.$ac_ext >&5
6341   fi
6342   rm -rf conftest* conftst*
6343
6344   # Do not use the global_symbol_pipe unless it works.
6345   if test "$pipe_works" = yes; then
6346     break
6347   else
6348     lt_cv_sys_global_symbol_pipe=
6349   fi
6350 done
6351
6352 fi
6353
6354 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6355   lt_cv_sys_global_symbol_to_cdecl=
6356 fi
6357 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6359 $as_echo "failed" >&6; }
6360 else
6361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6362 $as_echo "ok" >&6; }
6363 fi
6364
6365 # Response file support.
6366 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6367   nm_file_list_spec='@'
6368 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6369   nm_file_list_spec='@'
6370 fi
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6399 $as_echo_n "checking for sysroot... " >&6; }
6400
6401 # Check whether --with-sysroot was given.
6402 if test "${with_sysroot+set}" = set; then :
6403   withval=$with_sysroot;
6404 else
6405   with_sysroot=no
6406 fi
6407
6408
6409 lt_sysroot=
6410 case ${with_sysroot} in #(
6411  yes)
6412    if test "$GCC" = yes; then
6413      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6414    fi
6415    ;; #(
6416  /*)
6417    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6418    ;; #(
6419  no|'')
6420    ;; #(
6421  *)
6422    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6423 $as_echo "${with_sysroot}" >&6; }
6424    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6425    ;;
6426 esac
6427
6428  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6429 $as_echo "${lt_sysroot:-no}" >&6; }
6430
6431
6432
6433
6434
6435 # Check whether --enable-libtool-lock was given.
6436 if test "${enable_libtool_lock+set}" = set; then :
6437   enableval=$enable_libtool_lock;
6438 fi
6439
6440 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6441
6442 # Some flags need to be propagated to the compiler or linker for good
6443 # libtool support.
6444 case $host in
6445 ia64-*-hpux*)
6446   # Find out which ABI we are using.
6447   echo 'int i;' > conftest.$ac_ext
6448   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6449   (eval $ac_compile) 2>&5
6450   ac_status=$?
6451   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6452   test $ac_status = 0; }; then
6453     case `/usr/bin/file conftest.$ac_objext` in
6454       *ELF-32*)
6455         HPUX_IA64_MODE="32"
6456         ;;
6457       *ELF-64*)
6458         HPUX_IA64_MODE="64"
6459         ;;
6460     esac
6461   fi
6462   rm -rf conftest*
6463   ;;
6464 *-*-irix6*)
6465   # Find out which ABI we are using.
6466   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6467   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6468   (eval $ac_compile) 2>&5
6469   ac_status=$?
6470   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6471   test $ac_status = 0; }; then
6472     if test "$lt_cv_prog_gnu_ld" = yes; then
6473       case `/usr/bin/file conftest.$ac_objext` in
6474         *32-bit*)
6475           LD="${LD-ld} -melf32bsmip"
6476           ;;
6477         *N32*)
6478           LD="${LD-ld} -melf32bmipn32"
6479           ;;
6480         *64-bit*)
6481           LD="${LD-ld} -melf64bmip"
6482         ;;
6483       esac
6484     else
6485       case `/usr/bin/file conftest.$ac_objext` in
6486         *32-bit*)
6487           LD="${LD-ld} -32"
6488           ;;
6489         *N32*)
6490           LD="${LD-ld} -n32"
6491           ;;
6492         *64-bit*)
6493           LD="${LD-ld} -64"
6494           ;;
6495       esac
6496     fi
6497   fi
6498   rm -rf conftest*
6499   ;;
6500
6501 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6502 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6503   # Find out which ABI we are using.
6504   echo 'int i;' > conftest.$ac_ext
6505   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6506   (eval $ac_compile) 2>&5
6507   ac_status=$?
6508   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6509   test $ac_status = 0; }; then
6510     case `/usr/bin/file conftest.o` in
6511       *32-bit*)
6512         case $host in
6513           x86_64-*kfreebsd*-gnu)
6514             LD="${LD-ld} -m elf_i386_fbsd"
6515             ;;
6516           x86_64-*linux*)
6517             case `/usr/bin/file conftest.o` in
6518               *x86-64*)
6519                 LD="${LD-ld} -m elf32_x86_64"
6520                 ;;
6521               *)
6522                 LD="${LD-ld} -m elf_i386"
6523                 ;;
6524             esac
6525             ;;
6526           powerpc64le-*)
6527             LD="${LD-ld} -m elf32lppclinux"
6528             ;;
6529           powerpc64-*)
6530             LD="${LD-ld} -m elf32ppclinux"
6531             ;;
6532           s390x-*linux*)
6533             LD="${LD-ld} -m elf_s390"
6534             ;;
6535           sparc64-*linux*)
6536             LD="${LD-ld} -m elf32_sparc"
6537             ;;
6538         esac
6539         ;;
6540       *64-bit*)
6541         case $host in
6542           x86_64-*kfreebsd*-gnu)
6543             LD="${LD-ld} -m elf_x86_64_fbsd"
6544             ;;
6545           x86_64-*linux*)
6546             LD="${LD-ld} -m elf_x86_64"
6547             ;;
6548           powerpcle-*)
6549             LD="${LD-ld} -m elf64lppc"
6550             ;;
6551           powerpc-*)
6552             LD="${LD-ld} -m elf64ppc"
6553             ;;
6554           s390*-*linux*|s390*-*tpf*)
6555             LD="${LD-ld} -m elf64_s390"
6556             ;;
6557           sparc*-*linux*)
6558             LD="${LD-ld} -m elf64_sparc"
6559             ;;
6560         esac
6561         ;;
6562     esac
6563   fi
6564   rm -rf conftest*
6565   ;;
6566
6567 *-*-sco3.2v5*)
6568   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6569   SAVE_CFLAGS="$CFLAGS"
6570   CFLAGS="$CFLAGS -belf"
6571   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6572 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6573 if ${lt_cv_cc_needs_belf+:} false; then :
6574   $as_echo_n "(cached) " >&6
6575 else
6576   ac_ext=c
6577 ac_cpp='$CPP $CPPFLAGS'
6578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6581
6582      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6583 /* end confdefs.h.  */
6584
6585 int
6586 main ()
6587 {
6588
6589   ;
6590   return 0;
6591 }
6592 _ACEOF
6593 if ac_fn_c_try_link "$LINENO"; then :
6594   lt_cv_cc_needs_belf=yes
6595 else
6596   lt_cv_cc_needs_belf=no
6597 fi
6598 rm -f core conftest.err conftest.$ac_objext \
6599     conftest$ac_exeext conftest.$ac_ext
6600      ac_ext=c
6601 ac_cpp='$CPP $CPPFLAGS'
6602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6605
6606 fi
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6608 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6609   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6610     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6611     CFLAGS="$SAVE_CFLAGS"
6612   fi
6613   ;;
6614 *-*solaris*)
6615   # Find out which ABI we are using.
6616   echo 'int i;' > conftest.$ac_ext
6617   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6618   (eval $ac_compile) 2>&5
6619   ac_status=$?
6620   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6621   test $ac_status = 0; }; then
6622     case `/usr/bin/file conftest.o` in
6623     *64-bit*)
6624       case $lt_cv_prog_gnu_ld in
6625       yes*)
6626         case $host in
6627         i?86-*-solaris*)
6628           LD="${LD-ld} -m elf_x86_64"
6629           ;;
6630         sparc*-*-solaris*)
6631           LD="${LD-ld} -m elf64_sparc"
6632           ;;
6633         esac
6634         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6635         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6636           LD="${LD-ld}_sol2"
6637         fi
6638         ;;
6639       *)
6640         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6641           LD="${LD-ld} -64"
6642         fi
6643         ;;
6644       esac
6645       ;;
6646     esac
6647   fi
6648   rm -rf conftest*
6649   ;;
6650 esac
6651
6652 need_locks="$enable_libtool_lock"
6653
6654 if test -n "$ac_tool_prefix"; then
6655   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6656 set dummy ${ac_tool_prefix}mt; ac_word=$2
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6658 $as_echo_n "checking for $ac_word... " >&6; }
6659 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6660   $as_echo_n "(cached) " >&6
6661 else
6662   if test -n "$MANIFEST_TOOL"; then
6663   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6664 else
6665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6666 for as_dir in $PATH
6667 do
6668   IFS=$as_save_IFS
6669   test -z "$as_dir" && as_dir=.
6670     for ac_exec_ext in '' $ac_executable_extensions; do
6671   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6672     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6673     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6674     break 2
6675   fi
6676 done
6677   done
6678 IFS=$as_save_IFS
6679
6680 fi
6681 fi
6682 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6683 if test -n "$MANIFEST_TOOL"; then
6684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6685 $as_echo "$MANIFEST_TOOL" >&6; }
6686 else
6687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6688 $as_echo "no" >&6; }
6689 fi
6690
6691
6692 fi
6693 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6694   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6695   # Extract the first word of "mt", so it can be a program name with args.
6696 set dummy mt; ac_word=$2
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6698 $as_echo_n "checking for $ac_word... " >&6; }
6699 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6700   $as_echo_n "(cached) " >&6
6701 else
6702   if test -n "$ac_ct_MANIFEST_TOOL"; then
6703   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6704 else
6705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6706 for as_dir in $PATH
6707 do
6708   IFS=$as_save_IFS
6709   test -z "$as_dir" && as_dir=.
6710     for ac_exec_ext in '' $ac_executable_extensions; do
6711   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6712     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6713     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6714     break 2
6715   fi
6716 done
6717   done
6718 IFS=$as_save_IFS
6719
6720 fi
6721 fi
6722 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6723 if test -n "$ac_ct_MANIFEST_TOOL"; then
6724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6725 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6726 else
6727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6728 $as_echo "no" >&6; }
6729 fi
6730
6731   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6732     MANIFEST_TOOL=":"
6733   else
6734     case $cross_compiling:$ac_tool_warned in
6735 yes:)
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6737 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6738 ac_tool_warned=yes ;;
6739 esac
6740     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6741   fi
6742 else
6743   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6744 fi
6745
6746 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6748 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6749 if ${lt_cv_path_mainfest_tool+:} false; then :
6750   $as_echo_n "(cached) " >&6
6751 else
6752   lt_cv_path_mainfest_tool=no
6753   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6754   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6755   cat conftest.err >&5
6756   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6757     lt_cv_path_mainfest_tool=yes
6758   fi
6759   rm -f conftest*
6760 fi
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6762 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6763 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6764   MANIFEST_TOOL=:
6765 fi
6766
6767
6768
6769
6770
6771
6772   case $host_os in
6773     rhapsody* | darwin*)
6774     if test -n "$ac_tool_prefix"; then
6775   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6776 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6778 $as_echo_n "checking for $ac_word... " >&6; }
6779 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6780   $as_echo_n "(cached) " >&6
6781 else
6782   if test -n "$DSYMUTIL"; then
6783   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6784 else
6785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6786 for as_dir in $PATH
6787 do
6788   IFS=$as_save_IFS
6789   test -z "$as_dir" && as_dir=.
6790     for ac_exec_ext in '' $ac_executable_extensions; do
6791   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6792     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6793     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6794     break 2
6795   fi
6796 done
6797   done
6798 IFS=$as_save_IFS
6799
6800 fi
6801 fi
6802 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6803 if test -n "$DSYMUTIL"; then
6804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6805 $as_echo "$DSYMUTIL" >&6; }
6806 else
6807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6808 $as_echo "no" >&6; }
6809 fi
6810
6811
6812 fi
6813 if test -z "$ac_cv_prog_DSYMUTIL"; then
6814   ac_ct_DSYMUTIL=$DSYMUTIL
6815   # Extract the first word of "dsymutil", so it can be a program name with args.
6816 set dummy dsymutil; ac_word=$2
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6818 $as_echo_n "checking for $ac_word... " >&6; }
6819 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6820   $as_echo_n "(cached) " >&6
6821 else
6822   if test -n "$ac_ct_DSYMUTIL"; then
6823   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6824 else
6825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6826 for as_dir in $PATH
6827 do
6828   IFS=$as_save_IFS
6829   test -z "$as_dir" && as_dir=.
6830     for ac_exec_ext in '' $ac_executable_extensions; do
6831   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6832     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6833     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6834     break 2
6835   fi
6836 done
6837   done
6838 IFS=$as_save_IFS
6839
6840 fi
6841 fi
6842 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6843 if test -n "$ac_ct_DSYMUTIL"; then
6844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6845 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6846 else
6847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6848 $as_echo "no" >&6; }
6849 fi
6850
6851   if test "x$ac_ct_DSYMUTIL" = x; then
6852     DSYMUTIL=":"
6853   else
6854     case $cross_compiling:$ac_tool_warned in
6855 yes:)
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6857 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6858 ac_tool_warned=yes ;;
6859 esac
6860     DSYMUTIL=$ac_ct_DSYMUTIL
6861   fi
6862 else
6863   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6864 fi
6865
6866     if test -n "$ac_tool_prefix"; then
6867   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6868 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6870 $as_echo_n "checking for $ac_word... " >&6; }
6871 if ${ac_cv_prog_NMEDIT+:} false; then :
6872   $as_echo_n "(cached) " >&6
6873 else
6874   if test -n "$NMEDIT"; then
6875   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6876 else
6877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6878 for as_dir in $PATH
6879 do
6880   IFS=$as_save_IFS
6881   test -z "$as_dir" && as_dir=.
6882     for ac_exec_ext in '' $ac_executable_extensions; do
6883   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6884     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6885     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6886     break 2
6887   fi
6888 done
6889   done
6890 IFS=$as_save_IFS
6891
6892 fi
6893 fi
6894 NMEDIT=$ac_cv_prog_NMEDIT
6895 if test -n "$NMEDIT"; then
6896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6897 $as_echo "$NMEDIT" >&6; }
6898 else
6899   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6900 $as_echo "no" >&6; }
6901 fi
6902
6903
6904 fi
6905 if test -z "$ac_cv_prog_NMEDIT"; then
6906   ac_ct_NMEDIT=$NMEDIT
6907   # Extract the first word of "nmedit", so it can be a program name with args.
6908 set dummy nmedit; ac_word=$2
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6910 $as_echo_n "checking for $ac_word... " >&6; }
6911 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6912   $as_echo_n "(cached) " >&6
6913 else
6914   if test -n "$ac_ct_NMEDIT"; then
6915   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6916 else
6917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6918 for as_dir in $PATH
6919 do
6920   IFS=$as_save_IFS
6921   test -z "$as_dir" && as_dir=.
6922     for ac_exec_ext in '' $ac_executable_extensions; do
6923   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6924     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6925     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6926     break 2
6927   fi
6928 done
6929   done
6930 IFS=$as_save_IFS
6931
6932 fi
6933 fi
6934 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6935 if test -n "$ac_ct_NMEDIT"; then
6936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6937 $as_echo "$ac_ct_NMEDIT" >&6; }
6938 else
6939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6940 $as_echo "no" >&6; }
6941 fi
6942
6943   if test "x$ac_ct_NMEDIT" = x; then
6944     NMEDIT=":"
6945   else
6946     case $cross_compiling:$ac_tool_warned in
6947 yes:)
6948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6949 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6950 ac_tool_warned=yes ;;
6951 esac
6952     NMEDIT=$ac_ct_NMEDIT
6953   fi
6954 else
6955   NMEDIT="$ac_cv_prog_NMEDIT"
6956 fi
6957
6958     if test -n "$ac_tool_prefix"; then
6959   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6960 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6962 $as_echo_n "checking for $ac_word... " >&6; }
6963 if ${ac_cv_prog_LIPO+:} false; then :
6964   $as_echo_n "(cached) " >&6
6965 else
6966   if test -n "$LIPO"; then
6967   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6968 else
6969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6970 for as_dir in $PATH
6971 do
6972   IFS=$as_save_IFS
6973   test -z "$as_dir" && as_dir=.
6974     for ac_exec_ext in '' $ac_executable_extensions; do
6975   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6976     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6977     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6978     break 2
6979   fi
6980 done
6981   done
6982 IFS=$as_save_IFS
6983
6984 fi
6985 fi
6986 LIPO=$ac_cv_prog_LIPO
6987 if test -n "$LIPO"; then
6988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6989 $as_echo "$LIPO" >&6; }
6990 else
6991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6992 $as_echo "no" >&6; }
6993 fi
6994
6995
6996 fi
6997 if test -z "$ac_cv_prog_LIPO"; then
6998   ac_ct_LIPO=$LIPO
6999   # Extract the first word of "lipo", so it can be a program name with args.
7000 set dummy lipo; ac_word=$2
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7002 $as_echo_n "checking for $ac_word... " >&6; }
7003 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7004   $as_echo_n "(cached) " >&6
7005 else
7006   if test -n "$ac_ct_LIPO"; then
7007   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7008 else
7009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7010 for as_dir in $PATH
7011 do
7012   IFS=$as_save_IFS
7013   test -z "$as_dir" && as_dir=.
7014     for ac_exec_ext in '' $ac_executable_extensions; do
7015   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7016     ac_cv_prog_ac_ct_LIPO="lipo"
7017     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7018     break 2
7019   fi
7020 done
7021   done
7022 IFS=$as_save_IFS
7023
7024 fi
7025 fi
7026 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7027 if test -n "$ac_ct_LIPO"; then
7028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7029 $as_echo "$ac_ct_LIPO" >&6; }
7030 else
7031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7032 $as_echo "no" >&6; }
7033 fi
7034
7035   if test "x$ac_ct_LIPO" = x; then
7036     LIPO=":"
7037   else
7038     case $cross_compiling:$ac_tool_warned in
7039 yes:)
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7041 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7042 ac_tool_warned=yes ;;
7043 esac
7044     LIPO=$ac_ct_LIPO
7045   fi
7046 else
7047   LIPO="$ac_cv_prog_LIPO"
7048 fi
7049
7050     if test -n "$ac_tool_prefix"; then
7051   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7052 set dummy ${ac_tool_prefix}otool; ac_word=$2
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7054 $as_echo_n "checking for $ac_word... " >&6; }
7055 if ${ac_cv_prog_OTOOL+:} false; then :
7056   $as_echo_n "(cached) " >&6
7057 else
7058   if test -n "$OTOOL"; then
7059   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7060 else
7061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7062 for as_dir in $PATH
7063 do
7064   IFS=$as_save_IFS
7065   test -z "$as_dir" && as_dir=.
7066     for ac_exec_ext in '' $ac_executable_extensions; do
7067   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7068     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7069     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7070     break 2
7071   fi
7072 done
7073   done
7074 IFS=$as_save_IFS
7075
7076 fi
7077 fi
7078 OTOOL=$ac_cv_prog_OTOOL
7079 if test -n "$OTOOL"; then
7080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7081 $as_echo "$OTOOL" >&6; }
7082 else
7083   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7084 $as_echo "no" >&6; }
7085 fi
7086
7087
7088 fi
7089 if test -z "$ac_cv_prog_OTOOL"; then
7090   ac_ct_OTOOL=$OTOOL
7091   # Extract the first word of "otool", so it can be a program name with args.
7092 set dummy otool; ac_word=$2
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7094 $as_echo_n "checking for $ac_word... " >&6; }
7095 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7096   $as_echo_n "(cached) " >&6
7097 else
7098   if test -n "$ac_ct_OTOOL"; then
7099   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7100 else
7101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7102 for as_dir in $PATH
7103 do
7104   IFS=$as_save_IFS
7105   test -z "$as_dir" && as_dir=.
7106     for ac_exec_ext in '' $ac_executable_extensions; do
7107   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7108     ac_cv_prog_ac_ct_OTOOL="otool"
7109     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7110     break 2
7111   fi
7112 done
7113   done
7114 IFS=$as_save_IFS
7115
7116 fi
7117 fi
7118 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7119 if test -n "$ac_ct_OTOOL"; then
7120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7121 $as_echo "$ac_ct_OTOOL" >&6; }
7122 else
7123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7124 $as_echo "no" >&6; }
7125 fi
7126
7127   if test "x$ac_ct_OTOOL" = x; then
7128     OTOOL=":"
7129   else
7130     case $cross_compiling:$ac_tool_warned in
7131 yes:)
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7133 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7134 ac_tool_warned=yes ;;
7135 esac
7136     OTOOL=$ac_ct_OTOOL
7137   fi
7138 else
7139   OTOOL="$ac_cv_prog_OTOOL"
7140 fi
7141
7142     if test -n "$ac_tool_prefix"; then
7143   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7144 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7146 $as_echo_n "checking for $ac_word... " >&6; }
7147 if ${ac_cv_prog_OTOOL64+:} false; then :
7148   $as_echo_n "(cached) " >&6
7149 else
7150   if test -n "$OTOOL64"; then
7151   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7152 else
7153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7154 for as_dir in $PATH
7155 do
7156   IFS=$as_save_IFS
7157   test -z "$as_dir" && as_dir=.
7158     for ac_exec_ext in '' $ac_executable_extensions; do
7159   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7160     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7161     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7162     break 2
7163   fi
7164 done
7165   done
7166 IFS=$as_save_IFS
7167
7168 fi
7169 fi
7170 OTOOL64=$ac_cv_prog_OTOOL64
7171 if test -n "$OTOOL64"; then
7172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7173 $as_echo "$OTOOL64" >&6; }
7174 else
7175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7176 $as_echo "no" >&6; }
7177 fi
7178
7179
7180 fi
7181 if test -z "$ac_cv_prog_OTOOL64"; then
7182   ac_ct_OTOOL64=$OTOOL64
7183   # Extract the first word of "otool64", so it can be a program name with args.
7184 set dummy otool64; ac_word=$2
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7186 $as_echo_n "checking for $ac_word... " >&6; }
7187 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7188   $as_echo_n "(cached) " >&6
7189 else
7190   if test -n "$ac_ct_OTOOL64"; then
7191   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7192 else
7193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7194 for as_dir in $PATH
7195 do
7196   IFS=$as_save_IFS
7197   test -z "$as_dir" && as_dir=.
7198     for ac_exec_ext in '' $ac_executable_extensions; do
7199   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7200     ac_cv_prog_ac_ct_OTOOL64="otool64"
7201     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7202     break 2
7203   fi
7204 done
7205   done
7206 IFS=$as_save_IFS
7207
7208 fi
7209 fi
7210 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7211 if test -n "$ac_ct_OTOOL64"; then
7212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7213 $as_echo "$ac_ct_OTOOL64" >&6; }
7214 else
7215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7216 $as_echo "no" >&6; }
7217 fi
7218
7219   if test "x$ac_ct_OTOOL64" = x; then
7220     OTOOL64=":"
7221   else
7222     case $cross_compiling:$ac_tool_warned in
7223 yes:)
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7225 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7226 ac_tool_warned=yes ;;
7227 esac
7228     OTOOL64=$ac_ct_OTOOL64
7229   fi
7230 else
7231   OTOOL64="$ac_cv_prog_OTOOL64"
7232 fi
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7261 $as_echo_n "checking for -single_module linker flag... " >&6; }
7262 if ${lt_cv_apple_cc_single_mod+:} false; then :
7263   $as_echo_n "(cached) " >&6
7264 else
7265   lt_cv_apple_cc_single_mod=no
7266       if test -z "${LT_MULTI_MODULE}"; then
7267         # By default we will add the -single_module flag. You can override
7268         # by either setting the environment variable LT_MULTI_MODULE
7269         # non-empty at configure time, or by adding -multi_module to the
7270         # link flags.
7271         rm -rf libconftest.dylib*
7272         echo "int foo(void){return 1;}" > conftest.c
7273         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7274 -dynamiclib -Wl,-single_module conftest.c" >&5
7275         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7276           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7277         _lt_result=$?
7278         # If there is a non-empty error log, and "single_module"
7279         # appears in it, assume the flag caused a linker warning
7280         if test -s conftest.err && $GREP single_module conftest.err; then
7281           cat conftest.err >&5
7282         # Otherwise, if the output was created with a 0 exit code from
7283         # the compiler, it worked.
7284         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7285           lt_cv_apple_cc_single_mod=yes
7286         else
7287           cat conftest.err >&5
7288         fi
7289         rm -rf libconftest.dylib*
7290         rm -f conftest.*
7291       fi
7292 fi
7293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7294 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7295
7296     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7297 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7298 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7299   $as_echo_n "(cached) " >&6
7300 else
7301   lt_cv_ld_exported_symbols_list=no
7302       save_LDFLAGS=$LDFLAGS
7303       echo "_main" > conftest.sym
7304       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7305       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7306 /* end confdefs.h.  */
7307
7308 int
7309 main ()
7310 {
7311
7312   ;
7313   return 0;
7314 }
7315 _ACEOF
7316 if ac_fn_c_try_link "$LINENO"; then :
7317   lt_cv_ld_exported_symbols_list=yes
7318 else
7319   lt_cv_ld_exported_symbols_list=no
7320 fi
7321 rm -f core conftest.err conftest.$ac_objext \
7322     conftest$ac_exeext conftest.$ac_ext
7323         LDFLAGS="$save_LDFLAGS"
7324
7325 fi
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7327 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7328
7329     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7330 $as_echo_n "checking for -force_load linker flag... " >&6; }
7331 if ${lt_cv_ld_force_load+:} false; then :
7332   $as_echo_n "(cached) " >&6
7333 else
7334   lt_cv_ld_force_load=no
7335       cat > conftest.c << _LT_EOF
7336 int forced_loaded() { return 2;}
7337 _LT_EOF
7338       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7339       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7340       echo "$AR cru libconftest.a conftest.o" >&5
7341       $AR cru libconftest.a conftest.o 2>&5
7342       echo "$RANLIB libconftest.a" >&5
7343       $RANLIB libconftest.a 2>&5
7344       cat > conftest.c << _LT_EOF
7345 int main() { return 0;}
7346 _LT_EOF
7347       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7348       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7349       _lt_result=$?
7350       if test -s conftest.err && $GREP force_load conftest.err; then
7351         cat conftest.err >&5
7352       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7353         lt_cv_ld_force_load=yes
7354       else
7355         cat conftest.err >&5
7356       fi
7357         rm -f conftest.err libconftest.a conftest conftest.c
7358         rm -rf conftest.dSYM
7359
7360 fi
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7362 $as_echo "$lt_cv_ld_force_load" >&6; }
7363     case $host_os in
7364     rhapsody* | darwin1.[012])
7365       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7366     darwin1.*)
7367       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7368     darwin*) # darwin 5.x on
7369       # if running on 10.5 or later, the deployment target defaults
7370       # to the OS version, if on x86, and 10.4, the deployment
7371       # target defaults to 10.4. Don't you love it?
7372       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7373         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7374           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7375         10.[012]*)
7376           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7377         10.*)
7378           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7379       esac
7380     ;;
7381   esac
7382     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7383       _lt_dar_single_mod='$single_module'
7384     fi
7385     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7386       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7387     else
7388       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7389     fi
7390     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7391       _lt_dsymutil='~$DSYMUTIL $lib || :'
7392     else
7393       _lt_dsymutil=
7394     fi
7395     ;;
7396   esac
7397
7398 ac_ext=c
7399 ac_cpp='$CPP $CPPFLAGS'
7400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7404 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7405 # On Suns, sometimes $CPP names a directory.
7406 if test -n "$CPP" && test -d "$CPP"; then
7407   CPP=
7408 fi
7409 if test -z "$CPP"; then
7410   if ${ac_cv_prog_CPP+:} false; then :
7411   $as_echo_n "(cached) " >&6
7412 else
7413       # Double quotes because CPP needs to be expanded
7414     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7415     do
7416       ac_preproc_ok=false
7417 for ac_c_preproc_warn_flag in '' yes
7418 do
7419   # Use a header file that comes with gcc, so configuring glibc
7420   # with a fresh cross-compiler works.
7421   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7422   # <limits.h> exists even on freestanding compilers.
7423   # On the NeXT, cc -E runs the code through the compiler's parser,
7424   # not just through cpp. "Syntax error" is here to catch this case.
7425   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7426 /* end confdefs.h.  */
7427 #ifdef __STDC__
7428 # include <limits.h>
7429 #else
7430 # include <assert.h>
7431 #endif
7432                      Syntax error
7433 _ACEOF
7434 if ac_fn_c_try_cpp "$LINENO"; then :
7435
7436 else
7437   # Broken: fails on valid input.
7438 continue
7439 fi
7440 rm -f conftest.err conftest.i conftest.$ac_ext
7441
7442   # OK, works on sane cases.  Now check whether nonexistent headers
7443   # can be detected and how.
7444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7445 /* end confdefs.h.  */
7446 #include <ac_nonexistent.h>
7447 _ACEOF
7448 if ac_fn_c_try_cpp "$LINENO"; then :
7449   # Broken: success on invalid input.
7450 continue
7451 else
7452   # Passes both tests.
7453 ac_preproc_ok=:
7454 break
7455 fi
7456 rm -f conftest.err conftest.i conftest.$ac_ext
7457
7458 done
7459 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7460 rm -f conftest.i conftest.err conftest.$ac_ext
7461 if $ac_preproc_ok; then :
7462   break
7463 fi
7464
7465     done
7466     ac_cv_prog_CPP=$CPP
7467
7468 fi
7469   CPP=$ac_cv_prog_CPP
7470 else
7471   ac_cv_prog_CPP=$CPP
7472 fi
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7474 $as_echo "$CPP" >&6; }
7475 ac_preproc_ok=false
7476 for ac_c_preproc_warn_flag in '' yes
7477 do
7478   # Use a header file that comes with gcc, so configuring glibc
7479   # with a fresh cross-compiler works.
7480   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7481   # <limits.h> exists even on freestanding compilers.
7482   # On the NeXT, cc -E runs the code through the compiler's parser,
7483   # not just through cpp. "Syntax error" is here to catch this case.
7484   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7485 /* end confdefs.h.  */
7486 #ifdef __STDC__
7487 # include <limits.h>
7488 #else
7489 # include <assert.h>
7490 #endif
7491                      Syntax error
7492 _ACEOF
7493 if ac_fn_c_try_cpp "$LINENO"; then :
7494
7495 else
7496   # Broken: fails on valid input.
7497 continue
7498 fi
7499 rm -f conftest.err conftest.i conftest.$ac_ext
7500
7501   # OK, works on sane cases.  Now check whether nonexistent headers
7502   # can be detected and how.
7503   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7504 /* end confdefs.h.  */
7505 #include <ac_nonexistent.h>
7506 _ACEOF
7507 if ac_fn_c_try_cpp "$LINENO"; then :
7508   # Broken: success on invalid input.
7509 continue
7510 else
7511   # Passes both tests.
7512 ac_preproc_ok=:
7513 break
7514 fi
7515 rm -f conftest.err conftest.i conftest.$ac_ext
7516
7517 done
7518 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7519 rm -f conftest.i conftest.err conftest.$ac_ext
7520 if $ac_preproc_ok; then :
7521
7522 else
7523   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7524 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7525 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7526 See \`config.log' for more details" "$LINENO" 5; }
7527 fi
7528
7529 ac_ext=c
7530 ac_cpp='$CPP $CPPFLAGS'
7531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7534
7535
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7537 $as_echo_n "checking for ANSI C header files... " >&6; }
7538 if ${ac_cv_header_stdc+:} false; then :
7539   $as_echo_n "(cached) " >&6
7540 else
7541   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7542 /* end confdefs.h.  */
7543 #include <stdlib.h>
7544 #include <stdarg.h>
7545 #include <string.h>
7546 #include <float.h>
7547
7548 int
7549 main ()
7550 {
7551
7552   ;
7553   return 0;
7554 }
7555 _ACEOF
7556 if ac_fn_c_try_compile "$LINENO"; then :
7557   ac_cv_header_stdc=yes
7558 else
7559   ac_cv_header_stdc=no
7560 fi
7561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7562
7563 if test $ac_cv_header_stdc = yes; then
7564   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7565   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7566 /* end confdefs.h.  */
7567 #include <string.h>
7568
7569 _ACEOF
7570 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7571   $EGREP "memchr" >/dev/null 2>&1; then :
7572
7573 else
7574   ac_cv_header_stdc=no
7575 fi
7576 rm -f conftest*
7577
7578 fi
7579
7580 if test $ac_cv_header_stdc = yes; then
7581   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7582   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7583 /* end confdefs.h.  */
7584 #include <stdlib.h>
7585
7586 _ACEOF
7587 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7588   $EGREP "free" >/dev/null 2>&1; then :
7589
7590 else
7591   ac_cv_header_stdc=no
7592 fi
7593 rm -f conftest*
7594
7595 fi
7596
7597 if test $ac_cv_header_stdc = yes; then
7598   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7599   if test "$cross_compiling" = yes; then :
7600   :
7601 else
7602   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7603 /* end confdefs.h.  */
7604 #include <ctype.h>
7605 #include <stdlib.h>
7606 #if ((' ' & 0x0FF) == 0x020)
7607 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7608 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7609 #else
7610 # define ISLOWER(c) \
7611                    (('a' <= (c) && (c) <= 'i') \
7612                      || ('j' <= (c) && (c) <= 'r') \
7613                      || ('s' <= (c) && (c) <= 'z'))
7614 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7615 #endif
7616
7617 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7618 int
7619 main ()
7620 {
7621   int i;
7622   for (i = 0; i < 256; i++)
7623     if (XOR (islower (i), ISLOWER (i))
7624         || toupper (i) != TOUPPER (i))
7625       return 2;
7626   return 0;
7627 }
7628 _ACEOF
7629 if ac_fn_c_try_run "$LINENO"; then :
7630
7631 else
7632   ac_cv_header_stdc=no
7633 fi
7634 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7635   conftest.$ac_objext conftest.beam conftest.$ac_ext
7636 fi
7637
7638 fi
7639 fi
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7641 $as_echo "$ac_cv_header_stdc" >&6; }
7642 if test $ac_cv_header_stdc = yes; then
7643
7644 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7645
7646 fi
7647
7648 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7649 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7650                   inttypes.h stdint.h unistd.h
7651 do :
7652   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7653 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7654 "
7655 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7656   cat >>confdefs.h <<_ACEOF
7657 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7658 _ACEOF
7659
7660 fi
7661
7662 done
7663
7664
7665 for ac_header in dlfcn.h
7666 do :
7667   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7668 "
7669 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7670   cat >>confdefs.h <<_ACEOF
7671 #define HAVE_DLFCN_H 1
7672 _ACEOF
7673
7674 fi
7675
7676 done
7677
7678
7679
7680
7681
7682 # Set options
7683 enable_win32_dll=yes
7684
7685 case $host in
7686 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
7687   if test -n "$ac_tool_prefix"; then
7688   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
7689 set dummy ${ac_tool_prefix}as; ac_word=$2
7690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7691 $as_echo_n "checking for $ac_word... " >&6; }
7692 if ${ac_cv_prog_AS+:} false; then :
7693   $as_echo_n "(cached) " >&6
7694 else
7695   if test -n "$AS"; then
7696   ac_cv_prog_AS="$AS" # Let the user override the test.
7697 else
7698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7699 for as_dir in $PATH
7700 do
7701   IFS=$as_save_IFS
7702   test -z "$as_dir" && as_dir=.
7703     for ac_exec_ext in '' $ac_executable_extensions; do
7704   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7705     ac_cv_prog_AS="${ac_tool_prefix}as"
7706     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7707     break 2
7708   fi
7709 done
7710   done
7711 IFS=$as_save_IFS
7712
7713 fi
7714 fi
7715 AS=$ac_cv_prog_AS
7716 if test -n "$AS"; then
7717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
7718 $as_echo "$AS" >&6; }
7719 else
7720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7721 $as_echo "no" >&6; }
7722 fi
7723
7724
7725 fi
7726 if test -z "$ac_cv_prog_AS"; then
7727   ac_ct_AS=$AS
7728   # Extract the first word of "as", so it can be a program name with args.
7729 set dummy as; ac_word=$2
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7731 $as_echo_n "checking for $ac_word... " >&6; }
7732 if ${ac_cv_prog_ac_ct_AS+:} false; then :
7733   $as_echo_n "(cached) " >&6
7734 else
7735   if test -n "$ac_ct_AS"; then
7736   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
7737 else
7738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7739 for as_dir in $PATH
7740 do
7741   IFS=$as_save_IFS
7742   test -z "$as_dir" && as_dir=.
7743     for ac_exec_ext in '' $ac_executable_extensions; do
7744   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7745     ac_cv_prog_ac_ct_AS="as"
7746     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7747     break 2
7748   fi
7749 done
7750   done
7751 IFS=$as_save_IFS
7752
7753 fi
7754 fi
7755 ac_ct_AS=$ac_cv_prog_ac_ct_AS
7756 if test -n "$ac_ct_AS"; then
7757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
7758 $as_echo "$ac_ct_AS" >&6; }
7759 else
7760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7761 $as_echo "no" >&6; }
7762 fi
7763
7764   if test "x$ac_ct_AS" = x; then
7765     AS="false"
7766   else
7767     case $cross_compiling:$ac_tool_warned in
7768 yes:)
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7770 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7771 ac_tool_warned=yes ;;
7772 esac
7773     AS=$ac_ct_AS
7774   fi
7775 else
7776   AS="$ac_cv_prog_AS"
7777 fi
7778
7779   if test -n "$ac_tool_prefix"; then
7780   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7781 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7783 $as_echo_n "checking for $ac_word... " >&6; }
7784 if ${ac_cv_prog_DLLTOOL+:} false; then :
7785   $as_echo_n "(cached) " >&6
7786 else
7787   if test -n "$DLLTOOL"; then
7788   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7789 else
7790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7791 for as_dir in $PATH
7792 do
7793   IFS=$as_save_IFS
7794   test -z "$as_dir" && as_dir=.
7795     for ac_exec_ext in '' $ac_executable_extensions; do
7796   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7797     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7798     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7799     break 2
7800   fi
7801 done
7802   done
7803 IFS=$as_save_IFS
7804
7805 fi
7806 fi
7807 DLLTOOL=$ac_cv_prog_DLLTOOL
7808 if test -n "$DLLTOOL"; then
7809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7810 $as_echo "$DLLTOOL" >&6; }
7811 else
7812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7813 $as_echo "no" >&6; }
7814 fi
7815
7816
7817 fi
7818 if test -z "$ac_cv_prog_DLLTOOL"; then
7819   ac_ct_DLLTOOL=$DLLTOOL
7820   # Extract the first word of "dlltool", so it can be a program name with args.
7821 set dummy dlltool; ac_word=$2
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7823 $as_echo_n "checking for $ac_word... " >&6; }
7824 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7825   $as_echo_n "(cached) " >&6
7826 else
7827   if test -n "$ac_ct_DLLTOOL"; then
7828   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7829 else
7830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7831 for as_dir in $PATH
7832 do
7833   IFS=$as_save_IFS
7834   test -z "$as_dir" && as_dir=.
7835     for ac_exec_ext in '' $ac_executable_extensions; do
7836   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7837     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7838     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7839     break 2
7840   fi
7841 done
7842   done
7843 IFS=$as_save_IFS
7844
7845 fi
7846 fi
7847 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7848 if test -n "$ac_ct_DLLTOOL"; then
7849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7850 $as_echo "$ac_ct_DLLTOOL" >&6; }
7851 else
7852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7853 $as_echo "no" >&6; }
7854 fi
7855
7856   if test "x$ac_ct_DLLTOOL" = x; then
7857     DLLTOOL="false"
7858   else
7859     case $cross_compiling:$ac_tool_warned in
7860 yes:)
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7862 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7863 ac_tool_warned=yes ;;
7864 esac
7865     DLLTOOL=$ac_ct_DLLTOOL
7866   fi
7867 else
7868   DLLTOOL="$ac_cv_prog_DLLTOOL"
7869 fi
7870
7871   if test -n "$ac_tool_prefix"; then
7872   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7873 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7875 $as_echo_n "checking for $ac_word... " >&6; }
7876 if ${ac_cv_prog_OBJDUMP+:} false; then :
7877   $as_echo_n "(cached) " >&6
7878 else
7879   if test -n "$OBJDUMP"; then
7880   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7881 else
7882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7883 for as_dir in $PATH
7884 do
7885   IFS=$as_save_IFS
7886   test -z "$as_dir" && as_dir=.
7887     for ac_exec_ext in '' $ac_executable_extensions; do
7888   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7889     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7890     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7891     break 2
7892   fi
7893 done
7894   done
7895 IFS=$as_save_IFS
7896
7897 fi
7898 fi
7899 OBJDUMP=$ac_cv_prog_OBJDUMP
7900 if test -n "$OBJDUMP"; then
7901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7902 $as_echo "$OBJDUMP" >&6; }
7903 else
7904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7905 $as_echo "no" >&6; }
7906 fi
7907
7908
7909 fi
7910 if test -z "$ac_cv_prog_OBJDUMP"; then
7911   ac_ct_OBJDUMP=$OBJDUMP
7912   # Extract the first word of "objdump", so it can be a program name with args.
7913 set dummy objdump; ac_word=$2
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7915 $as_echo_n "checking for $ac_word... " >&6; }
7916 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7917   $as_echo_n "(cached) " >&6
7918 else
7919   if test -n "$ac_ct_OBJDUMP"; then
7920   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7921 else
7922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7923 for as_dir in $PATH
7924 do
7925   IFS=$as_save_IFS
7926   test -z "$as_dir" && as_dir=.
7927     for ac_exec_ext in '' $ac_executable_extensions; do
7928   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7929     ac_cv_prog_ac_ct_OBJDUMP="objdump"
7930     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7931     break 2
7932   fi
7933 done
7934   done
7935 IFS=$as_save_IFS
7936
7937 fi
7938 fi
7939 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7940 if test -n "$ac_ct_OBJDUMP"; then
7941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7942 $as_echo "$ac_ct_OBJDUMP" >&6; }
7943 else
7944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7945 $as_echo "no" >&6; }
7946 fi
7947
7948   if test "x$ac_ct_OBJDUMP" = x; then
7949     OBJDUMP="false"
7950   else
7951     case $cross_compiling:$ac_tool_warned in
7952 yes:)
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7954 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7955 ac_tool_warned=yes ;;
7956 esac
7957     OBJDUMP=$ac_ct_OBJDUMP
7958   fi
7959 else
7960   OBJDUMP="$ac_cv_prog_OBJDUMP"
7961 fi
7962
7963   ;;
7964 esac
7965
7966 test -z "$AS" && AS=as
7967
7968
7969
7970
7971
7972 test -z "$DLLTOOL" && DLLTOOL=dlltool
7973
7974
7975
7976
7977
7978 test -z "$OBJDUMP" && OBJDUMP=objdump
7979
7980
7981
7982
7983
7984
7985
7986         enable_dlopen=no
7987
7988
7989
7990             # Check whether --enable-shared was given.
7991 if test "${enable_shared+set}" = set; then :
7992   enableval=$enable_shared; p=${PACKAGE-default}
7993     case $enableval in
7994     yes) enable_shared=yes ;;
7995     no) enable_shared=no ;;
7996     *)
7997       enable_shared=no
7998       # Look at the argument we got.  We use all the common list separators.
7999       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8000       for pkg in $enableval; do
8001         IFS="$lt_save_ifs"
8002         if test "X$pkg" = "X$p"; then
8003           enable_shared=yes
8004         fi
8005       done
8006       IFS="$lt_save_ifs"
8007       ;;
8008     esac
8009 else
8010   enable_shared=yes
8011 fi
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021   # Check whether --enable-static was given.
8022 if test "${enable_static+set}" = set; then :
8023   enableval=$enable_static; p=${PACKAGE-default}
8024     case $enableval in
8025     yes) enable_static=yes ;;
8026     no) enable_static=no ;;
8027     *)
8028      enable_static=no
8029       # Look at the argument we got.  We use all the common list separators.
8030       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8031       for pkg in $enableval; do
8032         IFS="$lt_save_ifs"
8033         if test "X$pkg" = "X$p"; then
8034           enable_static=yes
8035         fi
8036       done
8037       IFS="$lt_save_ifs"
8038       ;;
8039     esac
8040 else
8041   enable_static=yes
8042 fi
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053 # Check whether --with-pic was given.
8054 if test "${with_pic+set}" = set; then :
8055   withval=$with_pic; lt_p=${PACKAGE-default}
8056     case $withval in
8057     yes|no) pic_mode=$withval ;;
8058     *)
8059       pic_mode=default
8060       # Look at the argument we got.  We use all the common list separators.
8061       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8062       for lt_pkg in $withval; do
8063         IFS="$lt_save_ifs"
8064         if test "X$lt_pkg" = "X$lt_p"; then
8065           pic_mode=yes
8066         fi
8067       done
8068       IFS="$lt_save_ifs"
8069       ;;
8070     esac
8071 else
8072   pic_mode=default
8073 fi
8074
8075
8076 test -z "$pic_mode" && pic_mode=default
8077
8078
8079
8080
8081
8082
8083
8084   # Check whether --enable-fast-install was given.
8085 if test "${enable_fast_install+set}" = set; then :
8086   enableval=$enable_fast_install; p=${PACKAGE-default}
8087     case $enableval in
8088     yes) enable_fast_install=yes ;;
8089     no) enable_fast_install=no ;;
8090     *)
8091       enable_fast_install=no
8092       # Look at the argument we got.  We use all the common list separators.
8093       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8094       for pkg in $enableval; do
8095         IFS="$lt_save_ifs"
8096         if test "X$pkg" = "X$p"; then
8097           enable_fast_install=yes
8098         fi
8099       done
8100       IFS="$lt_save_ifs"
8101       ;;
8102     esac
8103 else
8104   enable_fast_install=yes
8105 fi
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117 # This can be used to rebuild libtool when needed
8118 LIBTOOL_DEPS="$ltmain"
8119
8120 # Always use our own libtool.
8121 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152 test -z "$LN_S" && LN_S="ln -s"
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167 if test -n "${ZSH_VERSION+set}" ; then
8168    setopt NO_GLOB_SUBST
8169 fi
8170
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8172 $as_echo_n "checking for objdir... " >&6; }
8173 if ${lt_cv_objdir+:} false; then :
8174   $as_echo_n "(cached) " >&6
8175 else
8176   rm -f .libs 2>/dev/null
8177 mkdir .libs 2>/dev/null
8178 if test -d .libs; then
8179   lt_cv_objdir=.libs
8180 else
8181   # MS-DOS does not allow filenames that begin with a dot.
8182   lt_cv_objdir=_libs
8183 fi
8184 rmdir .libs 2>/dev/null
8185 fi
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8187 $as_echo "$lt_cv_objdir" >&6; }
8188 objdir=$lt_cv_objdir
8189
8190
8191
8192
8193
8194 cat >>confdefs.h <<_ACEOF
8195 #define LT_OBJDIR "$lt_cv_objdir/"
8196 _ACEOF
8197
8198
8199
8200
8201 case $host_os in
8202 aix3*)
8203   # AIX sometimes has problems with the GCC collect2 program.  For some
8204   # reason, if we set the COLLECT_NAMES environment variable, the problems
8205   # vanish in a puff of smoke.
8206   if test "X${COLLECT_NAMES+set}" != Xset; then
8207     COLLECT_NAMES=
8208     export COLLECT_NAMES
8209   fi
8210   ;;
8211 esac
8212
8213 # Global variables:
8214 ofile=libtool
8215 can_build_shared=yes
8216
8217 # All known linkers require a `.a' archive for static linking (except MSVC,
8218 # which needs '.lib').
8219 libext=a
8220
8221 with_gnu_ld="$lt_cv_prog_gnu_ld"
8222
8223 old_CC="$CC"
8224 old_CFLAGS="$CFLAGS"
8225
8226 # Set sane defaults for various variables
8227 test -z "$CC" && CC=cc
8228 test -z "$LTCC" && LTCC=$CC
8229 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8230 test -z "$LD" && LD=ld
8231 test -z "$ac_objext" && ac_objext=o
8232
8233 for cc_temp in $compiler""; do
8234   case $cc_temp in
8235     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8236     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8237     \-*) ;;
8238     *) break;;
8239   esac
8240 done
8241 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8242
8243
8244 # Only perform the check for file, if the check method requires it
8245 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8246 case $deplibs_check_method in
8247 file_magic*)
8248   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8249     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8250 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8251 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8252   $as_echo_n "(cached) " >&6
8253 else
8254   case $MAGIC_CMD in
8255 [\\/*] |  ?:[\\/]*)
8256   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8257   ;;
8258 *)
8259   lt_save_MAGIC_CMD="$MAGIC_CMD"
8260   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8261   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8262   for ac_dir in $ac_dummy; do
8263     IFS="$lt_save_ifs"
8264     test -z "$ac_dir" && ac_dir=.
8265     if test -f $ac_dir/${ac_tool_prefix}file; then
8266       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8267       if test -n "$file_magic_test_file"; then
8268         case $deplibs_check_method in
8269         "file_magic "*)
8270           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8271           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8272           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8273             $EGREP "$file_magic_regex" > /dev/null; then
8274             :
8275           else
8276             cat <<_LT_EOF 1>&2
8277
8278 *** Warning: the command libtool uses to detect shared libraries,
8279 *** $file_magic_cmd, produces output that libtool cannot recognize.
8280 *** The result is that libtool may fail to recognize shared libraries
8281 *** as such.  This will affect the creation of libtool libraries that
8282 *** depend on shared libraries, but programs linked with such libtool
8283 *** libraries will work regardless of this problem.  Nevertheless, you
8284 *** may want to report the problem to your system manager and/or to
8285 *** bug-libtool@gnu.org
8286
8287 _LT_EOF
8288           fi ;;
8289         esac
8290       fi
8291       break
8292     fi
8293   done
8294   IFS="$lt_save_ifs"
8295   MAGIC_CMD="$lt_save_MAGIC_CMD"
8296   ;;
8297 esac
8298 fi
8299
8300 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8301 if test -n "$MAGIC_CMD"; then
8302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8303 $as_echo "$MAGIC_CMD" >&6; }
8304 else
8305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8306 $as_echo "no" >&6; }
8307 fi
8308
8309
8310
8311
8312
8313 if test -z "$lt_cv_path_MAGIC_CMD"; then
8314   if test -n "$ac_tool_prefix"; then
8315     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8316 $as_echo_n "checking for file... " >&6; }
8317 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8318   $as_echo_n "(cached) " >&6
8319 else
8320   case $MAGIC_CMD in
8321 [\\/*] |  ?:[\\/]*)
8322   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8323   ;;
8324 *)
8325   lt_save_MAGIC_CMD="$MAGIC_CMD"
8326   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8327   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8328   for ac_dir in $ac_dummy; do
8329     IFS="$lt_save_ifs"
8330     test -z "$ac_dir" && ac_dir=.
8331     if test -f $ac_dir/file; then
8332       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8333       if test -n "$file_magic_test_file"; then
8334         case $deplibs_check_method in
8335         "file_magic "*)
8336           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8337           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8338           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8339             $EGREP "$file_magic_regex" > /dev/null; then
8340             :
8341           else
8342             cat <<_LT_EOF 1>&2
8343
8344 *** Warning: the command libtool uses to detect shared libraries,
8345 *** $file_magic_cmd, produces output that libtool cannot recognize.
8346 *** The result is that libtool may fail to recognize shared libraries
8347 *** as such.  This will affect the creation of libtool libraries that
8348 *** depend on shared libraries, but programs linked with such libtool
8349 *** libraries will work regardless of this problem.  Nevertheless, you
8350 *** may want to report the problem to your system manager and/or to
8351 *** bug-libtool@gnu.org
8352
8353 _LT_EOF
8354           fi ;;
8355         esac
8356       fi
8357       break
8358     fi
8359   done
8360   IFS="$lt_save_ifs"
8361   MAGIC_CMD="$lt_save_MAGIC_CMD"
8362   ;;
8363 esac
8364 fi
8365
8366 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8367 if test -n "$MAGIC_CMD"; then
8368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8369 $as_echo "$MAGIC_CMD" >&6; }
8370 else
8371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8372 $as_echo "no" >&6; }
8373 fi
8374
8375
8376   else
8377     MAGIC_CMD=:
8378   fi
8379 fi
8380
8381   fi
8382   ;;
8383 esac
8384
8385 # Use C for the default configuration in the libtool script
8386
8387 lt_save_CC="$CC"
8388 ac_ext=c
8389 ac_cpp='$CPP $CPPFLAGS'
8390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8393
8394
8395 # Source file extension for C test sources.
8396 ac_ext=c
8397
8398 # Object file extension for compiled C test sources.
8399 objext=o
8400 objext=$objext
8401
8402 # Code to be used in simple compile tests
8403 lt_simple_compile_test_code="int some_variable = 0;"
8404
8405 # Code to be used in simple link tests
8406 lt_simple_link_test_code='int main(){return(0);}'
8407
8408
8409
8410
8411
8412
8413
8414 # If no C compiler was specified, use CC.
8415 LTCC=${LTCC-"$CC"}
8416
8417 # If no C compiler flags were specified, use CFLAGS.
8418 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8419
8420 # Allow CC to be a program name with arguments.
8421 compiler=$CC
8422
8423 # Save the default compiler, since it gets overwritten when the other
8424 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8425 compiler_DEFAULT=$CC
8426
8427 # save warnings/boilerplate of simple test code
8428 ac_outfile=conftest.$ac_objext
8429 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8430 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8431 _lt_compiler_boilerplate=`cat conftest.err`
8432 $RM conftest*
8433
8434 ac_outfile=conftest.$ac_objext
8435 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8436 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8437 _lt_linker_boilerplate=`cat conftest.err`
8438 $RM -r conftest*
8439
8440
8441 ## CAVEAT EMPTOR:
8442 ## There is no encapsulation within the following macros, do not change
8443 ## the running order or otherwise move them around unless you know exactly
8444 ## what you are doing...
8445 if test -n "$compiler"; then
8446
8447 lt_prog_compiler_no_builtin_flag=
8448
8449 if test "$GCC" = yes; then
8450   case $cc_basename in
8451   nvcc*)
8452     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8453   *)
8454     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8455   esac
8456
8457   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8458 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8459 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8460   $as_echo_n "(cached) " >&6
8461 else
8462   lt_cv_prog_compiler_rtti_exceptions=no
8463    ac_outfile=conftest.$ac_objext
8464    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8465    lt_compiler_flag="-fno-rtti -fno-exceptions"
8466    # Insert the option either (1) after the last *FLAGS variable, or
8467    # (2) before a word containing "conftest.", or (3) at the end.
8468    # Note that $ac_compile itself does not contain backslashes and begins
8469    # with a dollar sign (not a hyphen), so the echo should work correctly.
8470    # The option is referenced via a variable to avoid confusing sed.
8471    lt_compile=`echo "$ac_compile" | $SED \
8472    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8473    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8474    -e 's:$: $lt_compiler_flag:'`
8475    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8476    (eval "$lt_compile" 2>conftest.err)
8477    ac_status=$?
8478    cat conftest.err >&5
8479    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8480    if (exit $ac_status) && test -s "$ac_outfile"; then
8481      # The compiler can only warn and ignore the option if not recognized
8482      # So say no if there are warnings other than the usual output.
8483      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8484      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8485      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8486        lt_cv_prog_compiler_rtti_exceptions=yes
8487      fi
8488    fi
8489    $RM conftest*
8490
8491 fi
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8493 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8494
8495 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8496     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8497 else
8498     :
8499 fi
8500
8501 fi
8502
8503
8504
8505
8506
8507
8508   lt_prog_compiler_wl=
8509 lt_prog_compiler_pic=
8510 lt_prog_compiler_static=
8511
8512
8513   if test "$GCC" = yes; then
8514     lt_prog_compiler_wl='-Wl,'
8515     lt_prog_compiler_static='-static'
8516
8517     case $host_os in
8518       aix*)
8519       # All AIX code is PIC.
8520       if test "$host_cpu" = ia64; then
8521         # AIX 5 now supports IA64 processor
8522         lt_prog_compiler_static='-Bstatic'
8523       fi
8524       ;;
8525
8526     amigaos*)
8527       case $host_cpu in
8528       powerpc)
8529             # see comment about AmigaOS4 .so support
8530             lt_prog_compiler_pic='-fPIC'
8531         ;;
8532       m68k)
8533             # FIXME: we need at least 68020 code to build shared libraries, but
8534             # adding the `-m68020' flag to GCC prevents building anything better,
8535             # like `-m68040'.
8536             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8537         ;;
8538       esac
8539       ;;
8540
8541     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8542       # PIC is the default for these OSes.
8543       ;;
8544
8545     mingw* | cygwin* | pw32* | os2* | cegcc*)
8546       # This hack is so that the source file can tell whether it is being
8547       # built for inclusion in a dll (and should export symbols for example).
8548       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8549       # (--disable-auto-import) libraries
8550       lt_prog_compiler_pic='-DDLL_EXPORT'
8551       ;;
8552
8553     darwin* | rhapsody*)
8554       # PIC is the default on this platform
8555       # Common symbols not allowed in MH_DYLIB files
8556       lt_prog_compiler_pic='-fno-common'
8557       ;;
8558
8559     haiku*)
8560       # PIC is the default for Haiku.
8561       # The "-static" flag exists, but is broken.
8562       lt_prog_compiler_static=
8563       ;;
8564
8565     hpux*)
8566       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8567       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8568       # sets the default TLS model and affects inlining.
8569       case $host_cpu in
8570       hppa*64*)
8571         # +Z the default
8572         ;;
8573       *)
8574         lt_prog_compiler_pic='-fPIC'
8575         ;;
8576       esac
8577       ;;
8578
8579     interix[3-9]*)
8580       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8581       # Instead, we relocate shared libraries at runtime.
8582       ;;
8583
8584     msdosdjgpp*)
8585       # Just because we use GCC doesn't mean we suddenly get shared libraries
8586       # on systems that don't support them.
8587       lt_prog_compiler_can_build_shared=no
8588       enable_shared=no
8589       ;;
8590
8591     *nto* | *qnx*)
8592       # QNX uses GNU C++, but need to define -shared option too, otherwise
8593       # it will coredump.
8594       lt_prog_compiler_pic='-fPIC -shared'
8595       ;;
8596
8597     sysv4*MP*)
8598       if test -d /usr/nec; then
8599         lt_prog_compiler_pic=-Kconform_pic
8600       fi
8601       ;;
8602
8603     *)
8604       lt_prog_compiler_pic='-fPIC'
8605       ;;
8606     esac
8607
8608     case $cc_basename in
8609     nvcc*) # Cuda Compiler Driver 2.2
8610       lt_prog_compiler_wl='-Xlinker '
8611       if test -n "$lt_prog_compiler_pic"; then
8612         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8613       fi
8614       ;;
8615     esac
8616   else
8617     # PORTME Check for flag to pass linker flags through the system compiler.
8618     case $host_os in
8619     aix*)
8620       lt_prog_compiler_wl='-Wl,'
8621       if test "$host_cpu" = ia64; then
8622         # AIX 5 now supports IA64 processor
8623         lt_prog_compiler_static='-Bstatic'
8624       else
8625         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8626       fi
8627       ;;
8628
8629     mingw* | cygwin* | pw32* | os2* | cegcc*)
8630       # This hack is so that the source file can tell whether it is being
8631       # built for inclusion in a dll (and should export symbols for example).
8632       lt_prog_compiler_pic='-DDLL_EXPORT'
8633       ;;
8634
8635     hpux9* | hpux10* | hpux11*)
8636       lt_prog_compiler_wl='-Wl,'
8637       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8638       # not for PA HP-UX.
8639       case $host_cpu in
8640       hppa*64*|ia64*)
8641         # +Z the default
8642         ;;
8643       *)
8644         lt_prog_compiler_pic='+Z'
8645         ;;
8646       esac
8647       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8648       lt_prog_compiler_static='${wl}-a ${wl}archive'
8649       ;;
8650
8651     irix5* | irix6* | nonstopux*)
8652       lt_prog_compiler_wl='-Wl,'
8653       # PIC (with -KPIC) is the default.
8654       lt_prog_compiler_static='-non_shared'
8655       ;;
8656
8657     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8658       case $cc_basename in
8659       # old Intel for x86_64 which still supported -KPIC.
8660       ecc*)
8661         lt_prog_compiler_wl='-Wl,'
8662         lt_prog_compiler_pic='-KPIC'
8663         lt_prog_compiler_static='-static'
8664         ;;
8665       # icc used to be incompatible with GCC.
8666       # ICC 10 doesn't accept -KPIC any more.
8667       icc* | ifort*)
8668         lt_prog_compiler_wl='-Wl,'
8669         lt_prog_compiler_pic='-fPIC'
8670         lt_prog_compiler_static='-static'
8671         ;;
8672       # Lahey Fortran 8.1.
8673       lf95*)
8674         lt_prog_compiler_wl='-Wl,'
8675         lt_prog_compiler_pic='--shared'
8676         lt_prog_compiler_static='--static'
8677         ;;
8678       nagfor*)
8679         # NAG Fortran compiler
8680         lt_prog_compiler_wl='-Wl,-Wl,,'
8681         lt_prog_compiler_pic='-PIC'
8682         lt_prog_compiler_static='-Bstatic'
8683         ;;
8684       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8685         # Portland Group compilers (*not* the Pentium gcc compiler,
8686         # which looks to be a dead project)
8687         lt_prog_compiler_wl='-Wl,'
8688         lt_prog_compiler_pic='-fpic'
8689         lt_prog_compiler_static='-Bstatic'
8690         ;;
8691       ccc*)
8692         lt_prog_compiler_wl='-Wl,'
8693         # All Alpha code is PIC.
8694         lt_prog_compiler_static='-non_shared'
8695         ;;
8696       xl* | bgxl* | bgf* | mpixl*)
8697         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8698         lt_prog_compiler_wl='-Wl,'
8699         lt_prog_compiler_pic='-qpic'
8700         lt_prog_compiler_static='-qstaticlink'
8701         ;;
8702       *)
8703         case `$CC -V 2>&1 | sed 5q` in
8704         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8705           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8706           lt_prog_compiler_pic='-KPIC'
8707           lt_prog_compiler_static='-Bstatic'
8708           lt_prog_compiler_wl=''
8709           ;;
8710         *Sun\ F* | *Sun*Fortran*)
8711           lt_prog_compiler_pic='-KPIC'
8712           lt_prog_compiler_static='-Bstatic'
8713           lt_prog_compiler_wl='-Qoption ld '
8714           ;;
8715         *Sun\ C*)
8716           # Sun C 5.9
8717           lt_prog_compiler_pic='-KPIC'
8718           lt_prog_compiler_static='-Bstatic'
8719           lt_prog_compiler_wl='-Wl,'
8720           ;;
8721         *Intel*\ [CF]*Compiler*)
8722           lt_prog_compiler_wl='-Wl,'
8723           lt_prog_compiler_pic='-fPIC'
8724           lt_prog_compiler_static='-static'
8725           ;;
8726         *Portland\ Group*)
8727           lt_prog_compiler_wl='-Wl,'
8728           lt_prog_compiler_pic='-fpic'
8729           lt_prog_compiler_static='-Bstatic'
8730           ;;
8731         esac
8732         ;;
8733       esac
8734       ;;
8735
8736     newsos6)
8737       lt_prog_compiler_pic='-KPIC'
8738       lt_prog_compiler_static='-Bstatic'
8739       ;;
8740
8741     *nto* | *qnx*)
8742       # QNX uses GNU C++, but need to define -shared option too, otherwise
8743       # it will coredump.
8744       lt_prog_compiler_pic='-fPIC -shared'
8745       ;;
8746
8747     osf3* | osf4* | osf5*)
8748       lt_prog_compiler_wl='-Wl,'
8749       # All OSF/1 code is PIC.
8750       lt_prog_compiler_static='-non_shared'
8751       ;;
8752
8753     rdos*)
8754       lt_prog_compiler_static='-non_shared'
8755       ;;
8756
8757     solaris*)
8758       lt_prog_compiler_pic='-KPIC'
8759       lt_prog_compiler_static='-Bstatic'
8760       case $cc_basename in
8761       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8762         lt_prog_compiler_wl='-Qoption ld ';;
8763       *)
8764         lt_prog_compiler_wl='-Wl,';;
8765       esac
8766       ;;
8767
8768     sunos4*)
8769       lt_prog_compiler_wl='-Qoption ld '
8770       lt_prog_compiler_pic='-PIC'
8771       lt_prog_compiler_static='-Bstatic'
8772       ;;
8773
8774     sysv4 | sysv4.2uw2* | sysv4.3*)
8775       lt_prog_compiler_wl='-Wl,'
8776       lt_prog_compiler_pic='-KPIC'
8777       lt_prog_compiler_static='-Bstatic'
8778       ;;
8779
8780     sysv4*MP*)
8781       if test -d /usr/nec ;then
8782         lt_prog_compiler_pic='-Kconform_pic'
8783         lt_prog_compiler_static='-Bstatic'
8784       fi
8785       ;;
8786
8787     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8788       lt_prog_compiler_wl='-Wl,'
8789       lt_prog_compiler_pic='-KPIC'
8790       lt_prog_compiler_static='-Bstatic'
8791       ;;
8792
8793     unicos*)
8794       lt_prog_compiler_wl='-Wl,'
8795       lt_prog_compiler_can_build_shared=no
8796       ;;
8797
8798     uts4*)
8799       lt_prog_compiler_pic='-pic'
8800       lt_prog_compiler_static='-Bstatic'
8801       ;;
8802
8803     *)
8804       lt_prog_compiler_can_build_shared=no
8805       ;;
8806     esac
8807   fi
8808
8809 case $host_os in
8810   # For platforms which do not support PIC, -DPIC is meaningless:
8811   *djgpp*)
8812     lt_prog_compiler_pic=
8813     ;;
8814   *)
8815     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8816     ;;
8817 esac
8818
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8820 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8821 if ${lt_cv_prog_compiler_pic+:} false; then :
8822   $as_echo_n "(cached) " >&6
8823 else
8824   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8825 fi
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8827 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8828 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8829
8830 #
8831 # Check to make sure the PIC flag actually works.
8832 #
8833 if test -n "$lt_prog_compiler_pic"; then
8834   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8835 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8836 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8837   $as_echo_n "(cached) " >&6
8838 else
8839   lt_cv_prog_compiler_pic_works=no
8840    ac_outfile=conftest.$ac_objext
8841    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8842    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8843    # Insert the option either (1) after the last *FLAGS variable, or
8844    # (2) before a word containing "conftest.", or (3) at the end.
8845    # Note that $ac_compile itself does not contain backslashes and begins
8846    # with a dollar sign (not a hyphen), so the echo should work correctly.
8847    # The option is referenced via a variable to avoid confusing sed.
8848    lt_compile=`echo "$ac_compile" | $SED \
8849    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8850    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8851    -e 's:$: $lt_compiler_flag:'`
8852    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8853    (eval "$lt_compile" 2>conftest.err)
8854    ac_status=$?
8855    cat conftest.err >&5
8856    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8857    if (exit $ac_status) && test -s "$ac_outfile"; then
8858      # The compiler can only warn and ignore the option if not recognized
8859      # So say no if there are warnings other than the usual output.
8860      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8861      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8862      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8863        lt_cv_prog_compiler_pic_works=yes
8864      fi
8865    fi
8866    $RM conftest*
8867
8868 fi
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8870 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8871
8872 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8873     case $lt_prog_compiler_pic in
8874      "" | " "*) ;;
8875      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8876      esac
8877 else
8878     lt_prog_compiler_pic=
8879      lt_prog_compiler_can_build_shared=no
8880 fi
8881
8882 fi
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894 #
8895 # Check to make sure the static flag actually works.
8896 #
8897 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8899 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8900 if ${lt_cv_prog_compiler_static_works+:} false; then :
8901   $as_echo_n "(cached) " >&6
8902 else
8903   lt_cv_prog_compiler_static_works=no
8904    save_LDFLAGS="$LDFLAGS"
8905    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8906    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8907    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8908      # The linker can only warn and ignore the option if not recognized
8909      # So say no if there are warnings
8910      if test -s conftest.err; then
8911        # Append any errors to the config.log.
8912        cat conftest.err 1>&5
8913        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8914        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8915        if diff conftest.exp conftest.er2 >/dev/null; then
8916          lt_cv_prog_compiler_static_works=yes
8917        fi
8918      else
8919        lt_cv_prog_compiler_static_works=yes
8920      fi
8921    fi
8922    $RM -r conftest*
8923    LDFLAGS="$save_LDFLAGS"
8924
8925 fi
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8927 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8928
8929 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8930     :
8931 else
8932     lt_prog_compiler_static=
8933 fi
8934
8935
8936
8937
8938
8939
8940
8941   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8942 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8943 if ${lt_cv_prog_compiler_c_o+:} false; then :
8944   $as_echo_n "(cached) " >&6
8945 else
8946   lt_cv_prog_compiler_c_o=no
8947    $RM -r conftest 2>/dev/null
8948    mkdir conftest
8949    cd conftest
8950    mkdir out
8951    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8952
8953    lt_compiler_flag="-o out/conftest2.$ac_objext"
8954    # Insert the option either (1) after the last *FLAGS variable, or
8955    # (2) before a word containing "conftest.", or (3) at the end.
8956    # Note that $ac_compile itself does not contain backslashes and begins
8957    # with a dollar sign (not a hyphen), so the echo should work correctly.
8958    lt_compile=`echo "$ac_compile" | $SED \
8959    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8960    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8961    -e 's:$: $lt_compiler_flag:'`
8962    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8963    (eval "$lt_compile" 2>out/conftest.err)
8964    ac_status=$?
8965    cat out/conftest.err >&5
8966    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8967    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8968    then
8969      # The compiler can only warn and ignore the option if not recognized
8970      # So say no if there are warnings
8971      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8972      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8973      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8974        lt_cv_prog_compiler_c_o=yes
8975      fi
8976    fi
8977    chmod u+w . 2>&5
8978    $RM conftest*
8979    # SGI C++ compiler will create directory out/ii_files/ for
8980    # template instantiation
8981    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8982    $RM out/* && rmdir out
8983    cd ..
8984    $RM -r conftest
8985    $RM conftest*
8986
8987 fi
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8989 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8990
8991
8992
8993
8994
8995
8996   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8997 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8998 if ${lt_cv_prog_compiler_c_o+:} false; then :
8999   $as_echo_n "(cached) " >&6
9000 else
9001   lt_cv_prog_compiler_c_o=no
9002    $RM -r conftest 2>/dev/null
9003    mkdir conftest
9004    cd conftest
9005    mkdir out
9006    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9007
9008    lt_compiler_flag="-o out/conftest2.$ac_objext"
9009    # Insert the option either (1) after the last *FLAGS variable, or
9010    # (2) before a word containing "conftest.", or (3) at the end.
9011    # Note that $ac_compile itself does not contain backslashes and begins
9012    # with a dollar sign (not a hyphen), so the echo should work correctly.
9013    lt_compile=`echo "$ac_compile" | $SED \
9014    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9015    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9016    -e 's:$: $lt_compiler_flag:'`
9017    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9018    (eval "$lt_compile" 2>out/conftest.err)
9019    ac_status=$?
9020    cat out/conftest.err >&5
9021    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9022    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9023    then
9024      # The compiler can only warn and ignore the option if not recognized
9025      # So say no if there are warnings
9026      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9027      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9028      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9029        lt_cv_prog_compiler_c_o=yes
9030      fi
9031    fi
9032    chmod u+w . 2>&5
9033    $RM conftest*
9034    # SGI C++ compiler will create directory out/ii_files/ for
9035    # template instantiation
9036    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9037    $RM out/* && rmdir out
9038    cd ..
9039    $RM -r conftest
9040    $RM conftest*
9041
9042 fi
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9044 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9045
9046
9047
9048
9049 hard_links="nottested"
9050 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9051   # do not overwrite the value of need_locks provided by the user
9052   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9053 $as_echo_n "checking if we can lock with hard links... " >&6; }
9054   hard_links=yes
9055   $RM conftest*
9056   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9057   touch conftest.a
9058   ln conftest.a conftest.b 2>&5 || hard_links=no
9059   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9061 $as_echo "$hard_links" >&6; }
9062   if test "$hard_links" = no; then
9063     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9064 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9065     need_locks=warn
9066   fi
9067 else
9068   need_locks=no
9069 fi
9070
9071
9072
9073
9074
9075
9076   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9077 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9078
9079   runpath_var=
9080   allow_undefined_flag=
9081   always_export_symbols=no
9082   archive_cmds=
9083   archive_expsym_cmds=
9084   compiler_needs_object=no
9085   enable_shared_with_static_runtimes=no
9086   export_dynamic_flag_spec=
9087   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9088   hardcode_automatic=no
9089   hardcode_direct=no
9090   hardcode_direct_absolute=no
9091   hardcode_libdir_flag_spec=
9092   hardcode_libdir_separator=
9093   hardcode_minus_L=no
9094   hardcode_shlibpath_var=unsupported
9095   inherit_rpath=no
9096   link_all_deplibs=unknown
9097   module_cmds=
9098   module_expsym_cmds=
9099   old_archive_from_new_cmds=
9100   old_archive_from_expsyms_cmds=
9101   thread_safe_flag_spec=
9102   whole_archive_flag_spec=
9103   # include_expsyms should be a list of space-separated symbols to be *always*
9104   # included in the symbol list
9105   include_expsyms=
9106   # exclude_expsyms can be an extended regexp of symbols to exclude
9107   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9108   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9109   # as well as any symbol that contains `d'.
9110   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9111   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9112   # platforms (ab)use it in PIC code, but their linkers get confused if
9113   # the symbol is explicitly referenced.  Since portable code cannot
9114   # rely on this symbol name, it's probably fine to never include it in
9115   # preloaded symbol tables.
9116   # Exclude shared library initialization/finalization symbols.
9117   extract_expsyms_cmds=
9118
9119   case $host_os in
9120   cygwin* | mingw* | pw32* | cegcc*)
9121     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9122     # When not using gcc, we currently assume that we are using
9123     # Microsoft Visual C++.
9124     if test "$GCC" != yes; then
9125       with_gnu_ld=no
9126     fi
9127     ;;
9128   interix*)
9129     # we just hope/assume this is gcc and not c89 (= MSVC++)
9130     with_gnu_ld=yes
9131     ;;
9132   openbsd*)
9133     with_gnu_ld=no
9134     ;;
9135   linux* | k*bsd*-gnu | gnu*)
9136     link_all_deplibs=no
9137     ;;
9138   esac
9139
9140   ld_shlibs=yes
9141
9142   # On some targets, GNU ld is compatible enough with the native linker
9143   # that we're better off using the native interface for both.
9144   lt_use_gnu_ld_interface=no
9145   if test "$with_gnu_ld" = yes; then
9146     case $host_os in
9147       aix*)
9148         # The AIX port of GNU ld has always aspired to compatibility
9149         # with the native linker.  However, as the warning in the GNU ld
9150         # block says, versions before 2.19.5* couldn't really create working
9151         # shared libraries, regardless of the interface used.
9152         case `$LD -v 2>&1` in
9153           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9154           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9155           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9156           *)
9157             lt_use_gnu_ld_interface=yes
9158             ;;
9159         esac
9160         ;;
9161       *)
9162         lt_use_gnu_ld_interface=yes
9163         ;;
9164     esac
9165   fi
9166
9167   if test "$lt_use_gnu_ld_interface" = yes; then
9168     # If archive_cmds runs LD, not CC, wlarc should be empty
9169     wlarc='${wl}'
9170
9171     # Set some defaults for GNU ld with shared library support. These
9172     # are reset later if shared libraries are not supported. Putting them
9173     # here allows them to be overridden if necessary.
9174     runpath_var=LD_RUN_PATH
9175     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9176     export_dynamic_flag_spec='${wl}--export-dynamic'
9177     # ancient GNU ld didn't support --whole-archive et. al.
9178     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9179       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9180     else
9181       whole_archive_flag_spec=
9182     fi
9183     supports_anon_versioning=no
9184     case `$LD -v 2>&1` in
9185       *GNU\ gold*) supports_anon_versioning=yes ;;
9186       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9187       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9188       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9189       *\ 2.11.*) ;; # other 2.11 versions
9190       *) supports_anon_versioning=yes ;;
9191     esac
9192
9193     # See if GNU ld supports shared libraries.
9194     case $host_os in
9195     aix[3-9]*)
9196       # On AIX/PPC, the GNU linker is very broken
9197       if test "$host_cpu" != ia64; then
9198         ld_shlibs=no
9199         cat <<_LT_EOF 1>&2
9200
9201 *** Warning: the GNU linker, at least up to release 2.19, is reported
9202 *** to be unable to reliably create shared libraries on AIX.
9203 *** Therefore, libtool is disabling shared libraries support.  If you
9204 *** really care for shared libraries, you may want to install binutils
9205 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9206 *** You will then need to restart the configuration process.
9207
9208 _LT_EOF
9209       fi
9210       ;;
9211
9212     amigaos*)
9213       case $host_cpu in
9214       powerpc)
9215             # see comment about AmigaOS4 .so support
9216             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9217             archive_expsym_cmds=''
9218         ;;
9219       m68k)
9220             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)'
9221             hardcode_libdir_flag_spec='-L$libdir'
9222             hardcode_minus_L=yes
9223         ;;
9224       esac
9225       ;;
9226
9227     beos*)
9228       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9229         allow_undefined_flag=unsupported
9230         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9231         # support --undefined.  This deserves some investigation.  FIXME
9232         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9233       else
9234         ld_shlibs=no
9235       fi
9236       ;;
9237
9238     cygwin* | mingw* | pw32* | cegcc*)
9239       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9240       # as there is no search path for DLLs.
9241       hardcode_libdir_flag_spec='-L$libdir'
9242       export_dynamic_flag_spec='${wl}--export-all-symbols'
9243       allow_undefined_flag=unsupported
9244       always_export_symbols=no
9245       enable_shared_with_static_runtimes=yes
9246       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'
9247       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9248
9249       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9250         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9251         # If the export-symbols file already is a .def file (1st line
9252         # is EXPORTS), use it as is; otherwise, prepend...
9253         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9254           cp $export_symbols $output_objdir/$soname.def;
9255         else
9256           echo EXPORTS > $output_objdir/$soname.def;
9257           cat $export_symbols >> $output_objdir/$soname.def;
9258         fi~
9259         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9260       else
9261         ld_shlibs=no
9262       fi
9263       ;;
9264
9265     haiku*)
9266       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9267       link_all_deplibs=yes
9268       ;;
9269
9270     interix[3-9]*)
9271       hardcode_direct=no
9272       hardcode_shlibpath_var=no
9273       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9274       export_dynamic_flag_spec='${wl}-E'
9275       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9276       # Instead, shared libraries are loaded at an image base (0x10000000 by
9277       # default) and relocated if they conflict, which is a slow very memory
9278       # consuming and fragmenting process.  To avoid this, we pick a random,
9279       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9280       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9281       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9282       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'
9283       ;;
9284
9285     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9286       tmp_diet=no
9287       if test "$host_os" = linux-dietlibc; then
9288         case $cc_basename in
9289           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9290         esac
9291       fi
9292       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9293          && test "$tmp_diet" = no
9294       then
9295         tmp_addflag=' $pic_flag'
9296         tmp_sharedflag='-shared'
9297         case $cc_basename,$host_cpu in
9298         pgcc*)                          # Portland Group C compiler
9299           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'
9300           tmp_addflag=' $pic_flag'
9301           ;;
9302         pgf77* | pgf90* | pgf95* | pgfortran*)
9303                                         # Portland Group f77 and f90 compilers
9304           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'
9305           tmp_addflag=' $pic_flag -Mnomain' ;;
9306         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9307           tmp_addflag=' -i_dynamic' ;;
9308         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9309           tmp_addflag=' -i_dynamic -nofor_main' ;;
9310         ifc* | ifort*)                  # Intel Fortran compiler
9311           tmp_addflag=' -nofor_main' ;;
9312         lf95*)                          # Lahey Fortran 8.1
9313           whole_archive_flag_spec=
9314           tmp_sharedflag='--shared' ;;
9315         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9316           tmp_sharedflag='-qmkshrobj'
9317           tmp_addflag= ;;
9318         nvcc*)  # Cuda Compiler Driver 2.2
9319           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'
9320           compiler_needs_object=yes
9321           ;;
9322         esac
9323         case `$CC -V 2>&1 | sed 5q` in
9324         *Sun\ C*)                       # Sun C 5.9
9325           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'
9326           compiler_needs_object=yes
9327           tmp_sharedflag='-G' ;;
9328         *Sun\ F*)                       # Sun Fortran 8.3
9329           tmp_sharedflag='-G' ;;
9330         esac
9331         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9332
9333         if test "x$supports_anon_versioning" = xyes; then
9334           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9335             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9336             echo "local: *; };" >> $output_objdir/$libname.ver~
9337             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9338         fi
9339
9340         case $cc_basename in
9341         xlf* | bgf* | bgxlf* | mpixlf*)
9342           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9343           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9344           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9345           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9346           if test "x$supports_anon_versioning" = xyes; then
9347             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9348               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9349               echo "local: *; };" >> $output_objdir/$libname.ver~
9350               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9351           fi
9352           ;;
9353         esac
9354       else
9355         ld_shlibs=no
9356       fi
9357       ;;
9358
9359     netbsd* | netbsdelf*-gnu)
9360       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9361         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9362         wlarc=
9363       else
9364         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9365         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9366       fi
9367       ;;
9368
9369     solaris*)
9370       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9371         ld_shlibs=no
9372         cat <<_LT_EOF 1>&2
9373
9374 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9375 *** create shared libraries on Solaris systems.  Therefore, libtool
9376 *** is disabling shared libraries support.  We urge you to upgrade GNU
9377 *** binutils to release 2.9.1 or newer.  Another option is to modify
9378 *** your PATH or compiler configuration so that the native linker is
9379 *** used, and then restart.
9380
9381 _LT_EOF
9382       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9383         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9384         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9385       else
9386         ld_shlibs=no
9387       fi
9388       ;;
9389
9390     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9391       case `$LD -v 2>&1` in
9392         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9393         ld_shlibs=no
9394         cat <<_LT_EOF 1>&2
9395
9396 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9397 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9398 *** is disabling shared libraries support.  We urge you to upgrade GNU
9399 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9400 *** your PATH or compiler configuration so that the native linker is
9401 *** used, and then restart.
9402
9403 _LT_EOF
9404         ;;
9405         *)
9406           # For security reasons, it is highly recommended that you always
9407           # use absolute paths for naming shared libraries, and exclude the
9408           # DT_RUNPATH tag from executables and libraries.  But doing so
9409           # requires that you compile everything twice, which is a pain.
9410           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9411             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9412             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9413             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9414           else
9415             ld_shlibs=no
9416           fi
9417         ;;
9418       esac
9419       ;;
9420
9421     sunos4*)
9422       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9423       wlarc=
9424       hardcode_direct=yes
9425       hardcode_shlibpath_var=no
9426       ;;
9427
9428     *)
9429       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9430         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9431         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9432       else
9433         ld_shlibs=no
9434       fi
9435       ;;
9436     esac
9437
9438     if test "$ld_shlibs" = no; then
9439       runpath_var=
9440       hardcode_libdir_flag_spec=
9441       export_dynamic_flag_spec=
9442       whole_archive_flag_spec=
9443     fi
9444   else
9445     # PORTME fill in a description of your system's linker (not GNU ld)
9446     case $host_os in
9447     aix3*)
9448       allow_undefined_flag=unsupported
9449       always_export_symbols=yes
9450       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'
9451       # Note: this linker hardcodes the directories in LIBPATH if there
9452       # are no directories specified by -L.
9453       hardcode_minus_L=yes
9454       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9455         # Neither direct hardcoding nor static linking is supported with a
9456         # broken collect2.
9457         hardcode_direct=unsupported
9458       fi
9459       ;;
9460
9461     aix[4-9]*)
9462       if test "$host_cpu" = ia64; then
9463         # On IA64, the linker does run time linking by default, so we don't
9464         # have to do anything special.
9465         aix_use_runtimelinking=no
9466         exp_sym_flag='-Bexport'
9467         no_entry_flag=""
9468       else
9469         # If we're using GNU nm, then we don't want the "-C" option.
9470         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9471         # Also, AIX nm treats weak defined symbols like other global
9472         # defined symbols, whereas GNU nm marks them as "W".
9473         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9474           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'
9475         else
9476           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'
9477         fi
9478         aix_use_runtimelinking=no
9479
9480         # Test if we are trying to use run time linking or normal
9481         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9482         # need to do runtime linking.
9483         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9484           for ld_flag in $LDFLAGS; do
9485           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9486             aix_use_runtimelinking=yes
9487             break
9488           fi
9489           done
9490           ;;
9491         esac
9492
9493         exp_sym_flag='-bexport'
9494         no_entry_flag='-bnoentry'
9495       fi
9496
9497       # When large executables or shared objects are built, AIX ld can
9498       # have problems creating the table of contents.  If linking a library
9499       # or program results in "error TOC overflow" add -mminimal-toc to
9500       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9501       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9502
9503       archive_cmds=''
9504       hardcode_direct=yes
9505       hardcode_direct_absolute=yes
9506       hardcode_libdir_separator=':'
9507       link_all_deplibs=yes
9508       file_list_spec='${wl}-f,'
9509
9510       if test "$GCC" = yes; then
9511         case $host_os in aix4.[012]|aix4.[012].*)
9512         # We only want to do this on AIX 4.2 and lower, the check
9513         # below for broken collect2 doesn't work under 4.3+
9514           collect2name=`${CC} -print-prog-name=collect2`
9515           if test -f "$collect2name" &&
9516            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9517           then
9518           # We have reworked collect2
9519           :
9520           else
9521           # We have old collect2
9522           hardcode_direct=unsupported
9523           # It fails to find uninstalled libraries when the uninstalled
9524           # path is not listed in the libpath.  Setting hardcode_minus_L
9525           # to unsupported forces relinking
9526           hardcode_minus_L=yes
9527           hardcode_libdir_flag_spec='-L$libdir'
9528           hardcode_libdir_separator=
9529           fi
9530           ;;
9531         esac
9532         shared_flag='-shared'
9533         if test "$aix_use_runtimelinking" = yes; then
9534           shared_flag="$shared_flag "'${wl}-G'
9535         fi
9536         link_all_deplibs=no
9537       else
9538         # not using gcc
9539         if test "$host_cpu" = ia64; then
9540         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9541         # chokes on -Wl,-G. The following line is correct:
9542           shared_flag='-G'
9543         else
9544           if test "$aix_use_runtimelinking" = yes; then
9545             shared_flag='${wl}-G'
9546           else
9547             shared_flag='${wl}-bM:SRE'
9548           fi
9549         fi
9550       fi
9551
9552       export_dynamic_flag_spec='${wl}-bexpall'
9553       # It seems that -bexpall does not export symbols beginning with
9554       # underscore (_), so it is better to generate a list of symbols to export.
9555       always_export_symbols=yes
9556       if test "$aix_use_runtimelinking" = yes; then
9557         # Warning - without using the other runtime loading flags (-brtl),
9558         # -berok will link without error, but may produce a broken library.
9559         allow_undefined_flag='-berok'
9560         # Determine the default libpath from the value encoded in an
9561         # empty executable.
9562         if test "${lt_cv_aix_libpath+set}" = set; then
9563   aix_libpath=$lt_cv_aix_libpath
9564 else
9565   if ${lt_cv_aix_libpath_+:} false; then :
9566   $as_echo_n "(cached) " >&6
9567 else
9568   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9569 /* end confdefs.h.  */
9570
9571 int
9572 main ()
9573 {
9574
9575   ;
9576   return 0;
9577 }
9578 _ACEOF
9579 if ac_fn_c_try_link "$LINENO"; then :
9580
9581   lt_aix_libpath_sed='
9582       /Import File Strings/,/^$/ {
9583           /^0/ {
9584               s/^0  *\([^ ]*\) *$/\1/
9585               p
9586           }
9587       }'
9588   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9589   # Check for a 64-bit object if we didn't find anything.
9590   if test -z "$lt_cv_aix_libpath_"; then
9591     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9592   fi
9593 fi
9594 rm -f core conftest.err conftest.$ac_objext \
9595     conftest$ac_exeext conftest.$ac_ext
9596   if test -z "$lt_cv_aix_libpath_"; then
9597     lt_cv_aix_libpath_="/usr/lib:/lib"
9598   fi
9599
9600 fi
9601
9602   aix_libpath=$lt_cv_aix_libpath_
9603 fi
9604
9605         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9606         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"
9607       else
9608         if test "$host_cpu" = ia64; then
9609           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9610           allow_undefined_flag="-z nodefs"
9611           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"
9612         else
9613          # Determine the default libpath from the value encoded in an
9614          # empty executable.
9615          if test "${lt_cv_aix_libpath+set}" = set; then
9616   aix_libpath=$lt_cv_aix_libpath
9617 else
9618   if ${lt_cv_aix_libpath_+:} false; then :
9619   $as_echo_n "(cached) " >&6
9620 else
9621   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9622 /* end confdefs.h.  */
9623
9624 int
9625 main ()
9626 {
9627
9628   ;
9629   return 0;
9630 }
9631 _ACEOF
9632 if ac_fn_c_try_link "$LINENO"; then :
9633
9634   lt_aix_libpath_sed='
9635       /Import File Strings/,/^$/ {
9636           /^0/ {
9637               s/^0  *\([^ ]*\) *$/\1/
9638               p
9639           }
9640       }'
9641   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9642   # Check for a 64-bit object if we didn't find anything.
9643   if test -z "$lt_cv_aix_libpath_"; then
9644     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9645   fi
9646 fi
9647 rm -f core conftest.err conftest.$ac_objext \
9648     conftest$ac_exeext conftest.$ac_ext
9649   if test -z "$lt_cv_aix_libpath_"; then
9650     lt_cv_aix_libpath_="/usr/lib:/lib"
9651   fi
9652
9653 fi
9654
9655   aix_libpath=$lt_cv_aix_libpath_
9656 fi
9657
9658          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9659           # Warning - without using the other run time loading flags,
9660           # -berok will link without error, but may produce a broken library.
9661           no_undefined_flag=' ${wl}-bernotok'
9662           allow_undefined_flag=' ${wl}-berok'
9663           if test "$with_gnu_ld" = yes; then
9664             # We only use this code for GNU lds that support --whole-archive.
9665             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9666           else
9667             # Exported symbols can be pulled into shared objects from archives
9668             whole_archive_flag_spec='$convenience'
9669           fi
9670           archive_cmds_need_lc=yes
9671           # This is similar to how AIX traditionally builds its shared libraries.
9672           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'
9673         fi
9674       fi
9675       ;;
9676
9677     amigaos*)
9678       case $host_cpu in
9679       powerpc)
9680             # see comment about AmigaOS4 .so support
9681             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9682             archive_expsym_cmds=''
9683         ;;
9684       m68k)
9685             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)'
9686             hardcode_libdir_flag_spec='-L$libdir'
9687             hardcode_minus_L=yes
9688         ;;
9689       esac
9690       ;;
9691
9692     bsdi[45]*)
9693       export_dynamic_flag_spec=-rdynamic
9694       ;;
9695
9696     cygwin* | mingw* | pw32* | cegcc*)
9697       # When not using gcc, we currently assume that we are using
9698       # Microsoft Visual C++.
9699       # hardcode_libdir_flag_spec is actually meaningless, as there is
9700       # no search path for DLLs.
9701       case $cc_basename in
9702       cl*)
9703         # Native MSVC
9704         hardcode_libdir_flag_spec=' '
9705         allow_undefined_flag=unsupported
9706         always_export_symbols=yes
9707         file_list_spec='@'
9708         # Tell ltmain to make .lib files, not .a files.
9709         libext=lib
9710         # Tell ltmain to make .dll files, not .so files.
9711         shrext_cmds=".dll"
9712         # FIXME: Setting linknames here is a bad hack.
9713         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9714         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9715             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9716           else
9717             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9718           fi~
9719           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9720           linknames='
9721         # The linker will not automatically build a static lib if we build a DLL.
9722         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9723         enable_shared_with_static_runtimes=yes
9724         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9725         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9726         # Don't use ranlib
9727         old_postinstall_cmds='chmod 644 $oldlib'
9728         postlink_cmds='lt_outputfile="@OUTPUT@"~
9729           lt_tool_outputfile="@TOOL_OUTPUT@"~
9730           case $lt_outputfile in
9731             *.exe|*.EXE) ;;
9732             *)
9733               lt_outputfile="$lt_outputfile.exe"
9734               lt_tool_outputfile="$lt_tool_outputfile.exe"
9735               ;;
9736           esac~
9737           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9738             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9739             $RM "$lt_outputfile.manifest";
9740           fi'
9741         ;;
9742       *)
9743         # Assume MSVC wrapper
9744         hardcode_libdir_flag_spec=' '
9745         allow_undefined_flag=unsupported
9746         # Tell ltmain to make .lib files, not .a files.
9747         libext=lib
9748         # Tell ltmain to make .dll files, not .so files.
9749         shrext_cmds=".dll"
9750         # FIXME: Setting linknames here is a bad hack.
9751         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9752         # The linker will automatically build a .lib file if we build a DLL.
9753         old_archive_from_new_cmds='true'
9754         # FIXME: Should let the user specify the lib program.
9755         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9756         enable_shared_with_static_runtimes=yes
9757         ;;
9758       esac
9759       ;;
9760
9761     darwin* | rhapsody*)
9762
9763
9764   archive_cmds_need_lc=no
9765   hardcode_direct=no
9766   hardcode_automatic=yes
9767   hardcode_shlibpath_var=unsupported
9768   if test "$lt_cv_ld_force_load" = "yes"; then
9769     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\"`'
9770
9771   else
9772     whole_archive_flag_spec=''
9773   fi
9774   link_all_deplibs=yes
9775   allow_undefined_flag="$_lt_dar_allow_undefined"
9776   case $cc_basename in
9777      ifort*) _lt_dar_can_shared=yes ;;
9778      *) _lt_dar_can_shared=$GCC ;;
9779   esac
9780   if test "$_lt_dar_can_shared" = "yes"; then
9781     output_verbose_link_cmd=func_echo_all
9782     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9783     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9784     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}"
9785     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}"
9786
9787   else
9788   ld_shlibs=no
9789   fi
9790
9791       ;;
9792
9793     dgux*)
9794       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9795       hardcode_libdir_flag_spec='-L$libdir'
9796       hardcode_shlibpath_var=no
9797       ;;
9798
9799     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9800     # support.  Future versions do this automatically, but an explicit c++rt0.o
9801     # does not break anything, and helps significantly (at the cost of a little
9802     # extra space).
9803     freebsd2.2*)
9804       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9805       hardcode_libdir_flag_spec='-R$libdir'
9806       hardcode_direct=yes
9807       hardcode_shlibpath_var=no
9808       ;;
9809
9810     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9811     freebsd2.*)
9812       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9813       hardcode_direct=yes
9814       hardcode_minus_L=yes
9815       hardcode_shlibpath_var=no
9816       ;;
9817
9818     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9819     freebsd* | dragonfly*)
9820       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9821       hardcode_libdir_flag_spec='-R$libdir'
9822       hardcode_direct=yes
9823       hardcode_shlibpath_var=no
9824       ;;
9825
9826     hpux9*)
9827       if test "$GCC" = yes; then
9828         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'
9829       else
9830         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'
9831       fi
9832       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9833       hardcode_libdir_separator=:
9834       hardcode_direct=yes
9835
9836       # hardcode_minus_L: Not really in the search PATH,
9837       # but as the default location of the library.
9838       hardcode_minus_L=yes
9839       export_dynamic_flag_spec='${wl}-E'
9840       ;;
9841
9842     hpux10*)
9843       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9844         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9845       else
9846         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9847       fi
9848       if test "$with_gnu_ld" = no; then
9849         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9850         hardcode_libdir_separator=:
9851         hardcode_direct=yes
9852         hardcode_direct_absolute=yes
9853         export_dynamic_flag_spec='${wl}-E'
9854         # hardcode_minus_L: Not really in the search PATH,
9855         # but as the default location of the library.
9856         hardcode_minus_L=yes
9857       fi
9858       ;;
9859
9860     hpux11*)
9861       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9862         case $host_cpu in
9863         hppa*64*)
9864           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9865           ;;
9866         ia64*)
9867           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9868           ;;
9869         *)
9870           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9871           ;;
9872         esac
9873       else
9874         case $host_cpu in
9875         hppa*64*)
9876           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9877           ;;
9878         ia64*)
9879           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9880           ;;
9881         *)
9882
9883           # Older versions of the 11.00 compiler do not understand -b yet
9884           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9885           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9886 $as_echo_n "checking if $CC understands -b... " >&6; }
9887 if ${lt_cv_prog_compiler__b+:} false; then :
9888   $as_echo_n "(cached) " >&6
9889 else
9890   lt_cv_prog_compiler__b=no
9891    save_LDFLAGS="$LDFLAGS"
9892    LDFLAGS="$LDFLAGS -b"
9893    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9894    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9895      # The linker can only warn and ignore the option if not recognized
9896      # So say no if there are warnings
9897      if test -s conftest.err; then
9898        # Append any errors to the config.log.
9899        cat conftest.err 1>&5
9900        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9901        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9902        if diff conftest.exp conftest.er2 >/dev/null; then
9903          lt_cv_prog_compiler__b=yes
9904        fi
9905      else
9906        lt_cv_prog_compiler__b=yes
9907      fi
9908    fi
9909    $RM -r conftest*
9910    LDFLAGS="$save_LDFLAGS"
9911
9912 fi
9913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9914 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9915
9916 if test x"$lt_cv_prog_compiler__b" = xyes; then
9917     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9918 else
9919     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9920 fi
9921
9922           ;;
9923         esac
9924       fi
9925       if test "$with_gnu_ld" = no; then
9926         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9927         hardcode_libdir_separator=:
9928
9929         case $host_cpu in
9930         hppa*64*|ia64*)
9931           hardcode_direct=no
9932           hardcode_shlibpath_var=no
9933           ;;
9934         *)
9935           hardcode_direct=yes
9936           hardcode_direct_absolute=yes
9937           export_dynamic_flag_spec='${wl}-E'
9938
9939           # hardcode_minus_L: Not really in the search PATH,
9940           # but as the default location of the library.
9941           hardcode_minus_L=yes
9942           ;;
9943         esac
9944       fi
9945       ;;
9946
9947     irix5* | irix6* | nonstopux*)
9948       if test "$GCC" = yes; then
9949         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'
9950         # Try to use the -exported_symbol ld option, if it does not
9951         # work, assume that -exports_file does not work either and
9952         # implicitly export all symbols.
9953         # This should be the same for all languages, so no per-tag cache variable.
9954         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9955 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9956 if ${lt_cv_irix_exported_symbol+:} false; then :
9957   $as_echo_n "(cached) " >&6
9958 else
9959   save_LDFLAGS="$LDFLAGS"
9960            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9961            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9962 /* end confdefs.h.  */
9963 int foo (void) { return 0; }
9964 _ACEOF
9965 if ac_fn_c_try_link "$LINENO"; then :
9966   lt_cv_irix_exported_symbol=yes
9967 else
9968   lt_cv_irix_exported_symbol=no
9969 fi
9970 rm -f core conftest.err conftest.$ac_objext \
9971     conftest$ac_exeext conftest.$ac_ext
9972            LDFLAGS="$save_LDFLAGS"
9973 fi
9974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9975 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9976         if test "$lt_cv_irix_exported_symbol" = yes; then
9977           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'
9978         fi
9979       else
9980         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'
9981         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'
9982       fi
9983       archive_cmds_need_lc='no'
9984       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9985       hardcode_libdir_separator=:
9986       inherit_rpath=yes
9987       link_all_deplibs=yes
9988       ;;
9989
9990     netbsd* | netbsdelf*-gnu)
9991       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9992         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9993       else
9994         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9995       fi
9996       hardcode_libdir_flag_spec='-R$libdir'
9997       hardcode_direct=yes
9998       hardcode_shlibpath_var=no
9999       ;;
10000
10001     newsos6)
10002       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10003       hardcode_direct=yes
10004       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10005       hardcode_libdir_separator=:
10006       hardcode_shlibpath_var=no
10007       ;;
10008
10009     *nto* | *qnx*)
10010       ;;
10011
10012     openbsd*)
10013       if test -f /usr/libexec/ld.so; then
10014         hardcode_direct=yes
10015         hardcode_shlibpath_var=no
10016         hardcode_direct_absolute=yes
10017         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10018           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10019           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10020           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10021           export_dynamic_flag_spec='${wl}-E'
10022         else
10023           case $host_os in
10024            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10025              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10026              hardcode_libdir_flag_spec='-R$libdir'
10027              ;;
10028            *)
10029              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10030              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10031              ;;
10032           esac
10033         fi
10034       else
10035         ld_shlibs=no
10036       fi
10037       ;;
10038
10039     os2*)
10040       hardcode_libdir_flag_spec='-L$libdir'
10041       hardcode_minus_L=yes
10042       allow_undefined_flag=unsupported
10043       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'
10044       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10045       ;;
10046
10047     osf3*)
10048       if test "$GCC" = yes; then
10049         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10050         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'
10051       else
10052         allow_undefined_flag=' -expect_unresolved \*'
10053         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'
10054       fi
10055       archive_cmds_need_lc='no'
10056       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10057       hardcode_libdir_separator=:
10058       ;;
10059
10060     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10061       if test "$GCC" = yes; then
10062         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10063         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'
10064         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10065       else
10066         allow_undefined_flag=' -expect_unresolved \*'
10067         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'
10068         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~
10069         $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'
10070
10071         # Both c and cxx compiler support -rpath directly
10072         hardcode_libdir_flag_spec='-rpath $libdir'
10073       fi
10074       archive_cmds_need_lc='no'
10075       hardcode_libdir_separator=:
10076       ;;
10077
10078     solaris*)
10079       no_undefined_flag=' -z defs'
10080       if test "$GCC" = yes; then
10081         wlarc='${wl}'
10082         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10083         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10084           $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'
10085       else
10086         case `$CC -V 2>&1` in
10087         *"Compilers 5.0"*)
10088           wlarc=''
10089           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10090           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10091           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10092           ;;
10093         *)
10094           wlarc='${wl}'
10095           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10096           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10097           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10098           ;;
10099         esac
10100       fi
10101       hardcode_libdir_flag_spec='-R$libdir'
10102       hardcode_shlibpath_var=no
10103       case $host_os in
10104       solaris2.[0-5] | solaris2.[0-5].*) ;;
10105       *)
10106         # The compiler driver will combine and reorder linker options,
10107         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10108         # but is careful enough not to reorder.
10109         # Supported since Solaris 2.6 (maybe 2.5.1?)
10110         if test "$GCC" = yes; then
10111           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10112         else
10113           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10114         fi
10115         ;;
10116       esac
10117       link_all_deplibs=yes
10118       ;;
10119
10120     sunos4*)
10121       if test "x$host_vendor" = xsequent; then
10122         # Use $CC to link under sequent, because it throws in some extra .o
10123         # files that make .init and .fini sections work.
10124         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10125       else
10126         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10127       fi
10128       hardcode_libdir_flag_spec='-L$libdir'
10129       hardcode_direct=yes
10130       hardcode_minus_L=yes
10131       hardcode_shlibpath_var=no
10132       ;;
10133
10134     sysv4)
10135       case $host_vendor in
10136         sni)
10137           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10138           hardcode_direct=yes # is this really true???
10139         ;;
10140         siemens)
10141           ## LD is ld it makes a PLAMLIB
10142           ## CC just makes a GrossModule.
10143           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10144           reload_cmds='$CC -r -o $output$reload_objs'
10145           hardcode_direct=no
10146         ;;
10147         motorola)
10148           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10149           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10150         ;;
10151       esac
10152       runpath_var='LD_RUN_PATH'
10153       hardcode_shlibpath_var=no
10154       ;;
10155
10156     sysv4.3*)
10157       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10158       hardcode_shlibpath_var=no
10159       export_dynamic_flag_spec='-Bexport'
10160       ;;
10161
10162     sysv4*MP*)
10163       if test -d /usr/nec; then
10164         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10165         hardcode_shlibpath_var=no
10166         runpath_var=LD_RUN_PATH
10167         hardcode_runpath_var=yes
10168         ld_shlibs=yes
10169       fi
10170       ;;
10171
10172     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10173       no_undefined_flag='${wl}-z,text'
10174       archive_cmds_need_lc=no
10175       hardcode_shlibpath_var=no
10176       runpath_var='LD_RUN_PATH'
10177
10178       if test "$GCC" = yes; then
10179         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10180         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10181       else
10182         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10183         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10184       fi
10185       ;;
10186
10187     sysv5* | sco3.2v5* | sco5v6*)
10188       # Note: We can NOT use -z defs as we might desire, because we do not
10189       # link with -lc, and that would cause any symbols used from libc to
10190       # always be unresolved, which means just about no library would
10191       # ever link correctly.  If we're not using GNU ld we use -z text
10192       # though, which does catch some bad symbols but isn't as heavy-handed
10193       # as -z defs.
10194       no_undefined_flag='${wl}-z,text'
10195       allow_undefined_flag='${wl}-z,nodefs'
10196       archive_cmds_need_lc=no
10197       hardcode_shlibpath_var=no
10198       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10199       hardcode_libdir_separator=':'
10200       link_all_deplibs=yes
10201       export_dynamic_flag_spec='${wl}-Bexport'
10202       runpath_var='LD_RUN_PATH'
10203
10204       if test "$GCC" = yes; then
10205         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10206         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10207       else
10208         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10209         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10210       fi
10211       ;;
10212
10213     uts4*)
10214       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10215       hardcode_libdir_flag_spec='-L$libdir'
10216       hardcode_shlibpath_var=no
10217       ;;
10218
10219     *)
10220       ld_shlibs=no
10221       ;;
10222     esac
10223
10224     if test x$host_vendor = xsni; then
10225       case $host in
10226       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10227         export_dynamic_flag_spec='${wl}-Blargedynsym'
10228         ;;
10229       esac
10230     fi
10231   fi
10232
10233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10234 $as_echo "$ld_shlibs" >&6; }
10235 test "$ld_shlibs" = no && can_build_shared=no
10236
10237 with_gnu_ld=$with_gnu_ld
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253 #
10254 # Do we need to explicitly link libc?
10255 #
10256 case "x$archive_cmds_need_lc" in
10257 x|xyes)
10258   # Assume -lc should be added
10259   archive_cmds_need_lc=yes
10260
10261   if test "$enable_shared" = yes && test "$GCC" = yes; then
10262     case $archive_cmds in
10263     *'~'*)
10264       # FIXME: we may have to deal with multi-command sequences.
10265       ;;
10266     '$CC '*)
10267       # Test whether the compiler implicitly links with -lc since on some
10268       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10269       # to ld, don't add -lc before -lgcc.
10270       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10271 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10272 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10273   $as_echo_n "(cached) " >&6
10274 else
10275   $RM conftest*
10276         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10277
10278         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10279   (eval $ac_compile) 2>&5
10280   ac_status=$?
10281   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10282   test $ac_status = 0; } 2>conftest.err; then
10283           soname=conftest
10284           lib=conftest
10285           libobjs=conftest.$ac_objext
10286           deplibs=
10287           wl=$lt_prog_compiler_wl
10288           pic_flag=$lt_prog_compiler_pic
10289           compiler_flags=-v
10290           linker_flags=-v
10291           verstring=
10292           output_objdir=.
10293           libname=conftest
10294           lt_save_allow_undefined_flag=$allow_undefined_flag
10295           allow_undefined_flag=
10296           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10297   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10298   ac_status=$?
10299   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10300   test $ac_status = 0; }
10301           then
10302             lt_cv_archive_cmds_need_lc=no
10303           else
10304             lt_cv_archive_cmds_need_lc=yes
10305           fi
10306           allow_undefined_flag=$lt_save_allow_undefined_flag
10307         else
10308           cat conftest.err 1>&5
10309         fi
10310         $RM conftest*
10311
10312 fi
10313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10314 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10315       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10316       ;;
10317     esac
10318   fi
10319   ;;
10320 esac
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10474 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10475
10476 if test "$GCC" = yes; then
10477   case $host_os in
10478     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10479     *) lt_awk_arg="/^libraries:/" ;;
10480   esac
10481   case $host_os in
10482     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10483     *) lt_sed_strip_eq="s,=/,/,g" ;;
10484   esac
10485   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10486   case $lt_search_path_spec in
10487   *\;*)
10488     # if the path contains ";" then we assume it to be the separator
10489     # otherwise default to the standard path separator (i.e. ":") - it is
10490     # assumed that no part of a normal pathname contains ";" but that should
10491     # okay in the real world where ";" in dirpaths is itself problematic.
10492     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10493     ;;
10494   *)
10495     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10496     ;;
10497   esac
10498   # Ok, now we have the path, separated by spaces, we can step through it
10499   # and add multilib dir if necessary.
10500   lt_tmp_lt_search_path_spec=
10501   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10502   for lt_sys_path in $lt_search_path_spec; do
10503     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10504       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10505     else
10506       test -d "$lt_sys_path" && \
10507         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10508     fi
10509   done
10510   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10511 BEGIN {RS=" "; FS="/|\n";} {
10512   lt_foo="";
10513   lt_count=0;
10514   for (lt_i = NF; lt_i > 0; lt_i--) {
10515     if ($lt_i != "" && $lt_i != ".") {
10516       if ($lt_i == "..") {
10517         lt_count++;
10518       } else {
10519         if (lt_count == 0) {
10520           lt_foo="/" $lt_i lt_foo;
10521         } else {
10522           lt_count--;
10523         }
10524       }
10525     }
10526   }
10527   if (lt_foo != "") { lt_freq[lt_foo]++; }
10528   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10529 }'`
10530   # AWK program above erroneously prepends '/' to C:/dos/paths
10531   # for these hosts.
10532   case $host_os in
10533     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10534       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10535   esac
10536   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10537 else
10538   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10539 fi
10540 library_names_spec=
10541 libname_spec='lib$name'
10542 soname_spec=
10543 shrext_cmds=".so"
10544 postinstall_cmds=
10545 postuninstall_cmds=
10546 finish_cmds=
10547 finish_eval=
10548 shlibpath_var=
10549 shlibpath_overrides_runpath=unknown
10550 version_type=none
10551 dynamic_linker="$host_os ld.so"
10552 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10553 need_lib_prefix=unknown
10554 hardcode_into_libs=no
10555
10556 # when you set need_version to no, make sure it does not cause -set_version
10557 # flags to be left without arguments
10558 need_version=unknown
10559
10560 case $host_os in
10561 aix3*)
10562   version_type=linux # correct to gnu/linux during the next big refactor
10563   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10564   shlibpath_var=LIBPATH
10565
10566   # AIX 3 has no versioning support, so we append a major version to the name.
10567   soname_spec='${libname}${release}${shared_ext}$major'
10568   ;;
10569
10570 aix[4-9]*)
10571   version_type=linux # correct to gnu/linux during the next big refactor
10572   need_lib_prefix=no
10573   need_version=no
10574   hardcode_into_libs=yes
10575   if test "$host_cpu" = ia64; then
10576     # AIX 5 supports IA64
10577     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10578     shlibpath_var=LD_LIBRARY_PATH
10579   else
10580     # With GCC up to 2.95.x, collect2 would create an import file
10581     # for dependence libraries.  The import file would start with
10582     # the line `#! .'.  This would cause the generated library to
10583     # depend on `.', always an invalid library.  This was fixed in
10584     # development snapshots of GCC prior to 3.0.
10585     case $host_os in
10586       aix4 | aix4.[01] | aix4.[01].*)
10587       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10588            echo ' yes '
10589            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10590         :
10591       else
10592         can_build_shared=no
10593       fi
10594       ;;
10595     esac
10596     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10597     # soname into executable. Probably we can add versioning support to
10598     # collect2, so additional links can be useful in future.
10599     if test "$aix_use_runtimelinking" = yes; then
10600       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10601       # instead of lib<name>.a to let people know that these are not
10602       # typical AIX shared libraries.
10603       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10604     else
10605       # We preserve .a as extension for shared libraries through AIX4.2
10606       # and later when we are not doing run time linking.
10607       library_names_spec='${libname}${release}.a $libname.a'
10608       soname_spec='${libname}${release}${shared_ext}$major'
10609     fi
10610     shlibpath_var=LIBPATH
10611   fi
10612   ;;
10613
10614 amigaos*)
10615   case $host_cpu in
10616   powerpc)
10617     # Since July 2007 AmigaOS4 officially supports .so libraries.
10618     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10619     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10620     ;;
10621   m68k)
10622     library_names_spec='$libname.ixlibrary $libname.a'
10623     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10624     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'
10625     ;;
10626   esac
10627   ;;
10628
10629 beos*)
10630   library_names_spec='${libname}${shared_ext}'
10631   dynamic_linker="$host_os ld.so"
10632   shlibpath_var=LIBRARY_PATH
10633   ;;
10634
10635 bsdi[45]*)
10636   version_type=linux # correct to gnu/linux during the next big refactor
10637   need_version=no
10638   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10639   soname_spec='${libname}${release}${shared_ext}$major'
10640   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10641   shlibpath_var=LD_LIBRARY_PATH
10642   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10643   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10644   # the default ld.so.conf also contains /usr/contrib/lib and
10645   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10646   # libtool to hard-code these into programs
10647   ;;
10648
10649 cygwin* | mingw* | pw32* | cegcc*)
10650   version_type=windows
10651   shrext_cmds=".dll"
10652   need_version=no
10653   need_lib_prefix=no
10654
10655   case $GCC,$cc_basename in
10656   yes,*)
10657     # gcc
10658     library_names_spec='$libname.dll.a'
10659     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10660     postinstall_cmds='base_file=`basename \${file}`~
10661       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10662       dldir=$destdir/`dirname \$dlpath`~
10663       test -d \$dldir || mkdir -p \$dldir~
10664       $install_prog $dir/$dlname \$dldir/$dlname~
10665       chmod a+x \$dldir/$dlname~
10666       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10667         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10668       fi'
10669     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10670       dlpath=$dir/\$dldll~
10671        $RM \$dlpath'
10672     shlibpath_overrides_runpath=yes
10673
10674     case $host_os in
10675     cygwin*)
10676       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10677       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10678
10679       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10680       ;;
10681     mingw* | cegcc*)
10682       # MinGW DLLs use traditional 'lib' prefix
10683       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10684       ;;
10685     pw32*)
10686       # pw32 DLLs use 'pw' prefix rather than 'lib'
10687       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10688       ;;
10689     esac
10690     dynamic_linker='Win32 ld.exe'
10691     ;;
10692
10693   *,cl*)
10694     # Native MSVC
10695     libname_spec='$name'
10696     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10697     library_names_spec='${libname}.dll.lib'
10698
10699     case $build_os in
10700     mingw*)
10701       sys_lib_search_path_spec=
10702       lt_save_ifs=$IFS
10703       IFS=';'
10704       for lt_path in $LIB
10705       do
10706         IFS=$lt_save_ifs
10707         # Let DOS variable expansion print the short 8.3 style file name.
10708         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10709         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10710       done
10711       IFS=$lt_save_ifs
10712       # Convert to MSYS style.
10713       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10714       ;;
10715     cygwin*)
10716       # Convert to unix form, then to dos form, then back to unix form
10717       # but this time dos style (no spaces!) so that the unix form looks
10718       # like /cygdrive/c/PROGRA~1:/cygdr...
10719       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10720       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10721       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10722       ;;
10723     *)
10724       sys_lib_search_path_spec="$LIB"
10725       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10726         # It is most probably a Windows format PATH.
10727         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10728       else
10729         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10730       fi
10731       # FIXME: find the short name or the path components, as spaces are
10732       # common. (e.g. "Program Files" -> "PROGRA~1")
10733       ;;
10734     esac
10735
10736     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10737     postinstall_cmds='base_file=`basename \${file}`~
10738       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10739       dldir=$destdir/`dirname \$dlpath`~
10740       test -d \$dldir || mkdir -p \$dldir~
10741       $install_prog $dir/$dlname \$dldir/$dlname'
10742     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10743       dlpath=$dir/\$dldll~
10744        $RM \$dlpath'
10745     shlibpath_overrides_runpath=yes
10746     dynamic_linker='Win32 link.exe'
10747     ;;
10748
10749   *)
10750     # Assume MSVC wrapper
10751     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10752     dynamic_linker='Win32 ld.exe'
10753     ;;
10754   esac
10755   # FIXME: first we should search . and the directory the executable is in
10756   shlibpath_var=PATH
10757   ;;
10758
10759 darwin* | rhapsody*)
10760   dynamic_linker="$host_os dyld"
10761   version_type=darwin
10762   need_lib_prefix=no
10763   need_version=no
10764   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10765   soname_spec='${libname}${release}${major}$shared_ext'
10766   shlibpath_overrides_runpath=yes
10767   shlibpath_var=DYLD_LIBRARY_PATH
10768   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10769
10770   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10771   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10772   ;;
10773
10774 dgux*)
10775   version_type=linux # correct to gnu/linux during the next big refactor
10776   need_lib_prefix=no
10777   need_version=no
10778   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10779   soname_spec='${libname}${release}${shared_ext}$major'
10780   shlibpath_var=LD_LIBRARY_PATH
10781   ;;
10782
10783 freebsd* | dragonfly*)
10784   # DragonFly does not have aout.  When/if they implement a new
10785   # versioning mechanism, adjust this.
10786   if test -x /usr/bin/objformat; then
10787     objformat=`/usr/bin/objformat`
10788   else
10789     case $host_os in
10790     freebsd[23].*) objformat=aout ;;
10791     *) objformat=elf ;;
10792     esac
10793   fi
10794   version_type=freebsd-$objformat
10795   case $version_type in
10796     freebsd-elf*)
10797       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10798       need_version=no
10799       need_lib_prefix=no
10800       ;;
10801     freebsd-*)
10802       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10803       need_version=yes
10804       ;;
10805   esac
10806   shlibpath_var=LD_LIBRARY_PATH
10807   case $host_os in
10808   freebsd2.*)
10809     shlibpath_overrides_runpath=yes
10810     ;;
10811   freebsd3.[01]* | freebsdelf3.[01]*)
10812     shlibpath_overrides_runpath=yes
10813     hardcode_into_libs=yes
10814     ;;
10815   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10816   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10817     shlibpath_overrides_runpath=no
10818     hardcode_into_libs=yes
10819     ;;
10820   *) # from 4.6 on, and DragonFly
10821     shlibpath_overrides_runpath=yes
10822     hardcode_into_libs=yes
10823     ;;
10824   esac
10825   ;;
10826
10827 haiku*)
10828   version_type=linux # correct to gnu/linux during the next big refactor
10829   need_lib_prefix=no
10830   need_version=no
10831   dynamic_linker="$host_os runtime_loader"
10832   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10833   soname_spec='${libname}${release}${shared_ext}$major'
10834   shlibpath_var=LIBRARY_PATH
10835   shlibpath_overrides_runpath=yes
10836   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10837   hardcode_into_libs=yes
10838   ;;
10839
10840 hpux9* | hpux10* | hpux11*)
10841   # Give a soname corresponding to the major version so that dld.sl refuses to
10842   # link against other versions.
10843   version_type=sunos
10844   need_lib_prefix=no
10845   need_version=no
10846   case $host_cpu in
10847   ia64*)
10848     shrext_cmds='.so'
10849     hardcode_into_libs=yes
10850     dynamic_linker="$host_os dld.so"
10851     shlibpath_var=LD_LIBRARY_PATH
10852     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10853     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10854     soname_spec='${libname}${release}${shared_ext}$major'
10855     if test "X$HPUX_IA64_MODE" = X32; then
10856       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10857     else
10858       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10859     fi
10860     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10861     ;;
10862   hppa*64*)
10863     shrext_cmds='.sl'
10864     hardcode_into_libs=yes
10865     dynamic_linker="$host_os dld.sl"
10866     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10867     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10868     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10869     soname_spec='${libname}${release}${shared_ext}$major'
10870     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10871     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10872     ;;
10873   *)
10874     shrext_cmds='.sl'
10875     dynamic_linker="$host_os dld.sl"
10876     shlibpath_var=SHLIB_PATH
10877     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10878     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10879     soname_spec='${libname}${release}${shared_ext}$major'
10880     ;;
10881   esac
10882   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10883   postinstall_cmds='chmod 555 $lib'
10884   # or fails outright, so override atomically:
10885   install_override_mode=555
10886   ;;
10887
10888 interix[3-9]*)
10889   version_type=linux # correct to gnu/linux during the next big refactor
10890   need_lib_prefix=no
10891   need_version=no
10892   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10893   soname_spec='${libname}${release}${shared_ext}$major'
10894   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10895   shlibpath_var=LD_LIBRARY_PATH
10896   shlibpath_overrides_runpath=no
10897   hardcode_into_libs=yes
10898   ;;
10899
10900 irix5* | irix6* | nonstopux*)
10901   case $host_os in
10902     nonstopux*) version_type=nonstopux ;;
10903     *)
10904         if test "$lt_cv_prog_gnu_ld" = yes; then
10905                 version_type=linux # correct to gnu/linux during the next big refactor
10906         else
10907                 version_type=irix
10908         fi ;;
10909   esac
10910   need_lib_prefix=no
10911   need_version=no
10912   soname_spec='${libname}${release}${shared_ext}$major'
10913   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10914   case $host_os in
10915   irix5* | nonstopux*)
10916     libsuff= shlibsuff=
10917     ;;
10918   *)
10919     case $LD in # libtool.m4 will add one of these switches to LD
10920     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10921       libsuff= shlibsuff= libmagic=32-bit;;
10922     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10923       libsuff=32 shlibsuff=N32 libmagic=N32;;
10924     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10925       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10926     *) libsuff= shlibsuff= libmagic=never-match;;
10927     esac
10928     ;;
10929   esac
10930   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10931   shlibpath_overrides_runpath=no
10932   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10933   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10934   hardcode_into_libs=yes
10935   ;;
10936
10937 # No shared lib support for Linux oldld, aout, or coff.
10938 linux*oldld* | linux*aout* | linux*coff*)
10939   dynamic_linker=no
10940   ;;
10941
10942 # This must be glibc/ELF.
10943 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10944   version_type=linux # correct to gnu/linux during the next big refactor
10945   need_lib_prefix=no
10946   need_version=no
10947   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10948   soname_spec='${libname}${release}${shared_ext}$major'
10949   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10950   shlibpath_var=LD_LIBRARY_PATH
10951   shlibpath_overrides_runpath=no
10952
10953   # Some binutils ld are patched to set DT_RUNPATH
10954   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10955   $as_echo_n "(cached) " >&6
10956 else
10957   lt_cv_shlibpath_overrides_runpath=no
10958     save_LDFLAGS=$LDFLAGS
10959     save_libdir=$libdir
10960     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10961          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10962     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10963 /* end confdefs.h.  */
10964
10965 int
10966 main ()
10967 {
10968
10969   ;
10970   return 0;
10971 }
10972 _ACEOF
10973 if ac_fn_c_try_link "$LINENO"; then :
10974   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10975   lt_cv_shlibpath_overrides_runpath=yes
10976 fi
10977 fi
10978 rm -f core conftest.err conftest.$ac_objext \
10979     conftest$ac_exeext conftest.$ac_ext
10980     LDFLAGS=$save_LDFLAGS
10981     libdir=$save_libdir
10982
10983 fi
10984
10985   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10986
10987   # This implies no fast_install, which is unacceptable.
10988   # Some rework will be needed to allow for fast_install
10989   # before this can be enabled.
10990   hardcode_into_libs=yes
10991
10992   # Append ld.so.conf contents to the search path
10993   if test -f /etc/ld.so.conf; then
10994     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' ' '`
10995     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10996   fi
10997
10998   # We used to test for /lib/ld.so.1 and disable shared libraries on
10999   # powerpc, because MkLinux only supported shared libraries with the
11000   # GNU dynamic linker.  Since this was broken with cross compilers,
11001   # most powerpc-linux boxes support dynamic linking these days and
11002   # people can always --disable-shared, the test was removed, and we
11003   # assume the GNU/Linux dynamic linker is in use.
11004   dynamic_linker='GNU/Linux ld.so'
11005   ;;
11006
11007 netbsdelf*-gnu)
11008   version_type=linux
11009   need_lib_prefix=no
11010   need_version=no
11011   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11012   soname_spec='${libname}${release}${shared_ext}$major'
11013   shlibpath_var=LD_LIBRARY_PATH
11014   shlibpath_overrides_runpath=no
11015   hardcode_into_libs=yes
11016   dynamic_linker='NetBSD ld.elf_so'
11017   ;;
11018
11019 netbsd*)
11020   version_type=sunos
11021   need_lib_prefix=no
11022   need_version=no
11023   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11024     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11025     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11026     dynamic_linker='NetBSD (a.out) ld.so'
11027   else
11028     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11029     soname_spec='${libname}${release}${shared_ext}$major'
11030     dynamic_linker='NetBSD ld.elf_so'
11031   fi
11032   shlibpath_var=LD_LIBRARY_PATH
11033   shlibpath_overrides_runpath=yes
11034   hardcode_into_libs=yes
11035   ;;
11036
11037 newsos6)
11038   version_type=linux # correct to gnu/linux during the next big refactor
11039   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11040   shlibpath_var=LD_LIBRARY_PATH
11041   shlibpath_overrides_runpath=yes
11042   ;;
11043
11044 *nto* | *qnx*)
11045   version_type=qnx
11046   need_lib_prefix=no
11047   need_version=no
11048   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11049   soname_spec='${libname}${release}${shared_ext}$major'
11050   shlibpath_var=LD_LIBRARY_PATH
11051   shlibpath_overrides_runpath=no
11052   hardcode_into_libs=yes
11053   dynamic_linker='ldqnx.so'
11054   ;;
11055
11056 openbsd*)
11057   version_type=sunos
11058   sys_lib_dlsearch_path_spec="/usr/lib"
11059   need_lib_prefix=no
11060   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11061   case $host_os in
11062     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11063     *)                          need_version=no  ;;
11064   esac
11065   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11066   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11067   shlibpath_var=LD_LIBRARY_PATH
11068   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11069     case $host_os in
11070       openbsd2.[89] | openbsd2.[89].*)
11071         shlibpath_overrides_runpath=no
11072         ;;
11073       *)
11074         shlibpath_overrides_runpath=yes
11075         ;;
11076       esac
11077   else
11078     shlibpath_overrides_runpath=yes
11079   fi
11080   ;;
11081
11082 os2*)
11083   libname_spec='$name'
11084   shrext_cmds=".dll"
11085   need_lib_prefix=no
11086   library_names_spec='$libname${shared_ext} $libname.a'
11087   dynamic_linker='OS/2 ld.exe'
11088   shlibpath_var=LIBPATH
11089   ;;
11090
11091 osf3* | osf4* | osf5*)
11092   version_type=osf
11093   need_lib_prefix=no
11094   need_version=no
11095   soname_spec='${libname}${release}${shared_ext}$major'
11096   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11097   shlibpath_var=LD_LIBRARY_PATH
11098   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11099   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11100   ;;
11101
11102 rdos*)
11103   dynamic_linker=no
11104   ;;
11105
11106 solaris*)
11107   version_type=linux # correct to gnu/linux during the next big refactor
11108   need_lib_prefix=no
11109   need_version=no
11110   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11111   soname_spec='${libname}${release}${shared_ext}$major'
11112   shlibpath_var=LD_LIBRARY_PATH
11113   shlibpath_overrides_runpath=yes
11114   hardcode_into_libs=yes
11115   # ldd complains unless libraries are executable
11116   postinstall_cmds='chmod +x $lib'
11117   ;;
11118
11119 sunos4*)
11120   version_type=sunos
11121   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11122   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11123   shlibpath_var=LD_LIBRARY_PATH
11124   shlibpath_overrides_runpath=yes
11125   if test "$with_gnu_ld" = yes; then
11126     need_lib_prefix=no
11127   fi
11128   need_version=yes
11129   ;;
11130
11131 sysv4 | sysv4.3*)
11132   version_type=linux # correct to gnu/linux during the next big refactor
11133   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11134   soname_spec='${libname}${release}${shared_ext}$major'
11135   shlibpath_var=LD_LIBRARY_PATH
11136   case $host_vendor in
11137     sni)
11138       shlibpath_overrides_runpath=no
11139       need_lib_prefix=no
11140       runpath_var=LD_RUN_PATH
11141       ;;
11142     siemens)
11143       need_lib_prefix=no
11144       ;;
11145     motorola)
11146       need_lib_prefix=no
11147       need_version=no
11148       shlibpath_overrides_runpath=no
11149       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11150       ;;
11151   esac
11152   ;;
11153
11154 sysv4*MP*)
11155   if test -d /usr/nec ;then
11156     version_type=linux # correct to gnu/linux during the next big refactor
11157     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11158     soname_spec='$libname${shared_ext}.$major'
11159     shlibpath_var=LD_LIBRARY_PATH
11160   fi
11161   ;;
11162
11163 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11164   version_type=freebsd-elf
11165   need_lib_prefix=no
11166   need_version=no
11167   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11168   soname_spec='${libname}${release}${shared_ext}$major'
11169   shlibpath_var=LD_LIBRARY_PATH
11170   shlibpath_overrides_runpath=yes
11171   hardcode_into_libs=yes
11172   if test "$with_gnu_ld" = yes; then
11173     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11174   else
11175     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11176     case $host_os in
11177       sco3.2v5*)
11178         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11179         ;;
11180     esac
11181   fi
11182   sys_lib_dlsearch_path_spec='/usr/lib'
11183   ;;
11184
11185 tpf*)
11186   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11187   version_type=linux # correct to gnu/linux during the next big refactor
11188   need_lib_prefix=no
11189   need_version=no
11190   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11191   shlibpath_var=LD_LIBRARY_PATH
11192   shlibpath_overrides_runpath=no
11193   hardcode_into_libs=yes
11194   ;;
11195
11196 uts4*)
11197   version_type=linux # correct to gnu/linux during the next big refactor
11198   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11199   soname_spec='${libname}${release}${shared_ext}$major'
11200   shlibpath_var=LD_LIBRARY_PATH
11201   ;;
11202
11203 *)
11204   dynamic_linker=no
11205   ;;
11206 esac
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11208 $as_echo "$dynamic_linker" >&6; }
11209 test "$dynamic_linker" = no && can_build_shared=no
11210
11211 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11212 if test "$GCC" = yes; then
11213   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11214 fi
11215
11216 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11217   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11218 fi
11219 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11220   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11221 fi
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11315 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11316 hardcode_action=
11317 if test -n "$hardcode_libdir_flag_spec" ||
11318    test -n "$runpath_var" ||
11319    test "X$hardcode_automatic" = "Xyes" ; then
11320
11321   # We can hardcode non-existent directories.
11322   if test "$hardcode_direct" != no &&
11323      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11324      # have to relink, otherwise we might link with an installed library
11325      # when we should be linking with a yet-to-be-installed one
11326      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11327      test "$hardcode_minus_L" != no; then
11328     # Linking always hardcodes the temporary library directory.
11329     hardcode_action=relink
11330   else
11331     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11332     hardcode_action=immediate
11333   fi
11334 else
11335   # We cannot hardcode anything, or else we can only hardcode existing
11336   # directories.
11337   hardcode_action=unsupported
11338 fi
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11340 $as_echo "$hardcode_action" >&6; }
11341
11342 if test "$hardcode_action" = relink ||
11343    test "$inherit_rpath" = yes; then
11344   # Fast installation is not supported
11345   enable_fast_install=no
11346 elif test "$shlibpath_overrides_runpath" = yes ||
11347      test "$enable_shared" = no; then
11348   # Fast installation is not necessary
11349   enable_fast_install=needless
11350 fi
11351
11352
11353
11354
11355
11356
11357   if test "x$enable_dlopen" != xyes; then
11358   enable_dlopen=unknown
11359   enable_dlopen_self=unknown
11360   enable_dlopen_self_static=unknown
11361 else
11362   lt_cv_dlopen=no
11363   lt_cv_dlopen_libs=
11364
11365   case $host_os in
11366   beos*)
11367     lt_cv_dlopen="load_add_on"
11368     lt_cv_dlopen_libs=
11369     lt_cv_dlopen_self=yes
11370     ;;
11371
11372   mingw* | pw32* | cegcc*)
11373     lt_cv_dlopen="LoadLibrary"
11374     lt_cv_dlopen_libs=
11375     ;;
11376
11377   cygwin*)
11378     lt_cv_dlopen="dlopen"
11379     lt_cv_dlopen_libs=
11380     ;;
11381
11382   darwin*)
11383   # if libdl is installed we need to link against it
11384     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11385 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11386 if ${ac_cv_lib_dl_dlopen+:} false; then :
11387   $as_echo_n "(cached) " >&6
11388 else
11389   ac_check_lib_save_LIBS=$LIBS
11390 LIBS="-ldl  $LIBS"
11391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11392 /* end confdefs.h.  */
11393
11394 /* Override any GCC internal prototype to avoid an error.
11395    Use char because int might match the return type of a GCC
11396    builtin and then its argument prototype would still apply.  */
11397 #ifdef __cplusplus
11398 extern "C"
11399 #endif
11400 char dlopen ();
11401 int
11402 main ()
11403 {
11404 return dlopen ();
11405   ;
11406   return 0;
11407 }
11408 _ACEOF
11409 if ac_fn_c_try_link "$LINENO"; then :
11410   ac_cv_lib_dl_dlopen=yes
11411 else
11412   ac_cv_lib_dl_dlopen=no
11413 fi
11414 rm -f core conftest.err conftest.$ac_objext \
11415     conftest$ac_exeext conftest.$ac_ext
11416 LIBS=$ac_check_lib_save_LIBS
11417 fi
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11419 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11420 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11421   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11422 else
11423
11424     lt_cv_dlopen="dyld"
11425     lt_cv_dlopen_libs=
11426     lt_cv_dlopen_self=yes
11427
11428 fi
11429
11430     ;;
11431
11432   *)
11433     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11434 if test "x$ac_cv_func_shl_load" = xyes; then :
11435   lt_cv_dlopen="shl_load"
11436 else
11437   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11438 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11439 if ${ac_cv_lib_dld_shl_load+:} false; then :
11440   $as_echo_n "(cached) " >&6
11441 else
11442   ac_check_lib_save_LIBS=$LIBS
11443 LIBS="-ldld  $LIBS"
11444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11445 /* end confdefs.h.  */
11446
11447 /* Override any GCC internal prototype to avoid an error.
11448    Use char because int might match the return type of a GCC
11449    builtin and then its argument prototype would still apply.  */
11450 #ifdef __cplusplus
11451 extern "C"
11452 #endif
11453 char shl_load ();
11454 int
11455 main ()
11456 {
11457 return shl_load ();
11458   ;
11459   return 0;
11460 }
11461 _ACEOF
11462 if ac_fn_c_try_link "$LINENO"; then :
11463   ac_cv_lib_dld_shl_load=yes
11464 else
11465   ac_cv_lib_dld_shl_load=no
11466 fi
11467 rm -f core conftest.err conftest.$ac_objext \
11468     conftest$ac_exeext conftest.$ac_ext
11469 LIBS=$ac_check_lib_save_LIBS
11470 fi
11471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11472 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11473 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11474   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11475 else
11476   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11477 if test "x$ac_cv_func_dlopen" = xyes; then :
11478   lt_cv_dlopen="dlopen"
11479 else
11480   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11481 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11482 if ${ac_cv_lib_dl_dlopen+:} false; then :
11483   $as_echo_n "(cached) " >&6
11484 else
11485   ac_check_lib_save_LIBS=$LIBS
11486 LIBS="-ldl  $LIBS"
11487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11488 /* end confdefs.h.  */
11489
11490 /* Override any GCC internal prototype to avoid an error.
11491    Use char because int might match the return type of a GCC
11492    builtin and then its argument prototype would still apply.  */
11493 #ifdef __cplusplus
11494 extern "C"
11495 #endif
11496 char dlopen ();
11497 int
11498 main ()
11499 {
11500 return dlopen ();
11501   ;
11502   return 0;
11503 }
11504 _ACEOF
11505 if ac_fn_c_try_link "$LINENO"; then :
11506   ac_cv_lib_dl_dlopen=yes
11507 else
11508   ac_cv_lib_dl_dlopen=no
11509 fi
11510 rm -f core conftest.err conftest.$ac_objext \
11511     conftest$ac_exeext conftest.$ac_ext
11512 LIBS=$ac_check_lib_save_LIBS
11513 fi
11514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11515 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11516 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11517   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11518 else
11519   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11520 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11521 if ${ac_cv_lib_svld_dlopen+:} false; then :
11522   $as_echo_n "(cached) " >&6
11523 else
11524   ac_check_lib_save_LIBS=$LIBS
11525 LIBS="-lsvld  $LIBS"
11526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11527 /* end confdefs.h.  */
11528
11529 /* Override any GCC internal prototype to avoid an error.
11530    Use char because int might match the return type of a GCC
11531    builtin and then its argument prototype would still apply.  */
11532 #ifdef __cplusplus
11533 extern "C"
11534 #endif
11535 char dlopen ();
11536 int
11537 main ()
11538 {
11539 return dlopen ();
11540   ;
11541   return 0;
11542 }
11543 _ACEOF
11544 if ac_fn_c_try_link "$LINENO"; then :
11545   ac_cv_lib_svld_dlopen=yes
11546 else
11547   ac_cv_lib_svld_dlopen=no
11548 fi
11549 rm -f core conftest.err conftest.$ac_objext \
11550     conftest$ac_exeext conftest.$ac_ext
11551 LIBS=$ac_check_lib_save_LIBS
11552 fi
11553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11554 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11555 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11556   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11557 else
11558   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11559 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11560 if ${ac_cv_lib_dld_dld_link+:} false; then :
11561   $as_echo_n "(cached) " >&6
11562 else
11563   ac_check_lib_save_LIBS=$LIBS
11564 LIBS="-ldld  $LIBS"
11565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11566 /* end confdefs.h.  */
11567
11568 /* Override any GCC internal prototype to avoid an error.
11569    Use char because int might match the return type of a GCC
11570    builtin and then its argument prototype would still apply.  */
11571 #ifdef __cplusplus
11572 extern "C"
11573 #endif
11574 char dld_link ();
11575 int
11576 main ()
11577 {
11578 return dld_link ();
11579   ;
11580   return 0;
11581 }
11582 _ACEOF
11583 if ac_fn_c_try_link "$LINENO"; then :
11584   ac_cv_lib_dld_dld_link=yes
11585 else
11586   ac_cv_lib_dld_dld_link=no
11587 fi
11588 rm -f core conftest.err conftest.$ac_objext \
11589     conftest$ac_exeext conftest.$ac_ext
11590 LIBS=$ac_check_lib_save_LIBS
11591 fi
11592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11593 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11594 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11595   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11596 fi
11597
11598
11599 fi
11600
11601
11602 fi
11603
11604
11605 fi
11606
11607
11608 fi
11609
11610
11611 fi
11612
11613     ;;
11614   esac
11615
11616   if test "x$lt_cv_dlopen" != xno; then
11617     enable_dlopen=yes
11618   else
11619     enable_dlopen=no
11620   fi
11621
11622   case $lt_cv_dlopen in
11623   dlopen)
11624     save_CPPFLAGS="$CPPFLAGS"
11625     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11626
11627     save_LDFLAGS="$LDFLAGS"
11628     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11629
11630     save_LIBS="$LIBS"
11631     LIBS="$lt_cv_dlopen_libs $LIBS"
11632
11633     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11634 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11635 if ${lt_cv_dlopen_self+:} false; then :
11636   $as_echo_n "(cached) " >&6
11637 else
11638           if test "$cross_compiling" = yes; then :
11639   lt_cv_dlopen_self=cross
11640 else
11641   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11642   lt_status=$lt_dlunknown
11643   cat > conftest.$ac_ext <<_LT_EOF
11644 #line $LINENO "configure"
11645 #include "confdefs.h"
11646
11647 #if HAVE_DLFCN_H
11648 #include <dlfcn.h>
11649 #endif
11650
11651 #include <stdio.h>
11652
11653 #ifdef RTLD_GLOBAL
11654 #  define LT_DLGLOBAL           RTLD_GLOBAL
11655 #else
11656 #  ifdef DL_GLOBAL
11657 #    define LT_DLGLOBAL         DL_GLOBAL
11658 #  else
11659 #    define LT_DLGLOBAL         0
11660 #  endif
11661 #endif
11662
11663 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11664    find out it does not work in some platform. */
11665 #ifndef LT_DLLAZY_OR_NOW
11666 #  ifdef RTLD_LAZY
11667 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11668 #  else
11669 #    ifdef DL_LAZY
11670 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11671 #    else
11672 #      ifdef RTLD_NOW
11673 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11674 #      else
11675 #        ifdef DL_NOW
11676 #          define LT_DLLAZY_OR_NOW      DL_NOW
11677 #        else
11678 #          define LT_DLLAZY_OR_NOW      0
11679 #        endif
11680 #      endif
11681 #    endif
11682 #  endif
11683 #endif
11684
11685 /* When -fvisbility=hidden is used, assume the code has been annotated
11686    correspondingly for the symbols needed.  */
11687 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11688 int fnord () __attribute__((visibility("default")));
11689 #endif
11690
11691 int fnord () { return 42; }
11692 int main ()
11693 {
11694   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11695   int status = $lt_dlunknown;
11696
11697   if (self)
11698     {
11699       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11700       else
11701         {
11702           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11703           else puts (dlerror ());
11704         }
11705       /* dlclose (self); */
11706     }
11707   else
11708     puts (dlerror ());
11709
11710   return status;
11711 }
11712 _LT_EOF
11713   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11714   (eval $ac_link) 2>&5
11715   ac_status=$?
11716   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11717   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11718     (./conftest; exit; ) >&5 2>/dev/null
11719     lt_status=$?
11720     case x$lt_status in
11721       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11722       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11723       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11724     esac
11725   else :
11726     # compilation failed
11727     lt_cv_dlopen_self=no
11728   fi
11729 fi
11730 rm -fr conftest*
11731
11732
11733 fi
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11735 $as_echo "$lt_cv_dlopen_self" >&6; }
11736
11737     if test "x$lt_cv_dlopen_self" = xyes; then
11738       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11739       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11740 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11741 if ${lt_cv_dlopen_self_static+:} false; then :
11742   $as_echo_n "(cached) " >&6
11743 else
11744           if test "$cross_compiling" = yes; then :
11745   lt_cv_dlopen_self_static=cross
11746 else
11747   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11748   lt_status=$lt_dlunknown
11749   cat > conftest.$ac_ext <<_LT_EOF
11750 #line $LINENO "configure"
11751 #include "confdefs.h"
11752
11753 #if HAVE_DLFCN_H
11754 #include <dlfcn.h>
11755 #endif
11756
11757 #include <stdio.h>
11758
11759 #ifdef RTLD_GLOBAL
11760 #  define LT_DLGLOBAL           RTLD_GLOBAL
11761 #else
11762 #  ifdef DL_GLOBAL
11763 #    define LT_DLGLOBAL         DL_GLOBAL
11764 #  else
11765 #    define LT_DLGLOBAL         0
11766 #  endif
11767 #endif
11768
11769 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11770    find out it does not work in some platform. */
11771 #ifndef LT_DLLAZY_OR_NOW
11772 #  ifdef RTLD_LAZY
11773 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11774 #  else
11775 #    ifdef DL_LAZY
11776 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11777 #    else
11778 #      ifdef RTLD_NOW
11779 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11780 #      else
11781 #        ifdef DL_NOW
11782 #          define LT_DLLAZY_OR_NOW      DL_NOW
11783 #        else
11784 #          define LT_DLLAZY_OR_NOW      0
11785 #        endif
11786 #      endif
11787 #    endif
11788 #  endif
11789 #endif
11790
11791 /* When -fvisbility=hidden is used, assume the code has been annotated
11792    correspondingly for the symbols needed.  */
11793 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11794 int fnord () __attribute__((visibility("default")));
11795 #endif
11796
11797 int fnord () { return 42; }
11798 int main ()
11799 {
11800   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11801   int status = $lt_dlunknown;
11802
11803   if (self)
11804     {
11805       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11806       else
11807         {
11808           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11809           else puts (dlerror ());
11810         }
11811       /* dlclose (self); */
11812     }
11813   else
11814     puts (dlerror ());
11815
11816   return status;
11817 }
11818 _LT_EOF
11819   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11820   (eval $ac_link) 2>&5
11821   ac_status=$?
11822   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11823   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11824     (./conftest; exit; ) >&5 2>/dev/null
11825     lt_status=$?
11826     case x$lt_status in
11827       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11828       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11829       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11830     esac
11831   else :
11832     # compilation failed
11833     lt_cv_dlopen_self_static=no
11834   fi
11835 fi
11836 rm -fr conftest*
11837
11838
11839 fi
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11841 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11842     fi
11843
11844     CPPFLAGS="$save_CPPFLAGS"
11845     LDFLAGS="$save_LDFLAGS"
11846     LIBS="$save_LIBS"
11847     ;;
11848   esac
11849
11850   case $lt_cv_dlopen_self in
11851   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11852   *) enable_dlopen_self=unknown ;;
11853   esac
11854
11855   case $lt_cv_dlopen_self_static in
11856   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11857   *) enable_dlopen_self_static=unknown ;;
11858   esac
11859 fi
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877 striplib=
11878 old_striplib=
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11880 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11881 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11882   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11883   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11885 $as_echo "yes" >&6; }
11886 else
11887 # FIXME - insert some real tests, host_os isn't really good enough
11888   case $host_os in
11889   darwin*)
11890     if test -n "$STRIP" ; then
11891       striplib="$STRIP -x"
11892       old_striplib="$STRIP -S"
11893       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11894 $as_echo "yes" >&6; }
11895     else
11896       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11897 $as_echo "no" >&6; }
11898     fi
11899     ;;
11900   *)
11901     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11902 $as_echo "no" >&6; }
11903     ;;
11904   esac
11905 fi
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918   # Report which library types will actually be built
11919   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11920 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11922 $as_echo "$can_build_shared" >&6; }
11923
11924   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11925 $as_echo_n "checking whether to build shared libraries... " >&6; }
11926   test "$can_build_shared" = "no" && enable_shared=no
11927
11928   # On AIX, shared libraries and static libraries use the same namespace, and
11929   # are all built from PIC.
11930   case $host_os in
11931   aix3*)
11932     test "$enable_shared" = yes && enable_static=no
11933     if test -n "$RANLIB"; then
11934       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11935       postinstall_cmds='$RANLIB $lib'
11936     fi
11937     ;;
11938
11939   aix[4-9]*)
11940     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11941       test "$enable_shared" = yes && enable_static=no
11942     fi
11943     ;;
11944   esac
11945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11946 $as_echo "$enable_shared" >&6; }
11947
11948   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11949 $as_echo_n "checking whether to build static libraries... " >&6; }
11950   # Make sure either enable_shared or enable_static is yes.
11951   test "$enable_shared" = yes || enable_static=yes
11952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11953 $as_echo "$enable_static" >&6; }
11954
11955
11956
11957
11958 fi
11959 ac_ext=c
11960 ac_cpp='$CPP $CPPFLAGS'
11961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11964
11965 CC="$lt_save_CC"
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981         ac_config_commands="$ac_config_commands libtool"
11982
11983
11984
11985
11986 # Only expand once:
11987
11988
11989
11990
11991
11992   for ac_func in $ac_func_list
11993 do :
11994   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11995 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11996 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11997   cat >>confdefs.h <<_ACEOF
11998 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11999 _ACEOF
12000
12001 fi
12002 done
12003
12004
12005
12006
12007
12008
12009
12010 # Checks for programs.
12011
12012
12013
12014
12015
12016
12017
12018 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12019         if test -n "$ac_tool_prefix"; then
12020   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12021 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12023 $as_echo_n "checking for $ac_word... " >&6; }
12024 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12025   $as_echo_n "(cached) " >&6
12026 else
12027   case $PKG_CONFIG in
12028   [\\/]* | ?:[\\/]*)
12029   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12030   ;;
12031   *)
12032   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12033 for as_dir in $PATH
12034 do
12035   IFS=$as_save_IFS
12036   test -z "$as_dir" && as_dir=.
12037     for ac_exec_ext in '' $ac_executable_extensions; do
12038   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12039     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12040     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12041     break 2
12042   fi
12043 done
12044   done
12045 IFS=$as_save_IFS
12046
12047   ;;
12048 esac
12049 fi
12050 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12051 if test -n "$PKG_CONFIG"; then
12052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12053 $as_echo "$PKG_CONFIG" >&6; }
12054 else
12055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12056 $as_echo "no" >&6; }
12057 fi
12058
12059
12060 fi
12061 if test -z "$ac_cv_path_PKG_CONFIG"; then
12062   ac_pt_PKG_CONFIG=$PKG_CONFIG
12063   # Extract the first word of "pkg-config", so it can be a program name with args.
12064 set dummy pkg-config; ac_word=$2
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12066 $as_echo_n "checking for $ac_word... " >&6; }
12067 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12068   $as_echo_n "(cached) " >&6
12069 else
12070   case $ac_pt_PKG_CONFIG in
12071   [\\/]* | ?:[\\/]*)
12072   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12073   ;;
12074   *)
12075   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12076 for as_dir in $PATH
12077 do
12078   IFS=$as_save_IFS
12079   test -z "$as_dir" && as_dir=.
12080     for ac_exec_ext in '' $ac_executable_extensions; do
12081   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12082     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12083     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12084     break 2
12085   fi
12086 done
12087   done
12088 IFS=$as_save_IFS
12089
12090   ;;
12091 esac
12092 fi
12093 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12094 if test -n "$ac_pt_PKG_CONFIG"; then
12095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12096 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12097 else
12098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12099 $as_echo "no" >&6; }
12100 fi
12101
12102   if test "x$ac_pt_PKG_CONFIG" = x; then
12103     PKG_CONFIG=""
12104   else
12105     case $cross_compiling:$ac_tool_warned in
12106 yes:)
12107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12108 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12109 ac_tool_warned=yes ;;
12110 esac
12111     PKG_CONFIG=$ac_pt_PKG_CONFIG
12112   fi
12113 else
12114   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12115 fi
12116
12117 fi
12118 if test -n "$PKG_CONFIG"; then
12119         _pkg_min_version=0.23
12120         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12121 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12122         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12123                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12124 $as_echo "yes" >&6; }
12125         else
12126                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12127 $as_echo "no" >&6; }
12128                 PKG_CONFIG=""
12129         fi
12130 fi
12131 ac_ext=c
12132 ac_cpp='$CPP $CPPFLAGS'
12133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12136 if test -n "$ac_tool_prefix"; then
12137   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12138 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12140 $as_echo_n "checking for $ac_word... " >&6; }
12141 if ${ac_cv_prog_CC+:} false; then :
12142   $as_echo_n "(cached) " >&6
12143 else
12144   if test -n "$CC"; then
12145   ac_cv_prog_CC="$CC" # Let the user override the test.
12146 else
12147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12148 for as_dir in $PATH
12149 do
12150   IFS=$as_save_IFS
12151   test -z "$as_dir" && as_dir=.
12152     for ac_exec_ext in '' $ac_executable_extensions; do
12153   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12154     ac_cv_prog_CC="${ac_tool_prefix}gcc"
12155     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12156     break 2
12157   fi
12158 done
12159   done
12160 IFS=$as_save_IFS
12161
12162 fi
12163 fi
12164 CC=$ac_cv_prog_CC
12165 if test -n "$CC"; then
12166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12167 $as_echo "$CC" >&6; }
12168 else
12169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12170 $as_echo "no" >&6; }
12171 fi
12172
12173
12174 fi
12175 if test -z "$ac_cv_prog_CC"; then
12176   ac_ct_CC=$CC
12177   # Extract the first word of "gcc", so it can be a program name with args.
12178 set dummy gcc; ac_word=$2
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12180 $as_echo_n "checking for $ac_word... " >&6; }
12181 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12182   $as_echo_n "(cached) " >&6
12183 else
12184   if test -n "$ac_ct_CC"; then
12185   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12186 else
12187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12188 for as_dir in $PATH
12189 do
12190   IFS=$as_save_IFS
12191   test -z "$as_dir" && as_dir=.
12192     for ac_exec_ext in '' $ac_executable_extensions; do
12193   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12194     ac_cv_prog_ac_ct_CC="gcc"
12195     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12196     break 2
12197   fi
12198 done
12199   done
12200 IFS=$as_save_IFS
12201
12202 fi
12203 fi
12204 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12205 if test -n "$ac_ct_CC"; then
12206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12207 $as_echo "$ac_ct_CC" >&6; }
12208 else
12209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12210 $as_echo "no" >&6; }
12211 fi
12212
12213   if test "x$ac_ct_CC" = x; then
12214     CC=""
12215   else
12216     case $cross_compiling:$ac_tool_warned in
12217 yes:)
12218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12220 ac_tool_warned=yes ;;
12221 esac
12222     CC=$ac_ct_CC
12223   fi
12224 else
12225   CC="$ac_cv_prog_CC"
12226 fi
12227
12228 if test -z "$CC"; then
12229           if test -n "$ac_tool_prefix"; then
12230     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12231 set dummy ${ac_tool_prefix}cc; ac_word=$2
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12233 $as_echo_n "checking for $ac_word... " >&6; }
12234 if ${ac_cv_prog_CC+:} false; then :
12235   $as_echo_n "(cached) " >&6
12236 else
12237   if test -n "$CC"; then
12238   ac_cv_prog_CC="$CC" # Let the user override the test.
12239 else
12240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12241 for as_dir in $PATH
12242 do
12243   IFS=$as_save_IFS
12244   test -z "$as_dir" && as_dir=.
12245     for ac_exec_ext in '' $ac_executable_extensions; do
12246   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12247     ac_cv_prog_CC="${ac_tool_prefix}cc"
12248     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12249     break 2
12250   fi
12251 done
12252   done
12253 IFS=$as_save_IFS
12254
12255 fi
12256 fi
12257 CC=$ac_cv_prog_CC
12258 if test -n "$CC"; then
12259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12260 $as_echo "$CC" >&6; }
12261 else
12262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12263 $as_echo "no" >&6; }
12264 fi
12265
12266
12267   fi
12268 fi
12269 if test -z "$CC"; then
12270   # Extract the first word of "cc", so it can be a program name with args.
12271 set dummy cc; ac_word=$2
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12273 $as_echo_n "checking for $ac_word... " >&6; }
12274 if ${ac_cv_prog_CC+:} false; then :
12275   $as_echo_n "(cached) " >&6
12276 else
12277   if test -n "$CC"; then
12278   ac_cv_prog_CC="$CC" # Let the user override the test.
12279 else
12280   ac_prog_rejected=no
12281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12282 for as_dir in $PATH
12283 do
12284   IFS=$as_save_IFS
12285   test -z "$as_dir" && as_dir=.
12286     for ac_exec_ext in '' $ac_executable_extensions; do
12287   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12288     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12289        ac_prog_rejected=yes
12290        continue
12291      fi
12292     ac_cv_prog_CC="cc"
12293     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12294     break 2
12295   fi
12296 done
12297   done
12298 IFS=$as_save_IFS
12299
12300 if test $ac_prog_rejected = yes; then
12301   # We found a bogon in the path, so make sure we never use it.
12302   set dummy $ac_cv_prog_CC
12303   shift
12304   if test $# != 0; then
12305     # We chose a different compiler from the bogus one.
12306     # However, it has the same basename, so the bogon will be chosen
12307     # first if we set CC to just the basename; use the full file name.
12308     shift
12309     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12310   fi
12311 fi
12312 fi
12313 fi
12314 CC=$ac_cv_prog_CC
12315 if test -n "$CC"; then
12316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12317 $as_echo "$CC" >&6; }
12318 else
12319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12320 $as_echo "no" >&6; }
12321 fi
12322
12323
12324 fi
12325 if test -z "$CC"; then
12326   if test -n "$ac_tool_prefix"; then
12327   for ac_prog in cl.exe
12328   do
12329     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12330 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12332 $as_echo_n "checking for $ac_word... " >&6; }
12333 if ${ac_cv_prog_CC+:} false; then :
12334   $as_echo_n "(cached) " >&6
12335 else
12336   if test -n "$CC"; then
12337   ac_cv_prog_CC="$CC" # Let the user override the test.
12338 else
12339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12340 for as_dir in $PATH
12341 do
12342   IFS=$as_save_IFS
12343   test -z "$as_dir" && as_dir=.
12344     for ac_exec_ext in '' $ac_executable_extensions; do
12345   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12346     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12347     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12348     break 2
12349   fi
12350 done
12351   done
12352 IFS=$as_save_IFS
12353
12354 fi
12355 fi
12356 CC=$ac_cv_prog_CC
12357 if test -n "$CC"; then
12358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12359 $as_echo "$CC" >&6; }
12360 else
12361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12362 $as_echo "no" >&6; }
12363 fi
12364
12365
12366     test -n "$CC" && break
12367   done
12368 fi
12369 if test -z "$CC"; then
12370   ac_ct_CC=$CC
12371   for ac_prog in cl.exe
12372 do
12373   # Extract the first word of "$ac_prog", so it can be a program name with args.
12374 set dummy $ac_prog; ac_word=$2
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12376 $as_echo_n "checking for $ac_word... " >&6; }
12377 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12378   $as_echo_n "(cached) " >&6
12379 else
12380   if test -n "$ac_ct_CC"; then
12381   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12382 else
12383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12384 for as_dir in $PATH
12385 do
12386   IFS=$as_save_IFS
12387   test -z "$as_dir" && as_dir=.
12388     for ac_exec_ext in '' $ac_executable_extensions; do
12389   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12390     ac_cv_prog_ac_ct_CC="$ac_prog"
12391     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12392     break 2
12393   fi
12394 done
12395   done
12396 IFS=$as_save_IFS
12397
12398 fi
12399 fi
12400 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12401 if test -n "$ac_ct_CC"; then
12402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12403 $as_echo "$ac_ct_CC" >&6; }
12404 else
12405   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12406 $as_echo "no" >&6; }
12407 fi
12408
12409
12410   test -n "$ac_ct_CC" && break
12411 done
12412
12413   if test "x$ac_ct_CC" = x; then
12414     CC=""
12415   else
12416     case $cross_compiling:$ac_tool_warned in
12417 yes:)
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12419 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12420 ac_tool_warned=yes ;;
12421 esac
12422     CC=$ac_ct_CC
12423   fi
12424 fi
12425
12426 fi
12427
12428
12429 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12430 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12431 as_fn_error $? "no acceptable C compiler found in \$PATH
12432 See \`config.log' for more details" "$LINENO" 5; }
12433
12434 # Provide some information about the compiler.
12435 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12436 set X $ac_compile
12437 ac_compiler=$2
12438 for ac_option in --version -v -V -qversion; do
12439   { { ac_try="$ac_compiler $ac_option >&5"
12440 case "(($ac_try" in
12441   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12442   *) ac_try_echo=$ac_try;;
12443 esac
12444 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12445 $as_echo "$ac_try_echo"; } >&5
12446   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12447   ac_status=$?
12448   if test -s conftest.err; then
12449     sed '10a\
12450 ... rest of stderr output deleted ...
12451          10q' conftest.err >conftest.er1
12452     cat conftest.er1 >&5
12453   fi
12454   rm -f conftest.er1 conftest.err
12455   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12456   test $ac_status = 0; }
12457 done
12458
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12460 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12461 if ${ac_cv_c_compiler_gnu+:} false; then :
12462   $as_echo_n "(cached) " >&6
12463 else
12464   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12465 /* end confdefs.h.  */
12466
12467 int
12468 main ()
12469 {
12470 #ifndef __GNUC__
12471        choke me
12472 #endif
12473
12474   ;
12475   return 0;
12476 }
12477 _ACEOF
12478 if ac_fn_c_try_compile "$LINENO"; then :
12479   ac_compiler_gnu=yes
12480 else
12481   ac_compiler_gnu=no
12482 fi
12483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12484 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12485
12486 fi
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12488 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12489 if test $ac_compiler_gnu = yes; then
12490   GCC=yes
12491 else
12492   GCC=
12493 fi
12494 ac_test_CFLAGS=${CFLAGS+set}
12495 ac_save_CFLAGS=$CFLAGS
12496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12497 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12498 if ${ac_cv_prog_cc_g+:} false; then :
12499   $as_echo_n "(cached) " >&6
12500 else
12501   ac_save_c_werror_flag=$ac_c_werror_flag
12502    ac_c_werror_flag=yes
12503    ac_cv_prog_cc_g=no
12504    CFLAGS="-g"
12505    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12506 /* end confdefs.h.  */
12507
12508 int
12509 main ()
12510 {
12511
12512   ;
12513   return 0;
12514 }
12515 _ACEOF
12516 if ac_fn_c_try_compile "$LINENO"; then :
12517   ac_cv_prog_cc_g=yes
12518 else
12519   CFLAGS=""
12520       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12521 /* end confdefs.h.  */
12522
12523 int
12524 main ()
12525 {
12526
12527   ;
12528   return 0;
12529 }
12530 _ACEOF
12531 if ac_fn_c_try_compile "$LINENO"; then :
12532
12533 else
12534   ac_c_werror_flag=$ac_save_c_werror_flag
12535          CFLAGS="-g"
12536          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12537 /* end confdefs.h.  */
12538
12539 int
12540 main ()
12541 {
12542
12543   ;
12544   return 0;
12545 }
12546 _ACEOF
12547 if ac_fn_c_try_compile "$LINENO"; then :
12548   ac_cv_prog_cc_g=yes
12549 fi
12550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12551 fi
12552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12553 fi
12554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12555    ac_c_werror_flag=$ac_save_c_werror_flag
12556 fi
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12558 $as_echo "$ac_cv_prog_cc_g" >&6; }
12559 if test "$ac_test_CFLAGS" = set; then
12560   CFLAGS=$ac_save_CFLAGS
12561 elif test $ac_cv_prog_cc_g = yes; then
12562   if test "$GCC" = yes; then
12563     CFLAGS="-g -O2"
12564   else
12565     CFLAGS="-g"
12566   fi
12567 else
12568   if test "$GCC" = yes; then
12569     CFLAGS="-O2"
12570   else
12571     CFLAGS=
12572   fi
12573 fi
12574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12575 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12576 if ${ac_cv_prog_cc_c89+:} false; then :
12577   $as_echo_n "(cached) " >&6
12578 else
12579   ac_cv_prog_cc_c89=no
12580 ac_save_CC=$CC
12581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12582 /* end confdefs.h.  */
12583 #include <stdarg.h>
12584 #include <stdio.h>
12585 struct stat;
12586 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
12587 struct buf { int x; };
12588 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12589 static char *e (p, i)
12590      char **p;
12591      int i;
12592 {
12593   return p[i];
12594 }
12595 static char *f (char * (*g) (char **, int), char **p, ...)
12596 {
12597   char *s;
12598   va_list v;
12599   va_start (v,p);
12600   s = g (p, va_arg (v,int));
12601   va_end (v);
12602   return s;
12603 }
12604
12605 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
12606    function prototypes and stuff, but not '\xHH' hex character constants.
12607    These don't provoke an error unfortunately, instead are silently treated
12608    as 'x'.  The following induces an error, until -std is added to get
12609    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
12610    array size at least.  It's necessary to write '\x00'==0 to get something
12611    that's true only with -std.  */
12612 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12613
12614 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12615    inside strings and character constants.  */
12616 #define FOO(x) 'x'
12617 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12618
12619 int test (int i, double x);
12620 struct s1 {int (*f) (int a);};
12621 struct s2 {int (*f) (double a);};
12622 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12623 int argc;
12624 char **argv;
12625 int
12626 main ()
12627 {
12628 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
12629   ;
12630   return 0;
12631 }
12632 _ACEOF
12633 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12634         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12635 do
12636   CC="$ac_save_CC $ac_arg"
12637   if ac_fn_c_try_compile "$LINENO"; then :
12638   ac_cv_prog_cc_c89=$ac_arg
12639 fi
12640 rm -f core conftest.err conftest.$ac_objext
12641   test "x$ac_cv_prog_cc_c89" != "xno" && break
12642 done
12643 rm -f conftest.$ac_ext
12644 CC=$ac_save_CC
12645
12646 fi
12647 # AC_CACHE_VAL
12648 case "x$ac_cv_prog_cc_c89" in
12649   x)
12650     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12651 $as_echo "none needed" >&6; } ;;
12652   xno)
12653     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12654 $as_echo "unsupported" >&6; } ;;
12655   *)
12656     CC="$CC $ac_cv_prog_cc_c89"
12657     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12658 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12659 esac
12660 if test "x$ac_cv_prog_cc_c89" != xno; then :
12661
12662 fi
12663
12664 ac_ext=c
12665 ac_cpp='$CPP $CPPFLAGS'
12666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12669
12670 ac_ext=c
12671 ac_cpp='$CPP $CPPFLAGS'
12672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
12676 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
12677 if ${am_cv_prog_cc_c_o+:} false; then :
12678   $as_echo_n "(cached) " >&6
12679 else
12680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12681 /* end confdefs.h.  */
12682
12683 int
12684 main ()
12685 {
12686
12687   ;
12688   return 0;
12689 }
12690 _ACEOF
12691   # Make sure it works both with $CC and with simple cc.
12692   # Following AC_PROG_CC_C_O, we do the test twice because some
12693   # compilers refuse to overwrite an existing .o file with -o,
12694   # though they will create one.
12695   am_cv_prog_cc_c_o=yes
12696   for am_i in 1 2; do
12697     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
12698    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
12699    ac_status=$?
12700    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12701    (exit $ac_status); } \
12702          && test -f conftest2.$ac_objext; then
12703       : OK
12704     else
12705       am_cv_prog_cc_c_o=no
12706       break
12707     fi
12708   done
12709   rm -f core conftest*
12710   unset am_i
12711 fi
12712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
12713 $as_echo "$am_cv_prog_cc_c_o" >&6; }
12714 if test "$am_cv_prog_cc_c_o" != yes; then
12715    # Losing compiler, so override with the script.
12716    # FIXME: It is wrong to rewrite CC.
12717    # But if we don't then we get into trouble of one sort or another.
12718    # A longer-term fix would be to have automake use am__CC in this case,
12719    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12720    CC="$am_aux_dir/compile $CC"
12721 fi
12722 ac_ext=c
12723 ac_cpp='$CPP $CPPFLAGS'
12724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12727
12728
12729 depcc="$CC"   am_compiler_list=
12730
12731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12732 $as_echo_n "checking dependency style of $depcc... " >&6; }
12733 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12734   $as_echo_n "(cached) " >&6
12735 else
12736   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12737   # We make a subdir and do the tests there.  Otherwise we can end up
12738   # making bogus files that we don't know about and never remove.  For
12739   # instance it was reported that on HP-UX the gcc test will end up
12740   # making a dummy file named 'D' -- because '-MD' means "put the output
12741   # in D".
12742   rm -rf conftest.dir
12743   mkdir conftest.dir
12744   # Copy depcomp to subdir because otherwise we won't find it if we're
12745   # using a relative directory.
12746   cp "$am_depcomp" conftest.dir
12747   cd conftest.dir
12748   # We will build objects and dependencies in a subdirectory because
12749   # it helps to detect inapplicable dependency modes.  For instance
12750   # both Tru64's cc and ICC support -MD to output dependencies as a
12751   # side effect of compilation, but ICC will put the dependencies in
12752   # the current directory while Tru64 will put them in the object
12753   # directory.
12754   mkdir sub
12755
12756   am_cv_CC_dependencies_compiler_type=none
12757   if test "$am_compiler_list" = ""; then
12758      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12759   fi
12760   am__universal=false
12761   case " $depcc " in #(
12762      *\ -arch\ *\ -arch\ *) am__universal=true ;;
12763      esac
12764
12765   for depmode in $am_compiler_list; do
12766     # Setup a source with many dependencies, because some compilers
12767     # like to wrap large dependency lists on column 80 (with \), and
12768     # we should not choose a depcomp mode which is confused by this.
12769     #
12770     # We need to recreate these files for each test, as the compiler may
12771     # overwrite some of them when testing with obscure command lines.
12772     # This happens at least with the AIX C compiler.
12773     : > sub/conftest.c
12774     for i in 1 2 3 4 5 6; do
12775       echo '#include "conftst'$i'.h"' >> sub/conftest.c
12776       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
12777       # Solaris 10 /bin/sh.
12778       echo '/* dummy */' > sub/conftst$i.h
12779     done
12780     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12781
12782     # We check with '-c' and '-o' for the sake of the "dashmstdout"
12783     # mode.  It turns out that the SunPro C++ compiler does not properly
12784     # handle '-M -o', and we need to detect this.  Also, some Intel
12785     # versions had trouble with output in subdirs.
12786     am__obj=sub/conftest.${OBJEXT-o}
12787     am__minus_obj="-o $am__obj"
12788     case $depmode in
12789     gcc)
12790       # This depmode causes a compiler race in universal mode.
12791       test "$am__universal" = false || continue
12792       ;;
12793     nosideeffect)
12794       # After this tag, mechanisms are not by side-effect, so they'll
12795       # only be used when explicitly requested.
12796       if test "x$enable_dependency_tracking" = xyes; then
12797         continue
12798       else
12799         break
12800       fi
12801       ;;
12802     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12803       # This compiler won't grok '-c -o', but also, the minuso test has
12804       # not run yet.  These depmodes are late enough in the game, and
12805       # so weak that their functioning should not be impacted.
12806       am__obj=conftest.${OBJEXT-o}
12807       am__minus_obj=
12808       ;;
12809     none) break ;;
12810     esac
12811     if depmode=$depmode \
12812        source=sub/conftest.c object=$am__obj \
12813        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12814        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12815          >/dev/null 2>conftest.err &&
12816        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12817        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12818        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12819        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12820       # icc doesn't choke on unknown options, it will just issue warnings
12821       # or remarks (even with -Werror).  So we grep stderr for any message
12822       # that says an option was ignored or not supported.
12823       # When given -MP, icc 7.0 and 7.1 complain thusly:
12824       #   icc: Command line warning: ignoring option '-M'; no argument required
12825       # The diagnosis changed in icc 8.0:
12826       #   icc: Command line remark: option '-MP' not supported
12827       if (grep 'ignoring option' conftest.err ||
12828           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12829         am_cv_CC_dependencies_compiler_type=$depmode
12830         break
12831       fi
12832     fi
12833   done
12834
12835   cd ..
12836   rm -rf conftest.dir
12837 else
12838   am_cv_CC_dependencies_compiler_type=none
12839 fi
12840
12841 fi
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12843 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12844 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12845
12846  if
12847   test "x$enable_dependency_tracking" != xno \
12848   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12849   am__fastdepCC_TRUE=
12850   am__fastdepCC_FALSE='#'
12851 else
12852   am__fastdepCC_TRUE='#'
12853   am__fastdepCC_FALSE=
12854 fi
12855
12856
12857
12858 # Extract the first word of "valac", so it can be a program name with args.
12859 set dummy valac; ac_word=$2
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12861 $as_echo_n "checking for $ac_word... " >&6; }
12862 if ${ac_cv_path_VALAC+:} false; then :
12863   $as_echo_n "(cached) " >&6
12864 else
12865   case $VALAC in
12866   [\\/]* | ?:[\\/]*)
12867   ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path.
12868   ;;
12869   *)
12870   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12871 for as_dir in $PATH
12872 do
12873   IFS=$as_save_IFS
12874   test -z "$as_dir" && as_dir=.
12875     for ac_exec_ext in '' $ac_executable_extensions; do
12876   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12877     ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext"
12878     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12879     break 2
12880   fi
12881 done
12882   done
12883 IFS=$as_save_IFS
12884
12885   test -z "$ac_cv_path_VALAC" && ac_cv_path_VALAC="valac"
12886   ;;
12887 esac
12888 fi
12889 VALAC=$ac_cv_path_VALAC
12890 if test -n "$VALAC"; then
12891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5
12892 $as_echo "$VALAC" >&6; }
12893 else
12894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12895 $as_echo "no" >&6; }
12896 fi
12897
12898
12899    if test "$VALAC" != valac && test -n "0.9"; then :
12900   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $VALAC is at least version 0.9" >&5
12901 $as_echo_n "checking whether $VALAC is at least version 0.9... " >&6; }
12902        am__vala_version=`$VALAC --version | sed 's/Vala  *//'`
12903        as_arg_v1=0.9
12904 as_arg_v2="$am__vala_version"
12905 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
12906 case $? in #(
12907   1) :
12908     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12909 $as_echo "yes" >&6; } ;; #(
12910   0) :
12911     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12912 $as_echo "yes" >&6; } ;; #(
12913   2) :
12914     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12915 $as_echo "no" >&6; }
12916           VALAC=valac ;; #(
12917   *) :
12918      ;;
12919 esac
12920 fi
12921     if test "$VALAC" = valac; then
12922       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no proper vala compiler found" >&5
12923 $as_echo "$as_me: WARNING: no proper vala compiler found" >&2;}
12924          { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: you will not be able to compile vala source files" >&5
12925 $as_echo "$as_me: WARNING: you will not be able to compile vala source files" >&2;}
12926     else
12927       :
12928     fi
12929
12930 # Platform checks
12931
12932
12933 case "$host" in
12934   *-*-mingw*)
12935     win32=yes
12936     macos=no
12937     linux=no
12938     SERVER_IPC_MODULE="msrpc-glib2-1.0"
12939     CLIENT_IPC_MODULE="msrpc-mingw-1.0"
12940
12941 pkg_failed=no
12942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
12943 $as_echo_n "checking for GTK... " >&6; }
12944
12945 if test -n "$GTK_CFLAGS"; then
12946     pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
12947  elif test -n "$PKG_CONFIG"; then
12948     if test -n "$PKG_CONFIG" && \
12949     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
12950   ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
12951   ac_status=$?
12952   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12953   test $ac_status = 0; }; then
12954   pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.18" 2>/dev/null`
12955                       test "x$?" != "x0" && pkg_failed=yes
12956 else
12957   pkg_failed=yes
12958 fi
12959  else
12960     pkg_failed=untried
12961 fi
12962 if test -n "$GTK_LIBS"; then
12963     pkg_cv_GTK_LIBS="$GTK_LIBS"
12964  elif test -n "$PKG_CONFIG"; then
12965     if test -n "$PKG_CONFIG" && \
12966     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
12967   ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
12968   ac_status=$?
12969   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12970   test $ac_status = 0; }; then
12971   pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.18" 2>/dev/null`
12972                       test "x$?" != "x0" && pkg_failed=yes
12973 else
12974   pkg_failed=yes
12975 fi
12976  else
12977     pkg_failed=untried
12978 fi
12979
12980
12981
12982 if test $pkg_failed = yes; then
12983         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12984 $as_echo "no" >&6; }
12985
12986 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12987         _pkg_short_errors_supported=yes
12988 else
12989         _pkg_short_errors_supported=no
12990 fi
12991         if test $_pkg_short_errors_supported = yes; then
12992                 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
12993         else
12994                 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
12995         fi
12996         # Put the nasty error message in config.log where it belongs
12997         echo "$GTK_PKG_ERRORS" >&5
12998
12999         as_fn_error $? "Package requirements (gtk+-2.0 >= 2.18) were not met:
13000
13001 $GTK_PKG_ERRORS
13002
13003 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13004 installed software in a non-standard prefix.
13005
13006 Alternatively, you may set the environment variables GTK_CFLAGS
13007 and GTK_LIBS to avoid the need to call pkg-config.
13008 See the pkg-config man page for more details." "$LINENO" 5
13009 elif test $pkg_failed = untried; then
13010         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13011 $as_echo "no" >&6; }
13012         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13013 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13014 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13015 is in your PATH or set the PKG_CONFIG environment variable to the full
13016 path to pkg-config.
13017
13018 Alternatively, you may set the environment variables GTK_CFLAGS
13019 and GTK_LIBS to avoid the need to call pkg-config.
13020 See the pkg-config man page for more details.
13021
13022 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13023 See \`config.log' for more details" "$LINENO" 5; }
13024 else
13025         GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
13026         GTK_LIBS=$pkg_cv_GTK_LIBS
13027         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13028 $as_echo "yes" >&6; }
13029         GTK_VERSION="gtk+-2.0"
13030
13031 fi
13032     ;;
13033
13034   *darwin*)
13035     win32=no
13036     macos=yes
13037     linux=no
13038
13039     # We require dbus-glib for the client library even if we are using GDBus
13040     # in the server. The reason we can't always use dbus-glib in the server is
13041     # because Vala drops support for it, but as it ships with DBus there is very
13042     # little danger of it being dropped by distros any time soon.
13043     CLIENT_IPC_MODULE="dbus-glib-1"
13044         SERVER_IPC_MODULE="dbus-glib-1"
13045
13046
13047 pkg_failed=no
13048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAC" >&5
13049 $as_echo_n "checking for MAC... " >&6; }
13050
13051 if test -n "$MAC_CFLAGS"; then
13052     pkg_cv_MAC_CFLAGS="$MAC_CFLAGS"
13053  elif test -n "$PKG_CONFIG"; then
13054     if test -n "$PKG_CONFIG" && \
13055     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-mac-integration >= 1.0.1
13056         \""; } >&5
13057   ($PKG_CONFIG --exists --print-errors "gtk-mac-integration >= 1.0.1
13058         ") 2>&5
13059   ac_status=$?
13060   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13061   test $ac_status = 0; }; then
13062   pkg_cv_MAC_CFLAGS=`$PKG_CONFIG --cflags "gtk-mac-integration >= 1.0.1
13063         " 2>/dev/null`
13064                       test "x$?" != "x0" && pkg_failed=yes
13065 else
13066   pkg_failed=yes
13067 fi
13068  else
13069     pkg_failed=untried
13070 fi
13071 if test -n "$MAC_LIBS"; then
13072     pkg_cv_MAC_LIBS="$MAC_LIBS"
13073  elif test -n "$PKG_CONFIG"; then
13074     if test -n "$PKG_CONFIG" && \
13075     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-mac-integration >= 1.0.1
13076         \""; } >&5
13077   ($PKG_CONFIG --exists --print-errors "gtk-mac-integration >= 1.0.1
13078         ") 2>&5
13079   ac_status=$?
13080   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13081   test $ac_status = 0; }; then
13082   pkg_cv_MAC_LIBS=`$PKG_CONFIG --libs "gtk-mac-integration >= 1.0.1
13083         " 2>/dev/null`
13084                       test "x$?" != "x0" && pkg_failed=yes
13085 else
13086   pkg_failed=yes
13087 fi
13088  else
13089     pkg_failed=untried
13090 fi
13091
13092
13093
13094 if test $pkg_failed = yes; then
13095         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13096 $as_echo "no" >&6; }
13097
13098 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13099         _pkg_short_errors_supported=yes
13100 else
13101         _pkg_short_errors_supported=no
13102 fi
13103         if test $_pkg_short_errors_supported = yes; then
13104                 MAC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk-mac-integration >= 1.0.1
13105         " 2>&1`
13106         else
13107                 MAC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk-mac-integration >= 1.0.1
13108         " 2>&1`
13109         fi
13110         # Put the nasty error message in config.log where it belongs
13111         echo "$MAC_PKG_ERRORS" >&5
13112
13113         as_fn_error $? "Package requirements (gtk-mac-integration >= 1.0.1
13114         ) were not met:
13115
13116 $MAC_PKG_ERRORS
13117
13118 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13119 installed software in a non-standard prefix.
13120
13121 Alternatively, you may set the environment variables MAC_CFLAGS
13122 and MAC_LIBS to avoid the need to call pkg-config.
13123 See the pkg-config man page for more details." "$LINENO" 5
13124 elif test $pkg_failed = untried; then
13125         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13126 $as_echo "no" >&6; }
13127         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13128 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13129 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13130 is in your PATH or set the PKG_CONFIG environment variable to the full
13131 path to pkg-config.
13132
13133 Alternatively, you may set the environment variables MAC_CFLAGS
13134 and MAC_LIBS to avoid the need to call pkg-config.
13135 See the pkg-config man page for more details.
13136
13137 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13138 See \`config.log' for more details" "$LINENO" 5; }
13139 else
13140         MAC_CFLAGS=$pkg_cv_MAC_CFLAGS
13141         MAC_LIBS=$pkg_cv_MAC_LIBS
13142         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13143 $as_echo "yes" >&6; }
13144
13145 fi
13146
13147 # TODO: Move to GTK+-3
13148 #            [gtk+-3.0 >= 2.0],
13149 #            [GTK_VERSION="gtk+-3.0"]
13150
13151 pkg_failed=no
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
13153 $as_echo_n "checking for GTK... " >&6; }
13154
13155 if test -n "$GTK_CFLAGS"; then
13156     pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
13157  elif test -n "$PKG_CONFIG"; then
13158     if test -n "$PKG_CONFIG" && \
13159     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
13160   ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
13161   ac_status=$?
13162   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13163   test $ac_status = 0; }; then
13164   pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.18" 2>/dev/null`
13165                       test "x$?" != "x0" && pkg_failed=yes
13166 else
13167   pkg_failed=yes
13168 fi
13169  else
13170     pkg_failed=untried
13171 fi
13172 if test -n "$GTK_LIBS"; then
13173     pkg_cv_GTK_LIBS="$GTK_LIBS"
13174  elif test -n "$PKG_CONFIG"; then
13175     if test -n "$PKG_CONFIG" && \
13176     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
13177   ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
13178   ac_status=$?
13179   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13180   test $ac_status = 0; }; then
13181   pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.18" 2>/dev/null`
13182                       test "x$?" != "x0" && pkg_failed=yes
13183 else
13184   pkg_failed=yes
13185 fi
13186  else
13187     pkg_failed=untried
13188 fi
13189
13190
13191
13192 if test $pkg_failed = yes; then
13193         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13194 $as_echo "no" >&6; }
13195
13196 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13197         _pkg_short_errors_supported=yes
13198 else
13199         _pkg_short_errors_supported=no
13200 fi
13201         if test $_pkg_short_errors_supported = yes; then
13202                 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
13203         else
13204                 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
13205         fi
13206         # Put the nasty error message in config.log where it belongs
13207         echo "$GTK_PKG_ERRORS" >&5
13208
13209         as_fn_error $? "Package requirements (gtk+-2.0 >= 2.18) were not met:
13210
13211 $GTK_PKG_ERRORS
13212
13213 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13214 installed software in a non-standard prefix.
13215
13216 Alternatively, you may set the environment variables GTK_CFLAGS
13217 and GTK_LIBS to avoid the need to call pkg-config.
13218 See the pkg-config man page for more details." "$LINENO" 5
13219 elif test $pkg_failed = untried; then
13220         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13221 $as_echo "no" >&6; }
13222         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13223 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13224 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13225 is in your PATH or set the PKG_CONFIG environment variable to the full
13226 path to pkg-config.
13227
13228 Alternatively, you may set the environment variables GTK_CFLAGS
13229 and GTK_LIBS to avoid the need to call pkg-config.
13230 See the pkg-config man page for more details.
13231
13232 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13233 See \`config.log' for more details" "$LINENO" 5; }
13234 else
13235         GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
13236         GTK_LIBS=$pkg_cv_GTK_LIBS
13237         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13238 $as_echo "yes" >&6; }
13239         GTK_VERSION="gtk+-2.0"
13240
13241 fi
13242
13243     ;;
13244   *)
13245     macos=no
13246     win32=no
13247     linux=yes
13248
13249     # We require dbus-glib for the client library even if we are using GDBus
13250     # in the server. The reason we can't always use dbus-glib in the server is
13251     # because Vala drops support for it, but as it ships with DBus there is very
13252     # little danger of it being dropped by distros any time soon.
13253     CLIENT_IPC_MODULE="dbus-glib-1"
13254
13255 pkg_failed=no
13256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDBUS" >&5
13257 $as_echo_n "checking for GDBUS... " >&6; }
13258
13259 if test -n "$GDBUS_CFLAGS"; then
13260     pkg_cv_GDBUS_CFLAGS="$GDBUS_CFLAGS"
13261  elif test -n "$PKG_CONFIG"; then
13262     if test -n "$PKG_CONFIG" && \
13263     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26\""; } >&5
13264   ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26") 2>&5
13265   ac_status=$?
13266   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13267   test $ac_status = 0; }; then
13268   pkg_cv_GDBUS_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.26" 2>/dev/null`
13269                       test "x$?" != "x0" && pkg_failed=yes
13270 else
13271   pkg_failed=yes
13272 fi
13273  else
13274     pkg_failed=untried
13275 fi
13276 if test -n "$GDBUS_LIBS"; then
13277     pkg_cv_GDBUS_LIBS="$GDBUS_LIBS"
13278  elif test -n "$PKG_CONFIG"; then
13279     if test -n "$PKG_CONFIG" && \
13280     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.26\""; } >&5
13281   ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.26") 2>&5
13282   ac_status=$?
13283   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13284   test $ac_status = 0; }; then
13285   pkg_cv_GDBUS_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.26" 2>/dev/null`
13286                       test "x$?" != "x0" && pkg_failed=yes
13287 else
13288   pkg_failed=yes
13289 fi
13290  else
13291     pkg_failed=untried
13292 fi
13293
13294
13295
13296 if test $pkg_failed = yes; then
13297         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13298 $as_echo "no" >&6; }
13299
13300 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13301         _pkg_short_errors_supported=yes
13302 else
13303         _pkg_short_errors_supported=no
13304 fi
13305         if test $_pkg_short_errors_supported = yes; then
13306                 GDBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.26" 2>&1`
13307         else
13308                 GDBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.26" 2>&1`
13309         fi
13310         # Put the nasty error message in config.log where it belongs
13311         echo "$GDBUS_PKG_ERRORS" >&5
13312
13313         SERVER_IPC_MODULE="dbus-glib-1"
13314
13315 elif test $pkg_failed = untried; then
13316         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13317 $as_echo "no" >&6; }
13318         SERVER_IPC_MODULE="dbus-glib-1"
13319
13320 else
13321         GDBUS_CFLAGS=$pkg_cv_GDBUS_CFLAGS
13322         GDBUS_LIBS=$pkg_cv_GDBUS_LIBS
13323         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13324 $as_echo "yes" >&6; }
13325         SERVER_IPC_MODULE="gio-2.0"
13326 fi
13327 # TODO: Move to GTK+-3
13328 #            [gtk+-3.0 >= 2.0],
13329 #            [GTK_VERSION="gtk+-3.0"]
13330
13331 pkg_failed=no
13332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
13333 $as_echo_n "checking for GTK... " >&6; }
13334
13335 if test -n "$GTK_CFLAGS"; then
13336     pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
13337  elif test -n "$PKG_CONFIG"; then
13338     if test -n "$PKG_CONFIG" && \
13339     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
13340   ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
13341   ac_status=$?
13342   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13343   test $ac_status = 0; }; then
13344   pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.18" 2>/dev/null`
13345                       test "x$?" != "x0" && pkg_failed=yes
13346 else
13347   pkg_failed=yes
13348 fi
13349  else
13350     pkg_failed=untried
13351 fi
13352 if test -n "$GTK_LIBS"; then
13353     pkg_cv_GTK_LIBS="$GTK_LIBS"
13354  elif test -n "$PKG_CONFIG"; then
13355     if test -n "$PKG_CONFIG" && \
13356     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
13357   ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
13358   ac_status=$?
13359   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13360   test $ac_status = 0; }; then
13361   pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.18" 2>/dev/null`
13362                       test "x$?" != "x0" && pkg_failed=yes
13363 else
13364   pkg_failed=yes
13365 fi
13366  else
13367     pkg_failed=untried
13368 fi
13369
13370
13371
13372 if test $pkg_failed = yes; then
13373         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13374 $as_echo "no" >&6; }
13375
13376 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13377         _pkg_short_errors_supported=yes
13378 else
13379         _pkg_short_errors_supported=no
13380 fi
13381         if test $_pkg_short_errors_supported = yes; then
13382                 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
13383         else
13384                 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
13385         fi
13386         # Put the nasty error message in config.log where it belongs
13387         echo "$GTK_PKG_ERRORS" >&5
13388
13389         as_fn_error $? "Package requirements (gtk+-2.0 >= 2.18) were not met:
13390
13391 $GTK_PKG_ERRORS
13392
13393 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13394 installed software in a non-standard prefix.
13395
13396 Alternatively, you may set the environment variables GTK_CFLAGS
13397 and GTK_LIBS to avoid the need to call pkg-config.
13398 See the pkg-config man page for more details." "$LINENO" 5
13399 elif test $pkg_failed = untried; then
13400         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13401 $as_echo "no" >&6; }
13402         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13403 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13404 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13405 is in your PATH or set the PKG_CONFIG environment variable to the full
13406 path to pkg-config.
13407
13408 Alternatively, you may set the environment variables GTK_CFLAGS
13409 and GTK_LIBS to avoid the need to call pkg-config.
13410 See the pkg-config man page for more details.
13411
13412 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13413 See \`config.log' for more details" "$LINENO" 5; }
13414 else
13415         GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
13416         GTK_LIBS=$pkg_cv_GTK_LIBS
13417         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13418 $as_echo "yes" >&6; }
13419         GTK_VERSION="gtk+-2.0"
13420
13421 fi
13422
13423     ;;
13424 esac
13425
13426  if test "$linux" = "yes"; then
13427   OS_LINUX_TRUE=
13428   OS_LINUX_FALSE='#'
13429 else
13430   OS_LINUX_TRUE='#'
13431   OS_LINUX_FALSE=
13432 fi
13433
13434  if test "$win32" = "yes"; then
13435   OS_WIN32_TRUE=
13436   OS_WIN32_FALSE='#'
13437 else
13438   OS_WIN32_TRUE='#'
13439   OS_WIN32_FALSE=
13440 fi
13441
13442  if test "$macos" = "yes"; then
13443   OS_MACOS_TRUE=
13444   OS_MACOS_FALSE='#'
13445 else
13446   OS_MACOS_TRUE='#'
13447   OS_MACOS_FALSE=
13448 fi
13449
13450
13451  if test "$SERVER_IPC_MODULE" = "msrpc-glib2-1.0"; then
13452   IPC_MSRPC_TRUE=
13453   IPC_MSRPC_FALSE='#'
13454 else
13455   IPC_MSRPC_TRUE='#'
13456   IPC_MSRPC_FALSE=
13457 fi
13458
13459  if test "$SERVER_IPC_MODULE" != "msrpc-glib2-1.0"; then
13460   IPC_DBUS_TRUE=
13461   IPC_DBUS_FALSE='#'
13462 else
13463   IPC_DBUS_TRUE='#'
13464   IPC_DBUS_FALSE=
13465 fi
13466
13467  if test "$SERVER_IPC_MODULE" = "dbus-glib-1"; then
13468   IPC_DBUS_GLIB_TRUE=
13469   IPC_DBUS_GLIB_FALSE='#'
13470 else
13471   IPC_DBUS_GLIB_TRUE='#'
13472   IPC_DBUS_GLIB_FALSE=
13473 fi
13474
13475  if test "$SERVER_IPC_MODULE" = "gio-2.0"; then
13476   IPC_GDBUS_TRUE=
13477   IPC_GDBUS_FALSE='#'
13478 else
13479   IPC_GDBUS_TRUE='#'
13480   IPC_GDBUS_FALSE=
13481 fi
13482
13483
13484 vala_version=`$VALAC --version | sed 's/Vala  *//'`
13485 as_arg_v1="$vala_version"
13486 as_arg_v2=0.11.1
13487 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
13488 case $? in #(
13489   1) :
13490     gio_vapi_uses_arrays="no" ;; #(
13491   0) :
13492     gio_vapi_uses_arrays="yes" ;; #(
13493   2) :
13494     gio_vapi_uses_arrays="yes" ;; #(
13495   *) :
13496      ;;
13497 esac
13498  if test "$gio_vapi_uses_arrays" = "yes"; then
13499   GIO_VAPI_USES_ARRAYS_TRUE=
13500   GIO_VAPI_USES_ARRAYS_FALSE='#'
13501 else
13502   GIO_VAPI_USES_ARRAYS_TRUE='#'
13503   GIO_VAPI_USES_ARRAYS_FALSE=
13504 fi
13505
13506 if test "$SERVER_IPC_MODULE" = "dbus-glib-1"; then
13507   { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VALAC is no greater than 0.12.1" >&5
13508 $as_echo_n "checking $VALAC is no greater than 0.12.1... " >&6; }
13509   as_arg_v1=0.12.2
13510 as_arg_v2="$vala_version"
13511 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
13512 case $? in #(
13513   1) :
13514     vala_supports_dbus_glib="no" ;; #(
13515   0) :
13516     vala_supports_dbus_glib="no" ;; #(
13517   2) :
13518     vala_supports_dbus_glib="yes" ;; #(
13519   *) :
13520      ;;
13521 esac
13522
13523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vala_supports_dbus_glib" >&5
13524 $as_echo "$vala_supports_dbus_glib" >&6; }
13525   if test "$vala_supports_dbus_glib" = "no"; then
13526     as_fn_error $? "
13527 *** Vala 0.12.1 or earlier is required for dbus-glib support. Newer versions
13528 *** require that you have GLib 2.26 or newer (for GDBus support)." "$LINENO" 5
13529   fi
13530 fi
13531
13532 if test "$SERVER_IPC_MODULE" = "msrpc-glib2-1.0"; then
13533   # MS RPC utilities
13534
13535   pkg_config_args="msrpc-mingw-1.0"
13536
13537
13538
13539
13540
13541
13542
13543
13544 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13545         if test -n "$ac_tool_prefix"; then
13546   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13547 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13549 $as_echo_n "checking for $ac_word... " >&6; }
13550 if ${ac_cv_path_PKG_CONFIG+:} false; then :
13551   $as_echo_n "(cached) " >&6
13552 else
13553   case $PKG_CONFIG in
13554   [\\/]* | ?:[\\/]*)
13555   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13556   ;;
13557   *)
13558   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13559 for as_dir in $PATH
13560 do
13561   IFS=$as_save_IFS
13562   test -z "$as_dir" && as_dir=.
13563     for ac_exec_ext in '' $ac_executable_extensions; do
13564   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13565     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13566     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13567     break 2
13568   fi
13569 done
13570   done
13571 IFS=$as_save_IFS
13572
13573   ;;
13574 esac
13575 fi
13576 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13577 if test -n "$PKG_CONFIG"; then
13578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13579 $as_echo "$PKG_CONFIG" >&6; }
13580 else
13581   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13582 $as_echo "no" >&6; }
13583 fi
13584
13585
13586 fi
13587 if test -z "$ac_cv_path_PKG_CONFIG"; then
13588   ac_pt_PKG_CONFIG=$PKG_CONFIG
13589   # Extract the first word of "pkg-config", so it can be a program name with args.
13590 set dummy pkg-config; ac_word=$2
13591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13592 $as_echo_n "checking for $ac_word... " >&6; }
13593 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13594   $as_echo_n "(cached) " >&6
13595 else
13596   case $ac_pt_PKG_CONFIG in
13597   [\\/]* | ?:[\\/]*)
13598   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13599   ;;
13600   *)
13601   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13602 for as_dir in $PATH
13603 do
13604   IFS=$as_save_IFS
13605   test -z "$as_dir" && as_dir=.
13606     for ac_exec_ext in '' $ac_executable_extensions; do
13607   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13608     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13609     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13610     break 2
13611   fi
13612 done
13613   done
13614 IFS=$as_save_IFS
13615
13616   ;;
13617 esac
13618 fi
13619 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13620 if test -n "$ac_pt_PKG_CONFIG"; then
13621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13622 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13623 else
13624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13625 $as_echo "no" >&6; }
13626 fi
13627
13628   if test "x$ac_pt_PKG_CONFIG" = x; then
13629     PKG_CONFIG=""
13630   else
13631     case $cross_compiling:$ac_tool_warned in
13632 yes:)
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13634 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13635 ac_tool_warned=yes ;;
13636 esac
13637     PKG_CONFIG=$ac_pt_PKG_CONFIG
13638   fi
13639 else
13640   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13641 fi
13642
13643 fi
13644 if test -n "$PKG_CONFIG"; then
13645         _pkg_min_version=0.16
13646         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13647 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13648         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13649                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13650 $as_echo "yes" >&6; }
13651         else
13652                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13653 $as_echo "no" >&6; }
13654                 PKG_CONFIG=""
13655         fi
13656 fi
13657
13658   no_msrpc=""
13659
13660   if test "x$PKG_CONFIG" = x ; then
13661     no_msrpc=yes
13662     PKG_CONFIG=no
13663   fi
13664
13665   min_msrpc_mingw_version=0.1.0
13666   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for msrpc-mingw - version >= $min_msrpc_version" >&5
13667 $as_echo_n "checking for msrpc-mingw - version >= $min_msrpc_version... " >&6; }
13668
13669   if test x$PKG_CONFIG != xno ; then
13670     if $PKG_CONFIG --uninstalled $pkg_config_args; then
13671       echo "Will use uninstalled version of msrpc-mingw found in PKG_CONFIG_PATH"
13672     fi
13673
13674     if $PKG_CONFIG --atleast-version $min_msrpc_mingw_version $pkg_config_args; then
13675       :
13676     else
13677       no_msrpc=yes
13678     fi
13679   fi
13680
13681   if test x"$no_msrpc" = x ; then
13682     MIDL_WRAPPER=`$PKG_CONFIG --variable=midl_wrapper msrpc-mingw-1.0`
13683     MSRPC_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
13684     MSRPC_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
13685   fi
13686
13687   if test "x$no_msrpc" = x ; then
13688      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13689 $as_echo "yes" >&6; }
13690      :
13691   else
13692      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13693 $as_echo "no" >&6; }
13694      if test "$PKG_CONFIG" = "no" ; then
13695        echo "*** A new enough version of pkg-config was not found."
13696        echo "*** See http://www.freedesktop.org/software/pkgconfig/"
13697      else
13698        echo "not found"
13699      fi
13700      MSRPC_CFLAGS=""
13701      MSRPC_LIBS=""
13702      MIDL_WRAPPER=""
13703      as_fn_error $? "
13704 *** msrpc-mingw 0.1.0 or better is required." "$LINENO" 5
13705   fi
13706
13707
13708
13709
13710
13711   # Extract the first word of "midl", so it can be a program name with args.
13712 set dummy midl; ac_word=$2
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13714 $as_echo_n "checking for $ac_word... " >&6; }
13715 if ${ac_cv_path_MIDL+:} false; then :
13716   $as_echo_n "(cached) " >&6
13717 else
13718   case $MIDL in
13719   [\\/]* | ?:[\\/]*)
13720   ac_cv_path_MIDL="$MIDL" # Let the user override the test with a path.
13721   ;;
13722   *)
13723   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13724 for as_dir in /c/Program\ Files/Microsoft\ SDKs/Windows/v7.0/Bin$PATH_SEPARATOR$PATH
13725 do
13726   IFS=$as_save_IFS
13727   test -z "$as_dir" && as_dir=.
13728     for ac_exec_ext in '' $ac_executable_extensions; do
13729   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13730     ac_cv_path_MIDL="$as_dir/$ac_word$ac_exec_ext"
13731     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13732     break 2
13733   fi
13734 done
13735   done
13736 IFS=$as_save_IFS
13737
13738   test -z "$ac_cv_path_MIDL" && ac_cv_path_MIDL="no"
13739   ;;
13740 esac
13741 fi
13742 MIDL=$ac_cv_path_MIDL
13743 if test -n "$MIDL"; then
13744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MIDL" >&5
13745 $as_echo "$MIDL" >&6; }
13746 else
13747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13748 $as_echo "no" >&6; }
13749 fi
13750
13751
13752   if test "$MIDL" = "no"; then
13753      as_fn_error $? "
13754 *** Could not find the Microsoft interface compiler MIDL.EXE.
13755 *** This program is available as part of the MS Windows SDK, in
13756 *** the Win32 Development Tools package. If it is not in the PATH
13757 *** or its default location you may set the 'MIDL' environment
13758 *** variable to point to its location and rerun configure." "$LINENO" 5
13759   fi
13760 fi
13761
13762 if test "$win32" = "yes"; then
13763   # Other Windows-specific tools
13764
13765   # LIB.EXE from MSVC to build an MSVC-compatible import library.
13766   # Extract the first word of "lib", so it can be a program name with args.
13767 set dummy lib; ac_word=$2
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13769 $as_echo_n "checking for $ac_word... " >&6; }
13770 if ${ac_cv_path_MSVC_LIB+:} false; then :
13771   $as_echo_n "(cached) " >&6
13772 else
13773   case $MSVC_LIB in
13774   [\\/]* | ?:[\\/]*)
13775   ac_cv_path_MSVC_LIB="$MSVC_LIB" # Let the user override the test with a path.
13776   ;;
13777   *)
13778   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13779 for as_dir in /c/Program\ Files/Microsoft\ Visual\ Studio\ 9.0/VC/bin$PATH_SEPARATOR/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio\ 9.0/VC/bin$PATH_SEPARATOR$PATH
13780 do
13781   IFS=$as_save_IFS
13782   test -z "$as_dir" && as_dir=.
13783     for ac_exec_ext in '' $ac_executable_extensions; do
13784   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13785     ac_cv_path_MSVC_LIB="$as_dir/$ac_word$ac_exec_ext"
13786     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13787     break 2
13788   fi
13789 done
13790   done
13791 IFS=$as_save_IFS
13792
13793   test -z "$ac_cv_path_MSVC_LIB" && ac_cv_path_MSVC_LIB="no"
13794   ;;
13795 esac
13796 fi
13797 MSVC_LIB=$ac_cv_path_MSVC_LIB
13798 if test -n "$MSVC_LIB"; then
13799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSVC_LIB" >&5
13800 $as_echo "$MSVC_LIB" >&6; }
13801 else
13802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13803 $as_echo "no" >&6; }
13804 fi
13805
13806
13807
13808   if test "$MSVC_LIB" = "no"; then
13809      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
13810 *** Could not find the Microsoft 'LIB.EXE' program. This is required
13811 *** to build the Visual C import library for libmoonshot. Use the
13812 *** MSVC_LIB environment variable to pass its location if this is
13813 *** outside the PATH." >&5
13814 $as_echo "$as_me: WARNING:
13815 *** Could not find the Microsoft 'LIB.EXE' program. This is required
13816 *** to build the Visual C import library for libmoonshot. Use the
13817 *** MSVC_LIB environment variable to pass its location if this is
13818 *** outside the PATH." >&2;}
13819   fi
13820
13821
13822   # ImageMagick for the 'make icons' target. Note that
13823   # c:/windows/system32/convert.exe is nothing to do with ImageMagick.
13824   # Extract the first word of "convert", so it can be a program name with args.
13825 set dummy convert; ac_word=$2
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13827 $as_echo_n "checking for $ac_word... " >&6; }
13828 if ${ac_cv_path_IMAGEMAGICK_CONVERT+:} false; then :
13829   $as_echo_n "(cached) " >&6
13830 else
13831   case $IMAGEMAGICK_CONVERT in
13832   [\\/]* | ?:[\\/]*)
13833   ac_cv_path_IMAGEMAGICK_CONVERT="$IMAGEMAGICK_CONVERT" # Let the user override the test with a path.
13834   ;;
13835   *)
13836   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13837 for as_dir in /c/Program\ Files/ImageMagick$PATH_SEPARATOR/c/Program\ Files\ \(x86\)/ImageMagick$PATH_SEPARATOR$PATH
13838 do
13839   IFS=$as_save_IFS
13840   test -z "$as_dir" && as_dir=.
13841     for ac_exec_ext in '' $ac_executable_extensions; do
13842   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13843     ac_cv_path_IMAGEMAGICK_CONVERT="$as_dir/$ac_word$ac_exec_ext"
13844     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13845     break 2
13846   fi
13847 done
13848   done
13849 IFS=$as_save_IFS
13850
13851   test -z "$ac_cv_path_IMAGEMAGICK_CONVERT" && ac_cv_path_IMAGEMAGICK_CONVERT="no"
13852   ;;
13853 esac
13854 fi
13855 IMAGEMAGICK_CONVERT=$ac_cv_path_IMAGEMAGICK_CONVERT
13856 if test -n "$IMAGEMAGICK_CONVERT"; then
13857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IMAGEMAGICK_CONVERT" >&5
13858 $as_echo "$IMAGEMAGICK_CONVERT" >&6; }
13859 else
13860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13861 $as_echo "no" >&6; }
13862 fi
13863
13864
13865
13866   if test "$IMAGEMAGICK_CONVERT" = "no" || test "$IMAGEMAGICK_CONVERT" = "/c/windows/system32/convert"; then
13867      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
13868 *** Could not find ImageMagick convert.exe. This is required for the
13869 *** 'make icons' target. Use the IMAGEMAGICK_CONVERT environment
13870 *** variable to pass its location if this is outside the PATH." >&5
13871 $as_echo "$as_me: WARNING:
13872 *** Could not find ImageMagick convert.exe. This is required for the
13873 *** 'make icons' target. Use the IMAGEMAGICK_CONVERT environment
13874 *** variable to pass its location if this is outside the PATH." >&2;}
13875   fi
13876
13877
13878   # Windows Installer XML tools
13879   # Extract the first word of "candle", so it can be a program name with args.
13880 set dummy candle; ac_word=$2
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13882 $as_echo_n "checking for $ac_word... " >&6; }
13883 if ${ac_cv_path_WIX_CANDLE+:} false; then :
13884   $as_echo_n "(cached) " >&6
13885 else
13886   case $WIX_CANDLE in
13887   [\\/]* | ?:[\\/]*)
13888   ac_cv_path_WIX_CANDLE="$WIX_CANDLE" # Let the user override the test with a path.
13889   ;;
13890   *)
13891   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13892 for as_dir in /c/Program\ Files/Windows\ Installer\ XML\ v3.5/bin$PATH_SEPARATOR/c/Program\ Files\ \(x86\)/Windows\ Installer\ XML\ v3.5/bin$PATH_SEPARATOR$PATH
13893 do
13894   IFS=$as_save_IFS
13895   test -z "$as_dir" && as_dir=.
13896     for ac_exec_ext in '' $ac_executable_extensions; do
13897   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13898     ac_cv_path_WIX_CANDLE="$as_dir/$ac_word$ac_exec_ext"
13899     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13900     break 2
13901   fi
13902 done
13903   done
13904 IFS=$as_save_IFS
13905
13906   test -z "$ac_cv_path_WIX_CANDLE" && ac_cv_path_WIX_CANDLE="no"
13907   ;;
13908 esac
13909 fi
13910 WIX_CANDLE=$ac_cv_path_WIX_CANDLE
13911 if test -n "$WIX_CANDLE"; then
13912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WIX_CANDLE" >&5
13913 $as_echo "$WIX_CANDLE" >&6; }
13914 else
13915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13916 $as_echo "no" >&6; }
13917 fi
13918
13919
13920   # Extract the first word of "light", so it can be a program name with args.
13921 set dummy light; ac_word=$2
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13923 $as_echo_n "checking for $ac_word... " >&6; }
13924 if ${ac_cv_path_WIX_LIGHT+:} false; then :
13925   $as_echo_n "(cached) " >&6
13926 else
13927   case $WIX_LIGHT in
13928   [\\/]* | ?:[\\/]*)
13929   ac_cv_path_WIX_LIGHT="$WIX_LIGHT" # Let the user override the test with a path.
13930   ;;
13931   *)
13932   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13933 for as_dir in /c/Program\ Files/Windows\ Installer\ XML\ v3.5/bin$PATH_SEPARATOR/c/Program\ Files\ \(x86\)/Windows\ Installer\ XML\ v3.5/bin$PATH_SEPARATOR$PATH
13934 do
13935   IFS=$as_save_IFS
13936   test -z "$as_dir" && as_dir=.
13937     for ac_exec_ext in '' $ac_executable_extensions; do
13938   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13939     ac_cv_path_WIX_LIGHT="$as_dir/$ac_word$ac_exec_ext"
13940     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13941     break 2
13942   fi
13943 done
13944   done
13945 IFS=$as_save_IFS
13946
13947   test -z "$ac_cv_path_WIX_LIGHT" && ac_cv_path_WIX_LIGHT="no"
13948   ;;
13949 esac
13950 fi
13951 WIX_LIGHT=$ac_cv_path_WIX_LIGHT
13952 if test -n "$WIX_LIGHT"; then
13953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WIX_LIGHT" >&5
13954 $as_echo "$WIX_LIGHT" >&6; }
13955 else
13956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13957 $as_echo "no" >&6; }
13958 fi
13959
13960
13961
13962   if test "$WIX_CANDLE" = "no" || test "$WIX_LIGHT" = "no"; then
13963      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
13964 *** Could not find the Windows Installer XML tools. These are required
13965 *** for the 'make installer' target. Use the WIX_CANDLE and WIX_LIGHT
13966 *** environment variables to pass their locations if they are outside
13967 *** the PATH." >&5
13968 $as_echo "$as_me: WARNING:
13969 *** Could not find the Windows Installer XML tools. These are required
13970 *** for the 'make installer' target. Use the WIX_CANDLE and WIX_LIGHT
13971 *** environment variables to pass their locations if they are outside
13972 *** the PATH." >&2;}
13973   fi
13974 fi
13975
13976 if test "$linux" = "yes"; then
13977   # Extract the first word of "update-mime-database", so it can be a program name with args.
13978 set dummy update-mime-database; ac_word=$2
13979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13980 $as_echo_n "checking for $ac_word... " >&6; }
13981 if ${ac_cv_path_UPDATE_MIME_DATABASE+:} false; then :
13982   $as_echo_n "(cached) " >&6
13983 else
13984   case $UPDATE_MIME_DATABASE in
13985   [\\/]* | ?:[\\/]*)
13986   ac_cv_path_UPDATE_MIME_DATABASE="$UPDATE_MIME_DATABASE" # Let the user override the test with a path.
13987   ;;
13988   *)
13989   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13990 for as_dir in $PATH
13991 do
13992   IFS=$as_save_IFS
13993   test -z "$as_dir" && as_dir=.
13994     for ac_exec_ext in '' $ac_executable_extensions; do
13995   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13996     ac_cv_path_UPDATE_MIME_DATABASE="$as_dir/$ac_word$ac_exec_ext"
13997     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13998     break 2
13999   fi
14000 done
14001   done
14002 IFS=$as_save_IFS
14003
14004   test -z "$ac_cv_path_UPDATE_MIME_DATABASE" && ac_cv_path_UPDATE_MIME_DATABASE="no"
14005   ;;
14006 esac
14007 fi
14008 UPDATE_MIME_DATABASE=$ac_cv_path_UPDATE_MIME_DATABASE
14009 if test -n "$UPDATE_MIME_DATABASE"; then
14010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UPDATE_MIME_DATABASE" >&5
14011 $as_echo "$UPDATE_MIME_DATABASE" >&6; }
14012 else
14013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14014 $as_echo "no" >&6; }
14015 fi
14016
14017
14018   if test "$UPDATE_MIME_DATABASE" = "no"; then
14019     as_fn_error $? "
14020 *** Could not find the Freedesktop.org  mime database update tool.
14021 *** Web provisioning files could not be automatically installed." "$LINENO" 5
14022   fi
14023   # Extract the first word of "update-desktop-database", so it can be a program name with args.
14024 set dummy update-desktop-database; ac_word=$2
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14026 $as_echo_n "checking for $ac_word... " >&6; }
14027 if ${ac_cv_path_UPDATE_DESKTOP_DATABASE+:} false; then :
14028   $as_echo_n "(cached) " >&6
14029 else
14030   case $UPDATE_DESKTOP_DATABASE in
14031   [\\/]* | ?:[\\/]*)
14032   ac_cv_path_UPDATE_DESKTOP_DATABASE="$UPDATE_DESKTOP_DATABASE" # Let the user override the test with a path.
14033   ;;
14034   *)
14035   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14036 for as_dir in $PATH
14037 do
14038   IFS=$as_save_IFS
14039   test -z "$as_dir" && as_dir=.
14040     for ac_exec_ext in '' $ac_executable_extensions; do
14041   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14042     ac_cv_path_UPDATE_DESKTOP_DATABASE="$as_dir/$ac_word$ac_exec_ext"
14043     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14044     break 2
14045   fi
14046 done
14047   done
14048 IFS=$as_save_IFS
14049
14050   test -z "$ac_cv_path_UPDATE_DESKTOP_DATABASE" && ac_cv_path_UPDATE_DESKTOP_DATABASE="no"
14051   ;;
14052 esac
14053 fi
14054 UPDATE_DESKTOP_DATABASE=$ac_cv_path_UPDATE_DESKTOP_DATABASE
14055 if test -n "$UPDATE_DESKTOP_DATABASE"; then
14056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UPDATE_DESKTOP_DATABASE" >&5
14057 $as_echo "$UPDATE_DESKTOP_DATABASE" >&6; }
14058 else
14059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14060 $as_echo "no" >&6; }
14061 fi
14062
14063
14064   if test "$UPDATE_DESKTOP_DATABASE" = "no"; then
14065     as_fn_error $? "
14066 *** Could not find the Freedesktop.org desktop entry database update
14067 *** tool. Web provisioning files could not be automatically installed." "$LINENO" 5
14068   fi
14069 fi
14070
14071 MOONSHOT_APP="$bindir/moonshot"
14072 MOONSHOT_WEBP="$bindir/moonshot-webp"
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084 # Dependencies
14085
14086 pkg_failed=no
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for moonshot" >&5
14088 $as_echo_n "checking for moonshot... " >&6; }
14089
14090 if test -n "$moonshot_CFLAGS"; then
14091     pkg_cv_moonshot_CFLAGS="$moonshot_CFLAGS"
14092  elif test -n "$PKG_CONFIG"; then
14093     if test -n "$PKG_CONFIG" && \
14094     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14095         atk >= 1.20
14096         glib-2.0 >= 2.22
14097         gobject-2.0 >= 2.22
14098         \$GTK_VERSION
14099         gee-1.0 >= 0.5
14100         \$SERVER_IPC_MODULE
14101                 \$MAC
14102 \""; } >&5
14103   ($PKG_CONFIG --exists --print-errors "
14104         atk >= 1.20
14105         glib-2.0 >= 2.22
14106         gobject-2.0 >= 2.22
14107         $GTK_VERSION
14108         gee-1.0 >= 0.5
14109         $SERVER_IPC_MODULE
14110                 $MAC
14111 ") 2>&5
14112   ac_status=$?
14113   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14114   test $ac_status = 0; }; then
14115   pkg_cv_moonshot_CFLAGS=`$PKG_CONFIG --cflags "
14116         atk >= 1.20
14117         glib-2.0 >= 2.22
14118         gobject-2.0 >= 2.22
14119         $GTK_VERSION
14120         gee-1.0 >= 0.5
14121         $SERVER_IPC_MODULE
14122                 $MAC
14123 " 2>/dev/null`
14124                       test "x$?" != "x0" && pkg_failed=yes
14125 else
14126   pkg_failed=yes
14127 fi
14128  else
14129     pkg_failed=untried
14130 fi
14131 if test -n "$moonshot_LIBS"; then
14132     pkg_cv_moonshot_LIBS="$moonshot_LIBS"
14133  elif test -n "$PKG_CONFIG"; then
14134     if test -n "$PKG_CONFIG" && \
14135     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14136         atk >= 1.20
14137         glib-2.0 >= 2.22
14138         gobject-2.0 >= 2.22
14139         \$GTK_VERSION
14140         gee-1.0 >= 0.5
14141         \$SERVER_IPC_MODULE
14142                 \$MAC
14143 \""; } >&5
14144   ($PKG_CONFIG --exists --print-errors "
14145         atk >= 1.20
14146         glib-2.0 >= 2.22
14147         gobject-2.0 >= 2.22
14148         $GTK_VERSION
14149         gee-1.0 >= 0.5
14150         $SERVER_IPC_MODULE
14151                 $MAC
14152 ") 2>&5
14153   ac_status=$?
14154   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14155   test $ac_status = 0; }; then
14156   pkg_cv_moonshot_LIBS=`$PKG_CONFIG --libs "
14157         atk >= 1.20
14158         glib-2.0 >= 2.22
14159         gobject-2.0 >= 2.22
14160         $GTK_VERSION
14161         gee-1.0 >= 0.5
14162         $SERVER_IPC_MODULE
14163                 $MAC
14164 " 2>/dev/null`
14165                       test "x$?" != "x0" && pkg_failed=yes
14166 else
14167   pkg_failed=yes
14168 fi
14169  else
14170     pkg_failed=untried
14171 fi
14172
14173
14174
14175 if test $pkg_failed = yes; then
14176         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14177 $as_echo "no" >&6; }
14178
14179 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14180         _pkg_short_errors_supported=yes
14181 else
14182         _pkg_short_errors_supported=no
14183 fi
14184         if test $_pkg_short_errors_supported = yes; then
14185                 moonshot_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
14186         atk >= 1.20
14187         glib-2.0 >= 2.22
14188         gobject-2.0 >= 2.22
14189         $GTK_VERSION
14190         gee-1.0 >= 0.5
14191         $SERVER_IPC_MODULE
14192                 $MAC
14193 " 2>&1`
14194         else
14195                 moonshot_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
14196         atk >= 1.20
14197         glib-2.0 >= 2.22
14198         gobject-2.0 >= 2.22
14199         $GTK_VERSION
14200         gee-1.0 >= 0.5
14201         $SERVER_IPC_MODULE
14202                 $MAC
14203 " 2>&1`
14204         fi
14205         # Put the nasty error message in config.log where it belongs
14206         echo "$moonshot_PKG_ERRORS" >&5
14207
14208         as_fn_error $? "Package requirements (
14209         atk >= 1.20
14210         glib-2.0 >= 2.22
14211         gobject-2.0 >= 2.22
14212         $GTK_VERSION
14213         gee-1.0 >= 0.5
14214         $SERVER_IPC_MODULE
14215                 $MAC
14216 ) were not met:
14217
14218 $moonshot_PKG_ERRORS
14219
14220 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14221 installed software in a non-standard prefix.
14222
14223 Alternatively, you may set the environment variables moonshot_CFLAGS
14224 and moonshot_LIBS to avoid the need to call pkg-config.
14225 See the pkg-config man page for more details." "$LINENO" 5
14226 elif test $pkg_failed = untried; then
14227         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14228 $as_echo "no" >&6; }
14229         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14230 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14231 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14232 is in your PATH or set the PKG_CONFIG environment variable to the full
14233 path to pkg-config.
14234
14235 Alternatively, you may set the environment variables moonshot_CFLAGS
14236 and moonshot_LIBS to avoid the need to call pkg-config.
14237 See the pkg-config man page for more details.
14238
14239 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14240 See \`config.log' for more details" "$LINENO" 5; }
14241 else
14242         moonshot_CFLAGS=$pkg_cv_moonshot_CFLAGS
14243         moonshot_LIBS=$pkg_cv_moonshot_LIBS
14244         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14245 $as_echo "yes" >&6; }
14246
14247 fi
14248
14249
14250 pkg_failed=no
14251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmoonshot" >&5
14252 $as_echo_n "checking for libmoonshot... " >&6; }
14253
14254 if test -n "$libmoonshot_CFLAGS"; then
14255     pkg_cv_libmoonshot_CFLAGS="$libmoonshot_CFLAGS"
14256  elif test -n "$PKG_CONFIG"; then
14257     if test -n "$PKG_CONFIG" && \
14258     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14259         \$CLIENT_IPC_MODULE
14260 \""; } >&5
14261   ($PKG_CONFIG --exists --print-errors "
14262         $CLIENT_IPC_MODULE
14263 ") 2>&5
14264   ac_status=$?
14265   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14266   test $ac_status = 0; }; then
14267   pkg_cv_libmoonshot_CFLAGS=`$PKG_CONFIG --cflags "
14268         $CLIENT_IPC_MODULE
14269 " 2>/dev/null`
14270                       test "x$?" != "x0" && pkg_failed=yes
14271 else
14272   pkg_failed=yes
14273 fi
14274  else
14275     pkg_failed=untried
14276 fi
14277 if test -n "$libmoonshot_LIBS"; then
14278     pkg_cv_libmoonshot_LIBS="$libmoonshot_LIBS"
14279  elif test -n "$PKG_CONFIG"; then
14280     if test -n "$PKG_CONFIG" && \
14281     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14282         \$CLIENT_IPC_MODULE
14283 \""; } >&5
14284   ($PKG_CONFIG --exists --print-errors "
14285         $CLIENT_IPC_MODULE
14286 ") 2>&5
14287   ac_status=$?
14288   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14289   test $ac_status = 0; }; then
14290   pkg_cv_libmoonshot_LIBS=`$PKG_CONFIG --libs "
14291         $CLIENT_IPC_MODULE
14292 " 2>/dev/null`
14293                       test "x$?" != "x0" && pkg_failed=yes
14294 else
14295   pkg_failed=yes
14296 fi
14297  else
14298     pkg_failed=untried
14299 fi
14300
14301
14302
14303 if test $pkg_failed = yes; then
14304         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14305 $as_echo "no" >&6; }
14306
14307 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14308         _pkg_short_errors_supported=yes
14309 else
14310         _pkg_short_errors_supported=no
14311 fi
14312         if test $_pkg_short_errors_supported = yes; then
14313                 libmoonshot_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
14314         $CLIENT_IPC_MODULE
14315 " 2>&1`
14316         else
14317                 libmoonshot_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
14318         $CLIENT_IPC_MODULE
14319 " 2>&1`
14320         fi
14321         # Put the nasty error message in config.log where it belongs
14322         echo "$libmoonshot_PKG_ERRORS" >&5
14323
14324         as_fn_error $? "Package requirements (
14325         $CLIENT_IPC_MODULE
14326 ) were not met:
14327
14328 $libmoonshot_PKG_ERRORS
14329
14330 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14331 installed software in a non-standard prefix.
14332
14333 Alternatively, you may set the environment variables libmoonshot_CFLAGS
14334 and libmoonshot_LIBS to avoid the need to call pkg-config.
14335 See the pkg-config man page for more details." "$LINENO" 5
14336 elif test $pkg_failed = untried; then
14337         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14338 $as_echo "no" >&6; }
14339         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14340 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14341 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14342 is in your PATH or set the PKG_CONFIG environment variable to the full
14343 path to pkg-config.
14344
14345 Alternatively, you may set the environment variables libmoonshot_CFLAGS
14346 and libmoonshot_LIBS to avoid the need to call pkg-config.
14347 See the pkg-config man page for more details.
14348
14349 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14350 See \`config.log' for more details" "$LINENO" 5; }
14351 else
14352         libmoonshot_CFLAGS=$pkg_cv_libmoonshot_CFLAGS
14353         libmoonshot_LIBS=$pkg_cv_libmoonshot_LIBS
14354         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14355 $as_echo "yes" >&6; }
14356
14357 fi
14358
14359 # i18n stuff
14360
14361 mkdir_p="$MKDIR_P"
14362 case $mkdir_p in
14363   [\\/$]* | ?:[\\/]*) ;;
14364   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
14365 esac
14366
14367
14368   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
14369 $as_echo_n "checking whether NLS is requested... " >&6; }
14370     # Check whether --enable-nls was given.
14371 if test "${enable_nls+set}" = set; then :
14372   enableval=$enable_nls; USE_NLS=$enableval
14373 else
14374   USE_NLS=yes
14375 fi
14376
14377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
14378 $as_echo "$USE_NLS" >&6; }
14379
14380
14381
14382
14383       GETTEXT_MACRO_VERSION=0.17
14384
14385
14386
14387
14388 # Prepare PATH_SEPARATOR.
14389 # The user is always right.
14390 if test "${PATH_SEPARATOR+set}" != set; then
14391   echo "#! /bin/sh" >conf$$.sh
14392   echo  "exit 0"   >>conf$$.sh
14393   chmod +x conf$$.sh
14394   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14395     PATH_SEPARATOR=';'
14396   else
14397     PATH_SEPARATOR=:
14398   fi
14399   rm -f conf$$.sh
14400 fi
14401
14402 # Find out how to test for executable files. Don't use a zero-byte file,
14403 # as systems may use methods other than mode bits to determine executability.
14404 cat >conf$$.file <<_ASEOF
14405 #! /bin/sh
14406 exit 0
14407 _ASEOF
14408 chmod +x conf$$.file
14409 if test -x conf$$.file >/dev/null 2>&1; then
14410   ac_executable_p="test -x"
14411 else
14412   ac_executable_p="test -f"
14413 fi
14414 rm -f conf$$.file
14415
14416 # Extract the first word of "msgfmt", so it can be a program name with args.
14417 set dummy msgfmt; ac_word=$2
14418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14419 $as_echo_n "checking for $ac_word... " >&6; }
14420 if ${ac_cv_path_MSGFMT+:} false; then :
14421   $as_echo_n "(cached) " >&6
14422 else
14423   case "$MSGFMT" in
14424   [\\/]* | ?:[\\/]*)
14425     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
14426     ;;
14427   *)
14428     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
14429     for ac_dir in $PATH; do
14430       IFS="$ac_save_IFS"
14431       test -z "$ac_dir" && ac_dir=.
14432       for ac_exec_ext in '' $ac_executable_extensions; do
14433         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14434           echo "$as_me: trying $ac_dir/$ac_word..." >&5
14435           if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
14436      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
14437             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
14438             break 2
14439           fi
14440         fi
14441       done
14442     done
14443     IFS="$ac_save_IFS"
14444   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
14445     ;;
14446 esac
14447 fi
14448 MSGFMT="$ac_cv_path_MSGFMT"
14449 if test "$MSGFMT" != ":"; then
14450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
14451 $as_echo "$MSGFMT" >&6; }
14452 else
14453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14454 $as_echo "no" >&6; }
14455 fi
14456
14457   # Extract the first word of "gmsgfmt", so it can be a program name with args.
14458 set dummy gmsgfmt; ac_word=$2
14459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14460 $as_echo_n "checking for $ac_word... " >&6; }
14461 if ${ac_cv_path_GMSGFMT+:} false; then :
14462   $as_echo_n "(cached) " >&6
14463 else
14464   case $GMSGFMT in
14465   [\\/]* | ?:[\\/]*)
14466   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
14467   ;;
14468   *)
14469   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14470 for as_dir in $PATH
14471 do
14472   IFS=$as_save_IFS
14473   test -z "$as_dir" && as_dir=.
14474     for ac_exec_ext in '' $ac_executable_extensions; do
14475   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14476     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
14477     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14478     break 2
14479   fi
14480 done
14481   done
14482 IFS=$as_save_IFS
14483
14484   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
14485   ;;
14486 esac
14487 fi
14488 GMSGFMT=$ac_cv_path_GMSGFMT
14489 if test -n "$GMSGFMT"; then
14490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
14491 $as_echo "$GMSGFMT" >&6; }
14492 else
14493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14494 $as_echo "no" >&6; }
14495 fi
14496
14497
14498
14499     case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14500     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
14501     *) MSGFMT_015=$MSGFMT ;;
14502   esac
14503
14504   case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14505     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
14506     *) GMSGFMT_015=$GMSGFMT ;;
14507   esac
14508
14509
14510
14511 # Prepare PATH_SEPARATOR.
14512 # The user is always right.
14513 if test "${PATH_SEPARATOR+set}" != set; then
14514   echo "#! /bin/sh" >conf$$.sh
14515   echo  "exit 0"   >>conf$$.sh
14516   chmod +x conf$$.sh
14517   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14518     PATH_SEPARATOR=';'
14519   else
14520     PATH_SEPARATOR=:
14521   fi
14522   rm -f conf$$.sh
14523 fi
14524
14525 # Find out how to test for executable files. Don't use a zero-byte file,
14526 # as systems may use methods other than mode bits to determine executability.
14527 cat >conf$$.file <<_ASEOF
14528 #! /bin/sh
14529 exit 0
14530 _ASEOF
14531 chmod +x conf$$.file
14532 if test -x conf$$.file >/dev/null 2>&1; then
14533   ac_executable_p="test -x"
14534 else
14535   ac_executable_p="test -f"
14536 fi
14537 rm -f conf$$.file
14538
14539 # Extract the first word of "xgettext", so it can be a program name with args.
14540 set dummy xgettext; ac_word=$2
14541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14542 $as_echo_n "checking for $ac_word... " >&6; }
14543 if ${ac_cv_path_XGETTEXT+:} false; then :
14544   $as_echo_n "(cached) " >&6
14545 else
14546   case "$XGETTEXT" in
14547   [\\/]* | ?:[\\/]*)
14548     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
14549     ;;
14550   *)
14551     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
14552     for ac_dir in $PATH; do
14553       IFS="$ac_save_IFS"
14554       test -z "$ac_dir" && ac_dir=.
14555       for ac_exec_ext in '' $ac_executable_extensions; do
14556         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14557           echo "$as_me: trying $ac_dir/$ac_word..." >&5
14558           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
14559      (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
14560             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
14561             break 2
14562           fi
14563         fi
14564       done
14565     done
14566     IFS="$ac_save_IFS"
14567   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
14568     ;;
14569 esac
14570 fi
14571 XGETTEXT="$ac_cv_path_XGETTEXT"
14572 if test "$XGETTEXT" != ":"; then
14573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
14574 $as_echo "$XGETTEXT" >&6; }
14575 else
14576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14577 $as_echo "no" >&6; }
14578 fi
14579
14580     rm -f messages.po
14581
14582     case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14583     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
14584     *) XGETTEXT_015=$XGETTEXT ;;
14585   esac
14586
14587
14588
14589 # Prepare PATH_SEPARATOR.
14590 # The user is always right.
14591 if test "${PATH_SEPARATOR+set}" != set; then
14592   echo "#! /bin/sh" >conf$$.sh
14593   echo  "exit 0"   >>conf$$.sh
14594   chmod +x conf$$.sh
14595   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14596     PATH_SEPARATOR=';'
14597   else
14598     PATH_SEPARATOR=:
14599   fi
14600   rm -f conf$$.sh
14601 fi
14602
14603 # Find out how to test for executable files. Don't use a zero-byte file,
14604 # as systems may use methods other than mode bits to determine executability.
14605 cat >conf$$.file <<_ASEOF
14606 #! /bin/sh
14607 exit 0
14608 _ASEOF
14609 chmod +x conf$$.file
14610 if test -x conf$$.file >/dev/null 2>&1; then
14611   ac_executable_p="test -x"
14612 else
14613   ac_executable_p="test -f"
14614 fi
14615 rm -f conf$$.file
14616
14617 # Extract the first word of "msgmerge", so it can be a program name with args.
14618 set dummy msgmerge; ac_word=$2
14619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14620 $as_echo_n "checking for $ac_word... " >&6; }
14621 if ${ac_cv_path_MSGMERGE+:} false; then :
14622   $as_echo_n "(cached) " >&6
14623 else
14624   case "$MSGMERGE" in
14625   [\\/]* | ?:[\\/]*)
14626     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
14627     ;;
14628   *)
14629     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
14630     for ac_dir in $PATH; do
14631       IFS="$ac_save_IFS"
14632       test -z "$ac_dir" && ac_dir=.
14633       for ac_exec_ext in '' $ac_executable_extensions; do
14634         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14635           echo "$as_me: trying $ac_dir/$ac_word..." >&5
14636           if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
14637             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
14638             break 2
14639           fi
14640         fi
14641       done
14642     done
14643     IFS="$ac_save_IFS"
14644   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
14645     ;;
14646 esac
14647 fi
14648 MSGMERGE="$ac_cv_path_MSGMERGE"
14649 if test "$MSGMERGE" != ":"; then
14650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
14651 $as_echo "$MSGMERGE" >&6; }
14652 else
14653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14654 $as_echo "no" >&6; }
14655 fi
14656
14657
14658         test -n "$localedir" || localedir='${datadir}/locale'
14659
14660
14661     test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
14662
14663
14664   ac_config_commands="$ac_config_commands po-directories"
14665
14666
14667
14668       if test "X$prefix" = "XNONE"; then
14669     acl_final_prefix="$ac_default_prefix"
14670   else
14671     acl_final_prefix="$prefix"
14672   fi
14673   if test "X$exec_prefix" = "XNONE"; then
14674     acl_final_exec_prefix='${prefix}'
14675   else
14676     acl_final_exec_prefix="$exec_prefix"
14677   fi
14678   acl_save_prefix="$prefix"
14679   prefix="$acl_final_prefix"
14680   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
14681   prefix="$acl_save_prefix"
14682
14683
14684 # Check whether --with-gnu-ld was given.
14685 if test "${with_gnu_ld+set}" = set; then :
14686   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14687 else
14688   with_gnu_ld=no
14689 fi
14690
14691 # Prepare PATH_SEPARATOR.
14692 # The user is always right.
14693 if test "${PATH_SEPARATOR+set}" != set; then
14694   echo "#! /bin/sh" >conf$$.sh
14695   echo  "exit 0"   >>conf$$.sh
14696   chmod +x conf$$.sh
14697   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14698     PATH_SEPARATOR=';'
14699   else
14700     PATH_SEPARATOR=:
14701   fi
14702   rm -f conf$$.sh
14703 fi
14704 ac_prog=ld
14705 if test "$GCC" = yes; then
14706   # Check if gcc -print-prog-name=ld gives a path.
14707   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
14708 $as_echo_n "checking for ld used by GCC... " >&6; }
14709   case $host in
14710   *-*-mingw*)
14711     # gcc leaves a trailing carriage return which upsets mingw
14712     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14713   *)
14714     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14715   esac
14716   case $ac_prog in
14717     # Accept absolute paths.
14718     [\\/]* | [A-Za-z]:[\\/]*)
14719       re_direlt='/[^/][^/]*/\.\./'
14720       # Canonicalize the path of ld
14721       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
14722       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
14723         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
14724       done
14725       test -z "$LD" && LD="$ac_prog"
14726       ;;
14727   "")
14728     # If it fails, then pretend we aren't using GCC.
14729     ac_prog=ld
14730     ;;
14731   *)
14732     # If it is relative, then search for the first ld in PATH.
14733     with_gnu_ld=unknown
14734     ;;
14735   esac
14736 elif test "$with_gnu_ld" = yes; then
14737   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14738 $as_echo_n "checking for GNU ld... " >&6; }
14739 else
14740   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14741 $as_echo_n "checking for non-GNU ld... " >&6; }
14742 fi
14743 if ${acl_cv_path_LD+:} false; then :
14744   $as_echo_n "(cached) " >&6
14745 else
14746   if test -z "$LD"; then
14747   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
14748   for ac_dir in $PATH; do
14749     test -z "$ac_dir" && ac_dir=.
14750     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14751       acl_cv_path_LD="$ac_dir/$ac_prog"
14752       # Check to see if the program is GNU ld.  I'd rather use --version,
14753       # but apparently some GNU ld's only accept -v.
14754       # Break only if it was the GNU/non-GNU ld that we prefer.
14755       case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
14756       *GNU* | *'with BFD'*)
14757         test "$with_gnu_ld" != no && break ;;
14758       *)
14759         test "$with_gnu_ld" != yes && break ;;
14760       esac
14761     fi
14762   done
14763   IFS="$ac_save_ifs"
14764 else
14765   acl_cv_path_LD="$LD" # Let the user override the test with a path.
14766 fi
14767 fi
14768
14769 LD="$acl_cv_path_LD"
14770 if test -n "$LD"; then
14771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14772 $as_echo "$LD" >&6; }
14773 else
14774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14775 $as_echo "no" >&6; }
14776 fi
14777 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14779 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14780 if ${acl_cv_prog_gnu_ld+:} false; then :
14781   $as_echo_n "(cached) " >&6
14782 else
14783   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
14784 case `$LD -v 2>&1 </dev/null` in
14785 *GNU* | *'with BFD'*)
14786   acl_cv_prog_gnu_ld=yes ;;
14787 *)
14788   acl_cv_prog_gnu_ld=no ;;
14789 esac
14790 fi
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
14792 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
14793 with_gnu_ld=$acl_cv_prog_gnu_ld
14794
14795
14796
14797
14798                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
14799 $as_echo_n "checking for shared library run path origin... " >&6; }
14800 if ${acl_cv_rpath+:} false; then :
14801   $as_echo_n "(cached) " >&6
14802 else
14803
14804     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
14805     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
14806     . ./conftest.sh
14807     rm -f ./conftest.sh
14808     acl_cv_rpath=done
14809
14810 fi
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
14812 $as_echo "$acl_cv_rpath" >&6; }
14813   wl="$acl_cv_wl"
14814   acl_libext="$acl_cv_libext"
14815   acl_shlibext="$acl_cv_shlibext"
14816   acl_libname_spec="$acl_cv_libname_spec"
14817   acl_library_names_spec="$acl_cv_library_names_spec"
14818   acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
14819   acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
14820   acl_hardcode_direct="$acl_cv_hardcode_direct"
14821   acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
14822     # Check whether --enable-rpath was given.
14823 if test "${enable_rpath+set}" = set; then :
14824   enableval=$enable_rpath; :
14825 else
14826   enable_rpath=yes
14827 fi
14828
14829
14830
14831                   acl_libdirstem=lib
14832   searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
14833   if test -n "$searchpath"; then
14834     acl_save_IFS="${IFS=        }"; IFS=":"
14835     for searchdir in $searchpath; do
14836       if test -d "$searchdir"; then
14837         case "$searchdir" in
14838           */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
14839           *) searchdir=`cd "$searchdir" && pwd`
14840              case "$searchdir" in
14841                */lib64 ) acl_libdirstem=lib64 ;;
14842              esac ;;
14843         esac
14844       fi
14845     done
14846     IFS="$acl_save_IFS"
14847   fi
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857     use_additional=yes
14858
14859   acl_save_prefix="$prefix"
14860   prefix="$acl_final_prefix"
14861   acl_save_exec_prefix="$exec_prefix"
14862   exec_prefix="$acl_final_exec_prefix"
14863
14864     eval additional_includedir=\"$includedir\"
14865     eval additional_libdir=\"$libdir\"
14866
14867   exec_prefix="$acl_save_exec_prefix"
14868   prefix="$acl_save_prefix"
14869
14870
14871 # Check whether --with-libiconv-prefix was given.
14872 if test "${with_libiconv_prefix+set}" = set; then :
14873   withval=$with_libiconv_prefix;
14874     if test "X$withval" = "Xno"; then
14875       use_additional=no
14876     else
14877       if test "X$withval" = "X"; then
14878
14879   acl_save_prefix="$prefix"
14880   prefix="$acl_final_prefix"
14881   acl_save_exec_prefix="$exec_prefix"
14882   exec_prefix="$acl_final_exec_prefix"
14883
14884           eval additional_includedir=\"$includedir\"
14885           eval additional_libdir=\"$libdir\"
14886
14887   exec_prefix="$acl_save_exec_prefix"
14888   prefix="$acl_save_prefix"
14889
14890       else
14891         additional_includedir="$withval/include"
14892         additional_libdir="$withval/$acl_libdirstem"
14893       fi
14894     fi
14895
14896 fi
14897
14898       LIBICONV=
14899   LTLIBICONV=
14900   INCICONV=
14901   LIBICONV_PREFIX=
14902   rpathdirs=
14903   ltrpathdirs=
14904   names_already_handled=
14905   names_next_round='iconv '
14906   while test -n "$names_next_round"; do
14907     names_this_round="$names_next_round"
14908     names_next_round=
14909     for name in $names_this_round; do
14910       already_handled=
14911       for n in $names_already_handled; do
14912         if test "$n" = "$name"; then
14913           already_handled=yes
14914           break
14915         fi
14916       done
14917       if test -z "$already_handled"; then
14918         names_already_handled="$names_already_handled $name"
14919                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14920         eval value=\"\$HAVE_LIB$uppername\"
14921         if test -n "$value"; then
14922           if test "$value" = yes; then
14923             eval value=\"\$LIB$uppername\"
14924             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
14925             eval value=\"\$LTLIB$uppername\"
14926             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
14927           else
14928                                     :
14929           fi
14930         else
14931                               found_dir=
14932           found_la=
14933           found_so=
14934           found_a=
14935           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
14936           if test -n "$acl_shlibext"; then
14937             shrext=".$acl_shlibext"             # typically: shrext=.so
14938           else
14939             shrext=
14940           fi
14941           if test $use_additional = yes; then
14942             dir="$additional_libdir"
14943                                     if test -n "$acl_shlibext"; then
14944               if test -f "$dir/$libname$shrext"; then
14945                 found_dir="$dir"
14946                 found_so="$dir/$libname$shrext"
14947               else
14948                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14949                   ver=`(cd "$dir" && \
14950                         for f in "$libname$shrext".*; do echo "$f"; done \
14951                         | sed -e "s,^$libname$shrext\\\\.,," \
14952                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14953                         | sed 1q ) 2>/dev/null`
14954                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14955                     found_dir="$dir"
14956                     found_so="$dir/$libname$shrext.$ver"
14957                   fi
14958                 else
14959                   eval library_names=\"$acl_library_names_spec\"
14960                   for f in $library_names; do
14961                     if test -f "$dir/$f"; then
14962                       found_dir="$dir"
14963                       found_so="$dir/$f"
14964                       break
14965                     fi
14966                   done
14967                 fi
14968               fi
14969             fi
14970                         if test "X$found_dir" = "X"; then
14971               if test -f "$dir/$libname.$acl_libext"; then
14972                 found_dir="$dir"
14973                 found_a="$dir/$libname.$acl_libext"
14974               fi
14975             fi
14976             if test "X$found_dir" != "X"; then
14977               if test -f "$dir/$libname.la"; then
14978                 found_la="$dir/$libname.la"
14979               fi
14980             fi
14981           fi
14982           if test "X$found_dir" = "X"; then
14983             for x in $LDFLAGS $LTLIBICONV; do
14984
14985   acl_save_prefix="$prefix"
14986   prefix="$acl_final_prefix"
14987   acl_save_exec_prefix="$exec_prefix"
14988   exec_prefix="$acl_final_exec_prefix"
14989   eval x=\"$x\"
14990   exec_prefix="$acl_save_exec_prefix"
14991   prefix="$acl_save_prefix"
14992
14993               case "$x" in
14994                 -L*)
14995                   dir=`echo "X$x" | sed -e 's/^X-L//'`
14996                                     if test -n "$acl_shlibext"; then
14997                     if test -f "$dir/$libname$shrext"; then
14998                       found_dir="$dir"
14999                       found_so="$dir/$libname$shrext"
15000                     else
15001                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15002                         ver=`(cd "$dir" && \
15003                               for f in "$libname$shrext".*; do echo "$f"; done \
15004                               | sed -e "s,^$libname$shrext\\\\.,," \
15005                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15006                               | sed 1q ) 2>/dev/null`
15007                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15008                           found_dir="$dir"
15009                           found_so="$dir/$libname$shrext.$ver"
15010                         fi
15011                       else
15012                         eval library_names=\"$acl_library_names_spec\"
15013                         for f in $library_names; do
15014                           if test -f "$dir/$f"; then
15015                             found_dir="$dir"
15016                             found_so="$dir/$f"
15017                             break
15018                           fi
15019                         done
15020                       fi
15021                     fi
15022                   fi
15023                                     if test "X$found_dir" = "X"; then
15024                     if test -f "$dir/$libname.$acl_libext"; then
15025                       found_dir="$dir"
15026                       found_a="$dir/$libname.$acl_libext"
15027                     fi
15028                   fi
15029                   if test "X$found_dir" != "X"; then
15030                     if test -f "$dir/$libname.la"; then
15031                       found_la="$dir/$libname.la"
15032                     fi
15033                   fi
15034                   ;;
15035               esac
15036               if test "X$found_dir" != "X"; then
15037                 break
15038               fi
15039             done
15040           fi
15041           if test "X$found_dir" != "X"; then
15042                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
15043             if test "X$found_so" != "X"; then
15044                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
15045                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15046               else
15047                                                                                 haveit=
15048                 for x in $ltrpathdirs; do
15049                   if test "X$x" = "X$found_dir"; then
15050                     haveit=yes
15051                     break
15052                   fi
15053                 done
15054                 if test -z "$haveit"; then
15055                   ltrpathdirs="$ltrpathdirs $found_dir"
15056                 fi
15057                                 if test "$acl_hardcode_direct" = yes; then
15058                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15059                 else
15060                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
15061                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15062                                                             haveit=
15063                     for x in $rpathdirs; do
15064                       if test "X$x" = "X$found_dir"; then
15065                         haveit=yes
15066                         break
15067                       fi
15068                     done
15069                     if test -z "$haveit"; then
15070                       rpathdirs="$rpathdirs $found_dir"
15071                     fi
15072                   else
15073                                                                                 haveit=
15074                     for x in $LDFLAGS $LIBICONV; do
15075
15076   acl_save_prefix="$prefix"
15077   prefix="$acl_final_prefix"
15078   acl_save_exec_prefix="$exec_prefix"
15079   exec_prefix="$acl_final_exec_prefix"
15080   eval x=\"$x\"
15081   exec_prefix="$acl_save_exec_prefix"
15082   prefix="$acl_save_prefix"
15083
15084                       if test "X$x" = "X-L$found_dir"; then
15085                         haveit=yes
15086                         break
15087                       fi
15088                     done
15089                     if test -z "$haveit"; then
15090                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
15091                     fi
15092                     if test "$acl_hardcode_minus_L" != no; then
15093                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
15094                     else
15095                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
15096                     fi
15097                   fi
15098                 fi
15099               fi
15100             else
15101               if test "X$found_a" != "X"; then
15102                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
15103               else
15104                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
15105               fi
15106             fi
15107                         additional_includedir=
15108             case "$found_dir" in
15109               */$acl_libdirstem | */$acl_libdirstem/)
15110                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
15111                 LIBICONV_PREFIX="$basedir"
15112                 additional_includedir="$basedir/include"
15113                 ;;
15114             esac
15115             if test "X$additional_includedir" != "X"; then
15116                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
15117                 haveit=
15118                 if test "X$additional_includedir" = "X/usr/local/include"; then
15119                   if test -n "$GCC"; then
15120                     case $host_os in
15121                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15122                     esac
15123                   fi
15124                 fi
15125                 if test -z "$haveit"; then
15126                   for x in $CPPFLAGS $INCICONV; do
15127
15128   acl_save_prefix="$prefix"
15129   prefix="$acl_final_prefix"
15130   acl_save_exec_prefix="$exec_prefix"
15131   exec_prefix="$acl_final_exec_prefix"
15132   eval x=\"$x\"
15133   exec_prefix="$acl_save_exec_prefix"
15134   prefix="$acl_save_prefix"
15135
15136                     if test "X$x" = "X-I$additional_includedir"; then
15137                       haveit=yes
15138                       break
15139                     fi
15140                   done
15141                   if test -z "$haveit"; then
15142                     if test -d "$additional_includedir"; then
15143                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
15144                     fi
15145                   fi
15146                 fi
15147               fi
15148             fi
15149                         if test -n "$found_la"; then
15150                                                         save_libdir="$libdir"
15151               case "$found_la" in
15152                 */* | *\\*) . "$found_la" ;;
15153                 *) . "./$found_la" ;;
15154               esac
15155               libdir="$save_libdir"
15156                             for dep in $dependency_libs; do
15157                 case "$dep" in
15158                   -L*)
15159                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
15160                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
15161                       haveit=
15162                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
15163                         if test -n "$GCC"; then
15164                           case $host_os in
15165                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15166                           esac
15167                         fi
15168                       fi
15169                       if test -z "$haveit"; then
15170                         haveit=
15171                         for x in $LDFLAGS $LIBICONV; do
15172
15173   acl_save_prefix="$prefix"
15174   prefix="$acl_final_prefix"
15175   acl_save_exec_prefix="$exec_prefix"
15176   exec_prefix="$acl_final_exec_prefix"
15177   eval x=\"$x\"
15178   exec_prefix="$acl_save_exec_prefix"
15179   prefix="$acl_save_prefix"
15180
15181                           if test "X$x" = "X-L$additional_libdir"; then
15182                             haveit=yes
15183                             break
15184                           fi
15185                         done
15186                         if test -z "$haveit"; then
15187                           if test -d "$additional_libdir"; then
15188                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
15189                           fi
15190                         fi
15191                         haveit=
15192                         for x in $LDFLAGS $LTLIBICONV; do
15193
15194   acl_save_prefix="$prefix"
15195   prefix="$acl_final_prefix"
15196   acl_save_exec_prefix="$exec_prefix"
15197   exec_prefix="$acl_final_exec_prefix"
15198   eval x=\"$x\"
15199   exec_prefix="$acl_save_exec_prefix"
15200   prefix="$acl_save_prefix"
15201
15202                           if test "X$x" = "X-L$additional_libdir"; then
15203                             haveit=yes
15204                             break
15205                           fi
15206                         done
15207                         if test -z "$haveit"; then
15208                           if test -d "$additional_libdir"; then
15209                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
15210                           fi
15211                         fi
15212                       fi
15213                     fi
15214                     ;;
15215                   -R*)
15216                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
15217                     if test "$enable_rpath" != no; then
15218                                                                   haveit=
15219                       for x in $rpathdirs; do
15220                         if test "X$x" = "X$dir"; then
15221                           haveit=yes
15222                           break
15223                         fi
15224                       done
15225                       if test -z "$haveit"; then
15226                         rpathdirs="$rpathdirs $dir"
15227                       fi
15228                                                                   haveit=
15229                       for x in $ltrpathdirs; do
15230                         if test "X$x" = "X$dir"; then
15231                           haveit=yes
15232                           break
15233                         fi
15234                       done
15235                       if test -z "$haveit"; then
15236                         ltrpathdirs="$ltrpathdirs $dir"
15237                       fi
15238                     fi
15239                     ;;
15240                   -l*)
15241                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
15242                     ;;
15243                   *.la)
15244                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
15245                     ;;
15246                   *)
15247                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
15248                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
15249                     ;;
15250                 esac
15251               done
15252             fi
15253           else
15254                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
15255             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
15256           fi
15257         fi
15258       fi
15259     done
15260   done
15261   if test "X$rpathdirs" != "X"; then
15262     if test -n "$acl_hardcode_libdir_separator"; then
15263                         alldirs=
15264       for found_dir in $rpathdirs; do
15265         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
15266       done
15267             acl_save_libdir="$libdir"
15268       libdir="$alldirs"
15269       eval flag=\"$acl_hardcode_libdir_flag_spec\"
15270       libdir="$acl_save_libdir"
15271       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
15272     else
15273             for found_dir in $rpathdirs; do
15274         acl_save_libdir="$libdir"
15275         libdir="$found_dir"
15276         eval flag=\"$acl_hardcode_libdir_flag_spec\"
15277         libdir="$acl_save_libdir"
15278         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
15279       done
15280     fi
15281   fi
15282   if test "X$ltrpathdirs" != "X"; then
15283             for found_dir in $ltrpathdirs; do
15284       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
15285     done
15286   fi
15287
15288
15289
15290
15291
15292
15293
15294
15295
15296
15297
15298
15299
15300
15301
15302
15303
15304
15305
15306
15307
15308
15309
15310
15311
15312     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
15313 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
15314 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
15315   $as_echo_n "(cached) " >&6
15316 else
15317   gt_save_LIBS="$LIBS"
15318      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
15319      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15320 /* end confdefs.h.  */
15321 #include <CoreFoundation/CFPreferences.h>
15322 int
15323 main ()
15324 {
15325 CFPreferencesCopyAppValue(NULL, NULL)
15326   ;
15327   return 0;
15328 }
15329 _ACEOF
15330 if ac_fn_c_try_link "$LINENO"; then :
15331   gt_cv_func_CFPreferencesCopyAppValue=yes
15332 else
15333   gt_cv_func_CFPreferencesCopyAppValue=no
15334 fi
15335 rm -f core conftest.err conftest.$ac_objext \
15336     conftest$ac_exeext conftest.$ac_ext
15337      LIBS="$gt_save_LIBS"
15338 fi
15339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
15340 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
15341   if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
15342
15343 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
15344
15345   fi
15346     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
15347 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
15348 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
15349   $as_echo_n "(cached) " >&6
15350 else
15351   gt_save_LIBS="$LIBS"
15352      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
15353      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15354 /* end confdefs.h.  */
15355 #include <CoreFoundation/CFLocale.h>
15356 int
15357 main ()
15358 {
15359 CFLocaleCopyCurrent();
15360   ;
15361   return 0;
15362 }
15363 _ACEOF
15364 if ac_fn_c_try_link "$LINENO"; then :
15365   gt_cv_func_CFLocaleCopyCurrent=yes
15366 else
15367   gt_cv_func_CFLocaleCopyCurrent=no
15368 fi
15369 rm -f core conftest.err conftest.$ac_objext \
15370     conftest$ac_exeext conftest.$ac_ext
15371      LIBS="$gt_save_LIBS"
15372 fi
15373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
15374 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
15375   if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
15376
15377 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
15378
15379   fi
15380   INTL_MACOSX_LIBS=
15381   if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
15382     INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
15383   fi
15384
15385
15386
15387
15388
15389
15390   LIBINTL=
15391   LTLIBINTL=
15392   POSUB=
15393
15394     case " $gt_needs " in
15395     *" need-formatstring-macros "*) gt_api_version=3 ;;
15396     *" need-ngettext "*) gt_api_version=2 ;;
15397     *) gt_api_version=1 ;;
15398   esac
15399   gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
15400   gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
15401
15402     if test "$USE_NLS" = "yes"; then
15403     gt_use_preinstalled_gnugettext=no
15404
15405
15406         if test $gt_api_version -ge 3; then
15407           gt_revision_test_code='
15408 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
15409 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
15410 #endif
15411 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
15412 '
15413         else
15414           gt_revision_test_code=
15415         fi
15416         if test $gt_api_version -ge 2; then
15417           gt_expression_test_code=' + * ngettext ("", "", 0)'
15418         else
15419           gt_expression_test_code=
15420         fi
15421
15422         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
15423 $as_echo_n "checking for GNU gettext in libc... " >&6; }
15424 if eval \${$gt_func_gnugettext_libc+:} false; then :
15425   $as_echo_n "(cached) " >&6
15426 else
15427   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15428 /* end confdefs.h.  */
15429 #include <libintl.h>
15430 $gt_revision_test_code
15431 extern int _nl_msg_cat_cntr;
15432 extern int *_nl_domain_bindings;
15433 int
15434 main ()
15435 {
15436 bindtextdomain ("", "");
15437 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
15438   ;
15439   return 0;
15440 }
15441 _ACEOF
15442 if ac_fn_c_try_link "$LINENO"; then :
15443   eval "$gt_func_gnugettext_libc=yes"
15444 else
15445   eval "$gt_func_gnugettext_libc=no"
15446 fi
15447 rm -f core conftest.err conftest.$ac_objext \
15448     conftest$ac_exeext conftest.$ac_ext
15449 fi
15450 eval ac_res=\$$gt_func_gnugettext_libc
15451                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15452 $as_echo "$ac_res" >&6; }
15453
15454         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
15455
15456
15457
15458
15459
15460           am_save_CPPFLAGS="$CPPFLAGS"
15461
15462   for element in $INCICONV; do
15463     haveit=
15464     for x in $CPPFLAGS; do
15465
15466   acl_save_prefix="$prefix"
15467   prefix="$acl_final_prefix"
15468   acl_save_exec_prefix="$exec_prefix"
15469   exec_prefix="$acl_final_exec_prefix"
15470   eval x=\"$x\"
15471   exec_prefix="$acl_save_exec_prefix"
15472   prefix="$acl_save_prefix"
15473
15474       if test "X$x" = "X$element"; then
15475         haveit=yes
15476         break
15477       fi
15478     done
15479     if test -z "$haveit"; then
15480       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
15481     fi
15482   done
15483
15484
15485   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
15486 $as_echo_n "checking for iconv... " >&6; }
15487 if ${am_cv_func_iconv+:} false; then :
15488   $as_echo_n "(cached) " >&6
15489 else
15490
15491     am_cv_func_iconv="no, consider installing GNU libiconv"
15492     am_cv_lib_iconv=no
15493     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15494 /* end confdefs.h.  */
15495 #include <stdlib.h>
15496 #include <iconv.h>
15497 int
15498 main ()
15499 {
15500 iconv_t cd = iconv_open("","");
15501        iconv(cd,NULL,NULL,NULL,NULL);
15502        iconv_close(cd);
15503   ;
15504   return 0;
15505 }
15506 _ACEOF
15507 if ac_fn_c_try_link "$LINENO"; then :
15508   am_cv_func_iconv=yes
15509 fi
15510 rm -f core conftest.err conftest.$ac_objext \
15511     conftest$ac_exeext conftest.$ac_ext
15512     if test "$am_cv_func_iconv" != yes; then
15513       am_save_LIBS="$LIBS"
15514       LIBS="$LIBS $LIBICONV"
15515       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15516 /* end confdefs.h.  */
15517 #include <stdlib.h>
15518 #include <iconv.h>
15519 int
15520 main ()
15521 {
15522 iconv_t cd = iconv_open("","");
15523          iconv(cd,NULL,NULL,NULL,NULL);
15524          iconv_close(cd);
15525   ;
15526   return 0;
15527 }
15528 _ACEOF
15529 if ac_fn_c_try_link "$LINENO"; then :
15530   am_cv_lib_iconv=yes
15531         am_cv_func_iconv=yes
15532 fi
15533 rm -f core conftest.err conftest.$ac_objext \
15534     conftest$ac_exeext conftest.$ac_ext
15535       LIBS="$am_save_LIBS"
15536     fi
15537
15538 fi
15539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
15540 $as_echo "$am_cv_func_iconv" >&6; }
15541   if test "$am_cv_func_iconv" = yes; then
15542     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
15543 $as_echo_n "checking for working iconv... " >&6; }
15544 if ${am_cv_func_iconv_works+:} false; then :
15545   $as_echo_n "(cached) " >&6
15546 else
15547
15548             am_save_LIBS="$LIBS"
15549       if test $am_cv_lib_iconv = yes; then
15550         LIBS="$LIBS $LIBICONV"
15551       fi
15552       if test "$cross_compiling" = yes; then :
15553   case "$host_os" in
15554            aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
15555            *)            am_cv_func_iconv_works="guessing yes" ;;
15556          esac
15557 else
15558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15559 /* end confdefs.h.  */
15560
15561 #include <iconv.h>
15562 #include <string.h>
15563 int main ()
15564 {
15565   /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
15566      returns.  */
15567   {
15568     iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
15569     if (cd_utf8_to_88591 != (iconv_t)(-1))
15570       {
15571         static const char input[] = "\342\202\254"; /* EURO SIGN */
15572         char buf[10];
15573         const char *inptr = input;
15574         size_t inbytesleft = strlen (input);
15575         char *outptr = buf;
15576         size_t outbytesleft = sizeof (buf);
15577         size_t res = iconv (cd_utf8_to_88591,
15578                             (char **) &inptr, &inbytesleft,
15579                             &outptr, &outbytesleft);
15580         if (res == 0)
15581           return 1;
15582       }
15583   }
15584 #if 0 /* This bug could be worked around by the caller.  */
15585   /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
15586   {
15587     iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
15588     if (cd_88591_to_utf8 != (iconv_t)(-1))
15589       {
15590         static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
15591         char buf[50];
15592         const char *inptr = input;
15593         size_t inbytesleft = strlen (input);
15594         char *outptr = buf;
15595         size_t outbytesleft = sizeof (buf);
15596         size_t res = iconv (cd_88591_to_utf8,
15597                             (char **) &inptr, &inbytesleft,
15598                             &outptr, &outbytesleft);
15599         if ((int)res > 0)
15600           return 1;
15601       }
15602   }
15603 #endif
15604   /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
15605      provided.  */
15606   if (/* Try standardized names.  */
15607       iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
15608       /* Try IRIX, OSF/1 names.  */
15609       && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
15610       /* Try AIX names.  */
15611       && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
15612       /* Try HP-UX names.  */
15613       && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
15614     return 1;
15615   return 0;
15616 }
15617 _ACEOF
15618 if ac_fn_c_try_run "$LINENO"; then :
15619   am_cv_func_iconv_works=yes
15620 else
15621   am_cv_func_iconv_works=no
15622 fi
15623 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15624   conftest.$ac_objext conftest.beam conftest.$ac_ext
15625 fi
15626
15627       LIBS="$am_save_LIBS"
15628
15629 fi
15630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
15631 $as_echo "$am_cv_func_iconv_works" >&6; }
15632     case "$am_cv_func_iconv_works" in
15633       *no) am_func_iconv=no am_cv_lib_iconv=no ;;
15634       *)   am_func_iconv=yes ;;
15635     esac
15636   else
15637     am_func_iconv=no am_cv_lib_iconv=no
15638   fi
15639   if test "$am_func_iconv" = yes; then
15640
15641 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
15642
15643   fi
15644   if test "$am_cv_lib_iconv" = yes; then
15645     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
15646 $as_echo_n "checking how to link with libiconv... " >&6; }
15647     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
15648 $as_echo "$LIBICONV" >&6; }
15649   else
15650             CPPFLAGS="$am_save_CPPFLAGS"
15651     LIBICONV=
15652     LTLIBICONV=
15653   fi
15654
15655
15656
15657
15658
15659
15660
15661
15662     use_additional=yes
15663
15664   acl_save_prefix="$prefix"
15665   prefix="$acl_final_prefix"
15666   acl_save_exec_prefix="$exec_prefix"
15667   exec_prefix="$acl_final_exec_prefix"
15668
15669     eval additional_includedir=\"$includedir\"
15670     eval additional_libdir=\"$libdir\"
15671
15672   exec_prefix="$acl_save_exec_prefix"
15673   prefix="$acl_save_prefix"
15674
15675
15676 # Check whether --with-libintl-prefix was given.
15677 if test "${with_libintl_prefix+set}" = set; then :
15678   withval=$with_libintl_prefix;
15679     if test "X$withval" = "Xno"; then
15680       use_additional=no
15681     else
15682       if test "X$withval" = "X"; then
15683
15684   acl_save_prefix="$prefix"
15685   prefix="$acl_final_prefix"
15686   acl_save_exec_prefix="$exec_prefix"
15687   exec_prefix="$acl_final_exec_prefix"
15688
15689           eval additional_includedir=\"$includedir\"
15690           eval additional_libdir=\"$libdir\"
15691
15692   exec_prefix="$acl_save_exec_prefix"
15693   prefix="$acl_save_prefix"
15694
15695       else
15696         additional_includedir="$withval/include"
15697         additional_libdir="$withval/$acl_libdirstem"
15698       fi
15699     fi
15700
15701 fi
15702
15703       LIBINTL=
15704   LTLIBINTL=
15705   INCINTL=
15706   LIBINTL_PREFIX=
15707   rpathdirs=
15708   ltrpathdirs=
15709   names_already_handled=
15710   names_next_round='intl '
15711   while test -n "$names_next_round"; do
15712     names_this_round="$names_next_round"
15713     names_next_round=
15714     for name in $names_this_round; do
15715       already_handled=
15716       for n in $names_already_handled; do
15717         if test "$n" = "$name"; then
15718           already_handled=yes
15719           break
15720         fi
15721       done
15722       if test -z "$already_handled"; then
15723         names_already_handled="$names_already_handled $name"
15724                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
15725         eval value=\"\$HAVE_LIB$uppername\"
15726         if test -n "$value"; then
15727           if test "$value" = yes; then
15728             eval value=\"\$LIB$uppername\"
15729             test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
15730             eval value=\"\$LTLIB$uppername\"
15731             test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
15732           else
15733                                     :
15734           fi
15735         else
15736                               found_dir=
15737           found_la=
15738           found_so=
15739           found_a=
15740           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
15741           if test -n "$acl_shlibext"; then
15742             shrext=".$acl_shlibext"             # typically: shrext=.so
15743           else
15744             shrext=
15745           fi
15746           if test $use_additional = yes; then
15747             dir="$additional_libdir"
15748                                     if test -n "$acl_shlibext"; then
15749               if test -f "$dir/$libname$shrext"; then
15750                 found_dir="$dir"
15751                 found_so="$dir/$libname$shrext"
15752               else
15753                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15754                   ver=`(cd "$dir" && \
15755                         for f in "$libname$shrext".*; do echo "$f"; done \
15756                         | sed -e "s,^$libname$shrext\\\\.,," \
15757                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15758                         | sed 1q ) 2>/dev/null`
15759                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15760                     found_dir="$dir"
15761                     found_so="$dir/$libname$shrext.$ver"
15762                   fi
15763                 else
15764                   eval library_names=\"$acl_library_names_spec\"
15765                   for f in $library_names; do
15766                     if test -f "$dir/$f"; then
15767                       found_dir="$dir"
15768                       found_so="$dir/$f"
15769                       break
15770                     fi
15771                   done
15772                 fi
15773               fi
15774             fi
15775                         if test "X$found_dir" = "X"; then
15776               if test -f "$dir/$libname.$acl_libext"; then
15777                 found_dir="$dir"
15778                 found_a="$dir/$libname.$acl_libext"
15779               fi
15780             fi
15781             if test "X$found_dir" != "X"; then
15782               if test -f "$dir/$libname.la"; then
15783                 found_la="$dir/$libname.la"
15784               fi
15785             fi
15786           fi
15787           if test "X$found_dir" = "X"; then
15788             for x in $LDFLAGS $LTLIBINTL; do
15789
15790   acl_save_prefix="$prefix"
15791   prefix="$acl_final_prefix"
15792   acl_save_exec_prefix="$exec_prefix"
15793   exec_prefix="$acl_final_exec_prefix"
15794   eval x=\"$x\"
15795   exec_prefix="$acl_save_exec_prefix"
15796   prefix="$acl_save_prefix"
15797
15798               case "$x" in
15799                 -L*)
15800                   dir=`echo "X$x" | sed -e 's/^X-L//'`
15801                                     if test -n "$acl_shlibext"; then
15802                     if test -f "$dir/$libname$shrext"; then
15803                       found_dir="$dir"
15804                       found_so="$dir/$libname$shrext"
15805                     else
15806                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15807                         ver=`(cd "$dir" && \
15808                               for f in "$libname$shrext".*; do echo "$f"; done \
15809                               | sed -e "s,^$libname$shrext\\\\.,," \
15810                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15811                               | sed 1q ) 2>/dev/null`
15812                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15813                           found_dir="$dir"
15814                           found_so="$dir/$libname$shrext.$ver"
15815                         fi
15816                       else
15817                         eval library_names=\"$acl_library_names_spec\"
15818                         for f in $library_names; do
15819                           if test -f "$dir/$f"; then
15820                             found_dir="$dir"
15821                             found_so="$dir/$f"
15822                             break
15823                           fi
15824                         done
15825                       fi
15826                     fi
15827                   fi
15828                                     if test "X$found_dir" = "X"; then
15829                     if test -f "$dir/$libname.$acl_libext"; then
15830                       found_dir="$dir"
15831                       found_a="$dir/$libname.$acl_libext"
15832                     fi
15833                   fi
15834                   if test "X$found_dir" != "X"; then
15835                     if test -f "$dir/$libname.la"; then
15836                       found_la="$dir/$libname.la"
15837                     fi
15838                   fi
15839                   ;;
15840               esac
15841               if test "X$found_dir" != "X"; then
15842                 break
15843               fi
15844             done
15845           fi
15846           if test "X$found_dir" != "X"; then
15847                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
15848             if test "X$found_so" != "X"; then
15849                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
15850                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15851               else
15852                                                                                 haveit=
15853                 for x in $ltrpathdirs; do
15854                   if test "X$x" = "X$found_dir"; then
15855                     haveit=yes
15856                     break
15857                   fi
15858                 done
15859                 if test -z "$haveit"; then
15860                   ltrpathdirs="$ltrpathdirs $found_dir"
15861                 fi
15862                                 if test "$acl_hardcode_direct" = yes; then
15863                                                       LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15864                 else
15865                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
15866                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15867                                                             haveit=
15868                     for x in $rpathdirs; do
15869                       if test "X$x" = "X$found_dir"; then
15870                         haveit=yes
15871                         break
15872                       fi
15873                     done
15874                     if test -z "$haveit"; then
15875                       rpathdirs="$rpathdirs $found_dir"
15876                     fi
15877                   else
15878                                                                                 haveit=
15879                     for x in $LDFLAGS $LIBINTL; do
15880
15881   acl_save_prefix="$prefix"
15882   prefix="$acl_final_prefix"
15883   acl_save_exec_prefix="$exec_prefix"
15884   exec_prefix="$acl_final_exec_prefix"
15885   eval x=\"$x\"
15886   exec_prefix="$acl_save_exec_prefix"
15887   prefix="$acl_save_prefix"
15888
15889                       if test "X$x" = "X-L$found_dir"; then
15890                         haveit=yes
15891                         break
15892                       fi
15893                     done
15894                     if test -z "$haveit"; then
15895                       LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
15896                     fi
15897                     if test "$acl_hardcode_minus_L" != no; then
15898                                                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15899                     else
15900                                                                                                                                                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
15901                     fi
15902                   fi
15903                 fi
15904               fi
15905             else
15906               if test "X$found_a" != "X"; then
15907                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
15908               else
15909                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
15910               fi
15911             fi
15912                         additional_includedir=
15913             case "$found_dir" in
15914               */$acl_libdirstem | */$acl_libdirstem/)
15915                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
15916                 LIBINTL_PREFIX="$basedir"
15917                 additional_includedir="$basedir/include"
15918                 ;;
15919             esac
15920             if test "X$additional_includedir" != "X"; then
15921                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
15922                 haveit=
15923                 if test "X$additional_includedir" = "X/usr/local/include"; then
15924                   if test -n "$GCC"; then
15925                     case $host_os in
15926                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15927                     esac
15928                   fi
15929                 fi
15930                 if test -z "$haveit"; then
15931                   for x in $CPPFLAGS $INCINTL; do
15932
15933   acl_save_prefix="$prefix"
15934   prefix="$acl_final_prefix"
15935   acl_save_exec_prefix="$exec_prefix"
15936   exec_prefix="$acl_final_exec_prefix"
15937   eval x=\"$x\"
15938   exec_prefix="$acl_save_exec_prefix"
15939   prefix="$acl_save_prefix"
15940
15941                     if test "X$x" = "X-I$additional_includedir"; then
15942                       haveit=yes
15943                       break
15944                     fi
15945                   done
15946                   if test -z "$haveit"; then
15947                     if test -d "$additional_includedir"; then
15948                                             INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
15949                     fi
15950                   fi
15951                 fi
15952               fi
15953             fi
15954                         if test -n "$found_la"; then
15955                                                         save_libdir="$libdir"
15956               case "$found_la" in
15957                 */* | *\\*) . "$found_la" ;;
15958                 *) . "./$found_la" ;;
15959               esac
15960               libdir="$save_libdir"
15961                             for dep in $dependency_libs; do
15962                 case "$dep" in
15963                   -L*)
15964                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
15965                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
15966                       haveit=
15967                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
15968                         if test -n "$GCC"; then
15969                           case $host_os in
15970                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15971                           esac
15972                         fi
15973                       fi
15974                       if test -z "$haveit"; then
15975                         haveit=
15976                         for x in $LDFLAGS $LIBINTL; do
15977
15978   acl_save_prefix="$prefix"
15979   prefix="$acl_final_prefix"
15980   acl_save_exec_prefix="$exec_prefix"
15981   exec_prefix="$acl_final_exec_prefix"
15982   eval x=\"$x\"
15983   exec_prefix="$acl_save_exec_prefix"
15984   prefix="$acl_save_prefix"
15985
15986                           if test "X$x" = "X-L$additional_libdir"; then
15987                             haveit=yes
15988                             break
15989                           fi
15990                         done
15991                         if test -z "$haveit"; then
15992                           if test -d "$additional_libdir"; then
15993                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
15994                           fi
15995                         fi
15996                         haveit=
15997                         for x in $LDFLAGS $LTLIBINTL; do
15998
15999   acl_save_prefix="$prefix"
16000   prefix="$acl_final_prefix"
16001   acl_save_exec_prefix="$exec_prefix"
16002   exec_prefix="$acl_final_exec_prefix"
16003   eval x=\"$x\"
16004   exec_prefix="$acl_save_exec_prefix"
16005   prefix="$acl_save_prefix"
16006
16007                           if test "X$x" = "X-L$additional_libdir"; then
16008                             haveit=yes
16009                             break
16010                           fi
16011                         done
16012                         if test -z "$haveit"; then
16013                           if test -d "$additional_libdir"; then
16014                                                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
16015                           fi
16016                         fi
16017                       fi
16018                     fi
16019                     ;;
16020                   -R*)
16021                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
16022                     if test "$enable_rpath" != no; then
16023                                                                   haveit=
16024                       for x in $rpathdirs; do
16025                         if test "X$x" = "X$dir"; then
16026                           haveit=yes
16027                           break
16028                         fi
16029                       done
16030                       if test -z "$haveit"; then
16031                         rpathdirs="$rpathdirs $dir"
16032                       fi
16033                                                                   haveit=
16034                       for x in $ltrpathdirs; do
16035                         if test "X$x" = "X$dir"; then
16036                           haveit=yes
16037                           break
16038                         fi
16039                       done
16040                       if test -z "$haveit"; then
16041                         ltrpathdirs="$ltrpathdirs $dir"
16042                       fi
16043                     fi
16044                     ;;
16045                   -l*)
16046                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
16047                     ;;
16048                   *.la)
16049                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
16050                     ;;
16051                   *)
16052                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
16053                     LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
16054                     ;;
16055                 esac
16056               done
16057             fi
16058           else
16059                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
16060             LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
16061           fi
16062         fi
16063       fi
16064     done
16065   done
16066   if test "X$rpathdirs" != "X"; then
16067     if test -n "$acl_hardcode_libdir_separator"; then
16068                         alldirs=
16069       for found_dir in $rpathdirs; do
16070         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
16071       done
16072             acl_save_libdir="$libdir"
16073       libdir="$alldirs"
16074       eval flag=\"$acl_hardcode_libdir_flag_spec\"
16075       libdir="$acl_save_libdir"
16076       LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
16077     else
16078             for found_dir in $rpathdirs; do
16079         acl_save_libdir="$libdir"
16080         libdir="$found_dir"
16081         eval flag=\"$acl_hardcode_libdir_flag_spec\"
16082         libdir="$acl_save_libdir"
16083         LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
16084       done
16085     fi
16086   fi
16087   if test "X$ltrpathdirs" != "X"; then
16088             for found_dir in $ltrpathdirs; do
16089       LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
16090     done
16091   fi
16092
16093           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
16094 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
16095 if eval \${$gt_func_gnugettext_libintl+:} false; then :
16096   $as_echo_n "(cached) " >&6
16097 else
16098   gt_save_CPPFLAGS="$CPPFLAGS"
16099             CPPFLAGS="$CPPFLAGS $INCINTL"
16100             gt_save_LIBS="$LIBS"
16101             LIBS="$LIBS $LIBINTL"
16102                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16103 /* end confdefs.h.  */
16104 #include <libintl.h>
16105 $gt_revision_test_code
16106 extern int _nl_msg_cat_cntr;
16107 extern
16108 #ifdef __cplusplus
16109 "C"
16110 #endif
16111 const char *_nl_expand_alias (const char *);
16112 int
16113 main ()
16114 {
16115 bindtextdomain ("", "");
16116 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
16117   ;
16118   return 0;
16119 }
16120 _ACEOF
16121 if ac_fn_c_try_link "$LINENO"; then :
16122   eval "$gt_func_gnugettext_libintl=yes"
16123 else
16124   eval "$gt_func_gnugettext_libintl=no"
16125 fi
16126 rm -f core conftest.err conftest.$ac_objext \
16127     conftest$ac_exeext conftest.$ac_ext
16128                         if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
16129               LIBS="$LIBS $LIBICONV"
16130               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16131 /* end confdefs.h.  */
16132 #include <libintl.h>
16133 $gt_revision_test_code
16134 extern int _nl_msg_cat_cntr;
16135 extern
16136 #ifdef __cplusplus
16137 "C"
16138 #endif
16139 const char *_nl_expand_alias (const char *);
16140 int
16141 main ()
16142 {
16143 bindtextdomain ("", "");
16144 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
16145   ;
16146   return 0;
16147 }
16148 _ACEOF
16149 if ac_fn_c_try_link "$LINENO"; then :
16150   LIBINTL="$LIBINTL $LIBICONV"
16151                 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
16152                 eval "$gt_func_gnugettext_libintl=yes"
16153
16154 fi
16155 rm -f core conftest.err conftest.$ac_objext \
16156     conftest$ac_exeext conftest.$ac_ext
16157             fi
16158             CPPFLAGS="$gt_save_CPPFLAGS"
16159             LIBS="$gt_save_LIBS"
16160 fi
16161 eval ac_res=\$$gt_func_gnugettext_libintl
16162                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16163 $as_echo "$ac_res" >&6; }
16164         fi
16165
16166                                         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
16167            || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
16168                 && test "$PACKAGE" != gettext-runtime \
16169                 && test "$PACKAGE" != gettext-tools; }; then
16170           gt_use_preinstalled_gnugettext=yes
16171         else
16172                     LIBINTL=
16173           LTLIBINTL=
16174           INCINTL=
16175         fi
16176
16177
16178
16179     if test -n "$INTL_MACOSX_LIBS"; then
16180       if test "$gt_use_preinstalled_gnugettext" = "yes" \
16181          || test "$nls_cv_use_gnu_gettext" = "yes"; then
16182                 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
16183         LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
16184       fi
16185     fi
16186
16187     if test "$gt_use_preinstalled_gnugettext" = "yes" \
16188        || test "$nls_cv_use_gnu_gettext" = "yes"; then
16189
16190 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
16191
16192     else
16193       USE_NLS=no
16194     fi
16195   fi
16196
16197   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
16198 $as_echo_n "checking whether to use NLS... " >&6; }
16199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
16200 $as_echo "$USE_NLS" >&6; }
16201   if test "$USE_NLS" = "yes"; then
16202     { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
16203 $as_echo_n "checking where the gettext function comes from... " >&6; }
16204     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
16205       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
16206         gt_source="external libintl"
16207       else
16208         gt_source="libc"
16209       fi
16210     else
16211       gt_source="included intl directory"
16212     fi
16213     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
16214 $as_echo "$gt_source" >&6; }
16215   fi
16216
16217   if test "$USE_NLS" = "yes"; then
16218
16219     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
16220       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
16221         { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
16222 $as_echo_n "checking how to link with libintl... " >&6; }
16223         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
16224 $as_echo "$LIBINTL" >&6; }
16225
16226   for element in $INCINTL; do
16227     haveit=
16228     for x in $CPPFLAGS; do
16229
16230   acl_save_prefix="$prefix"
16231   prefix="$acl_final_prefix"
16232   acl_save_exec_prefix="$exec_prefix"
16233   exec_prefix="$acl_final_exec_prefix"
16234   eval x=\"$x\"
16235   exec_prefix="$acl_save_exec_prefix"
16236   prefix="$acl_save_prefix"
16237
16238       if test "X$x" = "X$element"; then
16239         haveit=yes
16240         break
16241       fi
16242     done
16243     if test -z "$haveit"; then
16244       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
16245     fi
16246   done
16247
16248       fi
16249
16250
16251 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
16252
16253
16254 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
16255
16256     fi
16257
16258         POSUB=po
16259   fi
16260
16261
16262
16263     INTLLIBS="$LIBINTL"
16264
16265
16266
16267
16268
16269
16270
16271
16272 GETTEXT_PACKAGE=PACKAGE_TARNAME
16273
16274
16275 $as_echo "#define GETTEXT_PACKAGE PACKAGE_TARNAME" >>confdefs.h
16276
16277
16278 ac_config_files="$ac_config_files Makefile po/Makefile.in moonshot.desktop moonshot-webp.desktop moonshot-ui.spec"
16279
16280
16281 cat >confcache <<\_ACEOF
16282 # This file is a shell script that caches the results of configure
16283 # tests run on this system so they can be shared between configure
16284 # scripts and configure runs, see configure's option --config-cache.
16285 # It is not useful on other systems.  If it contains results you don't
16286 # want to keep, you may remove or edit it.
16287 #
16288 # config.status only pays attention to the cache file if you give it
16289 # the --recheck option to rerun configure.
16290 #
16291 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16292 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16293 # following values.
16294
16295 _ACEOF
16296
16297 # The following way of writing the cache mishandles newlines in values,
16298 # but we know of no workaround that is simple, portable, and efficient.
16299 # So, we kill variables containing newlines.
16300 # Ultrix sh set writes to stderr and can't be redirected directly,
16301 # and sets the high bit in the cache file unless we assign to the vars.
16302 (
16303   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16304     eval ac_val=\$$ac_var
16305     case $ac_val in #(
16306     *${as_nl}*)
16307       case $ac_var in #(
16308       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16309 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16310       esac
16311       case $ac_var in #(
16312       _ | IFS | as_nl) ;; #(
16313       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16314       *) { eval $ac_var=; unset $ac_var;} ;;
16315       esac ;;
16316     esac
16317   done
16318
16319   (set) 2>&1 |
16320     case $as_nl`(ac_space=' '; set) 2>&1` in #(
16321     *${as_nl}ac_space=\ *)
16322       # `set' does not quote correctly, so add quotes: double-quote
16323       # substitution turns \\\\ into \\, and sed turns \\ into \.
16324       sed -n \
16325         "s/'/'\\\\''/g;
16326           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16327       ;; #(
16328     *)
16329       # `set' quotes correctly as required by POSIX, so do not add quotes.
16330       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16331       ;;
16332     esac |
16333     sort
16334 ) |
16335   sed '
16336      /^ac_cv_env_/b end
16337      t clear
16338      :clear
16339      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16340      t end
16341      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16342      :end' >>confcache
16343 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16344   if test -w "$cache_file"; then
16345     if test "x$cache_file" != "x/dev/null"; then
16346       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16347 $as_echo "$as_me: updating cache $cache_file" >&6;}
16348       if test ! -f "$cache_file" || test -h "$cache_file"; then
16349         cat confcache >"$cache_file"
16350       else
16351         case $cache_file in #(
16352         */* | ?:*)
16353           mv -f confcache "$cache_file"$$ &&
16354           mv -f "$cache_file"$$ "$cache_file" ;; #(
16355         *)
16356           mv -f confcache "$cache_file" ;;
16357         esac
16358       fi
16359     fi
16360   else
16361     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16362 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16363   fi
16364 fi
16365 rm -f confcache
16366
16367 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16368 # Let make expand exec_prefix.
16369 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16370
16371 DEFS=-DHAVE_CONFIG_H
16372
16373 ac_libobjs=
16374 ac_ltlibobjs=
16375 U=
16376 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16377   # 1. Remove the extension, and $U if already installed.
16378   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16379   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16380   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
16381   #    will be set to the directory where LIBOBJS objects are built.
16382   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16383   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16384 done
16385 LIBOBJS=$ac_libobjs
16386
16387 LTLIBOBJS=$ac_ltlibobjs
16388
16389
16390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16391 $as_echo_n "checking that generated files are newer than configure... " >&6; }
16392    if test -n "$am_sleep_pid"; then
16393      # Hide warnings about reused PIDs.
16394      wait $am_sleep_pid 2>/dev/null
16395    fi
16396    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16397 $as_echo "done" >&6; }
16398  if test -n "$EXEEXT"; then
16399   am__EXEEXT_TRUE=
16400   am__EXEEXT_FALSE='#'
16401 else
16402   am__EXEEXT_TRUE='#'
16403   am__EXEEXT_FALSE=
16404 fi
16405
16406 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16407   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
16408 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16409 fi
16410 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16411   as_fn_error $? "conditional \"AMDEP\" was never defined.
16412 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16413 fi
16414 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16415   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16416 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16417 fi
16418 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16419   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16420 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16421 fi
16422 if test -z "${OS_LINUX_TRUE}" && test -z "${OS_LINUX_FALSE}"; then
16423   as_fn_error $? "conditional \"OS_LINUX\" was never defined.
16424 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16425 fi
16426 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
16427   as_fn_error $? "conditional \"OS_WIN32\" was never defined.
16428 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16429 fi
16430 if test -z "${OS_MACOS_TRUE}" && test -z "${OS_MACOS_FALSE}"; then
16431   as_fn_error $? "conditional \"OS_MACOS\" was never defined.
16432 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16433 fi
16434 if test -z "${IPC_MSRPC_TRUE}" && test -z "${IPC_MSRPC_FALSE}"; then
16435   as_fn_error $? "conditional \"IPC_MSRPC\" was never defined.
16436 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16437 fi
16438 if test -z "${IPC_DBUS_TRUE}" && test -z "${IPC_DBUS_FALSE}"; then
16439   as_fn_error $? "conditional \"IPC_DBUS\" was never defined.
16440 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16441 fi
16442 if test -z "${IPC_DBUS_GLIB_TRUE}" && test -z "${IPC_DBUS_GLIB_FALSE}"; then
16443   as_fn_error $? "conditional \"IPC_DBUS_GLIB\" was never defined.
16444 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16445 fi
16446 if test -z "${IPC_GDBUS_TRUE}" && test -z "${IPC_GDBUS_FALSE}"; then
16447   as_fn_error $? "conditional \"IPC_GDBUS\" was never defined.
16448 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16449 fi
16450 if test -z "${GIO_VAPI_USES_ARRAYS_TRUE}" && test -z "${GIO_VAPI_USES_ARRAYS_FALSE}"; then
16451   as_fn_error $? "conditional \"GIO_VAPI_USES_ARRAYS\" was never defined.
16452 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16453 fi
16454
16455 : "${CONFIG_STATUS=./config.status}"
16456 ac_write_fail=0
16457 ac_clean_files_save=$ac_clean_files
16458 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16459 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16460 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16461 as_write_fail=0
16462 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16463 #! $SHELL
16464 # Generated by $as_me.
16465 # Run this file to recreate the current configuration.
16466 # Compiler output produced by configure, useful for debugging
16467 # configure, is in config.log if it exists.
16468
16469 debug=false
16470 ac_cs_recheck=false
16471 ac_cs_silent=false
16472
16473 SHELL=\${CONFIG_SHELL-$SHELL}
16474 export SHELL
16475 _ASEOF
16476 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16477 ## -------------------- ##
16478 ## M4sh Initialization. ##
16479 ## -------------------- ##
16480
16481 # Be more Bourne compatible
16482 DUALCASE=1; export DUALCASE # for MKS sh
16483 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16484   emulate sh
16485   NULLCMD=:
16486   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16487   # is contrary to our usage.  Disable this feature.
16488   alias -g '${1+"$@"}'='"$@"'
16489   setopt NO_GLOB_SUBST
16490 else
16491   case `(set -o) 2>/dev/null` in #(
16492   *posix*) :
16493     set -o posix ;; #(
16494   *) :
16495      ;;
16496 esac
16497 fi
16498
16499
16500 as_nl='
16501 '
16502 export as_nl
16503 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16504 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16505 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16506 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16507 # Prefer a ksh shell builtin over an external printf program on Solaris,
16508 # but without wasting forks for bash or zsh.
16509 if test -z "$BASH_VERSION$ZSH_VERSION" \
16510     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16511   as_echo='print -r --'
16512   as_echo_n='print -rn --'
16513 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16514   as_echo='printf %s\n'
16515   as_echo_n='printf %s'
16516 else
16517   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16518     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16519     as_echo_n='/usr/ucb/echo -n'
16520   else
16521     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16522     as_echo_n_body='eval
16523       arg=$1;
16524       case $arg in #(
16525       *"$as_nl"*)
16526         expr "X$arg" : "X\\(.*\\)$as_nl";
16527         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16528       esac;
16529       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16530     '
16531     export as_echo_n_body
16532     as_echo_n='sh -c $as_echo_n_body as_echo'
16533   fi
16534   export as_echo_body
16535   as_echo='sh -c $as_echo_body as_echo'
16536 fi
16537
16538 # The user is always right.
16539 if test "${PATH_SEPARATOR+set}" != set; then
16540   PATH_SEPARATOR=:
16541   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16542     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16543       PATH_SEPARATOR=';'
16544   }
16545 fi
16546
16547
16548 # IFS
16549 # We need space, tab and new line, in precisely that order.  Quoting is
16550 # there to prevent editors from complaining about space-tab.
16551 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16552 # splitting by setting IFS to empty value.)
16553 IFS=" ""        $as_nl"
16554
16555 # Find who we are.  Look in the path if we contain no directory separator.
16556 as_myself=
16557 case $0 in #((
16558   *[\\/]* ) as_myself=$0 ;;
16559   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16560 for as_dir in $PATH
16561 do
16562   IFS=$as_save_IFS
16563   test -z "$as_dir" && as_dir=.
16564     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16565   done
16566 IFS=$as_save_IFS
16567
16568      ;;
16569 esac
16570 # We did not find ourselves, most probably we were run as `sh COMMAND'
16571 # in which case we are not to be found in the path.
16572 if test "x$as_myself" = x; then
16573   as_myself=$0
16574 fi
16575 if test ! -f "$as_myself"; then
16576   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16577   exit 1
16578 fi
16579
16580 # Unset variables that we do not need and which cause bugs (e.g. in
16581 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
16582 # suppresses any "Segmentation fault" message there.  '((' could
16583 # trigger a bug in pdksh 5.2.14.
16584 for as_var in BASH_ENV ENV MAIL MAILPATH
16585 do eval test x\${$as_var+set} = xset \
16586   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16587 done
16588 PS1='$ '
16589 PS2='> '
16590 PS4='+ '
16591
16592 # NLS nuisances.
16593 LC_ALL=C
16594 export LC_ALL
16595 LANGUAGE=C
16596 export LANGUAGE
16597
16598 # CDPATH.
16599 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16600
16601
16602 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16603 # ----------------------------------------
16604 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16605 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16606 # script with STATUS, using 1 if that was 0.
16607 as_fn_error ()
16608 {
16609   as_status=$1; test $as_status -eq 0 && as_status=1
16610   if test "$4"; then
16611     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16612     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16613   fi
16614   $as_echo "$as_me: error: $2" >&2
16615   as_fn_exit $as_status
16616 } # as_fn_error
16617
16618
16619 # as_fn_set_status STATUS
16620 # -----------------------
16621 # Set $? to STATUS, without forking.
16622 as_fn_set_status ()
16623 {
16624   return $1
16625 } # as_fn_set_status
16626
16627 # as_fn_exit STATUS
16628 # -----------------
16629 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16630 as_fn_exit ()
16631 {
16632   set +e
16633   as_fn_set_status $1
16634   exit $1
16635 } # as_fn_exit
16636
16637 # as_fn_unset VAR
16638 # ---------------
16639 # Portably unset VAR.
16640 as_fn_unset ()
16641 {
16642   { eval $1=; unset $1;}
16643 }
16644 as_unset=as_fn_unset
16645 # as_fn_append VAR VALUE
16646 # ----------------------
16647 # Append the text in VALUE to the end of the definition contained in VAR. Take
16648 # advantage of any shell optimizations that allow amortized linear growth over
16649 # repeated appends, instead of the typical quadratic growth present in naive
16650 # implementations.
16651 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16652   eval 'as_fn_append ()
16653   {
16654     eval $1+=\$2
16655   }'
16656 else
16657   as_fn_append ()
16658   {
16659     eval $1=\$$1\$2
16660   }
16661 fi # as_fn_append
16662
16663 # as_fn_arith ARG...
16664 # ------------------
16665 # Perform arithmetic evaluation on the ARGs, and store the result in the
16666 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16667 # must be portable across $(()) and expr.
16668 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16669   eval 'as_fn_arith ()
16670   {
16671     as_val=$(( $* ))
16672   }'
16673 else
16674   as_fn_arith ()
16675   {
16676     as_val=`expr "$@" || test $? -eq 1`
16677   }
16678 fi # as_fn_arith
16679
16680
16681 if expr a : '\(a\)' >/dev/null 2>&1 &&
16682    test "X`expr 00001 : '.*\(...\)'`" = X001; then
16683   as_expr=expr
16684 else
16685   as_expr=false
16686 fi
16687
16688 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16689   as_basename=basename
16690 else
16691   as_basename=false
16692 fi
16693
16694 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16695   as_dirname=dirname
16696 else
16697   as_dirname=false
16698 fi
16699
16700 as_me=`$as_basename -- "$0" ||
16701 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16702          X"$0" : 'X\(//\)$' \| \
16703          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16704 $as_echo X/"$0" |
16705     sed '/^.*\/\([^/][^/]*\)\/*$/{
16706             s//\1/
16707             q
16708           }
16709           /^X\/\(\/\/\)$/{
16710             s//\1/
16711             q
16712           }
16713           /^X\/\(\/\).*/{
16714             s//\1/
16715             q
16716           }
16717           s/.*/./; q'`
16718
16719 # Avoid depending upon Character Ranges.
16720 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16721 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16722 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16723 as_cr_digits='0123456789'
16724 as_cr_alnum=$as_cr_Letters$as_cr_digits
16725
16726 ECHO_C= ECHO_N= ECHO_T=
16727 case `echo -n x` in #(((((
16728 -n*)
16729   case `echo 'xy\c'` in
16730   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
16731   xy)  ECHO_C='\c';;
16732   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
16733        ECHO_T=' ';;
16734   esac;;
16735 *)
16736   ECHO_N='-n';;
16737 esac
16738
16739 rm -f conf$$ conf$$.exe conf$$.file
16740 if test -d conf$$.dir; then
16741   rm -f conf$$.dir/conf$$.file
16742 else
16743   rm -f conf$$.dir
16744   mkdir conf$$.dir 2>/dev/null
16745 fi
16746 if (echo >conf$$.file) 2>/dev/null; then
16747   if ln -s conf$$.file conf$$ 2>/dev/null; then
16748     as_ln_s='ln -s'
16749     # ... but there are two gotchas:
16750     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16751     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16752     # In both cases, we have to default to `cp -pR'.
16753     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16754       as_ln_s='cp -pR'
16755   elif ln conf$$.file conf$$ 2>/dev/null; then
16756     as_ln_s=ln
16757   else
16758     as_ln_s='cp -pR'
16759   fi
16760 else
16761   as_ln_s='cp -pR'
16762 fi
16763 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16764 rmdir conf$$.dir 2>/dev/null
16765
16766
16767 # as_fn_mkdir_p
16768 # -------------
16769 # Create "$as_dir" as a directory, including parents if necessary.
16770 as_fn_mkdir_p ()
16771 {
16772
16773   case $as_dir in #(
16774   -*) as_dir=./$as_dir;;
16775   esac
16776   test -d "$as_dir" || eval $as_mkdir_p || {
16777     as_dirs=
16778     while :; do
16779       case $as_dir in #(
16780       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16781       *) as_qdir=$as_dir;;
16782       esac
16783       as_dirs="'$as_qdir' $as_dirs"
16784       as_dir=`$as_dirname -- "$as_dir" ||
16785 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16786          X"$as_dir" : 'X\(//\)[^/]' \| \
16787          X"$as_dir" : 'X\(//\)$' \| \
16788          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16789 $as_echo X"$as_dir" |
16790     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16791             s//\1/
16792             q
16793           }
16794           /^X\(\/\/\)[^/].*/{
16795             s//\1/
16796             q
16797           }
16798           /^X\(\/\/\)$/{
16799             s//\1/
16800             q
16801           }
16802           /^X\(\/\).*/{
16803             s//\1/
16804             q
16805           }
16806           s/.*/./; q'`
16807       test -d "$as_dir" && break
16808     done
16809     test -z "$as_dirs" || eval "mkdir $as_dirs"
16810   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16811
16812
16813 } # as_fn_mkdir_p
16814 if mkdir -p . 2>/dev/null; then
16815   as_mkdir_p='mkdir -p "$as_dir"'
16816 else
16817   test -d ./-p && rmdir ./-p
16818   as_mkdir_p=false
16819 fi
16820
16821
16822 # as_fn_executable_p FILE
16823 # -----------------------
16824 # Test if FILE is an executable regular file.
16825 as_fn_executable_p ()
16826 {
16827   test -f "$1" && test -x "$1"
16828 } # as_fn_executable_p
16829 as_test_x='test -x'
16830 as_executable_p=as_fn_executable_p
16831
16832 # Sed expression to map a string onto a valid CPP name.
16833 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16834
16835 # Sed expression to map a string onto a valid variable name.
16836 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16837
16838
16839 exec 6>&1
16840 ## ----------------------------------- ##
16841 ## Main body of $CONFIG_STATUS script. ##
16842 ## ----------------------------------- ##
16843 _ASEOF
16844 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16845
16846 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16847 # Save the log message, to keep $0 and so on meaningful, and to
16848 # report actual input values of CONFIG_FILES etc. instead of their
16849 # values after options handling.
16850 ac_log="
16851 This file was extended by Moonshot-ui $as_me 0.7.2, which was
16852 generated by GNU Autoconf 2.69.  Invocation command line was
16853
16854   CONFIG_FILES    = $CONFIG_FILES
16855   CONFIG_HEADERS  = $CONFIG_HEADERS
16856   CONFIG_LINKS    = $CONFIG_LINKS
16857   CONFIG_COMMANDS = $CONFIG_COMMANDS
16858   $ $0 $@
16859
16860 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16861 "
16862
16863 _ACEOF
16864
16865 case $ac_config_files in *"
16866 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16867 esac
16868
16869 case $ac_config_headers in *"
16870 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16871 esac
16872
16873
16874 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16875 # Files that config.status was made for.
16876 config_files="$ac_config_files"
16877 config_headers="$ac_config_headers"
16878 config_commands="$ac_config_commands"
16879
16880 _ACEOF
16881
16882 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16883 ac_cs_usage="\
16884 \`$as_me' instantiates files and other configuration actions
16885 from templates according to the current configuration.  Unless the files
16886 and actions are specified as TAGs, all are instantiated by default.
16887
16888 Usage: $0 [OPTION]... [TAG]...
16889
16890   -h, --help       print this help, then exit
16891   -V, --version    print version number and configuration settings, then exit
16892       --config     print configuration, then exit
16893   -q, --quiet, --silent
16894                    do not print progress messages
16895   -d, --debug      don't remove temporary files
16896       --recheck    update $as_me by reconfiguring in the same conditions
16897       --file=FILE[:TEMPLATE]
16898                    instantiate the configuration file FILE
16899       --header=FILE[:TEMPLATE]
16900                    instantiate the configuration header FILE
16901
16902 Configuration files:
16903 $config_files
16904
16905 Configuration headers:
16906 $config_headers
16907
16908 Configuration commands:
16909 $config_commands
16910
16911 Report bugs to <moonshot-community@jiscmail.ac.uk>.
16912 Moonshot-ui home page: <http://www.project-moonshot.org/>."
16913
16914 _ACEOF
16915 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16916 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16917 ac_cs_version="\\
16918 Moonshot-ui config.status 0.7.2
16919 configured by $0, generated by GNU Autoconf 2.69,
16920   with options \\"\$ac_cs_config\\"
16921
16922 Copyright (C) 2012 Free Software Foundation, Inc.
16923 This config.status script is free software; the Free Software Foundation
16924 gives unlimited permission to copy, distribute and modify it."
16925
16926 ac_pwd='$ac_pwd'
16927 srcdir='$srcdir'
16928 INSTALL='$INSTALL'
16929 MKDIR_P='$MKDIR_P'
16930 AWK='$AWK'
16931 test -n "\$AWK" || AWK=awk
16932 _ACEOF
16933
16934 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16935 # The default lists apply if the user does not specify any file.
16936 ac_need_defaults=:
16937 while test $# != 0
16938 do
16939   case $1 in
16940   --*=?*)
16941     ac_option=`expr "X$1" : 'X\([^=]*\)='`
16942     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16943     ac_shift=:
16944     ;;
16945   --*=)
16946     ac_option=`expr "X$1" : 'X\([^=]*\)='`
16947     ac_optarg=
16948     ac_shift=:
16949     ;;
16950   *)
16951     ac_option=$1
16952     ac_optarg=$2
16953     ac_shift=shift
16954     ;;
16955   esac
16956
16957   case $ac_option in
16958   # Handling of the options.
16959   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16960     ac_cs_recheck=: ;;
16961   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16962     $as_echo "$ac_cs_version"; exit ;;
16963   --config | --confi | --conf | --con | --co | --c )
16964     $as_echo "$ac_cs_config"; exit ;;
16965   --debug | --debu | --deb | --de | --d | -d )
16966     debug=: ;;
16967   --file | --fil | --fi | --f )
16968     $ac_shift
16969     case $ac_optarg in
16970     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16971     '') as_fn_error $? "missing file argument" ;;
16972     esac
16973     as_fn_append CONFIG_FILES " '$ac_optarg'"
16974     ac_need_defaults=false;;
16975   --header | --heade | --head | --hea )
16976     $ac_shift
16977     case $ac_optarg in
16978     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16979     esac
16980     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16981     ac_need_defaults=false;;
16982   --he | --h)
16983     # Conflict between --help and --header
16984     as_fn_error $? "ambiguous option: \`$1'
16985 Try \`$0 --help' for more information.";;
16986   --help | --hel | -h )
16987     $as_echo "$ac_cs_usage"; exit ;;
16988   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16989   | -silent | --silent | --silen | --sile | --sil | --si | --s)
16990     ac_cs_silent=: ;;
16991
16992   # This is an error.
16993   -*) as_fn_error $? "unrecognized option: \`$1'
16994 Try \`$0 --help' for more information." ;;
16995
16996   *) as_fn_append ac_config_targets " $1"
16997      ac_need_defaults=false ;;
16998
16999   esac
17000   shift
17001 done
17002
17003 ac_configure_extra_args=
17004
17005 if $ac_cs_silent; then
17006   exec 6>/dev/null
17007   ac_configure_extra_args="$ac_configure_extra_args --silent"
17008 fi
17009
17010 _ACEOF
17011 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17012 if \$ac_cs_recheck; then
17013   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17014   shift
17015   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17016   CONFIG_SHELL='$SHELL'
17017   export CONFIG_SHELL
17018   exec "\$@"
17019 fi
17020
17021 _ACEOF
17022 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17023 exec 5>>config.log
17024 {
17025   echo
17026   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17027 ## Running $as_me. ##
17028 _ASBOX
17029   $as_echo "$ac_log"
17030 } >&5
17031
17032 _ACEOF
17033 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17034 #
17035 # INIT-COMMANDS
17036 #
17037 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17038
17039
17040 # The HP-UX ksh and POSIX shell print the target directory to stdout
17041 # if CDPATH is set.
17042 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17043
17044 sed_quote_subst='$sed_quote_subst'
17045 double_quote_subst='$double_quote_subst'
17046 delay_variable_subst='$delay_variable_subst'
17047 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17048 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17049 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
17050 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17051 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17052 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17053 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17054 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17055 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17056 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17057 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17058 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17059 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17060 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17061 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17062 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17063 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17064 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17065 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17066 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17067 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17068 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17069 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17070 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17071 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17072 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17073 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17074 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17075 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17076 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17077 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17078 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17079 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17080 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17081 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17082 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17083 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17084 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17085 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17086 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17087 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17088 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17089 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17090 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17091 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17092 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17093 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17094 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17095 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17096 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17097 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17098 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17099 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17100 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17101 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17102 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17103 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17104 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"`'
17105 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17106 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17107 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17108 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17109 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17110 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17111 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17112 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17113 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17114 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17115 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17116 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17117 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17118 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17119 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17120 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17121 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17122 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17123 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17124 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17125 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17126 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17127 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17128 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17129 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17130 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17131 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17132 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17133 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17134 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17135 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17136 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17137 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17138 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17139 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17140 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17141 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17142 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17143 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17144 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17145 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17146 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17147 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17148 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17149 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17150 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17151 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17152 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17153 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17154 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17155 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17156 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17157 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17158 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17159 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17160 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17161 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17162 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17163 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17164 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17165 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17166 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17167 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17168 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17169 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17170 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17171 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17172 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17173 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17174 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17175 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17176 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17177 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17178
17179 LTCC='$LTCC'
17180 LTCFLAGS='$LTCFLAGS'
17181 compiler='$compiler_DEFAULT'
17182
17183 # A function that is used when there is no print builtin or printf.
17184 func_fallback_echo ()
17185 {
17186   eval 'cat <<_LTECHO_EOF
17187 \$1
17188 _LTECHO_EOF'
17189 }
17190
17191 # Quote evaled strings.
17192 for var in AS \
17193 DLLTOOL \
17194 OBJDUMP \
17195 SHELL \
17196 ECHO \
17197 PATH_SEPARATOR \
17198 SED \
17199 GREP \
17200 EGREP \
17201 FGREP \
17202 LD \
17203 NM \
17204 LN_S \
17205 lt_SP2NL \
17206 lt_NL2SP \
17207 reload_flag \
17208 deplibs_check_method \
17209 file_magic_cmd \
17210 file_magic_glob \
17211 want_nocaseglob \
17212 sharedlib_from_linklib_cmd \
17213 AR \
17214 AR_FLAGS \
17215 archiver_list_spec \
17216 STRIP \
17217 RANLIB \
17218 CC \
17219 CFLAGS \
17220 compiler \
17221 lt_cv_sys_global_symbol_pipe \
17222 lt_cv_sys_global_symbol_to_cdecl \
17223 lt_cv_sys_global_symbol_to_c_name_address \
17224 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17225 nm_file_list_spec \
17226 lt_prog_compiler_no_builtin_flag \
17227 lt_prog_compiler_pic \
17228 lt_prog_compiler_wl \
17229 lt_prog_compiler_static \
17230 lt_cv_prog_compiler_c_o \
17231 need_locks \
17232 MANIFEST_TOOL \
17233 DSYMUTIL \
17234 NMEDIT \
17235 LIPO \
17236 OTOOL \
17237 OTOOL64 \
17238 shrext_cmds \
17239 export_dynamic_flag_spec \
17240 whole_archive_flag_spec \
17241 compiler_needs_object \
17242 with_gnu_ld \
17243 allow_undefined_flag \
17244 no_undefined_flag \
17245 hardcode_libdir_flag_spec \
17246 hardcode_libdir_separator \
17247 exclude_expsyms \
17248 include_expsyms \
17249 file_list_spec \
17250 variables_saved_for_relink \
17251 libname_spec \
17252 library_names_spec \
17253 soname_spec \
17254 install_override_mode \
17255 finish_eval \
17256 old_striplib \
17257 striplib; do
17258     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17259     *[\\\\\\\`\\"\\\$]*)
17260       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17261       ;;
17262     *)
17263       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17264       ;;
17265     esac
17266 done
17267
17268 # Double-quote double-evaled strings.
17269 for var in reload_cmds \
17270 old_postinstall_cmds \
17271 old_postuninstall_cmds \
17272 old_archive_cmds \
17273 extract_expsyms_cmds \
17274 old_archive_from_new_cmds \
17275 old_archive_from_expsyms_cmds \
17276 archive_cmds \
17277 archive_expsym_cmds \
17278 module_cmds \
17279 module_expsym_cmds \
17280 export_symbols_cmds \
17281 prelink_cmds \
17282 postlink_cmds \
17283 postinstall_cmds \
17284 postuninstall_cmds \
17285 finish_cmds \
17286 sys_lib_search_path_spec \
17287 sys_lib_dlsearch_path_spec; do
17288     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17289     *[\\\\\\\`\\"\\\$]*)
17290       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17291       ;;
17292     *)
17293       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17294       ;;
17295     esac
17296 done
17297
17298 ac_aux_dir='$ac_aux_dir'
17299 xsi_shell='$xsi_shell'
17300 lt_shell_append='$lt_shell_append'
17301
17302 # See if we are running on zsh, and set the options which allow our
17303 # commands through without removal of \ escapes INIT.
17304 if test -n "\${ZSH_VERSION+set}" ; then
17305    setopt NO_GLOB_SUBST
17306 fi
17307
17308
17309     PACKAGE='$PACKAGE'
17310     VERSION='$VERSION'
17311     TIMESTAMP='$TIMESTAMP'
17312     RM='$RM'
17313     ofile='$ofile'
17314
17315
17316
17317 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
17318     # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
17319     # from automake < 1.5.
17320     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
17321     # Capture the value of LINGUAS because we need it to compute CATALOGS.
17322     LINGUAS="${LINGUAS-%UNSET%}"
17323
17324
17325 _ACEOF
17326
17327 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17328
17329 # Handling of arguments.
17330 for ac_config_target in $ac_config_targets
17331 do
17332   case $ac_config_target in
17333     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17334     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17335     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17336     "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
17337     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17338     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
17339     "moonshot.desktop") CONFIG_FILES="$CONFIG_FILES moonshot.desktop" ;;
17340     "moonshot-webp.desktop") CONFIG_FILES="$CONFIG_FILES moonshot-webp.desktop" ;;
17341     "moonshot-ui.spec") CONFIG_FILES="$CONFIG_FILES moonshot-ui.spec" ;;
17342
17343   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17344   esac
17345 done
17346
17347
17348 # If the user did not use the arguments to specify the items to instantiate,
17349 # then the envvar interface is used.  Set only those that are not.
17350 # We use the long form for the default assignment because of an extremely
17351 # bizarre bug on SunOS 4.1.3.
17352 if $ac_need_defaults; then
17353   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17354   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17355   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17356 fi
17357
17358 # Have a temporary directory for convenience.  Make it in the build tree
17359 # simply because there is no reason against having it here, and in addition,
17360 # creating and moving files from /tmp can sometimes cause problems.
17361 # Hook for its removal unless debugging.
17362 # Note that there is a small window in which the directory will not be cleaned:
17363 # after its creation but before its name has been assigned to `$tmp'.
17364 $debug ||
17365 {
17366   tmp= ac_tmp=
17367   trap 'exit_status=$?
17368   : "${ac_tmp:=$tmp}"
17369   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17370 ' 0
17371   trap 'as_fn_exit 1' 1 2 13 15
17372 }
17373 # Create a (secure) tmp directory for tmp files.
17374
17375 {
17376   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17377   test -d "$tmp"
17378 }  ||
17379 {
17380   tmp=./conf$$-$RANDOM
17381   (umask 077 && mkdir "$tmp")
17382 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17383 ac_tmp=$tmp
17384
17385 # Set up the scripts for CONFIG_FILES section.
17386 # No need to generate them if there are no CONFIG_FILES.
17387 # This happens for instance with `./config.status config.h'.
17388 if test -n "$CONFIG_FILES"; then
17389
17390
17391 ac_cr=`echo X | tr X '\015'`
17392 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17393 # But we know of no other shell where ac_cr would be empty at this
17394 # point, so we can use a bashism as a fallback.
17395 if test "x$ac_cr" = x; then
17396   eval ac_cr=\$\'\\r\'
17397 fi
17398 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17399 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17400   ac_cs_awk_cr='\\r'
17401 else
17402   ac_cs_awk_cr=$ac_cr
17403 fi
17404
17405 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17406 _ACEOF
17407
17408
17409 {
17410   echo "cat >conf$$subs.awk <<_ACEOF" &&
17411   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17412   echo "_ACEOF"
17413 } >conf$$subs.sh ||
17414   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17415 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17416 ac_delim='%!_!# '
17417 for ac_last_try in false false false false false :; do
17418   . ./conf$$subs.sh ||
17419     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17420
17421   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17422   if test $ac_delim_n = $ac_delim_num; then
17423     break
17424   elif $ac_last_try; then
17425     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17426   else
17427     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17428   fi
17429 done
17430 rm -f conf$$subs.sh
17431
17432 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17433 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17434 _ACEOF
17435 sed -n '
17436 h
17437 s/^/S["/; s/!.*/"]=/
17438 p
17439 g
17440 s/^[^!]*!//
17441 :repl
17442 t repl
17443 s/'"$ac_delim"'$//
17444 t delim
17445 :nl
17446 h
17447 s/\(.\{148\}\)..*/\1/
17448 t more1
17449 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17450 p
17451 n
17452 b repl
17453 :more1
17454 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17455 p
17456 g
17457 s/.\{148\}//
17458 t nl
17459 :delim
17460 h
17461 s/\(.\{148\}\)..*/\1/
17462 t more2
17463 s/["\\]/\\&/g; s/^/"/; s/$/"/
17464 p
17465 b
17466 :more2
17467 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17468 p
17469 g
17470 s/.\{148\}//
17471 t delim
17472 ' <conf$$subs.awk | sed '
17473 /^[^""]/{
17474   N
17475   s/\n//
17476 }
17477 ' >>$CONFIG_STATUS || ac_write_fail=1
17478 rm -f conf$$subs.awk
17479 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17480 _ACAWK
17481 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17482   for (key in S) S_is_set[key] = 1
17483   FS = "\a"
17484
17485 }
17486 {
17487   line = $ 0
17488   nfields = split(line, field, "@")
17489   substed = 0
17490   len = length(field[1])
17491   for (i = 2; i < nfields; i++) {
17492     key = field[i]
17493     keylen = length(key)
17494     if (S_is_set[key]) {
17495       value = S[key]
17496       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17497       len += length(value) + length(field[++i])
17498       substed = 1
17499     } else
17500       len += 1 + keylen
17501   }
17502
17503   print line
17504 }
17505
17506 _ACAWK
17507 _ACEOF
17508 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17509 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17510   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17511 else
17512   cat
17513 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17514   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17515 _ACEOF
17516
17517 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17518 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17519 # trailing colons and then remove the whole line if VPATH becomes empty
17520 # (actually we leave an empty line to preserve line numbers).
17521 if test "x$srcdir" = x.; then
17522   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
17523 h
17524 s///
17525 s/^/:/
17526 s/[      ]*$/:/
17527 s/:\$(srcdir):/:/g
17528 s/:\${srcdir}:/:/g
17529 s/:@srcdir@:/:/g
17530 s/^:*//
17531 s/:*$//
17532 x
17533 s/\(=[   ]*\).*/\1/
17534 G
17535 s/\n//
17536 s/^[^=]*=[       ]*$//
17537 }'
17538 fi
17539
17540 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17541 fi # test -n "$CONFIG_FILES"
17542
17543 # Set up the scripts for CONFIG_HEADERS section.
17544 # No need to generate them if there are no CONFIG_HEADERS.
17545 # This happens for instance with `./config.status Makefile'.
17546 if test -n "$CONFIG_HEADERS"; then
17547 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17548 BEGIN {
17549 _ACEOF
17550
17551 # Transform confdefs.h into an awk script `defines.awk', embedded as
17552 # here-document in config.status, that substitutes the proper values into
17553 # config.h.in to produce config.h.
17554
17555 # Create a delimiter string that does not exist in confdefs.h, to ease
17556 # handling of long lines.
17557 ac_delim='%!_!# '
17558 for ac_last_try in false false :; do
17559   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17560   if test -z "$ac_tt"; then
17561     break
17562   elif $ac_last_try; then
17563     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17564   else
17565     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17566   fi
17567 done
17568
17569 # For the awk script, D is an array of macro values keyed by name,
17570 # likewise P contains macro parameters if any.  Preserve backslash
17571 # newline sequences.
17572
17573 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17574 sed -n '
17575 s/.\{148\}/&'"$ac_delim"'/g
17576 t rset
17577 :rset
17578 s/^[     ]*#[    ]*define[       ][      ]*/ /
17579 t def
17580 d
17581 :def
17582 s/\\$//
17583 t bsnl
17584 s/["\\]/\\&/g
17585 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
17586 D["\1"]=" \3"/p
17587 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
17588 d
17589 :bsnl
17590 s/["\\]/\\&/g
17591 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
17592 D["\1"]=" \3\\\\\\n"\\/p
17593 t cont
17594 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17595 t cont
17596 d
17597 :cont
17598 n
17599 s/.\{148\}/&'"$ac_delim"'/g
17600 t clear
17601 :clear
17602 s/\\$//
17603 t bsnlc
17604 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17605 d
17606 :bsnlc
17607 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17608 b cont
17609 ' <confdefs.h | sed '
17610 s/'"$ac_delim"'/"\\\
17611 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17612
17613 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17614   for (key in D) D_is_set[key] = 1
17615   FS = "\a"
17616 }
17617 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17618   line = \$ 0
17619   split(line, arg, " ")
17620   if (arg[1] == "#") {
17621     defundef = arg[2]
17622     mac1 = arg[3]
17623   } else {
17624     defundef = substr(arg[1], 2)
17625     mac1 = arg[2]
17626   }
17627   split(mac1, mac2, "(") #)
17628   macro = mac2[1]
17629   prefix = substr(line, 1, index(line, defundef) - 1)
17630   if (D_is_set[macro]) {
17631     # Preserve the white space surrounding the "#".
17632     print prefix "define", macro P[macro] D[macro]
17633     next
17634   } else {
17635     # Replace #undef with comments.  This is necessary, for example,
17636     # in the case of _POSIX_SOURCE, which is predefined and required
17637     # on some systems where configure will not decide to define it.
17638     if (defundef == "undef") {
17639       print "/*", prefix defundef, macro, "*/"
17640       next
17641     }
17642   }
17643 }
17644 { print }
17645 _ACAWK
17646 _ACEOF
17647 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17648   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17649 fi # test -n "$CONFIG_HEADERS"
17650
17651
17652 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
17653 shift
17654 for ac_tag
17655 do
17656   case $ac_tag in
17657   :[FHLC]) ac_mode=$ac_tag; continue;;
17658   esac
17659   case $ac_mode$ac_tag in
17660   :[FHL]*:*);;
17661   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17662   :[FH]-) ac_tag=-:-;;
17663   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17664   esac
17665   ac_save_IFS=$IFS
17666   IFS=:
17667   set x $ac_tag
17668   IFS=$ac_save_IFS
17669   shift
17670   ac_file=$1
17671   shift
17672
17673   case $ac_mode in
17674   :L) ac_source=$1;;
17675   :[FH])
17676     ac_file_inputs=
17677     for ac_f
17678     do
17679       case $ac_f in
17680       -) ac_f="$ac_tmp/stdin";;
17681       *) # Look for the file first in the build tree, then in the source tree
17682          # (if the path is not absolute).  The absolute path cannot be DOS-style,
17683          # because $ac_f cannot contain `:'.
17684          test -f "$ac_f" ||
17685            case $ac_f in
17686            [\\/$]*) false;;
17687            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17688            esac ||
17689            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17690       esac
17691       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17692       as_fn_append ac_file_inputs " '$ac_f'"
17693     done
17694
17695     # Let's still pretend it is `configure' which instantiates (i.e., don't
17696     # use $as_me), people would be surprised to read:
17697     #    /* config.h.  Generated by config.status.  */
17698     configure_input='Generated from '`
17699           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17700         `' by configure.'
17701     if test x"$ac_file" != x-; then
17702       configure_input="$ac_file.  $configure_input"
17703       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17704 $as_echo "$as_me: creating $ac_file" >&6;}
17705     fi
17706     # Neutralize special characters interpreted by sed in replacement strings.
17707     case $configure_input in #(
17708     *\&* | *\|* | *\\* )
17709        ac_sed_conf_input=`$as_echo "$configure_input" |
17710        sed 's/[\\\\&|]/\\\\&/g'`;; #(
17711     *) ac_sed_conf_input=$configure_input;;
17712     esac
17713
17714     case $ac_tag in
17715     *:-:* | *:-) cat >"$ac_tmp/stdin" \
17716       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17717     esac
17718     ;;
17719   esac
17720
17721   ac_dir=`$as_dirname -- "$ac_file" ||
17722 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17723          X"$ac_file" : 'X\(//\)[^/]' \| \
17724          X"$ac_file" : 'X\(//\)$' \| \
17725          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17726 $as_echo X"$ac_file" |
17727     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17728             s//\1/
17729             q
17730           }
17731           /^X\(\/\/\)[^/].*/{
17732             s//\1/
17733             q
17734           }
17735           /^X\(\/\/\)$/{
17736             s//\1/
17737             q
17738           }
17739           /^X\(\/\).*/{
17740             s//\1/
17741             q
17742           }
17743           s/.*/./; q'`
17744   as_dir="$ac_dir"; as_fn_mkdir_p
17745   ac_builddir=.
17746
17747 case "$ac_dir" in
17748 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17749 *)
17750   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17751   # A ".." for each directory in $ac_dir_suffix.
17752   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17753   case $ac_top_builddir_sub in
17754   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17755   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17756   esac ;;
17757 esac
17758 ac_abs_top_builddir=$ac_pwd
17759 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17760 # for backward compatibility:
17761 ac_top_builddir=$ac_top_build_prefix
17762
17763 case $srcdir in
17764   .)  # We are building in place.
17765     ac_srcdir=.
17766     ac_top_srcdir=$ac_top_builddir_sub
17767     ac_abs_top_srcdir=$ac_pwd ;;
17768   [\\/]* | ?:[\\/]* )  # Absolute name.
17769     ac_srcdir=$srcdir$ac_dir_suffix;
17770     ac_top_srcdir=$srcdir
17771     ac_abs_top_srcdir=$srcdir ;;
17772   *) # Relative name.
17773     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17774     ac_top_srcdir=$ac_top_build_prefix$srcdir
17775     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17776 esac
17777 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17778
17779
17780   case $ac_mode in
17781   :F)
17782   #
17783   # CONFIG_FILE
17784   #
17785
17786   case $INSTALL in
17787   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17788   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17789   esac
17790   ac_MKDIR_P=$MKDIR_P
17791   case $MKDIR_P in
17792   [\\/$]* | ?:[\\/]* ) ;;
17793   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17794   esac
17795 _ACEOF
17796
17797 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17798 # If the template does not know about datarootdir, expand it.
17799 # FIXME: This hack should be removed a few years after 2.60.
17800 ac_datarootdir_hack=; ac_datarootdir_seen=
17801 ac_sed_dataroot='
17802 /datarootdir/ {
17803   p
17804   q
17805 }
17806 /@datadir@/p
17807 /@docdir@/p
17808 /@infodir@/p
17809 /@localedir@/p
17810 /@mandir@/p'
17811 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17812 *datarootdir*) ac_datarootdir_seen=yes;;
17813 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17814   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17815 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17816 _ACEOF
17817 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17818   ac_datarootdir_hack='
17819   s&@datadir@&$datadir&g
17820   s&@docdir@&$docdir&g
17821   s&@infodir@&$infodir&g
17822   s&@localedir@&$localedir&g
17823   s&@mandir@&$mandir&g
17824   s&\\\${datarootdir}&$datarootdir&g' ;;
17825 esac
17826 _ACEOF
17827
17828 # Neutralize VPATH when `$srcdir' = `.'.
17829 # Shell code in configure.ac might set extrasub.
17830 # FIXME: do we really want to maintain this feature?
17831 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17832 ac_sed_extra="$ac_vpsub
17833 $extrasub
17834 _ACEOF
17835 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17836 :t
17837 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17838 s|@configure_input@|$ac_sed_conf_input|;t t
17839 s&@top_builddir@&$ac_top_builddir_sub&;t t
17840 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17841 s&@srcdir@&$ac_srcdir&;t t
17842 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17843 s&@top_srcdir@&$ac_top_srcdir&;t t
17844 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17845 s&@builddir@&$ac_builddir&;t t
17846 s&@abs_builddir@&$ac_abs_builddir&;t t
17847 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17848 s&@INSTALL@&$ac_INSTALL&;t t
17849 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17850 $ac_datarootdir_hack
17851 "
17852 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17853   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17854
17855 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17856   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17857   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
17858       "$ac_tmp/out"`; test -z "$ac_out"; } &&
17859   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17860 which seems to be undefined.  Please make sure it is defined" >&5
17861 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17862 which seems to be undefined.  Please make sure it is defined" >&2;}
17863
17864   rm -f "$ac_tmp/stdin"
17865   case $ac_file in
17866   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17867   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17868   esac \
17869   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17870  ;;
17871   :H)
17872   #
17873   # CONFIG_HEADER
17874   #
17875   if test x"$ac_file" != x-; then
17876     {
17877       $as_echo "/* $configure_input  */" \
17878       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17879     } >"$ac_tmp/config.h" \
17880       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17881     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17882       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17883 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17884     else
17885       rm -f "$ac_file"
17886       mv "$ac_tmp/config.h" "$ac_file" \
17887         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17888     fi
17889   else
17890     $as_echo "/* $configure_input  */" \
17891       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17892       || as_fn_error $? "could not create -" "$LINENO" 5
17893   fi
17894 # Compute "$ac_file"'s index in $config_headers.
17895 _am_arg="$ac_file"
17896 _am_stamp_count=1
17897 for _am_header in $config_headers :; do
17898   case $_am_header in
17899     $_am_arg | $_am_arg:* )
17900       break ;;
17901     * )
17902       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17903   esac
17904 done
17905 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17906 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17907          X"$_am_arg" : 'X\(//\)[^/]' \| \
17908          X"$_am_arg" : 'X\(//\)$' \| \
17909          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17910 $as_echo X"$_am_arg" |
17911     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17912             s//\1/
17913             q
17914           }
17915           /^X\(\/\/\)[^/].*/{
17916             s//\1/
17917             q
17918           }
17919           /^X\(\/\/\)$/{
17920             s//\1/
17921             q
17922           }
17923           /^X\(\/\).*/{
17924             s//\1/
17925             q
17926           }
17927           s/.*/./; q'`/stamp-h$_am_stamp_count
17928  ;;
17929
17930   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17931 $as_echo "$as_me: executing $ac_file commands" >&6;}
17932  ;;
17933   esac
17934
17935
17936   case $ac_file$ac_mode in
17937     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17938   # Older Autoconf quotes --file arguments for eval, but not when files
17939   # are listed without --file.  Let's play safe and only enable the eval
17940   # if we detect the quoting.
17941   case $CONFIG_FILES in
17942   *\'*) eval set x "$CONFIG_FILES" ;;
17943   *)   set x $CONFIG_FILES ;;
17944   esac
17945   shift
17946   for mf
17947   do
17948     # Strip MF so we end up with the name of the file.
17949     mf=`echo "$mf" | sed -e 's/:.*$//'`
17950     # Check whether this is an Automake generated Makefile or not.
17951     # We used to match only the files named 'Makefile.in', but
17952     # some people rename them; so instead we look at the file content.
17953     # Grep'ing the first line is not enough: some people post-process
17954     # each Makefile.in and add a new line on top of each file to say so.
17955     # Grep'ing the whole file is not good either: AIX grep has a line
17956     # limit of 2048, but all sed's we know have understand at least 4000.
17957     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17958       dirpart=`$as_dirname -- "$mf" ||
17959 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17960          X"$mf" : 'X\(//\)[^/]' \| \
17961          X"$mf" : 'X\(//\)$' \| \
17962          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17963 $as_echo X"$mf" |
17964     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17965             s//\1/
17966             q
17967           }
17968           /^X\(\/\/\)[^/].*/{
17969             s//\1/
17970             q
17971           }
17972           /^X\(\/\/\)$/{
17973             s//\1/
17974             q
17975           }
17976           /^X\(\/\).*/{
17977             s//\1/
17978             q
17979           }
17980           s/.*/./; q'`
17981     else
17982       continue
17983     fi
17984     # Extract the definition of DEPDIR, am__include, and am__quote
17985     # from the Makefile without running 'make'.
17986     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17987     test -z "$DEPDIR" && continue
17988     am__include=`sed -n 's/^am__include = //p' < "$mf"`
17989     test -z "$am__include" && continue
17990     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17991     # Find all dependency output files, they are included files with
17992     # $(DEPDIR) in their names.  We invoke sed twice because it is the
17993     # simplest approach to changing $(DEPDIR) to its actual value in the
17994     # expansion.
17995     for file in `sed -n "
17996       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17997          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17998       # Make sure the directory exists.
17999       test -f "$dirpart/$file" && continue
18000       fdir=`$as_dirname -- "$file" ||
18001 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18002          X"$file" : 'X\(//\)[^/]' \| \
18003          X"$file" : 'X\(//\)$' \| \
18004          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18005 $as_echo X"$file" |
18006     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18007             s//\1/
18008             q
18009           }
18010           /^X\(\/\/\)[^/].*/{
18011             s//\1/
18012             q
18013           }
18014           /^X\(\/\/\)$/{
18015             s//\1/
18016             q
18017           }
18018           /^X\(\/\).*/{
18019             s//\1/
18020             q
18021           }
18022           s/.*/./; q'`
18023       as_dir=$dirpart/$fdir; as_fn_mkdir_p
18024       # echo "creating $dirpart/$file"
18025       echo '# dummy' > "$dirpart/$file"
18026     done
18027   done
18028 }
18029  ;;
18030     "libtool":C)
18031
18032     # See if we are running on zsh, and set the options which allow our
18033     # commands through without removal of \ escapes.
18034     if test -n "${ZSH_VERSION+set}" ; then
18035       setopt NO_GLOB_SUBST
18036     fi
18037
18038     cfgfile="${ofile}T"
18039     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18040     $RM "$cfgfile"
18041
18042     cat <<_LT_EOF >> "$cfgfile"
18043 #! $SHELL
18044
18045 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18046 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18047 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18048 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18049 #
18050 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18051 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
18052 #                 Foundation, Inc.
18053 #   Written by Gordon Matzigkeit, 1996
18054 #
18055 #   This file is part of GNU Libtool.
18056 #
18057 # GNU Libtool is free software; you can redistribute it and/or
18058 # modify it under the terms of the GNU General Public License as
18059 # published by the Free Software Foundation; either version 2 of
18060 # the License, or (at your option) any later version.
18061 #
18062 # As a special exception to the GNU General Public License,
18063 # if you distribute this file as part of a program or library that
18064 # is built using GNU Libtool, you may include this file under the
18065 # same distribution terms that you use for the rest of that program.
18066 #
18067 # GNU Libtool is distributed in the hope that it will be useful,
18068 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18069 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18070 # GNU General Public License for more details.
18071 #
18072 # You should have received a copy of the GNU General Public License
18073 # along with GNU Libtool; see the file COPYING.  If not, a copy
18074 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18075 # obtained by writing to the Free Software Foundation, Inc.,
18076 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18077
18078
18079 # The names of the tagged configurations supported by this script.
18080 available_tags=""
18081
18082 # ### BEGIN LIBTOOL CONFIG
18083
18084 # Which release of libtool.m4 was used?
18085 macro_version=$macro_version
18086 macro_revision=$macro_revision
18087
18088 # Assembler program.
18089 AS=$lt_AS
18090
18091 # DLL creation program.
18092 DLLTOOL=$lt_DLLTOOL
18093
18094 # Object dumper program.
18095 OBJDUMP=$lt_OBJDUMP
18096
18097 # Whether or not to build shared libraries.
18098 build_libtool_libs=$enable_shared
18099
18100 # Whether or not to build static libraries.
18101 build_old_libs=$enable_static
18102
18103 # What type of objects to build.
18104 pic_mode=$pic_mode
18105
18106 # Whether or not to optimize for fast installation.
18107 fast_install=$enable_fast_install
18108
18109 # Shell to use when invoking shell scripts.
18110 SHELL=$lt_SHELL
18111
18112 # An echo program that protects backslashes.
18113 ECHO=$lt_ECHO
18114
18115 # The PATH separator for the build system.
18116 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18117
18118 # The host system.
18119 host_alias=$host_alias
18120 host=$host
18121 host_os=$host_os
18122
18123 # The build system.
18124 build_alias=$build_alias
18125 build=$build
18126 build_os=$build_os
18127
18128 # A sed program that does not truncate output.
18129 SED=$lt_SED
18130
18131 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18132 Xsed="\$SED -e 1s/^X//"
18133
18134 # A grep program that handles long lines.
18135 GREP=$lt_GREP
18136
18137 # An ERE matcher.
18138 EGREP=$lt_EGREP
18139
18140 # A literal string matcher.
18141 FGREP=$lt_FGREP
18142
18143 # A BSD- or MS-compatible name lister.
18144 NM=$lt_NM
18145
18146 # Whether we need soft or hard links.
18147 LN_S=$lt_LN_S
18148
18149 # What is the maximum length of a command?
18150 max_cmd_len=$max_cmd_len
18151
18152 # Object file suffix (normally "o").
18153 objext=$ac_objext
18154
18155 # Executable file suffix (normally "").
18156 exeext=$exeext
18157
18158 # whether the shell understands "unset".
18159 lt_unset=$lt_unset
18160
18161 # turn spaces into newlines.
18162 SP2NL=$lt_lt_SP2NL
18163
18164 # turn newlines into spaces.
18165 NL2SP=$lt_lt_NL2SP
18166
18167 # convert \$build file names to \$host format.
18168 to_host_file_cmd=$lt_cv_to_host_file_cmd
18169
18170 # convert \$build files to toolchain format.
18171 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18172
18173 # Method to check whether dependent libraries are shared objects.
18174 deplibs_check_method=$lt_deplibs_check_method
18175
18176 # Command to use when deplibs_check_method = "file_magic".
18177 file_magic_cmd=$lt_file_magic_cmd
18178
18179 # How to find potential files when deplibs_check_method = "file_magic".
18180 file_magic_glob=$lt_file_magic_glob
18181
18182 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18183 want_nocaseglob=$lt_want_nocaseglob
18184
18185 # Command to associate shared and link libraries.
18186 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18187
18188 # The archiver.
18189 AR=$lt_AR
18190
18191 # Flags to create an archive.
18192 AR_FLAGS=$lt_AR_FLAGS
18193
18194 # How to feed a file listing to the archiver.
18195 archiver_list_spec=$lt_archiver_list_spec
18196
18197 # A symbol stripping program.
18198 STRIP=$lt_STRIP
18199
18200 # Commands used to install an old-style archive.
18201 RANLIB=$lt_RANLIB
18202 old_postinstall_cmds=$lt_old_postinstall_cmds
18203 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18204
18205 # Whether to use a lock for old archive extraction.
18206 lock_old_archive_extraction=$lock_old_archive_extraction
18207
18208 # A C compiler.
18209 LTCC=$lt_CC
18210
18211 # LTCC compiler flags.
18212 LTCFLAGS=$lt_CFLAGS
18213
18214 # Take the output of nm and produce a listing of raw symbols and C names.
18215 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18216
18217 # Transform the output of nm in a proper C declaration.
18218 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18219
18220 # Transform the output of nm in a C name address pair.
18221 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18222
18223 # Transform the output of nm in a C name address pair when lib prefix is needed.
18224 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18225
18226 # Specify filename containing input files for \$NM.
18227 nm_file_list_spec=$lt_nm_file_list_spec
18228
18229 # The root where to search for dependent libraries,and in which our libraries should be installed.
18230 lt_sysroot=$lt_sysroot
18231
18232 # The name of the directory that contains temporary libtool files.
18233 objdir=$objdir
18234
18235 # Used to examine libraries when file_magic_cmd begins with "file".
18236 MAGIC_CMD=$MAGIC_CMD
18237
18238 # Must we lock files when doing compilation?
18239 need_locks=$lt_need_locks
18240
18241 # Manifest tool.
18242 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18243
18244 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18245 DSYMUTIL=$lt_DSYMUTIL
18246
18247 # Tool to change global to local symbols on Mac OS X.
18248 NMEDIT=$lt_NMEDIT
18249
18250 # Tool to manipulate fat objects and archives on Mac OS X.
18251 LIPO=$lt_LIPO
18252
18253 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18254 OTOOL=$lt_OTOOL
18255
18256 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18257 OTOOL64=$lt_OTOOL64
18258
18259 # Old archive suffix (normally "a").
18260 libext=$libext
18261
18262 # Shared library suffix (normally ".so").
18263 shrext_cmds=$lt_shrext_cmds
18264
18265 # The commands to extract the exported symbol list from a shared archive.
18266 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18267
18268 # Variables whose values should be saved in libtool wrapper scripts and
18269 # restored at link time.
18270 variables_saved_for_relink=$lt_variables_saved_for_relink
18271
18272 # Do we need the "lib" prefix for modules?
18273 need_lib_prefix=$need_lib_prefix
18274
18275 # Do we need a version for libraries?
18276 need_version=$need_version
18277
18278 # Library versioning type.
18279 version_type=$version_type
18280
18281 # Shared library runtime path variable.
18282 runpath_var=$runpath_var
18283
18284 # Shared library path variable.
18285 shlibpath_var=$shlibpath_var
18286
18287 # Is shlibpath searched before the hard-coded library search path?
18288 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18289
18290 # Format of library name prefix.
18291 libname_spec=$lt_libname_spec
18292
18293 # List of archive names.  First name is the real one, the rest are links.
18294 # The last name is the one that the linker finds with -lNAME
18295 library_names_spec=$lt_library_names_spec
18296
18297 # The coded name of the library, if different from the real name.
18298 soname_spec=$lt_soname_spec
18299
18300 # Permission mode override for installation of shared libraries.
18301 install_override_mode=$lt_install_override_mode
18302
18303 # Command to use after installation of a shared archive.
18304 postinstall_cmds=$lt_postinstall_cmds
18305
18306 # Command to use after uninstallation of a shared archive.
18307 postuninstall_cmds=$lt_postuninstall_cmds
18308
18309 # Commands used to finish a libtool library installation in a directory.
18310 finish_cmds=$lt_finish_cmds
18311
18312 # As "finish_cmds", except a single script fragment to be evaled but
18313 # not shown.
18314 finish_eval=$lt_finish_eval
18315
18316 # Whether we should hardcode library paths into libraries.
18317 hardcode_into_libs=$hardcode_into_libs
18318
18319 # Compile-time system search path for libraries.
18320 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18321
18322 # Run-time system search path for libraries.
18323 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18324
18325 # Whether dlopen is supported.
18326 dlopen_support=$enable_dlopen
18327
18328 # Whether dlopen of programs is supported.
18329 dlopen_self=$enable_dlopen_self
18330
18331 # Whether dlopen of statically linked programs is supported.
18332 dlopen_self_static=$enable_dlopen_self_static
18333
18334 # Commands to strip libraries.
18335 old_striplib=$lt_old_striplib
18336 striplib=$lt_striplib
18337
18338
18339 # The linker used to build libraries.
18340 LD=$lt_LD
18341
18342 # How to create reloadable object files.
18343 reload_flag=$lt_reload_flag
18344 reload_cmds=$lt_reload_cmds
18345
18346 # Commands used to build an old-style archive.
18347 old_archive_cmds=$lt_old_archive_cmds
18348
18349 # A language specific compiler.
18350 CC=$lt_compiler
18351
18352 # Is the compiler the GNU compiler?
18353 with_gcc=$GCC
18354
18355 # Compiler flag to turn off builtin functions.
18356 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18357
18358 # Additional compiler flags for building library objects.
18359 pic_flag=$lt_lt_prog_compiler_pic
18360
18361 # How to pass a linker flag through the compiler.
18362 wl=$lt_lt_prog_compiler_wl
18363
18364 # Compiler flag to prevent dynamic linking.
18365 link_static_flag=$lt_lt_prog_compiler_static
18366
18367 # Does compiler simultaneously support -c and -o options?
18368 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18369
18370 # Whether or not to add -lc for building shared libraries.
18371 build_libtool_need_lc=$archive_cmds_need_lc
18372
18373 # Whether or not to disallow shared libs when runtime libs are static.
18374 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18375
18376 # Compiler flag to allow reflexive dlopens.
18377 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18378
18379 # Compiler flag to generate shared objects directly from archives.
18380 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18381
18382 # Whether the compiler copes with passing no objects directly.
18383 compiler_needs_object=$lt_compiler_needs_object
18384
18385 # Create an old-style archive from a shared archive.
18386 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18387
18388 # Create a temporary old-style archive to link instead of a shared archive.
18389 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18390
18391 # Commands used to build a shared archive.
18392 archive_cmds=$lt_archive_cmds
18393 archive_expsym_cmds=$lt_archive_expsym_cmds
18394
18395 # Commands used to build a loadable module if different from building
18396 # a shared archive.
18397 module_cmds=$lt_module_cmds
18398 module_expsym_cmds=$lt_module_expsym_cmds
18399
18400 # Whether we are building with GNU ld or not.
18401 with_gnu_ld=$lt_with_gnu_ld
18402
18403 # Flag that allows shared libraries with undefined symbols to be built.
18404 allow_undefined_flag=$lt_allow_undefined_flag
18405
18406 # Flag that enforces no undefined symbols.
18407 no_undefined_flag=$lt_no_undefined_flag
18408
18409 # Flag to hardcode \$libdir into a binary during linking.
18410 # This must work even if \$libdir does not exist
18411 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18412
18413 # Whether we need a single "-rpath" flag with a separated argument.
18414 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18415
18416 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18417 # DIR into the resulting binary.
18418 hardcode_direct=$hardcode_direct
18419
18420 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18421 # DIR into the resulting binary and the resulting library dependency is
18422 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18423 # library is relocated.
18424 hardcode_direct_absolute=$hardcode_direct_absolute
18425
18426 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18427 # into the resulting binary.
18428 hardcode_minus_L=$hardcode_minus_L
18429
18430 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18431 # into the resulting binary.
18432 hardcode_shlibpath_var=$hardcode_shlibpath_var
18433
18434 # Set to "yes" if building a shared library automatically hardcodes DIR
18435 # into the library and all subsequent libraries and executables linked
18436 # against it.
18437 hardcode_automatic=$hardcode_automatic
18438
18439 # Set to yes if linker adds runtime paths of dependent libraries
18440 # to runtime path list.
18441 inherit_rpath=$inherit_rpath
18442
18443 # Whether libtool must link a program against all its dependency libraries.
18444 link_all_deplibs=$link_all_deplibs
18445
18446 # Set to "yes" if exported symbols are required.
18447 always_export_symbols=$always_export_symbols
18448
18449 # The commands to list exported symbols.
18450 export_symbols_cmds=$lt_export_symbols_cmds
18451
18452 # Symbols that should not be listed in the preloaded symbols.
18453 exclude_expsyms=$lt_exclude_expsyms
18454
18455 # Symbols that must always be exported.
18456 include_expsyms=$lt_include_expsyms
18457
18458 # Commands necessary for linking programs (against libraries) with templates.
18459 prelink_cmds=$lt_prelink_cmds
18460
18461 # Commands necessary for finishing linking programs.
18462 postlink_cmds=$lt_postlink_cmds
18463
18464 # Specify filename containing input files.
18465 file_list_spec=$lt_file_list_spec
18466
18467 # How to hardcode a shared library path into an executable.
18468 hardcode_action=$hardcode_action
18469
18470 # ### END LIBTOOL CONFIG
18471
18472 _LT_EOF
18473
18474   case $host_os in
18475   aix3*)
18476     cat <<\_LT_EOF >> "$cfgfile"
18477 # AIX sometimes has problems with the GCC collect2 program.  For some
18478 # reason, if we set the COLLECT_NAMES environment variable, the problems
18479 # vanish in a puff of smoke.
18480 if test "X${COLLECT_NAMES+set}" != Xset; then
18481   COLLECT_NAMES=
18482   export COLLECT_NAMES
18483 fi
18484 _LT_EOF
18485     ;;
18486   esac
18487
18488
18489 ltmain="$ac_aux_dir/ltmain.sh"
18490
18491
18492   # We use sed instead of cat because bash on DJGPP gets confused if
18493   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
18494   # text mode, it properly converts lines to CR/LF.  This bash problem
18495   # is reportedly fixed, but why not run on old versions too?
18496   sed '$q' "$ltmain" >> "$cfgfile" \
18497      || (rm -f "$cfgfile"; exit 1)
18498
18499   if test x"$xsi_shell" = xyes; then
18500   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18501 func_dirname ()\
18502 {\
18503 \    case ${1} in\
18504 \      */*) func_dirname_result="${1%/*}${2}" ;;\
18505 \      *  ) func_dirname_result="${3}" ;;\
18506 \    esac\
18507 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18508   && mv -f "$cfgfile.tmp" "$cfgfile" \
18509     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18510 test 0 -eq $? || _lt_function_replace_fail=:
18511
18512
18513   sed -e '/^func_basename ()$/,/^} # func_basename /c\
18514 func_basename ()\
18515 {\
18516 \    func_basename_result="${1##*/}"\
18517 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18518   && mv -f "$cfgfile.tmp" "$cfgfile" \
18519     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18520 test 0 -eq $? || _lt_function_replace_fail=:
18521
18522
18523   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18524 func_dirname_and_basename ()\
18525 {\
18526 \    case ${1} in\
18527 \      */*) func_dirname_result="${1%/*}${2}" ;;\
18528 \      *  ) func_dirname_result="${3}" ;;\
18529 \    esac\
18530 \    func_basename_result="${1##*/}"\
18531 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18532   && mv -f "$cfgfile.tmp" "$cfgfile" \
18533     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18534 test 0 -eq $? || _lt_function_replace_fail=:
18535
18536
18537   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18538 func_stripname ()\
18539 {\
18540 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18541 \    # positional parameters, so assign one to ordinary parameter first.\
18542 \    func_stripname_result=${3}\
18543 \    func_stripname_result=${func_stripname_result#"${1}"}\
18544 \    func_stripname_result=${func_stripname_result%"${2}"}\
18545 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18546   && mv -f "$cfgfile.tmp" "$cfgfile" \
18547     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18548 test 0 -eq $? || _lt_function_replace_fail=:
18549
18550
18551   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18552 func_split_long_opt ()\
18553 {\
18554 \    func_split_long_opt_name=${1%%=*}\
18555 \    func_split_long_opt_arg=${1#*=}\
18556 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18557   && mv -f "$cfgfile.tmp" "$cfgfile" \
18558     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18559 test 0 -eq $? || _lt_function_replace_fail=:
18560
18561
18562   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18563 func_split_short_opt ()\
18564 {\
18565 \    func_split_short_opt_arg=${1#??}\
18566 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18567 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18568   && mv -f "$cfgfile.tmp" "$cfgfile" \
18569     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18570 test 0 -eq $? || _lt_function_replace_fail=:
18571
18572
18573   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18574 func_lo2o ()\
18575 {\
18576 \    case ${1} in\
18577 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18578 \      *)    func_lo2o_result=${1} ;;\
18579 \    esac\
18580 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18581   && mv -f "$cfgfile.tmp" "$cfgfile" \
18582     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18583 test 0 -eq $? || _lt_function_replace_fail=:
18584
18585
18586   sed -e '/^func_xform ()$/,/^} # func_xform /c\
18587 func_xform ()\
18588 {\
18589     func_xform_result=${1%.*}.lo\
18590 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18591   && mv -f "$cfgfile.tmp" "$cfgfile" \
18592     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18593 test 0 -eq $? || _lt_function_replace_fail=:
18594
18595
18596   sed -e '/^func_arith ()$/,/^} # func_arith /c\
18597 func_arith ()\
18598 {\
18599     func_arith_result=$(( $* ))\
18600 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18601   && mv -f "$cfgfile.tmp" "$cfgfile" \
18602     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18603 test 0 -eq $? || _lt_function_replace_fail=:
18604
18605
18606   sed -e '/^func_len ()$/,/^} # func_len /c\
18607 func_len ()\
18608 {\
18609     func_len_result=${#1}\
18610 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18611   && mv -f "$cfgfile.tmp" "$cfgfile" \
18612     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18613 test 0 -eq $? || _lt_function_replace_fail=:
18614
18615 fi
18616
18617 if test x"$lt_shell_append" = xyes; then
18618   sed -e '/^func_append ()$/,/^} # func_append /c\
18619 func_append ()\
18620 {\
18621     eval "${1}+=\\${2}"\
18622 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18623   && mv -f "$cfgfile.tmp" "$cfgfile" \
18624     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18625 test 0 -eq $? || _lt_function_replace_fail=:
18626
18627
18628   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18629 func_append_quoted ()\
18630 {\
18631 \    func_quote_for_eval "${2}"\
18632 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18633 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18634   && mv -f "$cfgfile.tmp" "$cfgfile" \
18635     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18636 test 0 -eq $? || _lt_function_replace_fail=:
18637
18638
18639   # Save a `func_append' function call where possible by direct use of '+='
18640   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18641     && mv -f "$cfgfile.tmp" "$cfgfile" \
18642       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18643   test 0 -eq $? || _lt_function_replace_fail=:
18644 else
18645   # Save a `func_append' function call even when '+=' is not available
18646   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18647     && mv -f "$cfgfile.tmp" "$cfgfile" \
18648       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18649   test 0 -eq $? || _lt_function_replace_fail=:
18650 fi
18651
18652 if test x"$_lt_function_replace_fail" = x":"; then
18653   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18654 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18655 fi
18656
18657
18658    mv -f "$cfgfile" "$ofile" ||
18659     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18660   chmod +x "$ofile"
18661
18662  ;;
18663     "po-directories":C)
18664     for ac_file in $CONFIG_FILES; do
18665       # Support "outfile[:infile[:infile...]]"
18666       case "$ac_file" in
18667         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
18668       esac
18669       # PO directories have a Makefile.in generated from Makefile.in.in.
18670       case "$ac_file" in */Makefile.in)
18671         # Adjust a relative srcdir.
18672         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
18673         ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
18674         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
18675         # In autoconf-2.13 it is called $ac_given_srcdir.
18676         # In autoconf-2.50 it is called $srcdir.
18677         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
18678         case "$ac_given_srcdir" in
18679           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
18680           /*) top_srcdir="$ac_given_srcdir" ;;
18681           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
18682         esac
18683         # Treat a directory as a PO directory if and only if it has a
18684         # POTFILES.in file. This allows packages to have multiple PO
18685         # directories under different names or in different locations.
18686         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
18687           rm -f "$ac_dir/POTFILES"
18688           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
18689           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
18690           POMAKEFILEDEPS="POTFILES.in"
18691           # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
18692           # on $ac_dir but don't depend on user-specified configuration
18693           # parameters.
18694           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
18695             # The LINGUAS file contains the set of available languages.
18696             if test -n "$OBSOLETE_ALL_LINGUAS"; then
18697               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
18698             fi
18699             ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
18700             # Hide the ALL_LINGUAS assigment from automake < 1.5.
18701             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
18702             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
18703           else
18704             # The set of available languages was given in configure.in.
18705             # Hide the ALL_LINGUAS assigment from automake < 1.5.
18706             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
18707           fi
18708           # Compute POFILES
18709           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
18710           # Compute UPDATEPOFILES
18711           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
18712           # Compute DUMMYPOFILES
18713           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
18714           # Compute GMOFILES
18715           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
18716           case "$ac_given_srcdir" in
18717             .) srcdirpre= ;;
18718             *) srcdirpre='$(srcdir)/' ;;
18719           esac
18720           POFILES=
18721           UPDATEPOFILES=
18722           DUMMYPOFILES=
18723           GMOFILES=
18724           for lang in $ALL_LINGUAS; do
18725             POFILES="$POFILES $srcdirpre$lang.po"
18726             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
18727             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
18728             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
18729           done
18730           # CATALOGS depends on both $ac_dir and the user's LINGUAS
18731           # environment variable.
18732           INST_LINGUAS=
18733           if test -n "$ALL_LINGUAS"; then
18734             for presentlang in $ALL_LINGUAS; do
18735               useit=no
18736               if test "%UNSET%" != "$LINGUAS"; then
18737                 desiredlanguages="$LINGUAS"
18738               else
18739                 desiredlanguages="$ALL_LINGUAS"
18740               fi
18741               for desiredlang in $desiredlanguages; do
18742                 # Use the presentlang catalog if desiredlang is
18743                 #   a. equal to presentlang, or
18744                 #   b. a variant of presentlang (because in this case,
18745                 #      presentlang can be used as a fallback for messages
18746                 #      which are not translated in the desiredlang catalog).
18747                 case "$desiredlang" in
18748                   "$presentlang"*) useit=yes;;
18749                 esac
18750               done
18751               if test $useit = yes; then
18752                 INST_LINGUAS="$INST_LINGUAS $presentlang"
18753               fi
18754             done
18755           fi
18756           CATALOGS=
18757           if test -n "$INST_LINGUAS"; then
18758             for lang in $INST_LINGUAS; do
18759               CATALOGS="$CATALOGS $lang.gmo"
18760             done
18761           fi
18762           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
18763           sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
18764           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
18765             if test -f "$f"; then
18766               case "$f" in
18767                 *.orig | *.bak | *~) ;;
18768                 *) cat "$f" >> "$ac_dir/Makefile" ;;
18769               esac
18770             fi
18771           done
18772         fi
18773         ;;
18774       esac
18775     done ;;
18776
18777   esac
18778 done # for ac_tag
18779
18780
18781 as_fn_exit 0
18782 _ACEOF
18783 ac_clean_files=$ac_clean_files_save
18784
18785 test $ac_write_fail = 0 ||
18786   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18787
18788
18789 # configure is writing to config.log, and then calls config.status.
18790 # config.status does its own redirection, appending to config.log.
18791 # Unfortunately, on DOS this fails, as config.log is still kept open
18792 # by configure, so config.status won't be able to write to it; its
18793 # output is simply discarded.  So we exec the FD to /dev/null,
18794 # effectively closing config.log, so it can be properly (re)opened and
18795 # appended to by config.status.  When coming back to configure, we
18796 # need to make the FD available again.
18797 if test "$no_create" != yes; then
18798   ac_cs_success=:
18799   ac_config_status_args=
18800   test "$silent" = yes &&
18801     ac_config_status_args="$ac_config_status_args --quiet"
18802   exec 5>/dev/null
18803   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18804   exec 5>>config.log
18805   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18806   # would make configure fail if this is the last instruction.
18807   $ac_cs_success || as_fn_exit 1
18808 fi
18809 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18810   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18811 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18812 fi
18813