]> git.sur5r.net Git - glabels/blob - configure
Upload to unstable
[glabels] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for glabels 3.0.1.
4 #
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=glabels>.
6 #
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
11 #
12 #
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
18
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22   emulate sh
23   NULLCMD=:
24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25   # is contrary to our usage.  Disable this feature.
26   alias -g '${1+"$@"}'='"$@"'
27   setopt NO_GLOB_SUBST
28 else
29   case `(set -o) 2>/dev/null` in #(
30   *posix*) :
31     set -o posix ;; #(
32   *) :
33      ;;
34 esac
35 fi
36
37
38 as_nl='
39 '
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49   as_echo='print -r --'
50   as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52   as_echo='printf %s\n'
53   as_echo_n='printf %s'
54 else
55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57     as_echo_n='/usr/ucb/echo -n'
58   else
59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60     as_echo_n_body='eval
61       arg=$1;
62       case $arg in #(
63       *"$as_nl"*)
64         expr "X$arg" : "X\\(.*\\)$as_nl";
65         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66       esac;
67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68     '
69     export as_echo_n_body
70     as_echo_n='sh -c $as_echo_n_body as_echo'
71   fi
72   export as_echo_body
73   as_echo='sh -c $as_echo_body as_echo'
74 fi
75
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78   PATH_SEPARATOR=:
79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81       PATH_SEPARATOR=';'
82   }
83 fi
84
85
86 # IFS
87 # We need space, tab and new line, in precisely that order.  Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" ""        $as_nl"
92
93 # Find who we are.  Look in the path if we contain no directory separator.
94 as_myself=
95 case $0 in #((
96   *[\\/]* ) as_myself=$0 ;;
97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 for as_dir in $PATH
99 do
100   IFS=$as_save_IFS
101   test -z "$as_dir" && as_dir=.
102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103   done
104 IFS=$as_save_IFS
105
106      ;;
107 esac
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
111   as_myself=$0
112 fi
113 if test ! -f "$as_myself"; then
114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115   exit 1
116 fi
117
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there.  '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
129
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
135
136 # CDPATH.
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139 if test "x$CONFIG_SHELL" = x; then
140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141   emulate sh
142   NULLCMD=:
143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144   # is contrary to our usage.  Disable this feature.
145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
146   setopt NO_GLOB_SUBST
147 else
148   case \`(set -o) 2>/dev/null\` in #(
149   *posix*) :
150     set -o posix ;; #(
151   *) :
152      ;;
153 esac
154 fi
155 "
156   as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
161
162 exitcode=0
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169 else
170   exitcode=1; echo positional parameters were not saved.
171 fi
172 test x\$exitcode = x0 || exit 1"
173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177
178   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182     PATH=/empty FPATH=/empty; export PATH FPATH
183     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186   if (eval "$as_required") 2>/dev/null; then :
187   as_have_required=yes
188 else
189   as_have_required=no
190 fi
191   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192
193 else
194   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195 as_found=false
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197 do
198   IFS=$as_save_IFS
199   test -z "$as_dir" && as_dir=.
200   as_found=:
201   case $as_dir in #(
202          /*)
203            for as_base in sh bash ksh sh5; do
204              # Try only shells that exist, to save several forks.
205              as_shell=$as_dir/$as_base
206              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208   CONFIG_SHELL=$as_shell as_have_required=yes
209                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
210   break 2
211 fi
212 fi
213            done;;
214        esac
215   as_found=false
216 done
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219   CONFIG_SHELL=$SHELL as_have_required=yes
220 fi; }
221 IFS=$as_save_IFS
222
223
224       if test "x$CONFIG_SHELL" != x; then :
225   # We cannot yet assume a decent shell, so we have to provide a
226         # neutralization value for shells without unset; and this also
227         # works around shells that cannot unset nonexistent variables.
228         # Preserve -v and -x to the replacement shell.
229         BASH_ENV=/dev/null
230         ENV=/dev/null
231         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232         export CONFIG_SHELL
233         case $- in # ((((
234           *v*x* | *x*v* ) as_opts=-vx ;;
235           *v* ) as_opts=-v ;;
236           *x* ) as_opts=-x ;;
237           * ) as_opts= ;;
238         esac
239         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240 fi
241
242     if test x$as_have_required = xno; then :
243   $as_echo "$0: This script requires a shell more modern than all"
244   $as_echo "$0: the shells that I found on your system."
245   if test x${ZSH_VERSION+set} = xset ; then
246     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
248   else
249     $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: http://bugzilla.gnome.org/enter_bug.cgi?product=glabels
251 $0: about your system, including any error possibly output
252 $0: before this message. Then install a modern shell, or
253 $0: manually run the script under such a shell if you do
254 $0: have one."
255   fi
256   exit 1
257 fi
258 fi
259 fi
260 SHELL=${CONFIG_SHELL-/bin/sh}
261 export SHELL
262 # Unset more variables known to interfere with behavior of common tools.
263 CLICOLOR_FORCE= GREP_OPTIONS=
264 unset CLICOLOR_FORCE GREP_OPTIONS
265
266 ## --------------------- ##
267 ## M4sh Shell Functions. ##
268 ## --------------------- ##
269 # as_fn_unset VAR
270 # ---------------
271 # Portably unset VAR.
272 as_fn_unset ()
273 {
274   { eval $1=; unset $1;}
275 }
276 as_unset=as_fn_unset
277
278 # as_fn_set_status STATUS
279 # -----------------------
280 # Set $? to STATUS, without forking.
281 as_fn_set_status ()
282 {
283   return $1
284 } # as_fn_set_status
285
286 # as_fn_exit STATUS
287 # -----------------
288 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
289 as_fn_exit ()
290 {
291   set +e
292   as_fn_set_status $1
293   exit $1
294 } # as_fn_exit
295
296 # as_fn_mkdir_p
297 # -------------
298 # Create "$as_dir" as a directory, including parents if necessary.
299 as_fn_mkdir_p ()
300 {
301
302   case $as_dir in #(
303   -*) as_dir=./$as_dir;;
304   esac
305   test -d "$as_dir" || eval $as_mkdir_p || {
306     as_dirs=
307     while :; do
308       case $as_dir in #(
309       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
310       *) as_qdir=$as_dir;;
311       esac
312       as_dirs="'$as_qdir' $as_dirs"
313       as_dir=`$as_dirname -- "$as_dir" ||
314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
315          X"$as_dir" : 'X\(//\)[^/]' \| \
316          X"$as_dir" : 'X\(//\)$' \| \
317          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
318 $as_echo X"$as_dir" |
319     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
320             s//\1/
321             q
322           }
323           /^X\(\/\/\)[^/].*/{
324             s//\1/
325             q
326           }
327           /^X\(\/\/\)$/{
328             s//\1/
329             q
330           }
331           /^X\(\/\).*/{
332             s//\1/
333             q
334           }
335           s/.*/./; q'`
336       test -d "$as_dir" && break
337     done
338     test -z "$as_dirs" || eval "mkdir $as_dirs"
339   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
340
341
342 } # as_fn_mkdir_p
343 # as_fn_append VAR VALUE
344 # ----------------------
345 # Append the text in VALUE to the end of the definition contained in VAR. Take
346 # advantage of any shell optimizations that allow amortized linear growth over
347 # repeated appends, instead of the typical quadratic growth present in naive
348 # implementations.
349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
350   eval 'as_fn_append ()
351   {
352     eval $1+=\$2
353   }'
354 else
355   as_fn_append ()
356   {
357     eval $1=\$$1\$2
358   }
359 fi # as_fn_append
360
361 # as_fn_arith ARG...
362 # ------------------
363 # Perform arithmetic evaluation on the ARGs, and store the result in the
364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
365 # must be portable across $(()) and expr.
366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
367   eval 'as_fn_arith ()
368   {
369     as_val=$(( $* ))
370   }'
371 else
372   as_fn_arith ()
373   {
374     as_val=`expr "$@" || test $? -eq 1`
375   }
376 fi # as_fn_arith
377
378
379 # as_fn_error STATUS ERROR [LINENO LOG_FD]
380 # ----------------------------------------
381 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
382 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
383 # script with STATUS, using 1 if that was 0.
384 as_fn_error ()
385 {
386   as_status=$1; test $as_status -eq 0 && as_status=1
387   if test "$4"; then
388     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
389     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390   fi
391   $as_echo "$as_me: error: $2" >&2
392   as_fn_exit $as_status
393 } # as_fn_error
394
395 if expr a : '\(a\)' >/dev/null 2>&1 &&
396    test "X`expr 00001 : '.*\(...\)'`" = X001; then
397   as_expr=expr
398 else
399   as_expr=false
400 fi
401
402 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
403   as_basename=basename
404 else
405   as_basename=false
406 fi
407
408 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
409   as_dirname=dirname
410 else
411   as_dirname=false
412 fi
413
414 as_me=`$as_basename -- "$0" ||
415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
416          X"$0" : 'X\(//\)$' \| \
417          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418 $as_echo X/"$0" |
419     sed '/^.*\/\([^/][^/]*\)\/*$/{
420             s//\1/
421             q
422           }
423           /^X\/\(\/\/\)$/{
424             s//\1/
425             q
426           }
427           /^X\/\(\/\).*/{
428             s//\1/
429             q
430           }
431           s/.*/./; q'`
432
433 # Avoid depending upon Character Ranges.
434 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
435 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
436 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
437 as_cr_digits='0123456789'
438 as_cr_alnum=$as_cr_Letters$as_cr_digits
439
440
441   as_lineno_1=$LINENO as_lineno_1a=$LINENO
442   as_lineno_2=$LINENO as_lineno_2a=$LINENO
443   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
444   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
445   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
446   sed -n '
447     p
448     /[$]LINENO/=
449   ' <$as_myself |
450     sed '
451       s/[$]LINENO.*/&-/
452       t lineno
453       b
454       :lineno
455       N
456       :loop
457       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
458       t loop
459       s/-\n.*//
460     ' >$as_me.lineno &&
461   chmod +x "$as_me.lineno" ||
462     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
463
464   # Don't try to exec as it changes $[0], causing all sort of problems
465   # (the dirname of $[0] is not the place where we might find the
466   # original and so on.  Autoconf is especially sensitive to this).
467   . "./$as_me.lineno"
468   # Exit status is that of the last command.
469   exit
470 }
471
472 ECHO_C= ECHO_N= ECHO_T=
473 case `echo -n x` in #(((((
474 -n*)
475   case `echo 'xy\c'` in
476   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
477   xy)  ECHO_C='\c';;
478   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
479        ECHO_T=' ';;
480   esac;;
481 *)
482   ECHO_N='-n';;
483 esac
484
485 rm -f conf$$ conf$$.exe conf$$.file
486 if test -d conf$$.dir; then
487   rm -f conf$$.dir/conf$$.file
488 else
489   rm -f conf$$.dir
490   mkdir conf$$.dir 2>/dev/null
491 fi
492 if (echo >conf$$.file) 2>/dev/null; then
493   if ln -s conf$$.file conf$$ 2>/dev/null; then
494     as_ln_s='ln -s'
495     # ... but there are two gotchas:
496     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
497     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
498     # In both cases, we have to default to `cp -p'.
499     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500       as_ln_s='cp -p'
501   elif ln conf$$.file conf$$ 2>/dev/null; then
502     as_ln_s=ln
503   else
504     as_ln_s='cp -p'
505   fi
506 else
507   as_ln_s='cp -p'
508 fi
509 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
510 rmdir conf$$.dir 2>/dev/null
511
512 if mkdir -p . 2>/dev/null; then
513   as_mkdir_p='mkdir -p "$as_dir"'
514 else
515   test -d ./-p && rmdir ./-p
516   as_mkdir_p=false
517 fi
518
519 if test -x / >/dev/null 2>&1; then
520   as_test_x='test -x'
521 else
522   if ls -dL / >/dev/null 2>&1; then
523     as_ls_L_option=L
524   else
525     as_ls_L_option=
526   fi
527   as_test_x='
528     eval sh -c '\''
529       if test -d "$1"; then
530         test -d "$1/.";
531       else
532         case $1 in #(
533         -*)set "./$1";;
534         esac;
535         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
536         ???[sx]*):;;*)false;;esac;fi
537     '\'' sh
538   '
539 fi
540 as_executable_p=$as_test_x
541
542 # Sed expression to map a string onto a valid CPP name.
543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544
545 # Sed expression to map a string onto a valid variable name.
546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547
548 SHELL=${CONFIG_SHELL-/bin/sh}
549
550
551 test -n "$DJDIR" || exec 7<&0 </dev/null
552 exec 6>&1
553
554 # Name of the host.
555 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558
559 #
560 # Initializations.
561 #
562 ac_default_prefix=/usr/local
563 ac_clean_files=
564 ac_config_libobj_dir=.
565 LIBOBJS=
566 cross_compiling=no
567 subdirs=
568 MFLAGS=
569 MAKEFLAGS=
570
571 # Identity of this package.
572 PACKAGE_NAME='glabels'
573 PACKAGE_TARNAME='glabels'
574 PACKAGE_VERSION='3.0.1'
575 PACKAGE_STRING='glabels 3.0.1'
576 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=glabels'
577 PACKAGE_URL=''
578
579 ac_unique_file="src/glabels.c"
580 # Factoring default headers for most tests.
581 ac_includes_default="\
582 #include <stdio.h>
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
585 #endif
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
588 #endif
589 #ifdef STDC_HEADERS
590 # include <stdlib.h>
591 # include <stddef.h>
592 #else
593 # ifdef HAVE_STDLIB_H
594 #  include <stdlib.h>
595 # endif
596 #endif
597 #ifdef HAVE_STRING_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
599 #  include <memory.h>
600 # endif
601 # include <string.h>
602 #endif
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
605 #endif
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
608 #endif
609 #ifdef HAVE_STDINT_H
610 # include <stdint.h>
611 #endif
612 #ifdef HAVE_UNISTD_H
613 # include <unistd.h>
614 #endif"
615
616 ac_subst_vars='am__EXEEXT_FALSE
617 am__EXEEXT_TRUE
618 LTLIBOBJS
619 LIBOBJS
620 MKINSTALLDIRS
621 POSUB
622 POFILES
623 PO_IN_DATADIR_FALSE
624 PO_IN_DATADIR_TRUE
625 INTLLIBS
626 INSTOBJEXT
627 GMOFILES
628 CATOBJEXT
629 CATALOGS
630 MSGFMT_OPTS
631 GETTEXT_PACKAGE
632 DISABLE_DEPRECATED_CFLAGS
633 LIBIEC16022_LIBS
634 LIBIEC16022_CFLAGS
635 LIBQRENCODE_LIBS
636 LIBQRENCODE_CFLAGS
637 LIBZINT_LIBS
638 LIBZINT_CFLAGS
639 LIBBARCODE_LIBS
640 LIBBARCODE_CFLAGS
641 LIBEBOOK_LIBS
642 LIBEBOOK_CFLAGS
643 LIBGLBARCODE_LIBS
644 LIBGLBARCODE_CFLAGS
645 LIBGLABELS_LIBS
646 LIBGLABELS_CFLAGS
647 GLABELS_LIBS
648 GLABELS_CFLAGS
649 LIBZINT_REQUIRED
650 LIBIEC16022_REQUIRED
651 LIBQRENCODE_REQUIRED
652 LIBBARCODE_REQUIRED
653 LIBEBOOK_REQUIRED
654 PANGO_REQUIRED
655 CAIRO_REQUIRED
656 LIBRSVG_REQUIRED
657 LIBXML_REQUIRED
658 GTK_REQUIRED
659 GLIB_REQUIRED
660 LIBGLBARCODE_API_VERSION
661 LIBGLABELS_API_VERSION
662 LIBGLBARCODE_BRANCH
663 LIBGLABELS_BRANCH
664 GLABELS_BRANCH
665 GTK_UPDATE_ICON_CACHE
666 GDK_PIXBUF_CSOURCE
667 GLIB_GENMARSHAL
668 WARN_CFLAGS
669 GSETTINGS_RULES
670 GLIB_COMPILE_SCHEMAS
671 gsettingsschemadir
672 GSETTINGS_DISABLE_SCHEMAS_COMPILE
673 GTK_DOC_USE_REBASE_FALSE
674 GTK_DOC_USE_REBASE_TRUE
675 GTK_DOC_USE_LIBTOOL_FALSE
676 GTK_DOC_USE_LIBTOOL_TRUE
677 GTK_DOC_BUILD_PDF_FALSE
678 GTK_DOC_BUILD_PDF_TRUE
679 GTK_DOC_BUILD_HTML_FALSE
680 GTK_DOC_BUILD_HTML_TRUE
681 ENABLE_GTK_DOC_FALSE
682 ENABLE_GTK_DOC_TRUE
683 GTKDOC_DEPS_LIBS
684 GTKDOC_DEPS_CFLAGS
685 HTML_DIR
686 GTKDOC_MKPDF
687 GTKDOC_REBASE
688 GTKDOC_CHECK
689 HAVE_GNOME_DOC_UTILS_FALSE
690 HAVE_GNOME_DOC_UTILS_TRUE
691 DISTCHECK_CONFIGURE_FLAGS
692 ENABLE_SK_FALSE
693 ENABLE_SK_TRUE
694 DOC_USER_FORMATS
695 OMF_DIR
696 HELP_DIR
697 CPP
698 OTOOL64
699 OTOOL
700 LIPO
701 NMEDIT
702 DSYMUTIL
703 MANIFEST_TOOL
704 RANLIB
705 ac_ct_AR
706 AR
707 DLLTOOL
708 OBJDUMP
709 LN_S
710 NM
711 ac_ct_DUMPBIN
712 DUMPBIN
713 LD
714 FGREP
715 EGREP
716 GREP
717 SED
718 host_os
719 host_vendor
720 host_cpu
721 host
722 build_os
723 build_vendor
724 build_cpu
725 build
726 LIBTOOL
727 PKG_CONFIG_LIBDIR
728 PKG_CONFIG_PATH
729 PKG_CONFIG
730 DATADIRNAME
731 am__fastdepCC_FALSE
732 am__fastdepCC_TRUE
733 CCDEPMODE
734 am__nodep
735 AMDEPBACKSLASH
736 AMDEP_FALSE
737 AMDEP_TRUE
738 am__quote
739 am__include
740 DEPDIR
741 OBJEXT
742 EXEEXT
743 ac_ct_CC
744 CPPFLAGS
745 LDFLAGS
746 CFLAGS
747 CC
748 ALL_LINGUAS
749 INTLTOOL_PERL
750 GMSGFMT
751 MSGFMT
752 MSGMERGE
753 XGETTEXT
754 INTLTOOL_POLICY_RULE
755 INTLTOOL_SERVICE_RULE
756 INTLTOOL_THEME_RULE
757 INTLTOOL_SCHEMAS_RULE
758 INTLTOOL_CAVES_RULE
759 INTLTOOL_XML_NOMERGE_RULE
760 INTLTOOL_XML_RULE
761 INTLTOOL_KBD_RULE
762 INTLTOOL_XAM_RULE
763 INTLTOOL_UI_RULE
764 INTLTOOL_SOUNDLIST_RULE
765 INTLTOOL_SHEET_RULE
766 INTLTOOL_SERVER_RULE
767 INTLTOOL_PONG_RULE
768 INTLTOOL_OAF_RULE
769 INTLTOOL_PROP_RULE
770 INTLTOOL_KEYS_RULE
771 INTLTOOL_DIRECTORY_RULE
772 INTLTOOL_DESKTOP_RULE
773 intltool__v_merge_options_0
774 intltool__v_merge_options_
775 INTLTOOL_V_MERGE_OPTIONS
776 INTLTOOL__v_MERGE_0
777 INTLTOOL__v_MERGE_
778 INTLTOOL_V_MERGE
779 INTLTOOL_EXTRACT
780 INTLTOOL_MERGE
781 INTLTOOL_UPDATE
782 USE_NLS
783 AM_BACKSLASH
784 AM_DEFAULT_VERBOSITY
785 AM_DEFAULT_V
786 AM_V
787 MAINT
788 MAINTAINER_MODE_FALSE
789 MAINTAINER_MODE_TRUE
790 am__untar
791 am__tar
792 AMTAR
793 am__leading_dot
794 SET_MAKE
795 AWK
796 mkdir_p
797 MKDIR_P
798 INSTALL_STRIP_PROGRAM
799 STRIP
800 install_sh
801 MAKEINFO
802 AUTOHEADER
803 AUTOMAKE
804 AUTOCONF
805 ACLOCAL
806 VERSION
807 PACKAGE
808 CYGPATH_W
809 am__isrc
810 INSTALL_DATA
811 INSTALL_SCRIPT
812 INSTALL_PROGRAM
813 target_alias
814 host_alias
815 build_alias
816 LIBS
817 ECHO_T
818 ECHO_N
819 ECHO_C
820 DEFS
821 mandir
822 localedir
823 libdir
824 psdir
825 pdfdir
826 dvidir
827 htmldir
828 infodir
829 docdir
830 oldincludedir
831 includedir
832 localstatedir
833 sharedstatedir
834 sysconfdir
835 datadir
836 datarootdir
837 libexecdir
838 sbindir
839 bindir
840 program_transform_name
841 prefix
842 exec_prefix
843 PACKAGE_URL
844 PACKAGE_BUGREPORT
845 PACKAGE_STRING
846 PACKAGE_VERSION
847 PACKAGE_TARNAME
848 PACKAGE_NAME
849 PATH_SEPARATOR
850 SHELL'
851 ac_subst_files=''
852 ac_user_opts='
853 enable_option_checking
854 enable_maintainer_mode
855 enable_silent_rules
856 enable_nls
857 enable_dependency_tracking
858 enable_shared
859 enable_static
860 with_pic
861 enable_fast_install
862 with_gnu_ld
863 with_sysroot
864 enable_libtool_lock
865 with_help_dir
866 with_omf_dir
867 with_help_formats
868 enable_scrollkeeper
869 with_html_dir
870 enable_gtk_doc
871 enable_gtk_doc_html
872 enable_gtk_doc_pdf
873 enable_schemas_compile
874 enable_compile_warnings
875 enable_iso_c
876 with_libebook
877 with_libbarcode
878 with_libzint
879 with_libqrencode
880 with_libiec16022
881 enable_deprecations
882 '
883       ac_precious_vars='build_alias
884 host_alias
885 target_alias
886 CC
887 CFLAGS
888 LDFLAGS
889 LIBS
890 CPPFLAGS
891 PKG_CONFIG
892 PKG_CONFIG_PATH
893 PKG_CONFIG_LIBDIR
894 CPP
895 GTKDOC_DEPS_CFLAGS
896 GTKDOC_DEPS_LIBS
897 GLABELS_CFLAGS
898 GLABELS_LIBS
899 LIBGLABELS_CFLAGS
900 LIBGLABELS_LIBS
901 LIBGLBARCODE_CFLAGS
902 LIBGLBARCODE_LIBS
903 LIBEBOOK_CFLAGS
904 LIBEBOOK_LIBS
905 LIBQRENCODE_CFLAGS
906 LIBQRENCODE_LIBS
907 LIBIEC16022_CFLAGS
908 LIBIEC16022_LIBS'
909
910
911 # Initialize some variables set by options.
912 ac_init_help=
913 ac_init_version=false
914 ac_unrecognized_opts=
915 ac_unrecognized_sep=
916 # The variables have the same names as the options, with
917 # dashes changed to underlines.
918 cache_file=/dev/null
919 exec_prefix=NONE
920 no_create=
921 no_recursion=
922 prefix=NONE
923 program_prefix=NONE
924 program_suffix=NONE
925 program_transform_name=s,x,x,
926 silent=
927 site=
928 srcdir=
929 verbose=
930 x_includes=NONE
931 x_libraries=NONE
932
933 # Installation directory options.
934 # These are left unexpanded so users can "make install exec_prefix=/foo"
935 # and all the variables that are supposed to be based on exec_prefix
936 # by default will actually change.
937 # Use braces instead of parens because sh, perl, etc. also accept them.
938 # (The list follows the same order as the GNU Coding Standards.)
939 bindir='${exec_prefix}/bin'
940 sbindir='${exec_prefix}/sbin'
941 libexecdir='${exec_prefix}/libexec'
942 datarootdir='${prefix}/share'
943 datadir='${datarootdir}'
944 sysconfdir='${prefix}/etc'
945 sharedstatedir='${prefix}/com'
946 localstatedir='${prefix}/var'
947 includedir='${prefix}/include'
948 oldincludedir='/usr/include'
949 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
950 infodir='${datarootdir}/info'
951 htmldir='${docdir}'
952 dvidir='${docdir}'
953 pdfdir='${docdir}'
954 psdir='${docdir}'
955 libdir='${exec_prefix}/lib'
956 localedir='${datarootdir}/locale'
957 mandir='${datarootdir}/man'
958
959 ac_prev=
960 ac_dashdash=
961 for ac_option
962 do
963   # If the previous option needs an argument, assign it.
964   if test -n "$ac_prev"; then
965     eval $ac_prev=\$ac_option
966     ac_prev=
967     continue
968   fi
969
970   case $ac_option in
971   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
972   *=)   ac_optarg= ;;
973   *)    ac_optarg=yes ;;
974   esac
975
976   # Accept the important Cygnus configure options, so we can diagnose typos.
977
978   case $ac_dashdash$ac_option in
979   --)
980     ac_dashdash=yes ;;
981
982   -bindir | --bindir | --bindi | --bind | --bin | --bi)
983     ac_prev=bindir ;;
984   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
985     bindir=$ac_optarg ;;
986
987   -build | --build | --buil | --bui | --bu)
988     ac_prev=build_alias ;;
989   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
990     build_alias=$ac_optarg ;;
991
992   -cache-file | --cache-file | --cache-fil | --cache-fi \
993   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
994     ac_prev=cache_file ;;
995   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
996   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
997     cache_file=$ac_optarg ;;
998
999   --config-cache | -C)
1000     cache_file=config.cache ;;
1001
1002   -datadir | --datadir | --datadi | --datad)
1003     ac_prev=datadir ;;
1004   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1005     datadir=$ac_optarg ;;
1006
1007   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1008   | --dataroo | --dataro | --datar)
1009     ac_prev=datarootdir ;;
1010   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1011   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1012     datarootdir=$ac_optarg ;;
1013
1014   -disable-* | --disable-*)
1015     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1016     # Reject names that are not valid shell variable names.
1017     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1018       as_fn_error $? "invalid feature name: $ac_useropt"
1019     ac_useropt_orig=$ac_useropt
1020     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1021     case $ac_user_opts in
1022       *"
1023 "enable_$ac_useropt"
1024 "*) ;;
1025       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1026          ac_unrecognized_sep=', ';;
1027     esac
1028     eval enable_$ac_useropt=no ;;
1029
1030   -docdir | --docdir | --docdi | --doc | --do)
1031     ac_prev=docdir ;;
1032   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1033     docdir=$ac_optarg ;;
1034
1035   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1036     ac_prev=dvidir ;;
1037   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1038     dvidir=$ac_optarg ;;
1039
1040   -enable-* | --enable-*)
1041     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1042     # Reject names that are not valid shell variable names.
1043     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1044       as_fn_error $? "invalid feature name: $ac_useropt"
1045     ac_useropt_orig=$ac_useropt
1046     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1047     case $ac_user_opts in
1048       *"
1049 "enable_$ac_useropt"
1050 "*) ;;
1051       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1052          ac_unrecognized_sep=', ';;
1053     esac
1054     eval enable_$ac_useropt=\$ac_optarg ;;
1055
1056   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1057   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1058   | --exec | --exe | --ex)
1059     ac_prev=exec_prefix ;;
1060   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1061   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1062   | --exec=* | --exe=* | --ex=*)
1063     exec_prefix=$ac_optarg ;;
1064
1065   -gas | --gas | --ga | --g)
1066     # Obsolete; use --with-gas.
1067     with_gas=yes ;;
1068
1069   -help | --help | --hel | --he | -h)
1070     ac_init_help=long ;;
1071   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1072     ac_init_help=recursive ;;
1073   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1074     ac_init_help=short ;;
1075
1076   -host | --host | --hos | --ho)
1077     ac_prev=host_alias ;;
1078   -host=* | --host=* | --hos=* | --ho=*)
1079     host_alias=$ac_optarg ;;
1080
1081   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1082     ac_prev=htmldir ;;
1083   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1084   | --ht=*)
1085     htmldir=$ac_optarg ;;
1086
1087   -includedir | --includedir | --includedi | --included | --include \
1088   | --includ | --inclu | --incl | --inc)
1089     ac_prev=includedir ;;
1090   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1091   | --includ=* | --inclu=* | --incl=* | --inc=*)
1092     includedir=$ac_optarg ;;
1093
1094   -infodir | --infodir | --infodi | --infod | --info | --inf)
1095     ac_prev=infodir ;;
1096   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1097     infodir=$ac_optarg ;;
1098
1099   -libdir | --libdir | --libdi | --libd)
1100     ac_prev=libdir ;;
1101   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1102     libdir=$ac_optarg ;;
1103
1104   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1105   | --libexe | --libex | --libe)
1106     ac_prev=libexecdir ;;
1107   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1108   | --libexe=* | --libex=* | --libe=*)
1109     libexecdir=$ac_optarg ;;
1110
1111   -localedir | --localedir | --localedi | --localed | --locale)
1112     ac_prev=localedir ;;
1113   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1114     localedir=$ac_optarg ;;
1115
1116   -localstatedir | --localstatedir | --localstatedi | --localstated \
1117   | --localstate | --localstat | --localsta | --localst | --locals)
1118     ac_prev=localstatedir ;;
1119   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1120   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1121     localstatedir=$ac_optarg ;;
1122
1123   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1124     ac_prev=mandir ;;
1125   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1126     mandir=$ac_optarg ;;
1127
1128   -nfp | --nfp | --nf)
1129     # Obsolete; use --without-fp.
1130     with_fp=no ;;
1131
1132   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1133   | --no-cr | --no-c | -n)
1134     no_create=yes ;;
1135
1136   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1137   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1138     no_recursion=yes ;;
1139
1140   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1141   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1142   | --oldin | --oldi | --old | --ol | --o)
1143     ac_prev=oldincludedir ;;
1144   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1145   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1146   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1147     oldincludedir=$ac_optarg ;;
1148
1149   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1150     ac_prev=prefix ;;
1151   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1152     prefix=$ac_optarg ;;
1153
1154   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1155   | --program-pre | --program-pr | --program-p)
1156     ac_prev=program_prefix ;;
1157   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1158   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1159     program_prefix=$ac_optarg ;;
1160
1161   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1162   | --program-suf | --program-su | --program-s)
1163     ac_prev=program_suffix ;;
1164   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1165   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1166     program_suffix=$ac_optarg ;;
1167
1168   -program-transform-name | --program-transform-name \
1169   | --program-transform-nam | --program-transform-na \
1170   | --program-transform-n | --program-transform- \
1171   | --program-transform | --program-transfor \
1172   | --program-transfo | --program-transf \
1173   | --program-trans | --program-tran \
1174   | --progr-tra | --program-tr | --program-t)
1175     ac_prev=program_transform_name ;;
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     program_transform_name=$ac_optarg ;;
1184
1185   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1186     ac_prev=pdfdir ;;
1187   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1188     pdfdir=$ac_optarg ;;
1189
1190   -psdir | --psdir | --psdi | --psd | --ps)
1191     ac_prev=psdir ;;
1192   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1193     psdir=$ac_optarg ;;
1194
1195   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1196   | -silent | --silent | --silen | --sile | --sil)
1197     silent=yes ;;
1198
1199   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1200     ac_prev=sbindir ;;
1201   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1202   | --sbi=* | --sb=*)
1203     sbindir=$ac_optarg ;;
1204
1205   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1206   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1207   | --sharedst | --shareds | --shared | --share | --shar \
1208   | --sha | --sh)
1209     ac_prev=sharedstatedir ;;
1210   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1211   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1212   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1213   | --sha=* | --sh=*)
1214     sharedstatedir=$ac_optarg ;;
1215
1216   -site | --site | --sit)
1217     ac_prev=site ;;
1218   -site=* | --site=* | --sit=*)
1219     site=$ac_optarg ;;
1220
1221   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1222     ac_prev=srcdir ;;
1223   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1224     srcdir=$ac_optarg ;;
1225
1226   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1227   | --syscon | --sysco | --sysc | --sys | --sy)
1228     ac_prev=sysconfdir ;;
1229   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1230   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1231     sysconfdir=$ac_optarg ;;
1232
1233   -target | --target | --targe | --targ | --tar | --ta | --t)
1234     ac_prev=target_alias ;;
1235   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1236     target_alias=$ac_optarg ;;
1237
1238   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1239     verbose=yes ;;
1240
1241   -version | --version | --versio | --versi | --vers | -V)
1242     ac_init_version=: ;;
1243
1244   -with-* | --with-*)
1245     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1246     # Reject names that are not valid shell variable names.
1247     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1248       as_fn_error $? "invalid package name: $ac_useropt"
1249     ac_useropt_orig=$ac_useropt
1250     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1251     case $ac_user_opts in
1252       *"
1253 "with_$ac_useropt"
1254 "*) ;;
1255       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1256          ac_unrecognized_sep=', ';;
1257     esac
1258     eval with_$ac_useropt=\$ac_optarg ;;
1259
1260   -without-* | --without-*)
1261     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1262     # Reject names that are not valid shell variable names.
1263     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1264       as_fn_error $? "invalid package name: $ac_useropt"
1265     ac_useropt_orig=$ac_useropt
1266     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1267     case $ac_user_opts in
1268       *"
1269 "with_$ac_useropt"
1270 "*) ;;
1271       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1272          ac_unrecognized_sep=', ';;
1273     esac
1274     eval with_$ac_useropt=no ;;
1275
1276   --x)
1277     # Obsolete; use --with-x.
1278     with_x=yes ;;
1279
1280   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1281   | --x-incl | --x-inc | --x-in | --x-i)
1282     ac_prev=x_includes ;;
1283   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1284   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1285     x_includes=$ac_optarg ;;
1286
1287   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1288   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1289     ac_prev=x_libraries ;;
1290   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1291   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1292     x_libraries=$ac_optarg ;;
1293
1294   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1295 Try \`$0 --help' for more information"
1296     ;;
1297
1298   *=*)
1299     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1300     # Reject names that are not valid shell variable names.
1301     case $ac_envvar in #(
1302       '' | [0-9]* | *[!_$as_cr_alnum]* )
1303       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1304     esac
1305     eval $ac_envvar=\$ac_optarg
1306     export $ac_envvar ;;
1307
1308   *)
1309     # FIXME: should be removed in autoconf 3.0.
1310     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1311     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1312       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1313     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1314     ;;
1315
1316   esac
1317 done
1318
1319 if test -n "$ac_prev"; then
1320   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1321   as_fn_error $? "missing argument to $ac_option"
1322 fi
1323
1324 if test -n "$ac_unrecognized_opts"; then
1325   case $enable_option_checking in
1326     no) ;;
1327     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1328     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1329   esac
1330 fi
1331
1332 # Check all directory arguments for consistency.
1333 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1334                 datadir sysconfdir sharedstatedir localstatedir includedir \
1335                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1336                 libdir localedir mandir
1337 do
1338   eval ac_val=\$$ac_var
1339   # Remove trailing slashes.
1340   case $ac_val in
1341     */ )
1342       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1343       eval $ac_var=\$ac_val;;
1344   esac
1345   # Be sure to have absolute directory names.
1346   case $ac_val in
1347     [\\/$]* | ?:[\\/]* )  continue;;
1348     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1349   esac
1350   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1351 done
1352
1353 # There might be people who depend on the old broken behavior: `$host'
1354 # used to hold the argument of --host etc.
1355 # FIXME: To remove some day.
1356 build=$build_alias
1357 host=$host_alias
1358 target=$target_alias
1359
1360 # FIXME: To remove some day.
1361 if test "x$host_alias" != x; then
1362   if test "x$build_alias" = x; then
1363     cross_compiling=maybe
1364     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1365     If a cross compiler is detected then cross compile mode will be used" >&2
1366   elif test "x$build_alias" != "x$host_alias"; then
1367     cross_compiling=yes
1368   fi
1369 fi
1370
1371 ac_tool_prefix=
1372 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1373
1374 test "$silent" = yes && exec 6>/dev/null
1375
1376
1377 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1378 ac_ls_di=`ls -di .` &&
1379 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1380   as_fn_error $? "working directory cannot be determined"
1381 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1382   as_fn_error $? "pwd does not report name of working directory"
1383
1384
1385 # Find the source files, if location was not specified.
1386 if test -z "$srcdir"; then
1387   ac_srcdir_defaulted=yes
1388   # Try the directory containing this script, then the parent directory.
1389   ac_confdir=`$as_dirname -- "$as_myself" ||
1390 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1391          X"$as_myself" : 'X\(//\)[^/]' \| \
1392          X"$as_myself" : 'X\(//\)$' \| \
1393          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1394 $as_echo X"$as_myself" |
1395     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1396             s//\1/
1397             q
1398           }
1399           /^X\(\/\/\)[^/].*/{
1400             s//\1/
1401             q
1402           }
1403           /^X\(\/\/\)$/{
1404             s//\1/
1405             q
1406           }
1407           /^X\(\/\).*/{
1408             s//\1/
1409             q
1410           }
1411           s/.*/./; q'`
1412   srcdir=$ac_confdir
1413   if test ! -r "$srcdir/$ac_unique_file"; then
1414     srcdir=..
1415   fi
1416 else
1417   ac_srcdir_defaulted=no
1418 fi
1419 if test ! -r "$srcdir/$ac_unique_file"; then
1420   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1421   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1422 fi
1423 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1424 ac_abs_confdir=`(
1425         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1426         pwd)`
1427 # When building in place, set srcdir=.
1428 if test "$ac_abs_confdir" = "$ac_pwd"; then
1429   srcdir=.
1430 fi
1431 # Remove unnecessary trailing slashes from srcdir.
1432 # Double slashes in file names in object file debugging info
1433 # mess up M-x gdb in Emacs.
1434 case $srcdir in
1435 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1436 esac
1437 for ac_var in $ac_precious_vars; do
1438   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1439   eval ac_env_${ac_var}_value=\$${ac_var}
1440   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1441   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1442 done
1443
1444 #
1445 # Report the --help message.
1446 #
1447 if test "$ac_init_help" = "long"; then
1448   # Omit some internal or obsolete options to make the list less imposing.
1449   # This message is too long to be a string in the A/UX 3.1 sh.
1450   cat <<_ACEOF
1451 \`configure' configures glabels 3.0.1 to adapt to many kinds of systems.
1452
1453 Usage: $0 [OPTION]... [VAR=VALUE]...
1454
1455 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1456 VAR=VALUE.  See below for descriptions of some of the useful variables.
1457
1458 Defaults for the options are specified in brackets.
1459
1460 Configuration:
1461   -h, --help              display this help and exit
1462       --help=short        display options specific to this package
1463       --help=recursive    display the short help of all the included packages
1464   -V, --version           display version information and exit
1465   -q, --quiet, --silent   do not print \`checking ...' messages
1466       --cache-file=FILE   cache test results in FILE [disabled]
1467   -C, --config-cache      alias for \`--cache-file=config.cache'
1468   -n, --no-create         do not create output files
1469       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1470
1471 Installation directories:
1472   --prefix=PREFIX         install architecture-independent files in PREFIX
1473                           [$ac_default_prefix]
1474   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1475                           [PREFIX]
1476
1477 By default, \`make install' will install all the files in
1478 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1479 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1480 for instance \`--prefix=\$HOME'.
1481
1482 For better control, use the options below.
1483
1484 Fine tuning of the installation directories:
1485   --bindir=DIR            user executables [EPREFIX/bin]
1486   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1487   --libexecdir=DIR        program executables [EPREFIX/libexec]
1488   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1489   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1490   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1491   --libdir=DIR            object code libraries [EPREFIX/lib]
1492   --includedir=DIR        C header files [PREFIX/include]
1493   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1494   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1495   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1496   --infodir=DIR           info documentation [DATAROOTDIR/info]
1497   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1498   --mandir=DIR            man documentation [DATAROOTDIR/man]
1499   --docdir=DIR            documentation root [DATAROOTDIR/doc/glabels]
1500   --htmldir=DIR           html documentation [DOCDIR]
1501   --dvidir=DIR            dvi documentation [DOCDIR]
1502   --pdfdir=DIR            pdf documentation [DOCDIR]
1503   --psdir=DIR             ps documentation [DOCDIR]
1504 _ACEOF
1505
1506   cat <<\_ACEOF
1507
1508 Program names:
1509   --program-prefix=PREFIX            prepend PREFIX to installed program names
1510   --program-suffix=SUFFIX            append SUFFIX to installed program names
1511   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1512
1513 System types:
1514   --build=BUILD     configure for building on BUILD [guessed]
1515   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1516 _ACEOF
1517 fi
1518
1519 if test -n "$ac_init_help"; then
1520   case $ac_init_help in
1521      short | recursive ) echo "Configuration of glabels 3.0.1:";;
1522    esac
1523   cat <<\_ACEOF
1524
1525 Optional Features:
1526   --disable-option-checking  ignore unrecognized --enable/--with options
1527   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1528   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1529   --enable-maintainer-mode  enable make rules and dependencies not useful
1530                           (and sometimes confusing) to the casual installer
1531   --enable-silent-rules          less verbose build output (undo: `make V=1')
1532   --disable-silent-rules         verbose build output (undo: `make V=0')
1533   --disable-nls           do not use Native Language Support
1534   --disable-dependency-tracking  speeds up one-time build
1535   --enable-dependency-tracking   do not reject slow dependency extractors
1536   --enable-shared[=PKGS]  build shared libraries [default=yes]
1537   --enable-static[=PKGS]  build static libraries [default=yes]
1538   --enable-fast-install[=PKGS]
1539                           optimize for fast installation [default=yes]
1540   --disable-libtool-lock  avoid locking (might break parallel builds)
1541   --disable-scrollkeeper  do not make updates to the scrollkeeper database
1542   --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1543   --enable-gtk-doc-html   build documentation in html format [[default=yes]]
1544   --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1545   --disable-schemas-compile
1546                           Disable regeneration of gschemas.compiled on install
1547   --enable-compile-warnings=[no/minimum/yes/maximum/error]
1548                           Turn on compiler warnings
1549   --enable-iso-c          Try to warn if code is not ISO C
1550   --enable-deprecations   warn about deprecated usages [default=no]
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-help-dir=DIR     path to help docs
1561   --with-omf-dir=DIR      path to OMF files
1562   --with-help-formats=FORMATS
1563                           list of formats
1564   --with-html-dir=PATH    path to installed docs
1565   --without-libebook      build without Evolution Data Server support
1566   --without-libbarcode    build without GNU Barcode support
1567   --without-libzint       build without Zint Barcode support
1568   --without-libqrencode   build without QR code support
1569   --without-libiec16022   build without IEC 16022 support
1570
1571 Some influential environment variables:
1572   CC          C compiler command
1573   CFLAGS      C compiler flags
1574   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1575               nonstandard directory <lib dir>
1576   LIBS        libraries to pass to the linker, e.g. -l<library>
1577   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1578               you have headers in a nonstandard directory <include dir>
1579   PKG_CONFIG  path to pkg-config utility
1580   PKG_CONFIG_PATH
1581               directories to add to pkg-config's search path
1582   PKG_CONFIG_LIBDIR
1583               path overriding pkg-config's built-in search path
1584   CPP         C preprocessor
1585   GTKDOC_DEPS_CFLAGS
1586               C compiler flags for GTKDOC_DEPS, overriding pkg-config
1587   GTKDOC_DEPS_LIBS
1588               linker flags for GTKDOC_DEPS, overriding pkg-config
1589   GLABELS_CFLAGS
1590               C compiler flags for GLABELS, overriding pkg-config
1591   GLABELS_LIBS
1592               linker flags for GLABELS, overriding pkg-config
1593   LIBGLABELS_CFLAGS
1594               C compiler flags for LIBGLABELS, overriding pkg-config
1595   LIBGLABELS_LIBS
1596               linker flags for LIBGLABELS, overriding pkg-config
1597   LIBGLBARCODE_CFLAGS
1598               C compiler flags for LIBGLBARCODE, overriding pkg-config
1599   LIBGLBARCODE_LIBS
1600               linker flags for LIBGLBARCODE, overriding pkg-config
1601   LIBEBOOK_CFLAGS
1602               C compiler flags for LIBEBOOK, overriding pkg-config
1603   LIBEBOOK_LIBS
1604               linker flags for LIBEBOOK, overriding pkg-config
1605   LIBQRENCODE_CFLAGS
1606               C compiler flags for LIBQRENCODE, overriding pkg-config
1607   LIBQRENCODE_LIBS
1608               linker flags for LIBQRENCODE, overriding pkg-config
1609   LIBIEC16022_CFLAGS
1610               C compiler flags for LIBIEC16022, overriding pkg-config
1611   LIBIEC16022_LIBS
1612               linker flags for LIBIEC16022, overriding pkg-config
1613
1614 Use these variables to override the choices made by `configure' or to help
1615 it to find libraries and programs with nonstandard names/locations.
1616
1617 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=glabels>.
1618 _ACEOF
1619 ac_status=$?
1620 fi
1621
1622 if test "$ac_init_help" = "recursive"; then
1623   # If there are subdirs, report their specific --help.
1624   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1625     test -d "$ac_dir" ||
1626       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1627       continue
1628     ac_builddir=.
1629
1630 case "$ac_dir" in
1631 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1632 *)
1633   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1634   # A ".." for each directory in $ac_dir_suffix.
1635   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1636   case $ac_top_builddir_sub in
1637   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1638   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1639   esac ;;
1640 esac
1641 ac_abs_top_builddir=$ac_pwd
1642 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1643 # for backward compatibility:
1644 ac_top_builddir=$ac_top_build_prefix
1645
1646 case $srcdir in
1647   .)  # We are building in place.
1648     ac_srcdir=.
1649     ac_top_srcdir=$ac_top_builddir_sub
1650     ac_abs_top_srcdir=$ac_pwd ;;
1651   [\\/]* | ?:[\\/]* )  # Absolute name.
1652     ac_srcdir=$srcdir$ac_dir_suffix;
1653     ac_top_srcdir=$srcdir
1654     ac_abs_top_srcdir=$srcdir ;;
1655   *) # Relative name.
1656     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1657     ac_top_srcdir=$ac_top_build_prefix$srcdir
1658     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1659 esac
1660 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1661
1662     cd "$ac_dir" || { ac_status=$?; continue; }
1663     # Check for guested configure.
1664     if test -f "$ac_srcdir/configure.gnu"; then
1665       echo &&
1666       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1667     elif test -f "$ac_srcdir/configure"; then
1668       echo &&
1669       $SHELL "$ac_srcdir/configure" --help=recursive
1670     else
1671       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1672     fi || ac_status=$?
1673     cd "$ac_pwd" || { ac_status=$?; break; }
1674   done
1675 fi
1676
1677 test -n "$ac_init_help" && exit $ac_status
1678 if $ac_init_version; then
1679   cat <<\_ACEOF
1680 glabels configure 3.0.1
1681 generated by GNU Autoconf 2.68
1682
1683 Copyright (C) 2010 Free Software Foundation, Inc.
1684 This configure script is free software; the Free Software Foundation
1685 gives unlimited permission to copy, distribute and modify it.
1686 _ACEOF
1687   exit
1688 fi
1689
1690 ## ------------------------ ##
1691 ## Autoconf initialization. ##
1692 ## ------------------------ ##
1693
1694 # ac_fn_c_try_compile LINENO
1695 # --------------------------
1696 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1697 ac_fn_c_try_compile ()
1698 {
1699   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1700   rm -f conftest.$ac_objext
1701   if { { ac_try="$ac_compile"
1702 case "(($ac_try" in
1703   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1704   *) ac_try_echo=$ac_try;;
1705 esac
1706 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1707 $as_echo "$ac_try_echo"; } >&5
1708   (eval "$ac_compile") 2>conftest.err
1709   ac_status=$?
1710   if test -s conftest.err; then
1711     grep -v '^ *+' conftest.err >conftest.er1
1712     cat conftest.er1 >&5
1713     mv -f conftest.er1 conftest.err
1714   fi
1715   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1716   test $ac_status = 0; } && {
1717          test -z "$ac_c_werror_flag" ||
1718          test ! -s conftest.err
1719        } && test -s conftest.$ac_objext; then :
1720   ac_retval=0
1721 else
1722   $as_echo "$as_me: failed program was:" >&5
1723 sed 's/^/| /' conftest.$ac_ext >&5
1724
1725         ac_retval=1
1726 fi
1727   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1728   as_fn_set_status $ac_retval
1729
1730 } # ac_fn_c_try_compile
1731
1732 # ac_fn_c_try_link LINENO
1733 # -----------------------
1734 # Try to link conftest.$ac_ext, and return whether this succeeded.
1735 ac_fn_c_try_link ()
1736 {
1737   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1738   rm -f conftest.$ac_objext conftest$ac_exeext
1739   if { { ac_try="$ac_link"
1740 case "(($ac_try" in
1741   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1742   *) ac_try_echo=$ac_try;;
1743 esac
1744 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1745 $as_echo "$ac_try_echo"; } >&5
1746   (eval "$ac_link") 2>conftest.err
1747   ac_status=$?
1748   if test -s conftest.err; then
1749     grep -v '^ *+' conftest.err >conftest.er1
1750     cat conftest.er1 >&5
1751     mv -f conftest.er1 conftest.err
1752   fi
1753   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1754   test $ac_status = 0; } && {
1755          test -z "$ac_c_werror_flag" ||
1756          test ! -s conftest.err
1757        } && test -s conftest$ac_exeext && {
1758          test "$cross_compiling" = yes ||
1759          $as_test_x conftest$ac_exeext
1760        }; then :
1761   ac_retval=0
1762 else
1763   $as_echo "$as_me: failed program was:" >&5
1764 sed 's/^/| /' conftest.$ac_ext >&5
1765
1766         ac_retval=1
1767 fi
1768   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1769   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1770   # interfere with the next link command; also delete a directory that is
1771   # left behind by Apple's compiler.  We do this before executing the actions.
1772   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1773   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1774   as_fn_set_status $ac_retval
1775
1776 } # ac_fn_c_try_link
1777
1778 # ac_fn_c_check_func LINENO FUNC VAR
1779 # ----------------------------------
1780 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1781 ac_fn_c_check_func ()
1782 {
1783   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1784   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1785 $as_echo_n "checking for $2... " >&6; }
1786 if eval \${$3+:} false; then :
1787   $as_echo_n "(cached) " >&6
1788 else
1789   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1790 /* end confdefs.h.  */
1791 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1792    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1793 #define $2 innocuous_$2
1794
1795 /* System header to define __stub macros and hopefully few prototypes,
1796     which can conflict with char $2 (); below.
1797     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1798     <limits.h> exists even on freestanding compilers.  */
1799
1800 #ifdef __STDC__
1801 # include <limits.h>
1802 #else
1803 # include <assert.h>
1804 #endif
1805
1806 #undef $2
1807
1808 /* Override any GCC internal prototype to avoid an error.
1809    Use char because int might match the return type of a GCC
1810    builtin and then its argument prototype would still apply.  */
1811 #ifdef __cplusplus
1812 extern "C"
1813 #endif
1814 char $2 ();
1815 /* The GNU C library defines this for functions which it implements
1816     to always fail with ENOSYS.  Some functions are actually named
1817     something starting with __ and the normal name is an alias.  */
1818 #if defined __stub_$2 || defined __stub___$2
1819 choke me
1820 #endif
1821
1822 int
1823 main ()
1824 {
1825 return $2 ();
1826   ;
1827   return 0;
1828 }
1829 _ACEOF
1830 if ac_fn_c_try_link "$LINENO"; then :
1831   eval "$3=yes"
1832 else
1833   eval "$3=no"
1834 fi
1835 rm -f core conftest.err conftest.$ac_objext \
1836     conftest$ac_exeext conftest.$ac_ext
1837 fi
1838 eval ac_res=\$$3
1839                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1840 $as_echo "$ac_res" >&6; }
1841   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1842
1843 } # ac_fn_c_check_func
1844
1845 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1846 # -------------------------------------------------------
1847 # Tests whether HEADER exists and can be compiled using the include files in
1848 # INCLUDES, setting the cache variable VAR accordingly.
1849 ac_fn_c_check_header_compile ()
1850 {
1851   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1852   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1853 $as_echo_n "checking for $2... " >&6; }
1854 if eval \${$3+:} false; then :
1855   $as_echo_n "(cached) " >&6
1856 else
1857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1858 /* end confdefs.h.  */
1859 $4
1860 #include <$2>
1861 _ACEOF
1862 if ac_fn_c_try_compile "$LINENO"; then :
1863   eval "$3=yes"
1864 else
1865   eval "$3=no"
1866 fi
1867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1868 fi
1869 eval ac_res=\$$3
1870                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1871 $as_echo "$ac_res" >&6; }
1872   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1873
1874 } # ac_fn_c_check_header_compile
1875
1876 # ac_fn_c_try_cpp LINENO
1877 # ----------------------
1878 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1879 ac_fn_c_try_cpp ()
1880 {
1881   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1882   if { { ac_try="$ac_cpp conftest.$ac_ext"
1883 case "(($ac_try" in
1884   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1885   *) ac_try_echo=$ac_try;;
1886 esac
1887 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1888 $as_echo "$ac_try_echo"; } >&5
1889   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1890   ac_status=$?
1891   if test -s conftest.err; then
1892     grep -v '^ *+' conftest.err >conftest.er1
1893     cat conftest.er1 >&5
1894     mv -f conftest.er1 conftest.err
1895   fi
1896   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1897   test $ac_status = 0; } > conftest.i && {
1898          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1899          test ! -s conftest.err
1900        }; then :
1901   ac_retval=0
1902 else
1903   $as_echo "$as_me: failed program was:" >&5
1904 sed 's/^/| /' conftest.$ac_ext >&5
1905
1906     ac_retval=1
1907 fi
1908   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1909   as_fn_set_status $ac_retval
1910
1911 } # ac_fn_c_try_cpp
1912
1913 # ac_fn_c_try_run LINENO
1914 # ----------------------
1915 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1916 # that executables *can* be run.
1917 ac_fn_c_try_run ()
1918 {
1919   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1920   if { { ac_try="$ac_link"
1921 case "(($ac_try" in
1922   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1923   *) ac_try_echo=$ac_try;;
1924 esac
1925 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1926 $as_echo "$ac_try_echo"; } >&5
1927   (eval "$ac_link") 2>&5
1928   ac_status=$?
1929   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1930   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1931   { { case "(($ac_try" in
1932   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1933   *) ac_try_echo=$ac_try;;
1934 esac
1935 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1936 $as_echo "$ac_try_echo"; } >&5
1937   (eval "$ac_try") 2>&5
1938   ac_status=$?
1939   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1940   test $ac_status = 0; }; }; then :
1941   ac_retval=0
1942 else
1943   $as_echo "$as_me: program exited with status $ac_status" >&5
1944        $as_echo "$as_me: failed program was:" >&5
1945 sed 's/^/| /' conftest.$ac_ext >&5
1946
1947        ac_retval=$ac_status
1948 fi
1949   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1950   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1951   as_fn_set_status $ac_retval
1952
1953 } # ac_fn_c_try_run
1954
1955 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1956 # -------------------------------------------------------
1957 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1958 # the include files in INCLUDES and setting the cache variable VAR
1959 # accordingly.
1960 ac_fn_c_check_header_mongrel ()
1961 {
1962   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1963   if eval \${$3+:} false; then :
1964   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1965 $as_echo_n "checking for $2... " >&6; }
1966 if eval \${$3+:} false; then :
1967   $as_echo_n "(cached) " >&6
1968 fi
1969 eval ac_res=\$$3
1970                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1971 $as_echo "$ac_res" >&6; }
1972 else
1973   # Is the header compilable?
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1975 $as_echo_n "checking $2 usability... " >&6; }
1976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1977 /* end confdefs.h.  */
1978 $4
1979 #include <$2>
1980 _ACEOF
1981 if ac_fn_c_try_compile "$LINENO"; then :
1982   ac_header_compiler=yes
1983 else
1984   ac_header_compiler=no
1985 fi
1986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1988 $as_echo "$ac_header_compiler" >&6; }
1989
1990 # Is the header present?
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1992 $as_echo_n "checking $2 presence... " >&6; }
1993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1994 /* end confdefs.h.  */
1995 #include <$2>
1996 _ACEOF
1997 if ac_fn_c_try_cpp "$LINENO"; then :
1998   ac_header_preproc=yes
1999 else
2000   ac_header_preproc=no
2001 fi
2002 rm -f conftest.err conftest.i conftest.$ac_ext
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2004 $as_echo "$ac_header_preproc" >&6; }
2005
2006 # So?  What about this header?
2007 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2008   yes:no: )
2009     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2010 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2011     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2012 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2013     ;;
2014   no:yes:* )
2015     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2016 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2017     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2018 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2019     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2020 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2021     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2022 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2023     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2024 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2025 ( $as_echo "## ---------------------------------------------------------------------- ##
2026 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=glabels ##
2027 ## ---------------------------------------------------------------------- ##"
2028      ) | sed "s/^/$as_me: WARNING:     /" >&2
2029     ;;
2030 esac
2031   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2032 $as_echo_n "checking for $2... " >&6; }
2033 if eval \${$3+:} false; then :
2034   $as_echo_n "(cached) " >&6
2035 else
2036   eval "$3=\$ac_header_compiler"
2037 fi
2038 eval ac_res=\$$3
2039                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2040 $as_echo "$ac_res" >&6; }
2041 fi
2042   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2043
2044 } # ac_fn_c_check_header_mongrel
2045 cat >config.log <<_ACEOF
2046 This file contains any messages produced by compilers while
2047 running configure, to aid debugging if configure makes a mistake.
2048
2049 It was created by glabels $as_me 3.0.1, which was
2050 generated by GNU Autoconf 2.68.  Invocation command line was
2051
2052   $ $0 $@
2053
2054 _ACEOF
2055 exec 5>>config.log
2056 {
2057 cat <<_ASUNAME
2058 ## --------- ##
2059 ## Platform. ##
2060 ## --------- ##
2061
2062 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2063 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2064 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2065 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2066 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2067
2068 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2069 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2070
2071 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2072 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2073 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2074 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2075 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2076 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2077 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2078
2079 _ASUNAME
2080
2081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2082 for as_dir in $PATH
2083 do
2084   IFS=$as_save_IFS
2085   test -z "$as_dir" && as_dir=.
2086     $as_echo "PATH: $as_dir"
2087   done
2088 IFS=$as_save_IFS
2089
2090 } >&5
2091
2092 cat >&5 <<_ACEOF
2093
2094
2095 ## ----------- ##
2096 ## Core tests. ##
2097 ## ----------- ##
2098
2099 _ACEOF
2100
2101
2102 # Keep a trace of the command line.
2103 # Strip out --no-create and --no-recursion so they do not pile up.
2104 # Strip out --silent because we don't want to record it for future runs.
2105 # Also quote any args containing shell meta-characters.
2106 # Make two passes to allow for proper duplicate-argument suppression.
2107 ac_configure_args=
2108 ac_configure_args0=
2109 ac_configure_args1=
2110 ac_must_keep_next=false
2111 for ac_pass in 1 2
2112 do
2113   for ac_arg
2114   do
2115     case $ac_arg in
2116     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2117     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2118     | -silent | --silent | --silen | --sile | --sil)
2119       continue ;;
2120     *\'*)
2121       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2122     esac
2123     case $ac_pass in
2124     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2125     2)
2126       as_fn_append ac_configure_args1 " '$ac_arg'"
2127       if test $ac_must_keep_next = true; then
2128         ac_must_keep_next=false # Got value, back to normal.
2129       else
2130         case $ac_arg in
2131           *=* | --config-cache | -C | -disable-* | --disable-* \
2132           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2133           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2134           | -with-* | --with-* | -without-* | --without-* | --x)
2135             case "$ac_configure_args0 " in
2136               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2137             esac
2138             ;;
2139           -* ) ac_must_keep_next=true ;;
2140         esac
2141       fi
2142       as_fn_append ac_configure_args " '$ac_arg'"
2143       ;;
2144     esac
2145   done
2146 done
2147 { ac_configure_args0=; unset ac_configure_args0;}
2148 { ac_configure_args1=; unset ac_configure_args1;}
2149
2150 # When interrupted or exit'd, cleanup temporary files, and complete
2151 # config.log.  We remove comments because anyway the quotes in there
2152 # would cause problems or look ugly.
2153 # WARNING: Use '\'' to represent an apostrophe within the trap.
2154 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2155 trap 'exit_status=$?
2156   # Save into config.log some information that might help in debugging.
2157   {
2158     echo
2159
2160     $as_echo "## ---------------- ##
2161 ## Cache variables. ##
2162 ## ---------------- ##"
2163     echo
2164     # The following way of writing the cache mishandles newlines in values,
2165 (
2166   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2167     eval ac_val=\$$ac_var
2168     case $ac_val in #(
2169     *${as_nl}*)
2170       case $ac_var in #(
2171       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2172 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2173       esac
2174       case $ac_var in #(
2175       _ | IFS | as_nl) ;; #(
2176       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2177       *) { eval $ac_var=; unset $ac_var;} ;;
2178       esac ;;
2179     esac
2180   done
2181   (set) 2>&1 |
2182     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2183     *${as_nl}ac_space=\ *)
2184       sed -n \
2185         "s/'\''/'\''\\\\'\'''\''/g;
2186           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2187       ;; #(
2188     *)
2189       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2190       ;;
2191     esac |
2192     sort
2193 )
2194     echo
2195
2196     $as_echo "## ----------------- ##
2197 ## Output variables. ##
2198 ## ----------------- ##"
2199     echo
2200     for ac_var in $ac_subst_vars
2201     do
2202       eval ac_val=\$$ac_var
2203       case $ac_val in
2204       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2205       esac
2206       $as_echo "$ac_var='\''$ac_val'\''"
2207     done | sort
2208     echo
2209
2210     if test -n "$ac_subst_files"; then
2211       $as_echo "## ------------------- ##
2212 ## File substitutions. ##
2213 ## ------------------- ##"
2214       echo
2215       for ac_var in $ac_subst_files
2216       do
2217         eval ac_val=\$$ac_var
2218         case $ac_val in
2219         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2220         esac
2221         $as_echo "$ac_var='\''$ac_val'\''"
2222       done | sort
2223       echo
2224     fi
2225
2226     if test -s confdefs.h; then
2227       $as_echo "## ----------- ##
2228 ## confdefs.h. ##
2229 ## ----------- ##"
2230       echo
2231       cat confdefs.h
2232       echo
2233     fi
2234     test "$ac_signal" != 0 &&
2235       $as_echo "$as_me: caught signal $ac_signal"
2236     $as_echo "$as_me: exit $exit_status"
2237   } >&5
2238   rm -f core *.core core.conftest.* &&
2239     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2240     exit $exit_status
2241 ' 0
2242 for ac_signal in 1 2 13 15; do
2243   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2244 done
2245 ac_signal=0
2246
2247 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2248 rm -f -r conftest* confdefs.h
2249
2250 $as_echo "/* confdefs.h */" > confdefs.h
2251
2252 # Predefined preprocessor variables.
2253
2254 cat >>confdefs.h <<_ACEOF
2255 #define PACKAGE_NAME "$PACKAGE_NAME"
2256 _ACEOF
2257
2258 cat >>confdefs.h <<_ACEOF
2259 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2260 _ACEOF
2261
2262 cat >>confdefs.h <<_ACEOF
2263 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2264 _ACEOF
2265
2266 cat >>confdefs.h <<_ACEOF
2267 #define PACKAGE_STRING "$PACKAGE_STRING"
2268 _ACEOF
2269
2270 cat >>confdefs.h <<_ACEOF
2271 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2272 _ACEOF
2273
2274 cat >>confdefs.h <<_ACEOF
2275 #define PACKAGE_URL "$PACKAGE_URL"
2276 _ACEOF
2277
2278
2279 # Let the site file select an alternate cache file if it wants to.
2280 # Prefer an explicitly selected file to automatically selected ones.
2281 ac_site_file1=NONE
2282 ac_site_file2=NONE
2283 if test -n "$CONFIG_SITE"; then
2284   # We do not want a PATH search for config.site.
2285   case $CONFIG_SITE in #((
2286     -*)  ac_site_file1=./$CONFIG_SITE;;
2287     */*) ac_site_file1=$CONFIG_SITE;;
2288     *)   ac_site_file1=./$CONFIG_SITE;;
2289   esac
2290 elif test "x$prefix" != xNONE; then
2291   ac_site_file1=$prefix/share/config.site
2292   ac_site_file2=$prefix/etc/config.site
2293 else
2294   ac_site_file1=$ac_default_prefix/share/config.site
2295   ac_site_file2=$ac_default_prefix/etc/config.site
2296 fi
2297 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2298 do
2299   test "x$ac_site_file" = xNONE && continue
2300   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2301     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2302 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2303     sed 's/^/| /' "$ac_site_file" >&5
2304     . "$ac_site_file" \
2305       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2306 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2307 as_fn_error $? "failed to load site script $ac_site_file
2308 See \`config.log' for more details" "$LINENO" 5; }
2309   fi
2310 done
2311
2312 if test -r "$cache_file"; then
2313   # Some versions of bash will fail to source /dev/null (special files
2314   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2315   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2316     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2317 $as_echo "$as_me: loading cache $cache_file" >&6;}
2318     case $cache_file in
2319       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2320       *)                      . "./$cache_file";;
2321     esac
2322   fi
2323 else
2324   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2325 $as_echo "$as_me: creating cache $cache_file" >&6;}
2326   >$cache_file
2327 fi
2328
2329 # Check that the precious variables saved in the cache have kept the same
2330 # value.
2331 ac_cache_corrupted=false
2332 for ac_var in $ac_precious_vars; do
2333   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2334   eval ac_new_set=\$ac_env_${ac_var}_set
2335   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2336   eval ac_new_val=\$ac_env_${ac_var}_value
2337   case $ac_old_set,$ac_new_set in
2338     set,)
2339       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2340 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2341       ac_cache_corrupted=: ;;
2342     ,set)
2343       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2344 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2345       ac_cache_corrupted=: ;;
2346     ,);;
2347     *)
2348       if test "x$ac_old_val" != "x$ac_new_val"; then
2349         # differences in whitespace do not lead to failure.
2350         ac_old_val_w=`echo x $ac_old_val`
2351         ac_new_val_w=`echo x $ac_new_val`
2352         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2353           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2354 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2355           ac_cache_corrupted=:
2356         else
2357           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2358 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2359           eval $ac_var=\$ac_old_val
2360         fi
2361         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2362 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2363         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2364 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2365       fi;;
2366   esac
2367   # Pass precious variables to config.status.
2368   if test "$ac_new_set" = set; then
2369     case $ac_new_val in
2370     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2371     *) ac_arg=$ac_var=$ac_new_val ;;
2372     esac
2373     case " $ac_configure_args " in
2374       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2375       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2376     esac
2377   fi
2378 done
2379 if $ac_cache_corrupted; then
2380   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2381 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2382   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2383 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2384   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2385 fi
2386 ## -------------------- ##
2387 ## Main body of script. ##
2388 ## -------------------- ##
2389
2390 ac_ext=c
2391 ac_cpp='$CPP $CPPFLAGS'
2392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2395
2396
2397
2398
2399
2400 am__api_version='1.11'
2401
2402 ac_aux_dir=
2403 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2404   if test -f "$ac_dir/install-sh"; then
2405     ac_aux_dir=$ac_dir
2406     ac_install_sh="$ac_aux_dir/install-sh -c"
2407     break
2408   elif test -f "$ac_dir/install.sh"; then
2409     ac_aux_dir=$ac_dir
2410     ac_install_sh="$ac_aux_dir/install.sh -c"
2411     break
2412   elif test -f "$ac_dir/shtool"; then
2413     ac_aux_dir=$ac_dir
2414     ac_install_sh="$ac_aux_dir/shtool install -c"
2415     break
2416   fi
2417 done
2418 if test -z "$ac_aux_dir"; then
2419   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2420 fi
2421
2422 # These three variables are undocumented and unsupported,
2423 # and are intended to be withdrawn in a future Autoconf release.
2424 # They can cause serious problems if a builder's source tree is in a directory
2425 # whose full name contains unusual characters.
2426 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2427 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2428 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2429
2430
2431 # Find a good install program.  We prefer a C program (faster),
2432 # so one script is as good as another.  But avoid the broken or
2433 # incompatible versions:
2434 # SysV /etc/install, /usr/sbin/install
2435 # SunOS /usr/etc/install
2436 # IRIX /sbin/install
2437 # AIX /bin/install
2438 # AmigaOS /C/install, which installs bootblocks on floppy discs
2439 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2440 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2441 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2442 # OS/2's system install, which has a completely different semantic
2443 # ./install, which can be erroneously created by make from ./install.sh.
2444 # Reject install programs that cannot install multiple files.
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2446 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2447 if test -z "$INSTALL"; then
2448 if ${ac_cv_path_install+:} false; then :
2449   $as_echo_n "(cached) " >&6
2450 else
2451   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2452 for as_dir in $PATH
2453 do
2454   IFS=$as_save_IFS
2455   test -z "$as_dir" && as_dir=.
2456     # Account for people who put trailing slashes in PATH elements.
2457 case $as_dir/ in #((
2458   ./ | .// | /[cC]/* | \
2459   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2460   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2461   /usr/ucb/* ) ;;
2462   *)
2463     # OSF1 and SCO ODT 3.0 have their own names for install.
2464     # Don't use installbsd from OSF since it installs stuff as root
2465     # by default.
2466     for ac_prog in ginstall scoinst install; do
2467       for ac_exec_ext in '' $ac_executable_extensions; do
2468         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2469           if test $ac_prog = install &&
2470             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2471             # AIX install.  It has an incompatible calling convention.
2472             :
2473           elif test $ac_prog = install &&
2474             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2475             # program-specific install script used by HP pwplus--don't use.
2476             :
2477           else
2478             rm -rf conftest.one conftest.two conftest.dir
2479             echo one > conftest.one
2480             echo two > conftest.two
2481             mkdir conftest.dir
2482             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2483               test -s conftest.one && test -s conftest.two &&
2484               test -s conftest.dir/conftest.one &&
2485               test -s conftest.dir/conftest.two
2486             then
2487               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2488               break 3
2489             fi
2490           fi
2491         fi
2492       done
2493     done
2494     ;;
2495 esac
2496
2497   done
2498 IFS=$as_save_IFS
2499
2500 rm -rf conftest.one conftest.two conftest.dir
2501
2502 fi
2503   if test "${ac_cv_path_install+set}" = set; then
2504     INSTALL=$ac_cv_path_install
2505   else
2506     # As a last resort, use the slow shell script.  Don't cache a
2507     # value for INSTALL within a source directory, because that will
2508     # break other packages using the cache if that directory is
2509     # removed, or if the value is a relative name.
2510     INSTALL=$ac_install_sh
2511   fi
2512 fi
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2514 $as_echo "$INSTALL" >&6; }
2515
2516 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2517 # It thinks the first close brace ends the variable substitution.
2518 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2519
2520 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2521
2522 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2523
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2525 $as_echo_n "checking whether build environment is sane... " >&6; }
2526 # Just in case
2527 sleep 1
2528 echo timestamp > conftest.file
2529 # Reject unsafe characters in $srcdir or the absolute working directory
2530 # name.  Accept space and tab only in the latter.
2531 am_lf='
2532 '
2533 case `pwd` in
2534   *[\\\"\#\$\&\'\`$am_lf]*)
2535     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2536 esac
2537 case $srcdir in
2538   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2539     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2540 esac
2541
2542 # Do `set' in a subshell so we don't clobber the current shell's
2543 # arguments.  Must try -L first in case configure is actually a
2544 # symlink; some systems play weird games with the mod time of symlinks
2545 # (eg FreeBSD returns the mod time of the symlink's containing
2546 # directory).
2547 if (
2548    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2549    if test "$*" = "X"; then
2550       # -L didn't work.
2551       set X `ls -t "$srcdir/configure" conftest.file`
2552    fi
2553    rm -f conftest.file
2554    if test "$*" != "X $srcdir/configure conftest.file" \
2555       && test "$*" != "X conftest.file $srcdir/configure"; then
2556
2557       # If neither matched, then we have a broken ls.  This can happen
2558       # if, for instance, CONFIG_SHELL is bash and it inherits a
2559       # broken ls alias from the environment.  This has actually
2560       # happened.  Such a system could not be considered "sane".
2561       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2562 alias in your environment" "$LINENO" 5
2563    fi
2564
2565    test "$2" = conftest.file
2566    )
2567 then
2568    # Ok.
2569    :
2570 else
2571    as_fn_error $? "newly created file is older than distributed files!
2572 Check your system clock" "$LINENO" 5
2573 fi
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2575 $as_echo "yes" >&6; }
2576 test "$program_prefix" != NONE &&
2577   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2578 # Use a double $ so make ignores it.
2579 test "$program_suffix" != NONE &&
2580   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2581 # Double any \ or $.
2582 # By default was `s,x,x', remove it if useless.
2583 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2584 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2585
2586 # expand $ac_aux_dir to an absolute path
2587 am_aux_dir=`cd $ac_aux_dir && pwd`
2588
2589 if test x"${MISSING+set}" != xset; then
2590   case $am_aux_dir in
2591   *\ * | *\     *)
2592     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2593   *)
2594     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2595   esac
2596 fi
2597 # Use eval to expand $SHELL
2598 if eval "$MISSING --run true"; then
2599   am_missing_run="$MISSING --run "
2600 else
2601   am_missing_run=
2602   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2603 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2604 fi
2605
2606 if test x"${install_sh}" != xset; then
2607   case $am_aux_dir in
2608   *\ * | *\     *)
2609     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2610   *)
2611     install_sh="\${SHELL} $am_aux_dir/install-sh"
2612   esac
2613 fi
2614
2615 # Installed binaries are usually stripped using `strip' when the user
2616 # run `make install-strip'.  However `strip' might not be the right
2617 # tool to use in cross-compilation environments, therefore Automake
2618 # will honor the `STRIP' environment variable to overrule this program.
2619 if test "$cross_compiling" != no; then
2620   if test -n "$ac_tool_prefix"; then
2621   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2622 set dummy ${ac_tool_prefix}strip; ac_word=$2
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2624 $as_echo_n "checking for $ac_word... " >&6; }
2625 if ${ac_cv_prog_STRIP+:} false; then :
2626   $as_echo_n "(cached) " >&6
2627 else
2628   if test -n "$STRIP"; then
2629   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2630 else
2631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2632 for as_dir in $PATH
2633 do
2634   IFS=$as_save_IFS
2635   test -z "$as_dir" && as_dir=.
2636     for ac_exec_ext in '' $ac_executable_extensions; do
2637   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2638     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2639     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2640     break 2
2641   fi
2642 done
2643   done
2644 IFS=$as_save_IFS
2645
2646 fi
2647 fi
2648 STRIP=$ac_cv_prog_STRIP
2649 if test -n "$STRIP"; then
2650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2651 $as_echo "$STRIP" >&6; }
2652 else
2653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2654 $as_echo "no" >&6; }
2655 fi
2656
2657
2658 fi
2659 if test -z "$ac_cv_prog_STRIP"; then
2660   ac_ct_STRIP=$STRIP
2661   # Extract the first word of "strip", so it can be a program name with args.
2662 set dummy strip; ac_word=$2
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2664 $as_echo_n "checking for $ac_word... " >&6; }
2665 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2666   $as_echo_n "(cached) " >&6
2667 else
2668   if test -n "$ac_ct_STRIP"; then
2669   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2670 else
2671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2672 for as_dir in $PATH
2673 do
2674   IFS=$as_save_IFS
2675   test -z "$as_dir" && as_dir=.
2676     for ac_exec_ext in '' $ac_executable_extensions; do
2677   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2678     ac_cv_prog_ac_ct_STRIP="strip"
2679     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2680     break 2
2681   fi
2682 done
2683   done
2684 IFS=$as_save_IFS
2685
2686 fi
2687 fi
2688 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2689 if test -n "$ac_ct_STRIP"; then
2690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2691 $as_echo "$ac_ct_STRIP" >&6; }
2692 else
2693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2694 $as_echo "no" >&6; }
2695 fi
2696
2697   if test "x$ac_ct_STRIP" = x; then
2698     STRIP=":"
2699   else
2700     case $cross_compiling:$ac_tool_warned in
2701 yes:)
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2703 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2704 ac_tool_warned=yes ;;
2705 esac
2706     STRIP=$ac_ct_STRIP
2707   fi
2708 else
2709   STRIP="$ac_cv_prog_STRIP"
2710 fi
2711
2712 fi
2713 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2714
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2716 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2717 if test -z "$MKDIR_P"; then
2718   if ${ac_cv_path_mkdir+:} false; then :
2719   $as_echo_n "(cached) " >&6
2720 else
2721   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2722 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2723 do
2724   IFS=$as_save_IFS
2725   test -z "$as_dir" && as_dir=.
2726     for ac_prog in mkdir gmkdir; do
2727          for ac_exec_ext in '' $ac_executable_extensions; do
2728            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2729            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2730              'mkdir (GNU coreutils) '* | \
2731              'mkdir (coreutils) '* | \
2732              'mkdir (fileutils) '4.1*)
2733                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2734                break 3;;
2735            esac
2736          done
2737        done
2738   done
2739 IFS=$as_save_IFS
2740
2741 fi
2742
2743   test -d ./--version && rmdir ./--version
2744   if test "${ac_cv_path_mkdir+set}" = set; then
2745     MKDIR_P="$ac_cv_path_mkdir -p"
2746   else
2747     # As a last resort, use the slow shell script.  Don't cache a
2748     # value for MKDIR_P within a source directory, because that will
2749     # break other packages using the cache if that directory is
2750     # removed, or if the value is a relative name.
2751     MKDIR_P="$ac_install_sh -d"
2752   fi
2753 fi
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2755 $as_echo "$MKDIR_P" >&6; }
2756
2757 mkdir_p="$MKDIR_P"
2758 case $mkdir_p in
2759   [\\/$]* | ?:[\\/]*) ;;
2760   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2761 esac
2762
2763 for ac_prog in gawk mawk nawk awk
2764 do
2765   # Extract the first word of "$ac_prog", so it can be a program name with args.
2766 set dummy $ac_prog; ac_word=$2
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2768 $as_echo_n "checking for $ac_word... " >&6; }
2769 if ${ac_cv_prog_AWK+:} false; then :
2770   $as_echo_n "(cached) " >&6
2771 else
2772   if test -n "$AWK"; then
2773   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2774 else
2775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2776 for as_dir in $PATH
2777 do
2778   IFS=$as_save_IFS
2779   test -z "$as_dir" && as_dir=.
2780     for ac_exec_ext in '' $ac_executable_extensions; do
2781   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2782     ac_cv_prog_AWK="$ac_prog"
2783     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2784     break 2
2785   fi
2786 done
2787   done
2788 IFS=$as_save_IFS
2789
2790 fi
2791 fi
2792 AWK=$ac_cv_prog_AWK
2793 if test -n "$AWK"; then
2794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2795 $as_echo "$AWK" >&6; }
2796 else
2797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2798 $as_echo "no" >&6; }
2799 fi
2800
2801
2802   test -n "$AWK" && break
2803 done
2804
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2806 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2807 set x ${MAKE-make}
2808 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2809 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2810   $as_echo_n "(cached) " >&6
2811 else
2812   cat >conftest.make <<\_ACEOF
2813 SHELL = /bin/sh
2814 all:
2815         @echo '@@@%%%=$(MAKE)=@@@%%%'
2816 _ACEOF
2817 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2818 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2819   *@@@%%%=?*=@@@%%%*)
2820     eval ac_cv_prog_make_${ac_make}_set=yes;;
2821   *)
2822     eval ac_cv_prog_make_${ac_make}_set=no;;
2823 esac
2824 rm -f conftest.make
2825 fi
2826 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2828 $as_echo "yes" >&6; }
2829   SET_MAKE=
2830 else
2831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2832 $as_echo "no" >&6; }
2833   SET_MAKE="MAKE=${MAKE-make}"
2834 fi
2835
2836 rm -rf .tst 2>/dev/null
2837 mkdir .tst 2>/dev/null
2838 if test -d .tst; then
2839   am__leading_dot=.
2840 else
2841   am__leading_dot=_
2842 fi
2843 rmdir .tst 2>/dev/null
2844
2845 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2846   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2847   # is not polluted with repeated "-I."
2848   am__isrc=' -I$(srcdir)'
2849   # test to see if srcdir already configured
2850   if test -f $srcdir/config.status; then
2851     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2852   fi
2853 fi
2854
2855 # test whether we have cygpath
2856 if test -z "$CYGPATH_W"; then
2857   if (cygpath --version) >/dev/null 2>/dev/null; then
2858     CYGPATH_W='cygpath -w'
2859   else
2860     CYGPATH_W=echo
2861   fi
2862 fi
2863
2864
2865 # Define the identity of the package.
2866  PACKAGE=glabels
2867  VERSION=3.0.1
2868
2869
2870 cat >>confdefs.h <<_ACEOF
2871 #define PACKAGE "$PACKAGE"
2872 _ACEOF
2873
2874
2875 cat >>confdefs.h <<_ACEOF
2876 #define VERSION "$VERSION"
2877 _ACEOF
2878
2879 # Some tools Automake needs.
2880
2881 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2882
2883
2884 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2885
2886
2887 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2888
2889
2890 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2891
2892
2893 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2894
2895 # We need awk for the "check" target.  The system "awk" is bad on
2896 # some platforms.
2897 # Always define AMTAR for backward compatibility.  Yes, it's still used
2898 # in the wild :-(  We should find a proper way to deprecate it ...
2899 AMTAR='$${TAR-tar}'
2900
2901 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2902
2903
2904
2905
2906
2907
2908
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2910 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2911     # Check whether --enable-maintainer-mode was given.
2912 if test "${enable_maintainer_mode+set}" = set; then :
2913   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2914 else
2915   USE_MAINTAINER_MODE=no
2916 fi
2917
2918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2919 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2920    if test $USE_MAINTAINER_MODE = yes; then
2921   MAINTAINER_MODE_TRUE=
2922   MAINTAINER_MODE_FALSE='#'
2923 else
2924   MAINTAINER_MODE_TRUE='#'
2925   MAINTAINER_MODE_FALSE=
2926 fi
2927
2928   MAINT=$MAINTAINER_MODE_TRUE
2929
2930
2931 # Check whether --enable-silent-rules was given.
2932 if test "${enable_silent_rules+set}" = set; then :
2933   enableval=$enable_silent_rules;
2934 fi
2935
2936 case $enable_silent_rules in
2937 yes) AM_DEFAULT_VERBOSITY=0;;
2938 no)  AM_DEFAULT_VERBOSITY=1;;
2939 *)   AM_DEFAULT_VERBOSITY=0;;
2940 esac
2941 am_make=${MAKE-make}
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2943 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2944 if ${am_cv_make_support_nested_variables+:} false; then :
2945   $as_echo_n "(cached) " >&6
2946 else
2947   if $as_echo 'TRUE=$(BAR$(V))
2948 BAR0=false
2949 BAR1=true
2950 V=1
2951 am__doit:
2952         @$(TRUE)
2953 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2954   am_cv_make_support_nested_variables=yes
2955 else
2956   am_cv_make_support_nested_variables=no
2957 fi
2958 fi
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2960 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2961 if test $am_cv_make_support_nested_variables = yes; then
2962     AM_V='$(V)'
2963   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2964 else
2965   AM_V=$AM_DEFAULT_VERBOSITY
2966   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2967 fi
2968 AM_BACKSLASH='\'
2969
2970
2971 ac_config_headers="$ac_config_headers config.h"
2972
2973
2974
2975   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
2976 $as_echo_n "checking whether NLS is requested... " >&6; }
2977     # Check whether --enable-nls was given.
2978 if test "${enable_nls+set}" = set; then :
2979   enableval=$enable_nls; USE_NLS=$enableval
2980 else
2981   USE_NLS=yes
2982 fi
2983
2984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
2985 $as_echo "$USE_NLS" >&6; }
2986
2987
2988 DEPDIR="${am__leading_dot}deps"
2989
2990 ac_config_commands="$ac_config_commands depfiles"
2991
2992
2993 am_make=${MAKE-make}
2994 cat > confinc << 'END'
2995 am__doit:
2996         @echo this is the am__doit target
2997 .PHONY: am__doit
2998 END
2999 # If we don't find an include directive, just comment out the code.
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3001 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3002 am__include="#"
3003 am__quote=
3004 _am_result=none
3005 # First try GNU make style include.
3006 echo "include confinc" > confmf
3007 # Ignore all kinds of additional output from `make'.
3008 case `$am_make -s -f confmf 2> /dev/null` in #(
3009 *the\ am__doit\ target*)
3010   am__include=include
3011   am__quote=
3012   _am_result=GNU
3013   ;;
3014 esac
3015 # Now try BSD make style include.
3016 if test "$am__include" = "#"; then
3017    echo '.include "confinc"' > confmf
3018    case `$am_make -s -f confmf 2> /dev/null` in #(
3019    *the\ am__doit\ target*)
3020      am__include=.include
3021      am__quote="\""
3022      _am_result=BSD
3023      ;;
3024    esac
3025 fi
3026
3027
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3029 $as_echo "$_am_result" >&6; }
3030 rm -f confinc confmf
3031
3032 # Check whether --enable-dependency-tracking was given.
3033 if test "${enable_dependency_tracking+set}" = set; then :
3034   enableval=$enable_dependency_tracking;
3035 fi
3036
3037 if test "x$enable_dependency_tracking" != xno; then
3038   am_depcomp="$ac_aux_dir/depcomp"
3039   AMDEPBACKSLASH='\'
3040   am__nodep='_no'
3041 fi
3042  if test "x$enable_dependency_tracking" != xno; then
3043   AMDEP_TRUE=
3044   AMDEP_FALSE='#'
3045 else
3046   AMDEP_TRUE='#'
3047   AMDEP_FALSE=
3048 fi
3049
3050
3051 ac_ext=c
3052 ac_cpp='$CPP $CPPFLAGS'
3053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3056 if test -n "$ac_tool_prefix"; then
3057   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3058 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3060 $as_echo_n "checking for $ac_word... " >&6; }
3061 if ${ac_cv_prog_CC+:} false; then :
3062   $as_echo_n "(cached) " >&6
3063 else
3064   if test -n "$CC"; then
3065   ac_cv_prog_CC="$CC" # Let the user override the test.
3066 else
3067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3068 for as_dir in $PATH
3069 do
3070   IFS=$as_save_IFS
3071   test -z "$as_dir" && as_dir=.
3072     for ac_exec_ext in '' $ac_executable_extensions; do
3073   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3074     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3075     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3076     break 2
3077   fi
3078 done
3079   done
3080 IFS=$as_save_IFS
3081
3082 fi
3083 fi
3084 CC=$ac_cv_prog_CC
3085 if test -n "$CC"; then
3086   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3087 $as_echo "$CC" >&6; }
3088 else
3089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3090 $as_echo "no" >&6; }
3091 fi
3092
3093
3094 fi
3095 if test -z "$ac_cv_prog_CC"; then
3096   ac_ct_CC=$CC
3097   # Extract the first word of "gcc", so it can be a program name with args.
3098 set dummy gcc; ac_word=$2
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3100 $as_echo_n "checking for $ac_word... " >&6; }
3101 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3102   $as_echo_n "(cached) " >&6
3103 else
3104   if test -n "$ac_ct_CC"; then
3105   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3106 else
3107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3108 for as_dir in $PATH
3109 do
3110   IFS=$as_save_IFS
3111   test -z "$as_dir" && as_dir=.
3112     for ac_exec_ext in '' $ac_executable_extensions; do
3113   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3114     ac_cv_prog_ac_ct_CC="gcc"
3115     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3116     break 2
3117   fi
3118 done
3119   done
3120 IFS=$as_save_IFS
3121
3122 fi
3123 fi
3124 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3125 if test -n "$ac_ct_CC"; then
3126   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3127 $as_echo "$ac_ct_CC" >&6; }
3128 else
3129   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3130 $as_echo "no" >&6; }
3131 fi
3132
3133   if test "x$ac_ct_CC" = x; then
3134     CC=""
3135   else
3136     case $cross_compiling:$ac_tool_warned in
3137 yes:)
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3139 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3140 ac_tool_warned=yes ;;
3141 esac
3142     CC=$ac_ct_CC
3143   fi
3144 else
3145   CC="$ac_cv_prog_CC"
3146 fi
3147
3148 if test -z "$CC"; then
3149           if test -n "$ac_tool_prefix"; then
3150     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3151 set dummy ${ac_tool_prefix}cc; ac_word=$2
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3153 $as_echo_n "checking for $ac_word... " >&6; }
3154 if ${ac_cv_prog_CC+:} false; then :
3155   $as_echo_n "(cached) " >&6
3156 else
3157   if test -n "$CC"; then
3158   ac_cv_prog_CC="$CC" # Let the user override the test.
3159 else
3160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3161 for as_dir in $PATH
3162 do
3163   IFS=$as_save_IFS
3164   test -z "$as_dir" && as_dir=.
3165     for ac_exec_ext in '' $ac_executable_extensions; do
3166   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3167     ac_cv_prog_CC="${ac_tool_prefix}cc"
3168     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3169     break 2
3170   fi
3171 done
3172   done
3173 IFS=$as_save_IFS
3174
3175 fi
3176 fi
3177 CC=$ac_cv_prog_CC
3178 if test -n "$CC"; then
3179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3180 $as_echo "$CC" >&6; }
3181 else
3182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3183 $as_echo "no" >&6; }
3184 fi
3185
3186
3187   fi
3188 fi
3189 if test -z "$CC"; then
3190   # Extract the first word of "cc", so it can be a program name with args.
3191 set dummy cc; ac_word=$2
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3193 $as_echo_n "checking for $ac_word... " >&6; }
3194 if ${ac_cv_prog_CC+:} false; then :
3195   $as_echo_n "(cached) " >&6
3196 else
3197   if test -n "$CC"; then
3198   ac_cv_prog_CC="$CC" # Let the user override the test.
3199 else
3200   ac_prog_rejected=no
3201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3202 for as_dir in $PATH
3203 do
3204   IFS=$as_save_IFS
3205   test -z "$as_dir" && as_dir=.
3206     for ac_exec_ext in '' $ac_executable_extensions; do
3207   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3208     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3209        ac_prog_rejected=yes
3210        continue
3211      fi
3212     ac_cv_prog_CC="cc"
3213     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3214     break 2
3215   fi
3216 done
3217   done
3218 IFS=$as_save_IFS
3219
3220 if test $ac_prog_rejected = yes; then
3221   # We found a bogon in the path, so make sure we never use it.
3222   set dummy $ac_cv_prog_CC
3223   shift
3224   if test $# != 0; then
3225     # We chose a different compiler from the bogus one.
3226     # However, it has the same basename, so the bogon will be chosen
3227     # first if we set CC to just the basename; use the full file name.
3228     shift
3229     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3230   fi
3231 fi
3232 fi
3233 fi
3234 CC=$ac_cv_prog_CC
3235 if test -n "$CC"; then
3236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3237 $as_echo "$CC" >&6; }
3238 else
3239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3240 $as_echo "no" >&6; }
3241 fi
3242
3243
3244 fi
3245 if test -z "$CC"; then
3246   if test -n "$ac_tool_prefix"; then
3247   for ac_prog in cl.exe
3248   do
3249     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3250 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3252 $as_echo_n "checking for $ac_word... " >&6; }
3253 if ${ac_cv_prog_CC+:} false; then :
3254   $as_echo_n "(cached) " >&6
3255 else
3256   if test -n "$CC"; then
3257   ac_cv_prog_CC="$CC" # Let the user override the test.
3258 else
3259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3260 for as_dir in $PATH
3261 do
3262   IFS=$as_save_IFS
3263   test -z "$as_dir" && as_dir=.
3264     for ac_exec_ext in '' $ac_executable_extensions; do
3265   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3266     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3267     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3268     break 2
3269   fi
3270 done
3271   done
3272 IFS=$as_save_IFS
3273
3274 fi
3275 fi
3276 CC=$ac_cv_prog_CC
3277 if test -n "$CC"; then
3278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3279 $as_echo "$CC" >&6; }
3280 else
3281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3282 $as_echo "no" >&6; }
3283 fi
3284
3285
3286     test -n "$CC" && break
3287   done
3288 fi
3289 if test -z "$CC"; then
3290   ac_ct_CC=$CC
3291   for ac_prog in cl.exe
3292 do
3293   # Extract the first word of "$ac_prog", so it can be a program name with args.
3294 set dummy $ac_prog; ac_word=$2
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3296 $as_echo_n "checking for $ac_word... " >&6; }
3297 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3298   $as_echo_n "(cached) " >&6
3299 else
3300   if test -n "$ac_ct_CC"; then
3301   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3302 else
3303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3304 for as_dir in $PATH
3305 do
3306   IFS=$as_save_IFS
3307   test -z "$as_dir" && as_dir=.
3308     for ac_exec_ext in '' $ac_executable_extensions; do
3309   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3310     ac_cv_prog_ac_ct_CC="$ac_prog"
3311     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3312     break 2
3313   fi
3314 done
3315   done
3316 IFS=$as_save_IFS
3317
3318 fi
3319 fi
3320 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3321 if test -n "$ac_ct_CC"; then
3322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3323 $as_echo "$ac_ct_CC" >&6; }
3324 else
3325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3326 $as_echo "no" >&6; }
3327 fi
3328
3329
3330   test -n "$ac_ct_CC" && break
3331 done
3332
3333   if test "x$ac_ct_CC" = x; then
3334     CC=""
3335   else
3336     case $cross_compiling:$ac_tool_warned in
3337 yes:)
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3339 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3340 ac_tool_warned=yes ;;
3341 esac
3342     CC=$ac_ct_CC
3343   fi
3344 fi
3345
3346 fi
3347
3348
3349 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3350 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3351 as_fn_error $? "no acceptable C compiler found in \$PATH
3352 See \`config.log' for more details" "$LINENO" 5; }
3353
3354 # Provide some information about the compiler.
3355 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3356 set X $ac_compile
3357 ac_compiler=$2
3358 for ac_option in --version -v -V -qversion; do
3359   { { ac_try="$ac_compiler $ac_option >&5"
3360 case "(($ac_try" in
3361   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3362   *) ac_try_echo=$ac_try;;
3363 esac
3364 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3365 $as_echo "$ac_try_echo"; } >&5
3366   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3367   ac_status=$?
3368   if test -s conftest.err; then
3369     sed '10a\
3370 ... rest of stderr output deleted ...
3371          10q' conftest.err >conftest.er1
3372     cat conftest.er1 >&5
3373   fi
3374   rm -f conftest.er1 conftest.err
3375   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3376   test $ac_status = 0; }
3377 done
3378
3379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3380 /* end confdefs.h.  */
3381
3382 int
3383 main ()
3384 {
3385
3386   ;
3387   return 0;
3388 }
3389 _ACEOF
3390 ac_clean_files_save=$ac_clean_files
3391 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3392 # Try to create an executable without -o first, disregard a.out.
3393 # It will help us diagnose broken compilers, and finding out an intuition
3394 # of exeext.
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3396 $as_echo_n "checking whether the C compiler works... " >&6; }
3397 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3398
3399 # The possible output files:
3400 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3401
3402 ac_rmfiles=
3403 for ac_file in $ac_files
3404 do
3405   case $ac_file in
3406     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3407     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3408   esac
3409 done
3410 rm -f $ac_rmfiles
3411
3412 if { { ac_try="$ac_link_default"
3413 case "(($ac_try" in
3414   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3415   *) ac_try_echo=$ac_try;;
3416 esac
3417 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3418 $as_echo "$ac_try_echo"; } >&5
3419   (eval "$ac_link_default") 2>&5
3420   ac_status=$?
3421   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3422   test $ac_status = 0; }; then :
3423   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3424 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3425 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3426 # so that the user can short-circuit this test for compilers unknown to
3427 # Autoconf.
3428 for ac_file in $ac_files ''
3429 do
3430   test -f "$ac_file" || continue
3431   case $ac_file in
3432     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3433         ;;
3434     [ab].out )
3435         # We found the default executable, but exeext='' is most
3436         # certainly right.
3437         break;;
3438     *.* )
3439         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3440         then :; else
3441            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3442         fi
3443         # We set ac_cv_exeext here because the later test for it is not
3444         # safe: cross compilers may not add the suffix if given an `-o'
3445         # argument, so we may need to know it at that point already.
3446         # Even if this section looks crufty: it has the advantage of
3447         # actually working.
3448         break;;
3449     * )
3450         break;;
3451   esac
3452 done
3453 test "$ac_cv_exeext" = no && ac_cv_exeext=
3454
3455 else
3456   ac_file=''
3457 fi
3458 if test -z "$ac_file"; then :
3459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3460 $as_echo "no" >&6; }
3461 $as_echo "$as_me: failed program was:" >&5
3462 sed 's/^/| /' conftest.$ac_ext >&5
3463
3464 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3465 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3466 as_fn_error 77 "C compiler cannot create executables
3467 See \`config.log' for more details" "$LINENO" 5; }
3468 else
3469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3470 $as_echo "yes" >&6; }
3471 fi
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3473 $as_echo_n "checking for C compiler default output file name... " >&6; }
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3475 $as_echo "$ac_file" >&6; }
3476 ac_exeext=$ac_cv_exeext
3477
3478 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3479 ac_clean_files=$ac_clean_files_save
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3481 $as_echo_n "checking for suffix of executables... " >&6; }
3482 if { { ac_try="$ac_link"
3483 case "(($ac_try" in
3484   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3485   *) ac_try_echo=$ac_try;;
3486 esac
3487 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3488 $as_echo "$ac_try_echo"; } >&5
3489   (eval "$ac_link") 2>&5
3490   ac_status=$?
3491   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3492   test $ac_status = 0; }; then :
3493   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3494 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3495 # work properly (i.e., refer to `conftest.exe'), while it won't with
3496 # `rm'.
3497 for ac_file in conftest.exe conftest conftest.*; do
3498   test -f "$ac_file" || continue
3499   case $ac_file in
3500     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3501     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3502           break;;
3503     * ) break;;
3504   esac
3505 done
3506 else
3507   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3508 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3509 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3510 See \`config.log' for more details" "$LINENO" 5; }
3511 fi
3512 rm -f conftest conftest$ac_cv_exeext
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3514 $as_echo "$ac_cv_exeext" >&6; }
3515
3516 rm -f conftest.$ac_ext
3517 EXEEXT=$ac_cv_exeext
3518 ac_exeext=$EXEEXT
3519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3520 /* end confdefs.h.  */
3521 #include <stdio.h>
3522 int
3523 main ()
3524 {
3525 FILE *f = fopen ("conftest.out", "w");
3526  return ferror (f) || fclose (f) != 0;
3527
3528   ;
3529   return 0;
3530 }
3531 _ACEOF
3532 ac_clean_files="$ac_clean_files conftest.out"
3533 # Check that the compiler produces executables we can run.  If not, either
3534 # the compiler is broken, or we cross compile.
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3536 $as_echo_n "checking whether we are cross compiling... " >&6; }
3537 if test "$cross_compiling" != yes; then
3538   { { ac_try="$ac_link"
3539 case "(($ac_try" in
3540   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3541   *) ac_try_echo=$ac_try;;
3542 esac
3543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3544 $as_echo "$ac_try_echo"; } >&5
3545   (eval "$ac_link") 2>&5
3546   ac_status=$?
3547   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3548   test $ac_status = 0; }
3549   if { ac_try='./conftest$ac_cv_exeext'
3550   { { case "(($ac_try" in
3551   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3552   *) ac_try_echo=$ac_try;;
3553 esac
3554 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3555 $as_echo "$ac_try_echo"; } >&5
3556   (eval "$ac_try") 2>&5
3557   ac_status=$?
3558   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3559   test $ac_status = 0; }; }; then
3560     cross_compiling=no
3561   else
3562     if test "$cross_compiling" = maybe; then
3563         cross_compiling=yes
3564     else
3565         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3566 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3567 as_fn_error $? "cannot run C compiled programs.
3568 If you meant to cross compile, use \`--host'.
3569 See \`config.log' for more details" "$LINENO" 5; }
3570     fi
3571   fi
3572 fi
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3574 $as_echo "$cross_compiling" >&6; }
3575
3576 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3577 ac_clean_files=$ac_clean_files_save
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3579 $as_echo_n "checking for suffix of object files... " >&6; }
3580 if ${ac_cv_objext+:} false; then :
3581   $as_echo_n "(cached) " >&6
3582 else
3583   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3584 /* end confdefs.h.  */
3585
3586 int
3587 main ()
3588 {
3589
3590   ;
3591   return 0;
3592 }
3593 _ACEOF
3594 rm -f conftest.o conftest.obj
3595 if { { ac_try="$ac_compile"
3596 case "(($ac_try" in
3597   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3598   *) ac_try_echo=$ac_try;;
3599 esac
3600 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3601 $as_echo "$ac_try_echo"; } >&5
3602   (eval "$ac_compile") 2>&5
3603   ac_status=$?
3604   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3605   test $ac_status = 0; }; then :
3606   for ac_file in conftest.o conftest.obj conftest.*; do
3607   test -f "$ac_file" || continue;
3608   case $ac_file in
3609     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3610     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3611        break;;
3612   esac
3613 done
3614 else
3615   $as_echo "$as_me: failed program was:" >&5
3616 sed 's/^/| /' conftest.$ac_ext >&5
3617
3618 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3619 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3620 as_fn_error $? "cannot compute suffix of object files: cannot compile
3621 See \`config.log' for more details" "$LINENO" 5; }
3622 fi
3623 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3624 fi
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3626 $as_echo "$ac_cv_objext" >&6; }
3627 OBJEXT=$ac_cv_objext
3628 ac_objext=$OBJEXT
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3630 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3631 if ${ac_cv_c_compiler_gnu+:} false; then :
3632   $as_echo_n "(cached) " >&6
3633 else
3634   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3635 /* end confdefs.h.  */
3636
3637 int
3638 main ()
3639 {
3640 #ifndef __GNUC__
3641        choke me
3642 #endif
3643
3644   ;
3645   return 0;
3646 }
3647 _ACEOF
3648 if ac_fn_c_try_compile "$LINENO"; then :
3649   ac_compiler_gnu=yes
3650 else
3651   ac_compiler_gnu=no
3652 fi
3653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3654 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3655
3656 fi
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3658 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3659 if test $ac_compiler_gnu = yes; then
3660   GCC=yes
3661 else
3662   GCC=
3663 fi
3664 ac_test_CFLAGS=${CFLAGS+set}
3665 ac_save_CFLAGS=$CFLAGS
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3667 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3668 if ${ac_cv_prog_cc_g+:} false; then :
3669   $as_echo_n "(cached) " >&6
3670 else
3671   ac_save_c_werror_flag=$ac_c_werror_flag
3672    ac_c_werror_flag=yes
3673    ac_cv_prog_cc_g=no
3674    CFLAGS="-g"
3675    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3676 /* end confdefs.h.  */
3677
3678 int
3679 main ()
3680 {
3681
3682   ;
3683   return 0;
3684 }
3685 _ACEOF
3686 if ac_fn_c_try_compile "$LINENO"; then :
3687   ac_cv_prog_cc_g=yes
3688 else
3689   CFLAGS=""
3690       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3691 /* end confdefs.h.  */
3692
3693 int
3694 main ()
3695 {
3696
3697   ;
3698   return 0;
3699 }
3700 _ACEOF
3701 if ac_fn_c_try_compile "$LINENO"; then :
3702
3703 else
3704   ac_c_werror_flag=$ac_save_c_werror_flag
3705          CFLAGS="-g"
3706          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3707 /* end confdefs.h.  */
3708
3709 int
3710 main ()
3711 {
3712
3713   ;
3714   return 0;
3715 }
3716 _ACEOF
3717 if ac_fn_c_try_compile "$LINENO"; then :
3718   ac_cv_prog_cc_g=yes
3719 fi
3720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3721 fi
3722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3723 fi
3724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3725    ac_c_werror_flag=$ac_save_c_werror_flag
3726 fi
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3728 $as_echo "$ac_cv_prog_cc_g" >&6; }
3729 if test "$ac_test_CFLAGS" = set; then
3730   CFLAGS=$ac_save_CFLAGS
3731 elif test $ac_cv_prog_cc_g = yes; then
3732   if test "$GCC" = yes; then
3733     CFLAGS="-g -O2"
3734   else
3735     CFLAGS="-g"
3736   fi
3737 else
3738   if test "$GCC" = yes; then
3739     CFLAGS="-O2"
3740   else
3741     CFLAGS=
3742   fi
3743 fi
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3745 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3746 if ${ac_cv_prog_cc_c89+:} false; then :
3747   $as_echo_n "(cached) " >&6
3748 else
3749   ac_cv_prog_cc_c89=no
3750 ac_save_CC=$CC
3751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3752 /* end confdefs.h.  */
3753 #include <stdarg.h>
3754 #include <stdio.h>
3755 #include <sys/types.h>
3756 #include <sys/stat.h>
3757 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3758 struct buf { int x; };
3759 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3760 static char *e (p, i)
3761      char **p;
3762      int i;
3763 {
3764   return p[i];
3765 }
3766 static char *f (char * (*g) (char **, int), char **p, ...)
3767 {
3768   char *s;
3769   va_list v;
3770   va_start (v,p);
3771   s = g (p, va_arg (v,int));
3772   va_end (v);
3773   return s;
3774 }
3775
3776 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3777    function prototypes and stuff, but not '\xHH' hex character constants.
3778    These don't provoke an error unfortunately, instead are silently treated
3779    as 'x'.  The following induces an error, until -std is added to get
3780    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3781    array size at least.  It's necessary to write '\x00'==0 to get something
3782    that's true only with -std.  */
3783 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3784
3785 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3786    inside strings and character constants.  */
3787 #define FOO(x) 'x'
3788 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3789
3790 int test (int i, double x);
3791 struct s1 {int (*f) (int a);};
3792 struct s2 {int (*f) (double a);};
3793 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3794 int argc;
3795 char **argv;
3796 int
3797 main ()
3798 {
3799 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3800   ;
3801   return 0;
3802 }
3803 _ACEOF
3804 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3805         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3806 do
3807   CC="$ac_save_CC $ac_arg"
3808   if ac_fn_c_try_compile "$LINENO"; then :
3809   ac_cv_prog_cc_c89=$ac_arg
3810 fi
3811 rm -f core conftest.err conftest.$ac_objext
3812   test "x$ac_cv_prog_cc_c89" != "xno" && break
3813 done
3814 rm -f conftest.$ac_ext
3815 CC=$ac_save_CC
3816
3817 fi
3818 # AC_CACHE_VAL
3819 case "x$ac_cv_prog_cc_c89" in
3820   x)
3821     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3822 $as_echo "none needed" >&6; } ;;
3823   xno)
3824     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3825 $as_echo "unsupported" >&6; } ;;
3826   *)
3827     CC="$CC $ac_cv_prog_cc_c89"
3828     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3829 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3830 esac
3831 if test "x$ac_cv_prog_cc_c89" != xno; then :
3832
3833 fi
3834
3835 ac_ext=c
3836 ac_cpp='$CPP $CPPFLAGS'
3837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3840
3841 depcc="$CC"   am_compiler_list=
3842
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3844 $as_echo_n "checking dependency style of $depcc... " >&6; }
3845 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3846   $as_echo_n "(cached) " >&6
3847 else
3848   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3849   # We make a subdir and do the tests there.  Otherwise we can end up
3850   # making bogus files that we don't know about and never remove.  For
3851   # instance it was reported that on HP-UX the gcc test will end up
3852   # making a dummy file named `D' -- because `-MD' means `put the output
3853   # in D'.
3854   rm -rf conftest.dir
3855   mkdir conftest.dir
3856   # Copy depcomp to subdir because otherwise we won't find it if we're
3857   # using a relative directory.
3858   cp "$am_depcomp" conftest.dir
3859   cd conftest.dir
3860   # We will build objects and dependencies in a subdirectory because
3861   # it helps to detect inapplicable dependency modes.  For instance
3862   # both Tru64's cc and ICC support -MD to output dependencies as a
3863   # side effect of compilation, but ICC will put the dependencies in
3864   # the current directory while Tru64 will put them in the object
3865   # directory.
3866   mkdir sub
3867
3868   am_cv_CC_dependencies_compiler_type=none
3869   if test "$am_compiler_list" = ""; then
3870      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3871   fi
3872   am__universal=false
3873   case " $depcc " in #(
3874      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3875      esac
3876
3877   for depmode in $am_compiler_list; do
3878     # Setup a source with many dependencies, because some compilers
3879     # like to wrap large dependency lists on column 80 (with \), and
3880     # we should not choose a depcomp mode which is confused by this.
3881     #
3882     # We need to recreate these files for each test, as the compiler may
3883     # overwrite some of them when testing with obscure command lines.
3884     # This happens at least with the AIX C compiler.
3885     : > sub/conftest.c
3886     for i in 1 2 3 4 5 6; do
3887       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3888       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3889       # Solaris 8's {/usr,}/bin/sh.
3890       touch sub/conftst$i.h
3891     done
3892     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3893
3894     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3895     # mode.  It turns out that the SunPro C++ compiler does not properly
3896     # handle `-M -o', and we need to detect this.  Also, some Intel
3897     # versions had trouble with output in subdirs
3898     am__obj=sub/conftest.${OBJEXT-o}
3899     am__minus_obj="-o $am__obj"
3900     case $depmode in
3901     gcc)
3902       # This depmode causes a compiler race in universal mode.
3903       test "$am__universal" = false || continue
3904       ;;
3905     nosideeffect)
3906       # after this tag, mechanisms are not by side-effect, so they'll
3907       # only be used when explicitly requested
3908       if test "x$enable_dependency_tracking" = xyes; then
3909         continue
3910       else
3911         break
3912       fi
3913       ;;
3914     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3915       # This compiler won't grok `-c -o', but also, the minuso test has
3916       # not run yet.  These depmodes are late enough in the game, and
3917       # so weak that their functioning should not be impacted.
3918       am__obj=conftest.${OBJEXT-o}
3919       am__minus_obj=
3920       ;;
3921     none) break ;;
3922     esac
3923     if depmode=$depmode \
3924        source=sub/conftest.c object=$am__obj \
3925        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3926        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3927          >/dev/null 2>conftest.err &&
3928        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3929        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3930        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3931        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3932       # icc doesn't choke on unknown options, it will just issue warnings
3933       # or remarks (even with -Werror).  So we grep stderr for any message
3934       # that says an option was ignored or not supported.
3935       # When given -MP, icc 7.0 and 7.1 complain thusly:
3936       #   icc: Command line warning: ignoring option '-M'; no argument required
3937       # The diagnosis changed in icc 8.0:
3938       #   icc: Command line remark: option '-MP' not supported
3939       if (grep 'ignoring option' conftest.err ||
3940           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3941         am_cv_CC_dependencies_compiler_type=$depmode
3942         break
3943       fi
3944     fi
3945   done
3946
3947   cd ..
3948   rm -rf conftest.dir
3949 else
3950   am_cv_CC_dependencies_compiler_type=none
3951 fi
3952
3953 fi
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3955 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3956 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3957
3958  if
3959   test "x$enable_dependency_tracking" != xno \
3960   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3961   am__fastdepCC_TRUE=
3962   am__fastdepCC_FALSE='#'
3963 else
3964   am__fastdepCC_TRUE='#'
3965   am__fastdepCC_FALSE=
3966 fi
3967
3968
3969
3970
3971
3972 case "$am__api_version" in
3973     1.01234)
3974         as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
3975     ;;
3976     *)
3977     ;;
3978 esac
3979
3980 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.21 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3981 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
3982 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3983 if test -n "0.21"; then
3984     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.21" >&5
3985 $as_echo_n "checking for intltool >= 0.21... " >&6; }
3986     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
3987 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
3988     test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
3989         as_fn_error $? "Your intltool is too old.  You need intltool 0.21 or later." "$LINENO" 5
3990 fi
3991
3992 # Extract the first word of "intltool-update", so it can be a program name with args.
3993 set dummy intltool-update; ac_word=$2
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3995 $as_echo_n "checking for $ac_word... " >&6; }
3996 if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
3997   $as_echo_n "(cached) " >&6
3998 else
3999   case $INTLTOOL_UPDATE in
4000   [\\/]* | ?:[\\/]*)
4001   ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
4002   ;;
4003   *)
4004   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4005 for as_dir in $PATH
4006 do
4007   IFS=$as_save_IFS
4008   test -z "$as_dir" && as_dir=.
4009     for ac_exec_ext in '' $ac_executable_extensions; do
4010   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4011     ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
4012     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4013     break 2
4014   fi
4015 done
4016   done
4017 IFS=$as_save_IFS
4018
4019   ;;
4020 esac
4021 fi
4022 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
4023 if test -n "$INTLTOOL_UPDATE"; then
4024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
4025 $as_echo "$INTLTOOL_UPDATE" >&6; }
4026 else
4027   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4028 $as_echo "no" >&6; }
4029 fi
4030
4031
4032 # Extract the first word of "intltool-merge", so it can be a program name with args.
4033 set dummy intltool-merge; ac_word=$2
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4035 $as_echo_n "checking for $ac_word... " >&6; }
4036 if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
4037   $as_echo_n "(cached) " >&6
4038 else
4039   case $INTLTOOL_MERGE in
4040   [\\/]* | ?:[\\/]*)
4041   ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
4042   ;;
4043   *)
4044   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4045 for as_dir in $PATH
4046 do
4047   IFS=$as_save_IFS
4048   test -z "$as_dir" && as_dir=.
4049     for ac_exec_ext in '' $ac_executable_extensions; do
4050   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4051     ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
4052     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4053     break 2
4054   fi
4055 done
4056   done
4057 IFS=$as_save_IFS
4058
4059   ;;
4060 esac
4061 fi
4062 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
4063 if test -n "$INTLTOOL_MERGE"; then
4064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
4065 $as_echo "$INTLTOOL_MERGE" >&6; }
4066 else
4067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4068 $as_echo "no" >&6; }
4069 fi
4070
4071
4072 # Extract the first word of "intltool-extract", so it can be a program name with args.
4073 set dummy intltool-extract; ac_word=$2
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4075 $as_echo_n "checking for $ac_word... " >&6; }
4076 if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
4077   $as_echo_n "(cached) " >&6
4078 else
4079   case $INTLTOOL_EXTRACT in
4080   [\\/]* | ?:[\\/]*)
4081   ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
4082   ;;
4083   *)
4084   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4085 for as_dir in $PATH
4086 do
4087   IFS=$as_save_IFS
4088   test -z "$as_dir" && as_dir=.
4089     for ac_exec_ext in '' $ac_executable_extensions; do
4090   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4091     ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
4092     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4093     break 2
4094   fi
4095 done
4096   done
4097 IFS=$as_save_IFS
4098
4099   ;;
4100 esac
4101 fi
4102 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
4103 if test -n "$INTLTOOL_EXTRACT"; then
4104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
4105 $as_echo "$INTLTOOL_EXTRACT" >&6; }
4106 else
4107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4108 $as_echo "no" >&6; }
4109 fi
4110
4111
4112 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
4113     as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
4114 fi
4115
4116 if test -z "$AM_DEFAULT_VERBOSITY"; then
4117   AM_DEFAULT_VERBOSITY=1
4118 fi
4119
4120
4121 INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
4122 INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
4123 INTLTOOL__v_MERGE_0='@echo "  ITMRG " $@;'
4124
4125
4126
4127
4128 INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
4129 intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
4130 intltool__v_merge_options_0='-q'
4131
4132
4133
4134
4135   INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4136 INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4137      INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4138      INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4139       INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
4140      INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4141    INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4142     INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4143 INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4144        INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4145       INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4146 if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
4147       INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
4148 else
4149       INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
4150 fi
4151       INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4152       INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4153     INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4154   INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4155     INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4156     INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4157    INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255 # Check the gettext tools to make sure they are GNU
4256 # Extract the first word of "xgettext", so it can be a program name with args.
4257 set dummy xgettext; ac_word=$2
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4259 $as_echo_n "checking for $ac_word... " >&6; }
4260 if ${ac_cv_path_XGETTEXT+:} false; then :
4261   $as_echo_n "(cached) " >&6
4262 else
4263   case $XGETTEXT in
4264   [\\/]* | ?:[\\/]*)
4265   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4266   ;;
4267   *)
4268   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4269 for as_dir in $PATH
4270 do
4271   IFS=$as_save_IFS
4272   test -z "$as_dir" && as_dir=.
4273     for ac_exec_ext in '' $ac_executable_extensions; do
4274   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4275     ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
4276     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4277     break 2
4278   fi
4279 done
4280   done
4281 IFS=$as_save_IFS
4282
4283   ;;
4284 esac
4285 fi
4286 XGETTEXT=$ac_cv_path_XGETTEXT
4287 if test -n "$XGETTEXT"; then
4288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4289 $as_echo "$XGETTEXT" >&6; }
4290 else
4291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4292 $as_echo "no" >&6; }
4293 fi
4294
4295
4296 # Extract the first word of "msgmerge", so it can be a program name with args.
4297 set dummy msgmerge; ac_word=$2
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4299 $as_echo_n "checking for $ac_word... " >&6; }
4300 if ${ac_cv_path_MSGMERGE+:} false; then :
4301   $as_echo_n "(cached) " >&6
4302 else
4303   case $MSGMERGE in
4304   [\\/]* | ?:[\\/]*)
4305   ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4306   ;;
4307   *)
4308   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4309 for as_dir in $PATH
4310 do
4311   IFS=$as_save_IFS
4312   test -z "$as_dir" && as_dir=.
4313     for ac_exec_ext in '' $ac_executable_extensions; do
4314   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4315     ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
4316     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4317     break 2
4318   fi
4319 done
4320   done
4321 IFS=$as_save_IFS
4322
4323   ;;
4324 esac
4325 fi
4326 MSGMERGE=$ac_cv_path_MSGMERGE
4327 if test -n "$MSGMERGE"; then
4328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4329 $as_echo "$MSGMERGE" >&6; }
4330 else
4331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4332 $as_echo "no" >&6; }
4333 fi
4334
4335
4336 # Extract the first word of "msgfmt", so it can be a program name with args.
4337 set dummy msgfmt; ac_word=$2
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4339 $as_echo_n "checking for $ac_word... " >&6; }
4340 if ${ac_cv_path_MSGFMT+:} false; then :
4341   $as_echo_n "(cached) " >&6
4342 else
4343   case $MSGFMT in
4344   [\\/]* | ?:[\\/]*)
4345   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4346   ;;
4347   *)
4348   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4349 for as_dir in $PATH
4350 do
4351   IFS=$as_save_IFS
4352   test -z "$as_dir" && as_dir=.
4353     for ac_exec_ext in '' $ac_executable_extensions; do
4354   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4355     ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
4356     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4357     break 2
4358   fi
4359 done
4360   done
4361 IFS=$as_save_IFS
4362
4363   ;;
4364 esac
4365 fi
4366 MSGFMT=$ac_cv_path_MSGFMT
4367 if test -n "$MSGFMT"; then
4368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4369 $as_echo "$MSGFMT" >&6; }
4370 else
4371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4372 $as_echo "no" >&6; }
4373 fi
4374
4375
4376 # Extract the first word of "gmsgfmt", so it can be a program name with args.
4377 set dummy gmsgfmt; ac_word=$2
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4379 $as_echo_n "checking for $ac_word... " >&6; }
4380 if ${ac_cv_path_GMSGFMT+:} false; then :
4381   $as_echo_n "(cached) " >&6
4382 else
4383   case $GMSGFMT in
4384   [\\/]* | ?:[\\/]*)
4385   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4386   ;;
4387   *)
4388   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4389 for as_dir in $PATH
4390 do
4391   IFS=$as_save_IFS
4392   test -z "$as_dir" && as_dir=.
4393     for ac_exec_ext in '' $ac_executable_extensions; do
4394   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4395     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4396     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4397     break 2
4398   fi
4399 done
4400   done
4401 IFS=$as_save_IFS
4402
4403   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4404   ;;
4405 esac
4406 fi
4407 GMSGFMT=$ac_cv_path_GMSGFMT
4408 if test -n "$GMSGFMT"; then
4409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4410 $as_echo "$GMSGFMT" >&6; }
4411 else
4412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4413 $as_echo "no" >&6; }
4414 fi
4415
4416
4417 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
4418     as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
4419 fi
4420 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
4421 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
4422 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
4423 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
4424     as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
4425 fi
4426
4427 # Extract the first word of "perl", so it can be a program name with args.
4428 set dummy perl; ac_word=$2
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4430 $as_echo_n "checking for $ac_word... " >&6; }
4431 if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
4432   $as_echo_n "(cached) " >&6
4433 else
4434   case $INTLTOOL_PERL in
4435   [\\/]* | ?:[\\/]*)
4436   ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
4437   ;;
4438   *)
4439   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4440 for as_dir in $PATH
4441 do
4442   IFS=$as_save_IFS
4443   test -z "$as_dir" && as_dir=.
4444     for ac_exec_ext in '' $ac_executable_extensions; do
4445   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4446     ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
4447     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4448     break 2
4449   fi
4450 done
4451   done
4452 IFS=$as_save_IFS
4453
4454   ;;
4455 esac
4456 fi
4457 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
4458 if test -n "$INTLTOOL_PERL"; then
4459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
4460 $as_echo "$INTLTOOL_PERL" >&6; }
4461 else
4462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4463 $as_echo "no" >&6; }
4464 fi
4465
4466
4467 if test -z "$INTLTOOL_PERL"; then
4468    as_fn_error $? "perl not found" "$LINENO" 5
4469 fi
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
4471 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
4472 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
4473 if test $? -ne 0; then
4474    as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
4475 else
4476    IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
4477    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
4478 $as_echo "$IT_PERL_VERSION" >&6; }
4479 fi
4480 if test "x" != "xno-xml"; then
4481    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
4482 $as_echo_n "checking for XML::Parser... " >&6; }
4483    if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
4484        { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
4485 $as_echo "ok" >&6; }
4486    else
4487        as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
4488    fi
4489 fi
4490
4491 # Substitute ALL_LINGUAS so we can use it in po/Makefile
4492
4493
4494 # Set DATADIRNAME correctly if it is not set yet
4495 # (copied from glib-gettext.m4)
4496 if test -z "$DATADIRNAME"; then
4497   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4498 /* end confdefs.h.  */
4499
4500 int
4501 main ()
4502 {
4503 extern int _nl_msg_cat_cntr;
4504                        return _nl_msg_cat_cntr
4505   ;
4506   return 0;
4507 }
4508 _ACEOF
4509 if ac_fn_c_try_link "$LINENO"; then :
4510   DATADIRNAME=share
4511 else
4512   case $host in
4513     *-*-solaris*)
4514                         ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
4515 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
4516   DATADIRNAME=share
4517 else
4518   DATADIRNAME=lib
4519 fi
4520
4521     ;;
4522     *)
4523     DATADIRNAME=lib
4524     ;;
4525     esac
4526 fi
4527 rm -f core conftest.err conftest.$ac_objext \
4528     conftest$ac_exeext conftest.$ac_ext
4529 fi
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4544         if test -n "$ac_tool_prefix"; then
4545   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4546 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4548 $as_echo_n "checking for $ac_word... " >&6; }
4549 if ${ac_cv_path_PKG_CONFIG+:} false; then :
4550   $as_echo_n "(cached) " >&6
4551 else
4552   case $PKG_CONFIG in
4553   [\\/]* | ?:[\\/]*)
4554   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4555   ;;
4556   *)
4557   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4558 for as_dir in $PATH
4559 do
4560   IFS=$as_save_IFS
4561   test -z "$as_dir" && as_dir=.
4562     for ac_exec_ext in '' $ac_executable_extensions; do
4563   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4564     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4565     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4566     break 2
4567   fi
4568 done
4569   done
4570 IFS=$as_save_IFS
4571
4572   ;;
4573 esac
4574 fi
4575 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4576 if test -n "$PKG_CONFIG"; then
4577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4578 $as_echo "$PKG_CONFIG" >&6; }
4579 else
4580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4581 $as_echo "no" >&6; }
4582 fi
4583
4584
4585 fi
4586 if test -z "$ac_cv_path_PKG_CONFIG"; then
4587   ac_pt_PKG_CONFIG=$PKG_CONFIG
4588   # Extract the first word of "pkg-config", so it can be a program name with args.
4589 set dummy pkg-config; ac_word=$2
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4591 $as_echo_n "checking for $ac_word... " >&6; }
4592 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4593   $as_echo_n "(cached) " >&6
4594 else
4595   case $ac_pt_PKG_CONFIG in
4596   [\\/]* | ?:[\\/]*)
4597   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4598   ;;
4599   *)
4600   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4601 for as_dir in $PATH
4602 do
4603   IFS=$as_save_IFS
4604   test -z "$as_dir" && as_dir=.
4605     for ac_exec_ext in '' $ac_executable_extensions; do
4606   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4607     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4608     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4609     break 2
4610   fi
4611 done
4612   done
4613 IFS=$as_save_IFS
4614
4615   ;;
4616 esac
4617 fi
4618 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4619 if test -n "$ac_pt_PKG_CONFIG"; then
4620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4621 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4622 else
4623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4624 $as_echo "no" >&6; }
4625 fi
4626
4627   if test "x$ac_pt_PKG_CONFIG" = x; then
4628     PKG_CONFIG=""
4629   else
4630     case $cross_compiling:$ac_tool_warned in
4631 yes:)
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4633 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4634 ac_tool_warned=yes ;;
4635 esac
4636     PKG_CONFIG=$ac_pt_PKG_CONFIG
4637   fi
4638 else
4639   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4640 fi
4641
4642 fi
4643 if test -n "$PKG_CONFIG"; then
4644         _pkg_min_version=0.9.0
4645         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4646 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4647         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4648                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4649 $as_echo "yes" >&6; }
4650         else
4651                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4652 $as_echo "no" >&6; }
4653                 PKG_CONFIG=""
4654         fi
4655 fi
4656
4657 case `pwd` in
4658   *\ * | *\     *)
4659     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4660 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4661 esac
4662
4663
4664
4665 macro_version='2.4.2'
4666 macro_revision='1.3337'
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680 ltmain="$ac_aux_dir/ltmain.sh"
4681
4682 # Make sure we can run config.sub.
4683 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4684   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4685
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4687 $as_echo_n "checking build system type... " >&6; }
4688 if ${ac_cv_build+:} false; then :
4689   $as_echo_n "(cached) " >&6
4690 else
4691   ac_build_alias=$build_alias
4692 test "x$ac_build_alias" = x &&
4693   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4694 test "x$ac_build_alias" = x &&
4695   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4696 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4697   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4698
4699 fi
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4701 $as_echo "$ac_cv_build" >&6; }
4702 case $ac_cv_build in
4703 *-*-*) ;;
4704 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4705 esac
4706 build=$ac_cv_build
4707 ac_save_IFS=$IFS; IFS='-'
4708 set x $ac_cv_build
4709 shift
4710 build_cpu=$1
4711 build_vendor=$2
4712 shift; shift
4713 # Remember, the first character of IFS is used to create $*,
4714 # except with old shells:
4715 build_os=$*
4716 IFS=$ac_save_IFS
4717 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4718
4719
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4721 $as_echo_n "checking host system type... " >&6; }
4722 if ${ac_cv_host+:} false; then :
4723   $as_echo_n "(cached) " >&6
4724 else
4725   if test "x$host_alias" = x; then
4726   ac_cv_host=$ac_cv_build
4727 else
4728   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4729     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4730 fi
4731
4732 fi
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4734 $as_echo "$ac_cv_host" >&6; }
4735 case $ac_cv_host in
4736 *-*-*) ;;
4737 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4738 esac
4739 host=$ac_cv_host
4740 ac_save_IFS=$IFS; IFS='-'
4741 set x $ac_cv_host
4742 shift
4743 host_cpu=$1
4744 host_vendor=$2
4745 shift; shift
4746 # Remember, the first character of IFS is used to create $*,
4747 # except with old shells:
4748 host_os=$*
4749 IFS=$ac_save_IFS
4750 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4751
4752
4753 # Backslashify metacharacters that are still active within
4754 # double-quoted strings.
4755 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4756
4757 # Same as above, but do not quote variable references.
4758 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4759
4760 # Sed substitution to delay expansion of an escaped shell variable in a
4761 # double_quote_subst'ed string.
4762 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4763
4764 # Sed substitution to delay expansion of an escaped single quote.
4765 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4766
4767 # Sed substitution to avoid accidental globbing in evaled expressions
4768 no_glob_subst='s/\*/\\\*/g'
4769
4770 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4771 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4772 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4773
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4775 $as_echo_n "checking how to print strings... " >&6; }
4776 # Test print first, because it will be a builtin if present.
4777 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4778    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4779   ECHO='print -r --'
4780 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4781   ECHO='printf %s\n'
4782 else
4783   # Use this function as a fallback that always works.
4784   func_fallback_echo ()
4785   {
4786     eval 'cat <<_LTECHO_EOF
4787 $1
4788 _LTECHO_EOF'
4789   }
4790   ECHO='func_fallback_echo'
4791 fi
4792
4793 # func_echo_all arg...
4794 # Invoke $ECHO with all args, space-separated.
4795 func_echo_all ()
4796 {
4797     $ECHO ""
4798 }
4799
4800 case "$ECHO" in
4801   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4802 $as_echo "printf" >&6; } ;;
4803   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4804 $as_echo "print -r" >&6; } ;;
4805   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4806 $as_echo "cat" >&6; } ;;
4807 esac
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4823 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4824 if ${ac_cv_path_SED+:} false; then :
4825   $as_echo_n "(cached) " >&6
4826 else
4827             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4828      for ac_i in 1 2 3 4 5 6 7; do
4829        ac_script="$ac_script$as_nl$ac_script"
4830      done
4831      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4832      { ac_script=; unset ac_script;}
4833      if test -z "$SED"; then
4834   ac_path_SED_found=false
4835   # Loop through the user's path and test for each of PROGNAME-LIST
4836   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4837 for as_dir in $PATH
4838 do
4839   IFS=$as_save_IFS
4840   test -z "$as_dir" && as_dir=.
4841     for ac_prog in sed gsed; do
4842     for ac_exec_ext in '' $ac_executable_extensions; do
4843       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4844       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4845 # Check for GNU ac_path_SED and select it if it is found.
4846   # Check for GNU $ac_path_SED
4847 case `"$ac_path_SED" --version 2>&1` in
4848 *GNU*)
4849   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4850 *)
4851   ac_count=0
4852   $as_echo_n 0123456789 >"conftest.in"
4853   while :
4854   do
4855     cat "conftest.in" "conftest.in" >"conftest.tmp"
4856     mv "conftest.tmp" "conftest.in"
4857     cp "conftest.in" "conftest.nl"
4858     $as_echo '' >> "conftest.nl"
4859     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4860     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4861     as_fn_arith $ac_count + 1 && ac_count=$as_val
4862     if test $ac_count -gt ${ac_path_SED_max-0}; then
4863       # Best one so far, save it but keep looking for a better one
4864       ac_cv_path_SED="$ac_path_SED"
4865       ac_path_SED_max=$ac_count
4866     fi
4867     # 10*(2^10) chars as input seems more than enough
4868     test $ac_count -gt 10 && break
4869   done
4870   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4871 esac
4872
4873       $ac_path_SED_found && break 3
4874     done
4875   done
4876   done
4877 IFS=$as_save_IFS
4878   if test -z "$ac_cv_path_SED"; then
4879     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4880   fi
4881 else
4882   ac_cv_path_SED=$SED
4883 fi
4884
4885 fi
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4887 $as_echo "$ac_cv_path_SED" >&6; }
4888  SED="$ac_cv_path_SED"
4889   rm -f conftest.sed
4890
4891 test -z "$SED" && SED=sed
4892 Xsed="$SED -e 1s/^X//"
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4905 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4906 if ${ac_cv_path_GREP+:} false; then :
4907   $as_echo_n "(cached) " >&6
4908 else
4909   if test -z "$GREP"; then
4910   ac_path_GREP_found=false
4911   # Loop through the user's path and test for each of PROGNAME-LIST
4912   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4913 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4914 do
4915   IFS=$as_save_IFS
4916   test -z "$as_dir" && as_dir=.
4917     for ac_prog in grep ggrep; do
4918     for ac_exec_ext in '' $ac_executable_extensions; do
4919       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4920       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4921 # Check for GNU ac_path_GREP and select it if it is found.
4922   # Check for GNU $ac_path_GREP
4923 case `"$ac_path_GREP" --version 2>&1` in
4924 *GNU*)
4925   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4926 *)
4927   ac_count=0
4928   $as_echo_n 0123456789 >"conftest.in"
4929   while :
4930   do
4931     cat "conftest.in" "conftest.in" >"conftest.tmp"
4932     mv "conftest.tmp" "conftest.in"
4933     cp "conftest.in" "conftest.nl"
4934     $as_echo 'GREP' >> "conftest.nl"
4935     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4936     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4937     as_fn_arith $ac_count + 1 && ac_count=$as_val
4938     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4939       # Best one so far, save it but keep looking for a better one
4940       ac_cv_path_GREP="$ac_path_GREP"
4941       ac_path_GREP_max=$ac_count
4942     fi
4943     # 10*(2^10) chars as input seems more than enough
4944     test $ac_count -gt 10 && break
4945   done
4946   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4947 esac
4948
4949       $ac_path_GREP_found && break 3
4950     done
4951   done
4952   done
4953 IFS=$as_save_IFS
4954   if test -z "$ac_cv_path_GREP"; then
4955     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4956   fi
4957 else
4958   ac_cv_path_GREP=$GREP
4959 fi
4960
4961 fi
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4963 $as_echo "$ac_cv_path_GREP" >&6; }
4964  GREP="$ac_cv_path_GREP"
4965
4966
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4968 $as_echo_n "checking for egrep... " >&6; }
4969 if ${ac_cv_path_EGREP+:} false; then :
4970   $as_echo_n "(cached) " >&6
4971 else
4972   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4973    then ac_cv_path_EGREP="$GREP -E"
4974    else
4975      if test -z "$EGREP"; then
4976   ac_path_EGREP_found=false
4977   # Loop through the user's path and test for each of PROGNAME-LIST
4978   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4979 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4980 do
4981   IFS=$as_save_IFS
4982   test -z "$as_dir" && as_dir=.
4983     for ac_prog in egrep; do
4984     for ac_exec_ext in '' $ac_executable_extensions; do
4985       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4986       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4987 # Check for GNU ac_path_EGREP and select it if it is found.
4988   # Check for GNU $ac_path_EGREP
4989 case `"$ac_path_EGREP" --version 2>&1` in
4990 *GNU*)
4991   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4992 *)
4993   ac_count=0
4994   $as_echo_n 0123456789 >"conftest.in"
4995   while :
4996   do
4997     cat "conftest.in" "conftest.in" >"conftest.tmp"
4998     mv "conftest.tmp" "conftest.in"
4999     cp "conftest.in" "conftest.nl"
5000     $as_echo 'EGREP' >> "conftest.nl"
5001     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5002     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5003     as_fn_arith $ac_count + 1 && ac_count=$as_val
5004     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5005       # Best one so far, save it but keep looking for a better one
5006       ac_cv_path_EGREP="$ac_path_EGREP"
5007       ac_path_EGREP_max=$ac_count
5008     fi
5009     # 10*(2^10) chars as input seems more than enough
5010     test $ac_count -gt 10 && break
5011   done
5012   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5013 esac
5014
5015       $ac_path_EGREP_found && break 3
5016     done
5017   done
5018   done
5019 IFS=$as_save_IFS
5020   if test -z "$ac_cv_path_EGREP"; then
5021     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5022   fi
5023 else
5024   ac_cv_path_EGREP=$EGREP
5025 fi
5026
5027    fi
5028 fi
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5030 $as_echo "$ac_cv_path_EGREP" >&6; }
5031  EGREP="$ac_cv_path_EGREP"
5032
5033
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5035 $as_echo_n "checking for fgrep... " >&6; }
5036 if ${ac_cv_path_FGREP+:} false; then :
5037   $as_echo_n "(cached) " >&6
5038 else
5039   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5040    then ac_cv_path_FGREP="$GREP -F"
5041    else
5042      if test -z "$FGREP"; then
5043   ac_path_FGREP_found=false
5044   # Loop through the user's path and test for each of PROGNAME-LIST
5045   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5046 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5047 do
5048   IFS=$as_save_IFS
5049   test -z "$as_dir" && as_dir=.
5050     for ac_prog in fgrep; do
5051     for ac_exec_ext in '' $ac_executable_extensions; do
5052       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5053       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5054 # Check for GNU ac_path_FGREP and select it if it is found.
5055   # Check for GNU $ac_path_FGREP
5056 case `"$ac_path_FGREP" --version 2>&1` in
5057 *GNU*)
5058   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5059 *)
5060   ac_count=0
5061   $as_echo_n 0123456789 >"conftest.in"
5062   while :
5063   do
5064     cat "conftest.in" "conftest.in" >"conftest.tmp"
5065     mv "conftest.tmp" "conftest.in"
5066     cp "conftest.in" "conftest.nl"
5067     $as_echo 'FGREP' >> "conftest.nl"
5068     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5069     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5070     as_fn_arith $ac_count + 1 && ac_count=$as_val
5071     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5072       # Best one so far, save it but keep looking for a better one
5073       ac_cv_path_FGREP="$ac_path_FGREP"
5074       ac_path_FGREP_max=$ac_count
5075     fi
5076     # 10*(2^10) chars as input seems more than enough
5077     test $ac_count -gt 10 && break
5078   done
5079   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5080 esac
5081
5082       $ac_path_FGREP_found && break 3
5083     done
5084   done
5085   done
5086 IFS=$as_save_IFS
5087   if test -z "$ac_cv_path_FGREP"; then
5088     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5089   fi
5090 else
5091   ac_cv_path_FGREP=$FGREP
5092 fi
5093
5094    fi
5095 fi
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5097 $as_echo "$ac_cv_path_FGREP" >&6; }
5098  FGREP="$ac_cv_path_FGREP"
5099
5100
5101 test -z "$GREP" && GREP=grep
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121 # Check whether --with-gnu-ld was given.
5122 if test "${with_gnu_ld+set}" = set; then :
5123   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5124 else
5125   with_gnu_ld=no
5126 fi
5127
5128 ac_prog=ld
5129 if test "$GCC" = yes; then
5130   # Check if gcc -print-prog-name=ld gives a path.
5131   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5132 $as_echo_n "checking for ld used by $CC... " >&6; }
5133   case $host in
5134   *-*-mingw*)
5135     # gcc leaves a trailing carriage return which upsets mingw
5136     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5137   *)
5138     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5139   esac
5140   case $ac_prog in
5141     # Accept absolute paths.
5142     [\\/]* | ?:[\\/]*)
5143       re_direlt='/[^/][^/]*/\.\./'
5144       # Canonicalize the pathname of ld
5145       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5146       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5147         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5148       done
5149       test -z "$LD" && LD="$ac_prog"
5150       ;;
5151   "")
5152     # If it fails, then pretend we aren't using GCC.
5153     ac_prog=ld
5154     ;;
5155   *)
5156     # If it is relative, then search for the first ld in PATH.
5157     with_gnu_ld=unknown
5158     ;;
5159   esac
5160 elif test "$with_gnu_ld" = yes; then
5161   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5162 $as_echo_n "checking for GNU ld... " >&6; }
5163 else
5164   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5165 $as_echo_n "checking for non-GNU ld... " >&6; }
5166 fi
5167 if ${lt_cv_path_LD+:} false; then :
5168   $as_echo_n "(cached) " >&6
5169 else
5170   if test -z "$LD"; then
5171   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5172   for ac_dir in $PATH; do
5173     IFS="$lt_save_ifs"
5174     test -z "$ac_dir" && ac_dir=.
5175     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5176       lt_cv_path_LD="$ac_dir/$ac_prog"
5177       # Check to see if the program is GNU ld.  I'd rather use --version,
5178       # but apparently some variants of GNU ld only accept -v.
5179       # Break only if it was the GNU/non-GNU ld that we prefer.
5180       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5181       *GNU* | *'with BFD'*)
5182         test "$with_gnu_ld" != no && break
5183         ;;
5184       *)
5185         test "$with_gnu_ld" != yes && break
5186         ;;
5187       esac
5188     fi
5189   done
5190   IFS="$lt_save_ifs"
5191 else
5192   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5193 fi
5194 fi
5195
5196 LD="$lt_cv_path_LD"
5197 if test -n "$LD"; then
5198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5199 $as_echo "$LD" >&6; }
5200 else
5201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5202 $as_echo "no" >&6; }
5203 fi
5204 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5206 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5207 if ${lt_cv_prog_gnu_ld+:} false; then :
5208   $as_echo_n "(cached) " >&6
5209 else
5210   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5211 case `$LD -v 2>&1 </dev/null` in
5212 *GNU* | *'with BFD'*)
5213   lt_cv_prog_gnu_ld=yes
5214   ;;
5215 *)
5216   lt_cv_prog_gnu_ld=no
5217   ;;
5218 esac
5219 fi
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5221 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5222 with_gnu_ld=$lt_cv_prog_gnu_ld
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5233 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5234 if ${lt_cv_path_NM+:} false; then :
5235   $as_echo_n "(cached) " >&6
5236 else
5237   if test -n "$NM"; then
5238   # Let the user override the test.
5239   lt_cv_path_NM="$NM"
5240 else
5241   lt_nm_to_check="${ac_tool_prefix}nm"
5242   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5243     lt_nm_to_check="$lt_nm_to_check nm"
5244   fi
5245   for lt_tmp_nm in $lt_nm_to_check; do
5246     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5247     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5248       IFS="$lt_save_ifs"
5249       test -z "$ac_dir" && ac_dir=.
5250       tmp_nm="$ac_dir/$lt_tmp_nm"
5251       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5252         # Check to see if the nm accepts a BSD-compat flag.
5253         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5254         #   nm: unknown option "B" ignored
5255         # Tru64's nm complains that /dev/null is an invalid object file
5256         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5257         */dev/null* | *'Invalid file or object type'*)
5258           lt_cv_path_NM="$tmp_nm -B"
5259           break
5260           ;;
5261         *)
5262           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5263           */dev/null*)
5264             lt_cv_path_NM="$tmp_nm -p"
5265             break
5266             ;;
5267           *)
5268             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5269             continue # so that we can try to find one that supports BSD flags
5270             ;;
5271           esac
5272           ;;
5273         esac
5274       fi
5275     done
5276     IFS="$lt_save_ifs"
5277   done
5278   : ${lt_cv_path_NM=no}
5279 fi
5280 fi
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5282 $as_echo "$lt_cv_path_NM" >&6; }
5283 if test "$lt_cv_path_NM" != "no"; then
5284   NM="$lt_cv_path_NM"
5285 else
5286   # Didn't find any BSD compatible name lister, look for dumpbin.
5287   if test -n "$DUMPBIN"; then :
5288     # Let the user override the test.
5289   else
5290     if test -n "$ac_tool_prefix"; then
5291   for ac_prog in dumpbin "link -dump"
5292   do
5293     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5294 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5296 $as_echo_n "checking for $ac_word... " >&6; }
5297 if ${ac_cv_prog_DUMPBIN+:} false; then :
5298   $as_echo_n "(cached) " >&6
5299 else
5300   if test -n "$DUMPBIN"; then
5301   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5302 else
5303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5304 for as_dir in $PATH
5305 do
5306   IFS=$as_save_IFS
5307   test -z "$as_dir" && as_dir=.
5308     for ac_exec_ext in '' $ac_executable_extensions; do
5309   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5310     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5311     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5312     break 2
5313   fi
5314 done
5315   done
5316 IFS=$as_save_IFS
5317
5318 fi
5319 fi
5320 DUMPBIN=$ac_cv_prog_DUMPBIN
5321 if test -n "$DUMPBIN"; then
5322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5323 $as_echo "$DUMPBIN" >&6; }
5324 else
5325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5326 $as_echo "no" >&6; }
5327 fi
5328
5329
5330     test -n "$DUMPBIN" && break
5331   done
5332 fi
5333 if test -z "$DUMPBIN"; then
5334   ac_ct_DUMPBIN=$DUMPBIN
5335   for ac_prog in dumpbin "link -dump"
5336 do
5337   # Extract the first word of "$ac_prog", so it can be a program name with args.
5338 set dummy $ac_prog; ac_word=$2
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5340 $as_echo_n "checking for $ac_word... " >&6; }
5341 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5342   $as_echo_n "(cached) " >&6
5343 else
5344   if test -n "$ac_ct_DUMPBIN"; then
5345   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5346 else
5347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5348 for as_dir in $PATH
5349 do
5350   IFS=$as_save_IFS
5351   test -z "$as_dir" && as_dir=.
5352     for ac_exec_ext in '' $ac_executable_extensions; do
5353   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5354     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5355     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5356     break 2
5357   fi
5358 done
5359   done
5360 IFS=$as_save_IFS
5361
5362 fi
5363 fi
5364 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5365 if test -n "$ac_ct_DUMPBIN"; then
5366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5367 $as_echo "$ac_ct_DUMPBIN" >&6; }
5368 else
5369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5370 $as_echo "no" >&6; }
5371 fi
5372
5373
5374   test -n "$ac_ct_DUMPBIN" && break
5375 done
5376
5377   if test "x$ac_ct_DUMPBIN" = x; then
5378     DUMPBIN=":"
5379   else
5380     case $cross_compiling:$ac_tool_warned in
5381 yes:)
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5383 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5384 ac_tool_warned=yes ;;
5385 esac
5386     DUMPBIN=$ac_ct_DUMPBIN
5387   fi
5388 fi
5389
5390     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5391     *COFF*)
5392       DUMPBIN="$DUMPBIN -symbols"
5393       ;;
5394     *)
5395       DUMPBIN=:
5396       ;;
5397     esac
5398   fi
5399
5400   if test "$DUMPBIN" != ":"; then
5401     NM="$DUMPBIN"
5402   fi
5403 fi
5404 test -z "$NM" && NM=nm
5405
5406
5407
5408
5409
5410
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5412 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5413 if ${lt_cv_nm_interface+:} false; then :
5414   $as_echo_n "(cached) " >&6
5415 else
5416   lt_cv_nm_interface="BSD nm"
5417   echo "int some_variable = 0;" > conftest.$ac_ext
5418   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5419   (eval "$ac_compile" 2>conftest.err)
5420   cat conftest.err >&5
5421   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5422   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5423   cat conftest.err >&5
5424   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5425   cat conftest.out >&5
5426   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5427     lt_cv_nm_interface="MS dumpbin"
5428   fi
5429   rm -f conftest*
5430 fi
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5432 $as_echo "$lt_cv_nm_interface" >&6; }
5433
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5435 $as_echo_n "checking whether ln -s works... " >&6; }
5436 LN_S=$as_ln_s
5437 if test "$LN_S" = "ln -s"; then
5438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5439 $as_echo "yes" >&6; }
5440 else
5441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5442 $as_echo "no, using $LN_S" >&6; }
5443 fi
5444
5445 # find the maximum length of command line arguments
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5447 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5448 if ${lt_cv_sys_max_cmd_len+:} false; then :
5449   $as_echo_n "(cached) " >&6
5450 else
5451     i=0
5452   teststring="ABCD"
5453
5454   case $build_os in
5455   msdosdjgpp*)
5456     # On DJGPP, this test can blow up pretty badly due to problems in libc
5457     # (any single argument exceeding 2000 bytes causes a buffer overrun
5458     # during glob expansion).  Even if it were fixed, the result of this
5459     # check would be larger than it should be.
5460     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5461     ;;
5462
5463   gnu*)
5464     # Under GNU Hurd, this test is not required because there is
5465     # no limit to the length of command line arguments.
5466     # Libtool will interpret -1 as no limit whatsoever
5467     lt_cv_sys_max_cmd_len=-1;
5468     ;;
5469
5470   cygwin* | mingw* | cegcc*)
5471     # On Win9x/ME, this test blows up -- it succeeds, but takes
5472     # about 5 minutes as the teststring grows exponentially.
5473     # Worse, since 9x/ME are not pre-emptively multitasking,
5474     # you end up with a "frozen" computer, even though with patience
5475     # the test eventually succeeds (with a max line length of 256k).
5476     # Instead, let's just punt: use the minimum linelength reported by
5477     # all of the supported platforms: 8192 (on NT/2K/XP).
5478     lt_cv_sys_max_cmd_len=8192;
5479     ;;
5480
5481   mint*)
5482     # On MiNT this can take a long time and run out of memory.
5483     lt_cv_sys_max_cmd_len=8192;
5484     ;;
5485
5486   amigaos*)
5487     # On AmigaOS with pdksh, this test takes hours, literally.
5488     # So we just punt and use a minimum line length of 8192.
5489     lt_cv_sys_max_cmd_len=8192;
5490     ;;
5491
5492   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5493     # This has been around since 386BSD, at least.  Likely further.
5494     if test -x /sbin/sysctl; then
5495       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5496     elif test -x /usr/sbin/sysctl; then
5497       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5498     else
5499       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5500     fi
5501     # And add a safety zone
5502     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5503     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5504     ;;
5505
5506   interix*)
5507     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5508     lt_cv_sys_max_cmd_len=196608
5509     ;;
5510
5511   os2*)
5512     # The test takes a long time on OS/2.
5513     lt_cv_sys_max_cmd_len=8192
5514     ;;
5515
5516   osf*)
5517     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5518     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5519     # nice to cause kernel panics so lets avoid the loop below.
5520     # First set a reasonable default.
5521     lt_cv_sys_max_cmd_len=16384
5522     #
5523     if test -x /sbin/sysconfig; then
5524       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5525         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5526       esac
5527     fi
5528     ;;
5529   sco3.2v5*)
5530     lt_cv_sys_max_cmd_len=102400
5531     ;;
5532   sysv5* | sco5v6* | sysv4.2uw2*)
5533     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5534     if test -n "$kargmax"; then
5535       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5536     else
5537       lt_cv_sys_max_cmd_len=32768
5538     fi
5539     ;;
5540   *)
5541     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5542     if test -n "$lt_cv_sys_max_cmd_len"; then
5543       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5544       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5545     else
5546       # Make teststring a little bigger before we do anything with it.
5547       # a 1K string should be a reasonable start.
5548       for i in 1 2 3 4 5 6 7 8 ; do
5549         teststring=$teststring$teststring
5550       done
5551       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5552       # If test is not a shell built-in, we'll probably end up computing a
5553       # maximum length that is only half of the actual maximum length, but
5554       # we can't tell.
5555       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5556                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5557               test $i != 17 # 1/2 MB should be enough
5558       do
5559         i=`expr $i + 1`
5560         teststring=$teststring$teststring
5561       done
5562       # Only check the string length outside the loop.
5563       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5564       teststring=
5565       # Add a significant safety factor because C++ compilers can tack on
5566       # massive amounts of additional arguments before passing them to the
5567       # linker.  It appears as though 1/2 is a usable value.
5568       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5569     fi
5570     ;;
5571   esac
5572
5573 fi
5574
5575 if test -n $lt_cv_sys_max_cmd_len ; then
5576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5577 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5578 else
5579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5580 $as_echo "none" >&6; }
5581 fi
5582 max_cmd_len=$lt_cv_sys_max_cmd_len
5583
5584
5585
5586
5587
5588
5589 : ${CP="cp -f"}
5590 : ${MV="mv -f"}
5591 : ${RM="rm -f"}
5592
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5594 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5595 # Try some XSI features
5596 xsi_shell=no
5597 ( _lt_dummy="a/b/c"
5598   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5599       = c,a/b,b/c, \
5600     && eval 'test $(( 1 + 1 )) -eq 2 \
5601     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5602   && xsi_shell=yes
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5604 $as_echo "$xsi_shell" >&6; }
5605
5606
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5608 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5609 lt_shell_append=no
5610 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5611     >/dev/null 2>&1 \
5612   && lt_shell_append=yes
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5614 $as_echo "$lt_shell_append" >&6; }
5615
5616
5617 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5618   lt_unset=unset
5619 else
5620   lt_unset=false
5621 fi
5622
5623
5624
5625
5626
5627 # test EBCDIC or ASCII
5628 case `echo X|tr X '\101'` in
5629  A) # ASCII based system
5630     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5631   lt_SP2NL='tr \040 \012'
5632   lt_NL2SP='tr \015\012 \040\040'
5633   ;;
5634  *) # EBCDIC based system
5635   lt_SP2NL='tr \100 \n'
5636   lt_NL2SP='tr \r\n \100\100'
5637   ;;
5638 esac
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5649 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5650 if ${lt_cv_to_host_file_cmd+:} false; then :
5651   $as_echo_n "(cached) " >&6
5652 else
5653   case $host in
5654   *-*-mingw* )
5655     case $build in
5656       *-*-mingw* ) # actually msys
5657         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5658         ;;
5659       *-*-cygwin* )
5660         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5661         ;;
5662       * ) # otherwise, assume *nix
5663         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5664         ;;
5665     esac
5666     ;;
5667   *-*-cygwin* )
5668     case $build in
5669       *-*-mingw* ) # actually msys
5670         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5671         ;;
5672       *-*-cygwin* )
5673         lt_cv_to_host_file_cmd=func_convert_file_noop
5674         ;;
5675       * ) # otherwise, assume *nix
5676         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5677         ;;
5678     esac
5679     ;;
5680   * ) # unhandled hosts (and "normal" native builds)
5681     lt_cv_to_host_file_cmd=func_convert_file_noop
5682     ;;
5683 esac
5684
5685 fi
5686
5687 to_host_file_cmd=$lt_cv_to_host_file_cmd
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5689 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5690
5691
5692
5693
5694
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5696 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5697 if ${lt_cv_to_tool_file_cmd+:} false; then :
5698   $as_echo_n "(cached) " >&6
5699 else
5700   #assume ordinary cross tools, or native build.
5701 lt_cv_to_tool_file_cmd=func_convert_file_noop
5702 case $host in
5703   *-*-mingw* )
5704     case $build in
5705       *-*-mingw* ) # actually msys
5706         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5707         ;;
5708     esac
5709     ;;
5710 esac
5711
5712 fi
5713
5714 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5716 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5717
5718
5719
5720
5721
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5723 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5724 if ${lt_cv_ld_reload_flag+:} false; then :
5725   $as_echo_n "(cached) " >&6
5726 else
5727   lt_cv_ld_reload_flag='-r'
5728 fi
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5730 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5731 reload_flag=$lt_cv_ld_reload_flag
5732 case $reload_flag in
5733 "" | " "*) ;;
5734 *) reload_flag=" $reload_flag" ;;
5735 esac
5736 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5737 case $host_os in
5738   cygwin* | mingw* | pw32* | cegcc*)
5739     if test "$GCC" != yes; then
5740       reload_cmds=false
5741     fi
5742     ;;
5743   darwin*)
5744     if test "$GCC" = yes; then
5745       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5746     else
5747       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5748     fi
5749     ;;
5750 esac
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760 if test -n "$ac_tool_prefix"; then
5761   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5762 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5764 $as_echo_n "checking for $ac_word... " >&6; }
5765 if ${ac_cv_prog_OBJDUMP+:} false; then :
5766   $as_echo_n "(cached) " >&6
5767 else
5768   if test -n "$OBJDUMP"; then
5769   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5770 else
5771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5772 for as_dir in $PATH
5773 do
5774   IFS=$as_save_IFS
5775   test -z "$as_dir" && as_dir=.
5776     for ac_exec_ext in '' $ac_executable_extensions; do
5777   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5778     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5779     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5780     break 2
5781   fi
5782 done
5783   done
5784 IFS=$as_save_IFS
5785
5786 fi
5787 fi
5788 OBJDUMP=$ac_cv_prog_OBJDUMP
5789 if test -n "$OBJDUMP"; then
5790   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5791 $as_echo "$OBJDUMP" >&6; }
5792 else
5793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5794 $as_echo "no" >&6; }
5795 fi
5796
5797
5798 fi
5799 if test -z "$ac_cv_prog_OBJDUMP"; then
5800   ac_ct_OBJDUMP=$OBJDUMP
5801   # Extract the first word of "objdump", so it can be a program name with args.
5802 set dummy objdump; ac_word=$2
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5804 $as_echo_n "checking for $ac_word... " >&6; }
5805 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5806   $as_echo_n "(cached) " >&6
5807 else
5808   if test -n "$ac_ct_OBJDUMP"; then
5809   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5810 else
5811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5812 for as_dir in $PATH
5813 do
5814   IFS=$as_save_IFS
5815   test -z "$as_dir" && as_dir=.
5816     for ac_exec_ext in '' $ac_executable_extensions; do
5817   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5818     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5819     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5820     break 2
5821   fi
5822 done
5823   done
5824 IFS=$as_save_IFS
5825
5826 fi
5827 fi
5828 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5829 if test -n "$ac_ct_OBJDUMP"; then
5830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5831 $as_echo "$ac_ct_OBJDUMP" >&6; }
5832 else
5833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5834 $as_echo "no" >&6; }
5835 fi
5836
5837   if test "x$ac_ct_OBJDUMP" = x; then
5838     OBJDUMP="false"
5839   else
5840     case $cross_compiling:$ac_tool_warned in
5841 yes:)
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5843 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5844 ac_tool_warned=yes ;;
5845 esac
5846     OBJDUMP=$ac_ct_OBJDUMP
5847   fi
5848 else
5849   OBJDUMP="$ac_cv_prog_OBJDUMP"
5850 fi
5851
5852 test -z "$OBJDUMP" && OBJDUMP=objdump
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5863 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5864 if ${lt_cv_deplibs_check_method+:} false; then :
5865   $as_echo_n "(cached) " >&6
5866 else
5867   lt_cv_file_magic_cmd='$MAGIC_CMD'
5868 lt_cv_file_magic_test_file=
5869 lt_cv_deplibs_check_method='unknown'
5870 # Need to set the preceding variable on all platforms that support
5871 # interlibrary dependencies.
5872 # 'none' -- dependencies not supported.
5873 # `unknown' -- same as none, but documents that we really don't know.
5874 # 'pass_all' -- all dependencies passed with no checks.
5875 # 'test_compile' -- check by making test program.
5876 # 'file_magic [[regex]]' -- check by looking for files in library path
5877 # which responds to the $file_magic_cmd with a given extended regex.
5878 # If you have `file' or equivalent on your system and you're not sure
5879 # whether `pass_all' will *always* work, you probably want this one.
5880
5881 case $host_os in
5882 aix[4-9]*)
5883   lt_cv_deplibs_check_method=pass_all
5884   ;;
5885
5886 beos*)
5887   lt_cv_deplibs_check_method=pass_all
5888   ;;
5889
5890 bsdi[45]*)
5891   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5892   lt_cv_file_magic_cmd='/usr/bin/file -L'
5893   lt_cv_file_magic_test_file=/shlib/libc.so
5894   ;;
5895
5896 cygwin*)
5897   # func_win32_libid is a shell function defined in ltmain.sh
5898   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5899   lt_cv_file_magic_cmd='func_win32_libid'
5900   ;;
5901
5902 mingw* | pw32*)
5903   # Base MSYS/MinGW do not provide the 'file' command needed by
5904   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5905   # unless we find 'file', for example because we are cross-compiling.
5906   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5907   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5908     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5909     lt_cv_file_magic_cmd='func_win32_libid'
5910   else
5911     # Keep this pattern in sync with the one in func_win32_libid.
5912     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5913     lt_cv_file_magic_cmd='$OBJDUMP -f'
5914   fi
5915   ;;
5916
5917 cegcc*)
5918   # use the weaker test based on 'objdump'. See mingw*.
5919   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5920   lt_cv_file_magic_cmd='$OBJDUMP -f'
5921   ;;
5922
5923 darwin* | rhapsody*)
5924   lt_cv_deplibs_check_method=pass_all
5925   ;;
5926
5927 freebsd* | dragonfly*)
5928   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5929     case $host_cpu in
5930     i*86 )
5931       # Not sure whether the presence of OpenBSD here was a mistake.
5932       # Let's accept both of them until this is cleared up.
5933       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5934       lt_cv_file_magic_cmd=/usr/bin/file
5935       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5936       ;;
5937     esac
5938   else
5939     lt_cv_deplibs_check_method=pass_all
5940   fi
5941   ;;
5942
5943 gnu*)
5944   lt_cv_deplibs_check_method=pass_all
5945   ;;
5946
5947 haiku*)
5948   lt_cv_deplibs_check_method=pass_all
5949   ;;
5950
5951 hpux10.20* | hpux11*)
5952   lt_cv_file_magic_cmd=/usr/bin/file
5953   case $host_cpu in
5954   ia64*)
5955     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5956     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5957     ;;
5958   hppa*64*)
5959     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]'
5960     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5961     ;;
5962   *)
5963     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5964     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5965     ;;
5966   esac
5967   ;;
5968
5969 interix[3-9]*)
5970   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5971   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5972   ;;
5973
5974 irix5* | irix6* | nonstopux*)
5975   case $LD in
5976   *-32|*"-32 ") libmagic=32-bit;;
5977   *-n32|*"-n32 ") libmagic=N32;;
5978   *-64|*"-64 ") libmagic=64-bit;;
5979   *) libmagic=never-match;;
5980   esac
5981   lt_cv_deplibs_check_method=pass_all
5982   ;;
5983
5984 # This must be glibc/ELF.
5985 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5986   lt_cv_deplibs_check_method=pass_all
5987   ;;
5988
5989 netbsd* | netbsdelf*-gnu)
5990   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5991     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5992   else
5993     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5994   fi
5995   ;;
5996
5997 newos6*)
5998   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5999   lt_cv_file_magic_cmd=/usr/bin/file
6000   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6001   ;;
6002
6003 *nto* | *qnx*)
6004   lt_cv_deplibs_check_method=pass_all
6005   ;;
6006
6007 openbsd*)
6008   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6009     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6010   else
6011     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6012   fi
6013   ;;
6014
6015 osf3* | osf4* | osf5*)
6016   lt_cv_deplibs_check_method=pass_all
6017   ;;
6018
6019 rdos*)
6020   lt_cv_deplibs_check_method=pass_all
6021   ;;
6022
6023 solaris*)
6024   lt_cv_deplibs_check_method=pass_all
6025   ;;
6026
6027 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6028   lt_cv_deplibs_check_method=pass_all
6029   ;;
6030
6031 sysv4 | sysv4.3*)
6032   case $host_vendor in
6033   motorola)
6034     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]'
6035     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6036     ;;
6037   ncr)
6038     lt_cv_deplibs_check_method=pass_all
6039     ;;
6040   sequent)
6041     lt_cv_file_magic_cmd='/bin/file'
6042     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6043     ;;
6044   sni)
6045     lt_cv_file_magic_cmd='/bin/file'
6046     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6047     lt_cv_file_magic_test_file=/lib/libc.so
6048     ;;
6049   siemens)
6050     lt_cv_deplibs_check_method=pass_all
6051     ;;
6052   pc)
6053     lt_cv_deplibs_check_method=pass_all
6054     ;;
6055   esac
6056   ;;
6057
6058 tpf*)
6059   lt_cv_deplibs_check_method=pass_all
6060   ;;
6061 esac
6062
6063 fi
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6065 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6066
6067 file_magic_glob=
6068 want_nocaseglob=no
6069 if test "$build" = "$host"; then
6070   case $host_os in
6071   mingw* | pw32*)
6072     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6073       want_nocaseglob=yes
6074     else
6075       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6076     fi
6077     ;;
6078   esac
6079 fi
6080
6081 file_magic_cmd=$lt_cv_file_magic_cmd
6082 deplibs_check_method=$lt_cv_deplibs_check_method
6083 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106 if test -n "$ac_tool_prefix"; then
6107   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6108 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6110 $as_echo_n "checking for $ac_word... " >&6; }
6111 if ${ac_cv_prog_DLLTOOL+:} false; then :
6112   $as_echo_n "(cached) " >&6
6113 else
6114   if test -n "$DLLTOOL"; then
6115   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6116 else
6117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6118 for as_dir in $PATH
6119 do
6120   IFS=$as_save_IFS
6121   test -z "$as_dir" && as_dir=.
6122     for ac_exec_ext in '' $ac_executable_extensions; do
6123   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6124     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6125     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6126     break 2
6127   fi
6128 done
6129   done
6130 IFS=$as_save_IFS
6131
6132 fi
6133 fi
6134 DLLTOOL=$ac_cv_prog_DLLTOOL
6135 if test -n "$DLLTOOL"; then
6136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6137 $as_echo "$DLLTOOL" >&6; }
6138 else
6139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6140 $as_echo "no" >&6; }
6141 fi
6142
6143
6144 fi
6145 if test -z "$ac_cv_prog_DLLTOOL"; then
6146   ac_ct_DLLTOOL=$DLLTOOL
6147   # Extract the first word of "dlltool", so it can be a program name with args.
6148 set dummy dlltool; ac_word=$2
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6150 $as_echo_n "checking for $ac_word... " >&6; }
6151 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6152   $as_echo_n "(cached) " >&6
6153 else
6154   if test -n "$ac_ct_DLLTOOL"; then
6155   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6156 else
6157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6158 for as_dir in $PATH
6159 do
6160   IFS=$as_save_IFS
6161   test -z "$as_dir" && as_dir=.
6162     for ac_exec_ext in '' $ac_executable_extensions; do
6163   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6164     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6165     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6166     break 2
6167   fi
6168 done
6169   done
6170 IFS=$as_save_IFS
6171
6172 fi
6173 fi
6174 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6175 if test -n "$ac_ct_DLLTOOL"; then
6176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6177 $as_echo "$ac_ct_DLLTOOL" >&6; }
6178 else
6179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6180 $as_echo "no" >&6; }
6181 fi
6182
6183   if test "x$ac_ct_DLLTOOL" = x; then
6184     DLLTOOL="false"
6185   else
6186     case $cross_compiling:$ac_tool_warned in
6187 yes:)
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6189 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6190 ac_tool_warned=yes ;;
6191 esac
6192     DLLTOOL=$ac_ct_DLLTOOL
6193   fi
6194 else
6195   DLLTOOL="$ac_cv_prog_DLLTOOL"
6196 fi
6197
6198 test -z "$DLLTOOL" && DLLTOOL=dlltool
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6210 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6211 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6212   $as_echo_n "(cached) " >&6
6213 else
6214   lt_cv_sharedlib_from_linklib_cmd='unknown'
6215
6216 case $host_os in
6217 cygwin* | mingw* | pw32* | cegcc*)
6218   # two different shell functions defined in ltmain.sh
6219   # decide which to use based on capabilities of $DLLTOOL
6220   case `$DLLTOOL --help 2>&1` in
6221   *--identify-strict*)
6222     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6223     ;;
6224   *)
6225     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6226     ;;
6227   esac
6228   ;;
6229 *)
6230   # fallback: assume linklib IS sharedlib
6231   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6232   ;;
6233 esac
6234
6235 fi
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6237 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6238 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6239 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6240
6241
6242
6243
6244
6245
6246
6247 if test -n "$ac_tool_prefix"; then
6248   for ac_prog in ar
6249   do
6250     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6251 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6253 $as_echo_n "checking for $ac_word... " >&6; }
6254 if ${ac_cv_prog_AR+:} false; then :
6255   $as_echo_n "(cached) " >&6
6256 else
6257   if test -n "$AR"; then
6258   ac_cv_prog_AR="$AR" # Let the user override the test.
6259 else
6260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6261 for as_dir in $PATH
6262 do
6263   IFS=$as_save_IFS
6264   test -z "$as_dir" && as_dir=.
6265     for ac_exec_ext in '' $ac_executable_extensions; do
6266   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6267     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6268     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6269     break 2
6270   fi
6271 done
6272   done
6273 IFS=$as_save_IFS
6274
6275 fi
6276 fi
6277 AR=$ac_cv_prog_AR
6278 if test -n "$AR"; then
6279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6280 $as_echo "$AR" >&6; }
6281 else
6282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6283 $as_echo "no" >&6; }
6284 fi
6285
6286
6287     test -n "$AR" && break
6288   done
6289 fi
6290 if test -z "$AR"; then
6291   ac_ct_AR=$AR
6292   for ac_prog in ar
6293 do
6294   # Extract the first word of "$ac_prog", so it can be a program name with args.
6295 set dummy $ac_prog; ac_word=$2
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6297 $as_echo_n "checking for $ac_word... " >&6; }
6298 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6299   $as_echo_n "(cached) " >&6
6300 else
6301   if test -n "$ac_ct_AR"; then
6302   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6303 else
6304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6305 for as_dir in $PATH
6306 do
6307   IFS=$as_save_IFS
6308   test -z "$as_dir" && as_dir=.
6309     for ac_exec_ext in '' $ac_executable_extensions; do
6310   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6311     ac_cv_prog_ac_ct_AR="$ac_prog"
6312     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6313     break 2
6314   fi
6315 done
6316   done
6317 IFS=$as_save_IFS
6318
6319 fi
6320 fi
6321 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6322 if test -n "$ac_ct_AR"; then
6323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6324 $as_echo "$ac_ct_AR" >&6; }
6325 else
6326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6327 $as_echo "no" >&6; }
6328 fi
6329
6330
6331   test -n "$ac_ct_AR" && break
6332 done
6333
6334   if test "x$ac_ct_AR" = x; then
6335     AR="false"
6336   else
6337     case $cross_compiling:$ac_tool_warned in
6338 yes:)
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6340 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6341 ac_tool_warned=yes ;;
6342 esac
6343     AR=$ac_ct_AR
6344   fi
6345 fi
6346
6347 : ${AR=ar}
6348 : ${AR_FLAGS=cru}
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6361 $as_echo_n "checking for archiver @FILE support... " >&6; }
6362 if ${lt_cv_ar_at_file+:} false; then :
6363   $as_echo_n "(cached) " >&6
6364 else
6365   lt_cv_ar_at_file=no
6366    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6367 /* end confdefs.h.  */
6368
6369 int
6370 main ()
6371 {
6372
6373   ;
6374   return 0;
6375 }
6376 _ACEOF
6377 if ac_fn_c_try_compile "$LINENO"; then :
6378   echo conftest.$ac_objext > conftest.lst
6379       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6380       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6381   (eval $lt_ar_try) 2>&5
6382   ac_status=$?
6383   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6384   test $ac_status = 0; }
6385       if test "$ac_status" -eq 0; then
6386         # Ensure the archiver fails upon bogus file names.
6387         rm -f conftest.$ac_objext libconftest.a
6388         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6389   (eval $lt_ar_try) 2>&5
6390   ac_status=$?
6391   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6392   test $ac_status = 0; }
6393         if test "$ac_status" -ne 0; then
6394           lt_cv_ar_at_file=@
6395         fi
6396       fi
6397       rm -f conftest.* libconftest.a
6398
6399 fi
6400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6401
6402 fi
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6404 $as_echo "$lt_cv_ar_at_file" >&6; }
6405
6406 if test "x$lt_cv_ar_at_file" = xno; then
6407   archiver_list_spec=
6408 else
6409   archiver_list_spec=$lt_cv_ar_at_file
6410 fi
6411
6412
6413
6414
6415
6416
6417
6418 if test -n "$ac_tool_prefix"; then
6419   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6420 set dummy ${ac_tool_prefix}strip; ac_word=$2
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6422 $as_echo_n "checking for $ac_word... " >&6; }
6423 if ${ac_cv_prog_STRIP+:} false; then :
6424   $as_echo_n "(cached) " >&6
6425 else
6426   if test -n "$STRIP"; then
6427   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6428 else
6429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6430 for as_dir in $PATH
6431 do
6432   IFS=$as_save_IFS
6433   test -z "$as_dir" && as_dir=.
6434     for ac_exec_ext in '' $ac_executable_extensions; do
6435   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6436     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6437     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6438     break 2
6439   fi
6440 done
6441   done
6442 IFS=$as_save_IFS
6443
6444 fi
6445 fi
6446 STRIP=$ac_cv_prog_STRIP
6447 if test -n "$STRIP"; then
6448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6449 $as_echo "$STRIP" >&6; }
6450 else
6451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6452 $as_echo "no" >&6; }
6453 fi
6454
6455
6456 fi
6457 if test -z "$ac_cv_prog_STRIP"; then
6458   ac_ct_STRIP=$STRIP
6459   # Extract the first word of "strip", so it can be a program name with args.
6460 set dummy strip; ac_word=$2
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6462 $as_echo_n "checking for $ac_word... " >&6; }
6463 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6464   $as_echo_n "(cached) " >&6
6465 else
6466   if test -n "$ac_ct_STRIP"; then
6467   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6468 else
6469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6470 for as_dir in $PATH
6471 do
6472   IFS=$as_save_IFS
6473   test -z "$as_dir" && as_dir=.
6474     for ac_exec_ext in '' $ac_executable_extensions; do
6475   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6476     ac_cv_prog_ac_ct_STRIP="strip"
6477     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6478     break 2
6479   fi
6480 done
6481   done
6482 IFS=$as_save_IFS
6483
6484 fi
6485 fi
6486 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6487 if test -n "$ac_ct_STRIP"; then
6488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6489 $as_echo "$ac_ct_STRIP" >&6; }
6490 else
6491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6492 $as_echo "no" >&6; }
6493 fi
6494
6495   if test "x$ac_ct_STRIP" = x; then
6496     STRIP=":"
6497   else
6498     case $cross_compiling:$ac_tool_warned in
6499 yes:)
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6501 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6502 ac_tool_warned=yes ;;
6503 esac
6504     STRIP=$ac_ct_STRIP
6505   fi
6506 else
6507   STRIP="$ac_cv_prog_STRIP"
6508 fi
6509
6510 test -z "$STRIP" && STRIP=:
6511
6512
6513
6514
6515
6516
6517 if test -n "$ac_tool_prefix"; then
6518   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6519 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6521 $as_echo_n "checking for $ac_word... " >&6; }
6522 if ${ac_cv_prog_RANLIB+:} false; then :
6523   $as_echo_n "(cached) " >&6
6524 else
6525   if test -n "$RANLIB"; then
6526   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6527 else
6528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6529 for as_dir in $PATH
6530 do
6531   IFS=$as_save_IFS
6532   test -z "$as_dir" && as_dir=.
6533     for ac_exec_ext in '' $ac_executable_extensions; do
6534   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6535     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6536     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6537     break 2
6538   fi
6539 done
6540   done
6541 IFS=$as_save_IFS
6542
6543 fi
6544 fi
6545 RANLIB=$ac_cv_prog_RANLIB
6546 if test -n "$RANLIB"; then
6547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6548 $as_echo "$RANLIB" >&6; }
6549 else
6550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6551 $as_echo "no" >&6; }
6552 fi
6553
6554
6555 fi
6556 if test -z "$ac_cv_prog_RANLIB"; then
6557   ac_ct_RANLIB=$RANLIB
6558   # Extract the first word of "ranlib", so it can be a program name with args.
6559 set dummy ranlib; ac_word=$2
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6561 $as_echo_n "checking for $ac_word... " >&6; }
6562 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6563   $as_echo_n "(cached) " >&6
6564 else
6565   if test -n "$ac_ct_RANLIB"; then
6566   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6567 else
6568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6569 for as_dir in $PATH
6570 do
6571   IFS=$as_save_IFS
6572   test -z "$as_dir" && as_dir=.
6573     for ac_exec_ext in '' $ac_executable_extensions; do
6574   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6575     ac_cv_prog_ac_ct_RANLIB="ranlib"
6576     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6577     break 2
6578   fi
6579 done
6580   done
6581 IFS=$as_save_IFS
6582
6583 fi
6584 fi
6585 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6586 if test -n "$ac_ct_RANLIB"; then
6587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6588 $as_echo "$ac_ct_RANLIB" >&6; }
6589 else
6590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6591 $as_echo "no" >&6; }
6592 fi
6593
6594   if test "x$ac_ct_RANLIB" = x; then
6595     RANLIB=":"
6596   else
6597     case $cross_compiling:$ac_tool_warned in
6598 yes:)
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6600 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6601 ac_tool_warned=yes ;;
6602 esac
6603     RANLIB=$ac_ct_RANLIB
6604   fi
6605 else
6606   RANLIB="$ac_cv_prog_RANLIB"
6607 fi
6608
6609 test -z "$RANLIB" && RANLIB=:
6610
6611
6612
6613
6614
6615
6616 # Determine commands to create old-style static archives.
6617 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6618 old_postinstall_cmds='chmod 644 $oldlib'
6619 old_postuninstall_cmds=
6620
6621 if test -n "$RANLIB"; then
6622   case $host_os in
6623   openbsd*)
6624     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6625     ;;
6626   *)
6627     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6628     ;;
6629   esac
6630   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6631 fi
6632
6633 case $host_os in
6634   darwin*)
6635     lock_old_archive_extraction=yes ;;
6636   *)
6637     lock_old_archive_extraction=no ;;
6638 esac
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678 # If no C compiler was specified, use CC.
6679 LTCC=${LTCC-"$CC"}
6680
6681 # If no C compiler flags were specified, use CFLAGS.
6682 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6683
6684 # Allow CC to be a program name with arguments.
6685 compiler=$CC
6686
6687
6688 # Check for command to grab the raw symbol name followed by C symbol from nm.
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6690 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6691 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6692   $as_echo_n "(cached) " >&6
6693 else
6694
6695 # These are sane defaults that work on at least a few old systems.
6696 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6697
6698 # Character class describing NM global symbol codes.
6699 symcode='[BCDEGRST]'
6700
6701 # Regexp to match symbols that can be accessed directly from C.
6702 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6703
6704 # Define system-specific variables.
6705 case $host_os in
6706 aix*)
6707   symcode='[BCDT]'
6708   ;;
6709 cygwin* | mingw* | pw32* | cegcc*)
6710   symcode='[ABCDGISTW]'
6711   ;;
6712 hpux*)
6713   if test "$host_cpu" = ia64; then
6714     symcode='[ABCDEGRST]'
6715   fi
6716   ;;
6717 irix* | nonstopux*)
6718   symcode='[BCDEGRST]'
6719   ;;
6720 osf*)
6721   symcode='[BCDEGQRST]'
6722   ;;
6723 solaris*)
6724   symcode='[BDRT]'
6725   ;;
6726 sco3.2v5*)
6727   symcode='[DT]'
6728   ;;
6729 sysv4.2uw2*)
6730   symcode='[DT]'
6731   ;;
6732 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6733   symcode='[ABDT]'
6734   ;;
6735 sysv4)
6736   symcode='[DFNSTU]'
6737   ;;
6738 esac
6739
6740 # If we're using GNU nm, then use its standard symbol codes.
6741 case `$NM -V 2>&1` in
6742 *GNU* | *'with BFD'*)
6743   symcode='[ABCDGIRSTW]' ;;
6744 esac
6745
6746 # Transform an extracted symbol line into a proper C declaration.
6747 # Some systems (esp. on ia64) link data and code symbols differently,
6748 # so use this general approach.
6749 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6750
6751 # Transform an extracted symbol line into symbol name and symbol address
6752 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6753 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'"
6754
6755 # Handle CRLF in mingw tool chain
6756 opt_cr=
6757 case $build_os in
6758 mingw*)
6759   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6760   ;;
6761 esac
6762
6763 # Try without a prefix underscore, then with it.
6764 for ac_symprfx in "" "_"; do
6765
6766   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6767   symxfrm="\\1 $ac_symprfx\\2 \\2"
6768
6769   # Write the raw and C identifiers.
6770   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6771     # Fake it for dumpbin and say T for any non-static function
6772     # and D for any global variable.
6773     # Also find C++ and __fastcall symbols from MSVC++,
6774     # which start with @ or ?.
6775     lt_cv_sys_global_symbol_pipe="$AWK '"\
6776 "     {last_section=section; section=\$ 3};"\
6777 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6778 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6779 "     \$ 0!~/External *\|/{next};"\
6780 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6781 "     {if(hide[section]) next};"\
6782 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6783 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6784 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6785 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6786 "     ' prfx=^$ac_symprfx"
6787   else
6788     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6789   fi
6790   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6791
6792   # Check to see that the pipe works correctly.
6793   pipe_works=no
6794
6795   rm -f conftest*
6796   cat > conftest.$ac_ext <<_LT_EOF
6797 #ifdef __cplusplus
6798 extern "C" {
6799 #endif
6800 char nm_test_var;
6801 void nm_test_func(void);
6802 void nm_test_func(void){}
6803 #ifdef __cplusplus
6804 }
6805 #endif
6806 int main(){nm_test_var='a';nm_test_func();return(0);}
6807 _LT_EOF
6808
6809   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6810   (eval $ac_compile) 2>&5
6811   ac_status=$?
6812   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6813   test $ac_status = 0; }; then
6814     # Now try to grab the symbols.
6815     nlist=conftest.nm
6816     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6817   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6818   ac_status=$?
6819   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6820   test $ac_status = 0; } && test -s "$nlist"; then
6821       # Try sorting and uniquifying the output.
6822       if sort "$nlist" | uniq > "$nlist"T; then
6823         mv -f "$nlist"T "$nlist"
6824       else
6825         rm -f "$nlist"T
6826       fi
6827
6828       # Make sure that we snagged all the symbols we need.
6829       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6830         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6831           cat <<_LT_EOF > conftest.$ac_ext
6832 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6833 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6834 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6835    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6836 # define LT_DLSYM_CONST
6837 #elif defined(__osf__)
6838 /* This system does not cope well with relocations in const data.  */
6839 # define LT_DLSYM_CONST
6840 #else
6841 # define LT_DLSYM_CONST const
6842 #endif
6843
6844 #ifdef __cplusplus
6845 extern "C" {
6846 #endif
6847
6848 _LT_EOF
6849           # Now generate the symbol file.
6850           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6851
6852           cat <<_LT_EOF >> conftest.$ac_ext
6853
6854 /* The mapping between symbol names and symbols.  */
6855 LT_DLSYM_CONST struct {
6856   const char *name;
6857   void       *address;
6858 }
6859 lt__PROGRAM__LTX_preloaded_symbols[] =
6860 {
6861   { "@PROGRAM@", (void *) 0 },
6862 _LT_EOF
6863           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6864           cat <<\_LT_EOF >> conftest.$ac_ext
6865   {0, (void *) 0}
6866 };
6867
6868 /* This works around a problem in FreeBSD linker */
6869 #ifdef FREEBSD_WORKAROUND
6870 static const void *lt_preloaded_setup() {
6871   return lt__PROGRAM__LTX_preloaded_symbols;
6872 }
6873 #endif
6874
6875 #ifdef __cplusplus
6876 }
6877 #endif
6878 _LT_EOF
6879           # Now try linking the two files.
6880           mv conftest.$ac_objext conftstm.$ac_objext
6881           lt_globsym_save_LIBS=$LIBS
6882           lt_globsym_save_CFLAGS=$CFLAGS
6883           LIBS="conftstm.$ac_objext"
6884           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6885           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6886   (eval $ac_link) 2>&5
6887   ac_status=$?
6888   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6889   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6890             pipe_works=yes
6891           fi
6892           LIBS=$lt_globsym_save_LIBS
6893           CFLAGS=$lt_globsym_save_CFLAGS
6894         else
6895           echo "cannot find nm_test_func in $nlist" >&5
6896         fi
6897       else
6898         echo "cannot find nm_test_var in $nlist" >&5
6899       fi
6900     else
6901       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6902     fi
6903   else
6904     echo "$progname: failed program was:" >&5
6905     cat conftest.$ac_ext >&5
6906   fi
6907   rm -rf conftest* conftst*
6908
6909   # Do not use the global_symbol_pipe unless it works.
6910   if test "$pipe_works" = yes; then
6911     break
6912   else
6913     lt_cv_sys_global_symbol_pipe=
6914   fi
6915 done
6916
6917 fi
6918
6919 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6920   lt_cv_sys_global_symbol_to_cdecl=
6921 fi
6922 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6924 $as_echo "failed" >&6; }
6925 else
6926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6927 $as_echo "ok" >&6; }
6928 fi
6929
6930 # Response file support.
6931 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6932   nm_file_list_spec='@'
6933 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6934   nm_file_list_spec='@'
6935 fi
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6964 $as_echo_n "checking for sysroot... " >&6; }
6965
6966 # Check whether --with-sysroot was given.
6967 if test "${with_sysroot+set}" = set; then :
6968   withval=$with_sysroot;
6969 else
6970   with_sysroot=no
6971 fi
6972
6973
6974 lt_sysroot=
6975 case ${with_sysroot} in #(
6976  yes)
6977    if test "$GCC" = yes; then
6978      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6979    fi
6980    ;; #(
6981  /*)
6982    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6983    ;; #(
6984  no|'')
6985    ;; #(
6986  *)
6987    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6988 $as_echo "${with_sysroot}" >&6; }
6989    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6990    ;;
6991 esac
6992
6993  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6994 $as_echo "${lt_sysroot:-no}" >&6; }
6995
6996
6997
6998
6999
7000 # Check whether --enable-libtool-lock was given.
7001 if test "${enable_libtool_lock+set}" = set; then :
7002   enableval=$enable_libtool_lock;
7003 fi
7004
7005 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7006
7007 # Some flags need to be propagated to the compiler or linker for good
7008 # libtool support.
7009 case $host in
7010 ia64-*-hpux*)
7011   # Find out which ABI we are using.
7012   echo 'int i;' > conftest.$ac_ext
7013   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7014   (eval $ac_compile) 2>&5
7015   ac_status=$?
7016   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7017   test $ac_status = 0; }; then
7018     case `/usr/bin/file conftest.$ac_objext` in
7019       *ELF-32*)
7020         HPUX_IA64_MODE="32"
7021         ;;
7022       *ELF-64*)
7023         HPUX_IA64_MODE="64"
7024         ;;
7025     esac
7026   fi
7027   rm -rf conftest*
7028   ;;
7029 *-*-irix6*)
7030   # Find out which ABI we are using.
7031   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7032   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7033   (eval $ac_compile) 2>&5
7034   ac_status=$?
7035   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7036   test $ac_status = 0; }; then
7037     if test "$lt_cv_prog_gnu_ld" = yes; then
7038       case `/usr/bin/file conftest.$ac_objext` in
7039         *32-bit*)
7040           LD="${LD-ld} -melf32bsmip"
7041           ;;
7042         *N32*)
7043           LD="${LD-ld} -melf32bmipn32"
7044           ;;
7045         *64-bit*)
7046           LD="${LD-ld} -melf64bmip"
7047         ;;
7048       esac
7049     else
7050       case `/usr/bin/file conftest.$ac_objext` in
7051         *32-bit*)
7052           LD="${LD-ld} -32"
7053           ;;
7054         *N32*)
7055           LD="${LD-ld} -n32"
7056           ;;
7057         *64-bit*)
7058           LD="${LD-ld} -64"
7059           ;;
7060       esac
7061     fi
7062   fi
7063   rm -rf conftest*
7064   ;;
7065
7066 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7067 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7068   # Find out which ABI we are using.
7069   echo 'int i;' > conftest.$ac_ext
7070   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7071   (eval $ac_compile) 2>&5
7072   ac_status=$?
7073   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7074   test $ac_status = 0; }; then
7075     case `/usr/bin/file conftest.o` in
7076       *32-bit*)
7077         case $host in
7078           x86_64-*kfreebsd*-gnu)
7079             LD="${LD-ld} -m elf_i386_fbsd"
7080             ;;
7081           x86_64-*linux*)
7082             LD="${LD-ld} -m elf_i386"
7083             ;;
7084           ppc64-*linux*|powerpc64-*linux*)
7085             LD="${LD-ld} -m elf32ppclinux"
7086             ;;
7087           s390x-*linux*)
7088             LD="${LD-ld} -m elf_s390"
7089             ;;
7090           sparc64-*linux*)
7091             LD="${LD-ld} -m elf32_sparc"
7092             ;;
7093         esac
7094         ;;
7095       *64-bit*)
7096         case $host in
7097           x86_64-*kfreebsd*-gnu)
7098             LD="${LD-ld} -m elf_x86_64_fbsd"
7099             ;;
7100           x86_64-*linux*)
7101             LD="${LD-ld} -m elf_x86_64"
7102             ;;
7103           ppc*-*linux*|powerpc*-*linux*)
7104             LD="${LD-ld} -m elf64ppc"
7105             ;;
7106           s390*-*linux*|s390*-*tpf*)
7107             LD="${LD-ld} -m elf64_s390"
7108             ;;
7109           sparc*-*linux*)
7110             LD="${LD-ld} -m elf64_sparc"
7111             ;;
7112         esac
7113         ;;
7114     esac
7115   fi
7116   rm -rf conftest*
7117   ;;
7118
7119 *-*-sco3.2v5*)
7120   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7121   SAVE_CFLAGS="$CFLAGS"
7122   CFLAGS="$CFLAGS -belf"
7123   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7124 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7125 if ${lt_cv_cc_needs_belf+:} false; then :
7126   $as_echo_n "(cached) " >&6
7127 else
7128   ac_ext=c
7129 ac_cpp='$CPP $CPPFLAGS'
7130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7133
7134      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7135 /* end confdefs.h.  */
7136
7137 int
7138 main ()
7139 {
7140
7141   ;
7142   return 0;
7143 }
7144 _ACEOF
7145 if ac_fn_c_try_link "$LINENO"; then :
7146   lt_cv_cc_needs_belf=yes
7147 else
7148   lt_cv_cc_needs_belf=no
7149 fi
7150 rm -f core conftest.err conftest.$ac_objext \
7151     conftest$ac_exeext conftest.$ac_ext
7152      ac_ext=c
7153 ac_cpp='$CPP $CPPFLAGS'
7154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7157
7158 fi
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7160 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7161   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7162     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7163     CFLAGS="$SAVE_CFLAGS"
7164   fi
7165   ;;
7166 *-*solaris*)
7167   # Find out which ABI we are using.
7168   echo 'int i;' > conftest.$ac_ext
7169   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7170   (eval $ac_compile) 2>&5
7171   ac_status=$?
7172   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7173   test $ac_status = 0; }; then
7174     case `/usr/bin/file conftest.o` in
7175     *64-bit*)
7176       case $lt_cv_prog_gnu_ld in
7177       yes*)
7178         case $host in
7179         i?86-*-solaris*)
7180           LD="${LD-ld} -m elf_x86_64"
7181           ;;
7182         sparc*-*-solaris*)
7183           LD="${LD-ld} -m elf64_sparc"
7184           ;;
7185         esac
7186         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7187         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7188           LD="${LD-ld}_sol2"
7189         fi
7190         ;;
7191       *)
7192         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7193           LD="${LD-ld} -64"
7194         fi
7195         ;;
7196       esac
7197       ;;
7198     esac
7199   fi
7200   rm -rf conftest*
7201   ;;
7202 esac
7203
7204 need_locks="$enable_libtool_lock"
7205
7206 if test -n "$ac_tool_prefix"; then
7207   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7208 set dummy ${ac_tool_prefix}mt; ac_word=$2
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7210 $as_echo_n "checking for $ac_word... " >&6; }
7211 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7212   $as_echo_n "(cached) " >&6
7213 else
7214   if test -n "$MANIFEST_TOOL"; then
7215   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7216 else
7217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7218 for as_dir in $PATH
7219 do
7220   IFS=$as_save_IFS
7221   test -z "$as_dir" && as_dir=.
7222     for ac_exec_ext in '' $ac_executable_extensions; do
7223   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7224     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7225     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7226     break 2
7227   fi
7228 done
7229   done
7230 IFS=$as_save_IFS
7231
7232 fi
7233 fi
7234 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7235 if test -n "$MANIFEST_TOOL"; then
7236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7237 $as_echo "$MANIFEST_TOOL" >&6; }
7238 else
7239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7240 $as_echo "no" >&6; }
7241 fi
7242
7243
7244 fi
7245 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7246   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7247   # Extract the first word of "mt", so it can be a program name with args.
7248 set dummy mt; ac_word=$2
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7250 $as_echo_n "checking for $ac_word... " >&6; }
7251 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7252   $as_echo_n "(cached) " >&6
7253 else
7254   if test -n "$ac_ct_MANIFEST_TOOL"; then
7255   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7256 else
7257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7258 for as_dir in $PATH
7259 do
7260   IFS=$as_save_IFS
7261   test -z "$as_dir" && as_dir=.
7262     for ac_exec_ext in '' $ac_executable_extensions; do
7263   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7264     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7265     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7266     break 2
7267   fi
7268 done
7269   done
7270 IFS=$as_save_IFS
7271
7272 fi
7273 fi
7274 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7275 if test -n "$ac_ct_MANIFEST_TOOL"; then
7276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7277 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7278 else
7279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7280 $as_echo "no" >&6; }
7281 fi
7282
7283   if test "x$ac_ct_MANIFEST_TOOL" = x; then
7284     MANIFEST_TOOL=":"
7285   else
7286     case $cross_compiling:$ac_tool_warned in
7287 yes:)
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7289 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7290 ac_tool_warned=yes ;;
7291 esac
7292     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7293   fi
7294 else
7295   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7296 fi
7297
7298 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7300 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7301 if ${lt_cv_path_mainfest_tool+:} false; then :
7302   $as_echo_n "(cached) " >&6
7303 else
7304   lt_cv_path_mainfest_tool=no
7305   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7306   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7307   cat conftest.err >&5
7308   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7309     lt_cv_path_mainfest_tool=yes
7310   fi
7311   rm -f conftest*
7312 fi
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7314 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7315 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7316   MANIFEST_TOOL=:
7317 fi
7318
7319
7320
7321
7322
7323
7324   case $host_os in
7325     rhapsody* | darwin*)
7326     if test -n "$ac_tool_prefix"; then
7327   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7328 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7330 $as_echo_n "checking for $ac_word... " >&6; }
7331 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7332   $as_echo_n "(cached) " >&6
7333 else
7334   if test -n "$DSYMUTIL"; then
7335   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7336 else
7337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7338 for as_dir in $PATH
7339 do
7340   IFS=$as_save_IFS
7341   test -z "$as_dir" && as_dir=.
7342     for ac_exec_ext in '' $ac_executable_extensions; do
7343   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7344     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7345     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7346     break 2
7347   fi
7348 done
7349   done
7350 IFS=$as_save_IFS
7351
7352 fi
7353 fi
7354 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7355 if test -n "$DSYMUTIL"; then
7356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7357 $as_echo "$DSYMUTIL" >&6; }
7358 else
7359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7360 $as_echo "no" >&6; }
7361 fi
7362
7363
7364 fi
7365 if test -z "$ac_cv_prog_DSYMUTIL"; then
7366   ac_ct_DSYMUTIL=$DSYMUTIL
7367   # Extract the first word of "dsymutil", so it can be a program name with args.
7368 set dummy dsymutil; ac_word=$2
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7370 $as_echo_n "checking for $ac_word... " >&6; }
7371 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7372   $as_echo_n "(cached) " >&6
7373 else
7374   if test -n "$ac_ct_DSYMUTIL"; then
7375   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7376 else
7377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7378 for as_dir in $PATH
7379 do
7380   IFS=$as_save_IFS
7381   test -z "$as_dir" && as_dir=.
7382     for ac_exec_ext in '' $ac_executable_extensions; do
7383   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7384     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7385     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7386     break 2
7387   fi
7388 done
7389   done
7390 IFS=$as_save_IFS
7391
7392 fi
7393 fi
7394 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7395 if test -n "$ac_ct_DSYMUTIL"; then
7396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7397 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7398 else
7399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7400 $as_echo "no" >&6; }
7401 fi
7402
7403   if test "x$ac_ct_DSYMUTIL" = x; then
7404     DSYMUTIL=":"
7405   else
7406     case $cross_compiling:$ac_tool_warned in
7407 yes:)
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7409 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7410 ac_tool_warned=yes ;;
7411 esac
7412     DSYMUTIL=$ac_ct_DSYMUTIL
7413   fi
7414 else
7415   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7416 fi
7417
7418     if test -n "$ac_tool_prefix"; then
7419   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7420 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7422 $as_echo_n "checking for $ac_word... " >&6; }
7423 if ${ac_cv_prog_NMEDIT+:} false; then :
7424   $as_echo_n "(cached) " >&6
7425 else
7426   if test -n "$NMEDIT"; then
7427   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7428 else
7429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7430 for as_dir in $PATH
7431 do
7432   IFS=$as_save_IFS
7433   test -z "$as_dir" && as_dir=.
7434     for ac_exec_ext in '' $ac_executable_extensions; do
7435   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7436     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7437     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7438     break 2
7439   fi
7440 done
7441   done
7442 IFS=$as_save_IFS
7443
7444 fi
7445 fi
7446 NMEDIT=$ac_cv_prog_NMEDIT
7447 if test -n "$NMEDIT"; then
7448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7449 $as_echo "$NMEDIT" >&6; }
7450 else
7451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7452 $as_echo "no" >&6; }
7453 fi
7454
7455
7456 fi
7457 if test -z "$ac_cv_prog_NMEDIT"; then
7458   ac_ct_NMEDIT=$NMEDIT
7459   # Extract the first word of "nmedit", so it can be a program name with args.
7460 set dummy nmedit; ac_word=$2
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7462 $as_echo_n "checking for $ac_word... " >&6; }
7463 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7464   $as_echo_n "(cached) " >&6
7465 else
7466   if test -n "$ac_ct_NMEDIT"; then
7467   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7468 else
7469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7470 for as_dir in $PATH
7471 do
7472   IFS=$as_save_IFS
7473   test -z "$as_dir" && as_dir=.
7474     for ac_exec_ext in '' $ac_executable_extensions; do
7475   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7476     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7477     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7478     break 2
7479   fi
7480 done
7481   done
7482 IFS=$as_save_IFS
7483
7484 fi
7485 fi
7486 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7487 if test -n "$ac_ct_NMEDIT"; then
7488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7489 $as_echo "$ac_ct_NMEDIT" >&6; }
7490 else
7491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7492 $as_echo "no" >&6; }
7493 fi
7494
7495   if test "x$ac_ct_NMEDIT" = x; then
7496     NMEDIT=":"
7497   else
7498     case $cross_compiling:$ac_tool_warned in
7499 yes:)
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7501 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7502 ac_tool_warned=yes ;;
7503 esac
7504     NMEDIT=$ac_ct_NMEDIT
7505   fi
7506 else
7507   NMEDIT="$ac_cv_prog_NMEDIT"
7508 fi
7509
7510     if test -n "$ac_tool_prefix"; then
7511   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7512 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7514 $as_echo_n "checking for $ac_word... " >&6; }
7515 if ${ac_cv_prog_LIPO+:} false; then :
7516   $as_echo_n "(cached) " >&6
7517 else
7518   if test -n "$LIPO"; then
7519   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7520 else
7521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7522 for as_dir in $PATH
7523 do
7524   IFS=$as_save_IFS
7525   test -z "$as_dir" && as_dir=.
7526     for ac_exec_ext in '' $ac_executable_extensions; do
7527   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7528     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7529     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7530     break 2
7531   fi
7532 done
7533   done
7534 IFS=$as_save_IFS
7535
7536 fi
7537 fi
7538 LIPO=$ac_cv_prog_LIPO
7539 if test -n "$LIPO"; then
7540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7541 $as_echo "$LIPO" >&6; }
7542 else
7543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7544 $as_echo "no" >&6; }
7545 fi
7546
7547
7548 fi
7549 if test -z "$ac_cv_prog_LIPO"; then
7550   ac_ct_LIPO=$LIPO
7551   # Extract the first word of "lipo", so it can be a program name with args.
7552 set dummy lipo; ac_word=$2
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7554 $as_echo_n "checking for $ac_word... " >&6; }
7555 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7556   $as_echo_n "(cached) " >&6
7557 else
7558   if test -n "$ac_ct_LIPO"; then
7559   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7560 else
7561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7562 for as_dir in $PATH
7563 do
7564   IFS=$as_save_IFS
7565   test -z "$as_dir" && as_dir=.
7566     for ac_exec_ext in '' $ac_executable_extensions; do
7567   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7568     ac_cv_prog_ac_ct_LIPO="lipo"
7569     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7570     break 2
7571   fi
7572 done
7573   done
7574 IFS=$as_save_IFS
7575
7576 fi
7577 fi
7578 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7579 if test -n "$ac_ct_LIPO"; then
7580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7581 $as_echo "$ac_ct_LIPO" >&6; }
7582 else
7583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7584 $as_echo "no" >&6; }
7585 fi
7586
7587   if test "x$ac_ct_LIPO" = x; then
7588     LIPO=":"
7589   else
7590     case $cross_compiling:$ac_tool_warned in
7591 yes:)
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7593 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7594 ac_tool_warned=yes ;;
7595 esac
7596     LIPO=$ac_ct_LIPO
7597   fi
7598 else
7599   LIPO="$ac_cv_prog_LIPO"
7600 fi
7601
7602     if test -n "$ac_tool_prefix"; then
7603   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7604 set dummy ${ac_tool_prefix}otool; ac_word=$2
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7606 $as_echo_n "checking for $ac_word... " >&6; }
7607 if ${ac_cv_prog_OTOOL+:} false; then :
7608   $as_echo_n "(cached) " >&6
7609 else
7610   if test -n "$OTOOL"; then
7611   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7612 else
7613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7614 for as_dir in $PATH
7615 do
7616   IFS=$as_save_IFS
7617   test -z "$as_dir" && as_dir=.
7618     for ac_exec_ext in '' $ac_executable_extensions; do
7619   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7620     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7621     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7622     break 2
7623   fi
7624 done
7625   done
7626 IFS=$as_save_IFS
7627
7628 fi
7629 fi
7630 OTOOL=$ac_cv_prog_OTOOL
7631 if test -n "$OTOOL"; then
7632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7633 $as_echo "$OTOOL" >&6; }
7634 else
7635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7636 $as_echo "no" >&6; }
7637 fi
7638
7639
7640 fi
7641 if test -z "$ac_cv_prog_OTOOL"; then
7642   ac_ct_OTOOL=$OTOOL
7643   # Extract the first word of "otool", so it can be a program name with args.
7644 set dummy otool; ac_word=$2
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7646 $as_echo_n "checking for $ac_word... " >&6; }
7647 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7648   $as_echo_n "(cached) " >&6
7649 else
7650   if test -n "$ac_ct_OTOOL"; then
7651   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7652 else
7653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7654 for as_dir in $PATH
7655 do
7656   IFS=$as_save_IFS
7657   test -z "$as_dir" && as_dir=.
7658     for ac_exec_ext in '' $ac_executable_extensions; do
7659   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7660     ac_cv_prog_ac_ct_OTOOL="otool"
7661     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7662     break 2
7663   fi
7664 done
7665   done
7666 IFS=$as_save_IFS
7667
7668 fi
7669 fi
7670 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7671 if test -n "$ac_ct_OTOOL"; then
7672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7673 $as_echo "$ac_ct_OTOOL" >&6; }
7674 else
7675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7676 $as_echo "no" >&6; }
7677 fi
7678
7679   if test "x$ac_ct_OTOOL" = x; then
7680     OTOOL=":"
7681   else
7682     case $cross_compiling:$ac_tool_warned in
7683 yes:)
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7685 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7686 ac_tool_warned=yes ;;
7687 esac
7688     OTOOL=$ac_ct_OTOOL
7689   fi
7690 else
7691   OTOOL="$ac_cv_prog_OTOOL"
7692 fi
7693
7694     if test -n "$ac_tool_prefix"; then
7695   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7696 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7698 $as_echo_n "checking for $ac_word... " >&6; }
7699 if ${ac_cv_prog_OTOOL64+:} false; then :
7700   $as_echo_n "(cached) " >&6
7701 else
7702   if test -n "$OTOOL64"; then
7703   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7704 else
7705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7706 for as_dir in $PATH
7707 do
7708   IFS=$as_save_IFS
7709   test -z "$as_dir" && as_dir=.
7710     for ac_exec_ext in '' $ac_executable_extensions; do
7711   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7712     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7713     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7714     break 2
7715   fi
7716 done
7717   done
7718 IFS=$as_save_IFS
7719
7720 fi
7721 fi
7722 OTOOL64=$ac_cv_prog_OTOOL64
7723 if test -n "$OTOOL64"; then
7724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7725 $as_echo "$OTOOL64" >&6; }
7726 else
7727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7728 $as_echo "no" >&6; }
7729 fi
7730
7731
7732 fi
7733 if test -z "$ac_cv_prog_OTOOL64"; then
7734   ac_ct_OTOOL64=$OTOOL64
7735   # Extract the first word of "otool64", so it can be a program name with args.
7736 set dummy otool64; ac_word=$2
7737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7738 $as_echo_n "checking for $ac_word... " >&6; }
7739 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7740   $as_echo_n "(cached) " >&6
7741 else
7742   if test -n "$ac_ct_OTOOL64"; then
7743   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7744 else
7745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7746 for as_dir in $PATH
7747 do
7748   IFS=$as_save_IFS
7749   test -z "$as_dir" && as_dir=.
7750     for ac_exec_ext in '' $ac_executable_extensions; do
7751   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7752     ac_cv_prog_ac_ct_OTOOL64="otool64"
7753     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7754     break 2
7755   fi
7756 done
7757   done
7758 IFS=$as_save_IFS
7759
7760 fi
7761 fi
7762 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7763 if test -n "$ac_ct_OTOOL64"; then
7764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7765 $as_echo "$ac_ct_OTOOL64" >&6; }
7766 else
7767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7768 $as_echo "no" >&6; }
7769 fi
7770
7771   if test "x$ac_ct_OTOOL64" = x; then
7772     OTOOL64=":"
7773   else
7774     case $cross_compiling:$ac_tool_warned in
7775 yes:)
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7777 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7778 ac_tool_warned=yes ;;
7779 esac
7780     OTOOL64=$ac_ct_OTOOL64
7781   fi
7782 else
7783   OTOOL64="$ac_cv_prog_OTOOL64"
7784 fi
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7813 $as_echo_n "checking for -single_module linker flag... " >&6; }
7814 if ${lt_cv_apple_cc_single_mod+:} false; then :
7815   $as_echo_n "(cached) " >&6
7816 else
7817   lt_cv_apple_cc_single_mod=no
7818       if test -z "${LT_MULTI_MODULE}"; then
7819         # By default we will add the -single_module flag. You can override
7820         # by either setting the environment variable LT_MULTI_MODULE
7821         # non-empty at configure time, or by adding -multi_module to the
7822         # link flags.
7823         rm -rf libconftest.dylib*
7824         echo "int foo(void){return 1;}" > conftest.c
7825         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7826 -dynamiclib -Wl,-single_module conftest.c" >&5
7827         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7828           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7829         _lt_result=$?
7830         # If there is a non-empty error log, and "single_module"
7831         # appears in it, assume the flag caused a linker warning
7832         if test -s conftest.err && $GREP single_module conftest.err; then
7833           cat conftest.err >&5
7834         # Otherwise, if the output was created with a 0 exit code from
7835         # the compiler, it worked.
7836         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7837           lt_cv_apple_cc_single_mod=yes
7838         else
7839           cat conftest.err >&5
7840         fi
7841         rm -rf libconftest.dylib*
7842         rm -f conftest.*
7843       fi
7844 fi
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7846 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7847
7848     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7849 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7850 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7851   $as_echo_n "(cached) " >&6
7852 else
7853   lt_cv_ld_exported_symbols_list=no
7854       save_LDFLAGS=$LDFLAGS
7855       echo "_main" > conftest.sym
7856       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7857       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7858 /* end confdefs.h.  */
7859
7860 int
7861 main ()
7862 {
7863
7864   ;
7865   return 0;
7866 }
7867 _ACEOF
7868 if ac_fn_c_try_link "$LINENO"; then :
7869   lt_cv_ld_exported_symbols_list=yes
7870 else
7871   lt_cv_ld_exported_symbols_list=no
7872 fi
7873 rm -f core conftest.err conftest.$ac_objext \
7874     conftest$ac_exeext conftest.$ac_ext
7875         LDFLAGS="$save_LDFLAGS"
7876
7877 fi
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7879 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7880
7881     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7882 $as_echo_n "checking for -force_load linker flag... " >&6; }
7883 if ${lt_cv_ld_force_load+:} false; then :
7884   $as_echo_n "(cached) " >&6
7885 else
7886   lt_cv_ld_force_load=no
7887       cat > conftest.c << _LT_EOF
7888 int forced_loaded() { return 2;}
7889 _LT_EOF
7890       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7891       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7892       echo "$AR cru libconftest.a conftest.o" >&5
7893       $AR cru libconftest.a conftest.o 2>&5
7894       echo "$RANLIB libconftest.a" >&5
7895       $RANLIB libconftest.a 2>&5
7896       cat > conftest.c << _LT_EOF
7897 int main() { return 0;}
7898 _LT_EOF
7899       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7900       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7901       _lt_result=$?
7902       if test -s conftest.err && $GREP force_load conftest.err; then
7903         cat conftest.err >&5
7904       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7905         lt_cv_ld_force_load=yes
7906       else
7907         cat conftest.err >&5
7908       fi
7909         rm -f conftest.err libconftest.a conftest conftest.c
7910         rm -rf conftest.dSYM
7911
7912 fi
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7914 $as_echo "$lt_cv_ld_force_load" >&6; }
7915     case $host_os in
7916     rhapsody* | darwin1.[012])
7917       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7918     darwin1.*)
7919       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7920     darwin*) # darwin 5.x on
7921       # if running on 10.5 or later, the deployment target defaults
7922       # to the OS version, if on x86, and 10.4, the deployment
7923       # target defaults to 10.4. Don't you love it?
7924       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7925         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7926           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7927         10.[012]*)
7928           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7929         10.*)
7930           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7931       esac
7932     ;;
7933   esac
7934     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7935       _lt_dar_single_mod='$single_module'
7936     fi
7937     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7938       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7939     else
7940       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7941     fi
7942     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7943       _lt_dsymutil='~$DSYMUTIL $lib || :'
7944     else
7945       _lt_dsymutil=
7946     fi
7947     ;;
7948   esac
7949
7950 ac_ext=c
7951 ac_cpp='$CPP $CPPFLAGS'
7952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7956 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7957 # On Suns, sometimes $CPP names a directory.
7958 if test -n "$CPP" && test -d "$CPP"; then
7959   CPP=
7960 fi
7961 if test -z "$CPP"; then
7962   if ${ac_cv_prog_CPP+:} false; then :
7963   $as_echo_n "(cached) " >&6
7964 else
7965       # Double quotes because CPP needs to be expanded
7966     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7967     do
7968       ac_preproc_ok=false
7969 for ac_c_preproc_warn_flag in '' yes
7970 do
7971   # Use a header file that comes with gcc, so configuring glibc
7972   # with a fresh cross-compiler works.
7973   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7974   # <limits.h> exists even on freestanding compilers.
7975   # On the NeXT, cc -E runs the code through the compiler's parser,
7976   # not just through cpp. "Syntax error" is here to catch this case.
7977   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7978 /* end confdefs.h.  */
7979 #ifdef __STDC__
7980 # include <limits.h>
7981 #else
7982 # include <assert.h>
7983 #endif
7984                      Syntax error
7985 _ACEOF
7986 if ac_fn_c_try_cpp "$LINENO"; then :
7987
7988 else
7989   # Broken: fails on valid input.
7990 continue
7991 fi
7992 rm -f conftest.err conftest.i conftest.$ac_ext
7993
7994   # OK, works on sane cases.  Now check whether nonexistent headers
7995   # can be detected and how.
7996   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7997 /* end confdefs.h.  */
7998 #include <ac_nonexistent.h>
7999 _ACEOF
8000 if ac_fn_c_try_cpp "$LINENO"; then :
8001   # Broken: success on invalid input.
8002 continue
8003 else
8004   # Passes both tests.
8005 ac_preproc_ok=:
8006 break
8007 fi
8008 rm -f conftest.err conftest.i conftest.$ac_ext
8009
8010 done
8011 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8012 rm -f conftest.i conftest.err conftest.$ac_ext
8013 if $ac_preproc_ok; then :
8014   break
8015 fi
8016
8017     done
8018     ac_cv_prog_CPP=$CPP
8019
8020 fi
8021   CPP=$ac_cv_prog_CPP
8022 else
8023   ac_cv_prog_CPP=$CPP
8024 fi
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8026 $as_echo "$CPP" >&6; }
8027 ac_preproc_ok=false
8028 for ac_c_preproc_warn_flag in '' yes
8029 do
8030   # Use a header file that comes with gcc, so configuring glibc
8031   # with a fresh cross-compiler works.
8032   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8033   # <limits.h> exists even on freestanding compilers.
8034   # On the NeXT, cc -E runs the code through the compiler's parser,
8035   # not just through cpp. "Syntax error" is here to catch this case.
8036   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8037 /* end confdefs.h.  */
8038 #ifdef __STDC__
8039 # include <limits.h>
8040 #else
8041 # include <assert.h>
8042 #endif
8043                      Syntax error
8044 _ACEOF
8045 if ac_fn_c_try_cpp "$LINENO"; then :
8046
8047 else
8048   # Broken: fails on valid input.
8049 continue
8050 fi
8051 rm -f conftest.err conftest.i conftest.$ac_ext
8052
8053   # OK, works on sane cases.  Now check whether nonexistent headers
8054   # can be detected and how.
8055   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8056 /* end confdefs.h.  */
8057 #include <ac_nonexistent.h>
8058 _ACEOF
8059 if ac_fn_c_try_cpp "$LINENO"; then :
8060   # Broken: success on invalid input.
8061 continue
8062 else
8063   # Passes both tests.
8064 ac_preproc_ok=:
8065 break
8066 fi
8067 rm -f conftest.err conftest.i conftest.$ac_ext
8068
8069 done
8070 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8071 rm -f conftest.i conftest.err conftest.$ac_ext
8072 if $ac_preproc_ok; then :
8073
8074 else
8075   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8076 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8077 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8078 See \`config.log' for more details" "$LINENO" 5; }
8079 fi
8080
8081 ac_ext=c
8082 ac_cpp='$CPP $CPPFLAGS'
8083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8086
8087
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8089 $as_echo_n "checking for ANSI C header files... " >&6; }
8090 if ${ac_cv_header_stdc+:} false; then :
8091   $as_echo_n "(cached) " >&6
8092 else
8093   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8094 /* end confdefs.h.  */
8095 #include <stdlib.h>
8096 #include <stdarg.h>
8097 #include <string.h>
8098 #include <float.h>
8099
8100 int
8101 main ()
8102 {
8103
8104   ;
8105   return 0;
8106 }
8107 _ACEOF
8108 if ac_fn_c_try_compile "$LINENO"; then :
8109   ac_cv_header_stdc=yes
8110 else
8111   ac_cv_header_stdc=no
8112 fi
8113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8114
8115 if test $ac_cv_header_stdc = yes; then
8116   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8117   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8118 /* end confdefs.h.  */
8119 #include <string.h>
8120
8121 _ACEOF
8122 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8123   $EGREP "memchr" >/dev/null 2>&1; then :
8124
8125 else
8126   ac_cv_header_stdc=no
8127 fi
8128 rm -f conftest*
8129
8130 fi
8131
8132 if test $ac_cv_header_stdc = yes; then
8133   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8134   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8135 /* end confdefs.h.  */
8136 #include <stdlib.h>
8137
8138 _ACEOF
8139 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8140   $EGREP "free" >/dev/null 2>&1; then :
8141
8142 else
8143   ac_cv_header_stdc=no
8144 fi
8145 rm -f conftest*
8146
8147 fi
8148
8149 if test $ac_cv_header_stdc = yes; then
8150   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8151   if test "$cross_compiling" = yes; then :
8152   :
8153 else
8154   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8155 /* end confdefs.h.  */
8156 #include <ctype.h>
8157 #include <stdlib.h>
8158 #if ((' ' & 0x0FF) == 0x020)
8159 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8160 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8161 #else
8162 # define ISLOWER(c) \
8163                    (('a' <= (c) && (c) <= 'i') \
8164                      || ('j' <= (c) && (c) <= 'r') \
8165                      || ('s' <= (c) && (c) <= 'z'))
8166 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8167 #endif
8168
8169 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8170 int
8171 main ()
8172 {
8173   int i;
8174   for (i = 0; i < 256; i++)
8175     if (XOR (islower (i), ISLOWER (i))
8176         || toupper (i) != TOUPPER (i))
8177       return 2;
8178   return 0;
8179 }
8180 _ACEOF
8181 if ac_fn_c_try_run "$LINENO"; then :
8182
8183 else
8184   ac_cv_header_stdc=no
8185 fi
8186 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8187   conftest.$ac_objext conftest.beam conftest.$ac_ext
8188 fi
8189
8190 fi
8191 fi
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8193 $as_echo "$ac_cv_header_stdc" >&6; }
8194 if test $ac_cv_header_stdc = yes; then
8195
8196 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8197
8198 fi
8199
8200 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8201 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8202                   inttypes.h stdint.h unistd.h
8203 do :
8204   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8205 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8206 "
8207 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8208   cat >>confdefs.h <<_ACEOF
8209 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8210 _ACEOF
8211
8212 fi
8213
8214 done
8215
8216
8217 for ac_header in dlfcn.h
8218 do :
8219   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8220 "
8221 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8222   cat >>confdefs.h <<_ACEOF
8223 #define HAVE_DLFCN_H 1
8224 _ACEOF
8225
8226 fi
8227
8228 done
8229
8230
8231
8232
8233
8234 # Set options
8235
8236
8237
8238         enable_dlopen=no
8239
8240
8241   enable_win32_dll=no
8242
8243
8244             # Check whether --enable-shared was given.
8245 if test "${enable_shared+set}" = set; then :
8246   enableval=$enable_shared; p=${PACKAGE-default}
8247     case $enableval in
8248     yes) enable_shared=yes ;;
8249     no) enable_shared=no ;;
8250     *)
8251       enable_shared=no
8252       # Look at the argument we got.  We use all the common list separators.
8253       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8254       for pkg in $enableval; do
8255         IFS="$lt_save_ifs"
8256         if test "X$pkg" = "X$p"; then
8257           enable_shared=yes
8258         fi
8259       done
8260       IFS="$lt_save_ifs"
8261       ;;
8262     esac
8263 else
8264   enable_shared=yes
8265 fi
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275   # Check whether --enable-static was given.
8276 if test "${enable_static+set}" = set; then :
8277   enableval=$enable_static; p=${PACKAGE-default}
8278     case $enableval in
8279     yes) enable_static=yes ;;
8280     no) enable_static=no ;;
8281     *)
8282      enable_static=no
8283       # Look at the argument we got.  We use all the common list separators.
8284       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8285       for pkg in $enableval; do
8286         IFS="$lt_save_ifs"
8287         if test "X$pkg" = "X$p"; then
8288           enable_static=yes
8289         fi
8290       done
8291       IFS="$lt_save_ifs"
8292       ;;
8293     esac
8294 else
8295   enable_static=yes
8296 fi
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307 # Check whether --with-pic was given.
8308 if test "${with_pic+set}" = set; then :
8309   withval=$with_pic; lt_p=${PACKAGE-default}
8310     case $withval in
8311     yes|no) pic_mode=$withval ;;
8312     *)
8313       pic_mode=default
8314       # Look at the argument we got.  We use all the common list separators.
8315       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8316       for lt_pkg in $withval; do
8317         IFS="$lt_save_ifs"
8318         if test "X$lt_pkg" = "X$lt_p"; then
8319           pic_mode=yes
8320         fi
8321       done
8322       IFS="$lt_save_ifs"
8323       ;;
8324     esac
8325 else
8326   pic_mode=default
8327 fi
8328
8329
8330 test -z "$pic_mode" && pic_mode=default
8331
8332
8333
8334
8335
8336
8337
8338   # Check whether --enable-fast-install was given.
8339 if test "${enable_fast_install+set}" = set; then :
8340   enableval=$enable_fast_install; p=${PACKAGE-default}
8341     case $enableval in
8342     yes) enable_fast_install=yes ;;
8343     no) enable_fast_install=no ;;
8344     *)
8345       enable_fast_install=no
8346       # Look at the argument we got.  We use all the common list separators.
8347       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8348       for pkg in $enableval; do
8349         IFS="$lt_save_ifs"
8350         if test "X$pkg" = "X$p"; then
8351           enable_fast_install=yes
8352         fi
8353       done
8354       IFS="$lt_save_ifs"
8355       ;;
8356     esac
8357 else
8358   enable_fast_install=yes
8359 fi
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371 # This can be used to rebuild libtool when needed
8372 LIBTOOL_DEPS="$ltmain"
8373
8374 # Always use our own libtool.
8375 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406 test -z "$LN_S" && LN_S="ln -s"
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421 if test -n "${ZSH_VERSION+set}" ; then
8422    setopt NO_GLOB_SUBST
8423 fi
8424
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8426 $as_echo_n "checking for objdir... " >&6; }
8427 if ${lt_cv_objdir+:} false; then :
8428   $as_echo_n "(cached) " >&6
8429 else
8430   rm -f .libs 2>/dev/null
8431 mkdir .libs 2>/dev/null
8432 if test -d .libs; then
8433   lt_cv_objdir=.libs
8434 else
8435   # MS-DOS does not allow filenames that begin with a dot.
8436   lt_cv_objdir=_libs
8437 fi
8438 rmdir .libs 2>/dev/null
8439 fi
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8441 $as_echo "$lt_cv_objdir" >&6; }
8442 objdir=$lt_cv_objdir
8443
8444
8445
8446
8447
8448 cat >>confdefs.h <<_ACEOF
8449 #define LT_OBJDIR "$lt_cv_objdir/"
8450 _ACEOF
8451
8452
8453
8454
8455 case $host_os in
8456 aix3*)
8457   # AIX sometimes has problems with the GCC collect2 program.  For some
8458   # reason, if we set the COLLECT_NAMES environment variable, the problems
8459   # vanish in a puff of smoke.
8460   if test "X${COLLECT_NAMES+set}" != Xset; then
8461     COLLECT_NAMES=
8462     export COLLECT_NAMES
8463   fi
8464   ;;
8465 esac
8466
8467 # Global variables:
8468 ofile=libtool
8469 can_build_shared=yes
8470
8471 # All known linkers require a `.a' archive for static linking (except MSVC,
8472 # which needs '.lib').
8473 libext=a
8474
8475 with_gnu_ld="$lt_cv_prog_gnu_ld"
8476
8477 old_CC="$CC"
8478 old_CFLAGS="$CFLAGS"
8479
8480 # Set sane defaults for various variables
8481 test -z "$CC" && CC=cc
8482 test -z "$LTCC" && LTCC=$CC
8483 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8484 test -z "$LD" && LD=ld
8485 test -z "$ac_objext" && ac_objext=o
8486
8487 for cc_temp in $compiler""; do
8488   case $cc_temp in
8489     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8490     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8491     \-*) ;;
8492     *) break;;
8493   esac
8494 done
8495 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8496
8497
8498 # Only perform the check for file, if the check method requires it
8499 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8500 case $deplibs_check_method in
8501 file_magic*)
8502   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8503     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8504 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8505 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8506   $as_echo_n "(cached) " >&6
8507 else
8508   case $MAGIC_CMD in
8509 [\\/*] |  ?:[\\/]*)
8510   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8511   ;;
8512 *)
8513   lt_save_MAGIC_CMD="$MAGIC_CMD"
8514   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8515   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8516   for ac_dir in $ac_dummy; do
8517     IFS="$lt_save_ifs"
8518     test -z "$ac_dir" && ac_dir=.
8519     if test -f $ac_dir/${ac_tool_prefix}file; then
8520       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8521       if test -n "$file_magic_test_file"; then
8522         case $deplibs_check_method in
8523         "file_magic "*)
8524           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8525           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8526           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8527             $EGREP "$file_magic_regex" > /dev/null; then
8528             :
8529           else
8530             cat <<_LT_EOF 1>&2
8531
8532 *** Warning: the command libtool uses to detect shared libraries,
8533 *** $file_magic_cmd, produces output that libtool cannot recognize.
8534 *** The result is that libtool may fail to recognize shared libraries
8535 *** as such.  This will affect the creation of libtool libraries that
8536 *** depend on shared libraries, but programs linked with such libtool
8537 *** libraries will work regardless of this problem.  Nevertheless, you
8538 *** may want to report the problem to your system manager and/or to
8539 *** bug-libtool@gnu.org
8540
8541 _LT_EOF
8542           fi ;;
8543         esac
8544       fi
8545       break
8546     fi
8547   done
8548   IFS="$lt_save_ifs"
8549   MAGIC_CMD="$lt_save_MAGIC_CMD"
8550   ;;
8551 esac
8552 fi
8553
8554 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8555 if test -n "$MAGIC_CMD"; then
8556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8557 $as_echo "$MAGIC_CMD" >&6; }
8558 else
8559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8560 $as_echo "no" >&6; }
8561 fi
8562
8563
8564
8565
8566
8567 if test -z "$lt_cv_path_MAGIC_CMD"; then
8568   if test -n "$ac_tool_prefix"; then
8569     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8570 $as_echo_n "checking for file... " >&6; }
8571 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8572   $as_echo_n "(cached) " >&6
8573 else
8574   case $MAGIC_CMD in
8575 [\\/*] |  ?:[\\/]*)
8576   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8577   ;;
8578 *)
8579   lt_save_MAGIC_CMD="$MAGIC_CMD"
8580   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8581   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8582   for ac_dir in $ac_dummy; do
8583     IFS="$lt_save_ifs"
8584     test -z "$ac_dir" && ac_dir=.
8585     if test -f $ac_dir/file; then
8586       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8587       if test -n "$file_magic_test_file"; then
8588         case $deplibs_check_method in
8589         "file_magic "*)
8590           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8591           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8592           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8593             $EGREP "$file_magic_regex" > /dev/null; then
8594             :
8595           else
8596             cat <<_LT_EOF 1>&2
8597
8598 *** Warning: the command libtool uses to detect shared libraries,
8599 *** $file_magic_cmd, produces output that libtool cannot recognize.
8600 *** The result is that libtool may fail to recognize shared libraries
8601 *** as such.  This will affect the creation of libtool libraries that
8602 *** depend on shared libraries, but programs linked with such libtool
8603 *** libraries will work regardless of this problem.  Nevertheless, you
8604 *** may want to report the problem to your system manager and/or to
8605 *** bug-libtool@gnu.org
8606
8607 _LT_EOF
8608           fi ;;
8609         esac
8610       fi
8611       break
8612     fi
8613   done
8614   IFS="$lt_save_ifs"
8615   MAGIC_CMD="$lt_save_MAGIC_CMD"
8616   ;;
8617 esac
8618 fi
8619
8620 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8621 if test -n "$MAGIC_CMD"; then
8622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8623 $as_echo "$MAGIC_CMD" >&6; }
8624 else
8625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8626 $as_echo "no" >&6; }
8627 fi
8628
8629
8630   else
8631     MAGIC_CMD=:
8632   fi
8633 fi
8634
8635   fi
8636   ;;
8637 esac
8638
8639 # Use C for the default configuration in the libtool script
8640
8641 lt_save_CC="$CC"
8642 ac_ext=c
8643 ac_cpp='$CPP $CPPFLAGS'
8644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8647
8648
8649 # Source file extension for C test sources.
8650 ac_ext=c
8651
8652 # Object file extension for compiled C test sources.
8653 objext=o
8654 objext=$objext
8655
8656 # Code to be used in simple compile tests
8657 lt_simple_compile_test_code="int some_variable = 0;"
8658
8659 # Code to be used in simple link tests
8660 lt_simple_link_test_code='int main(){return(0);}'
8661
8662
8663
8664
8665
8666
8667
8668 # If no C compiler was specified, use CC.
8669 LTCC=${LTCC-"$CC"}
8670
8671 # If no C compiler flags were specified, use CFLAGS.
8672 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8673
8674 # Allow CC to be a program name with arguments.
8675 compiler=$CC
8676
8677 # Save the default compiler, since it gets overwritten when the other
8678 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8679 compiler_DEFAULT=$CC
8680
8681 # save warnings/boilerplate of simple test code
8682 ac_outfile=conftest.$ac_objext
8683 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8684 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8685 _lt_compiler_boilerplate=`cat conftest.err`
8686 $RM conftest*
8687
8688 ac_outfile=conftest.$ac_objext
8689 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8690 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8691 _lt_linker_boilerplate=`cat conftest.err`
8692 $RM -r conftest*
8693
8694
8695 if test -n "$compiler"; then
8696
8697 lt_prog_compiler_no_builtin_flag=
8698
8699 if test "$GCC" = yes; then
8700   case $cc_basename in
8701   nvcc*)
8702     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8703   *)
8704     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8705   esac
8706
8707   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8708 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8709 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8710   $as_echo_n "(cached) " >&6
8711 else
8712   lt_cv_prog_compiler_rtti_exceptions=no
8713    ac_outfile=conftest.$ac_objext
8714    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8715    lt_compiler_flag="-fno-rtti -fno-exceptions"
8716    # Insert the option either (1) after the last *FLAGS variable, or
8717    # (2) before a word containing "conftest.", or (3) at the end.
8718    # Note that $ac_compile itself does not contain backslashes and begins
8719    # with a dollar sign (not a hyphen), so the echo should work correctly.
8720    # The option is referenced via a variable to avoid confusing sed.
8721    lt_compile=`echo "$ac_compile" | $SED \
8722    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8723    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8724    -e 's:$: $lt_compiler_flag:'`
8725    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8726    (eval "$lt_compile" 2>conftest.err)
8727    ac_status=$?
8728    cat conftest.err >&5
8729    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8730    if (exit $ac_status) && test -s "$ac_outfile"; then
8731      # The compiler can only warn and ignore the option if not recognized
8732      # So say no if there are warnings other than the usual output.
8733      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8734      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8735      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8736        lt_cv_prog_compiler_rtti_exceptions=yes
8737      fi
8738    fi
8739    $RM conftest*
8740
8741 fi
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8743 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8744
8745 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8746     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8747 else
8748     :
8749 fi
8750
8751 fi
8752
8753
8754
8755
8756
8757
8758   lt_prog_compiler_wl=
8759 lt_prog_compiler_pic=
8760 lt_prog_compiler_static=
8761
8762
8763   if test "$GCC" = yes; then
8764     lt_prog_compiler_wl='-Wl,'
8765     lt_prog_compiler_static='-static'
8766
8767     case $host_os in
8768       aix*)
8769       # All AIX code is PIC.
8770       if test "$host_cpu" = ia64; then
8771         # AIX 5 now supports IA64 processor
8772         lt_prog_compiler_static='-Bstatic'
8773       fi
8774       ;;
8775
8776     amigaos*)
8777       case $host_cpu in
8778       powerpc)
8779             # see comment about AmigaOS4 .so support
8780             lt_prog_compiler_pic='-fPIC'
8781         ;;
8782       m68k)
8783             # FIXME: we need at least 68020 code to build shared libraries, but
8784             # adding the `-m68020' flag to GCC prevents building anything better,
8785             # like `-m68040'.
8786             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8787         ;;
8788       esac
8789       ;;
8790
8791     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8792       # PIC is the default for these OSes.
8793       ;;
8794
8795     mingw* | cygwin* | pw32* | os2* | cegcc*)
8796       # This hack is so that the source file can tell whether it is being
8797       # built for inclusion in a dll (and should export symbols for example).
8798       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8799       # (--disable-auto-import) libraries
8800       lt_prog_compiler_pic='-DDLL_EXPORT'
8801       ;;
8802
8803     darwin* | rhapsody*)
8804       # PIC is the default on this platform
8805       # Common symbols not allowed in MH_DYLIB files
8806       lt_prog_compiler_pic='-fno-common'
8807       ;;
8808
8809     haiku*)
8810       # PIC is the default for Haiku.
8811       # The "-static" flag exists, but is broken.
8812       lt_prog_compiler_static=
8813       ;;
8814
8815     hpux*)
8816       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8817       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8818       # sets the default TLS model and affects inlining.
8819       case $host_cpu in
8820       hppa*64*)
8821         # +Z the default
8822         ;;
8823       *)
8824         lt_prog_compiler_pic='-fPIC'
8825         ;;
8826       esac
8827       ;;
8828
8829     interix[3-9]*)
8830       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8831       # Instead, we relocate shared libraries at runtime.
8832       ;;
8833
8834     msdosdjgpp*)
8835       # Just because we use GCC doesn't mean we suddenly get shared libraries
8836       # on systems that don't support them.
8837       lt_prog_compiler_can_build_shared=no
8838       enable_shared=no
8839       ;;
8840
8841     *nto* | *qnx*)
8842       # QNX uses GNU C++, but need to define -shared option too, otherwise
8843       # it will coredump.
8844       lt_prog_compiler_pic='-fPIC -shared'
8845       ;;
8846
8847     sysv4*MP*)
8848       if test -d /usr/nec; then
8849         lt_prog_compiler_pic=-Kconform_pic
8850       fi
8851       ;;
8852
8853     *)
8854       lt_prog_compiler_pic='-fPIC'
8855       ;;
8856     esac
8857
8858     case $cc_basename in
8859     nvcc*) # Cuda Compiler Driver 2.2
8860       lt_prog_compiler_wl='-Xlinker '
8861       if test -n "$lt_prog_compiler_pic"; then
8862         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8863       fi
8864       ;;
8865     esac
8866   else
8867     # PORTME Check for flag to pass linker flags through the system compiler.
8868     case $host_os in
8869     aix*)
8870       lt_prog_compiler_wl='-Wl,'
8871       if test "$host_cpu" = ia64; then
8872         # AIX 5 now supports IA64 processor
8873         lt_prog_compiler_static='-Bstatic'
8874       else
8875         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8876       fi
8877       ;;
8878
8879     mingw* | cygwin* | pw32* | os2* | cegcc*)
8880       # This hack is so that the source file can tell whether it is being
8881       # built for inclusion in a dll (and should export symbols for example).
8882       lt_prog_compiler_pic='-DDLL_EXPORT'
8883       ;;
8884
8885     hpux9* | hpux10* | hpux11*)
8886       lt_prog_compiler_wl='-Wl,'
8887       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8888       # not for PA HP-UX.
8889       case $host_cpu in
8890       hppa*64*|ia64*)
8891         # +Z the default
8892         ;;
8893       *)
8894         lt_prog_compiler_pic='+Z'
8895         ;;
8896       esac
8897       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8898       lt_prog_compiler_static='${wl}-a ${wl}archive'
8899       ;;
8900
8901     irix5* | irix6* | nonstopux*)
8902       lt_prog_compiler_wl='-Wl,'
8903       # PIC (with -KPIC) is the default.
8904       lt_prog_compiler_static='-non_shared'
8905       ;;
8906
8907     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8908       case $cc_basename in
8909       # old Intel for x86_64 which still supported -KPIC.
8910       ecc*)
8911         lt_prog_compiler_wl='-Wl,'
8912         lt_prog_compiler_pic='-KPIC'
8913         lt_prog_compiler_static='-static'
8914         ;;
8915       # icc used to be incompatible with GCC.
8916       # ICC 10 doesn't accept -KPIC any more.
8917       icc* | ifort*)
8918         lt_prog_compiler_wl='-Wl,'
8919         lt_prog_compiler_pic='-fPIC'
8920         lt_prog_compiler_static='-static'
8921         ;;
8922       # Lahey Fortran 8.1.
8923       lf95*)
8924         lt_prog_compiler_wl='-Wl,'
8925         lt_prog_compiler_pic='--shared'
8926         lt_prog_compiler_static='--static'
8927         ;;
8928       nagfor*)
8929         # NAG Fortran compiler
8930         lt_prog_compiler_wl='-Wl,-Wl,,'
8931         lt_prog_compiler_pic='-PIC'
8932         lt_prog_compiler_static='-Bstatic'
8933         ;;
8934       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8935         # Portland Group compilers (*not* the Pentium gcc compiler,
8936         # which looks to be a dead project)
8937         lt_prog_compiler_wl='-Wl,'
8938         lt_prog_compiler_pic='-fpic'
8939         lt_prog_compiler_static='-Bstatic'
8940         ;;
8941       ccc*)
8942         lt_prog_compiler_wl='-Wl,'
8943         # All Alpha code is PIC.
8944         lt_prog_compiler_static='-non_shared'
8945         ;;
8946       xl* | bgxl* | bgf* | mpixl*)
8947         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8948         lt_prog_compiler_wl='-Wl,'
8949         lt_prog_compiler_pic='-qpic'
8950         lt_prog_compiler_static='-qstaticlink'
8951         ;;
8952       *)
8953         case `$CC -V 2>&1 | sed 5q` in
8954         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8955           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8956           lt_prog_compiler_pic='-KPIC'
8957           lt_prog_compiler_static='-Bstatic'
8958           lt_prog_compiler_wl=''
8959           ;;
8960         *Sun\ F* | *Sun*Fortran*)
8961           lt_prog_compiler_pic='-KPIC'
8962           lt_prog_compiler_static='-Bstatic'
8963           lt_prog_compiler_wl='-Qoption ld '
8964           ;;
8965         *Sun\ C*)
8966           # Sun C 5.9
8967           lt_prog_compiler_pic='-KPIC'
8968           lt_prog_compiler_static='-Bstatic'
8969           lt_prog_compiler_wl='-Wl,'
8970           ;;
8971         *Intel*\ [CF]*Compiler*)
8972           lt_prog_compiler_wl='-Wl,'
8973           lt_prog_compiler_pic='-fPIC'
8974           lt_prog_compiler_static='-static'
8975           ;;
8976         *Portland\ Group*)
8977           lt_prog_compiler_wl='-Wl,'
8978           lt_prog_compiler_pic='-fpic'
8979           lt_prog_compiler_static='-Bstatic'
8980           ;;
8981         esac
8982         ;;
8983       esac
8984       ;;
8985
8986     newsos6)
8987       lt_prog_compiler_pic='-KPIC'
8988       lt_prog_compiler_static='-Bstatic'
8989       ;;
8990
8991     *nto* | *qnx*)
8992       # QNX uses GNU C++, but need to define -shared option too, otherwise
8993       # it will coredump.
8994       lt_prog_compiler_pic='-fPIC -shared'
8995       ;;
8996
8997     osf3* | osf4* | osf5*)
8998       lt_prog_compiler_wl='-Wl,'
8999       # All OSF/1 code is PIC.
9000       lt_prog_compiler_static='-non_shared'
9001       ;;
9002
9003     rdos*)
9004       lt_prog_compiler_static='-non_shared'
9005       ;;
9006
9007     solaris*)
9008       lt_prog_compiler_pic='-KPIC'
9009       lt_prog_compiler_static='-Bstatic'
9010       case $cc_basename in
9011       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9012         lt_prog_compiler_wl='-Qoption ld ';;
9013       *)
9014         lt_prog_compiler_wl='-Wl,';;
9015       esac
9016       ;;
9017
9018     sunos4*)
9019       lt_prog_compiler_wl='-Qoption ld '
9020       lt_prog_compiler_pic='-PIC'
9021       lt_prog_compiler_static='-Bstatic'
9022       ;;
9023
9024     sysv4 | sysv4.2uw2* | sysv4.3*)
9025       lt_prog_compiler_wl='-Wl,'
9026       lt_prog_compiler_pic='-KPIC'
9027       lt_prog_compiler_static='-Bstatic'
9028       ;;
9029
9030     sysv4*MP*)
9031       if test -d /usr/nec ;then
9032         lt_prog_compiler_pic='-Kconform_pic'
9033         lt_prog_compiler_static='-Bstatic'
9034       fi
9035       ;;
9036
9037     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9038       lt_prog_compiler_wl='-Wl,'
9039       lt_prog_compiler_pic='-KPIC'
9040       lt_prog_compiler_static='-Bstatic'
9041       ;;
9042
9043     unicos*)
9044       lt_prog_compiler_wl='-Wl,'
9045       lt_prog_compiler_can_build_shared=no
9046       ;;
9047
9048     uts4*)
9049       lt_prog_compiler_pic='-pic'
9050       lt_prog_compiler_static='-Bstatic'
9051       ;;
9052
9053     *)
9054       lt_prog_compiler_can_build_shared=no
9055       ;;
9056     esac
9057   fi
9058
9059 case $host_os in
9060   # For platforms which do not support PIC, -DPIC is meaningless:
9061   *djgpp*)
9062     lt_prog_compiler_pic=
9063     ;;
9064   *)
9065     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9066     ;;
9067 esac
9068
9069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9070 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9071 if ${lt_cv_prog_compiler_pic+:} false; then :
9072   $as_echo_n "(cached) " >&6
9073 else
9074   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9075 fi
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9077 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9078 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9079
9080 #
9081 # Check to make sure the PIC flag actually works.
9082 #
9083 if test -n "$lt_prog_compiler_pic"; then
9084   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9085 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9086 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9087   $as_echo_n "(cached) " >&6
9088 else
9089   lt_cv_prog_compiler_pic_works=no
9090    ac_outfile=conftest.$ac_objext
9091    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9092    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9093    # Insert the option either (1) after the last *FLAGS variable, or
9094    # (2) before a word containing "conftest.", or (3) at the end.
9095    # Note that $ac_compile itself does not contain backslashes and begins
9096    # with a dollar sign (not a hyphen), so the echo should work correctly.
9097    # The option is referenced via a variable to avoid confusing sed.
9098    lt_compile=`echo "$ac_compile" | $SED \
9099    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9100    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9101    -e 's:$: $lt_compiler_flag:'`
9102    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9103    (eval "$lt_compile" 2>conftest.err)
9104    ac_status=$?
9105    cat conftest.err >&5
9106    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9107    if (exit $ac_status) && test -s "$ac_outfile"; then
9108      # The compiler can only warn and ignore the option if not recognized
9109      # So say no if there are warnings other than the usual output.
9110      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9111      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9112      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9113        lt_cv_prog_compiler_pic_works=yes
9114      fi
9115    fi
9116    $RM conftest*
9117
9118 fi
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9120 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9121
9122 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9123     case $lt_prog_compiler_pic in
9124      "" | " "*) ;;
9125      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9126      esac
9127 else
9128     lt_prog_compiler_pic=
9129      lt_prog_compiler_can_build_shared=no
9130 fi
9131
9132 fi
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144 #
9145 # Check to make sure the static flag actually works.
9146 #
9147 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9149 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9150 if ${lt_cv_prog_compiler_static_works+:} false; then :
9151   $as_echo_n "(cached) " >&6
9152 else
9153   lt_cv_prog_compiler_static_works=no
9154    save_LDFLAGS="$LDFLAGS"
9155    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9156    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9157    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9158      # The linker can only warn and ignore the option if not recognized
9159      # So say no if there are warnings
9160      if test -s conftest.err; then
9161        # Append any errors to the config.log.
9162        cat conftest.err 1>&5
9163        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9164        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9165        if diff conftest.exp conftest.er2 >/dev/null; then
9166          lt_cv_prog_compiler_static_works=yes
9167        fi
9168      else
9169        lt_cv_prog_compiler_static_works=yes
9170      fi
9171    fi
9172    $RM -r conftest*
9173    LDFLAGS="$save_LDFLAGS"
9174
9175 fi
9176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9177 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9178
9179 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9180     :
9181 else
9182     lt_prog_compiler_static=
9183 fi
9184
9185
9186
9187
9188
9189
9190
9191   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9192 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9193 if ${lt_cv_prog_compiler_c_o+:} false; then :
9194   $as_echo_n "(cached) " >&6
9195 else
9196   lt_cv_prog_compiler_c_o=no
9197    $RM -r conftest 2>/dev/null
9198    mkdir conftest
9199    cd conftest
9200    mkdir out
9201    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9202
9203    lt_compiler_flag="-o out/conftest2.$ac_objext"
9204    # Insert the option either (1) after the last *FLAGS variable, or
9205    # (2) before a word containing "conftest.", or (3) at the end.
9206    # Note that $ac_compile itself does not contain backslashes and begins
9207    # with a dollar sign (not a hyphen), so the echo should work correctly.
9208    lt_compile=`echo "$ac_compile" | $SED \
9209    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9210    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9211    -e 's:$: $lt_compiler_flag:'`
9212    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9213    (eval "$lt_compile" 2>out/conftest.err)
9214    ac_status=$?
9215    cat out/conftest.err >&5
9216    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9217    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9218    then
9219      # The compiler can only warn and ignore the option if not recognized
9220      # So say no if there are warnings
9221      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9222      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9223      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9224        lt_cv_prog_compiler_c_o=yes
9225      fi
9226    fi
9227    chmod u+w . 2>&5
9228    $RM conftest*
9229    # SGI C++ compiler will create directory out/ii_files/ for
9230    # template instantiation
9231    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9232    $RM out/* && rmdir out
9233    cd ..
9234    $RM -r conftest
9235    $RM conftest*
9236
9237 fi
9238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9239 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9240
9241
9242
9243
9244
9245
9246   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9247 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9248 if ${lt_cv_prog_compiler_c_o+:} false; then :
9249   $as_echo_n "(cached) " >&6
9250 else
9251   lt_cv_prog_compiler_c_o=no
9252    $RM -r conftest 2>/dev/null
9253    mkdir conftest
9254    cd conftest
9255    mkdir out
9256    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9257
9258    lt_compiler_flag="-o out/conftest2.$ac_objext"
9259    # Insert the option either (1) after the last *FLAGS variable, or
9260    # (2) before a word containing "conftest.", or (3) at the end.
9261    # Note that $ac_compile itself does not contain backslashes and begins
9262    # with a dollar sign (not a hyphen), so the echo should work correctly.
9263    lt_compile=`echo "$ac_compile" | $SED \
9264    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9265    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9266    -e 's:$: $lt_compiler_flag:'`
9267    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9268    (eval "$lt_compile" 2>out/conftest.err)
9269    ac_status=$?
9270    cat out/conftest.err >&5
9271    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9272    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9273    then
9274      # The compiler can only warn and ignore the option if not recognized
9275      # So say no if there are warnings
9276      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9277      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9278      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9279        lt_cv_prog_compiler_c_o=yes
9280      fi
9281    fi
9282    chmod u+w . 2>&5
9283    $RM conftest*
9284    # SGI C++ compiler will create directory out/ii_files/ for
9285    # template instantiation
9286    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9287    $RM out/* && rmdir out
9288    cd ..
9289    $RM -r conftest
9290    $RM conftest*
9291
9292 fi
9293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9294 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9295
9296
9297
9298
9299 hard_links="nottested"
9300 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9301   # do not overwrite the value of need_locks provided by the user
9302   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9303 $as_echo_n "checking if we can lock with hard links... " >&6; }
9304   hard_links=yes
9305   $RM conftest*
9306   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9307   touch conftest.a
9308   ln conftest.a conftest.b 2>&5 || hard_links=no
9309   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9311 $as_echo "$hard_links" >&6; }
9312   if test "$hard_links" = no; then
9313     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9314 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9315     need_locks=warn
9316   fi
9317 else
9318   need_locks=no
9319 fi
9320
9321
9322
9323
9324
9325
9326   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9327 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9328
9329   runpath_var=
9330   allow_undefined_flag=
9331   always_export_symbols=no
9332   archive_cmds=
9333   archive_expsym_cmds=
9334   compiler_needs_object=no
9335   enable_shared_with_static_runtimes=no
9336   export_dynamic_flag_spec=
9337   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9338   hardcode_automatic=no
9339   hardcode_direct=no
9340   hardcode_direct_absolute=no
9341   hardcode_libdir_flag_spec=
9342   hardcode_libdir_separator=
9343   hardcode_minus_L=no
9344   hardcode_shlibpath_var=unsupported
9345   inherit_rpath=no
9346   link_all_deplibs=unknown
9347   module_cmds=
9348   module_expsym_cmds=
9349   old_archive_from_new_cmds=
9350   old_archive_from_expsyms_cmds=
9351   thread_safe_flag_spec=
9352   whole_archive_flag_spec=
9353   # include_expsyms should be a list of space-separated symbols to be *always*
9354   # included in the symbol list
9355   include_expsyms=
9356   # exclude_expsyms can be an extended regexp of symbols to exclude
9357   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9358   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9359   # as well as any symbol that contains `d'.
9360   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9361   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9362   # platforms (ab)use it in PIC code, but their linkers get confused if
9363   # the symbol is explicitly referenced.  Since portable code cannot
9364   # rely on this symbol name, it's probably fine to never include it in
9365   # preloaded symbol tables.
9366   # Exclude shared library initialization/finalization symbols.
9367   extract_expsyms_cmds=
9368
9369   case $host_os in
9370   cygwin* | mingw* | pw32* | cegcc*)
9371     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9372     # When not using gcc, we currently assume that we are using
9373     # Microsoft Visual C++.
9374     if test "$GCC" != yes; then
9375       with_gnu_ld=no
9376     fi
9377     ;;
9378   interix*)
9379     # we just hope/assume this is gcc and not c89 (= MSVC++)
9380     with_gnu_ld=yes
9381     ;;
9382   openbsd*)
9383     with_gnu_ld=no
9384     ;;
9385   linux* | k*bsd*-gnu | gnu*)
9386     link_all_deplibs=no
9387     ;;
9388   esac
9389
9390   ld_shlibs=yes
9391
9392   # On some targets, GNU ld is compatible enough with the native linker
9393   # that we're better off using the native interface for both.
9394   lt_use_gnu_ld_interface=no
9395   if test "$with_gnu_ld" = yes; then
9396     case $host_os in
9397       aix*)
9398         # The AIX port of GNU ld has always aspired to compatibility
9399         # with the native linker.  However, as the warning in the GNU ld
9400         # block says, versions before 2.19.5* couldn't really create working
9401         # shared libraries, regardless of the interface used.
9402         case `$LD -v 2>&1` in
9403           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9404           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9405           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9406           *)
9407             lt_use_gnu_ld_interface=yes
9408             ;;
9409         esac
9410         ;;
9411       *)
9412         lt_use_gnu_ld_interface=yes
9413         ;;
9414     esac
9415   fi
9416
9417   if test "$lt_use_gnu_ld_interface" = yes; then
9418     # If archive_cmds runs LD, not CC, wlarc should be empty
9419     wlarc='${wl}'
9420
9421     # Set some defaults for GNU ld with shared library support. These
9422     # are reset later if shared libraries are not supported. Putting them
9423     # here allows them to be overridden if necessary.
9424     runpath_var=LD_RUN_PATH
9425     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9426     export_dynamic_flag_spec='${wl}--export-dynamic'
9427     # ancient GNU ld didn't support --whole-archive et. al.
9428     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9429       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9430     else
9431       whole_archive_flag_spec=
9432     fi
9433     supports_anon_versioning=no
9434     case `$LD -v 2>&1` in
9435       *GNU\ gold*) supports_anon_versioning=yes ;;
9436       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9437       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9438       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9439       *\ 2.11.*) ;; # other 2.11 versions
9440       *) supports_anon_versioning=yes ;;
9441     esac
9442
9443     # See if GNU ld supports shared libraries.
9444     case $host_os in
9445     aix[3-9]*)
9446       # On AIX/PPC, the GNU linker is very broken
9447       if test "$host_cpu" != ia64; then
9448         ld_shlibs=no
9449         cat <<_LT_EOF 1>&2
9450
9451 *** Warning: the GNU linker, at least up to release 2.19, is reported
9452 *** to be unable to reliably create shared libraries on AIX.
9453 *** Therefore, libtool is disabling shared libraries support.  If you
9454 *** really care for shared libraries, you may want to install binutils
9455 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9456 *** You will then need to restart the configuration process.
9457
9458 _LT_EOF
9459       fi
9460       ;;
9461
9462     amigaos*)
9463       case $host_cpu in
9464       powerpc)
9465             # see comment about AmigaOS4 .so support
9466             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9467             archive_expsym_cmds=''
9468         ;;
9469       m68k)
9470             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)'
9471             hardcode_libdir_flag_spec='-L$libdir'
9472             hardcode_minus_L=yes
9473         ;;
9474       esac
9475       ;;
9476
9477     beos*)
9478       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9479         allow_undefined_flag=unsupported
9480         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9481         # support --undefined.  This deserves some investigation.  FIXME
9482         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9483       else
9484         ld_shlibs=no
9485       fi
9486       ;;
9487
9488     cygwin* | mingw* | pw32* | cegcc*)
9489       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9490       # as there is no search path for DLLs.
9491       hardcode_libdir_flag_spec='-L$libdir'
9492       export_dynamic_flag_spec='${wl}--export-all-symbols'
9493       allow_undefined_flag=unsupported
9494       always_export_symbols=no
9495       enable_shared_with_static_runtimes=yes
9496       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'
9497       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9498
9499       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9500         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9501         # If the export-symbols file already is a .def file (1st line
9502         # is EXPORTS), use it as is; otherwise, prepend...
9503         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9504           cp $export_symbols $output_objdir/$soname.def;
9505         else
9506           echo EXPORTS > $output_objdir/$soname.def;
9507           cat $export_symbols >> $output_objdir/$soname.def;
9508         fi~
9509         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9510       else
9511         ld_shlibs=no
9512       fi
9513       ;;
9514
9515     haiku*)
9516       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9517       link_all_deplibs=yes
9518       ;;
9519
9520     interix[3-9]*)
9521       hardcode_direct=no
9522       hardcode_shlibpath_var=no
9523       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9524       export_dynamic_flag_spec='${wl}-E'
9525       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9526       # Instead, shared libraries are loaded at an image base (0x10000000 by
9527       # default) and relocated if they conflict, which is a slow very memory
9528       # consuming and fragmenting process.  To avoid this, we pick a random,
9529       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9530       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9531       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9532       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'
9533       ;;
9534
9535     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9536       tmp_diet=no
9537       if test "$host_os" = linux-dietlibc; then
9538         case $cc_basename in
9539           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9540         esac
9541       fi
9542       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9543          && test "$tmp_diet" = no
9544       then
9545         tmp_addflag=' $pic_flag'
9546         tmp_sharedflag='-shared'
9547         case $cc_basename,$host_cpu in
9548         pgcc*)                          # Portland Group C compiler
9549           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'
9550           tmp_addflag=' $pic_flag'
9551           ;;
9552         pgf77* | pgf90* | pgf95* | pgfortran*)
9553                                         # Portland Group f77 and f90 compilers
9554           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'
9555           tmp_addflag=' $pic_flag -Mnomain' ;;
9556         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9557           tmp_addflag=' -i_dynamic' ;;
9558         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9559           tmp_addflag=' -i_dynamic -nofor_main' ;;
9560         ifc* | ifort*)                  # Intel Fortran compiler
9561           tmp_addflag=' -nofor_main' ;;
9562         lf95*)                          # Lahey Fortran 8.1
9563           whole_archive_flag_spec=
9564           tmp_sharedflag='--shared' ;;
9565         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9566           tmp_sharedflag='-qmkshrobj'
9567           tmp_addflag= ;;
9568         nvcc*)  # Cuda Compiler Driver 2.2
9569           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'
9570           compiler_needs_object=yes
9571           ;;
9572         esac
9573         case `$CC -V 2>&1 | sed 5q` in
9574         *Sun\ C*)                       # Sun C 5.9
9575           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'
9576           compiler_needs_object=yes
9577           tmp_sharedflag='-G' ;;
9578         *Sun\ F*)                       # Sun Fortran 8.3
9579           tmp_sharedflag='-G' ;;
9580         esac
9581         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9582
9583         if test "x$supports_anon_versioning" = xyes; then
9584           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9585             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9586             echo "local: *; };" >> $output_objdir/$libname.ver~
9587             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9588         fi
9589
9590         case $cc_basename in
9591         xlf* | bgf* | bgxlf* | mpixlf*)
9592           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9593           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9594           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9595           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9596           if test "x$supports_anon_versioning" = xyes; then
9597             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9598               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9599               echo "local: *; };" >> $output_objdir/$libname.ver~
9600               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9601           fi
9602           ;;
9603         esac
9604       else
9605         ld_shlibs=no
9606       fi
9607       ;;
9608
9609     netbsd* | netbsdelf*-gnu)
9610       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9611         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9612         wlarc=
9613       else
9614         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9615         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9616       fi
9617       ;;
9618
9619     solaris*)
9620       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9621         ld_shlibs=no
9622         cat <<_LT_EOF 1>&2
9623
9624 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9625 *** create shared libraries on Solaris systems.  Therefore, libtool
9626 *** is disabling shared libraries support.  We urge you to upgrade GNU
9627 *** binutils to release 2.9.1 or newer.  Another option is to modify
9628 *** your PATH or compiler configuration so that the native linker is
9629 *** used, and then restart.
9630
9631 _LT_EOF
9632       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9633         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9634         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9635       else
9636         ld_shlibs=no
9637       fi
9638       ;;
9639
9640     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9641       case `$LD -v 2>&1` in
9642         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9643         ld_shlibs=no
9644         cat <<_LT_EOF 1>&2
9645
9646 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9647 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9648 *** is disabling shared libraries support.  We urge you to upgrade GNU
9649 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9650 *** your PATH or compiler configuration so that the native linker is
9651 *** used, and then restart.
9652
9653 _LT_EOF
9654         ;;
9655         *)
9656           # For security reasons, it is highly recommended that you always
9657           # use absolute paths for naming shared libraries, and exclude the
9658           # DT_RUNPATH tag from executables and libraries.  But doing so
9659           # requires that you compile everything twice, which is a pain.
9660           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9661             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9662             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9663             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9664           else
9665             ld_shlibs=no
9666           fi
9667         ;;
9668       esac
9669       ;;
9670
9671     sunos4*)
9672       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9673       wlarc=
9674       hardcode_direct=yes
9675       hardcode_shlibpath_var=no
9676       ;;
9677
9678     *)
9679       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9680         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9681         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9682       else
9683         ld_shlibs=no
9684       fi
9685       ;;
9686     esac
9687
9688     if test "$ld_shlibs" = no; then
9689       runpath_var=
9690       hardcode_libdir_flag_spec=
9691       export_dynamic_flag_spec=
9692       whole_archive_flag_spec=
9693     fi
9694   else
9695     # PORTME fill in a description of your system's linker (not GNU ld)
9696     case $host_os in
9697     aix3*)
9698       allow_undefined_flag=unsupported
9699       always_export_symbols=yes
9700       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'
9701       # Note: this linker hardcodes the directories in LIBPATH if there
9702       # are no directories specified by -L.
9703       hardcode_minus_L=yes
9704       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9705         # Neither direct hardcoding nor static linking is supported with a
9706         # broken collect2.
9707         hardcode_direct=unsupported
9708       fi
9709       ;;
9710
9711     aix[4-9]*)
9712       if test "$host_cpu" = ia64; then
9713         # On IA64, the linker does run time linking by default, so we don't
9714         # have to do anything special.
9715         aix_use_runtimelinking=no
9716         exp_sym_flag='-Bexport'
9717         no_entry_flag=""
9718       else
9719         # If we're using GNU nm, then we don't want the "-C" option.
9720         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9721         # Also, AIX nm treats weak defined symbols like other global
9722         # defined symbols, whereas GNU nm marks them as "W".
9723         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9724           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'
9725         else
9726           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'
9727         fi
9728         aix_use_runtimelinking=no
9729
9730         # Test if we are trying to use run time linking or normal
9731         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9732         # need to do runtime linking.
9733         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9734           for ld_flag in $LDFLAGS; do
9735           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9736             aix_use_runtimelinking=yes
9737             break
9738           fi
9739           done
9740           ;;
9741         esac
9742
9743         exp_sym_flag='-bexport'
9744         no_entry_flag='-bnoentry'
9745       fi
9746
9747       # When large executables or shared objects are built, AIX ld can
9748       # have problems creating the table of contents.  If linking a library
9749       # or program results in "error TOC overflow" add -mminimal-toc to
9750       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9751       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9752
9753       archive_cmds=''
9754       hardcode_direct=yes
9755       hardcode_direct_absolute=yes
9756       hardcode_libdir_separator=':'
9757       link_all_deplibs=yes
9758       file_list_spec='${wl}-f,'
9759
9760       if test "$GCC" = yes; then
9761         case $host_os in aix4.[012]|aix4.[012].*)
9762         # We only want to do this on AIX 4.2 and lower, the check
9763         # below for broken collect2 doesn't work under 4.3+
9764           collect2name=`${CC} -print-prog-name=collect2`
9765           if test -f "$collect2name" &&
9766            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9767           then
9768           # We have reworked collect2
9769           :
9770           else
9771           # We have old collect2
9772           hardcode_direct=unsupported
9773           # It fails to find uninstalled libraries when the uninstalled
9774           # path is not listed in the libpath.  Setting hardcode_minus_L
9775           # to unsupported forces relinking
9776           hardcode_minus_L=yes
9777           hardcode_libdir_flag_spec='-L$libdir'
9778           hardcode_libdir_separator=
9779           fi
9780           ;;
9781         esac
9782         shared_flag='-shared'
9783         if test "$aix_use_runtimelinking" = yes; then
9784           shared_flag="$shared_flag "'${wl}-G'
9785         fi
9786         link_all_deplibs=no
9787       else
9788         # not using gcc
9789         if test "$host_cpu" = ia64; then
9790         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9791         # chokes on -Wl,-G. The following line is correct:
9792           shared_flag='-G'
9793         else
9794           if test "$aix_use_runtimelinking" = yes; then
9795             shared_flag='${wl}-G'
9796           else
9797             shared_flag='${wl}-bM:SRE'
9798           fi
9799         fi
9800       fi
9801
9802       export_dynamic_flag_spec='${wl}-bexpall'
9803       # It seems that -bexpall does not export symbols beginning with
9804       # underscore (_), so it is better to generate a list of symbols to export.
9805       always_export_symbols=yes
9806       if test "$aix_use_runtimelinking" = yes; then
9807         # Warning - without using the other runtime loading flags (-brtl),
9808         # -berok will link without error, but may produce a broken library.
9809         allow_undefined_flag='-berok'
9810         # Determine the default libpath from the value encoded in an
9811         # empty executable.
9812         if test "${lt_cv_aix_libpath+set}" = set; then
9813   aix_libpath=$lt_cv_aix_libpath
9814 else
9815   if ${lt_cv_aix_libpath_+:} false; then :
9816   $as_echo_n "(cached) " >&6
9817 else
9818   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9819 /* end confdefs.h.  */
9820
9821 int
9822 main ()
9823 {
9824
9825   ;
9826   return 0;
9827 }
9828 _ACEOF
9829 if ac_fn_c_try_link "$LINENO"; then :
9830
9831   lt_aix_libpath_sed='
9832       /Import File Strings/,/^$/ {
9833           /^0/ {
9834               s/^0  *\([^ ]*\) *$/\1/
9835               p
9836           }
9837       }'
9838   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9839   # Check for a 64-bit object if we didn't find anything.
9840   if test -z "$lt_cv_aix_libpath_"; then
9841     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9842   fi
9843 fi
9844 rm -f core conftest.err conftest.$ac_objext \
9845     conftest$ac_exeext conftest.$ac_ext
9846   if test -z "$lt_cv_aix_libpath_"; then
9847     lt_cv_aix_libpath_="/usr/lib:/lib"
9848   fi
9849
9850 fi
9851
9852   aix_libpath=$lt_cv_aix_libpath_
9853 fi
9854
9855         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9856         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"
9857       else
9858         if test "$host_cpu" = ia64; then
9859           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9860           allow_undefined_flag="-z nodefs"
9861           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"
9862         else
9863          # Determine the default libpath from the value encoded in an
9864          # empty executable.
9865          if test "${lt_cv_aix_libpath+set}" = set; then
9866   aix_libpath=$lt_cv_aix_libpath
9867 else
9868   if ${lt_cv_aix_libpath_+:} false; then :
9869   $as_echo_n "(cached) " >&6
9870 else
9871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9872 /* end confdefs.h.  */
9873
9874 int
9875 main ()
9876 {
9877
9878   ;
9879   return 0;
9880 }
9881 _ACEOF
9882 if ac_fn_c_try_link "$LINENO"; then :
9883
9884   lt_aix_libpath_sed='
9885       /Import File Strings/,/^$/ {
9886           /^0/ {
9887               s/^0  *\([^ ]*\) *$/\1/
9888               p
9889           }
9890       }'
9891   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9892   # Check for a 64-bit object if we didn't find anything.
9893   if test -z "$lt_cv_aix_libpath_"; then
9894     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9895   fi
9896 fi
9897 rm -f core conftest.err conftest.$ac_objext \
9898     conftest$ac_exeext conftest.$ac_ext
9899   if test -z "$lt_cv_aix_libpath_"; then
9900     lt_cv_aix_libpath_="/usr/lib:/lib"
9901   fi
9902
9903 fi
9904
9905   aix_libpath=$lt_cv_aix_libpath_
9906 fi
9907
9908          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9909           # Warning - without using the other run time loading flags,
9910           # -berok will link without error, but may produce a broken library.
9911           no_undefined_flag=' ${wl}-bernotok'
9912           allow_undefined_flag=' ${wl}-berok'
9913           if test "$with_gnu_ld" = yes; then
9914             # We only use this code for GNU lds that support --whole-archive.
9915             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9916           else
9917             # Exported symbols can be pulled into shared objects from archives
9918             whole_archive_flag_spec='$convenience'
9919           fi
9920           archive_cmds_need_lc=yes
9921           # This is similar to how AIX traditionally builds its shared libraries.
9922           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'
9923         fi
9924       fi
9925       ;;
9926
9927     amigaos*)
9928       case $host_cpu in
9929       powerpc)
9930             # see comment about AmigaOS4 .so support
9931             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9932             archive_expsym_cmds=''
9933         ;;
9934       m68k)
9935             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)'
9936             hardcode_libdir_flag_spec='-L$libdir'
9937             hardcode_minus_L=yes
9938         ;;
9939       esac
9940       ;;
9941
9942     bsdi[45]*)
9943       export_dynamic_flag_spec=-rdynamic
9944       ;;
9945
9946     cygwin* | mingw* | pw32* | cegcc*)
9947       # When not using gcc, we currently assume that we are using
9948       # Microsoft Visual C++.
9949       # hardcode_libdir_flag_spec is actually meaningless, as there is
9950       # no search path for DLLs.
9951       case $cc_basename in
9952       cl*)
9953         # Native MSVC
9954         hardcode_libdir_flag_spec=' '
9955         allow_undefined_flag=unsupported
9956         always_export_symbols=yes
9957         file_list_spec='@'
9958         # Tell ltmain to make .lib files, not .a files.
9959         libext=lib
9960         # Tell ltmain to make .dll files, not .so files.
9961         shrext_cmds=".dll"
9962         # FIXME: Setting linknames here is a bad hack.
9963         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9964         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9965             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9966           else
9967             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9968           fi~
9969           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9970           linknames='
9971         # The linker will not automatically build a static lib if we build a DLL.
9972         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9973         enable_shared_with_static_runtimes=yes
9974         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9975         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9976         # Don't use ranlib
9977         old_postinstall_cmds='chmod 644 $oldlib'
9978         postlink_cmds='lt_outputfile="@OUTPUT@"~
9979           lt_tool_outputfile="@TOOL_OUTPUT@"~
9980           case $lt_outputfile in
9981             *.exe|*.EXE) ;;
9982             *)
9983               lt_outputfile="$lt_outputfile.exe"
9984               lt_tool_outputfile="$lt_tool_outputfile.exe"
9985               ;;
9986           esac~
9987           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9988             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9989             $RM "$lt_outputfile.manifest";
9990           fi'
9991         ;;
9992       *)
9993         # Assume MSVC wrapper
9994         hardcode_libdir_flag_spec=' '
9995         allow_undefined_flag=unsupported
9996         # Tell ltmain to make .lib files, not .a files.
9997         libext=lib
9998         # Tell ltmain to make .dll files, not .so files.
9999         shrext_cmds=".dll"
10000         # FIXME: Setting linknames here is a bad hack.
10001         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10002         # The linker will automatically build a .lib file if we build a DLL.
10003         old_archive_from_new_cmds='true'
10004         # FIXME: Should let the user specify the lib program.
10005         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10006         enable_shared_with_static_runtimes=yes
10007         ;;
10008       esac
10009       ;;
10010
10011     darwin* | rhapsody*)
10012
10013
10014   archive_cmds_need_lc=no
10015   hardcode_direct=no
10016   hardcode_automatic=yes
10017   hardcode_shlibpath_var=unsupported
10018   if test "$lt_cv_ld_force_load" = "yes"; then
10019     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\"`'
10020
10021   else
10022     whole_archive_flag_spec=''
10023   fi
10024   link_all_deplibs=yes
10025   allow_undefined_flag="$_lt_dar_allow_undefined"
10026   case $cc_basename in
10027      ifort*) _lt_dar_can_shared=yes ;;
10028      *) _lt_dar_can_shared=$GCC ;;
10029   esac
10030   if test "$_lt_dar_can_shared" = "yes"; then
10031     output_verbose_link_cmd=func_echo_all
10032     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10033     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10034     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}"
10035     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}"
10036
10037   else
10038   ld_shlibs=no
10039   fi
10040
10041       ;;
10042
10043     dgux*)
10044       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10045       hardcode_libdir_flag_spec='-L$libdir'
10046       hardcode_shlibpath_var=no
10047       ;;
10048
10049     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10050     # support.  Future versions do this automatically, but an explicit c++rt0.o
10051     # does not break anything, and helps significantly (at the cost of a little
10052     # extra space).
10053     freebsd2.2*)
10054       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10055       hardcode_libdir_flag_spec='-R$libdir'
10056       hardcode_direct=yes
10057       hardcode_shlibpath_var=no
10058       ;;
10059
10060     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10061     freebsd2.*)
10062       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10063       hardcode_direct=yes
10064       hardcode_minus_L=yes
10065       hardcode_shlibpath_var=no
10066       ;;
10067
10068     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10069     freebsd* | dragonfly*)
10070       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10071       hardcode_libdir_flag_spec='-R$libdir'
10072       hardcode_direct=yes
10073       hardcode_shlibpath_var=no
10074       ;;
10075
10076     hpux9*)
10077       if test "$GCC" = yes; then
10078         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'
10079       else
10080         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'
10081       fi
10082       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10083       hardcode_libdir_separator=:
10084       hardcode_direct=yes
10085
10086       # hardcode_minus_L: Not really in the search PATH,
10087       # but as the default location of the library.
10088       hardcode_minus_L=yes
10089       export_dynamic_flag_spec='${wl}-E'
10090       ;;
10091
10092     hpux10*)
10093       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10094         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10095       else
10096         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10097       fi
10098       if test "$with_gnu_ld" = no; then
10099         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10100         hardcode_libdir_separator=:
10101         hardcode_direct=yes
10102         hardcode_direct_absolute=yes
10103         export_dynamic_flag_spec='${wl}-E'
10104         # hardcode_minus_L: Not really in the search PATH,
10105         # but as the default location of the library.
10106         hardcode_minus_L=yes
10107       fi
10108       ;;
10109
10110     hpux11*)
10111       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10112         case $host_cpu in
10113         hppa*64*)
10114           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10115           ;;
10116         ia64*)
10117           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10118           ;;
10119         *)
10120           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10121           ;;
10122         esac
10123       else
10124         case $host_cpu in
10125         hppa*64*)
10126           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10127           ;;
10128         ia64*)
10129           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10130           ;;
10131         *)
10132
10133           # Older versions of the 11.00 compiler do not understand -b yet
10134           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10135           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10136 $as_echo_n "checking if $CC understands -b... " >&6; }
10137 if ${lt_cv_prog_compiler__b+:} false; then :
10138   $as_echo_n "(cached) " >&6
10139 else
10140   lt_cv_prog_compiler__b=no
10141    save_LDFLAGS="$LDFLAGS"
10142    LDFLAGS="$LDFLAGS -b"
10143    echo "$lt_simple_link_test_code" > conftest.$ac_ext
10144    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10145      # The linker can only warn and ignore the option if not recognized
10146      # So say no if there are warnings
10147      if test -s conftest.err; then
10148        # Append any errors to the config.log.
10149        cat conftest.err 1>&5
10150        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10151        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10152        if diff conftest.exp conftest.er2 >/dev/null; then
10153          lt_cv_prog_compiler__b=yes
10154        fi
10155      else
10156        lt_cv_prog_compiler__b=yes
10157      fi
10158    fi
10159    $RM -r conftest*
10160    LDFLAGS="$save_LDFLAGS"
10161
10162 fi
10163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10164 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10165
10166 if test x"$lt_cv_prog_compiler__b" = xyes; then
10167     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10168 else
10169     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10170 fi
10171
10172           ;;
10173         esac
10174       fi
10175       if test "$with_gnu_ld" = no; then
10176         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10177         hardcode_libdir_separator=:
10178
10179         case $host_cpu in
10180         hppa*64*|ia64*)
10181           hardcode_direct=no
10182           hardcode_shlibpath_var=no
10183           ;;
10184         *)
10185           hardcode_direct=yes
10186           hardcode_direct_absolute=yes
10187           export_dynamic_flag_spec='${wl}-E'
10188
10189           # hardcode_minus_L: Not really in the search PATH,
10190           # but as the default location of the library.
10191           hardcode_minus_L=yes
10192           ;;
10193         esac
10194       fi
10195       ;;
10196
10197     irix5* | irix6* | nonstopux*)
10198       if test "$GCC" = yes; then
10199         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'
10200         # Try to use the -exported_symbol ld option, if it does not
10201         # work, assume that -exports_file does not work either and
10202         # implicitly export all symbols.
10203         # This should be the same for all languages, so no per-tag cache variable.
10204         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10205 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10206 if ${lt_cv_irix_exported_symbol+:} false; then :
10207   $as_echo_n "(cached) " >&6
10208 else
10209   save_LDFLAGS="$LDFLAGS"
10210            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10211            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10212 /* end confdefs.h.  */
10213 int foo (void) { return 0; }
10214 _ACEOF
10215 if ac_fn_c_try_link "$LINENO"; then :
10216   lt_cv_irix_exported_symbol=yes
10217 else
10218   lt_cv_irix_exported_symbol=no
10219 fi
10220 rm -f core conftest.err conftest.$ac_objext \
10221     conftest$ac_exeext conftest.$ac_ext
10222            LDFLAGS="$save_LDFLAGS"
10223 fi
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10225 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10226         if test "$lt_cv_irix_exported_symbol" = yes; then
10227           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'
10228         fi
10229       else
10230         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'
10231         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'
10232       fi
10233       archive_cmds_need_lc='no'
10234       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10235       hardcode_libdir_separator=:
10236       inherit_rpath=yes
10237       link_all_deplibs=yes
10238       ;;
10239
10240     netbsd* | netbsdelf*-gnu)
10241       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10242         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10243       else
10244         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10245       fi
10246       hardcode_libdir_flag_spec='-R$libdir'
10247       hardcode_direct=yes
10248       hardcode_shlibpath_var=no
10249       ;;
10250
10251     newsos6)
10252       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10253       hardcode_direct=yes
10254       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10255       hardcode_libdir_separator=:
10256       hardcode_shlibpath_var=no
10257       ;;
10258
10259     *nto* | *qnx*)
10260       ;;
10261
10262     openbsd*)
10263       if test -f /usr/libexec/ld.so; then
10264         hardcode_direct=yes
10265         hardcode_shlibpath_var=no
10266         hardcode_direct_absolute=yes
10267         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10268           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10269           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10270           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10271           export_dynamic_flag_spec='${wl}-E'
10272         else
10273           case $host_os in
10274            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10275              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10276              hardcode_libdir_flag_spec='-R$libdir'
10277              ;;
10278            *)
10279              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10280              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10281              ;;
10282           esac
10283         fi
10284       else
10285         ld_shlibs=no
10286       fi
10287       ;;
10288
10289     os2*)
10290       hardcode_libdir_flag_spec='-L$libdir'
10291       hardcode_minus_L=yes
10292       allow_undefined_flag=unsupported
10293       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'
10294       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10295       ;;
10296
10297     osf3*)
10298       if test "$GCC" = yes; then
10299         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10300         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'
10301       else
10302         allow_undefined_flag=' -expect_unresolved \*'
10303         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'
10304       fi
10305       archive_cmds_need_lc='no'
10306       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10307       hardcode_libdir_separator=:
10308       ;;
10309
10310     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10311       if test "$GCC" = yes; then
10312         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10313         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'
10314         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10315       else
10316         allow_undefined_flag=' -expect_unresolved \*'
10317         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'
10318         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~
10319         $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'
10320
10321         # Both c and cxx compiler support -rpath directly
10322         hardcode_libdir_flag_spec='-rpath $libdir'
10323       fi
10324       archive_cmds_need_lc='no'
10325       hardcode_libdir_separator=:
10326       ;;
10327
10328     solaris*)
10329       no_undefined_flag=' -z defs'
10330       if test "$GCC" = yes; then
10331         wlarc='${wl}'
10332         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10333         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10334           $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'
10335       else
10336         case `$CC -V 2>&1` in
10337         *"Compilers 5.0"*)
10338           wlarc=''
10339           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10340           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10341           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10342           ;;
10343         *)
10344           wlarc='${wl}'
10345           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10346           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10347           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10348           ;;
10349         esac
10350       fi
10351       hardcode_libdir_flag_spec='-R$libdir'
10352       hardcode_shlibpath_var=no
10353       case $host_os in
10354       solaris2.[0-5] | solaris2.[0-5].*) ;;
10355       *)
10356         # The compiler driver will combine and reorder linker options,
10357         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10358         # but is careful enough not to reorder.
10359         # Supported since Solaris 2.6 (maybe 2.5.1?)
10360         if test "$GCC" = yes; then
10361           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10362         else
10363           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10364         fi
10365         ;;
10366       esac
10367       link_all_deplibs=yes
10368       ;;
10369
10370     sunos4*)
10371       if test "x$host_vendor" = xsequent; then
10372         # Use $CC to link under sequent, because it throws in some extra .o
10373         # files that make .init and .fini sections work.
10374         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10375       else
10376         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10377       fi
10378       hardcode_libdir_flag_spec='-L$libdir'
10379       hardcode_direct=yes
10380       hardcode_minus_L=yes
10381       hardcode_shlibpath_var=no
10382       ;;
10383
10384     sysv4)
10385       case $host_vendor in
10386         sni)
10387           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10388           hardcode_direct=yes # is this really true???
10389         ;;
10390         siemens)
10391           ## LD is ld it makes a PLAMLIB
10392           ## CC just makes a GrossModule.
10393           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10394           reload_cmds='$CC -r -o $output$reload_objs'
10395           hardcode_direct=no
10396         ;;
10397         motorola)
10398           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10399           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10400         ;;
10401       esac
10402       runpath_var='LD_RUN_PATH'
10403       hardcode_shlibpath_var=no
10404       ;;
10405
10406     sysv4.3*)
10407       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10408       hardcode_shlibpath_var=no
10409       export_dynamic_flag_spec='-Bexport'
10410       ;;
10411
10412     sysv4*MP*)
10413       if test -d /usr/nec; then
10414         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10415         hardcode_shlibpath_var=no
10416         runpath_var=LD_RUN_PATH
10417         hardcode_runpath_var=yes
10418         ld_shlibs=yes
10419       fi
10420       ;;
10421
10422     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10423       no_undefined_flag='${wl}-z,text'
10424       archive_cmds_need_lc=no
10425       hardcode_shlibpath_var=no
10426       runpath_var='LD_RUN_PATH'
10427
10428       if test "$GCC" = yes; then
10429         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10430         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10431       else
10432         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10433         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10434       fi
10435       ;;
10436
10437     sysv5* | sco3.2v5* | sco5v6*)
10438       # Note: We can NOT use -z defs as we might desire, because we do not
10439       # link with -lc, and that would cause any symbols used from libc to
10440       # always be unresolved, which means just about no library would
10441       # ever link correctly.  If we're not using GNU ld we use -z text
10442       # though, which does catch some bad symbols but isn't as heavy-handed
10443       # as -z defs.
10444       no_undefined_flag='${wl}-z,text'
10445       allow_undefined_flag='${wl}-z,nodefs'
10446       archive_cmds_need_lc=no
10447       hardcode_shlibpath_var=no
10448       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10449       hardcode_libdir_separator=':'
10450       link_all_deplibs=yes
10451       export_dynamic_flag_spec='${wl}-Bexport'
10452       runpath_var='LD_RUN_PATH'
10453
10454       if test "$GCC" = yes; then
10455         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10456         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10457       else
10458         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10459         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10460       fi
10461       ;;
10462
10463     uts4*)
10464       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10465       hardcode_libdir_flag_spec='-L$libdir'
10466       hardcode_shlibpath_var=no
10467       ;;
10468
10469     *)
10470       ld_shlibs=no
10471       ;;
10472     esac
10473
10474     if test x$host_vendor = xsni; then
10475       case $host in
10476       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10477         export_dynamic_flag_spec='${wl}-Blargedynsym'
10478         ;;
10479       esac
10480     fi
10481   fi
10482
10483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10484 $as_echo "$ld_shlibs" >&6; }
10485 test "$ld_shlibs" = no && can_build_shared=no
10486
10487 with_gnu_ld=$with_gnu_ld
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503 #
10504 # Do we need to explicitly link libc?
10505 #
10506 case "x$archive_cmds_need_lc" in
10507 x|xyes)
10508   # Assume -lc should be added
10509   archive_cmds_need_lc=yes
10510
10511   if test "$enable_shared" = yes && test "$GCC" = yes; then
10512     case $archive_cmds in
10513     *'~'*)
10514       # FIXME: we may have to deal with multi-command sequences.
10515       ;;
10516     '$CC '*)
10517       # Test whether the compiler implicitly links with -lc since on some
10518       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10519       # to ld, don't add -lc before -lgcc.
10520       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10521 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10522 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10523   $as_echo_n "(cached) " >&6
10524 else
10525   $RM conftest*
10526         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10527
10528         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10529   (eval $ac_compile) 2>&5
10530   ac_status=$?
10531   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10532   test $ac_status = 0; } 2>conftest.err; then
10533           soname=conftest
10534           lib=conftest
10535           libobjs=conftest.$ac_objext
10536           deplibs=
10537           wl=$lt_prog_compiler_wl
10538           pic_flag=$lt_prog_compiler_pic
10539           compiler_flags=-v
10540           linker_flags=-v
10541           verstring=
10542           output_objdir=.
10543           libname=conftest
10544           lt_save_allow_undefined_flag=$allow_undefined_flag
10545           allow_undefined_flag=
10546           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10547   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10548   ac_status=$?
10549   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10550   test $ac_status = 0; }
10551           then
10552             lt_cv_archive_cmds_need_lc=no
10553           else
10554             lt_cv_archive_cmds_need_lc=yes
10555           fi
10556           allow_undefined_flag=$lt_save_allow_undefined_flag
10557         else
10558           cat conftest.err 1>&5
10559         fi
10560         $RM conftest*
10561
10562 fi
10563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10564 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10565       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10566       ;;
10567     esac
10568   fi
10569   ;;
10570 esac
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10724 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10725
10726 if test "$GCC" = yes; then
10727   case $host_os in
10728     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10729     *) lt_awk_arg="/^libraries:/" ;;
10730   esac
10731   case $host_os in
10732     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10733     *) lt_sed_strip_eq="s,=/,/,g" ;;
10734   esac
10735   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10736   case $lt_search_path_spec in
10737   *\;*)
10738     # if the path contains ";" then we assume it to be the separator
10739     # otherwise default to the standard path separator (i.e. ":") - it is
10740     # assumed that no part of a normal pathname contains ";" but that should
10741     # okay in the real world where ";" in dirpaths is itself problematic.
10742     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10743     ;;
10744   *)
10745     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10746     ;;
10747   esac
10748   # Ok, now we have the path, separated by spaces, we can step through it
10749   # and add multilib dir if necessary.
10750   lt_tmp_lt_search_path_spec=
10751   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10752   for lt_sys_path in $lt_search_path_spec; do
10753     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10754       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10755     else
10756       test -d "$lt_sys_path" && \
10757         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10758     fi
10759   done
10760   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10761 BEGIN {RS=" "; FS="/|\n";} {
10762   lt_foo="";
10763   lt_count=0;
10764   for (lt_i = NF; lt_i > 0; lt_i--) {
10765     if ($lt_i != "" && $lt_i != ".") {
10766       if ($lt_i == "..") {
10767         lt_count++;
10768       } else {
10769         if (lt_count == 0) {
10770           lt_foo="/" $lt_i lt_foo;
10771         } else {
10772           lt_count--;
10773         }
10774       }
10775     }
10776   }
10777   if (lt_foo != "") { lt_freq[lt_foo]++; }
10778   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10779 }'`
10780   # AWK program above erroneously prepends '/' to C:/dos/paths
10781   # for these hosts.
10782   case $host_os in
10783     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10784       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10785   esac
10786   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10787 else
10788   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10789 fi
10790 library_names_spec=
10791 libname_spec='lib$name'
10792 soname_spec=
10793 shrext_cmds=".so"
10794 postinstall_cmds=
10795 postuninstall_cmds=
10796 finish_cmds=
10797 finish_eval=
10798 shlibpath_var=
10799 shlibpath_overrides_runpath=unknown
10800 version_type=none
10801 dynamic_linker="$host_os ld.so"
10802 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10803 need_lib_prefix=unknown
10804 hardcode_into_libs=no
10805
10806 # when you set need_version to no, make sure it does not cause -set_version
10807 # flags to be left without arguments
10808 need_version=unknown
10809
10810 case $host_os in
10811 aix3*)
10812   version_type=linux # correct to gnu/linux during the next big refactor
10813   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10814   shlibpath_var=LIBPATH
10815
10816   # AIX 3 has no versioning support, so we append a major version to the name.
10817   soname_spec='${libname}${release}${shared_ext}$major'
10818   ;;
10819
10820 aix[4-9]*)
10821   version_type=linux # correct to gnu/linux during the next big refactor
10822   need_lib_prefix=no
10823   need_version=no
10824   hardcode_into_libs=yes
10825   if test "$host_cpu" = ia64; then
10826     # AIX 5 supports IA64
10827     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10828     shlibpath_var=LD_LIBRARY_PATH
10829   else
10830     # With GCC up to 2.95.x, collect2 would create an import file
10831     # for dependence libraries.  The import file would start with
10832     # the line `#! .'.  This would cause the generated library to
10833     # depend on `.', always an invalid library.  This was fixed in
10834     # development snapshots of GCC prior to 3.0.
10835     case $host_os in
10836       aix4 | aix4.[01] | aix4.[01].*)
10837       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10838            echo ' yes '
10839            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10840         :
10841       else
10842         can_build_shared=no
10843       fi
10844       ;;
10845     esac
10846     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10847     # soname into executable. Probably we can add versioning support to
10848     # collect2, so additional links can be useful in future.
10849     if test "$aix_use_runtimelinking" = yes; then
10850       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10851       # instead of lib<name>.a to let people know that these are not
10852       # typical AIX shared libraries.
10853       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10854     else
10855       # We preserve .a as extension for shared libraries through AIX4.2
10856       # and later when we are not doing run time linking.
10857       library_names_spec='${libname}${release}.a $libname.a'
10858       soname_spec='${libname}${release}${shared_ext}$major'
10859     fi
10860     shlibpath_var=LIBPATH
10861   fi
10862   ;;
10863
10864 amigaos*)
10865   case $host_cpu in
10866   powerpc)
10867     # Since July 2007 AmigaOS4 officially supports .so libraries.
10868     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10869     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10870     ;;
10871   m68k)
10872     library_names_spec='$libname.ixlibrary $libname.a'
10873     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10874     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'
10875     ;;
10876   esac
10877   ;;
10878
10879 beos*)
10880   library_names_spec='${libname}${shared_ext}'
10881   dynamic_linker="$host_os ld.so"
10882   shlibpath_var=LIBRARY_PATH
10883   ;;
10884
10885 bsdi[45]*)
10886   version_type=linux # correct to gnu/linux during the next big refactor
10887   need_version=no
10888   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10889   soname_spec='${libname}${release}${shared_ext}$major'
10890   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10891   shlibpath_var=LD_LIBRARY_PATH
10892   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10893   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10894   # the default ld.so.conf also contains /usr/contrib/lib and
10895   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10896   # libtool to hard-code these into programs
10897   ;;
10898
10899 cygwin* | mingw* | pw32* | cegcc*)
10900   version_type=windows
10901   shrext_cmds=".dll"
10902   need_version=no
10903   need_lib_prefix=no
10904
10905   case $GCC,$cc_basename in
10906   yes,*)
10907     # gcc
10908     library_names_spec='$libname.dll.a'
10909     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10910     postinstall_cmds='base_file=`basename \${file}`~
10911       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10912       dldir=$destdir/`dirname \$dlpath`~
10913       test -d \$dldir || mkdir -p \$dldir~
10914       $install_prog $dir/$dlname \$dldir/$dlname~
10915       chmod a+x \$dldir/$dlname~
10916       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10917         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10918       fi'
10919     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10920       dlpath=$dir/\$dldll~
10921        $RM \$dlpath'
10922     shlibpath_overrides_runpath=yes
10923
10924     case $host_os in
10925     cygwin*)
10926       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10927       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10928
10929       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10930       ;;
10931     mingw* | cegcc*)
10932       # MinGW DLLs use traditional 'lib' prefix
10933       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10934       ;;
10935     pw32*)
10936       # pw32 DLLs use 'pw' prefix rather than 'lib'
10937       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10938       ;;
10939     esac
10940     dynamic_linker='Win32 ld.exe'
10941     ;;
10942
10943   *,cl*)
10944     # Native MSVC
10945     libname_spec='$name'
10946     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10947     library_names_spec='${libname}.dll.lib'
10948
10949     case $build_os in
10950     mingw*)
10951       sys_lib_search_path_spec=
10952       lt_save_ifs=$IFS
10953       IFS=';'
10954       for lt_path in $LIB
10955       do
10956         IFS=$lt_save_ifs
10957         # Let DOS variable expansion print the short 8.3 style file name.
10958         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10959         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10960       done
10961       IFS=$lt_save_ifs
10962       # Convert to MSYS style.
10963       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10964       ;;
10965     cygwin*)
10966       # Convert to unix form, then to dos form, then back to unix form
10967       # but this time dos style (no spaces!) so that the unix form looks
10968       # like /cygdrive/c/PROGRA~1:/cygdr...
10969       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10970       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10971       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10972       ;;
10973     *)
10974       sys_lib_search_path_spec="$LIB"
10975       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10976         # It is most probably a Windows format PATH.
10977         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10978       else
10979         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10980       fi
10981       # FIXME: find the short name or the path components, as spaces are
10982       # common. (e.g. "Program Files" -> "PROGRA~1")
10983       ;;
10984     esac
10985
10986     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10987     postinstall_cmds='base_file=`basename \${file}`~
10988       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10989       dldir=$destdir/`dirname \$dlpath`~
10990       test -d \$dldir || mkdir -p \$dldir~
10991       $install_prog $dir/$dlname \$dldir/$dlname'
10992     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10993       dlpath=$dir/\$dldll~
10994        $RM \$dlpath'
10995     shlibpath_overrides_runpath=yes
10996     dynamic_linker='Win32 link.exe'
10997     ;;
10998
10999   *)
11000     # Assume MSVC wrapper
11001     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11002     dynamic_linker='Win32 ld.exe'
11003     ;;
11004   esac
11005   # FIXME: first we should search . and the directory the executable is in
11006   shlibpath_var=PATH
11007   ;;
11008
11009 darwin* | rhapsody*)
11010   dynamic_linker="$host_os dyld"
11011   version_type=darwin
11012   need_lib_prefix=no
11013   need_version=no
11014   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11015   soname_spec='${libname}${release}${major}$shared_ext'
11016   shlibpath_overrides_runpath=yes
11017   shlibpath_var=DYLD_LIBRARY_PATH
11018   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11019
11020   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11021   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11022   ;;
11023
11024 dgux*)
11025   version_type=linux # correct to gnu/linux during the next big refactor
11026   need_lib_prefix=no
11027   need_version=no
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   shlibpath_var=LD_LIBRARY_PATH
11031   ;;
11032
11033 freebsd* | dragonfly*)
11034   # DragonFly does not have aout.  When/if they implement a new
11035   # versioning mechanism, adjust this.
11036   if test -x /usr/bin/objformat; then
11037     objformat=`/usr/bin/objformat`
11038   else
11039     case $host_os in
11040     freebsd[23].*) objformat=aout ;;
11041     *) objformat=elf ;;
11042     esac
11043   fi
11044   version_type=freebsd-$objformat
11045   case $version_type in
11046     freebsd-elf*)
11047       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11048       need_version=no
11049       need_lib_prefix=no
11050       ;;
11051     freebsd-*)
11052       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11053       need_version=yes
11054       ;;
11055   esac
11056   shlibpath_var=LD_LIBRARY_PATH
11057   case $host_os in
11058   freebsd2.*)
11059     shlibpath_overrides_runpath=yes
11060     ;;
11061   freebsd3.[01]* | freebsdelf3.[01]*)
11062     shlibpath_overrides_runpath=yes
11063     hardcode_into_libs=yes
11064     ;;
11065   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11066   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11067     shlibpath_overrides_runpath=no
11068     hardcode_into_libs=yes
11069     ;;
11070   *) # from 4.6 on, and DragonFly
11071     shlibpath_overrides_runpath=yes
11072     hardcode_into_libs=yes
11073     ;;
11074   esac
11075   ;;
11076
11077 gnu*)
11078   version_type=linux # correct to gnu/linux during the next big refactor
11079   need_lib_prefix=no
11080   need_version=no
11081   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11082   soname_spec='${libname}${release}${shared_ext}$major'
11083   shlibpath_var=LD_LIBRARY_PATH
11084   shlibpath_overrides_runpath=no
11085   hardcode_into_libs=yes
11086   ;;
11087
11088 haiku*)
11089   version_type=linux # correct to gnu/linux during the next big refactor
11090   need_lib_prefix=no
11091   need_version=no
11092   dynamic_linker="$host_os runtime_loader"
11093   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11094   soname_spec='${libname}${release}${shared_ext}$major'
11095   shlibpath_var=LIBRARY_PATH
11096   shlibpath_overrides_runpath=yes
11097   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11098   hardcode_into_libs=yes
11099   ;;
11100
11101 hpux9* | hpux10* | hpux11*)
11102   # Give a soname corresponding to the major version so that dld.sl refuses to
11103   # link against other versions.
11104   version_type=sunos
11105   need_lib_prefix=no
11106   need_version=no
11107   case $host_cpu in
11108   ia64*)
11109     shrext_cmds='.so'
11110     hardcode_into_libs=yes
11111     dynamic_linker="$host_os dld.so"
11112     shlibpath_var=LD_LIBRARY_PATH
11113     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11114     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11115     soname_spec='${libname}${release}${shared_ext}$major'
11116     if test "X$HPUX_IA64_MODE" = X32; then
11117       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11118     else
11119       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11120     fi
11121     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11122     ;;
11123   hppa*64*)
11124     shrext_cmds='.sl'
11125     hardcode_into_libs=yes
11126     dynamic_linker="$host_os dld.sl"
11127     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11128     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11129     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11130     soname_spec='${libname}${release}${shared_ext}$major'
11131     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11132     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11133     ;;
11134   *)
11135     shrext_cmds='.sl'
11136     dynamic_linker="$host_os dld.sl"
11137     shlibpath_var=SHLIB_PATH
11138     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11139     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11140     soname_spec='${libname}${release}${shared_ext}$major'
11141     ;;
11142   esac
11143   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11144   postinstall_cmds='chmod 555 $lib'
11145   # or fails outright, so override atomically:
11146   install_override_mode=555
11147   ;;
11148
11149 interix[3-9]*)
11150   version_type=linux # correct to gnu/linux during the next big refactor
11151   need_lib_prefix=no
11152   need_version=no
11153   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11154   soname_spec='${libname}${release}${shared_ext}$major'
11155   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11156   shlibpath_var=LD_LIBRARY_PATH
11157   shlibpath_overrides_runpath=no
11158   hardcode_into_libs=yes
11159   ;;
11160
11161 irix5* | irix6* | nonstopux*)
11162   case $host_os in
11163     nonstopux*) version_type=nonstopux ;;
11164     *)
11165         if test "$lt_cv_prog_gnu_ld" = yes; then
11166                 version_type=linux # correct to gnu/linux during the next big refactor
11167         else
11168                 version_type=irix
11169         fi ;;
11170   esac
11171   need_lib_prefix=no
11172   need_version=no
11173   soname_spec='${libname}${release}${shared_ext}$major'
11174   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11175   case $host_os in
11176   irix5* | nonstopux*)
11177     libsuff= shlibsuff=
11178     ;;
11179   *)
11180     case $LD in # libtool.m4 will add one of these switches to LD
11181     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11182       libsuff= shlibsuff= libmagic=32-bit;;
11183     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11184       libsuff=32 shlibsuff=N32 libmagic=N32;;
11185     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11186       libsuff=64 shlibsuff=64 libmagic=64-bit;;
11187     *) libsuff= shlibsuff= libmagic=never-match;;
11188     esac
11189     ;;
11190   esac
11191   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11192   shlibpath_overrides_runpath=no
11193   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11194   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11195   hardcode_into_libs=yes
11196   ;;
11197
11198 # No shared lib support for Linux oldld, aout, or coff.
11199 linux*oldld* | linux*aout* | linux*coff*)
11200   dynamic_linker=no
11201   ;;
11202
11203 # This must be glibc/ELF.
11204 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11205   version_type=linux # correct to gnu/linux during the next big refactor
11206   need_lib_prefix=no
11207   need_version=no
11208   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11209   soname_spec='${libname}${release}${shared_ext}$major'
11210   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11211   shlibpath_var=LD_LIBRARY_PATH
11212   shlibpath_overrides_runpath=no
11213
11214   # Some binutils ld are patched to set DT_RUNPATH
11215   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11216   $as_echo_n "(cached) " >&6
11217 else
11218   lt_cv_shlibpath_overrides_runpath=no
11219     save_LDFLAGS=$LDFLAGS
11220     save_libdir=$libdir
11221     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11222          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11223     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11224 /* end confdefs.h.  */
11225
11226 int
11227 main ()
11228 {
11229
11230   ;
11231   return 0;
11232 }
11233 _ACEOF
11234 if ac_fn_c_try_link "$LINENO"; then :
11235   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11236   lt_cv_shlibpath_overrides_runpath=yes
11237 fi
11238 fi
11239 rm -f core conftest.err conftest.$ac_objext \
11240     conftest$ac_exeext conftest.$ac_ext
11241     LDFLAGS=$save_LDFLAGS
11242     libdir=$save_libdir
11243
11244 fi
11245
11246   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11247
11248   # This implies no fast_install, which is unacceptable.
11249   # Some rework will be needed to allow for fast_install
11250   # before this can be enabled.
11251   hardcode_into_libs=yes
11252
11253   # Append ld.so.conf contents to the search path
11254   if test -f /etc/ld.so.conf; then
11255     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' ' '`
11256     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11257   fi
11258
11259   # We used to test for /lib/ld.so.1 and disable shared libraries on
11260   # powerpc, because MkLinux only supported shared libraries with the
11261   # GNU dynamic linker.  Since this was broken with cross compilers,
11262   # most powerpc-linux boxes support dynamic linking these days and
11263   # people can always --disable-shared, the test was removed, and we
11264   # assume the GNU/Linux dynamic linker is in use.
11265   dynamic_linker='GNU/Linux ld.so'
11266   ;;
11267
11268 netbsdelf*-gnu)
11269   version_type=linux
11270   need_lib_prefix=no
11271   need_version=no
11272   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11273   soname_spec='${libname}${release}${shared_ext}$major'
11274   shlibpath_var=LD_LIBRARY_PATH
11275   shlibpath_overrides_runpath=no
11276   hardcode_into_libs=yes
11277   dynamic_linker='NetBSD ld.elf_so'
11278   ;;
11279
11280 netbsd*)
11281   version_type=sunos
11282   need_lib_prefix=no
11283   need_version=no
11284   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11285     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11286     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11287     dynamic_linker='NetBSD (a.out) ld.so'
11288   else
11289     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11290     soname_spec='${libname}${release}${shared_ext}$major'
11291     dynamic_linker='NetBSD ld.elf_so'
11292   fi
11293   shlibpath_var=LD_LIBRARY_PATH
11294   shlibpath_overrides_runpath=yes
11295   hardcode_into_libs=yes
11296   ;;
11297
11298 newsos6)
11299   version_type=linux # correct to gnu/linux during the next big refactor
11300   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11301   shlibpath_var=LD_LIBRARY_PATH
11302   shlibpath_overrides_runpath=yes
11303   ;;
11304
11305 *nto* | *qnx*)
11306   version_type=qnx
11307   need_lib_prefix=no
11308   need_version=no
11309   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11310   soname_spec='${libname}${release}${shared_ext}$major'
11311   shlibpath_var=LD_LIBRARY_PATH
11312   shlibpath_overrides_runpath=no
11313   hardcode_into_libs=yes
11314   dynamic_linker='ldqnx.so'
11315   ;;
11316
11317 openbsd*)
11318   version_type=sunos
11319   sys_lib_dlsearch_path_spec="/usr/lib"
11320   need_lib_prefix=no
11321   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11322   case $host_os in
11323     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11324     *)                          need_version=no  ;;
11325   esac
11326   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11327   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11328   shlibpath_var=LD_LIBRARY_PATH
11329   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11330     case $host_os in
11331       openbsd2.[89] | openbsd2.[89].*)
11332         shlibpath_overrides_runpath=no
11333         ;;
11334       *)
11335         shlibpath_overrides_runpath=yes
11336         ;;
11337       esac
11338   else
11339     shlibpath_overrides_runpath=yes
11340   fi
11341   ;;
11342
11343 os2*)
11344   libname_spec='$name'
11345   shrext_cmds=".dll"
11346   need_lib_prefix=no
11347   library_names_spec='$libname${shared_ext} $libname.a'
11348   dynamic_linker='OS/2 ld.exe'
11349   shlibpath_var=LIBPATH
11350   ;;
11351
11352 osf3* | osf4* | osf5*)
11353   version_type=osf
11354   need_lib_prefix=no
11355   need_version=no
11356   soname_spec='${libname}${release}${shared_ext}$major'
11357   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11358   shlibpath_var=LD_LIBRARY_PATH
11359   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11360   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11361   ;;
11362
11363 rdos*)
11364   dynamic_linker=no
11365   ;;
11366
11367 solaris*)
11368   version_type=linux # correct to gnu/linux during the next big refactor
11369   need_lib_prefix=no
11370   need_version=no
11371   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11372   soname_spec='${libname}${release}${shared_ext}$major'
11373   shlibpath_var=LD_LIBRARY_PATH
11374   shlibpath_overrides_runpath=yes
11375   hardcode_into_libs=yes
11376   # ldd complains unless libraries are executable
11377   postinstall_cmds='chmod +x $lib'
11378   ;;
11379
11380 sunos4*)
11381   version_type=sunos
11382   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11383   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11384   shlibpath_var=LD_LIBRARY_PATH
11385   shlibpath_overrides_runpath=yes
11386   if test "$with_gnu_ld" = yes; then
11387     need_lib_prefix=no
11388   fi
11389   need_version=yes
11390   ;;
11391
11392 sysv4 | sysv4.3*)
11393   version_type=linux # correct to gnu/linux during the next big refactor
11394   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11395   soname_spec='${libname}${release}${shared_ext}$major'
11396   shlibpath_var=LD_LIBRARY_PATH
11397   case $host_vendor in
11398     sni)
11399       shlibpath_overrides_runpath=no
11400       need_lib_prefix=no
11401       runpath_var=LD_RUN_PATH
11402       ;;
11403     siemens)
11404       need_lib_prefix=no
11405       ;;
11406     motorola)
11407       need_lib_prefix=no
11408       need_version=no
11409       shlibpath_overrides_runpath=no
11410       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11411       ;;
11412   esac
11413   ;;
11414
11415 sysv4*MP*)
11416   if test -d /usr/nec ;then
11417     version_type=linux # correct to gnu/linux during the next big refactor
11418     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11419     soname_spec='$libname${shared_ext}.$major'
11420     shlibpath_var=LD_LIBRARY_PATH
11421   fi
11422   ;;
11423
11424 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11425   version_type=freebsd-elf
11426   need_lib_prefix=no
11427   need_version=no
11428   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11429   soname_spec='${libname}${release}${shared_ext}$major'
11430   shlibpath_var=LD_LIBRARY_PATH
11431   shlibpath_overrides_runpath=yes
11432   hardcode_into_libs=yes
11433   if test "$with_gnu_ld" = yes; then
11434     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11435   else
11436     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11437     case $host_os in
11438       sco3.2v5*)
11439         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11440         ;;
11441     esac
11442   fi
11443   sys_lib_dlsearch_path_spec='/usr/lib'
11444   ;;
11445
11446 tpf*)
11447   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11448   version_type=linux # correct to gnu/linux during the next big refactor
11449   need_lib_prefix=no
11450   need_version=no
11451   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11452   shlibpath_var=LD_LIBRARY_PATH
11453   shlibpath_overrides_runpath=no
11454   hardcode_into_libs=yes
11455   ;;
11456
11457 uts4*)
11458   version_type=linux # correct to gnu/linux during the next big refactor
11459   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11460   soname_spec='${libname}${release}${shared_ext}$major'
11461   shlibpath_var=LD_LIBRARY_PATH
11462   ;;
11463
11464 *)
11465   dynamic_linker=no
11466   ;;
11467 esac
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11469 $as_echo "$dynamic_linker" >&6; }
11470 test "$dynamic_linker" = no && can_build_shared=no
11471
11472 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11473 if test "$GCC" = yes; then
11474   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11475 fi
11476
11477 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11478   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11479 fi
11480 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11481   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11482 fi
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11576 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11577 hardcode_action=
11578 if test -n "$hardcode_libdir_flag_spec" ||
11579    test -n "$runpath_var" ||
11580    test "X$hardcode_automatic" = "Xyes" ; then
11581
11582   # We can hardcode non-existent directories.
11583   if test "$hardcode_direct" != no &&
11584      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11585      # have to relink, otherwise we might link with an installed library
11586      # when we should be linking with a yet-to-be-installed one
11587      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11588      test "$hardcode_minus_L" != no; then
11589     # Linking always hardcodes the temporary library directory.
11590     hardcode_action=relink
11591   else
11592     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11593     hardcode_action=immediate
11594   fi
11595 else
11596   # We cannot hardcode anything, or else we can only hardcode existing
11597   # directories.
11598   hardcode_action=unsupported
11599 fi
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11601 $as_echo "$hardcode_action" >&6; }
11602
11603 if test "$hardcode_action" = relink ||
11604    test "$inherit_rpath" = yes; then
11605   # Fast installation is not supported
11606   enable_fast_install=no
11607 elif test "$shlibpath_overrides_runpath" = yes ||
11608      test "$enable_shared" = no; then
11609   # Fast installation is not necessary
11610   enable_fast_install=needless
11611 fi
11612
11613
11614
11615
11616
11617
11618   if test "x$enable_dlopen" != xyes; then
11619   enable_dlopen=unknown
11620   enable_dlopen_self=unknown
11621   enable_dlopen_self_static=unknown
11622 else
11623   lt_cv_dlopen=no
11624   lt_cv_dlopen_libs=
11625
11626   case $host_os in
11627   beos*)
11628     lt_cv_dlopen="load_add_on"
11629     lt_cv_dlopen_libs=
11630     lt_cv_dlopen_self=yes
11631     ;;
11632
11633   mingw* | pw32* | cegcc*)
11634     lt_cv_dlopen="LoadLibrary"
11635     lt_cv_dlopen_libs=
11636     ;;
11637
11638   cygwin*)
11639     lt_cv_dlopen="dlopen"
11640     lt_cv_dlopen_libs=
11641     ;;
11642
11643   darwin*)
11644   # if libdl is installed we need to link against it
11645     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11646 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11647 if ${ac_cv_lib_dl_dlopen+:} false; then :
11648   $as_echo_n "(cached) " >&6
11649 else
11650   ac_check_lib_save_LIBS=$LIBS
11651 LIBS="-ldl  $LIBS"
11652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11653 /* end confdefs.h.  */
11654
11655 /* Override any GCC internal prototype to avoid an error.
11656    Use char because int might match the return type of a GCC
11657    builtin and then its argument prototype would still apply.  */
11658 #ifdef __cplusplus
11659 extern "C"
11660 #endif
11661 char dlopen ();
11662 int
11663 main ()
11664 {
11665 return dlopen ();
11666   ;
11667   return 0;
11668 }
11669 _ACEOF
11670 if ac_fn_c_try_link "$LINENO"; then :
11671   ac_cv_lib_dl_dlopen=yes
11672 else
11673   ac_cv_lib_dl_dlopen=no
11674 fi
11675 rm -f core conftest.err conftest.$ac_objext \
11676     conftest$ac_exeext conftest.$ac_ext
11677 LIBS=$ac_check_lib_save_LIBS
11678 fi
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11680 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11681 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11682   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11683 else
11684
11685     lt_cv_dlopen="dyld"
11686     lt_cv_dlopen_libs=
11687     lt_cv_dlopen_self=yes
11688
11689 fi
11690
11691     ;;
11692
11693   *)
11694     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11695 if test "x$ac_cv_func_shl_load" = xyes; then :
11696   lt_cv_dlopen="shl_load"
11697 else
11698   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11699 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11700 if ${ac_cv_lib_dld_shl_load+:} false; then :
11701   $as_echo_n "(cached) " >&6
11702 else
11703   ac_check_lib_save_LIBS=$LIBS
11704 LIBS="-ldld  $LIBS"
11705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11706 /* end confdefs.h.  */
11707
11708 /* Override any GCC internal prototype to avoid an error.
11709    Use char because int might match the return type of a GCC
11710    builtin and then its argument prototype would still apply.  */
11711 #ifdef __cplusplus
11712 extern "C"
11713 #endif
11714 char shl_load ();
11715 int
11716 main ()
11717 {
11718 return shl_load ();
11719   ;
11720   return 0;
11721 }
11722 _ACEOF
11723 if ac_fn_c_try_link "$LINENO"; then :
11724   ac_cv_lib_dld_shl_load=yes
11725 else
11726   ac_cv_lib_dld_shl_load=no
11727 fi
11728 rm -f core conftest.err conftest.$ac_objext \
11729     conftest$ac_exeext conftest.$ac_ext
11730 LIBS=$ac_check_lib_save_LIBS
11731 fi
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11733 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11734 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11735   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11736 else
11737   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11738 if test "x$ac_cv_func_dlopen" = xyes; then :
11739   lt_cv_dlopen="dlopen"
11740 else
11741   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11742 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11743 if ${ac_cv_lib_dl_dlopen+:} false; then :
11744   $as_echo_n "(cached) " >&6
11745 else
11746   ac_check_lib_save_LIBS=$LIBS
11747 LIBS="-ldl  $LIBS"
11748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11749 /* end confdefs.h.  */
11750
11751 /* Override any GCC internal prototype to avoid an error.
11752    Use char because int might match the return type of a GCC
11753    builtin and then its argument prototype would still apply.  */
11754 #ifdef __cplusplus
11755 extern "C"
11756 #endif
11757 char dlopen ();
11758 int
11759 main ()
11760 {
11761 return dlopen ();
11762   ;
11763   return 0;
11764 }
11765 _ACEOF
11766 if ac_fn_c_try_link "$LINENO"; then :
11767   ac_cv_lib_dl_dlopen=yes
11768 else
11769   ac_cv_lib_dl_dlopen=no
11770 fi
11771 rm -f core conftest.err conftest.$ac_objext \
11772     conftest$ac_exeext conftest.$ac_ext
11773 LIBS=$ac_check_lib_save_LIBS
11774 fi
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11776 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11777 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11778   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11779 else
11780   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11781 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11782 if ${ac_cv_lib_svld_dlopen+:} false; then :
11783   $as_echo_n "(cached) " >&6
11784 else
11785   ac_check_lib_save_LIBS=$LIBS
11786 LIBS="-lsvld  $LIBS"
11787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11788 /* end confdefs.h.  */
11789
11790 /* Override any GCC internal prototype to avoid an error.
11791    Use char because int might match the return type of a GCC
11792    builtin and then its argument prototype would still apply.  */
11793 #ifdef __cplusplus
11794 extern "C"
11795 #endif
11796 char dlopen ();
11797 int
11798 main ()
11799 {
11800 return dlopen ();
11801   ;
11802   return 0;
11803 }
11804 _ACEOF
11805 if ac_fn_c_try_link "$LINENO"; then :
11806   ac_cv_lib_svld_dlopen=yes
11807 else
11808   ac_cv_lib_svld_dlopen=no
11809 fi
11810 rm -f core conftest.err conftest.$ac_objext \
11811     conftest$ac_exeext conftest.$ac_ext
11812 LIBS=$ac_check_lib_save_LIBS
11813 fi
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11815 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11816 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11817   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11818 else
11819   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11820 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11821 if ${ac_cv_lib_dld_dld_link+:} false; then :
11822   $as_echo_n "(cached) " >&6
11823 else
11824   ac_check_lib_save_LIBS=$LIBS
11825 LIBS="-ldld  $LIBS"
11826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11827 /* end confdefs.h.  */
11828
11829 /* Override any GCC internal prototype to avoid an error.
11830    Use char because int might match the return type of a GCC
11831    builtin and then its argument prototype would still apply.  */
11832 #ifdef __cplusplus
11833 extern "C"
11834 #endif
11835 char dld_link ();
11836 int
11837 main ()
11838 {
11839 return dld_link ();
11840   ;
11841   return 0;
11842 }
11843 _ACEOF
11844 if ac_fn_c_try_link "$LINENO"; then :
11845   ac_cv_lib_dld_dld_link=yes
11846 else
11847   ac_cv_lib_dld_dld_link=no
11848 fi
11849 rm -f core conftest.err conftest.$ac_objext \
11850     conftest$ac_exeext conftest.$ac_ext
11851 LIBS=$ac_check_lib_save_LIBS
11852 fi
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11854 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11855 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11856   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11857 fi
11858
11859
11860 fi
11861
11862
11863 fi
11864
11865
11866 fi
11867
11868
11869 fi
11870
11871
11872 fi
11873
11874     ;;
11875   esac
11876
11877   if test "x$lt_cv_dlopen" != xno; then
11878     enable_dlopen=yes
11879   else
11880     enable_dlopen=no
11881   fi
11882
11883   case $lt_cv_dlopen in
11884   dlopen)
11885     save_CPPFLAGS="$CPPFLAGS"
11886     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11887
11888     save_LDFLAGS="$LDFLAGS"
11889     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11890
11891     save_LIBS="$LIBS"
11892     LIBS="$lt_cv_dlopen_libs $LIBS"
11893
11894     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11895 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11896 if ${lt_cv_dlopen_self+:} false; then :
11897   $as_echo_n "(cached) " >&6
11898 else
11899           if test "$cross_compiling" = yes; then :
11900   lt_cv_dlopen_self=cross
11901 else
11902   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11903   lt_status=$lt_dlunknown
11904   cat > conftest.$ac_ext <<_LT_EOF
11905 #line $LINENO "configure"
11906 #include "confdefs.h"
11907
11908 #if HAVE_DLFCN_H
11909 #include <dlfcn.h>
11910 #endif
11911
11912 #include <stdio.h>
11913
11914 #ifdef RTLD_GLOBAL
11915 #  define LT_DLGLOBAL           RTLD_GLOBAL
11916 #else
11917 #  ifdef DL_GLOBAL
11918 #    define LT_DLGLOBAL         DL_GLOBAL
11919 #  else
11920 #    define LT_DLGLOBAL         0
11921 #  endif
11922 #endif
11923
11924 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11925    find out it does not work in some platform. */
11926 #ifndef LT_DLLAZY_OR_NOW
11927 #  ifdef RTLD_LAZY
11928 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11929 #  else
11930 #    ifdef DL_LAZY
11931 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11932 #    else
11933 #      ifdef RTLD_NOW
11934 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11935 #      else
11936 #        ifdef DL_NOW
11937 #          define LT_DLLAZY_OR_NOW      DL_NOW
11938 #        else
11939 #          define LT_DLLAZY_OR_NOW      0
11940 #        endif
11941 #      endif
11942 #    endif
11943 #  endif
11944 #endif
11945
11946 /* When -fvisbility=hidden is used, assume the code has been annotated
11947    correspondingly for the symbols needed.  */
11948 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11949 int fnord () __attribute__((visibility("default")));
11950 #endif
11951
11952 int fnord () { return 42; }
11953 int main ()
11954 {
11955   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11956   int status = $lt_dlunknown;
11957
11958   if (self)
11959     {
11960       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11961       else
11962         {
11963           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11964           else puts (dlerror ());
11965         }
11966       /* dlclose (self); */
11967     }
11968   else
11969     puts (dlerror ());
11970
11971   return status;
11972 }
11973 _LT_EOF
11974   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11975   (eval $ac_link) 2>&5
11976   ac_status=$?
11977   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11978   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11979     (./conftest; exit; ) >&5 2>/dev/null
11980     lt_status=$?
11981     case x$lt_status in
11982       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11983       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11984       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11985     esac
11986   else :
11987     # compilation failed
11988     lt_cv_dlopen_self=no
11989   fi
11990 fi
11991 rm -fr conftest*
11992
11993
11994 fi
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11996 $as_echo "$lt_cv_dlopen_self" >&6; }
11997
11998     if test "x$lt_cv_dlopen_self" = xyes; then
11999       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12000       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12001 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12002 if ${lt_cv_dlopen_self_static+:} false; then :
12003   $as_echo_n "(cached) " >&6
12004 else
12005           if test "$cross_compiling" = yes; then :
12006   lt_cv_dlopen_self_static=cross
12007 else
12008   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12009   lt_status=$lt_dlunknown
12010   cat > conftest.$ac_ext <<_LT_EOF
12011 #line $LINENO "configure"
12012 #include "confdefs.h"
12013
12014 #if HAVE_DLFCN_H
12015 #include <dlfcn.h>
12016 #endif
12017
12018 #include <stdio.h>
12019
12020 #ifdef RTLD_GLOBAL
12021 #  define LT_DLGLOBAL           RTLD_GLOBAL
12022 #else
12023 #  ifdef DL_GLOBAL
12024 #    define LT_DLGLOBAL         DL_GLOBAL
12025 #  else
12026 #    define LT_DLGLOBAL         0
12027 #  endif
12028 #endif
12029
12030 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12031    find out it does not work in some platform. */
12032 #ifndef LT_DLLAZY_OR_NOW
12033 #  ifdef RTLD_LAZY
12034 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12035 #  else
12036 #    ifdef DL_LAZY
12037 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12038 #    else
12039 #      ifdef RTLD_NOW
12040 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12041 #      else
12042 #        ifdef DL_NOW
12043 #          define LT_DLLAZY_OR_NOW      DL_NOW
12044 #        else
12045 #          define LT_DLLAZY_OR_NOW      0
12046 #        endif
12047 #      endif
12048 #    endif
12049 #  endif
12050 #endif
12051
12052 /* When -fvisbility=hidden is used, assume the code has been annotated
12053    correspondingly for the symbols needed.  */
12054 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12055 int fnord () __attribute__((visibility("default")));
12056 #endif
12057
12058 int fnord () { return 42; }
12059 int main ()
12060 {
12061   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12062   int status = $lt_dlunknown;
12063
12064   if (self)
12065     {
12066       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12067       else
12068         {
12069           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12070           else puts (dlerror ());
12071         }
12072       /* dlclose (self); */
12073     }
12074   else
12075     puts (dlerror ());
12076
12077   return status;
12078 }
12079 _LT_EOF
12080   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12081   (eval $ac_link) 2>&5
12082   ac_status=$?
12083   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12084   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12085     (./conftest; exit; ) >&5 2>/dev/null
12086     lt_status=$?
12087     case x$lt_status in
12088       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12089       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12090       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12091     esac
12092   else :
12093     # compilation failed
12094     lt_cv_dlopen_self_static=no
12095   fi
12096 fi
12097 rm -fr conftest*
12098
12099
12100 fi
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12102 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12103     fi
12104
12105     CPPFLAGS="$save_CPPFLAGS"
12106     LDFLAGS="$save_LDFLAGS"
12107     LIBS="$save_LIBS"
12108     ;;
12109   esac
12110
12111   case $lt_cv_dlopen_self in
12112   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12113   *) enable_dlopen_self=unknown ;;
12114   esac
12115
12116   case $lt_cv_dlopen_self_static in
12117   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12118   *) enable_dlopen_self_static=unknown ;;
12119   esac
12120 fi
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138 striplib=
12139 old_striplib=
12140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12141 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12142 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12143   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12144   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12146 $as_echo "yes" >&6; }
12147 else
12148 # FIXME - insert some real tests, host_os isn't really good enough
12149   case $host_os in
12150   darwin*)
12151     if test -n "$STRIP" ; then
12152       striplib="$STRIP -x"
12153       old_striplib="$STRIP -S"
12154       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12155 $as_echo "yes" >&6; }
12156     else
12157       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12158 $as_echo "no" >&6; }
12159     fi
12160     ;;
12161   *)
12162     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12163 $as_echo "no" >&6; }
12164     ;;
12165   esac
12166 fi
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179   # Report which library types will actually be built
12180   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12181 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12183 $as_echo "$can_build_shared" >&6; }
12184
12185   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12186 $as_echo_n "checking whether to build shared libraries... " >&6; }
12187   test "$can_build_shared" = "no" && enable_shared=no
12188
12189   # On AIX, shared libraries and static libraries use the same namespace, and
12190   # are all built from PIC.
12191   case $host_os in
12192   aix3*)
12193     test "$enable_shared" = yes && enable_static=no
12194     if test -n "$RANLIB"; then
12195       archive_cmds="$archive_cmds~\$RANLIB \$lib"
12196       postinstall_cmds='$RANLIB $lib'
12197     fi
12198     ;;
12199
12200   aix[4-9]*)
12201     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12202       test "$enable_shared" = yes && enable_static=no
12203     fi
12204     ;;
12205   esac
12206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12207 $as_echo "$enable_shared" >&6; }
12208
12209   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12210 $as_echo_n "checking whether to build static libraries... " >&6; }
12211   # Make sure either enable_shared or enable_static is yes.
12212   test "$enable_shared" = yes || enable_static=yes
12213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12214 $as_echo "$enable_static" >&6; }
12215
12216
12217
12218
12219 fi
12220 ac_ext=c
12221 ac_cpp='$CPP $CPPFLAGS'
12222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12225
12226 CC="$lt_save_CC"
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242         ac_config_commands="$ac_config_commands libtool"
12243
12244
12245
12246
12247 # Only expand once:
12248
12249
12250
12251
12252 if test -z "$AM_DEFAULT_VERBOSITY"; then
12253   AM_DEFAULT_VERBOSITY=1
12254 fi
12255
12256
12257 gdu_cv_version_required=0.3.2
12258
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gnome-doc-utils >= $gdu_cv_version_required" >&5
12260 $as_echo_n "checking gnome-doc-utils >= $gdu_cv_version_required... " >&6; }
12261 if test -n "$PKG_CONFIG" && \
12262     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$gdu_cv_version_required\""; } >&5
12263   ($PKG_CONFIG --exists --print-errors "gnome-doc-utils >= $gdu_cv_version_required") 2>&5
12264   ac_status=$?
12265   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12266   test $ac_status = 0; }; then
12267   gdu_cv_have_gdu=yes
12268 else
12269   gdu_cv_have_gdu=no
12270 fi
12271
12272 if test "$gdu_cv_have_gdu" = "yes"; then
12273         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12274 $as_echo "yes" >&6; }
12275         :
12276 else
12277         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12278 $as_echo "no" >&6; }
12279         as_fn_error $? "gnome-doc-utils >= $gdu_cv_version_required not found" "$LINENO" 5
12280 fi
12281
12282
12283
12284 # Check whether --with-help-dir was given.
12285 if test "${with_help_dir+set}" = set; then :
12286   withval=$with_help_dir;
12287 else
12288   with_help_dir='${datadir}/gnome/help'
12289 fi
12290
12291 HELP_DIR="$with_help_dir"
12292
12293
12294
12295 # Check whether --with-omf-dir was given.
12296 if test "${with_omf_dir+set}" = set; then :
12297   withval=$with_omf_dir;
12298 else
12299   with_omf_dir='${datadir}/omf'
12300 fi
12301
12302 OMF_DIR="$with_omf_dir"
12303
12304
12305
12306 # Check whether --with-help-formats was given.
12307 if test "${with_help_formats+set}" = set; then :
12308   withval=$with_help_formats;
12309 else
12310   with_help_formats=''
12311 fi
12312
12313 DOC_USER_FORMATS="$with_help_formats"
12314
12315
12316 # Check whether --enable-scrollkeeper was given.
12317 if test "${enable_scrollkeeper+set}" = set; then :
12318   enableval=$enable_scrollkeeper;
12319 else
12320   enable_scrollkeeper=yes
12321 fi
12322
12323  if test "$gdu_cv_have_gdu" = "yes" -a "$enable_scrollkeeper" = "yes"; then
12324   ENABLE_SK_TRUE=
12325   ENABLE_SK_FALSE='#'
12326 else
12327   ENABLE_SK_TRUE='#'
12328   ENABLE_SK_FALSE=
12329 fi
12330
12331
12332 DISTCHECK_CONFIGURE_FLAGS="--disable-scrollkeeper $DISTCHECK_CONFIGURE_FLAGS"
12333
12334
12335  if test "$gdu_cv_have_gdu" = "yes"; then
12336   HAVE_GNOME_DOC_UTILS_TRUE=
12337   HAVE_GNOME_DOC_UTILS_FALSE='#'
12338 else
12339   HAVE_GNOME_DOC_UTILS_TRUE='#'
12340   HAVE_GNOME_DOC_UTILS_FALSE=
12341 fi
12342
12343
12344
12345
12346
12347
12348     # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12349 set dummy gtkdoc-check; ac_word=$2
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12351 $as_echo_n "checking for $ac_word... " >&6; }
12352 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
12353   $as_echo_n "(cached) " >&6
12354 else
12355   case $GTKDOC_CHECK in
12356   [\\/]* | ?:[\\/]*)
12357   ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
12358   ;;
12359   *)
12360   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12361 for as_dir in $PATH
12362 do
12363   IFS=$as_save_IFS
12364   test -z "$as_dir" && as_dir=.
12365     for ac_exec_ext in '' $ac_executable_extensions; do
12366   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12367     ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
12368     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12369     break 2
12370   fi
12371 done
12372   done
12373 IFS=$as_save_IFS
12374
12375   ;;
12376 esac
12377 fi
12378 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
12379 if test -n "$GTKDOC_CHECK"; then
12380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
12381 $as_echo "$GTKDOC_CHECK" >&6; }
12382 else
12383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12384 $as_echo "no" >&6; }
12385 fi
12386
12387
12388   for ac_prog in gtkdoc-rebase
12389 do
12390   # Extract the first word of "$ac_prog", so it can be a program name with args.
12391 set dummy $ac_prog; ac_word=$2
12392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12393 $as_echo_n "checking for $ac_word... " >&6; }
12394 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
12395   $as_echo_n "(cached) " >&6
12396 else
12397   case $GTKDOC_REBASE in
12398   [\\/]* | ?:[\\/]*)
12399   ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
12400   ;;
12401   *)
12402   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12403 for as_dir in $PATH
12404 do
12405   IFS=$as_save_IFS
12406   test -z "$as_dir" && as_dir=.
12407     for ac_exec_ext in '' $ac_executable_extensions; do
12408   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12409     ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
12410     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12411     break 2
12412   fi
12413 done
12414   done
12415 IFS=$as_save_IFS
12416
12417   ;;
12418 esac
12419 fi
12420 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
12421 if test -n "$GTKDOC_REBASE"; then
12422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
12423 $as_echo "$GTKDOC_REBASE" >&6; }
12424 else
12425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12426 $as_echo "no" >&6; }
12427 fi
12428
12429
12430   test -n "$GTKDOC_REBASE" && break
12431 done
12432 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
12433
12434   # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
12435 set dummy gtkdoc-mkpdf; ac_word=$2
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12437 $as_echo_n "checking for $ac_word... " >&6; }
12438 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
12439   $as_echo_n "(cached) " >&6
12440 else
12441   case $GTKDOC_MKPDF in
12442   [\\/]* | ?:[\\/]*)
12443   ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
12444   ;;
12445   *)
12446   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12447 for as_dir in $PATH
12448 do
12449   IFS=$as_save_IFS
12450   test -z "$as_dir" && as_dir=.
12451     for ac_exec_ext in '' $ac_executable_extensions; do
12452   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12453     ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
12454     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12455     break 2
12456   fi
12457 done
12458   done
12459 IFS=$as_save_IFS
12460
12461   ;;
12462 esac
12463 fi
12464 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
12465 if test -n "$GTKDOC_MKPDF"; then
12466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
12467 $as_echo "$GTKDOC_MKPDF" >&6; }
12468 else
12469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12470 $as_echo "no" >&6; }
12471 fi
12472
12473
12474
12475
12476 # Check whether --with-html-dir was given.
12477 if test "${with_html_dir+set}" = set; then :
12478   withval=$with_html_dir;
12479 else
12480   with_html_dir='${datadir}/gtk-doc/html'
12481 fi
12482
12483   HTML_DIR="$with_html_dir"
12484
12485
12486     # Check whether --enable-gtk-doc was given.
12487 if test "${enable_gtk_doc+set}" = set; then :
12488   enableval=$enable_gtk_doc;
12489 else
12490   enable_gtk_doc=no
12491 fi
12492
12493
12494   if test x$enable_gtk_doc = xyes; then
12495     if test -n "$PKG_CONFIG" && \
12496     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.0\""; } >&5
12497   ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.0") 2>&5
12498   ac_status=$?
12499   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12500   test $ac_status = 0; }; then
12501   :
12502 else
12503   as_fn_error $? "You need to have gtk-doc >= 1.0 installed to build $PACKAGE_NAME" "$LINENO" 5
12504 fi
12505         if test "x$PACKAGE_NAME" != "xglib"; then
12506
12507 pkg_failed=no
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
12509 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
12510
12511 if test -n "$GTKDOC_DEPS_CFLAGS"; then
12512     pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
12513  elif test -n "$PKG_CONFIG"; then
12514     if test -n "$PKG_CONFIG" && \
12515     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
12516   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
12517   ac_status=$?
12518   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12519   test $ac_status = 0; }; then
12520   pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
12521                       test "x$?" != "x0" && pkg_failed=yes
12522 else
12523   pkg_failed=yes
12524 fi
12525  else
12526     pkg_failed=untried
12527 fi
12528 if test -n "$GTKDOC_DEPS_LIBS"; then
12529     pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
12530  elif test -n "$PKG_CONFIG"; then
12531     if test -n "$PKG_CONFIG" && \
12532     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
12533   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
12534   ac_status=$?
12535   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12536   test $ac_status = 0; }; then
12537   pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
12538                       test "x$?" != "x0" && pkg_failed=yes
12539 else
12540   pkg_failed=yes
12541 fi
12542  else
12543     pkg_failed=untried
12544 fi
12545
12546
12547
12548 if test $pkg_failed = yes; then
12549         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12550 $as_echo "no" >&6; }
12551
12552 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12553         _pkg_short_errors_supported=yes
12554 else
12555         _pkg_short_errors_supported=no
12556 fi
12557         if test $_pkg_short_errors_supported = yes; then
12558                 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
12559         else
12560                 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
12561         fi
12562         # Put the nasty error message in config.log where it belongs
12563         echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
12564
12565         as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0) were not met:
12566
12567 $GTKDOC_DEPS_PKG_ERRORS
12568
12569 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12570 installed software in a non-standard prefix.
12571
12572 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
12573 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
12574 See the pkg-config man page for more details." "$LINENO" 5
12575 elif test $pkg_failed = untried; then
12576         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12577 $as_echo "no" >&6; }
12578         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12579 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12580 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12581 is in your PATH or set the PKG_CONFIG environment variable to the full
12582 path to pkg-config.
12583
12584 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
12585 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
12586 See the pkg-config man page for more details.
12587
12588 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12589 See \`config.log' for more details" "$LINENO" 5; }
12590 else
12591         GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
12592         GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
12593         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12594 $as_echo "yes" >&6; }
12595
12596 fi
12597     fi
12598   fi
12599
12600   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
12601 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
12602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
12603 $as_echo "$enable_gtk_doc" >&6; }
12604
12605     # Check whether --enable-gtk-doc-html was given.
12606 if test "${enable_gtk_doc_html+set}" = set; then :
12607   enableval=$enable_gtk_doc_html;
12608 else
12609   enable_gtk_doc_html=yes
12610 fi
12611
12612     # Check whether --enable-gtk-doc-pdf was given.
12613 if test "${enable_gtk_doc_pdf+set}" = set; then :
12614   enableval=$enable_gtk_doc_pdf;
12615 else
12616   enable_gtk_doc_pdf=no
12617 fi
12618
12619
12620   if test -z "$GTKDOC_MKPDF"; then
12621     enable_gtk_doc_pdf=no
12622   fi
12623
12624
12625    if test x$enable_gtk_doc = xyes; then
12626   ENABLE_GTK_DOC_TRUE=
12627   ENABLE_GTK_DOC_FALSE='#'
12628 else
12629   ENABLE_GTK_DOC_TRUE='#'
12630   ENABLE_GTK_DOC_FALSE=
12631 fi
12632
12633    if test x$enable_gtk_doc_html = xyes; then
12634   GTK_DOC_BUILD_HTML_TRUE=
12635   GTK_DOC_BUILD_HTML_FALSE='#'
12636 else
12637   GTK_DOC_BUILD_HTML_TRUE='#'
12638   GTK_DOC_BUILD_HTML_FALSE=
12639 fi
12640
12641    if test x$enable_gtk_doc_pdf = xyes; then
12642   GTK_DOC_BUILD_PDF_TRUE=
12643   GTK_DOC_BUILD_PDF_FALSE='#'
12644 else
12645   GTK_DOC_BUILD_PDF_TRUE='#'
12646   GTK_DOC_BUILD_PDF_FALSE=
12647 fi
12648
12649    if test -n "$LIBTOOL"; then
12650   GTK_DOC_USE_LIBTOOL_TRUE=
12651   GTK_DOC_USE_LIBTOOL_FALSE='#'
12652 else
12653   GTK_DOC_USE_LIBTOOL_TRUE='#'
12654   GTK_DOC_USE_LIBTOOL_FALSE=
12655 fi
12656
12657    if test -n "$GTKDOC_REBASE"; then
12658   GTK_DOC_USE_REBASE_TRUE=
12659   GTK_DOC_USE_REBASE_FALSE='#'
12660 else
12661   GTK_DOC_USE_REBASE_TRUE='#'
12662   GTK_DOC_USE_REBASE_FALSE=
12663 fi
12664
12665
12666
12667
12668
12669   # Check whether --enable-schemas-compile was given.
12670 if test "${enable_schemas_compile+set}" = set; then :
12671   enableval=$enable_schemas_compile; case ${enableval} in
12672                   yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE=""  ;;
12673                   no)  GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
12674                   *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
12675                  esac
12676 fi
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12687         if test -n "$ac_tool_prefix"; then
12688   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12689 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12691 $as_echo_n "checking for $ac_word... " >&6; }
12692 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12693   $as_echo_n "(cached) " >&6
12694 else
12695   case $PKG_CONFIG in
12696   [\\/]* | ?:[\\/]*)
12697   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12698   ;;
12699   *)
12700   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12701 for as_dir in $PATH
12702 do
12703   IFS=$as_save_IFS
12704   test -z "$as_dir" && as_dir=.
12705     for ac_exec_ext in '' $ac_executable_extensions; do
12706   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12707     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12708     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12709     break 2
12710   fi
12711 done
12712   done
12713 IFS=$as_save_IFS
12714
12715   ;;
12716 esac
12717 fi
12718 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12719 if test -n "$PKG_CONFIG"; then
12720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12721 $as_echo "$PKG_CONFIG" >&6; }
12722 else
12723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12724 $as_echo "no" >&6; }
12725 fi
12726
12727
12728 fi
12729 if test -z "$ac_cv_path_PKG_CONFIG"; then
12730   ac_pt_PKG_CONFIG=$PKG_CONFIG
12731   # Extract the first word of "pkg-config", so it can be a program name with args.
12732 set dummy pkg-config; ac_word=$2
12733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12734 $as_echo_n "checking for $ac_word... " >&6; }
12735 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12736   $as_echo_n "(cached) " >&6
12737 else
12738   case $ac_pt_PKG_CONFIG in
12739   [\\/]* | ?:[\\/]*)
12740   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12741   ;;
12742   *)
12743   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12744 for as_dir in $PATH
12745 do
12746   IFS=$as_save_IFS
12747   test -z "$as_dir" && as_dir=.
12748     for ac_exec_ext in '' $ac_executable_extensions; do
12749   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12750     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12751     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12752     break 2
12753   fi
12754 done
12755   done
12756 IFS=$as_save_IFS
12757
12758   ;;
12759 esac
12760 fi
12761 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12762 if test -n "$ac_pt_PKG_CONFIG"; then
12763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12764 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12765 else
12766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12767 $as_echo "no" >&6; }
12768 fi
12769
12770   if test "x$ac_pt_PKG_CONFIG" = x; then
12771     PKG_CONFIG=""
12772   else
12773     case $cross_compiling:$ac_tool_warned in
12774 yes:)
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12776 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12777 ac_tool_warned=yes ;;
12778 esac
12779     PKG_CONFIG=$ac_pt_PKG_CONFIG
12780   fi
12781 else
12782   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12783 fi
12784
12785 fi
12786 if test -n "$PKG_CONFIG"; then
12787         _pkg_min_version=0.16
12788         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12789 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12790         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12791                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12792 $as_echo "yes" >&6; }
12793         else
12794                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12795 $as_echo "no" >&6; }
12796                 PKG_CONFIG=""
12797         fi
12798 fi
12799   gsettingsschemadir=${datadir}/glib-2.0/schemas
12800
12801   if test x$cross_compiling != xyes; then
12802     GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
12803   else
12804     # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
12805 set dummy glib-compile-schemas; ac_word=$2
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12807 $as_echo_n "checking for $ac_word... " >&6; }
12808 if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
12809   $as_echo_n "(cached) " >&6
12810 else
12811   case $GLIB_COMPILE_SCHEMAS in
12812   [\\/]* | ?:[\\/]*)
12813   ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
12814   ;;
12815   *)
12816   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12817 for as_dir in $PATH
12818 do
12819   IFS=$as_save_IFS
12820   test -z "$as_dir" && as_dir=.
12821     for ac_exec_ext in '' $ac_executable_extensions; do
12822   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12823     ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
12824     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12825     break 2
12826   fi
12827 done
12828   done
12829 IFS=$as_save_IFS
12830
12831   ;;
12832 esac
12833 fi
12834 GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
12835 if test -n "$GLIB_COMPILE_SCHEMAS"; then
12836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
12837 $as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
12838 else
12839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12840 $as_echo "no" >&6; }
12841 fi
12842
12843
12844   fi
12845
12846   if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
12847     as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
12848   else
12849     :
12850   fi
12851
12852   GSETTINGS_RULES='
12853 .PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
12854
12855 mostlyclean-am: clean-gsettings-schemas
12856
12857 gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
12858
12859 %.gschema.valid: %.gschema.xml $(gsettings__enum_file)
12860         $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch $@
12861
12862 all-am: $(gsettings_SCHEMAS:.xml=.valid)
12863 uninstall-am: uninstall-gsettings-schemas
12864 install-data-am: install-gsettings-schemas
12865
12866 .SECONDARY: $(gsettings_SCHEMAS)
12867
12868 install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
12869         @$(NORMAL_INSTALL)
12870         if test -n "$^"; then \
12871                 test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
12872                 $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
12873                 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
12874         fi
12875
12876 uninstall-gsettings-schemas:
12877         @$(NORMAL_UNINSTALL)
12878         @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
12879         files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
12880         test -n "$$files" || exit 0; \
12881         echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
12882         cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
12883         test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
12884
12885 clean-gsettings-schemas:
12886         rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
12887
12888 ifdef gsettings_ENUM_NAMESPACE
12889 $(gsettings__enum_file): $(gsettings_ENUM_FILES)
12890         $(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead "  <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod "    <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail "  </@type@>" --ftail "</schemalist>" $^ > $@.tmp && mv $@.tmp $@
12891 endif
12892 '
12893
12894
12895
12896
12897
12898
12899
12900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
12901 $as_echo_n "checking for library containing strerror... " >&6; }
12902 if ${ac_cv_search_strerror+:} false; then :
12903   $as_echo_n "(cached) " >&6
12904 else
12905   ac_func_search_save_LIBS=$LIBS
12906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12907 /* end confdefs.h.  */
12908
12909 /* Override any GCC internal prototype to avoid an error.
12910    Use char because int might match the return type of a GCC
12911    builtin and then its argument prototype would still apply.  */
12912 #ifdef __cplusplus
12913 extern "C"
12914 #endif
12915 char strerror ();
12916 int
12917 main ()
12918 {
12919 return strerror ();
12920   ;
12921   return 0;
12922 }
12923 _ACEOF
12924 for ac_lib in '' cposix; do
12925   if test -z "$ac_lib"; then
12926     ac_res="none required"
12927   else
12928     ac_res=-l$ac_lib
12929     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12930   fi
12931   if ac_fn_c_try_link "$LINENO"; then :
12932   ac_cv_search_strerror=$ac_res
12933 fi
12934 rm -f core conftest.err conftest.$ac_objext \
12935     conftest$ac_exeext
12936   if ${ac_cv_search_strerror+:} false; then :
12937   break
12938 fi
12939 done
12940 if ${ac_cv_search_strerror+:} false; then :
12941
12942 else
12943   ac_cv_search_strerror=no
12944 fi
12945 rm conftest.$ac_ext
12946 LIBS=$ac_func_search_save_LIBS
12947 fi
12948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
12949 $as_echo "$ac_cv_search_strerror" >&6; }
12950 ac_res=$ac_cv_search_strerror
12951 if test "$ac_res" != no; then :
12952   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12953
12954 fi
12955
12956 ac_ext=c
12957 ac_cpp='$CPP $CPPFLAGS'
12958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12961 if test -n "$ac_tool_prefix"; then
12962   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12963 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12965 $as_echo_n "checking for $ac_word... " >&6; }
12966 if ${ac_cv_prog_CC+:} false; then :
12967   $as_echo_n "(cached) " >&6
12968 else
12969   if test -n "$CC"; then
12970   ac_cv_prog_CC="$CC" # Let the user override the test.
12971 else
12972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12973 for as_dir in $PATH
12974 do
12975   IFS=$as_save_IFS
12976   test -z "$as_dir" && as_dir=.
12977     for ac_exec_ext in '' $ac_executable_extensions; do
12978   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12979     ac_cv_prog_CC="${ac_tool_prefix}gcc"
12980     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12981     break 2
12982   fi
12983 done
12984   done
12985 IFS=$as_save_IFS
12986
12987 fi
12988 fi
12989 CC=$ac_cv_prog_CC
12990 if test -n "$CC"; then
12991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12992 $as_echo "$CC" >&6; }
12993 else
12994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12995 $as_echo "no" >&6; }
12996 fi
12997
12998
12999 fi
13000 if test -z "$ac_cv_prog_CC"; then
13001   ac_ct_CC=$CC
13002   # Extract the first word of "gcc", so it can be a program name with args.
13003 set dummy gcc; ac_word=$2
13004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13005 $as_echo_n "checking for $ac_word... " >&6; }
13006 if ${ac_cv_prog_ac_ct_CC+:} false; then :
13007   $as_echo_n "(cached) " >&6
13008 else
13009   if test -n "$ac_ct_CC"; then
13010   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13011 else
13012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13013 for as_dir in $PATH
13014 do
13015   IFS=$as_save_IFS
13016   test -z "$as_dir" && as_dir=.
13017     for ac_exec_ext in '' $ac_executable_extensions; do
13018   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13019     ac_cv_prog_ac_ct_CC="gcc"
13020     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13021     break 2
13022   fi
13023 done
13024   done
13025 IFS=$as_save_IFS
13026
13027 fi
13028 fi
13029 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13030 if test -n "$ac_ct_CC"; then
13031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13032 $as_echo "$ac_ct_CC" >&6; }
13033 else
13034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13035 $as_echo "no" >&6; }
13036 fi
13037
13038   if test "x$ac_ct_CC" = x; then
13039     CC=""
13040   else
13041     case $cross_compiling:$ac_tool_warned in
13042 yes:)
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13044 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13045 ac_tool_warned=yes ;;
13046 esac
13047     CC=$ac_ct_CC
13048   fi
13049 else
13050   CC="$ac_cv_prog_CC"
13051 fi
13052
13053 if test -z "$CC"; then
13054           if test -n "$ac_tool_prefix"; then
13055     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13056 set dummy ${ac_tool_prefix}cc; ac_word=$2
13057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13058 $as_echo_n "checking for $ac_word... " >&6; }
13059 if ${ac_cv_prog_CC+:} false; then :
13060   $as_echo_n "(cached) " >&6
13061 else
13062   if test -n "$CC"; then
13063   ac_cv_prog_CC="$CC" # Let the user override the test.
13064 else
13065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13066 for as_dir in $PATH
13067 do
13068   IFS=$as_save_IFS
13069   test -z "$as_dir" && as_dir=.
13070     for ac_exec_ext in '' $ac_executable_extensions; do
13071   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13072     ac_cv_prog_CC="${ac_tool_prefix}cc"
13073     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13074     break 2
13075   fi
13076 done
13077   done
13078 IFS=$as_save_IFS
13079
13080 fi
13081 fi
13082 CC=$ac_cv_prog_CC
13083 if test -n "$CC"; then
13084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13085 $as_echo "$CC" >&6; }
13086 else
13087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13088 $as_echo "no" >&6; }
13089 fi
13090
13091
13092   fi
13093 fi
13094 if test -z "$CC"; then
13095   # Extract the first word of "cc", so it can be a program name with args.
13096 set dummy cc; ac_word=$2
13097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13098 $as_echo_n "checking for $ac_word... " >&6; }
13099 if ${ac_cv_prog_CC+:} false; then :
13100   $as_echo_n "(cached) " >&6
13101 else
13102   if test -n "$CC"; then
13103   ac_cv_prog_CC="$CC" # Let the user override the test.
13104 else
13105   ac_prog_rejected=no
13106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13107 for as_dir in $PATH
13108 do
13109   IFS=$as_save_IFS
13110   test -z "$as_dir" && as_dir=.
13111     for ac_exec_ext in '' $ac_executable_extensions; do
13112   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13113     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13114        ac_prog_rejected=yes
13115        continue
13116      fi
13117     ac_cv_prog_CC="cc"
13118     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13119     break 2
13120   fi
13121 done
13122   done
13123 IFS=$as_save_IFS
13124
13125 if test $ac_prog_rejected = yes; then
13126   # We found a bogon in the path, so make sure we never use it.
13127   set dummy $ac_cv_prog_CC
13128   shift
13129   if test $# != 0; then
13130     # We chose a different compiler from the bogus one.
13131     # However, it has the same basename, so the bogon will be chosen
13132     # first if we set CC to just the basename; use the full file name.
13133     shift
13134     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
13135   fi
13136 fi
13137 fi
13138 fi
13139 CC=$ac_cv_prog_CC
13140 if test -n "$CC"; then
13141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13142 $as_echo "$CC" >&6; }
13143 else
13144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13145 $as_echo "no" >&6; }
13146 fi
13147
13148
13149 fi
13150 if test -z "$CC"; then
13151   if test -n "$ac_tool_prefix"; then
13152   for ac_prog in cl.exe
13153   do
13154     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13155 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13157 $as_echo_n "checking for $ac_word... " >&6; }
13158 if ${ac_cv_prog_CC+:} false; then :
13159   $as_echo_n "(cached) " >&6
13160 else
13161   if test -n "$CC"; then
13162   ac_cv_prog_CC="$CC" # Let the user override the test.
13163 else
13164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13165 for as_dir in $PATH
13166 do
13167   IFS=$as_save_IFS
13168   test -z "$as_dir" && as_dir=.
13169     for ac_exec_ext in '' $ac_executable_extensions; do
13170   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13171     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13172     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13173     break 2
13174   fi
13175 done
13176   done
13177 IFS=$as_save_IFS
13178
13179 fi
13180 fi
13181 CC=$ac_cv_prog_CC
13182 if test -n "$CC"; then
13183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13184 $as_echo "$CC" >&6; }
13185 else
13186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13187 $as_echo "no" >&6; }
13188 fi
13189
13190
13191     test -n "$CC" && break
13192   done
13193 fi
13194 if test -z "$CC"; then
13195   ac_ct_CC=$CC
13196   for ac_prog in cl.exe
13197 do
13198   # Extract the first word of "$ac_prog", so it can be a program name with args.
13199 set dummy $ac_prog; ac_word=$2
13200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13201 $as_echo_n "checking for $ac_word... " >&6; }
13202 if ${ac_cv_prog_ac_ct_CC+:} false; then :
13203   $as_echo_n "(cached) " >&6
13204 else
13205   if test -n "$ac_ct_CC"; then
13206   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13207 else
13208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13209 for as_dir in $PATH
13210 do
13211   IFS=$as_save_IFS
13212   test -z "$as_dir" && as_dir=.
13213     for ac_exec_ext in '' $ac_executable_extensions; do
13214   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13215     ac_cv_prog_ac_ct_CC="$ac_prog"
13216     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13217     break 2
13218   fi
13219 done
13220   done
13221 IFS=$as_save_IFS
13222
13223 fi
13224 fi
13225 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13226 if test -n "$ac_ct_CC"; then
13227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13228 $as_echo "$ac_ct_CC" >&6; }
13229 else
13230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13231 $as_echo "no" >&6; }
13232 fi
13233
13234
13235   test -n "$ac_ct_CC" && break
13236 done
13237
13238   if test "x$ac_ct_CC" = x; then
13239     CC=""
13240   else
13241     case $cross_compiling:$ac_tool_warned in
13242 yes:)
13243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13244 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13245 ac_tool_warned=yes ;;
13246 esac
13247     CC=$ac_ct_CC
13248   fi
13249 fi
13250
13251 fi
13252
13253
13254 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13255 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13256 as_fn_error $? "no acceptable C compiler found in \$PATH
13257 See \`config.log' for more details" "$LINENO" 5; }
13258
13259 # Provide some information about the compiler.
13260 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
13261 set X $ac_compile
13262 ac_compiler=$2
13263 for ac_option in --version -v -V -qversion; do
13264   { { ac_try="$ac_compiler $ac_option >&5"
13265 case "(($ac_try" in
13266   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13267   *) ac_try_echo=$ac_try;;
13268 esac
13269 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13270 $as_echo "$ac_try_echo"; } >&5
13271   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13272   ac_status=$?
13273   if test -s conftest.err; then
13274     sed '10a\
13275 ... rest of stderr output deleted ...
13276          10q' conftest.err >conftest.er1
13277     cat conftest.er1 >&5
13278   fi
13279   rm -f conftest.er1 conftest.err
13280   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13281   test $ac_status = 0; }
13282 done
13283
13284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
13285 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
13286 if ${ac_cv_c_compiler_gnu+:} false; then :
13287   $as_echo_n "(cached) " >&6
13288 else
13289   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13290 /* end confdefs.h.  */
13291
13292 int
13293 main ()
13294 {
13295 #ifndef __GNUC__
13296        choke me
13297 #endif
13298
13299   ;
13300   return 0;
13301 }
13302 _ACEOF
13303 if ac_fn_c_try_compile "$LINENO"; then :
13304   ac_compiler_gnu=yes
13305 else
13306   ac_compiler_gnu=no
13307 fi
13308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13309 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13310
13311 fi
13312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
13313 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
13314 if test $ac_compiler_gnu = yes; then
13315   GCC=yes
13316 else
13317   GCC=
13318 fi
13319 ac_test_CFLAGS=${CFLAGS+set}
13320 ac_save_CFLAGS=$CFLAGS
13321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
13322 $as_echo_n "checking whether $CC accepts -g... " >&6; }
13323 if ${ac_cv_prog_cc_g+:} false; then :
13324   $as_echo_n "(cached) " >&6
13325 else
13326   ac_save_c_werror_flag=$ac_c_werror_flag
13327    ac_c_werror_flag=yes
13328    ac_cv_prog_cc_g=no
13329    CFLAGS="-g"
13330    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13331 /* end confdefs.h.  */
13332
13333 int
13334 main ()
13335 {
13336
13337   ;
13338   return 0;
13339 }
13340 _ACEOF
13341 if ac_fn_c_try_compile "$LINENO"; then :
13342   ac_cv_prog_cc_g=yes
13343 else
13344   CFLAGS=""
13345       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13346 /* end confdefs.h.  */
13347
13348 int
13349 main ()
13350 {
13351
13352   ;
13353   return 0;
13354 }
13355 _ACEOF
13356 if ac_fn_c_try_compile "$LINENO"; then :
13357
13358 else
13359   ac_c_werror_flag=$ac_save_c_werror_flag
13360          CFLAGS="-g"
13361          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13362 /* end confdefs.h.  */
13363
13364 int
13365 main ()
13366 {
13367
13368   ;
13369   return 0;
13370 }
13371 _ACEOF
13372 if ac_fn_c_try_compile "$LINENO"; then :
13373   ac_cv_prog_cc_g=yes
13374 fi
13375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13376 fi
13377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13378 fi
13379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13380    ac_c_werror_flag=$ac_save_c_werror_flag
13381 fi
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
13383 $as_echo "$ac_cv_prog_cc_g" >&6; }
13384 if test "$ac_test_CFLAGS" = set; then
13385   CFLAGS=$ac_save_CFLAGS
13386 elif test $ac_cv_prog_cc_g = yes; then
13387   if test "$GCC" = yes; then
13388     CFLAGS="-g -O2"
13389   else
13390     CFLAGS="-g"
13391   fi
13392 else
13393   if test "$GCC" = yes; then
13394     CFLAGS="-O2"
13395   else
13396     CFLAGS=
13397   fi
13398 fi
13399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13400 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13401 if ${ac_cv_prog_cc_c89+:} false; then :
13402   $as_echo_n "(cached) " >&6
13403 else
13404   ac_cv_prog_cc_c89=no
13405 ac_save_CC=$CC
13406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13407 /* end confdefs.h.  */
13408 #include <stdarg.h>
13409 #include <stdio.h>
13410 #include <sys/types.h>
13411 #include <sys/stat.h>
13412 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
13413 struct buf { int x; };
13414 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13415 static char *e (p, i)
13416      char **p;
13417      int i;
13418 {
13419   return p[i];
13420 }
13421 static char *f (char * (*g) (char **, int), char **p, ...)
13422 {
13423   char *s;
13424   va_list v;
13425   va_start (v,p);
13426   s = g (p, va_arg (v,int));
13427   va_end (v);
13428   return s;
13429 }
13430
13431 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
13432    function prototypes and stuff, but not '\xHH' hex character constants.
13433    These don't provoke an error unfortunately, instead are silently treated
13434    as 'x'.  The following induces an error, until -std is added to get
13435    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
13436    array size at least.  It's necessary to write '\x00'==0 to get something
13437    that's true only with -std.  */
13438 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13439
13440 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13441    inside strings and character constants.  */
13442 #define FOO(x) 'x'
13443 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13444
13445 int test (int i, double x);
13446 struct s1 {int (*f) (int a);};
13447 struct s2 {int (*f) (double a);};
13448 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13449 int argc;
13450 char **argv;
13451 int
13452 main ()
13453 {
13454 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
13455   ;
13456   return 0;
13457 }
13458 _ACEOF
13459 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13460         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13461 do
13462   CC="$ac_save_CC $ac_arg"
13463   if ac_fn_c_try_compile "$LINENO"; then :
13464   ac_cv_prog_cc_c89=$ac_arg
13465 fi
13466 rm -f core conftest.err conftest.$ac_objext
13467   test "x$ac_cv_prog_cc_c89" != "xno" && break
13468 done
13469 rm -f conftest.$ac_ext
13470 CC=$ac_save_CC
13471
13472 fi
13473 # AC_CACHE_VAL
13474 case "x$ac_cv_prog_cc_c89" in
13475   x)
13476     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13477 $as_echo "none needed" >&6; } ;;
13478   xno)
13479     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13480 $as_echo "unsupported" >&6; } ;;
13481   *)
13482     CC="$CC $ac_cv_prog_cc_c89"
13483     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13484 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13485 esac
13486 if test "x$ac_cv_prog_cc_c89" != xno; then :
13487
13488 fi
13489
13490 ac_ext=c
13491 ac_cpp='$CPP $CPPFLAGS'
13492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13495
13496 depcc="$CC"   am_compiler_list=
13497
13498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13499 $as_echo_n "checking dependency style of $depcc... " >&6; }
13500 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
13501   $as_echo_n "(cached) " >&6
13502 else
13503   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13504   # We make a subdir and do the tests there.  Otherwise we can end up
13505   # making bogus files that we don't know about and never remove.  For
13506   # instance it was reported that on HP-UX the gcc test will end up
13507   # making a dummy file named `D' -- because `-MD' means `put the output
13508   # in D'.
13509   rm -rf conftest.dir
13510   mkdir conftest.dir
13511   # Copy depcomp to subdir because otherwise we won't find it if we're
13512   # using a relative directory.
13513   cp "$am_depcomp" conftest.dir
13514   cd conftest.dir
13515   # We will build objects and dependencies in a subdirectory because
13516   # it helps to detect inapplicable dependency modes.  For instance
13517   # both Tru64's cc and ICC support -MD to output dependencies as a
13518   # side effect of compilation, but ICC will put the dependencies in
13519   # the current directory while Tru64 will put them in the object
13520   # directory.
13521   mkdir sub
13522
13523   am_cv_CC_dependencies_compiler_type=none
13524   if test "$am_compiler_list" = ""; then
13525      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13526   fi
13527   am__universal=false
13528   case " $depcc " in #(
13529      *\ -arch\ *\ -arch\ *) am__universal=true ;;
13530      esac
13531
13532   for depmode in $am_compiler_list; do
13533     # Setup a source with many dependencies, because some compilers
13534     # like to wrap large dependency lists on column 80 (with \), and
13535     # we should not choose a depcomp mode which is confused by this.
13536     #
13537     # We need to recreate these files for each test, as the compiler may
13538     # overwrite some of them when testing with obscure command lines.
13539     # This happens at least with the AIX C compiler.
13540     : > sub/conftest.c
13541     for i in 1 2 3 4 5 6; do
13542       echo '#include "conftst'$i'.h"' >> sub/conftest.c
13543       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13544       # Solaris 8's {/usr,}/bin/sh.
13545       touch sub/conftst$i.h
13546     done
13547     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13548
13549     # We check with `-c' and `-o' for the sake of the "dashmstdout"
13550     # mode.  It turns out that the SunPro C++ compiler does not properly
13551     # handle `-M -o', and we need to detect this.  Also, some Intel
13552     # versions had trouble with output in subdirs
13553     am__obj=sub/conftest.${OBJEXT-o}
13554     am__minus_obj="-o $am__obj"
13555     case $depmode in
13556     gcc)
13557       # This depmode causes a compiler race in universal mode.
13558       test "$am__universal" = false || continue
13559       ;;
13560     nosideeffect)
13561       # after this tag, mechanisms are not by side-effect, so they'll
13562       # only be used when explicitly requested
13563       if test "x$enable_dependency_tracking" = xyes; then
13564         continue
13565       else
13566         break
13567       fi
13568       ;;
13569     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
13570       # This compiler won't grok `-c -o', but also, the minuso test has
13571       # not run yet.  These depmodes are late enough in the game, and
13572       # so weak that their functioning should not be impacted.
13573       am__obj=conftest.${OBJEXT-o}
13574       am__minus_obj=
13575       ;;
13576     none) break ;;
13577     esac
13578     if depmode=$depmode \
13579        source=sub/conftest.c object=$am__obj \
13580        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13581        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13582          >/dev/null 2>conftest.err &&
13583        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13584        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13585        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13586        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13587       # icc doesn't choke on unknown options, it will just issue warnings
13588       # or remarks (even with -Werror).  So we grep stderr for any message
13589       # that says an option was ignored or not supported.
13590       # When given -MP, icc 7.0 and 7.1 complain thusly:
13591       #   icc: Command line warning: ignoring option '-M'; no argument required
13592       # The diagnosis changed in icc 8.0:
13593       #   icc: Command line remark: option '-MP' not supported
13594       if (grep 'ignoring option' conftest.err ||
13595           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13596         am_cv_CC_dependencies_compiler_type=$depmode
13597         break
13598       fi
13599     fi
13600   done
13601
13602   cd ..
13603   rm -rf conftest.dir
13604 else
13605   am_cv_CC_dependencies_compiler_type=none
13606 fi
13607
13608 fi
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
13610 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13611 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
13612
13613  if
13614   test "x$enable_dependency_tracking" != xno \
13615   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
13616   am__fastdepCC_TRUE=
13617   am__fastdepCC_FALSE='#'
13618 else
13619   am__fastdepCC_TRUE='#'
13620   am__fastdepCC_FALSE=
13621 fi
13622
13623
13624
13625
13626
13627
13628     # Check whether --enable-compile-warnings was given.
13629 if test "${enable_compile_warnings+set}" = set; then :
13630   enableval=$enable_compile_warnings;
13631 else
13632   enable_compile_warnings="yes"
13633 fi
13634
13635
13636     warnCFLAGS=
13637     if test "x$GCC" != xyes; then
13638         enable_compile_warnings=no
13639     fi
13640
13641     warning_flags=
13642     realsave_CFLAGS="$CFLAGS"
13643
13644     case "$enable_compile_warnings" in
13645     no)
13646         warning_flags=
13647         ;;
13648     minimum)
13649         warning_flags="-Wall"
13650         ;;
13651     yes)
13652         warning_flags="-Wall -Wmissing-prototypes"
13653         ;;
13654     maximum|error)
13655         warning_flags="-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
13656         CFLAGS="$warning_flags $CFLAGS"
13657         for option in -Wno-sign-compare; do
13658                 SAVE_CFLAGS="$CFLAGS"
13659                 CFLAGS="$CFLAGS $option"
13660                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands $option" >&5
13661 $as_echo_n "checking whether gcc understands $option... " >&6; }
13662                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13663 /* end confdefs.h.  */
13664
13665 int
13666 main ()
13667 {
13668
13669   ;
13670   return 0;
13671 }
13672 _ACEOF
13673 if ac_fn_c_try_compile "$LINENO"; then :
13674   has_option=yes
13675 else
13676   has_option=no
13677 fi
13678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13679                 CFLAGS="$SAVE_CFLAGS"
13680                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
13681 $as_echo "$has_option" >&6; }
13682                 if test $has_option = yes; then
13683                   warning_flags="$warning_flags $option"
13684                 fi
13685                 unset has_option
13686                 unset SAVE_CFLAGS
13687         done
13688         unset option
13689         if test "$enable_compile_warnings" = "error" ; then
13690             warning_flags="$warning_flags -Werror"
13691         fi
13692         ;;
13693     *)
13694         as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5
13695         ;;
13696     esac
13697     CFLAGS="$realsave_CFLAGS"
13698     { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
13699 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
13700     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $warning_flags" >&5
13701 $as_echo "$warning_flags" >&6; }
13702
13703     # Check whether --enable-iso-c was given.
13704 if test "${enable_iso_c+set}" = set; then :
13705   enableval=$enable_iso_c;
13706 else
13707   enable_iso_c=no
13708 fi
13709
13710
13711     { $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C compiler" >&5
13712 $as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; }
13713     complCFLAGS=
13714     if test "x$enable_iso_c" != "xno"; then
13715         if test "x$GCC" = "xyes"; then
13716         case " $CFLAGS " in
13717             *\ \        -ansi\ \        *) ;;
13718             *) complCFLAGS="$complCFLAGS -ansi" ;;
13719         esac
13720         case " $CFLAGS " in
13721             *\ \        -pedantic\ \    *) ;;
13722             *) complCFLAGS="$complCFLAGS -pedantic" ;;
13723         esac
13724         fi
13725     fi
13726     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCFLAGS" >&5
13727 $as_echo "$complCFLAGS" >&6; }
13728
13729     WARN_CFLAGS="$warning_flags $complCFLAGS"
13730
13731
13732
13733 # Extract the first word of "glib-genmarshal", so it can be a program name with args.
13734 set dummy glib-genmarshal; ac_word=$2
13735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13736 $as_echo_n "checking for $ac_word... " >&6; }
13737 if ${ac_cv_path_GLIB_GENMARSHAL+:} false; then :
13738   $as_echo_n "(cached) " >&6
13739 else
13740   case $GLIB_GENMARSHAL in
13741   [\\/]* | ?:[\\/]*)
13742   ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path.
13743   ;;
13744   *)
13745   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13746 for as_dir in $PATH
13747 do
13748   IFS=$as_save_IFS
13749   test -z "$as_dir" && as_dir=.
13750     for ac_exec_ext in '' $ac_executable_extensions; do
13751   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13752     ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
13753     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13754     break 2
13755   fi
13756 done
13757   done
13758 IFS=$as_save_IFS
13759
13760   ;;
13761 esac
13762 fi
13763 GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
13764 if test -n "$GLIB_GENMARSHAL"; then
13765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5
13766 $as_echo "$GLIB_GENMARSHAL" >&6; }
13767 else
13768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13769 $as_echo "no" >&6; }
13770 fi
13771
13772
13773 # Extract the first word of "gdk-pixbuf-csource", so it can be a program name with args.
13774 set dummy gdk-pixbuf-csource; ac_word=$2
13775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13776 $as_echo_n "checking for $ac_word... " >&6; }
13777 if ${ac_cv_path_GDK_PIXBUF_CSOURCE+:} false; then :
13778   $as_echo_n "(cached) " >&6
13779 else
13780   case $GDK_PIXBUF_CSOURCE in
13781   [\\/]* | ?:[\\/]*)
13782   ac_cv_path_GDK_PIXBUF_CSOURCE="$GDK_PIXBUF_CSOURCE" # Let the user override the test with a path.
13783   ;;
13784   *)
13785   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13786 for as_dir in $PATH
13787 do
13788   IFS=$as_save_IFS
13789   test -z "$as_dir" && as_dir=.
13790     for ac_exec_ext in '' $ac_executable_extensions; do
13791   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13792     ac_cv_path_GDK_PIXBUF_CSOURCE="$as_dir/$ac_word$ac_exec_ext"
13793     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13794     break 2
13795   fi
13796 done
13797   done
13798 IFS=$as_save_IFS
13799
13800   ;;
13801 esac
13802 fi
13803 GDK_PIXBUF_CSOURCE=$ac_cv_path_GDK_PIXBUF_CSOURCE
13804 if test -n "$GDK_PIXBUF_CSOURCE"; then
13805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_PIXBUF_CSOURCE" >&5
13806 $as_echo "$GDK_PIXBUF_CSOURCE" >&6; }
13807 else
13808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13809 $as_echo "no" >&6; }
13810 fi
13811
13812
13813 # Extract the first word of "gtk-update-icon-cache", so it can be a program name with args.
13814 set dummy gtk-update-icon-cache; ac_word=$2
13815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13816 $as_echo_n "checking for $ac_word... " >&6; }
13817 if ${ac_cv_path_GTK_UPDATE_ICON_CACHE+:} false; then :
13818   $as_echo_n "(cached) " >&6
13819 else
13820   case $GTK_UPDATE_ICON_CACHE in
13821   [\\/]* | ?:[\\/]*)
13822   ac_cv_path_GTK_UPDATE_ICON_CACHE="$GTK_UPDATE_ICON_CACHE" # Let the user override the test with a path.
13823   ;;
13824   *)
13825   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13826 for as_dir in $PATH
13827 do
13828   IFS=$as_save_IFS
13829   test -z "$as_dir" && as_dir=.
13830     for ac_exec_ext in '' $ac_executable_extensions; do
13831   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13832     ac_cv_path_GTK_UPDATE_ICON_CACHE="$as_dir/$ac_word$ac_exec_ext"
13833     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13834     break 2
13835   fi
13836 done
13837   done
13838 IFS=$as_save_IFS
13839
13840   ;;
13841 esac
13842 fi
13843 GTK_UPDATE_ICON_CACHE=$ac_cv_path_GTK_UPDATE_ICON_CACHE
13844 if test -n "$GTK_UPDATE_ICON_CACHE"; then
13845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_UPDATE_ICON_CACHE" >&5
13846 $as_echo "$GTK_UPDATE_ICON_CACHE" >&6; }
13847 else
13848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13849 $as_echo "no" >&6; }
13850 fi
13851
13852
13853
13854
13855 GLABELS_BRANCH=glabels-3.0
13856
13857
13858 LIBGLABELS_BRANCH=libglabels-3.0
13859
13860
13861 LIBGLBARCODE_BRANCH=libglbarcode-3.0
13862
13863
13864 LIBGLABELS_C=8
13865 LIBGLABELS_R=0
13866 LIBGLABELS_A=0
13867
13868 LIBGLABELS_API_VERSION=${LIBGLABELS_C}:${LIBGLABELS_R}:${LIBGLABELS_A}
13869
13870
13871 LIBGLBARCODE_C=0
13872 LIBGLBARCODE_R=0
13873 LIBGLBARCODE_A=0
13874
13875 LIBGLBARCODE_API_VERSION=${LIBGLBARCODE_C}:${LIBGLBARCODE_R}:${LIBGLBARCODE_A}
13876
13877
13878 GLIB_REQUIRED=2.28.2
13879 GTK_REQUIRED=3.0.9
13880 LIBXML_REQUIRED=2.7.8
13881 LIBRSVG_REQUIRED=2.32.0
13882 CAIRO_REQUIRED=1.10.0
13883 PANGO_REQUIRED=1.28.1
13884
13885 LIBEBOOK_REQUIRED=2.30.3
13886 LIBBARCODE_REQUIRED=0.98
13887 LIBQRENCODE_REQUIRED=3.1.0
13888 LIBIEC16022_REQUIRED=0.2.4
13889 LIBZINT_REQUIRED=2.4.0
13890
13891
13892
13893
13894
13895
13896
13897
13898
13899
13900
13901
13902
13903
13904
13905 pkg_failed=no
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLABELS" >&5
13907 $as_echo_n "checking for GLABELS... " >&6; }
13908
13909 if test -n "$GLABELS_CFLAGS"; then
13910     pkg_cv_GLABELS_CFLAGS="$GLABELS_CFLAGS"
13911  elif test -n "$PKG_CONFIG"; then
13912     if test -n "$PKG_CONFIG" && \
13913     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13914         glib-2.0 >= \$GLIB_REQUIRED \\
13915         gtk+-3.0 >= \$GTK_REQUIRED \\
13916         libxml-2.0 >= \$LIBXML_REQUIRED \\
13917         librsvg-2.0 >= \$LIBRSVG_REQUIRED \\
13918 \""; } >&5
13919   ($PKG_CONFIG --exists --print-errors "\
13920         glib-2.0 >= $GLIB_REQUIRED \
13921         gtk+-3.0 >= $GTK_REQUIRED \
13922         libxml-2.0 >= $LIBXML_REQUIRED \
13923         librsvg-2.0 >= $LIBRSVG_REQUIRED \
13924 ") 2>&5
13925   ac_status=$?
13926   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13927   test $ac_status = 0; }; then
13928   pkg_cv_GLABELS_CFLAGS=`$PKG_CONFIG --cflags "\
13929         glib-2.0 >= $GLIB_REQUIRED \
13930         gtk+-3.0 >= $GTK_REQUIRED \
13931         libxml-2.0 >= $LIBXML_REQUIRED \
13932         librsvg-2.0 >= $LIBRSVG_REQUIRED \
13933 " 2>/dev/null`
13934                       test "x$?" != "x0" && pkg_failed=yes
13935 else
13936   pkg_failed=yes
13937 fi
13938  else
13939     pkg_failed=untried
13940 fi
13941 if test -n "$GLABELS_LIBS"; then
13942     pkg_cv_GLABELS_LIBS="$GLABELS_LIBS"
13943  elif test -n "$PKG_CONFIG"; then
13944     if test -n "$PKG_CONFIG" && \
13945     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13946         glib-2.0 >= \$GLIB_REQUIRED \\
13947         gtk+-3.0 >= \$GTK_REQUIRED \\
13948         libxml-2.0 >= \$LIBXML_REQUIRED \\
13949         librsvg-2.0 >= \$LIBRSVG_REQUIRED \\
13950 \""; } >&5
13951   ($PKG_CONFIG --exists --print-errors "\
13952         glib-2.0 >= $GLIB_REQUIRED \
13953         gtk+-3.0 >= $GTK_REQUIRED \
13954         libxml-2.0 >= $LIBXML_REQUIRED \
13955         librsvg-2.0 >= $LIBRSVG_REQUIRED \
13956 ") 2>&5
13957   ac_status=$?
13958   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13959   test $ac_status = 0; }; then
13960   pkg_cv_GLABELS_LIBS=`$PKG_CONFIG --libs "\
13961         glib-2.0 >= $GLIB_REQUIRED \
13962         gtk+-3.0 >= $GTK_REQUIRED \
13963         libxml-2.0 >= $LIBXML_REQUIRED \
13964         librsvg-2.0 >= $LIBRSVG_REQUIRED \
13965 " 2>/dev/null`
13966                       test "x$?" != "x0" && pkg_failed=yes
13967 else
13968   pkg_failed=yes
13969 fi
13970  else
13971     pkg_failed=untried
13972 fi
13973
13974
13975
13976 if test $pkg_failed = yes; then
13977         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13978 $as_echo "no" >&6; }
13979
13980 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13981         _pkg_short_errors_supported=yes
13982 else
13983         _pkg_short_errors_supported=no
13984 fi
13985         if test $_pkg_short_errors_supported = yes; then
13986                 GLABELS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "\
13987         glib-2.0 >= $GLIB_REQUIRED \
13988         gtk+-3.0 >= $GTK_REQUIRED \
13989         libxml-2.0 >= $LIBXML_REQUIRED \
13990         librsvg-2.0 >= $LIBRSVG_REQUIRED \
13991 " 2>&1`
13992         else
13993                 GLABELS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "\
13994         glib-2.0 >= $GLIB_REQUIRED \
13995         gtk+-3.0 >= $GTK_REQUIRED \
13996         libxml-2.0 >= $LIBXML_REQUIRED \
13997         librsvg-2.0 >= $LIBRSVG_REQUIRED \
13998 " 2>&1`
13999         fi
14000         # Put the nasty error message in config.log where it belongs
14001         echo "$GLABELS_PKG_ERRORS" >&5
14002
14003         as_fn_error $? "Package requirements (\
14004         glib-2.0 >= $GLIB_REQUIRED \
14005         gtk+-3.0 >= $GTK_REQUIRED \
14006         libxml-2.0 >= $LIBXML_REQUIRED \
14007         librsvg-2.0 >= $LIBRSVG_REQUIRED \
14008 ) were not met:
14009
14010 $GLABELS_PKG_ERRORS
14011
14012 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14013 installed software in a non-standard prefix.
14014
14015 Alternatively, you may set the environment variables GLABELS_CFLAGS
14016 and GLABELS_LIBS to avoid the need to call pkg-config.
14017 See the pkg-config man page for more details." "$LINENO" 5
14018 elif test $pkg_failed = untried; then
14019         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14020 $as_echo "no" >&6; }
14021         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14022 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14023 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14024 is in your PATH or set the PKG_CONFIG environment variable to the full
14025 path to pkg-config.
14026
14027 Alternatively, you may set the environment variables GLABELS_CFLAGS
14028 and GLABELS_LIBS to avoid the need to call pkg-config.
14029 See the pkg-config man page for more details.
14030
14031 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14032 See \`config.log' for more details" "$LINENO" 5; }
14033 else
14034         GLABELS_CFLAGS=$pkg_cv_GLABELS_CFLAGS
14035         GLABELS_LIBS=$pkg_cv_GLABELS_LIBS
14036         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14037 $as_echo "yes" >&6; }
14038
14039 fi
14040
14041
14042
14043
14044
14045
14046 pkg_failed=no
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGLABELS" >&5
14048 $as_echo_n "checking for LIBGLABELS... " >&6; }
14049
14050 if test -n "$LIBGLABELS_CFLAGS"; then
14051     pkg_cv_LIBGLABELS_CFLAGS="$LIBGLABELS_CFLAGS"
14052  elif test -n "$PKG_CONFIG"; then
14053     if test -n "$PKG_CONFIG" && \
14054     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14055         glib-2.0 >= \$GLIB_REQUIRED \\
14056         gobject-2.0 >= \$GLIB_REQUIRED \\
14057         libxml-2.0 >= \$LIBXML_REQUIRED \\
14058 \""; } >&5
14059   ($PKG_CONFIG --exists --print-errors "\
14060         glib-2.0 >= $GLIB_REQUIRED \
14061         gobject-2.0 >= $GLIB_REQUIRED \
14062         libxml-2.0 >= $LIBXML_REQUIRED \
14063 ") 2>&5
14064   ac_status=$?
14065   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14066   test $ac_status = 0; }; then
14067   pkg_cv_LIBGLABELS_CFLAGS=`$PKG_CONFIG --cflags "\
14068         glib-2.0 >= $GLIB_REQUIRED \
14069         gobject-2.0 >= $GLIB_REQUIRED \
14070         libxml-2.0 >= $LIBXML_REQUIRED \
14071 " 2>/dev/null`
14072                       test "x$?" != "x0" && pkg_failed=yes
14073 else
14074   pkg_failed=yes
14075 fi
14076  else
14077     pkg_failed=untried
14078 fi
14079 if test -n "$LIBGLABELS_LIBS"; then
14080     pkg_cv_LIBGLABELS_LIBS="$LIBGLABELS_LIBS"
14081  elif test -n "$PKG_CONFIG"; then
14082     if test -n "$PKG_CONFIG" && \
14083     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14084         glib-2.0 >= \$GLIB_REQUIRED \\
14085         gobject-2.0 >= \$GLIB_REQUIRED \\
14086         libxml-2.0 >= \$LIBXML_REQUIRED \\
14087 \""; } >&5
14088   ($PKG_CONFIG --exists --print-errors "\
14089         glib-2.0 >= $GLIB_REQUIRED \
14090         gobject-2.0 >= $GLIB_REQUIRED \
14091         libxml-2.0 >= $LIBXML_REQUIRED \
14092 ") 2>&5
14093   ac_status=$?
14094   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14095   test $ac_status = 0; }; then
14096   pkg_cv_LIBGLABELS_LIBS=`$PKG_CONFIG --libs "\
14097         glib-2.0 >= $GLIB_REQUIRED \
14098         gobject-2.0 >= $GLIB_REQUIRED \
14099         libxml-2.0 >= $LIBXML_REQUIRED \
14100 " 2>/dev/null`
14101                       test "x$?" != "x0" && pkg_failed=yes
14102 else
14103   pkg_failed=yes
14104 fi
14105  else
14106     pkg_failed=untried
14107 fi
14108
14109
14110
14111 if test $pkg_failed = yes; then
14112         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14113 $as_echo "no" >&6; }
14114
14115 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14116         _pkg_short_errors_supported=yes
14117 else
14118         _pkg_short_errors_supported=no
14119 fi
14120         if test $_pkg_short_errors_supported = yes; then
14121                 LIBGLABELS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "\
14122         glib-2.0 >= $GLIB_REQUIRED \
14123         gobject-2.0 >= $GLIB_REQUIRED \
14124         libxml-2.0 >= $LIBXML_REQUIRED \
14125 " 2>&1`
14126         else
14127                 LIBGLABELS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "\
14128         glib-2.0 >= $GLIB_REQUIRED \
14129         gobject-2.0 >= $GLIB_REQUIRED \
14130         libxml-2.0 >= $LIBXML_REQUIRED \
14131 " 2>&1`
14132         fi
14133         # Put the nasty error message in config.log where it belongs
14134         echo "$LIBGLABELS_PKG_ERRORS" >&5
14135
14136         as_fn_error $? "Package requirements (\
14137         glib-2.0 >= $GLIB_REQUIRED \
14138         gobject-2.0 >= $GLIB_REQUIRED \
14139         libxml-2.0 >= $LIBXML_REQUIRED \
14140 ) were not met:
14141
14142 $LIBGLABELS_PKG_ERRORS
14143
14144 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14145 installed software in a non-standard prefix.
14146
14147 Alternatively, you may set the environment variables LIBGLABELS_CFLAGS
14148 and LIBGLABELS_LIBS to avoid the need to call pkg-config.
14149 See the pkg-config man page for more details." "$LINENO" 5
14150 elif test $pkg_failed = untried; then
14151         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14152 $as_echo "no" >&6; }
14153         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14154 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14155 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14156 is in your PATH or set the PKG_CONFIG environment variable to the full
14157 path to pkg-config.
14158
14159 Alternatively, you may set the environment variables LIBGLABELS_CFLAGS
14160 and LIBGLABELS_LIBS to avoid the need to call pkg-config.
14161 See the pkg-config man page for more details.
14162
14163 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14164 See \`config.log' for more details" "$LINENO" 5; }
14165 else
14166         LIBGLABELS_CFLAGS=$pkg_cv_LIBGLABELS_CFLAGS
14167         LIBGLABELS_LIBS=$pkg_cv_LIBGLABELS_LIBS
14168         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14169 $as_echo "yes" >&6; }
14170
14171 fi
14172
14173
14174
14175
14176
14177
14178 pkg_failed=no
14179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGLBARCODE" >&5
14180 $as_echo_n "checking for LIBGLBARCODE... " >&6; }
14181
14182 if test -n "$LIBGLBARCODE_CFLAGS"; then
14183     pkg_cv_LIBGLBARCODE_CFLAGS="$LIBGLBARCODE_CFLAGS"
14184  elif test -n "$PKG_CONFIG"; then
14185     if test -n "$PKG_CONFIG" && \
14186     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14187         glib-2.0 >= \$GLIB_REQUIRED \\
14188         cairo >= \$CAIRO_REQUIRED \\
14189         pango >= \$PANGO_REQUIRED \\
14190         pangocairo >= \$PANGO_REQUIRED \\
14191 \""; } >&5
14192   ($PKG_CONFIG --exists --print-errors "\
14193         glib-2.0 >= $GLIB_REQUIRED \
14194         cairo >= $CAIRO_REQUIRED \
14195         pango >= $PANGO_REQUIRED \
14196         pangocairo >= $PANGO_REQUIRED \
14197 ") 2>&5
14198   ac_status=$?
14199   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14200   test $ac_status = 0; }; then
14201   pkg_cv_LIBGLBARCODE_CFLAGS=`$PKG_CONFIG --cflags "\
14202         glib-2.0 >= $GLIB_REQUIRED \
14203         cairo >= $CAIRO_REQUIRED \
14204         pango >= $PANGO_REQUIRED \
14205         pangocairo >= $PANGO_REQUIRED \
14206 " 2>/dev/null`
14207                       test "x$?" != "x0" && pkg_failed=yes
14208 else
14209   pkg_failed=yes
14210 fi
14211  else
14212     pkg_failed=untried
14213 fi
14214 if test -n "$LIBGLBARCODE_LIBS"; then
14215     pkg_cv_LIBGLBARCODE_LIBS="$LIBGLBARCODE_LIBS"
14216  elif test -n "$PKG_CONFIG"; then
14217     if test -n "$PKG_CONFIG" && \
14218     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
14219         glib-2.0 >= \$GLIB_REQUIRED \\
14220         cairo >= \$CAIRO_REQUIRED \\
14221         pango >= \$PANGO_REQUIRED \\
14222         pangocairo >= \$PANGO_REQUIRED \\
14223 \""; } >&5
14224   ($PKG_CONFIG --exists --print-errors "\
14225         glib-2.0 >= $GLIB_REQUIRED \
14226         cairo >= $CAIRO_REQUIRED \
14227         pango >= $PANGO_REQUIRED \
14228         pangocairo >= $PANGO_REQUIRED \
14229 ") 2>&5
14230   ac_status=$?
14231   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14232   test $ac_status = 0; }; then
14233   pkg_cv_LIBGLBARCODE_LIBS=`$PKG_CONFIG --libs "\
14234         glib-2.0 >= $GLIB_REQUIRED \
14235         cairo >= $CAIRO_REQUIRED \
14236         pango >= $PANGO_REQUIRED \
14237         pangocairo >= $PANGO_REQUIRED \
14238 " 2>/dev/null`
14239                       test "x$?" != "x0" && pkg_failed=yes
14240 else
14241   pkg_failed=yes
14242 fi
14243  else
14244     pkg_failed=untried
14245 fi
14246
14247
14248
14249 if test $pkg_failed = yes; then
14250         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14251 $as_echo "no" >&6; }
14252
14253 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14254         _pkg_short_errors_supported=yes
14255 else
14256         _pkg_short_errors_supported=no
14257 fi
14258         if test $_pkg_short_errors_supported = yes; then
14259                 LIBGLBARCODE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "\
14260         glib-2.0 >= $GLIB_REQUIRED \
14261         cairo >= $CAIRO_REQUIRED \
14262         pango >= $PANGO_REQUIRED \
14263         pangocairo >= $PANGO_REQUIRED \
14264 " 2>&1`
14265         else
14266                 LIBGLBARCODE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "\
14267         glib-2.0 >= $GLIB_REQUIRED \
14268         cairo >= $CAIRO_REQUIRED \
14269         pango >= $PANGO_REQUIRED \
14270         pangocairo >= $PANGO_REQUIRED \
14271 " 2>&1`
14272         fi
14273         # Put the nasty error message in config.log where it belongs
14274         echo "$LIBGLBARCODE_PKG_ERRORS" >&5
14275
14276         as_fn_error $? "Package requirements (\
14277         glib-2.0 >= $GLIB_REQUIRED \
14278         cairo >= $CAIRO_REQUIRED \
14279         pango >= $PANGO_REQUIRED \
14280         pangocairo >= $PANGO_REQUIRED \
14281 ) were not met:
14282
14283 $LIBGLBARCODE_PKG_ERRORS
14284
14285 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14286 installed software in a non-standard prefix.
14287
14288 Alternatively, you may set the environment variables LIBGLBARCODE_CFLAGS
14289 and LIBGLBARCODE_LIBS to avoid the need to call pkg-config.
14290 See the pkg-config man page for more details." "$LINENO" 5
14291 elif test $pkg_failed = untried; then
14292         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14293 $as_echo "no" >&6; }
14294         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14295 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14296 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14297 is in your PATH or set the PKG_CONFIG environment variable to the full
14298 path to pkg-config.
14299
14300 Alternatively, you may set the environment variables LIBGLBARCODE_CFLAGS
14301 and LIBGLBARCODE_LIBS to avoid the need to call pkg-config.
14302 See the pkg-config man page for more details.
14303
14304 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14305 See \`config.log' for more details" "$LINENO" 5; }
14306 else
14307         LIBGLBARCODE_CFLAGS=$pkg_cv_LIBGLBARCODE_CFLAGS
14308         LIBGLBARCODE_LIBS=$pkg_cv_LIBGLBARCODE_LIBS
14309         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14310 $as_echo "yes" >&6; }
14311
14312 fi
14313
14314
14315
14316
14317
14318
14319 # Check whether --with-libebook was given.
14320 if test "${with_libebook+set}" = set; then :
14321   withval=$with_libebook;
14322 fi
14323
14324 have_libebook=no
14325 if test "x$with_libebook" != xno; then
14326
14327 pkg_failed=no
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBEBOOK" >&5
14329 $as_echo_n "checking for LIBEBOOK... " >&6; }
14330
14331 if test -n "$LIBEBOOK_CFLAGS"; then
14332     pkg_cv_LIBEBOOK_CFLAGS="$LIBEBOOK_CFLAGS"
14333  elif test -n "$PKG_CONFIG"; then
14334     if test -n "$PKG_CONFIG" && \
14335     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebook-1.2 >= \$LIBEBOOK_REQUIRED\""; } >&5
14336   ($PKG_CONFIG --exists --print-errors "libebook-1.2 >= $LIBEBOOK_REQUIRED") 2>&5
14337   ac_status=$?
14338   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14339   test $ac_status = 0; }; then
14340   pkg_cv_LIBEBOOK_CFLAGS=`$PKG_CONFIG --cflags "libebook-1.2 >= $LIBEBOOK_REQUIRED" 2>/dev/null`
14341                       test "x$?" != "x0" && pkg_failed=yes
14342 else
14343   pkg_failed=yes
14344 fi
14345  else
14346     pkg_failed=untried
14347 fi
14348 if test -n "$LIBEBOOK_LIBS"; then
14349     pkg_cv_LIBEBOOK_LIBS="$LIBEBOOK_LIBS"
14350  elif test -n "$PKG_CONFIG"; then
14351     if test -n "$PKG_CONFIG" && \
14352     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebook-1.2 >= \$LIBEBOOK_REQUIRED\""; } >&5
14353   ($PKG_CONFIG --exists --print-errors "libebook-1.2 >= $LIBEBOOK_REQUIRED") 2>&5
14354   ac_status=$?
14355   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14356   test $ac_status = 0; }; then
14357   pkg_cv_LIBEBOOK_LIBS=`$PKG_CONFIG --libs "libebook-1.2 >= $LIBEBOOK_REQUIRED" 2>/dev/null`
14358                       test "x$?" != "x0" && pkg_failed=yes
14359 else
14360   pkg_failed=yes
14361 fi
14362  else
14363     pkg_failed=untried
14364 fi
14365
14366
14367
14368 if test $pkg_failed = yes; then
14369         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14370 $as_echo "no" >&6; }
14371
14372 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14373         _pkg_short_errors_supported=yes
14374 else
14375         _pkg_short_errors_supported=no
14376 fi
14377         if test $_pkg_short_errors_supported = yes; then
14378                 LIBEBOOK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libebook-1.2 >= $LIBEBOOK_REQUIRED" 2>&1`
14379         else
14380                 LIBEBOOK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libebook-1.2 >= $LIBEBOOK_REQUIRED" 2>&1`
14381         fi
14382         # Put the nasty error message in config.log where it belongs
14383         echo "$LIBEBOOK_PKG_ERRORS" >&5
14384
14385         have_libebook=no
14386 elif test $pkg_failed = untried; then
14387         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14388 $as_echo "no" >&6; }
14389         have_libebook=no
14390 else
14391         LIBEBOOK_CFLAGS=$pkg_cv_LIBEBOOK_CFLAGS
14392         LIBEBOOK_LIBS=$pkg_cv_LIBEBOOK_LIBS
14393         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14394 $as_echo "yes" >&6; }
14395         have_libebook=yes
14396 fi
14397 fi
14398
14399 if test "x$have_libebook" = "xyes"; then
14400
14401 $as_echo "#define HAVE_LIBEBOOK 1" >>confdefs.h
14402
14403
14404
14405 fi
14406
14407
14408
14409 # Check whether --with-libbarcode was given.
14410 if test "${with_libbarcode+set}" = set; then :
14411   withval=$with_libbarcode;
14412 fi
14413
14414 have_libbarcode=no
14415 if test "x$with_libbarcode" != xno; then
14416    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Barcode_Create in -lbarcode" >&5
14417 $as_echo_n "checking for Barcode_Create in -lbarcode... " >&6; }
14418 if ${ac_cv_lib_barcode_Barcode_Create+:} false; then :
14419   $as_echo_n "(cached) " >&6
14420 else
14421   ac_check_lib_save_LIBS=$LIBS
14422 LIBS="-lbarcode  $LIBS"
14423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14424 /* end confdefs.h.  */
14425
14426 /* Override any GCC internal prototype to avoid an error.
14427    Use char because int might match the return type of a GCC
14428    builtin and then its argument prototype would still apply.  */
14429 #ifdef __cplusplus
14430 extern "C"
14431 #endif
14432 char Barcode_Create ();
14433 int
14434 main ()
14435 {
14436 return Barcode_Create ();
14437   ;
14438   return 0;
14439 }
14440 _ACEOF
14441 if ac_fn_c_try_link "$LINENO"; then :
14442   ac_cv_lib_barcode_Barcode_Create=yes
14443 else
14444   ac_cv_lib_barcode_Barcode_Create=no
14445 fi
14446 rm -f core conftest.err conftest.$ac_objext \
14447     conftest$ac_exeext conftest.$ac_ext
14448 LIBS=$ac_check_lib_save_LIBS
14449 fi
14450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_barcode_Barcode_Create" >&5
14451 $as_echo "$ac_cv_lib_barcode_Barcode_Create" >&6; }
14452 if test "x$ac_cv_lib_barcode_Barcode_Create" = xyes; then :
14453   have_libbarcode=yes
14454 else
14455   have_libbarcode=no
14456 fi
14457
14458 fi
14459
14460 if test "x$have_libbarcode" = "xyes"; then
14461
14462 $as_echo "#define HAVE_LIBBARCODE 1" >>confdefs.h
14463
14464         LIBBARCODE_CFLAGS=""
14465         LIBBARCODE_LIBS="-lbarcode"
14466
14467
14468 else
14469         help_libbarcode="(See http://www.gnu.org/software/barcode/barcode.html)"
14470 fi
14471
14472
14473 # Check whether --with-libzint was given.
14474 if test "${with_libzint+set}" = set; then :
14475   withval=$with_libzint;
14476 fi
14477
14478 have_libzint=no
14479 if test "x$with_libzint" != xno; then
14480    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ZBarcode_Render in -lzint" >&5
14481 $as_echo_n "checking for ZBarcode_Render in -lzint... " >&6; }
14482 if ${ac_cv_lib_zint_ZBarcode_Render+:} false; then :
14483   $as_echo_n "(cached) " >&6
14484 else
14485   ac_check_lib_save_LIBS=$LIBS
14486 LIBS="-lzint  $LIBS"
14487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14488 /* end confdefs.h.  */
14489
14490 /* Override any GCC internal prototype to avoid an error.
14491    Use char because int might match the return type of a GCC
14492    builtin and then its argument prototype would still apply.  */
14493 #ifdef __cplusplus
14494 extern "C"
14495 #endif
14496 char ZBarcode_Render ();
14497 int
14498 main ()
14499 {
14500 return ZBarcode_Render ();
14501   ;
14502   return 0;
14503 }
14504 _ACEOF
14505 if ac_fn_c_try_link "$LINENO"; then :
14506   ac_cv_lib_zint_ZBarcode_Render=yes
14507 else
14508   ac_cv_lib_zint_ZBarcode_Render=no
14509 fi
14510 rm -f core conftest.err conftest.$ac_objext \
14511     conftest$ac_exeext conftest.$ac_ext
14512 LIBS=$ac_check_lib_save_LIBS
14513 fi
14514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_zint_ZBarcode_Render" >&5
14515 $as_echo "$ac_cv_lib_zint_ZBarcode_Render" >&6; }
14516 if test "x$ac_cv_lib_zint_ZBarcode_Render" = xyes; then :
14517   have_libzint=yes
14518 else
14519   have_libzint=no
14520 fi
14521
14522 fi
14523
14524 if test "x$have_libzint" = "xyes"; then
14525
14526 $as_echo "#define HAVE_LIBZINT 1" >>confdefs.h
14527
14528         LIBZINT_CFLAGS=""
14529         LIBZINT_LIBS="-lzint"
14530
14531
14532 else
14533         help_libzint="(See http://www.zint.org.uk)"
14534 fi
14535
14536
14537
14538 # Check whether --with-libqrencode was given.
14539 if test "${with_libqrencode+set}" = set; then :
14540   withval=$with_libqrencode;
14541 fi
14542
14543 have_libqrencode=no
14544 if test "x$with_libqrencode" != xno; then
14545
14546 pkg_failed=no
14547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBQRENCODE" >&5
14548 $as_echo_n "checking for LIBQRENCODE... " >&6; }
14549
14550 if test -n "$LIBQRENCODE_CFLAGS"; then
14551     pkg_cv_LIBQRENCODE_CFLAGS="$LIBQRENCODE_CFLAGS"
14552  elif test -n "$PKG_CONFIG"; then
14553     if test -n "$PKG_CONFIG" && \
14554     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libqrencode >= \$LIBQRENCODE_REQUIRED\""; } >&5
14555   ($PKG_CONFIG --exists --print-errors "libqrencode >= $LIBQRENCODE_REQUIRED") 2>&5
14556   ac_status=$?
14557   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14558   test $ac_status = 0; }; then
14559   pkg_cv_LIBQRENCODE_CFLAGS=`$PKG_CONFIG --cflags "libqrencode >= $LIBQRENCODE_REQUIRED" 2>/dev/null`
14560                       test "x$?" != "x0" && pkg_failed=yes
14561 else
14562   pkg_failed=yes
14563 fi
14564  else
14565     pkg_failed=untried
14566 fi
14567 if test -n "$LIBQRENCODE_LIBS"; then
14568     pkg_cv_LIBQRENCODE_LIBS="$LIBQRENCODE_LIBS"
14569  elif test -n "$PKG_CONFIG"; then
14570     if test -n "$PKG_CONFIG" && \
14571     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libqrencode >= \$LIBQRENCODE_REQUIRED\""; } >&5
14572   ($PKG_CONFIG --exists --print-errors "libqrencode >= $LIBQRENCODE_REQUIRED") 2>&5
14573   ac_status=$?
14574   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14575   test $ac_status = 0; }; then
14576   pkg_cv_LIBQRENCODE_LIBS=`$PKG_CONFIG --libs "libqrencode >= $LIBQRENCODE_REQUIRED" 2>/dev/null`
14577                       test "x$?" != "x0" && pkg_failed=yes
14578 else
14579   pkg_failed=yes
14580 fi
14581  else
14582     pkg_failed=untried
14583 fi
14584
14585
14586
14587 if test $pkg_failed = yes; then
14588         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14589 $as_echo "no" >&6; }
14590
14591 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14592         _pkg_short_errors_supported=yes
14593 else
14594         _pkg_short_errors_supported=no
14595 fi
14596         if test $_pkg_short_errors_supported = yes; then
14597                 LIBQRENCODE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libqrencode >= $LIBQRENCODE_REQUIRED" 2>&1`
14598         else
14599                 LIBQRENCODE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libqrencode >= $LIBQRENCODE_REQUIRED" 2>&1`
14600         fi
14601         # Put the nasty error message in config.log where it belongs
14602         echo "$LIBQRENCODE_PKG_ERRORS" >&5
14603
14604         have_libqrencode=no
14605 elif test $pkg_failed = untried; then
14606         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14607 $as_echo "no" >&6; }
14608         have_libqrencode=no
14609 else
14610         LIBQRENCODE_CFLAGS=$pkg_cv_LIBQRENCODE_CFLAGS
14611         LIBQRENCODE_LIBS=$pkg_cv_LIBQRENCODE_LIBS
14612         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14613 $as_echo "yes" >&6; }
14614         have_libqrencode=yes
14615 fi
14616 fi
14617
14618 if test "x$have_libqrencode" = "xyes"; then
14619
14620 $as_echo "#define HAVE_LIBQRENCODE 1" >>confdefs.h
14621
14622
14623
14624 else
14625         help_libqrencode="(See http://megaui.net/fukuchi/works/qrencode/index.en.html)"
14626 fi
14627
14628
14629
14630 # Check whether --with-libiec16022 was given.
14631 if test "${with_libiec16022+set}" = set; then :
14632   withval=$with_libiec16022;
14633 fi
14634
14635 have_libiec16022=no
14636 if test "x$with_libiec16022" != xno; then
14637
14638 pkg_failed=no
14639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBIEC16022" >&5
14640 $as_echo_n "checking for LIBIEC16022... " >&6; }
14641
14642 if test -n "$LIBIEC16022_CFLAGS"; then
14643     pkg_cv_LIBIEC16022_CFLAGS="$LIBIEC16022_CFLAGS"
14644  elif test -n "$PKG_CONFIG"; then
14645     if test -n "$PKG_CONFIG" && \
14646     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libiec16022 >= \$LIBIEC16022_REQUIRED\""; } >&5
14647   ($PKG_CONFIG --exists --print-errors "libiec16022 >= $LIBIEC16022_REQUIRED") 2>&5
14648   ac_status=$?
14649   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14650   test $ac_status = 0; }; then
14651   pkg_cv_LIBIEC16022_CFLAGS=`$PKG_CONFIG --cflags "libiec16022 >= $LIBIEC16022_REQUIRED" 2>/dev/null`
14652                       test "x$?" != "x0" && pkg_failed=yes
14653 else
14654   pkg_failed=yes
14655 fi
14656  else
14657     pkg_failed=untried
14658 fi
14659 if test -n "$LIBIEC16022_LIBS"; then
14660     pkg_cv_LIBIEC16022_LIBS="$LIBIEC16022_LIBS"
14661  elif test -n "$PKG_CONFIG"; then
14662     if test -n "$PKG_CONFIG" && \
14663     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libiec16022 >= \$LIBIEC16022_REQUIRED\""; } >&5
14664   ($PKG_CONFIG --exists --print-errors "libiec16022 >= $LIBIEC16022_REQUIRED") 2>&5
14665   ac_status=$?
14666   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14667   test $ac_status = 0; }; then
14668   pkg_cv_LIBIEC16022_LIBS=`$PKG_CONFIG --libs "libiec16022 >= $LIBIEC16022_REQUIRED" 2>/dev/null`
14669                       test "x$?" != "x0" && pkg_failed=yes
14670 else
14671   pkg_failed=yes
14672 fi
14673  else
14674     pkg_failed=untried
14675 fi
14676
14677
14678
14679 if test $pkg_failed = yes; then
14680         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14681 $as_echo "no" >&6; }
14682
14683 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14684         _pkg_short_errors_supported=yes
14685 else
14686         _pkg_short_errors_supported=no
14687 fi
14688         if test $_pkg_short_errors_supported = yes; then
14689                 LIBIEC16022_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libiec16022 >= $LIBIEC16022_REQUIRED" 2>&1`
14690         else
14691                 LIBIEC16022_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libiec16022 >= $LIBIEC16022_REQUIRED" 2>&1`
14692         fi
14693         # Put the nasty error message in config.log where it belongs
14694         echo "$LIBIEC16022_PKG_ERRORS" >&5
14695
14696         have_libiec16022=no
14697 elif test $pkg_failed = untried; then
14698         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14699 $as_echo "no" >&6; }
14700         have_libiec16022=no
14701 else
14702         LIBIEC16022_CFLAGS=$pkg_cv_LIBIEC16022_CFLAGS
14703         LIBIEC16022_LIBS=$pkg_cv_LIBIEC16022_LIBS
14704         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14705 $as_echo "yes" >&6; }
14706         have_libiec16022=yes
14707 fi
14708 fi
14709
14710 if test "x$have_libiec16022" = "xyes"; then
14711
14712 $as_echo "#define HAVE_LIBIEC16022 1" >>confdefs.h
14713
14714
14715
14716 else
14717         help_libiec16022="(See http://datenfreihafen.org/projects/iec16022.html)"
14718 fi
14719
14720
14721 # Check whether --enable-deprecations was given.
14722 if test "${enable_deprecations+set}" = set; then :
14723   enableval=$enable_deprecations;
14724 else
14725   enable_deprecations=no
14726 fi
14727
14728
14729 if test "x$enable_deprecations" = "xyes"; then
14730    DISABLE_DEPRECATED_CFLAGS="\
14731 -DG_DISABLE_DEPRECATED \
14732 -DGDK_DISABLE_DEPRECATED \
14733 -DGTK_DISABLE_DEPRECATED \
14734 -DGDK_PIXBUF_DISABLE_DEPRECATED \
14735 "
14736
14737 fi
14738
14739
14740 GETTEXT_PACKAGE=${GLABELS_BRANCH}
14741
14742
14743 cat >>confdefs.h <<_ACEOF
14744 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
14745 _ACEOF
14746
14747
14748
14749    for ac_header in locale.h
14750 do :
14751   ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
14752 if test "x$ac_cv_header_locale_h" = xyes; then :
14753   cat >>confdefs.h <<_ACEOF
14754 #define HAVE_LOCALE_H 1
14755 _ACEOF
14756
14757 fi
14758
14759 done
14760
14761     if test $ac_cv_header_locale_h = yes; then
14762     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
14763 $as_echo_n "checking for LC_MESSAGES... " >&6; }
14764 if ${am_cv_val_LC_MESSAGES+:} false; then :
14765   $as_echo_n "(cached) " >&6
14766 else
14767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14768 /* end confdefs.h.  */
14769 #include <locale.h>
14770 int
14771 main ()
14772 {
14773 return LC_MESSAGES
14774   ;
14775   return 0;
14776 }
14777 _ACEOF
14778 if ac_fn_c_try_link "$LINENO"; then :
14779   am_cv_val_LC_MESSAGES=yes
14780 else
14781   am_cv_val_LC_MESSAGES=no
14782 fi
14783 rm -f core conftest.err conftest.$ac_objext \
14784     conftest$ac_exeext conftest.$ac_ext
14785 fi
14786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
14787 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
14788     if test $am_cv_val_LC_MESSAGES = yes; then
14789
14790 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
14791
14792     fi
14793   fi
14794      USE_NLS=yes
14795
14796
14797     gt_cv_have_gettext=no
14798
14799     CATOBJEXT=NONE
14800     XGETTEXT=:
14801     INTLLIBS=
14802
14803     ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
14804 if test "x$ac_cv_header_libintl_h" = xyes; then :
14805   gt_cv_func_dgettext_libintl="no"
14806       libintl_extra_libs=""
14807
14808       #
14809       # First check in libc
14810       #
14811       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
14812 $as_echo_n "checking for ngettext in libc... " >&6; }
14813 if ${gt_cv_func_ngettext_libc+:} false; then :
14814   $as_echo_n "(cached) " >&6
14815 else
14816   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14817 /* end confdefs.h.  */
14818
14819 #include <libintl.h>
14820
14821 int
14822 main ()
14823 {
14824 return !ngettext ("","", 1)
14825   ;
14826   return 0;
14827 }
14828 _ACEOF
14829 if ac_fn_c_try_link "$LINENO"; then :
14830   gt_cv_func_ngettext_libc=yes
14831 else
14832   gt_cv_func_ngettext_libc=no
14833 fi
14834 rm -f core conftest.err conftest.$ac_objext \
14835     conftest$ac_exeext conftest.$ac_ext
14836
14837 fi
14838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
14839 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
14840
14841       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
14842               { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
14843 $as_echo_n "checking for dgettext in libc... " >&6; }
14844 if ${gt_cv_func_dgettext_libc+:} false; then :
14845   $as_echo_n "(cached) " >&6
14846 else
14847   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14848 /* end confdefs.h.  */
14849
14850 #include <libintl.h>
14851
14852 int
14853 main ()
14854 {
14855 return !dgettext ("","")
14856   ;
14857   return 0;
14858 }
14859 _ACEOF
14860 if ac_fn_c_try_link "$LINENO"; then :
14861   gt_cv_func_dgettext_libc=yes
14862 else
14863   gt_cv_func_dgettext_libc=no
14864 fi
14865 rm -f core conftest.err conftest.$ac_objext \
14866     conftest$ac_exeext conftest.$ac_ext
14867
14868 fi
14869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
14870 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
14871       fi
14872
14873       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
14874         for ac_func in bind_textdomain_codeset
14875 do :
14876   ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
14877 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
14878   cat >>confdefs.h <<_ACEOF
14879 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
14880 _ACEOF
14881
14882 fi
14883 done
14884
14885       fi
14886
14887       #
14888       # If we don't have everything we want, check in libintl
14889       #
14890       if test "$gt_cv_func_dgettext_libc" != "yes" \
14891          || test "$gt_cv_func_ngettext_libc" != "yes" \
14892          || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
14893
14894         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
14895 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
14896 if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
14897   $as_echo_n "(cached) " >&6
14898 else
14899   ac_check_lib_save_LIBS=$LIBS
14900 LIBS="-lintl  $LIBS"
14901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14902 /* end confdefs.h.  */
14903
14904 /* Override any GCC internal prototype to avoid an error.
14905    Use char because int might match the return type of a GCC
14906    builtin and then its argument prototype would still apply.  */
14907 #ifdef __cplusplus
14908 extern "C"
14909 #endif
14910 char bindtextdomain ();
14911 int
14912 main ()
14913 {
14914 return bindtextdomain ();
14915   ;
14916   return 0;
14917 }
14918 _ACEOF
14919 if ac_fn_c_try_link "$LINENO"; then :
14920   ac_cv_lib_intl_bindtextdomain=yes
14921 else
14922   ac_cv_lib_intl_bindtextdomain=no
14923 fi
14924 rm -f core conftest.err conftest.$ac_objext \
14925     conftest$ac_exeext conftest.$ac_ext
14926 LIBS=$ac_check_lib_save_LIBS
14927 fi
14928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
14929 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
14930 if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
14931   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
14932 $as_echo_n "checking for ngettext in -lintl... " >&6; }
14933 if ${ac_cv_lib_intl_ngettext+:} false; then :
14934   $as_echo_n "(cached) " >&6
14935 else
14936   ac_check_lib_save_LIBS=$LIBS
14937 LIBS="-lintl  $LIBS"
14938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14939 /* end confdefs.h.  */
14940
14941 /* Override any GCC internal prototype to avoid an error.
14942    Use char because int might match the return type of a GCC
14943    builtin and then its argument prototype would still apply.  */
14944 #ifdef __cplusplus
14945 extern "C"
14946 #endif
14947 char ngettext ();
14948 int
14949 main ()
14950 {
14951 return ngettext ();
14952   ;
14953   return 0;
14954 }
14955 _ACEOF
14956 if ac_fn_c_try_link "$LINENO"; then :
14957   ac_cv_lib_intl_ngettext=yes
14958 else
14959   ac_cv_lib_intl_ngettext=no
14960 fi
14961 rm -f core conftest.err conftest.$ac_objext \
14962     conftest$ac_exeext conftest.$ac_ext
14963 LIBS=$ac_check_lib_save_LIBS
14964 fi
14965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
14966 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
14967 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
14968   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
14969 $as_echo_n "checking for dgettext in -lintl... " >&6; }
14970 if ${ac_cv_lib_intl_dgettext+:} false; then :
14971   $as_echo_n "(cached) " >&6
14972 else
14973   ac_check_lib_save_LIBS=$LIBS
14974 LIBS="-lintl  $LIBS"
14975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14976 /* end confdefs.h.  */
14977
14978 /* Override any GCC internal prototype to avoid an error.
14979    Use char because int might match the return type of a GCC
14980    builtin and then its argument prototype would still apply.  */
14981 #ifdef __cplusplus
14982 extern "C"
14983 #endif
14984 char dgettext ();
14985 int
14986 main ()
14987 {
14988 return dgettext ();
14989   ;
14990   return 0;
14991 }
14992 _ACEOF
14993 if ac_fn_c_try_link "$LINENO"; then :
14994   ac_cv_lib_intl_dgettext=yes
14995 else
14996   ac_cv_lib_intl_dgettext=no
14997 fi
14998 rm -f core conftest.err conftest.$ac_objext \
14999     conftest$ac_exeext conftest.$ac_ext
15000 LIBS=$ac_check_lib_save_LIBS
15001 fi
15002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
15003 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
15004 if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
15005   gt_cv_func_dgettext_libintl=yes
15006 fi
15007
15008 fi
15009
15010 fi
15011
15012
15013         if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
15014           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
15015 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
15016           { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
15017 $as_echo "" >&6; }
15018           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
15019 $as_echo_n "checking for ngettext in -lintl... " >&6; }
15020 if ${ac_cv_lib_intl_ngettext+:} false; then :
15021   $as_echo_n "(cached) " >&6
15022 else
15023   ac_check_lib_save_LIBS=$LIBS
15024 LIBS="-lintl -liconv $LIBS"
15025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15026 /* end confdefs.h.  */
15027
15028 /* Override any GCC internal prototype to avoid an error.
15029    Use char because int might match the return type of a GCC
15030    builtin and then its argument prototype would still apply.  */
15031 #ifdef __cplusplus
15032 extern "C"
15033 #endif
15034 char ngettext ();
15035 int
15036 main ()
15037 {
15038 return ngettext ();
15039   ;
15040   return 0;
15041 }
15042 _ACEOF
15043 if ac_fn_c_try_link "$LINENO"; then :
15044   ac_cv_lib_intl_ngettext=yes
15045 else
15046   ac_cv_lib_intl_ngettext=no
15047 fi
15048 rm -f core conftest.err conftest.$ac_objext \
15049     conftest$ac_exeext conftest.$ac_ext
15050 LIBS=$ac_check_lib_save_LIBS
15051 fi
15052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
15053 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
15054 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
15055   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
15056 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
15057 if ${ac_cv_lib_intl_dcgettext+:} false; then :
15058   $as_echo_n "(cached) " >&6
15059 else
15060   ac_check_lib_save_LIBS=$LIBS
15061 LIBS="-lintl -liconv $LIBS"
15062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15063 /* end confdefs.h.  */
15064
15065 /* Override any GCC internal prototype to avoid an error.
15066    Use char because int might match the return type of a GCC
15067    builtin and then its argument prototype would still apply.  */
15068 #ifdef __cplusplus
15069 extern "C"
15070 #endif
15071 char dcgettext ();
15072 int
15073 main ()
15074 {
15075 return dcgettext ();
15076   ;
15077   return 0;
15078 }
15079 _ACEOF
15080 if ac_fn_c_try_link "$LINENO"; then :
15081   ac_cv_lib_intl_dcgettext=yes
15082 else
15083   ac_cv_lib_intl_dcgettext=no
15084 fi
15085 rm -f core conftest.err conftest.$ac_objext \
15086     conftest$ac_exeext conftest.$ac_ext
15087 LIBS=$ac_check_lib_save_LIBS
15088 fi
15089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
15090 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
15091 if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
15092   gt_cv_func_dgettext_libintl=yes
15093                         libintl_extra_libs=-liconv
15094 else
15095   :
15096 fi
15097
15098 else
15099   :
15100 fi
15101
15102         fi
15103
15104         #
15105         # If we found libintl, then check in it for bind_textdomain_codeset();
15106         # we'll prefer libc if neither have bind_textdomain_codeset(),
15107         # and both have dgettext and ngettext
15108         #
15109         if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
15110           glib_save_LIBS="$LIBS"
15111           LIBS="$LIBS -lintl $libintl_extra_libs"
15112           unset ac_cv_func_bind_textdomain_codeset
15113           for ac_func in bind_textdomain_codeset
15114 do :
15115   ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15116 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15117   cat >>confdefs.h <<_ACEOF
15118 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
15119 _ACEOF
15120
15121 fi
15122 done
15123
15124           LIBS="$glib_save_LIBS"
15125
15126           if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
15127             gt_cv_func_dgettext_libc=no
15128           else
15129             if test "$gt_cv_func_dgettext_libc" = "yes" \
15130                 && test "$gt_cv_func_ngettext_libc" = "yes"; then
15131               gt_cv_func_dgettext_libintl=no
15132             fi
15133           fi
15134         fi
15135       fi
15136
15137       if test "$gt_cv_func_dgettext_libc" = "yes" \
15138         || test "$gt_cv_func_dgettext_libintl" = "yes"; then
15139         gt_cv_have_gettext=yes
15140       fi
15141
15142       if test "$gt_cv_func_dgettext_libintl" = "yes"; then
15143         INTLLIBS="-lintl $libintl_extra_libs"
15144       fi
15145
15146       if test "$gt_cv_have_gettext" = "yes"; then
15147
15148 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
15149
15150         # Extract the first word of "msgfmt", so it can be a program name with args.
15151 set dummy msgfmt; ac_word=$2
15152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15153 $as_echo_n "checking for $ac_word... " >&6; }
15154 if ${ac_cv_path_MSGFMT+:} false; then :
15155   $as_echo_n "(cached) " >&6
15156 else
15157   case "$MSGFMT" in
15158   /*)
15159   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
15160   ;;
15161   *)
15162   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
15163   for ac_dir in $PATH; do
15164     test -z "$ac_dir" && ac_dir=.
15165     if test -f $ac_dir/$ac_word; then
15166       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
15167         ac_cv_path_MSGFMT="$ac_dir/$ac_word"
15168         break
15169       fi
15170     fi
15171   done
15172   IFS="$ac_save_ifs"
15173   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
15174   ;;
15175 esac
15176 fi
15177 MSGFMT="$ac_cv_path_MSGFMT"
15178 if test "$MSGFMT" != "no"; then
15179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
15180 $as_echo "$MSGFMT" >&6; }
15181 else
15182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15183 $as_echo "no" >&6; }
15184 fi
15185         if test "$MSGFMT" != "no"; then
15186           glib_save_LIBS="$LIBS"
15187           LIBS="$LIBS $INTLLIBS"
15188           for ac_func in dcgettext
15189 do :
15190   ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
15191 if test "x$ac_cv_func_dcgettext" = xyes; then :
15192   cat >>confdefs.h <<_ACEOF
15193 #define HAVE_DCGETTEXT 1
15194 _ACEOF
15195
15196 fi
15197 done
15198
15199           MSGFMT_OPTS=
15200           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
15201 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
15202           cat >conftest.foo <<_ACEOF
15203
15204 msgid ""
15205 msgstr ""
15206 "Content-Type: text/plain; charset=UTF-8\n"
15207 "Project-Id-Version: test 1.0\n"
15208 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
15209 "Last-Translator: test <foo@bar.xx>\n"
15210 "Language-Team: C <LL@li.org>\n"
15211 "MIME-Version: 1.0\n"
15212 "Content-Transfer-Encoding: 8bit\n"
15213
15214 _ACEOF
15215 if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
15216   ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
15217   ac_status=$?
15218   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15219   test $ac_status = 0; }; then
15220   MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15221 $as_echo "yes" >&6; }
15222 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15223 $as_echo "no" >&6; }
15224 echo "$as_me: failed input was:" >&5
15225 sed 's/^/| /' conftest.foo >&5
15226 fi
15227
15228           # Extract the first word of "gmsgfmt", so it can be a program name with args.
15229 set dummy gmsgfmt; ac_word=$2
15230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15231 $as_echo_n "checking for $ac_word... " >&6; }
15232 if ${ac_cv_path_GMSGFMT+:} false; then :
15233   $as_echo_n "(cached) " >&6
15234 else
15235   case $GMSGFMT in
15236   [\\/]* | ?:[\\/]*)
15237   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
15238   ;;
15239   *)
15240   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15241 for as_dir in $PATH
15242 do
15243   IFS=$as_save_IFS
15244   test -z "$as_dir" && as_dir=.
15245     for ac_exec_ext in '' $ac_executable_extensions; do
15246   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15247     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
15248     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15249     break 2
15250   fi
15251 done
15252   done
15253 IFS=$as_save_IFS
15254
15255   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
15256   ;;
15257 esac
15258 fi
15259 GMSGFMT=$ac_cv_path_GMSGFMT
15260 if test -n "$GMSGFMT"; then
15261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
15262 $as_echo "$GMSGFMT" >&6; }
15263 else
15264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15265 $as_echo "no" >&6; }
15266 fi
15267
15268
15269           # Extract the first word of "xgettext", so it can be a program name with args.
15270 set dummy xgettext; ac_word=$2
15271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15272 $as_echo_n "checking for $ac_word... " >&6; }
15273 if ${ac_cv_path_XGETTEXT+:} false; then :
15274   $as_echo_n "(cached) " >&6
15275 else
15276   case "$XGETTEXT" in
15277   /*)
15278   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
15279   ;;
15280   *)
15281   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
15282   for ac_dir in $PATH; do
15283     test -z "$ac_dir" && ac_dir=.
15284     if test -f $ac_dir/$ac_word; then
15285       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
15286         ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
15287         break
15288       fi
15289     fi
15290   done
15291   IFS="$ac_save_ifs"
15292   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
15293   ;;
15294 esac
15295 fi
15296 XGETTEXT="$ac_cv_path_XGETTEXT"
15297 if test "$XGETTEXT" != ":"; then
15298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
15299 $as_echo "$XGETTEXT" >&6; }
15300 else
15301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15302 $as_echo "no" >&6; }
15303 fi
15304
15305           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15306 /* end confdefs.h.  */
15307
15308 int
15309 main ()
15310 {
15311 extern int _nl_msg_cat_cntr;
15312                          return _nl_msg_cat_cntr
15313   ;
15314   return 0;
15315 }
15316 _ACEOF
15317 if ac_fn_c_try_link "$LINENO"; then :
15318   CATOBJEXT=.gmo
15319              DATADIRNAME=share
15320 else
15321   case $host in
15322             *-*-solaris*)
15323                                                                 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15324 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15325   CATOBJEXT=.gmo
15326                DATADIRNAME=share
15327 else
15328   CATOBJEXT=.mo
15329                DATADIRNAME=lib
15330 fi
15331
15332             ;;
15333             *-*-openbsd*)
15334             CATOBJEXT=.mo
15335             DATADIRNAME=share
15336             ;;
15337             *)
15338             CATOBJEXT=.mo
15339             DATADIRNAME=lib
15340             ;;
15341             esac
15342 fi
15343 rm -f core conftest.err conftest.$ac_objext \
15344     conftest$ac_exeext conftest.$ac_ext
15345           LIBS="$glib_save_LIBS"
15346           INSTOBJEXT=.mo
15347         else
15348           gt_cv_have_gettext=no
15349         fi
15350       fi
15351
15352 fi
15353
15354
15355
15356     if test "$gt_cv_have_gettext" = "yes" ; then
15357
15358 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
15359
15360     fi
15361
15362         if test "$XGETTEXT" != ":"; then
15363                   if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
15364         : ;
15365       else
15366         { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
15367 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
15368         XGETTEXT=":"
15369       fi
15370     fi
15371
15372     # We need to process the po/ directory.
15373     POSUB=po
15374
15375     ac_config_commands="$ac_config_commands default-1"
15376
15377
15378                 for lang in $ALL_LINGUAS; do
15379       GMOFILES="$GMOFILES $lang.gmo"
15380       POFILES="$POFILES $lang.po"
15381     done
15382
15383
15384
15385
15386
15387
15388
15389
15390
15391
15392
15393
15394
15395    if test "$gt_cv_have_gettext" = "yes"; then
15396      if test "x$ALL_LINGUAS" = "x"; then
15397        LINGUAS=
15398      else
15399        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
15400 $as_echo_n "checking for catalogs to be installed... " >&6; }
15401        NEW_LINGUAS=
15402        for presentlang in $ALL_LINGUAS; do
15403          useit=no
15404          if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
15405            desiredlanguages="$LINGUAS"
15406          else
15407            desiredlanguages="$ALL_LINGUAS"
15408          fi
15409          for desiredlang in $desiredlanguages; do
15410            # Use the presentlang catalog if desiredlang is
15411            #   a. equal to presentlang, or
15412            #   b. a variant of presentlang (because in this case,
15413            #      presentlang can be used as a fallback for messages
15414            #      which are not translated in the desiredlang catalog).
15415            case "$desiredlang" in
15416              "$presentlang"*) useit=yes;;
15417            esac
15418          done
15419          if test $useit = yes; then
15420            NEW_LINGUAS="$NEW_LINGUAS $presentlang"
15421          fi
15422        done
15423        LINGUAS=$NEW_LINGUAS
15424        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
15425 $as_echo "$LINGUAS" >&6; }
15426      fi
15427
15428           if test -n "$LINGUAS"; then
15429        for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
15430      fi
15431    fi
15432
15433             MKINSTALLDIRS=
15434    if test -n "$ac_aux_dir"; then
15435      MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
15436    fi
15437    if test -z "$MKINSTALLDIRS"; then
15438      MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
15439    fi
15440
15441
15442          test -d po || mkdir po
15443    if test "x$srcdir" != "x."; then
15444      if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
15445        posrcprefix="$srcdir/"
15446      else
15447        posrcprefix="../$srcdir/"
15448      fi
15449    else
15450      posrcprefix="../"
15451    fi
15452    rm -f po/POTFILES
15453    sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
15454         < $srcdir/po/POTFILES.in > po/POTFILES
15455
15456
15457
15458 ac_config_files="$ac_config_files Makefile libglabels/Makefile libglabels/${LIBGLABELS_BRANCH}.pc libglbarcode/Makefile libglbarcode/${LIBGLBARCODE_BRANCH}.pc src/Makefile src/cursors/Makefile src/pixmaps/Makefile data/Makefile data/desktop/Makefile data/icons/Makefile data/icons/16x16/Makefile data/icons/22x22/Makefile data/icons/24x24/Makefile data/icons/32x32/Makefile data/icons/48x48/Makefile data/man/Makefile data/mime/Makefile data/pixmaps/Makefile data/schemas/Makefile data/schemas/org.gnome.glabels-3.gschema.xml.in data/ui/Makefile templates/Makefile po/Makefile.in help/Makefile docs/Makefile docs/libglabels/Makefile docs/libglbarcode/Makefile glabels.spec"
15459
15460 cat >confcache <<\_ACEOF
15461 # This file is a shell script that caches the results of configure
15462 # tests run on this system so they can be shared between configure
15463 # scripts and configure runs, see configure's option --config-cache.
15464 # It is not useful on other systems.  If it contains results you don't
15465 # want to keep, you may remove or edit it.
15466 #
15467 # config.status only pays attention to the cache file if you give it
15468 # the --recheck option to rerun configure.
15469 #
15470 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15471 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15472 # following values.
15473
15474 _ACEOF
15475
15476 # The following way of writing the cache mishandles newlines in values,
15477 # but we know of no workaround that is simple, portable, and efficient.
15478 # So, we kill variables containing newlines.
15479 # Ultrix sh set writes to stderr and can't be redirected directly,
15480 # and sets the high bit in the cache file unless we assign to the vars.
15481 (
15482   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15483     eval ac_val=\$$ac_var
15484     case $ac_val in #(
15485     *${as_nl}*)
15486       case $ac_var in #(
15487       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15488 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15489       esac
15490       case $ac_var in #(
15491       _ | IFS | as_nl) ;; #(
15492       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15493       *) { eval $ac_var=; unset $ac_var;} ;;
15494       esac ;;
15495     esac
15496   done
15497
15498   (set) 2>&1 |
15499     case $as_nl`(ac_space=' '; set) 2>&1` in #(
15500     *${as_nl}ac_space=\ *)
15501       # `set' does not quote correctly, so add quotes: double-quote
15502       # substitution turns \\\\ into \\, and sed turns \\ into \.
15503       sed -n \
15504         "s/'/'\\\\''/g;
15505           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15506       ;; #(
15507     *)
15508       # `set' quotes correctly as required by POSIX, so do not add quotes.
15509       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15510       ;;
15511     esac |
15512     sort
15513 ) |
15514   sed '
15515      /^ac_cv_env_/b end
15516      t clear
15517      :clear
15518      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15519      t end
15520      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15521      :end' >>confcache
15522 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15523   if test -w "$cache_file"; then
15524     if test "x$cache_file" != "x/dev/null"; then
15525       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15526 $as_echo "$as_me: updating cache $cache_file" >&6;}
15527       if test ! -f "$cache_file" || test -h "$cache_file"; then
15528         cat confcache >"$cache_file"
15529       else
15530         case $cache_file in #(
15531         */* | ?:*)
15532           mv -f confcache "$cache_file"$$ &&
15533           mv -f "$cache_file"$$ "$cache_file" ;; #(
15534         *)
15535           mv -f confcache "$cache_file" ;;
15536         esac
15537       fi
15538     fi
15539   else
15540     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15541 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15542   fi
15543 fi
15544 rm -f confcache
15545
15546 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15547 # Let make expand exec_prefix.
15548 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15549
15550 DEFS=-DHAVE_CONFIG_H
15551
15552 ac_libobjs=
15553 ac_ltlibobjs=
15554 U=
15555 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15556   # 1. Remove the extension, and $U if already installed.
15557   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15558   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15559   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
15560   #    will be set to the directory where LIBOBJS objects are built.
15561   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15562   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15563 done
15564 LIBOBJS=$ac_libobjs
15565
15566 LTLIBOBJS=$ac_ltlibobjs
15567
15568
15569  if test -n "$EXEEXT"; then
15570   am__EXEEXT_TRUE=
15571   am__EXEEXT_FALSE='#'
15572 else
15573   am__EXEEXT_TRUE='#'
15574   am__EXEEXT_FALSE=
15575 fi
15576
15577 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15578   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15579 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15580 fi
15581 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15582   as_fn_error $? "conditional \"AMDEP\" was never defined.
15583 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15584 fi
15585 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15586   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15587 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15588 fi
15589
15590   ac_config_commands="$ac_config_commands po/stamp-it"
15591
15592
15593 if test -z "${ENABLE_SK_TRUE}" && test -z "${ENABLE_SK_FALSE}"; then
15594   as_fn_error $? "conditional \"ENABLE_SK\" was never defined.
15595 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15596 fi
15597 if test -z "${HAVE_GNOME_DOC_UTILS_TRUE}" && test -z "${HAVE_GNOME_DOC_UTILS_FALSE}"; then
15598   as_fn_error $? "conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
15599 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15600 fi
15601 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
15602   as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
15603 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15604 fi
15605 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
15606   as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
15607 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15608 fi
15609 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
15610   as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
15611 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15612 fi
15613 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
15614   as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
15615 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15616 fi
15617 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
15618   as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
15619 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15620 fi
15621 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15622   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15623 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15624 fi
15625
15626 : "${CONFIG_STATUS=./config.status}"
15627 ac_write_fail=0
15628 ac_clean_files_save=$ac_clean_files
15629 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15630 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15631 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15632 as_write_fail=0
15633 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15634 #! $SHELL
15635 # Generated by $as_me.
15636 # Run this file to recreate the current configuration.
15637 # Compiler output produced by configure, useful for debugging
15638 # configure, is in config.log if it exists.
15639
15640 debug=false
15641 ac_cs_recheck=false
15642 ac_cs_silent=false
15643
15644 SHELL=\${CONFIG_SHELL-$SHELL}
15645 export SHELL
15646 _ASEOF
15647 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15648 ## -------------------- ##
15649 ## M4sh Initialization. ##
15650 ## -------------------- ##
15651
15652 # Be more Bourne compatible
15653 DUALCASE=1; export DUALCASE # for MKS sh
15654 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15655   emulate sh
15656   NULLCMD=:
15657   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15658   # is contrary to our usage.  Disable this feature.
15659   alias -g '${1+"$@"}'='"$@"'
15660   setopt NO_GLOB_SUBST
15661 else
15662   case `(set -o) 2>/dev/null` in #(
15663   *posix*) :
15664     set -o posix ;; #(
15665   *) :
15666      ;;
15667 esac
15668 fi
15669
15670
15671 as_nl='
15672 '
15673 export as_nl
15674 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15675 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15676 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15677 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15678 # Prefer a ksh shell builtin over an external printf program on Solaris,
15679 # but without wasting forks for bash or zsh.
15680 if test -z "$BASH_VERSION$ZSH_VERSION" \
15681     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15682   as_echo='print -r --'
15683   as_echo_n='print -rn --'
15684 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15685   as_echo='printf %s\n'
15686   as_echo_n='printf %s'
15687 else
15688   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15689     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15690     as_echo_n='/usr/ucb/echo -n'
15691   else
15692     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15693     as_echo_n_body='eval
15694       arg=$1;
15695       case $arg in #(
15696       *"$as_nl"*)
15697         expr "X$arg" : "X\\(.*\\)$as_nl";
15698         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15699       esac;
15700       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15701     '
15702     export as_echo_n_body
15703     as_echo_n='sh -c $as_echo_n_body as_echo'
15704   fi
15705   export as_echo_body
15706   as_echo='sh -c $as_echo_body as_echo'
15707 fi
15708
15709 # The user is always right.
15710 if test "${PATH_SEPARATOR+set}" != set; then
15711   PATH_SEPARATOR=:
15712   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15713     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15714       PATH_SEPARATOR=';'
15715   }
15716 fi
15717
15718
15719 # IFS
15720 # We need space, tab and new line, in precisely that order.  Quoting is
15721 # there to prevent editors from complaining about space-tab.
15722 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15723 # splitting by setting IFS to empty value.)
15724 IFS=" ""        $as_nl"
15725
15726 # Find who we are.  Look in the path if we contain no directory separator.
15727 as_myself=
15728 case $0 in #((
15729   *[\\/]* ) as_myself=$0 ;;
15730   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15731 for as_dir in $PATH
15732 do
15733   IFS=$as_save_IFS
15734   test -z "$as_dir" && as_dir=.
15735     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15736   done
15737 IFS=$as_save_IFS
15738
15739      ;;
15740 esac
15741 # We did not find ourselves, most probably we were run as `sh COMMAND'
15742 # in which case we are not to be found in the path.
15743 if test "x$as_myself" = x; then
15744   as_myself=$0
15745 fi
15746 if test ! -f "$as_myself"; then
15747   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15748   exit 1
15749 fi
15750
15751 # Unset variables that we do not need and which cause bugs (e.g. in
15752 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
15753 # suppresses any "Segmentation fault" message there.  '((' could
15754 # trigger a bug in pdksh 5.2.14.
15755 for as_var in BASH_ENV ENV MAIL MAILPATH
15756 do eval test x\${$as_var+set} = xset \
15757   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15758 done
15759 PS1='$ '
15760 PS2='> '
15761 PS4='+ '
15762
15763 # NLS nuisances.
15764 LC_ALL=C
15765 export LC_ALL
15766 LANGUAGE=C
15767 export LANGUAGE
15768
15769 # CDPATH.
15770 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15771
15772
15773 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15774 # ----------------------------------------
15775 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15776 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15777 # script with STATUS, using 1 if that was 0.
15778 as_fn_error ()
15779 {
15780   as_status=$1; test $as_status -eq 0 && as_status=1
15781   if test "$4"; then
15782     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15783     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15784   fi
15785   $as_echo "$as_me: error: $2" >&2
15786   as_fn_exit $as_status
15787 } # as_fn_error
15788
15789
15790 # as_fn_set_status STATUS
15791 # -----------------------
15792 # Set $? to STATUS, without forking.
15793 as_fn_set_status ()
15794 {
15795   return $1
15796 } # as_fn_set_status
15797
15798 # as_fn_exit STATUS
15799 # -----------------
15800 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15801 as_fn_exit ()
15802 {
15803   set +e
15804   as_fn_set_status $1
15805   exit $1
15806 } # as_fn_exit
15807
15808 # as_fn_unset VAR
15809 # ---------------
15810 # Portably unset VAR.
15811 as_fn_unset ()
15812 {
15813   { eval $1=; unset $1;}
15814 }
15815 as_unset=as_fn_unset
15816 # as_fn_append VAR VALUE
15817 # ----------------------
15818 # Append the text in VALUE to the end of the definition contained in VAR. Take
15819 # advantage of any shell optimizations that allow amortized linear growth over
15820 # repeated appends, instead of the typical quadratic growth present in naive
15821 # implementations.
15822 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15823   eval 'as_fn_append ()
15824   {
15825     eval $1+=\$2
15826   }'
15827 else
15828   as_fn_append ()
15829   {
15830     eval $1=\$$1\$2
15831   }
15832 fi # as_fn_append
15833
15834 # as_fn_arith ARG...
15835 # ------------------
15836 # Perform arithmetic evaluation on the ARGs, and store the result in the
15837 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15838 # must be portable across $(()) and expr.
15839 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15840   eval 'as_fn_arith ()
15841   {
15842     as_val=$(( $* ))
15843   }'
15844 else
15845   as_fn_arith ()
15846   {
15847     as_val=`expr "$@" || test $? -eq 1`
15848   }
15849 fi # as_fn_arith
15850
15851
15852 if expr a : '\(a\)' >/dev/null 2>&1 &&
15853    test "X`expr 00001 : '.*\(...\)'`" = X001; then
15854   as_expr=expr
15855 else
15856   as_expr=false
15857 fi
15858
15859 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15860   as_basename=basename
15861 else
15862   as_basename=false
15863 fi
15864
15865 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15866   as_dirname=dirname
15867 else
15868   as_dirname=false
15869 fi
15870
15871 as_me=`$as_basename -- "$0" ||
15872 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15873          X"$0" : 'X\(//\)$' \| \
15874          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15875 $as_echo X/"$0" |
15876     sed '/^.*\/\([^/][^/]*\)\/*$/{
15877             s//\1/
15878             q
15879           }
15880           /^X\/\(\/\/\)$/{
15881             s//\1/
15882             q
15883           }
15884           /^X\/\(\/\).*/{
15885             s//\1/
15886             q
15887           }
15888           s/.*/./; q'`
15889
15890 # Avoid depending upon Character Ranges.
15891 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15892 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15893 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15894 as_cr_digits='0123456789'
15895 as_cr_alnum=$as_cr_Letters$as_cr_digits
15896
15897 ECHO_C= ECHO_N= ECHO_T=
15898 case `echo -n x` in #(((((
15899 -n*)
15900   case `echo 'xy\c'` in
15901   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
15902   xy)  ECHO_C='\c';;
15903   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
15904        ECHO_T=' ';;
15905   esac;;
15906 *)
15907   ECHO_N='-n';;
15908 esac
15909
15910 rm -f conf$$ conf$$.exe conf$$.file
15911 if test -d conf$$.dir; then
15912   rm -f conf$$.dir/conf$$.file
15913 else
15914   rm -f conf$$.dir
15915   mkdir conf$$.dir 2>/dev/null
15916 fi
15917 if (echo >conf$$.file) 2>/dev/null; then
15918   if ln -s conf$$.file conf$$ 2>/dev/null; then
15919     as_ln_s='ln -s'
15920     # ... but there are two gotchas:
15921     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15922     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15923     # In both cases, we have to default to `cp -p'.
15924     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15925       as_ln_s='cp -p'
15926   elif ln conf$$.file conf$$ 2>/dev/null; then
15927     as_ln_s=ln
15928   else
15929     as_ln_s='cp -p'
15930   fi
15931 else
15932   as_ln_s='cp -p'
15933 fi
15934 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15935 rmdir conf$$.dir 2>/dev/null
15936
15937
15938 # as_fn_mkdir_p
15939 # -------------
15940 # Create "$as_dir" as a directory, including parents if necessary.
15941 as_fn_mkdir_p ()
15942 {
15943
15944   case $as_dir in #(
15945   -*) as_dir=./$as_dir;;
15946   esac
15947   test -d "$as_dir" || eval $as_mkdir_p || {
15948     as_dirs=
15949     while :; do
15950       case $as_dir in #(
15951       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15952       *) as_qdir=$as_dir;;
15953       esac
15954       as_dirs="'$as_qdir' $as_dirs"
15955       as_dir=`$as_dirname -- "$as_dir" ||
15956 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15957          X"$as_dir" : 'X\(//\)[^/]' \| \
15958          X"$as_dir" : 'X\(//\)$' \| \
15959          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15960 $as_echo X"$as_dir" |
15961     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15962             s//\1/
15963             q
15964           }
15965           /^X\(\/\/\)[^/].*/{
15966             s//\1/
15967             q
15968           }
15969           /^X\(\/\/\)$/{
15970             s//\1/
15971             q
15972           }
15973           /^X\(\/\).*/{
15974             s//\1/
15975             q
15976           }
15977           s/.*/./; q'`
15978       test -d "$as_dir" && break
15979     done
15980     test -z "$as_dirs" || eval "mkdir $as_dirs"
15981   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15982
15983
15984 } # as_fn_mkdir_p
15985 if mkdir -p . 2>/dev/null; then
15986   as_mkdir_p='mkdir -p "$as_dir"'
15987 else
15988   test -d ./-p && rmdir ./-p
15989   as_mkdir_p=false
15990 fi
15991
15992 if test -x / >/dev/null 2>&1; then
15993   as_test_x='test -x'
15994 else
15995   if ls -dL / >/dev/null 2>&1; then
15996     as_ls_L_option=L
15997   else
15998     as_ls_L_option=
15999   fi
16000   as_test_x='
16001     eval sh -c '\''
16002       if test -d "$1"; then
16003         test -d "$1/.";
16004       else
16005         case $1 in #(
16006         -*)set "./$1";;
16007         esac;
16008         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16009         ???[sx]*):;;*)false;;esac;fi
16010     '\'' sh
16011   '
16012 fi
16013 as_executable_p=$as_test_x
16014
16015 # Sed expression to map a string onto a valid CPP name.
16016 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16017
16018 # Sed expression to map a string onto a valid variable name.
16019 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16020
16021
16022 exec 6>&1
16023 ## ----------------------------------- ##
16024 ## Main body of $CONFIG_STATUS script. ##
16025 ## ----------------------------------- ##
16026 _ASEOF
16027 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16028
16029 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16030 # Save the log message, to keep $0 and so on meaningful, and to
16031 # report actual input values of CONFIG_FILES etc. instead of their
16032 # values after options handling.
16033 ac_log="
16034 This file was extended by glabels $as_me 3.0.1, which was
16035 generated by GNU Autoconf 2.68.  Invocation command line was
16036
16037   CONFIG_FILES    = $CONFIG_FILES
16038   CONFIG_HEADERS  = $CONFIG_HEADERS
16039   CONFIG_LINKS    = $CONFIG_LINKS
16040   CONFIG_COMMANDS = $CONFIG_COMMANDS
16041   $ $0 $@
16042
16043 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16044 "
16045
16046 _ACEOF
16047
16048 case $ac_config_files in *"
16049 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16050 esac
16051
16052 case $ac_config_headers in *"
16053 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16054 esac
16055
16056
16057 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16058 # Files that config.status was made for.
16059 config_files="$ac_config_files"
16060 config_headers="$ac_config_headers"
16061 config_commands="$ac_config_commands"
16062
16063 _ACEOF
16064
16065 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16066 ac_cs_usage="\
16067 \`$as_me' instantiates files and other configuration actions
16068 from templates according to the current configuration.  Unless the files
16069 and actions are specified as TAGs, all are instantiated by default.
16070
16071 Usage: $0 [OPTION]... [TAG]...
16072
16073   -h, --help       print this help, then exit
16074   -V, --version    print version number and configuration settings, then exit
16075       --config     print configuration, then exit
16076   -q, --quiet, --silent
16077                    do not print progress messages
16078   -d, --debug      don't remove temporary files
16079       --recheck    update $as_me by reconfiguring in the same conditions
16080       --file=FILE[:TEMPLATE]
16081                    instantiate the configuration file FILE
16082       --header=FILE[:TEMPLATE]
16083                    instantiate the configuration header FILE
16084
16085 Configuration files:
16086 $config_files
16087
16088 Configuration headers:
16089 $config_headers
16090
16091 Configuration commands:
16092 $config_commands
16093
16094 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=glabels>."
16095
16096 _ACEOF
16097 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16098 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16099 ac_cs_version="\\
16100 glabels config.status 3.0.1
16101 configured by $0, generated by GNU Autoconf 2.68,
16102   with options \\"\$ac_cs_config\\"
16103
16104 Copyright (C) 2010 Free Software Foundation, Inc.
16105 This config.status script is free software; the Free Software Foundation
16106 gives unlimited permission to copy, distribute and modify it."
16107
16108 ac_pwd='$ac_pwd'
16109 srcdir='$srcdir'
16110 INSTALL='$INSTALL'
16111 MKDIR_P='$MKDIR_P'
16112 AWK='$AWK'
16113 test -n "\$AWK" || AWK=awk
16114 _ACEOF
16115
16116 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16117 # The default lists apply if the user does not specify any file.
16118 ac_need_defaults=:
16119 while test $# != 0
16120 do
16121   case $1 in
16122   --*=?*)
16123     ac_option=`expr "X$1" : 'X\([^=]*\)='`
16124     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16125     ac_shift=:
16126     ;;
16127   --*=)
16128     ac_option=`expr "X$1" : 'X\([^=]*\)='`
16129     ac_optarg=
16130     ac_shift=:
16131     ;;
16132   *)
16133     ac_option=$1
16134     ac_optarg=$2
16135     ac_shift=shift
16136     ;;
16137   esac
16138
16139   case $ac_option in
16140   # Handling of the options.
16141   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16142     ac_cs_recheck=: ;;
16143   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16144     $as_echo "$ac_cs_version"; exit ;;
16145   --config | --confi | --conf | --con | --co | --c )
16146     $as_echo "$ac_cs_config"; exit ;;
16147   --debug | --debu | --deb | --de | --d | -d )
16148     debug=: ;;
16149   --file | --fil | --fi | --f )
16150     $ac_shift
16151     case $ac_optarg in
16152     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16153     '') as_fn_error $? "missing file argument" ;;
16154     esac
16155     as_fn_append CONFIG_FILES " '$ac_optarg'"
16156     ac_need_defaults=false;;
16157   --header | --heade | --head | --hea )
16158     $ac_shift
16159     case $ac_optarg in
16160     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16161     esac
16162     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16163     ac_need_defaults=false;;
16164   --he | --h)
16165     # Conflict between --help and --header
16166     as_fn_error $? "ambiguous option: \`$1'
16167 Try \`$0 --help' for more information.";;
16168   --help | --hel | -h )
16169     $as_echo "$ac_cs_usage"; exit ;;
16170   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16171   | -silent | --silent | --silen | --sile | --sil | --si | --s)
16172     ac_cs_silent=: ;;
16173
16174   # This is an error.
16175   -*) as_fn_error $? "unrecognized option: \`$1'
16176 Try \`$0 --help' for more information." ;;
16177
16178   *) as_fn_append ac_config_targets " $1"
16179      ac_need_defaults=false ;;
16180
16181   esac
16182   shift
16183 done
16184
16185 ac_configure_extra_args=
16186
16187 if $ac_cs_silent; then
16188   exec 6>/dev/null
16189   ac_configure_extra_args="$ac_configure_extra_args --silent"
16190 fi
16191
16192 _ACEOF
16193 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16194 if \$ac_cs_recheck; then
16195   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16196   shift
16197   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16198   CONFIG_SHELL='$SHELL'
16199   export CONFIG_SHELL
16200   exec "\$@"
16201 fi
16202
16203 _ACEOF
16204 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16205 exec 5>>config.log
16206 {
16207   echo
16208   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16209 ## Running $as_me. ##
16210 _ASBOX
16211   $as_echo "$ac_log"
16212 } >&5
16213
16214 _ACEOF
16215 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16216 #
16217 # INIT-COMMANDS
16218 #
16219 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16220
16221
16222 # The HP-UX ksh and POSIX shell print the target directory to stdout
16223 # if CDPATH is set.
16224 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16225
16226 sed_quote_subst='$sed_quote_subst'
16227 double_quote_subst='$double_quote_subst'
16228 delay_variable_subst='$delay_variable_subst'
16229 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16230 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16231 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16232 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16233 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16234 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16235 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16236 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16237 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16238 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16239 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16240 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16241 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16242 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16243 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16244 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16245 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16246 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16247 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16248 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16249 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16250 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16251 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16252 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16253 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16254 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16255 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16256 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16257 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16258 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16259 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16260 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16261 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16262 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16263 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16264 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16265 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16266 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16267 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16268 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16269 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16270 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16271 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16272 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16273 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16274 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16275 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16276 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16277 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16278 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16279 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16280 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16281 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16282 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16283 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16284 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16285 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"`'
16286 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16287 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16288 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16289 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16290 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16291 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16292 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16293 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16294 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16295 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16296 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16297 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16298 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16299 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16300 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16301 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16302 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16303 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16304 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16305 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16306 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16307 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16308 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16309 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16310 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16311 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16312 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16313 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16314 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16315 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16316 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16317 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16318 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16319 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16320 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16321 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16322 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16323 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16324 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16325 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16326 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16327 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16328 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16329 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16330 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16331 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16332 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16333 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16334 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16335 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16336 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16337 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16338 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16339 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16340 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16341 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16342 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16343 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16344 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16345 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16346 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16347 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16348 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16349 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16350 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16351 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16352 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16353 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16354 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16355 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16356 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16357 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16358 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16359
16360 LTCC='$LTCC'
16361 LTCFLAGS='$LTCFLAGS'
16362 compiler='$compiler_DEFAULT'
16363
16364 # A function that is used when there is no print builtin or printf.
16365 func_fallback_echo ()
16366 {
16367   eval 'cat <<_LTECHO_EOF
16368 \$1
16369 _LTECHO_EOF'
16370 }
16371
16372 # Quote evaled strings.
16373 for var in SHELL \
16374 ECHO \
16375 PATH_SEPARATOR \
16376 SED \
16377 GREP \
16378 EGREP \
16379 FGREP \
16380 LD \
16381 NM \
16382 LN_S \
16383 lt_SP2NL \
16384 lt_NL2SP \
16385 reload_flag \
16386 OBJDUMP \
16387 deplibs_check_method \
16388 file_magic_cmd \
16389 file_magic_glob \
16390 want_nocaseglob \
16391 DLLTOOL \
16392 sharedlib_from_linklib_cmd \
16393 AR \
16394 AR_FLAGS \
16395 archiver_list_spec \
16396 STRIP \
16397 RANLIB \
16398 CC \
16399 CFLAGS \
16400 compiler \
16401 lt_cv_sys_global_symbol_pipe \
16402 lt_cv_sys_global_symbol_to_cdecl \
16403 lt_cv_sys_global_symbol_to_c_name_address \
16404 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16405 nm_file_list_spec \
16406 lt_prog_compiler_no_builtin_flag \
16407 lt_prog_compiler_pic \
16408 lt_prog_compiler_wl \
16409 lt_prog_compiler_static \
16410 lt_cv_prog_compiler_c_o \
16411 need_locks \
16412 MANIFEST_TOOL \
16413 DSYMUTIL \
16414 NMEDIT \
16415 LIPO \
16416 OTOOL \
16417 OTOOL64 \
16418 shrext_cmds \
16419 export_dynamic_flag_spec \
16420 whole_archive_flag_spec \
16421 compiler_needs_object \
16422 with_gnu_ld \
16423 allow_undefined_flag \
16424 no_undefined_flag \
16425 hardcode_libdir_flag_spec \
16426 hardcode_libdir_separator \
16427 exclude_expsyms \
16428 include_expsyms \
16429 file_list_spec \
16430 variables_saved_for_relink \
16431 libname_spec \
16432 library_names_spec \
16433 soname_spec \
16434 install_override_mode \
16435 finish_eval \
16436 old_striplib \
16437 striplib; do
16438     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16439     *[\\\\\\\`\\"\\\$]*)
16440       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16441       ;;
16442     *)
16443       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16444       ;;
16445     esac
16446 done
16447
16448 # Double-quote double-evaled strings.
16449 for var in reload_cmds \
16450 old_postinstall_cmds \
16451 old_postuninstall_cmds \
16452 old_archive_cmds \
16453 extract_expsyms_cmds \
16454 old_archive_from_new_cmds \
16455 old_archive_from_expsyms_cmds \
16456 archive_cmds \
16457 archive_expsym_cmds \
16458 module_cmds \
16459 module_expsym_cmds \
16460 export_symbols_cmds \
16461 prelink_cmds \
16462 postlink_cmds \
16463 postinstall_cmds \
16464 postuninstall_cmds \
16465 finish_cmds \
16466 sys_lib_search_path_spec \
16467 sys_lib_dlsearch_path_spec; do
16468     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16469     *[\\\\\\\`\\"\\\$]*)
16470       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16471       ;;
16472     *)
16473       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16474       ;;
16475     esac
16476 done
16477
16478 ac_aux_dir='$ac_aux_dir'
16479 xsi_shell='$xsi_shell'
16480 lt_shell_append='$lt_shell_append'
16481
16482 # See if we are running on zsh, and set the options which allow our
16483 # commands through without removal of \ escapes INIT.
16484 if test -n "\${ZSH_VERSION+set}" ; then
16485    setopt NO_GLOB_SUBST
16486 fi
16487
16488
16489     PACKAGE='$PACKAGE'
16490     VERSION='$VERSION'
16491     TIMESTAMP='$TIMESTAMP'
16492     RM='$RM'
16493     ofile='$ofile'
16494
16495
16496
16497
16498
16499 _ACEOF
16500
16501 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16502
16503 # Handling of arguments.
16504 for ac_config_target in $ac_config_targets
16505 do
16506   case $ac_config_target in
16507     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16508     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16509     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16510     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
16511     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16512     "libglabels/Makefile") CONFIG_FILES="$CONFIG_FILES libglabels/Makefile" ;;
16513     "libglabels/${LIBGLABELS_BRANCH}.pc") CONFIG_FILES="$CONFIG_FILES libglabels/${LIBGLABELS_BRANCH}.pc" ;;
16514     "libglbarcode/Makefile") CONFIG_FILES="$CONFIG_FILES libglbarcode/Makefile" ;;
16515     "libglbarcode/${LIBGLBARCODE_BRANCH}.pc") CONFIG_FILES="$CONFIG_FILES libglbarcode/${LIBGLBARCODE_BRANCH}.pc" ;;
16516     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16517     "src/cursors/Makefile") CONFIG_FILES="$CONFIG_FILES src/cursors/Makefile" ;;
16518     "src/pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES src/pixmaps/Makefile" ;;
16519     "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
16520     "data/desktop/Makefile") CONFIG_FILES="$CONFIG_FILES data/desktop/Makefile" ;;
16521     "data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;;
16522     "data/icons/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/16x16/Makefile" ;;
16523     "data/icons/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/22x22/Makefile" ;;
16524     "data/icons/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/24x24/Makefile" ;;
16525     "data/icons/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/32x32/Makefile" ;;
16526     "data/icons/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/48x48/Makefile" ;;
16527     "data/man/Makefile") CONFIG_FILES="$CONFIG_FILES data/man/Makefile" ;;
16528     "data/mime/Makefile") CONFIG_FILES="$CONFIG_FILES data/mime/Makefile" ;;
16529     "data/pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES data/pixmaps/Makefile" ;;
16530     "data/schemas/Makefile") CONFIG_FILES="$CONFIG_FILES data/schemas/Makefile" ;;
16531     "data/schemas/org.gnome.glabels-3.gschema.xml.in") CONFIG_FILES="$CONFIG_FILES data/schemas/org.gnome.glabels-3.gschema.xml.in" ;;
16532     "data/ui/Makefile") CONFIG_FILES="$CONFIG_FILES data/ui/Makefile" ;;
16533     "templates/Makefile") CONFIG_FILES="$CONFIG_FILES templates/Makefile" ;;
16534     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
16535     "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
16536     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
16537     "docs/libglabels/Makefile") CONFIG_FILES="$CONFIG_FILES docs/libglabels/Makefile" ;;
16538     "docs/libglbarcode/Makefile") CONFIG_FILES="$CONFIG_FILES docs/libglbarcode/Makefile" ;;
16539     "glabels.spec") CONFIG_FILES="$CONFIG_FILES glabels.spec" ;;
16540     "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
16541
16542   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16543   esac
16544 done
16545
16546
16547 # If the user did not use the arguments to specify the items to instantiate,
16548 # then the envvar interface is used.  Set only those that are not.
16549 # We use the long form for the default assignment because of an extremely
16550 # bizarre bug on SunOS 4.1.3.
16551 if $ac_need_defaults; then
16552   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16553   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16554   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16555 fi
16556
16557 # Have a temporary directory for convenience.  Make it in the build tree
16558 # simply because there is no reason against having it here, and in addition,
16559 # creating and moving files from /tmp can sometimes cause problems.
16560 # Hook for its removal unless debugging.
16561 # Note that there is a small window in which the directory will not be cleaned:
16562 # after its creation but before its name has been assigned to `$tmp'.
16563 $debug ||
16564 {
16565   tmp= ac_tmp=
16566   trap 'exit_status=$?
16567   : "${ac_tmp:=$tmp}"
16568   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16569 ' 0
16570   trap 'as_fn_exit 1' 1 2 13 15
16571 }
16572 # Create a (secure) tmp directory for tmp files.
16573
16574 {
16575   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16576   test -d "$tmp"
16577 }  ||
16578 {
16579   tmp=./conf$$-$RANDOM
16580   (umask 077 && mkdir "$tmp")
16581 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16582 ac_tmp=$tmp
16583
16584 # Set up the scripts for CONFIG_FILES section.
16585 # No need to generate them if there are no CONFIG_FILES.
16586 # This happens for instance with `./config.status config.h'.
16587 if test -n "$CONFIG_FILES"; then
16588
16589
16590 ac_cr=`echo X | tr X '\015'`
16591 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16592 # But we know of no other shell where ac_cr would be empty at this
16593 # point, so we can use a bashism as a fallback.
16594 if test "x$ac_cr" = x; then
16595   eval ac_cr=\$\'\\r\'
16596 fi
16597 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16598 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16599   ac_cs_awk_cr='\\r'
16600 else
16601   ac_cs_awk_cr=$ac_cr
16602 fi
16603
16604 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16605 _ACEOF
16606
16607
16608 {
16609   echo "cat >conf$$subs.awk <<_ACEOF" &&
16610   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16611   echo "_ACEOF"
16612 } >conf$$subs.sh ||
16613   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16614 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16615 ac_delim='%!_!# '
16616 for ac_last_try in false false false false false :; do
16617   . ./conf$$subs.sh ||
16618     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16619
16620   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16621   if test $ac_delim_n = $ac_delim_num; then
16622     break
16623   elif $ac_last_try; then
16624     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16625   else
16626     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16627   fi
16628 done
16629 rm -f conf$$subs.sh
16630
16631 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16632 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16633 _ACEOF
16634 sed -n '
16635 h
16636 s/^/S["/; s/!.*/"]=/
16637 p
16638 g
16639 s/^[^!]*!//
16640 :repl
16641 t repl
16642 s/'"$ac_delim"'$//
16643 t delim
16644 :nl
16645 h
16646 s/\(.\{148\}\)..*/\1/
16647 t more1
16648 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16649 p
16650 n
16651 b repl
16652 :more1
16653 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16654 p
16655 g
16656 s/.\{148\}//
16657 t nl
16658 :delim
16659 h
16660 s/\(.\{148\}\)..*/\1/
16661 t more2
16662 s/["\\]/\\&/g; s/^/"/; s/$/"/
16663 p
16664 b
16665 :more2
16666 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16667 p
16668 g
16669 s/.\{148\}//
16670 t delim
16671 ' <conf$$subs.awk | sed '
16672 /^[^""]/{
16673   N
16674   s/\n//
16675 }
16676 ' >>$CONFIG_STATUS || ac_write_fail=1
16677 rm -f conf$$subs.awk
16678 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16679 _ACAWK
16680 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16681   for (key in S) S_is_set[key] = 1
16682   FS = "\a"
16683
16684 }
16685 {
16686   line = $ 0
16687   nfields = split(line, field, "@")
16688   substed = 0
16689   len = length(field[1])
16690   for (i = 2; i < nfields; i++) {
16691     key = field[i]
16692     keylen = length(key)
16693     if (S_is_set[key]) {
16694       value = S[key]
16695       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16696       len += length(value) + length(field[++i])
16697       substed = 1
16698     } else
16699       len += 1 + keylen
16700   }
16701
16702   print line
16703 }
16704
16705 _ACAWK
16706 _ACEOF
16707 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16708 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16709   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16710 else
16711   cat
16712 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16713   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16714 _ACEOF
16715
16716 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16717 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16718 # trailing colons and then remove the whole line if VPATH becomes empty
16719 # (actually we leave an empty line to preserve line numbers).
16720 if test "x$srcdir" = x.; then
16721   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
16722 h
16723 s///
16724 s/^/:/
16725 s/[      ]*$/:/
16726 s/:\$(srcdir):/:/g
16727 s/:\${srcdir}:/:/g
16728 s/:@srcdir@:/:/g
16729 s/^:*//
16730 s/:*$//
16731 x
16732 s/\(=[   ]*\).*/\1/
16733 G
16734 s/\n//
16735 s/^[^=]*=[       ]*$//
16736 }'
16737 fi
16738
16739 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16740 fi # test -n "$CONFIG_FILES"
16741
16742 # Set up the scripts for CONFIG_HEADERS section.
16743 # No need to generate them if there are no CONFIG_HEADERS.
16744 # This happens for instance with `./config.status Makefile'.
16745 if test -n "$CONFIG_HEADERS"; then
16746 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16747 BEGIN {
16748 _ACEOF
16749
16750 # Transform confdefs.h into an awk script `defines.awk', embedded as
16751 # here-document in config.status, that substitutes the proper values into
16752 # config.h.in to produce config.h.
16753
16754 # Create a delimiter string that does not exist in confdefs.h, to ease
16755 # handling of long lines.
16756 ac_delim='%!_!# '
16757 for ac_last_try in false false :; do
16758   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16759   if test -z "$ac_tt"; then
16760     break
16761   elif $ac_last_try; then
16762     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16763   else
16764     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16765   fi
16766 done
16767
16768 # For the awk script, D is an array of macro values keyed by name,
16769 # likewise P contains macro parameters if any.  Preserve backslash
16770 # newline sequences.
16771
16772 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16773 sed -n '
16774 s/.\{148\}/&'"$ac_delim"'/g
16775 t rset
16776 :rset
16777 s/^[     ]*#[    ]*define[       ][      ]*/ /
16778 t def
16779 d
16780 :def
16781 s/\\$//
16782 t bsnl
16783 s/["\\]/\\&/g
16784 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16785 D["\1"]=" \3"/p
16786 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
16787 d
16788 :bsnl
16789 s/["\\]/\\&/g
16790 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16791 D["\1"]=" \3\\\\\\n"\\/p
16792 t cont
16793 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16794 t cont
16795 d
16796 :cont
16797 n
16798 s/.\{148\}/&'"$ac_delim"'/g
16799 t clear
16800 :clear
16801 s/\\$//
16802 t bsnlc
16803 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16804 d
16805 :bsnlc
16806 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16807 b cont
16808 ' <confdefs.h | sed '
16809 s/'"$ac_delim"'/"\\\
16810 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16811
16812 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16813   for (key in D) D_is_set[key] = 1
16814   FS = "\a"
16815 }
16816 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16817   line = \$ 0
16818   split(line, arg, " ")
16819   if (arg[1] == "#") {
16820     defundef = arg[2]
16821     mac1 = arg[3]
16822   } else {
16823     defundef = substr(arg[1], 2)
16824     mac1 = arg[2]
16825   }
16826   split(mac1, mac2, "(") #)
16827   macro = mac2[1]
16828   prefix = substr(line, 1, index(line, defundef) - 1)
16829   if (D_is_set[macro]) {
16830     # Preserve the white space surrounding the "#".
16831     print prefix "define", macro P[macro] D[macro]
16832     next
16833   } else {
16834     # Replace #undef with comments.  This is necessary, for example,
16835     # in the case of _POSIX_SOURCE, which is predefined and required
16836     # on some systems where configure will not decide to define it.
16837     if (defundef == "undef") {
16838       print "/*", prefix defundef, macro, "*/"
16839       next
16840     }
16841   }
16842 }
16843 { print }
16844 _ACAWK
16845 _ACEOF
16846 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16847   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16848 fi # test -n "$CONFIG_HEADERS"
16849
16850
16851 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
16852 shift
16853 for ac_tag
16854 do
16855   case $ac_tag in
16856   :[FHLC]) ac_mode=$ac_tag; continue;;
16857   esac
16858   case $ac_mode$ac_tag in
16859   :[FHL]*:*);;
16860   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16861   :[FH]-) ac_tag=-:-;;
16862   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16863   esac
16864   ac_save_IFS=$IFS
16865   IFS=:
16866   set x $ac_tag
16867   IFS=$ac_save_IFS
16868   shift
16869   ac_file=$1
16870   shift
16871
16872   case $ac_mode in
16873   :L) ac_source=$1;;
16874   :[FH])
16875     ac_file_inputs=
16876     for ac_f
16877     do
16878       case $ac_f in
16879       -) ac_f="$ac_tmp/stdin";;
16880       *) # Look for the file first in the build tree, then in the source tree
16881          # (if the path is not absolute).  The absolute path cannot be DOS-style,
16882          # because $ac_f cannot contain `:'.
16883          test -f "$ac_f" ||
16884            case $ac_f in
16885            [\\/$]*) false;;
16886            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16887            esac ||
16888            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16889       esac
16890       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16891       as_fn_append ac_file_inputs " '$ac_f'"
16892     done
16893
16894     # Let's still pretend it is `configure' which instantiates (i.e., don't
16895     # use $as_me), people would be surprised to read:
16896     #    /* config.h.  Generated by config.status.  */
16897     configure_input='Generated from '`
16898           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16899         `' by configure.'
16900     if test x"$ac_file" != x-; then
16901       configure_input="$ac_file.  $configure_input"
16902       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16903 $as_echo "$as_me: creating $ac_file" >&6;}
16904     fi
16905     # Neutralize special characters interpreted by sed in replacement strings.
16906     case $configure_input in #(
16907     *\&* | *\|* | *\\* )
16908        ac_sed_conf_input=`$as_echo "$configure_input" |
16909        sed 's/[\\\\&|]/\\\\&/g'`;; #(
16910     *) ac_sed_conf_input=$configure_input;;
16911     esac
16912
16913     case $ac_tag in
16914     *:-:* | *:-) cat >"$ac_tmp/stdin" \
16915       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16916     esac
16917     ;;
16918   esac
16919
16920   ac_dir=`$as_dirname -- "$ac_file" ||
16921 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16922          X"$ac_file" : 'X\(//\)[^/]' \| \
16923          X"$ac_file" : 'X\(//\)$' \| \
16924          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16925 $as_echo X"$ac_file" |
16926     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16927             s//\1/
16928             q
16929           }
16930           /^X\(\/\/\)[^/].*/{
16931             s//\1/
16932             q
16933           }
16934           /^X\(\/\/\)$/{
16935             s//\1/
16936             q
16937           }
16938           /^X\(\/\).*/{
16939             s//\1/
16940             q
16941           }
16942           s/.*/./; q'`
16943   as_dir="$ac_dir"; as_fn_mkdir_p
16944   ac_builddir=.
16945
16946 case "$ac_dir" in
16947 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16948 *)
16949   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16950   # A ".." for each directory in $ac_dir_suffix.
16951   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16952   case $ac_top_builddir_sub in
16953   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16954   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16955   esac ;;
16956 esac
16957 ac_abs_top_builddir=$ac_pwd
16958 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16959 # for backward compatibility:
16960 ac_top_builddir=$ac_top_build_prefix
16961
16962 case $srcdir in
16963   .)  # We are building in place.
16964     ac_srcdir=.
16965     ac_top_srcdir=$ac_top_builddir_sub
16966     ac_abs_top_srcdir=$ac_pwd ;;
16967   [\\/]* | ?:[\\/]* )  # Absolute name.
16968     ac_srcdir=$srcdir$ac_dir_suffix;
16969     ac_top_srcdir=$srcdir
16970     ac_abs_top_srcdir=$srcdir ;;
16971   *) # Relative name.
16972     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16973     ac_top_srcdir=$ac_top_build_prefix$srcdir
16974     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16975 esac
16976 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16977
16978
16979   case $ac_mode in
16980   :F)
16981   #
16982   # CONFIG_FILE
16983   #
16984
16985   case $INSTALL in
16986   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16987   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16988   esac
16989   ac_MKDIR_P=$MKDIR_P
16990   case $MKDIR_P in
16991   [\\/$]* | ?:[\\/]* ) ;;
16992   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16993   esac
16994 _ACEOF
16995
16996 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16997 # If the template does not know about datarootdir, expand it.
16998 # FIXME: This hack should be removed a few years after 2.60.
16999 ac_datarootdir_hack=; ac_datarootdir_seen=
17000 ac_sed_dataroot='
17001 /datarootdir/ {
17002   p
17003   q
17004 }
17005 /@datadir@/p
17006 /@docdir@/p
17007 /@infodir@/p
17008 /@localedir@/p
17009 /@mandir@/p'
17010 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17011 *datarootdir*) ac_datarootdir_seen=yes;;
17012 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17013   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17014 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17015 _ACEOF
17016 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17017   ac_datarootdir_hack='
17018   s&@datadir@&$datadir&g
17019   s&@docdir@&$docdir&g
17020   s&@infodir@&$infodir&g
17021   s&@localedir@&$localedir&g
17022   s&@mandir@&$mandir&g
17023   s&\\\${datarootdir}&$datarootdir&g' ;;
17024 esac
17025 _ACEOF
17026
17027 # Neutralize VPATH when `$srcdir' = `.'.
17028 # Shell code in configure.ac might set extrasub.
17029 # FIXME: do we really want to maintain this feature?
17030 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17031 ac_sed_extra="$ac_vpsub
17032 $extrasub
17033 _ACEOF
17034 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17035 :t
17036 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17037 s|@configure_input@|$ac_sed_conf_input|;t t
17038 s&@top_builddir@&$ac_top_builddir_sub&;t t
17039 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17040 s&@srcdir@&$ac_srcdir&;t t
17041 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17042 s&@top_srcdir@&$ac_top_srcdir&;t t
17043 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17044 s&@builddir@&$ac_builddir&;t t
17045 s&@abs_builddir@&$ac_abs_builddir&;t t
17046 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17047 s&@INSTALL@&$ac_INSTALL&;t t
17048 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17049 $ac_datarootdir_hack
17050 "
17051 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17052   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17053
17054 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17055   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17056   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
17057       "$ac_tmp/out"`; test -z "$ac_out"; } &&
17058   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17059 which seems to be undefined.  Please make sure it is defined" >&5
17060 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17061 which seems to be undefined.  Please make sure it is defined" >&2;}
17062
17063   rm -f "$ac_tmp/stdin"
17064   case $ac_file in
17065   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17066   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17067   esac \
17068   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17069  ;;
17070   :H)
17071   #
17072   # CONFIG_HEADER
17073   #
17074   if test x"$ac_file" != x-; then
17075     {
17076       $as_echo "/* $configure_input  */" \
17077       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17078     } >"$ac_tmp/config.h" \
17079       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17080     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17081       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17082 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17083     else
17084       rm -f "$ac_file"
17085       mv "$ac_tmp/config.h" "$ac_file" \
17086         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17087     fi
17088   else
17089     $as_echo "/* $configure_input  */" \
17090       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17091       || as_fn_error $? "could not create -" "$LINENO" 5
17092   fi
17093 # Compute "$ac_file"'s index in $config_headers.
17094 _am_arg="$ac_file"
17095 _am_stamp_count=1
17096 for _am_header in $config_headers :; do
17097   case $_am_header in
17098     $_am_arg | $_am_arg:* )
17099       break ;;
17100     * )
17101       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17102   esac
17103 done
17104 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17105 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17106          X"$_am_arg" : 'X\(//\)[^/]' \| \
17107          X"$_am_arg" : 'X\(//\)$' \| \
17108          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17109 $as_echo X"$_am_arg" |
17110     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17111             s//\1/
17112             q
17113           }
17114           /^X\(\/\/\)[^/].*/{
17115             s//\1/
17116             q
17117           }
17118           /^X\(\/\/\)$/{
17119             s//\1/
17120             q
17121           }
17122           /^X\(\/\).*/{
17123             s//\1/
17124             q
17125           }
17126           s/.*/./; q'`/stamp-h$_am_stamp_count
17127  ;;
17128
17129   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17130 $as_echo "$as_me: executing $ac_file commands" >&6;}
17131  ;;
17132   esac
17133
17134
17135   case $ac_file$ac_mode in
17136     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17137   # Autoconf 2.62 quotes --file arguments for eval, but not when files
17138   # are listed without --file.  Let's play safe and only enable the eval
17139   # if we detect the quoting.
17140   case $CONFIG_FILES in
17141   *\'*) eval set x "$CONFIG_FILES" ;;
17142   *)   set x $CONFIG_FILES ;;
17143   esac
17144   shift
17145   for mf
17146   do
17147     # Strip MF so we end up with the name of the file.
17148     mf=`echo "$mf" | sed -e 's/:.*$//'`
17149     # Check whether this is an Automake generated Makefile or not.
17150     # We used to match only the files named `Makefile.in', but
17151     # some people rename them; so instead we look at the file content.
17152     # Grep'ing the first line is not enough: some people post-process
17153     # each Makefile.in and add a new line on top of each file to say so.
17154     # Grep'ing the whole file is not good either: AIX grep has a line
17155     # limit of 2048, but all sed's we know have understand at least 4000.
17156     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17157       dirpart=`$as_dirname -- "$mf" ||
17158 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17159          X"$mf" : 'X\(//\)[^/]' \| \
17160          X"$mf" : 'X\(//\)$' \| \
17161          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17162 $as_echo X"$mf" |
17163     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17164             s//\1/
17165             q
17166           }
17167           /^X\(\/\/\)[^/].*/{
17168             s//\1/
17169             q
17170           }
17171           /^X\(\/\/\)$/{
17172             s//\1/
17173             q
17174           }
17175           /^X\(\/\).*/{
17176             s//\1/
17177             q
17178           }
17179           s/.*/./; q'`
17180     else
17181       continue
17182     fi
17183     # Extract the definition of DEPDIR, am__include, and am__quote
17184     # from the Makefile without running `make'.
17185     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17186     test -z "$DEPDIR" && continue
17187     am__include=`sed -n 's/^am__include = //p' < "$mf"`
17188     test -z "am__include" && continue
17189     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17190     # When using ansi2knr, U may be empty or an underscore; expand it
17191     U=`sed -n 's/^U = //p' < "$mf"`
17192     # Find all dependency output files, they are included files with
17193     # $(DEPDIR) in their names.  We invoke sed twice because it is the
17194     # simplest approach to changing $(DEPDIR) to its actual value in the
17195     # expansion.
17196     for file in `sed -n "
17197       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17198          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17199       # Make sure the directory exists.
17200       test -f "$dirpart/$file" && continue
17201       fdir=`$as_dirname -- "$file" ||
17202 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17203          X"$file" : 'X\(//\)[^/]' \| \
17204          X"$file" : 'X\(//\)$' \| \
17205          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17206 $as_echo X"$file" |
17207     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17208             s//\1/
17209             q
17210           }
17211           /^X\(\/\/\)[^/].*/{
17212             s//\1/
17213             q
17214           }
17215           /^X\(\/\/\)$/{
17216             s//\1/
17217             q
17218           }
17219           /^X\(\/\).*/{
17220             s//\1/
17221             q
17222           }
17223           s/.*/./; q'`
17224       as_dir=$dirpart/$fdir; as_fn_mkdir_p
17225       # echo "creating $dirpart/$file"
17226       echo '# dummy' > "$dirpart/$file"
17227     done
17228   done
17229 }
17230  ;;
17231     "libtool":C)
17232
17233     # See if we are running on zsh, and set the options which allow our
17234     # commands through without removal of \ escapes.
17235     if test -n "${ZSH_VERSION+set}" ; then
17236       setopt NO_GLOB_SUBST
17237     fi
17238
17239     cfgfile="${ofile}T"
17240     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17241     $RM "$cfgfile"
17242
17243     cat <<_LT_EOF >> "$cfgfile"
17244 #! $SHELL
17245
17246 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17247 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17248 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17249 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17250 #
17251 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17252 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17253 #                 Foundation, Inc.
17254 #   Written by Gordon Matzigkeit, 1996
17255 #
17256 #   This file is part of GNU Libtool.
17257 #
17258 # GNU Libtool is free software; you can redistribute it and/or
17259 # modify it under the terms of the GNU General Public License as
17260 # published by the Free Software Foundation; either version 2 of
17261 # the License, or (at your option) any later version.
17262 #
17263 # As a special exception to the GNU General Public License,
17264 # if you distribute this file as part of a program or library that
17265 # is built using GNU Libtool, you may include this file under the
17266 # same distribution terms that you use for the rest of that program.
17267 #
17268 # GNU Libtool is distributed in the hope that it will be useful,
17269 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17270 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17271 # GNU General Public License for more details.
17272 #
17273 # You should have received a copy of the GNU General Public License
17274 # along with GNU Libtool; see the file COPYING.  If not, a copy
17275 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17276 # obtained by writing to the Free Software Foundation, Inc.,
17277 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17278
17279
17280 # The names of the tagged configurations supported by this script.
17281 available_tags=""
17282
17283 # ### BEGIN LIBTOOL CONFIG
17284
17285 # Which release of libtool.m4 was used?
17286 macro_version=$macro_version
17287 macro_revision=$macro_revision
17288
17289 # Whether or not to build shared libraries.
17290 build_libtool_libs=$enable_shared
17291
17292 # Whether or not to build static libraries.
17293 build_old_libs=$enable_static
17294
17295 # What type of objects to build.
17296 pic_mode=$pic_mode
17297
17298 # Whether or not to optimize for fast installation.
17299 fast_install=$enable_fast_install
17300
17301 # Shell to use when invoking shell scripts.
17302 SHELL=$lt_SHELL
17303
17304 # An echo program that protects backslashes.
17305 ECHO=$lt_ECHO
17306
17307 # The PATH separator for the build system.
17308 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17309
17310 # The host system.
17311 host_alias=$host_alias
17312 host=$host
17313 host_os=$host_os
17314
17315 # The build system.
17316 build_alias=$build_alias
17317 build=$build
17318 build_os=$build_os
17319
17320 # A sed program that does not truncate output.
17321 SED=$lt_SED
17322
17323 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17324 Xsed="\$SED -e 1s/^X//"
17325
17326 # A grep program that handles long lines.
17327 GREP=$lt_GREP
17328
17329 # An ERE matcher.
17330 EGREP=$lt_EGREP
17331
17332 # A literal string matcher.
17333 FGREP=$lt_FGREP
17334
17335 # A BSD- or MS-compatible name lister.
17336 NM=$lt_NM
17337
17338 # Whether we need soft or hard links.
17339 LN_S=$lt_LN_S
17340
17341 # What is the maximum length of a command?
17342 max_cmd_len=$max_cmd_len
17343
17344 # Object file suffix (normally "o").
17345 objext=$ac_objext
17346
17347 # Executable file suffix (normally "").
17348 exeext=$exeext
17349
17350 # whether the shell understands "unset".
17351 lt_unset=$lt_unset
17352
17353 # turn spaces into newlines.
17354 SP2NL=$lt_lt_SP2NL
17355
17356 # turn newlines into spaces.
17357 NL2SP=$lt_lt_NL2SP
17358
17359 # convert \$build file names to \$host format.
17360 to_host_file_cmd=$lt_cv_to_host_file_cmd
17361
17362 # convert \$build files to toolchain format.
17363 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17364
17365 # An object symbol dumper.
17366 OBJDUMP=$lt_OBJDUMP
17367
17368 # Method to check whether dependent libraries are shared objects.
17369 deplibs_check_method=$lt_deplibs_check_method
17370
17371 # Command to use when deplibs_check_method = "file_magic".
17372 file_magic_cmd=$lt_file_magic_cmd
17373
17374 # How to find potential files when deplibs_check_method = "file_magic".
17375 file_magic_glob=$lt_file_magic_glob
17376
17377 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17378 want_nocaseglob=$lt_want_nocaseglob
17379
17380 # DLL creation program.
17381 DLLTOOL=$lt_DLLTOOL
17382
17383 # Command to associate shared and link libraries.
17384 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17385
17386 # The archiver.
17387 AR=$lt_AR
17388
17389 # Flags to create an archive.
17390 AR_FLAGS=$lt_AR_FLAGS
17391
17392 # How to feed a file listing to the archiver.
17393 archiver_list_spec=$lt_archiver_list_spec
17394
17395 # A symbol stripping program.
17396 STRIP=$lt_STRIP
17397
17398 # Commands used to install an old-style archive.
17399 RANLIB=$lt_RANLIB
17400 old_postinstall_cmds=$lt_old_postinstall_cmds
17401 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17402
17403 # Whether to use a lock for old archive extraction.
17404 lock_old_archive_extraction=$lock_old_archive_extraction
17405
17406 # A C compiler.
17407 LTCC=$lt_CC
17408
17409 # LTCC compiler flags.
17410 LTCFLAGS=$lt_CFLAGS
17411
17412 # Take the output of nm and produce a listing of raw symbols and C names.
17413 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17414
17415 # Transform the output of nm in a proper C declaration.
17416 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17417
17418 # Transform the output of nm in a C name address pair.
17419 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17420
17421 # Transform the output of nm in a C name address pair when lib prefix is needed.
17422 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17423
17424 # Specify filename containing input files for \$NM.
17425 nm_file_list_spec=$lt_nm_file_list_spec
17426
17427 # The root where to search for dependent libraries,and in which our libraries should be installed.
17428 lt_sysroot=$lt_sysroot
17429
17430 # The name of the directory that contains temporary libtool files.
17431 objdir=$objdir
17432
17433 # Used to examine libraries when file_magic_cmd begins with "file".
17434 MAGIC_CMD=$MAGIC_CMD
17435
17436 # Must we lock files when doing compilation?
17437 need_locks=$lt_need_locks
17438
17439 # Manifest tool.
17440 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17441
17442 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17443 DSYMUTIL=$lt_DSYMUTIL
17444
17445 # Tool to change global to local symbols on Mac OS X.
17446 NMEDIT=$lt_NMEDIT
17447
17448 # Tool to manipulate fat objects and archives on Mac OS X.
17449 LIPO=$lt_LIPO
17450
17451 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17452 OTOOL=$lt_OTOOL
17453
17454 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17455 OTOOL64=$lt_OTOOL64
17456
17457 # Old archive suffix (normally "a").
17458 libext=$libext
17459
17460 # Shared library suffix (normally ".so").
17461 shrext_cmds=$lt_shrext_cmds
17462
17463 # The commands to extract the exported symbol list from a shared archive.
17464 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17465
17466 # Variables whose values should be saved in libtool wrapper scripts and
17467 # restored at link time.
17468 variables_saved_for_relink=$lt_variables_saved_for_relink
17469
17470 # Do we need the "lib" prefix for modules?
17471 need_lib_prefix=$need_lib_prefix
17472
17473 # Do we need a version for libraries?
17474 need_version=$need_version
17475
17476 # Library versioning type.
17477 version_type=$version_type
17478
17479 # Shared library runtime path variable.
17480 runpath_var=$runpath_var
17481
17482 # Shared library path variable.
17483 shlibpath_var=$shlibpath_var
17484
17485 # Is shlibpath searched before the hard-coded library search path?
17486 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17487
17488 # Format of library name prefix.
17489 libname_spec=$lt_libname_spec
17490
17491 # List of archive names.  First name is the real one, the rest are links.
17492 # The last name is the one that the linker finds with -lNAME
17493 library_names_spec=$lt_library_names_spec
17494
17495 # The coded name of the library, if different from the real name.
17496 soname_spec=$lt_soname_spec
17497
17498 # Permission mode override for installation of shared libraries.
17499 install_override_mode=$lt_install_override_mode
17500
17501 # Command to use after installation of a shared archive.
17502 postinstall_cmds=$lt_postinstall_cmds
17503
17504 # Command to use after uninstallation of a shared archive.
17505 postuninstall_cmds=$lt_postuninstall_cmds
17506
17507 # Commands used to finish a libtool library installation in a directory.
17508 finish_cmds=$lt_finish_cmds
17509
17510 # As "finish_cmds", except a single script fragment to be evaled but
17511 # not shown.
17512 finish_eval=$lt_finish_eval
17513
17514 # Whether we should hardcode library paths into libraries.
17515 hardcode_into_libs=$hardcode_into_libs
17516
17517 # Compile-time system search path for libraries.
17518 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17519
17520 # Run-time system search path for libraries.
17521 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17522
17523 # Whether dlopen is supported.
17524 dlopen_support=$enable_dlopen
17525
17526 # Whether dlopen of programs is supported.
17527 dlopen_self=$enable_dlopen_self
17528
17529 # Whether dlopen of statically linked programs is supported.
17530 dlopen_self_static=$enable_dlopen_self_static
17531
17532 # Commands to strip libraries.
17533 old_striplib=$lt_old_striplib
17534 striplib=$lt_striplib
17535
17536
17537 # The linker used to build libraries.
17538 LD=$lt_LD
17539
17540 # How to create reloadable object files.
17541 reload_flag=$lt_reload_flag
17542 reload_cmds=$lt_reload_cmds
17543
17544 # Commands used to build an old-style archive.
17545 old_archive_cmds=$lt_old_archive_cmds
17546
17547 # A language specific compiler.
17548 CC=$lt_compiler
17549
17550 # Is the compiler the GNU compiler?
17551 with_gcc=$GCC
17552
17553 # Compiler flag to turn off builtin functions.
17554 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17555
17556 # Additional compiler flags for building library objects.
17557 pic_flag=$lt_lt_prog_compiler_pic
17558
17559 # How to pass a linker flag through the compiler.
17560 wl=$lt_lt_prog_compiler_wl
17561
17562 # Compiler flag to prevent dynamic linking.
17563 link_static_flag=$lt_lt_prog_compiler_static
17564
17565 # Does compiler simultaneously support -c and -o options?
17566 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17567
17568 # Whether or not to add -lc for building shared libraries.
17569 build_libtool_need_lc=$archive_cmds_need_lc
17570
17571 # Whether or not to disallow shared libs when runtime libs are static.
17572 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17573
17574 # Compiler flag to allow reflexive dlopens.
17575 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17576
17577 # Compiler flag to generate shared objects directly from archives.
17578 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17579
17580 # Whether the compiler copes with passing no objects directly.
17581 compiler_needs_object=$lt_compiler_needs_object
17582
17583 # Create an old-style archive from a shared archive.
17584 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17585
17586 # Create a temporary old-style archive to link instead of a shared archive.
17587 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17588
17589 # Commands used to build a shared archive.
17590 archive_cmds=$lt_archive_cmds
17591 archive_expsym_cmds=$lt_archive_expsym_cmds
17592
17593 # Commands used to build a loadable module if different from building
17594 # a shared archive.
17595 module_cmds=$lt_module_cmds
17596 module_expsym_cmds=$lt_module_expsym_cmds
17597
17598 # Whether we are building with GNU ld or not.
17599 with_gnu_ld=$lt_with_gnu_ld
17600
17601 # Flag that allows shared libraries with undefined symbols to be built.
17602 allow_undefined_flag=$lt_allow_undefined_flag
17603
17604 # Flag that enforces no undefined symbols.
17605 no_undefined_flag=$lt_no_undefined_flag
17606
17607 # Flag to hardcode \$libdir into a binary during linking.
17608 # This must work even if \$libdir does not exist
17609 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17610
17611 # Whether we need a single "-rpath" flag with a separated argument.
17612 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17613
17614 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17615 # DIR into the resulting binary.
17616 hardcode_direct=$hardcode_direct
17617
17618 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17619 # DIR into the resulting binary and the resulting library dependency is
17620 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17621 # library is relocated.
17622 hardcode_direct_absolute=$hardcode_direct_absolute
17623
17624 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17625 # into the resulting binary.
17626 hardcode_minus_L=$hardcode_minus_L
17627
17628 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17629 # into the resulting binary.
17630 hardcode_shlibpath_var=$hardcode_shlibpath_var
17631
17632 # Set to "yes" if building a shared library automatically hardcodes DIR
17633 # into the library and all subsequent libraries and executables linked
17634 # against it.
17635 hardcode_automatic=$hardcode_automatic
17636
17637 # Set to yes if linker adds runtime paths of dependent libraries
17638 # to runtime path list.
17639 inherit_rpath=$inherit_rpath
17640
17641 # Whether libtool must link a program against all its dependency libraries.
17642 link_all_deplibs=$link_all_deplibs
17643
17644 # Set to "yes" if exported symbols are required.
17645 always_export_symbols=$always_export_symbols
17646
17647 # The commands to list exported symbols.
17648 export_symbols_cmds=$lt_export_symbols_cmds
17649
17650 # Symbols that should not be listed in the preloaded symbols.
17651 exclude_expsyms=$lt_exclude_expsyms
17652
17653 # Symbols that must always be exported.
17654 include_expsyms=$lt_include_expsyms
17655
17656 # Commands necessary for linking programs (against libraries) with templates.
17657 prelink_cmds=$lt_prelink_cmds
17658
17659 # Commands necessary for finishing linking programs.
17660 postlink_cmds=$lt_postlink_cmds
17661
17662 # Specify filename containing input files.
17663 file_list_spec=$lt_file_list_spec
17664
17665 # How to hardcode a shared library path into an executable.
17666 hardcode_action=$hardcode_action
17667
17668 # ### END LIBTOOL CONFIG
17669
17670 _LT_EOF
17671
17672   case $host_os in
17673   aix3*)
17674     cat <<\_LT_EOF >> "$cfgfile"
17675 # AIX sometimes has problems with the GCC collect2 program.  For some
17676 # reason, if we set the COLLECT_NAMES environment variable, the problems
17677 # vanish in a puff of smoke.
17678 if test "X${COLLECT_NAMES+set}" != Xset; then
17679   COLLECT_NAMES=
17680   export COLLECT_NAMES
17681 fi
17682 _LT_EOF
17683     ;;
17684   esac
17685
17686
17687 ltmain="$ac_aux_dir/ltmain.sh"
17688
17689
17690   # We use sed instead of cat because bash on DJGPP gets confused if
17691   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17692   # text mode, it properly converts lines to CR/LF.  This bash problem
17693   # is reportedly fixed, but why not run on old versions too?
17694   sed '$q' "$ltmain" >> "$cfgfile" \
17695      || (rm -f "$cfgfile"; exit 1)
17696
17697   if test x"$xsi_shell" = xyes; then
17698   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17699 func_dirname ()\
17700 {\
17701 \    case ${1} in\
17702 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17703 \      *  ) func_dirname_result="${3}" ;;\
17704 \    esac\
17705 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17706   && mv -f "$cfgfile.tmp" "$cfgfile" \
17707     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17708 test 0 -eq $? || _lt_function_replace_fail=:
17709
17710
17711   sed -e '/^func_basename ()$/,/^} # func_basename /c\
17712 func_basename ()\
17713 {\
17714 \    func_basename_result="${1##*/}"\
17715 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17716   && mv -f "$cfgfile.tmp" "$cfgfile" \
17717     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17718 test 0 -eq $? || _lt_function_replace_fail=:
17719
17720
17721   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17722 func_dirname_and_basename ()\
17723 {\
17724 \    case ${1} in\
17725 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17726 \      *  ) func_dirname_result="${3}" ;;\
17727 \    esac\
17728 \    func_basename_result="${1##*/}"\
17729 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17730   && mv -f "$cfgfile.tmp" "$cfgfile" \
17731     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17732 test 0 -eq $? || _lt_function_replace_fail=:
17733
17734
17735   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17736 func_stripname ()\
17737 {\
17738 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17739 \    # positional parameters, so assign one to ordinary parameter first.\
17740 \    func_stripname_result=${3}\
17741 \    func_stripname_result=${func_stripname_result#"${1}"}\
17742 \    func_stripname_result=${func_stripname_result%"${2}"}\
17743 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17744   && mv -f "$cfgfile.tmp" "$cfgfile" \
17745     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17746 test 0 -eq $? || _lt_function_replace_fail=:
17747
17748
17749   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17750 func_split_long_opt ()\
17751 {\
17752 \    func_split_long_opt_name=${1%%=*}\
17753 \    func_split_long_opt_arg=${1#*=}\
17754 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17755   && mv -f "$cfgfile.tmp" "$cfgfile" \
17756     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17757 test 0 -eq $? || _lt_function_replace_fail=:
17758
17759
17760   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17761 func_split_short_opt ()\
17762 {\
17763 \    func_split_short_opt_arg=${1#??}\
17764 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17765 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17766   && mv -f "$cfgfile.tmp" "$cfgfile" \
17767     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17768 test 0 -eq $? || _lt_function_replace_fail=:
17769
17770
17771   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17772 func_lo2o ()\
17773 {\
17774 \    case ${1} in\
17775 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17776 \      *)    func_lo2o_result=${1} ;;\
17777 \    esac\
17778 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17779   && mv -f "$cfgfile.tmp" "$cfgfile" \
17780     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17781 test 0 -eq $? || _lt_function_replace_fail=:
17782
17783
17784   sed -e '/^func_xform ()$/,/^} # func_xform /c\
17785 func_xform ()\
17786 {\
17787     func_xform_result=${1%.*}.lo\
17788 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17789   && mv -f "$cfgfile.tmp" "$cfgfile" \
17790     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17791 test 0 -eq $? || _lt_function_replace_fail=:
17792
17793
17794   sed -e '/^func_arith ()$/,/^} # func_arith /c\
17795 func_arith ()\
17796 {\
17797     func_arith_result=$(( $* ))\
17798 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17799   && mv -f "$cfgfile.tmp" "$cfgfile" \
17800     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17801 test 0 -eq $? || _lt_function_replace_fail=:
17802
17803
17804   sed -e '/^func_len ()$/,/^} # func_len /c\
17805 func_len ()\
17806 {\
17807     func_len_result=${#1}\
17808 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17809   && mv -f "$cfgfile.tmp" "$cfgfile" \
17810     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17811 test 0 -eq $? || _lt_function_replace_fail=:
17812
17813 fi
17814
17815 if test x"$lt_shell_append" = xyes; then
17816   sed -e '/^func_append ()$/,/^} # func_append /c\
17817 func_append ()\
17818 {\
17819     eval "${1}+=\\${2}"\
17820 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17821   && mv -f "$cfgfile.tmp" "$cfgfile" \
17822     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17823 test 0 -eq $? || _lt_function_replace_fail=:
17824
17825
17826   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17827 func_append_quoted ()\
17828 {\
17829 \    func_quote_for_eval "${2}"\
17830 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17831 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17832   && mv -f "$cfgfile.tmp" "$cfgfile" \
17833     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17834 test 0 -eq $? || _lt_function_replace_fail=:
17835
17836
17837   # Save a `func_append' function call where possible by direct use of '+='
17838   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17839     && mv -f "$cfgfile.tmp" "$cfgfile" \
17840       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17841   test 0 -eq $? || _lt_function_replace_fail=:
17842 else
17843   # Save a `func_append' function call even when '+=' is not available
17844   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17845     && mv -f "$cfgfile.tmp" "$cfgfile" \
17846       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17847   test 0 -eq $? || _lt_function_replace_fail=:
17848 fi
17849
17850 if test x"$_lt_function_replace_fail" = x":"; then
17851   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17852 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17853 fi
17854
17855
17856    mv -f "$cfgfile" "$ofile" ||
17857     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17858   chmod +x "$ofile"
17859
17860  ;;
17861     "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
17862         sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
17863       esac ;;
17864     "po/stamp-it":C)
17865     if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
17866        as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
17867     fi
17868     rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
17869     >"po/stamp-it.tmp"
17870     sed '/^#/d
17871          s/^[[].*] *//
17872          /^[    ]*$/d
17873         '"s|^|  $ac_top_srcdir/|" \
17874       "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
17875
17876     sed '/^POTFILES =/,/[^\\]$/ {
17877                 /^POTFILES =/!d
17878                 r po/POTFILES
17879           }
17880          ' "po/Makefile.in" >"po/Makefile"
17881     rm -f "po/Makefile.tmp"
17882     mv "po/stamp-it.tmp" "po/stamp-it"
17883    ;;
17884
17885   esac
17886 done # for ac_tag
17887
17888
17889 as_fn_exit 0
17890 _ACEOF
17891 ac_clean_files=$ac_clean_files_save
17892
17893 test $ac_write_fail = 0 ||
17894   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17895
17896
17897 # configure is writing to config.log, and then calls config.status.
17898 # config.status does its own redirection, appending to config.log.
17899 # Unfortunately, on DOS this fails, as config.log is still kept open
17900 # by configure, so config.status won't be able to write to it; its
17901 # output is simply discarded.  So we exec the FD to /dev/null,
17902 # effectively closing config.log, so it can be properly (re)opened and
17903 # appended to by config.status.  When coming back to configure, we
17904 # need to make the FD available again.
17905 if test "$no_create" != yes; then
17906   ac_cs_success=:
17907   ac_config_status_args=
17908   test "$silent" = yes &&
17909     ac_config_status_args="$ac_config_status_args --quiet"
17910   exec 5>/dev/null
17911   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17912   exec 5>>config.log
17913   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17914   # would make configure fail if this is the last instruction.
17915   $ac_cs_success || as_fn_exit 1
17916 fi
17917 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17918   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17919 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17920 fi
17921
17922
17923
17924 echo "
17925
17926 Configuration:
17927
17928         Package ................. ${PACKAGE}-${VERSION}
17929         Installation prefix ..... ${prefix}
17930         Source code location .... ${srcdir}
17931         Compiler ................ ${CC}
17932
17933
17934 Optional data merge backends:
17935
17936         Evolution Data Server ... ${have_libebook}
17937
17938
17939 Optional barcode backends:
17940
17941         GNU Barcode ............. ${have_libbarcode} ${help_libbarcode}
17942         QR Code ................. ${have_libqrencode} ${help_libqrencode}
17943         IEC 16022 ............... ${have_libiec16022} ${help_libiec16022}
17944         Zint .................... ${have_libzint} ${help_libzint}
17945
17946
17947 "