]> git.sur5r.net Git - glabels/blob - configure
New patch to get rid of unused screenshot
[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.0.
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.0'
575 PACKAGE_STRING='glabels 3.0.0'
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 HTML_DIR
684 GTKDOC_MKPDF
685 GTKDOC_REBASE
686 GTKDOC_CHECK
687 HAVE_GNOME_DOC_UTILS_FALSE
688 HAVE_GNOME_DOC_UTILS_TRUE
689 DISTCHECK_CONFIGURE_FLAGS
690 ENABLE_SK_FALSE
691 ENABLE_SK_TRUE
692 DOC_USER_FORMATS
693 OMF_DIR
694 HELP_DIR
695 CPP
696 OTOOL64
697 OTOOL
698 LIPO
699 NMEDIT
700 DSYMUTIL
701 MANIFEST_TOOL
702 RANLIB
703 ac_ct_AR
704 AR
705 DLLTOOL
706 OBJDUMP
707 LN_S
708 NM
709 ac_ct_DUMPBIN
710 DUMPBIN
711 LD
712 FGREP
713 EGREP
714 GREP
715 SED
716 host_os
717 host_vendor
718 host_cpu
719 host
720 build_os
721 build_vendor
722 build_cpu
723 build
724 LIBTOOL
725 PKG_CONFIG_LIBDIR
726 PKG_CONFIG_PATH
727 PKG_CONFIG
728 DATADIRNAME
729 am__fastdepCC_FALSE
730 am__fastdepCC_TRUE
731 CCDEPMODE
732 AMDEPBACKSLASH
733 AMDEP_FALSE
734 AMDEP_TRUE
735 am__quote
736 am__include
737 DEPDIR
738 OBJEXT
739 EXEEXT
740 ac_ct_CC
741 CPPFLAGS
742 LDFLAGS
743 CFLAGS
744 CC
745 ALL_LINGUAS
746 INTLTOOL_PERL
747 GMSGFMT
748 MSGFMT
749 MSGMERGE
750 XGETTEXT
751 INTLTOOL_POLICY_RULE
752 INTLTOOL_SERVICE_RULE
753 INTLTOOL_THEME_RULE
754 INTLTOOL_SCHEMAS_RULE
755 INTLTOOL_CAVES_RULE
756 INTLTOOL_XML_NOMERGE_RULE
757 INTLTOOL_XML_RULE
758 INTLTOOL_KBD_RULE
759 INTLTOOL_XAM_RULE
760 INTLTOOL_UI_RULE
761 INTLTOOL_SOUNDLIST_RULE
762 INTLTOOL_SHEET_RULE
763 INTLTOOL_SERVER_RULE
764 INTLTOOL_PONG_RULE
765 INTLTOOL_OAF_RULE
766 INTLTOOL_PROP_RULE
767 INTLTOOL_KEYS_RULE
768 INTLTOOL_DIRECTORY_RULE
769 INTLTOOL_DESKTOP_RULE
770 INTLTOOL_EXTRACT
771 INTLTOOL_MERGE
772 INTLTOOL_UPDATE
773 USE_NLS
774 AM_BACKSLASH
775 AM_DEFAULT_VERBOSITY
776 MAINT
777 MAINTAINER_MODE_FALSE
778 MAINTAINER_MODE_TRUE
779 am__untar
780 am__tar
781 AMTAR
782 am__leading_dot
783 SET_MAKE
784 AWK
785 mkdir_p
786 MKDIR_P
787 INSTALL_STRIP_PROGRAM
788 STRIP
789 install_sh
790 MAKEINFO
791 AUTOHEADER
792 AUTOMAKE
793 AUTOCONF
794 ACLOCAL
795 VERSION
796 PACKAGE
797 CYGPATH_W
798 am__isrc
799 INSTALL_DATA
800 INSTALL_SCRIPT
801 INSTALL_PROGRAM
802 target_alias
803 host_alias
804 build_alias
805 LIBS
806 ECHO_T
807 ECHO_N
808 ECHO_C
809 DEFS
810 mandir
811 localedir
812 libdir
813 psdir
814 pdfdir
815 dvidir
816 htmldir
817 infodir
818 docdir
819 oldincludedir
820 includedir
821 localstatedir
822 sharedstatedir
823 sysconfdir
824 datadir
825 datarootdir
826 libexecdir
827 sbindir
828 bindir
829 program_transform_name
830 prefix
831 exec_prefix
832 PACKAGE_URL
833 PACKAGE_BUGREPORT
834 PACKAGE_STRING
835 PACKAGE_VERSION
836 PACKAGE_TARNAME
837 PACKAGE_NAME
838 PATH_SEPARATOR
839 SHELL'
840 ac_subst_files=''
841 ac_user_opts='
842 enable_option_checking
843 enable_maintainer_mode
844 enable_silent_rules
845 enable_nls
846 enable_dependency_tracking
847 enable_shared
848 enable_static
849 with_pic
850 enable_fast_install
851 with_gnu_ld
852 with_sysroot
853 enable_libtool_lock
854 with_help_dir
855 with_omf_dir
856 with_help_formats
857 enable_scrollkeeper
858 with_html_dir
859 enable_gtk_doc
860 enable_gtk_doc_html
861 enable_gtk_doc_pdf
862 enable_schemas_compile
863 enable_compile_warnings
864 enable_iso_c
865 with_libebook
866 with_libbarcode
867 with_libzint
868 with_libqrencode
869 with_libiec16022
870 enable_deprecations
871 '
872       ac_precious_vars='build_alias
873 host_alias
874 target_alias
875 CC
876 CFLAGS
877 LDFLAGS
878 LIBS
879 CPPFLAGS
880 PKG_CONFIG
881 PKG_CONFIG_PATH
882 PKG_CONFIG_LIBDIR
883 CPP
884 GLABELS_CFLAGS
885 GLABELS_LIBS
886 LIBGLABELS_CFLAGS
887 LIBGLABELS_LIBS
888 LIBGLBARCODE_CFLAGS
889 LIBGLBARCODE_LIBS
890 LIBEBOOK_CFLAGS
891 LIBEBOOK_LIBS
892 LIBQRENCODE_CFLAGS
893 LIBQRENCODE_LIBS
894 LIBIEC16022_CFLAGS
895 LIBIEC16022_LIBS'
896
897
898 # Initialize some variables set by options.
899 ac_init_help=
900 ac_init_version=false
901 ac_unrecognized_opts=
902 ac_unrecognized_sep=
903 # The variables have the same names as the options, with
904 # dashes changed to underlines.
905 cache_file=/dev/null
906 exec_prefix=NONE
907 no_create=
908 no_recursion=
909 prefix=NONE
910 program_prefix=NONE
911 program_suffix=NONE
912 program_transform_name=s,x,x,
913 silent=
914 site=
915 srcdir=
916 verbose=
917 x_includes=NONE
918 x_libraries=NONE
919
920 # Installation directory options.
921 # These are left unexpanded so users can "make install exec_prefix=/foo"
922 # and all the variables that are supposed to be based on exec_prefix
923 # by default will actually change.
924 # Use braces instead of parens because sh, perl, etc. also accept them.
925 # (The list follows the same order as the GNU Coding Standards.)
926 bindir='${exec_prefix}/bin'
927 sbindir='${exec_prefix}/sbin'
928 libexecdir='${exec_prefix}/libexec'
929 datarootdir='${prefix}/share'
930 datadir='${datarootdir}'
931 sysconfdir='${prefix}/etc'
932 sharedstatedir='${prefix}/com'
933 localstatedir='${prefix}/var'
934 includedir='${prefix}/include'
935 oldincludedir='/usr/include'
936 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
937 infodir='${datarootdir}/info'
938 htmldir='${docdir}'
939 dvidir='${docdir}'
940 pdfdir='${docdir}'
941 psdir='${docdir}'
942 libdir='${exec_prefix}/lib'
943 localedir='${datarootdir}/locale'
944 mandir='${datarootdir}/man'
945
946 ac_prev=
947 ac_dashdash=
948 for ac_option
949 do
950   # If the previous option needs an argument, assign it.
951   if test -n "$ac_prev"; then
952     eval $ac_prev=\$ac_option
953     ac_prev=
954     continue
955   fi
956
957   case $ac_option in
958   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
959   *=)   ac_optarg= ;;
960   *)    ac_optarg=yes ;;
961   esac
962
963   # Accept the important Cygnus configure options, so we can diagnose typos.
964
965   case $ac_dashdash$ac_option in
966   --)
967     ac_dashdash=yes ;;
968
969   -bindir | --bindir | --bindi | --bind | --bin | --bi)
970     ac_prev=bindir ;;
971   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
972     bindir=$ac_optarg ;;
973
974   -build | --build | --buil | --bui | --bu)
975     ac_prev=build_alias ;;
976   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
977     build_alias=$ac_optarg ;;
978
979   -cache-file | --cache-file | --cache-fil | --cache-fi \
980   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
981     ac_prev=cache_file ;;
982   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
983   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
984     cache_file=$ac_optarg ;;
985
986   --config-cache | -C)
987     cache_file=config.cache ;;
988
989   -datadir | --datadir | --datadi | --datad)
990     ac_prev=datadir ;;
991   -datadir=* | --datadir=* | --datadi=* | --datad=*)
992     datadir=$ac_optarg ;;
993
994   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
995   | --dataroo | --dataro | --datar)
996     ac_prev=datarootdir ;;
997   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
998   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
999     datarootdir=$ac_optarg ;;
1000
1001   -disable-* | --disable-*)
1002     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1003     # Reject names that are not valid shell variable names.
1004     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1005       as_fn_error $? "invalid feature name: $ac_useropt"
1006     ac_useropt_orig=$ac_useropt
1007     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1008     case $ac_user_opts in
1009       *"
1010 "enable_$ac_useropt"
1011 "*) ;;
1012       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1013          ac_unrecognized_sep=', ';;
1014     esac
1015     eval enable_$ac_useropt=no ;;
1016
1017   -docdir | --docdir | --docdi | --doc | --do)
1018     ac_prev=docdir ;;
1019   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1020     docdir=$ac_optarg ;;
1021
1022   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1023     ac_prev=dvidir ;;
1024   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1025     dvidir=$ac_optarg ;;
1026
1027   -enable-* | --enable-*)
1028     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1029     # Reject names that are not valid shell variable names.
1030     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1031       as_fn_error $? "invalid feature name: $ac_useropt"
1032     ac_useropt_orig=$ac_useropt
1033     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1034     case $ac_user_opts in
1035       *"
1036 "enable_$ac_useropt"
1037 "*) ;;
1038       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1039          ac_unrecognized_sep=', ';;
1040     esac
1041     eval enable_$ac_useropt=\$ac_optarg ;;
1042
1043   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1044   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1045   | --exec | --exe | --ex)
1046     ac_prev=exec_prefix ;;
1047   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1048   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1049   | --exec=* | --exe=* | --ex=*)
1050     exec_prefix=$ac_optarg ;;
1051
1052   -gas | --gas | --ga | --g)
1053     # Obsolete; use --with-gas.
1054     with_gas=yes ;;
1055
1056   -help | --help | --hel | --he | -h)
1057     ac_init_help=long ;;
1058   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1059     ac_init_help=recursive ;;
1060   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1061     ac_init_help=short ;;
1062
1063   -host | --host | --hos | --ho)
1064     ac_prev=host_alias ;;
1065   -host=* | --host=* | --hos=* | --ho=*)
1066     host_alias=$ac_optarg ;;
1067
1068   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1069     ac_prev=htmldir ;;
1070   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1071   | --ht=*)
1072     htmldir=$ac_optarg ;;
1073
1074   -includedir | --includedir | --includedi | --included | --include \
1075   | --includ | --inclu | --incl | --inc)
1076     ac_prev=includedir ;;
1077   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1078   | --includ=* | --inclu=* | --incl=* | --inc=*)
1079     includedir=$ac_optarg ;;
1080
1081   -infodir | --infodir | --infodi | --infod | --info | --inf)
1082     ac_prev=infodir ;;
1083   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1084     infodir=$ac_optarg ;;
1085
1086   -libdir | --libdir | --libdi | --libd)
1087     ac_prev=libdir ;;
1088   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1089     libdir=$ac_optarg ;;
1090
1091   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1092   | --libexe | --libex | --libe)
1093     ac_prev=libexecdir ;;
1094   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1095   | --libexe=* | --libex=* | --libe=*)
1096     libexecdir=$ac_optarg ;;
1097
1098   -localedir | --localedir | --localedi | --localed | --locale)
1099     ac_prev=localedir ;;
1100   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1101     localedir=$ac_optarg ;;
1102
1103   -localstatedir | --localstatedir | --localstatedi | --localstated \
1104   | --localstate | --localstat | --localsta | --localst | --locals)
1105     ac_prev=localstatedir ;;
1106   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1107   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1108     localstatedir=$ac_optarg ;;
1109
1110   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1111     ac_prev=mandir ;;
1112   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1113     mandir=$ac_optarg ;;
1114
1115   -nfp | --nfp | --nf)
1116     # Obsolete; use --without-fp.
1117     with_fp=no ;;
1118
1119   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1120   | --no-cr | --no-c | -n)
1121     no_create=yes ;;
1122
1123   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1124   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1125     no_recursion=yes ;;
1126
1127   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1128   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1129   | --oldin | --oldi | --old | --ol | --o)
1130     ac_prev=oldincludedir ;;
1131   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1132   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1133   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1134     oldincludedir=$ac_optarg ;;
1135
1136   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1137     ac_prev=prefix ;;
1138   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1139     prefix=$ac_optarg ;;
1140
1141   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1142   | --program-pre | --program-pr | --program-p)
1143     ac_prev=program_prefix ;;
1144   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1145   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1146     program_prefix=$ac_optarg ;;
1147
1148   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1149   | --program-suf | --program-su | --program-s)
1150     ac_prev=program_suffix ;;
1151   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1152   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1153     program_suffix=$ac_optarg ;;
1154
1155   -program-transform-name | --program-transform-name \
1156   | --program-transform-nam | --program-transform-na \
1157   | --program-transform-n | --program-transform- \
1158   | --program-transform | --program-transfor \
1159   | --program-transfo | --program-transf \
1160   | --program-trans | --program-tran \
1161   | --progr-tra | --program-tr | --program-t)
1162     ac_prev=program_transform_name ;;
1163   -program-transform-name=* | --program-transform-name=* \
1164   | --program-transform-nam=* | --program-transform-na=* \
1165   | --program-transform-n=* | --program-transform-=* \
1166   | --program-transform=* | --program-transfor=* \
1167   | --program-transfo=* | --program-transf=* \
1168   | --program-trans=* | --program-tran=* \
1169   | --progr-tra=* | --program-tr=* | --program-t=*)
1170     program_transform_name=$ac_optarg ;;
1171
1172   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1173     ac_prev=pdfdir ;;
1174   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1175     pdfdir=$ac_optarg ;;
1176
1177   -psdir | --psdir | --psdi | --psd | --ps)
1178     ac_prev=psdir ;;
1179   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1180     psdir=$ac_optarg ;;
1181
1182   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1183   | -silent | --silent | --silen | --sile | --sil)
1184     silent=yes ;;
1185
1186   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1187     ac_prev=sbindir ;;
1188   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1189   | --sbi=* | --sb=*)
1190     sbindir=$ac_optarg ;;
1191
1192   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1193   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1194   | --sharedst | --shareds | --shared | --share | --shar \
1195   | --sha | --sh)
1196     ac_prev=sharedstatedir ;;
1197   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1198   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1199   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1200   | --sha=* | --sh=*)
1201     sharedstatedir=$ac_optarg ;;
1202
1203   -site | --site | --sit)
1204     ac_prev=site ;;
1205   -site=* | --site=* | --sit=*)
1206     site=$ac_optarg ;;
1207
1208   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1209     ac_prev=srcdir ;;
1210   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1211     srcdir=$ac_optarg ;;
1212
1213   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1214   | --syscon | --sysco | --sysc | --sys | --sy)
1215     ac_prev=sysconfdir ;;
1216   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1217   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1218     sysconfdir=$ac_optarg ;;
1219
1220   -target | --target | --targe | --targ | --tar | --ta | --t)
1221     ac_prev=target_alias ;;
1222   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1223     target_alias=$ac_optarg ;;
1224
1225   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1226     verbose=yes ;;
1227
1228   -version | --version | --versio | --versi | --vers | -V)
1229     ac_init_version=: ;;
1230
1231   -with-* | --with-*)
1232     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1233     # Reject names that are not valid shell variable names.
1234     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1235       as_fn_error $? "invalid package name: $ac_useropt"
1236     ac_useropt_orig=$ac_useropt
1237     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1238     case $ac_user_opts in
1239       *"
1240 "with_$ac_useropt"
1241 "*) ;;
1242       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1243          ac_unrecognized_sep=', ';;
1244     esac
1245     eval with_$ac_useropt=\$ac_optarg ;;
1246
1247   -without-* | --without-*)
1248     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1249     # Reject names that are not valid shell variable names.
1250     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1251       as_fn_error $? "invalid package name: $ac_useropt"
1252     ac_useropt_orig=$ac_useropt
1253     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1254     case $ac_user_opts in
1255       *"
1256 "with_$ac_useropt"
1257 "*) ;;
1258       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1259          ac_unrecognized_sep=', ';;
1260     esac
1261     eval with_$ac_useropt=no ;;
1262
1263   --x)
1264     # Obsolete; use --with-x.
1265     with_x=yes ;;
1266
1267   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1268   | --x-incl | --x-inc | --x-in | --x-i)
1269     ac_prev=x_includes ;;
1270   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1271   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1272     x_includes=$ac_optarg ;;
1273
1274   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1275   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1276     ac_prev=x_libraries ;;
1277   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1278   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1279     x_libraries=$ac_optarg ;;
1280
1281   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1282 Try \`$0 --help' for more information"
1283     ;;
1284
1285   *=*)
1286     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1287     # Reject names that are not valid shell variable names.
1288     case $ac_envvar in #(
1289       '' | [0-9]* | *[!_$as_cr_alnum]* )
1290       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1291     esac
1292     eval $ac_envvar=\$ac_optarg
1293     export $ac_envvar ;;
1294
1295   *)
1296     # FIXME: should be removed in autoconf 3.0.
1297     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1298     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1299       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1300     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1301     ;;
1302
1303   esac
1304 done
1305
1306 if test -n "$ac_prev"; then
1307   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1308   as_fn_error $? "missing argument to $ac_option"
1309 fi
1310
1311 if test -n "$ac_unrecognized_opts"; then
1312   case $enable_option_checking in
1313     no) ;;
1314     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1315     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1316   esac
1317 fi
1318
1319 # Check all directory arguments for consistency.
1320 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1321                 datadir sysconfdir sharedstatedir localstatedir includedir \
1322                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1323                 libdir localedir mandir
1324 do
1325   eval ac_val=\$$ac_var
1326   # Remove trailing slashes.
1327   case $ac_val in
1328     */ )
1329       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1330       eval $ac_var=\$ac_val;;
1331   esac
1332   # Be sure to have absolute directory names.
1333   case $ac_val in
1334     [\\/$]* | ?:[\\/]* )  continue;;
1335     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1336   esac
1337   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1338 done
1339
1340 # There might be people who depend on the old broken behavior: `$host'
1341 # used to hold the argument of --host etc.
1342 # FIXME: To remove some day.
1343 build=$build_alias
1344 host=$host_alias
1345 target=$target_alias
1346
1347 # FIXME: To remove some day.
1348 if test "x$host_alias" != x; then
1349   if test "x$build_alias" = x; then
1350     cross_compiling=maybe
1351     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1352     If a cross compiler is detected then cross compile mode will be used" >&2
1353   elif test "x$build_alias" != "x$host_alias"; then
1354     cross_compiling=yes
1355   fi
1356 fi
1357
1358 ac_tool_prefix=
1359 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1360
1361 test "$silent" = yes && exec 6>/dev/null
1362
1363
1364 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1365 ac_ls_di=`ls -di .` &&
1366 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1367   as_fn_error $? "working directory cannot be determined"
1368 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1369   as_fn_error $? "pwd does not report name of working directory"
1370
1371
1372 # Find the source files, if location was not specified.
1373 if test -z "$srcdir"; then
1374   ac_srcdir_defaulted=yes
1375   # Try the directory containing this script, then the parent directory.
1376   ac_confdir=`$as_dirname -- "$as_myself" ||
1377 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1378          X"$as_myself" : 'X\(//\)[^/]' \| \
1379          X"$as_myself" : 'X\(//\)$' \| \
1380          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1381 $as_echo X"$as_myself" |
1382     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1383             s//\1/
1384             q
1385           }
1386           /^X\(\/\/\)[^/].*/{
1387             s//\1/
1388             q
1389           }
1390           /^X\(\/\/\)$/{
1391             s//\1/
1392             q
1393           }
1394           /^X\(\/\).*/{
1395             s//\1/
1396             q
1397           }
1398           s/.*/./; q'`
1399   srcdir=$ac_confdir
1400   if test ! -r "$srcdir/$ac_unique_file"; then
1401     srcdir=..
1402   fi
1403 else
1404   ac_srcdir_defaulted=no
1405 fi
1406 if test ! -r "$srcdir/$ac_unique_file"; then
1407   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1408   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1409 fi
1410 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1411 ac_abs_confdir=`(
1412         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1413         pwd)`
1414 # When building in place, set srcdir=.
1415 if test "$ac_abs_confdir" = "$ac_pwd"; then
1416   srcdir=.
1417 fi
1418 # Remove unnecessary trailing slashes from srcdir.
1419 # Double slashes in file names in object file debugging info
1420 # mess up M-x gdb in Emacs.
1421 case $srcdir in
1422 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1423 esac
1424 for ac_var in $ac_precious_vars; do
1425   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1426   eval ac_env_${ac_var}_value=\$${ac_var}
1427   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1428   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1429 done
1430
1431 #
1432 # Report the --help message.
1433 #
1434 if test "$ac_init_help" = "long"; then
1435   # Omit some internal or obsolete options to make the list less imposing.
1436   # This message is too long to be a string in the A/UX 3.1 sh.
1437   cat <<_ACEOF
1438 \`configure' configures glabels 3.0.0 to adapt to many kinds of systems.
1439
1440 Usage: $0 [OPTION]... [VAR=VALUE]...
1441
1442 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1443 VAR=VALUE.  See below for descriptions of some of the useful variables.
1444
1445 Defaults for the options are specified in brackets.
1446
1447 Configuration:
1448   -h, --help              display this help and exit
1449       --help=short        display options specific to this package
1450       --help=recursive    display the short help of all the included packages
1451   -V, --version           display version information and exit
1452   -q, --quiet, --silent   do not print \`checking ...' messages
1453       --cache-file=FILE   cache test results in FILE [disabled]
1454   -C, --config-cache      alias for \`--cache-file=config.cache'
1455   -n, --no-create         do not create output files
1456       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1457
1458 Installation directories:
1459   --prefix=PREFIX         install architecture-independent files in PREFIX
1460                           [$ac_default_prefix]
1461   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1462                           [PREFIX]
1463
1464 By default, \`make install' will install all the files in
1465 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1466 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1467 for instance \`--prefix=\$HOME'.
1468
1469 For better control, use the options below.
1470
1471 Fine tuning of the installation directories:
1472   --bindir=DIR            user executables [EPREFIX/bin]
1473   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1474   --libexecdir=DIR        program executables [EPREFIX/libexec]
1475   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1476   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1477   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1478   --libdir=DIR            object code libraries [EPREFIX/lib]
1479   --includedir=DIR        C header files [PREFIX/include]
1480   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1481   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1482   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1483   --infodir=DIR           info documentation [DATAROOTDIR/info]
1484   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1485   --mandir=DIR            man documentation [DATAROOTDIR/man]
1486   --docdir=DIR            documentation root [DATAROOTDIR/doc/glabels]
1487   --htmldir=DIR           html documentation [DOCDIR]
1488   --dvidir=DIR            dvi documentation [DOCDIR]
1489   --pdfdir=DIR            pdf documentation [DOCDIR]
1490   --psdir=DIR             ps documentation [DOCDIR]
1491 _ACEOF
1492
1493   cat <<\_ACEOF
1494
1495 Program names:
1496   --program-prefix=PREFIX            prepend PREFIX to installed program names
1497   --program-suffix=SUFFIX            append SUFFIX to installed program names
1498   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1499
1500 System types:
1501   --build=BUILD     configure for building on BUILD [guessed]
1502   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1503 _ACEOF
1504 fi
1505
1506 if test -n "$ac_init_help"; then
1507   case $ac_init_help in
1508      short | recursive ) echo "Configuration of glabels 3.0.0:";;
1509    esac
1510   cat <<\_ACEOF
1511
1512 Optional Features:
1513   --disable-option-checking  ignore unrecognized --enable/--with options
1514   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1515   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1516   --enable-maintainer-mode  enable make rules and dependencies not useful
1517                           (and sometimes confusing) to the casual installer
1518   --enable-silent-rules          less verbose build output (undo: `make V=1')
1519   --disable-silent-rules         verbose build output (undo: `make V=0')
1520   --disable-nls           do not use Native Language Support
1521   --disable-dependency-tracking  speeds up one-time build
1522   --enable-dependency-tracking   do not reject slow dependency extractors
1523   --enable-shared[=PKGS]  build shared libraries [default=yes]
1524   --enable-static[=PKGS]  build static libraries [default=yes]
1525   --enable-fast-install[=PKGS]
1526                           optimize for fast installation [default=yes]
1527   --disable-libtool-lock  avoid locking (might break parallel builds)
1528   --disable-scrollkeeper  do not make updates to the scrollkeeper database
1529   --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1530   --enable-gtk-doc-html   build documentation in html format [[default=yes]]
1531   --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1532   --disable-schemas-compile
1533                           Disable regeneration of gschemas.compiled on install
1534   --enable-compile-warnings=[no/minimum/yes/maximum/error]
1535                           Turn on compiler warnings
1536   --enable-iso-c          Try to warn if code is not ISO C
1537   --enable-deprecations   warn about deprecated usages [default=no]
1538
1539 Optional Packages:
1540   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1541   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1542   --with-pic              try to use only PIC/non-PIC objects [default=use
1543                           both]
1544   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1545   --with-sysroot=DIR Search for dependent libraries within DIR
1546                         (or the compiler's sysroot if not specified).
1547   --with-help-dir=DIR     path to help docs
1548   --with-omf-dir=DIR      path to OMF files
1549   --with-help-formats=FORMATS
1550                           list of formats
1551   --with-html-dir=PATH    path to installed docs
1552   --without-libebook      build without Evolution Data Server support
1553   --without-libbarcode    build without GNU Barcode support
1554   --without-libzint       build without Zint Barcode support
1555   --without-libqrencode   build without QR code support
1556   --without-libiec16022   build without IEC 16022 support
1557
1558 Some influential environment variables:
1559   CC          C compiler command
1560   CFLAGS      C compiler flags
1561   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1562               nonstandard directory <lib dir>
1563   LIBS        libraries to pass to the linker, e.g. -l<library>
1564   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1565               you have headers in a nonstandard directory <include dir>
1566   PKG_CONFIG  path to pkg-config utility
1567   PKG_CONFIG_PATH
1568               directories to add to pkg-config's search path
1569   PKG_CONFIG_LIBDIR
1570               path overriding pkg-config's built-in search path
1571   CPP         C preprocessor
1572   GLABELS_CFLAGS
1573               C compiler flags for GLABELS, overriding pkg-config
1574   GLABELS_LIBS
1575               linker flags for GLABELS, overriding pkg-config
1576   LIBGLABELS_CFLAGS
1577               C compiler flags for LIBGLABELS, overriding pkg-config
1578   LIBGLABELS_LIBS
1579               linker flags for LIBGLABELS, overriding pkg-config
1580   LIBGLBARCODE_CFLAGS
1581               C compiler flags for LIBGLBARCODE, overriding pkg-config
1582   LIBGLBARCODE_LIBS
1583               linker flags for LIBGLBARCODE, overriding pkg-config
1584   LIBEBOOK_CFLAGS
1585               C compiler flags for LIBEBOOK, overriding pkg-config
1586   LIBEBOOK_LIBS
1587               linker flags for LIBEBOOK, overriding pkg-config
1588   LIBQRENCODE_CFLAGS
1589               C compiler flags for LIBQRENCODE, overriding pkg-config
1590   LIBQRENCODE_LIBS
1591               linker flags for LIBQRENCODE, overriding pkg-config
1592   LIBIEC16022_CFLAGS
1593               C compiler flags for LIBIEC16022, overriding pkg-config
1594   LIBIEC16022_LIBS
1595               linker flags for LIBIEC16022, overriding pkg-config
1596
1597 Use these variables to override the choices made by `configure' or to help
1598 it to find libraries and programs with nonstandard names/locations.
1599
1600 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=glabels>.
1601 _ACEOF
1602 ac_status=$?
1603 fi
1604
1605 if test "$ac_init_help" = "recursive"; then
1606   # If there are subdirs, report their specific --help.
1607   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1608     test -d "$ac_dir" ||
1609       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1610       continue
1611     ac_builddir=.
1612
1613 case "$ac_dir" in
1614 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1615 *)
1616   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1617   # A ".." for each directory in $ac_dir_suffix.
1618   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1619   case $ac_top_builddir_sub in
1620   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1621   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1622   esac ;;
1623 esac
1624 ac_abs_top_builddir=$ac_pwd
1625 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1626 # for backward compatibility:
1627 ac_top_builddir=$ac_top_build_prefix
1628
1629 case $srcdir in
1630   .)  # We are building in place.
1631     ac_srcdir=.
1632     ac_top_srcdir=$ac_top_builddir_sub
1633     ac_abs_top_srcdir=$ac_pwd ;;
1634   [\\/]* | ?:[\\/]* )  # Absolute name.
1635     ac_srcdir=$srcdir$ac_dir_suffix;
1636     ac_top_srcdir=$srcdir
1637     ac_abs_top_srcdir=$srcdir ;;
1638   *) # Relative name.
1639     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1640     ac_top_srcdir=$ac_top_build_prefix$srcdir
1641     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1642 esac
1643 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1644
1645     cd "$ac_dir" || { ac_status=$?; continue; }
1646     # Check for guested configure.
1647     if test -f "$ac_srcdir/configure.gnu"; then
1648       echo &&
1649       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1650     elif test -f "$ac_srcdir/configure"; then
1651       echo &&
1652       $SHELL "$ac_srcdir/configure" --help=recursive
1653     else
1654       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1655     fi || ac_status=$?
1656     cd "$ac_pwd" || { ac_status=$?; break; }
1657   done
1658 fi
1659
1660 test -n "$ac_init_help" && exit $ac_status
1661 if $ac_init_version; then
1662   cat <<\_ACEOF
1663 glabels configure 3.0.0
1664 generated by GNU Autoconf 2.68
1665
1666 Copyright (C) 2010 Free Software Foundation, Inc.
1667 This configure script is free software; the Free Software Foundation
1668 gives unlimited permission to copy, distribute and modify it.
1669 _ACEOF
1670   exit
1671 fi
1672
1673 ## ------------------------ ##
1674 ## Autoconf initialization. ##
1675 ## ------------------------ ##
1676
1677 # ac_fn_c_try_compile LINENO
1678 # --------------------------
1679 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1680 ac_fn_c_try_compile ()
1681 {
1682   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1683   rm -f conftest.$ac_objext
1684   if { { ac_try="$ac_compile"
1685 case "(($ac_try" in
1686   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1687   *) ac_try_echo=$ac_try;;
1688 esac
1689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1690 $as_echo "$ac_try_echo"; } >&5
1691   (eval "$ac_compile") 2>conftest.err
1692   ac_status=$?
1693   if test -s conftest.err; then
1694     grep -v '^ *+' conftest.err >conftest.er1
1695     cat conftest.er1 >&5
1696     mv -f conftest.er1 conftest.err
1697   fi
1698   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1699   test $ac_status = 0; } && {
1700          test -z "$ac_c_werror_flag" ||
1701          test ! -s conftest.err
1702        } && test -s conftest.$ac_objext; then :
1703   ac_retval=0
1704 else
1705   $as_echo "$as_me: failed program was:" >&5
1706 sed 's/^/| /' conftest.$ac_ext >&5
1707
1708         ac_retval=1
1709 fi
1710   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1711   as_fn_set_status $ac_retval
1712
1713 } # ac_fn_c_try_compile
1714
1715 # ac_fn_c_try_link LINENO
1716 # -----------------------
1717 # Try to link conftest.$ac_ext, and return whether this succeeded.
1718 ac_fn_c_try_link ()
1719 {
1720   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1721   rm -f conftest.$ac_objext conftest$ac_exeext
1722   if { { ac_try="$ac_link"
1723 case "(($ac_try" in
1724   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1725   *) ac_try_echo=$ac_try;;
1726 esac
1727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1728 $as_echo "$ac_try_echo"; } >&5
1729   (eval "$ac_link") 2>conftest.err
1730   ac_status=$?
1731   if test -s conftest.err; then
1732     grep -v '^ *+' conftest.err >conftest.er1
1733     cat conftest.er1 >&5
1734     mv -f conftest.er1 conftest.err
1735   fi
1736   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1737   test $ac_status = 0; } && {
1738          test -z "$ac_c_werror_flag" ||
1739          test ! -s conftest.err
1740        } && test -s conftest$ac_exeext && {
1741          test "$cross_compiling" = yes ||
1742          $as_test_x conftest$ac_exeext
1743        }; then :
1744   ac_retval=0
1745 else
1746   $as_echo "$as_me: failed program was:" >&5
1747 sed 's/^/| /' conftest.$ac_ext >&5
1748
1749         ac_retval=1
1750 fi
1751   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1752   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1753   # interfere with the next link command; also delete a directory that is
1754   # left behind by Apple's compiler.  We do this before executing the actions.
1755   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1756   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1757   as_fn_set_status $ac_retval
1758
1759 } # ac_fn_c_try_link
1760
1761 # ac_fn_c_check_func LINENO FUNC VAR
1762 # ----------------------------------
1763 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1764 ac_fn_c_check_func ()
1765 {
1766   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1767   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1768 $as_echo_n "checking for $2... " >&6; }
1769 if eval \${$3+:} false; then :
1770   $as_echo_n "(cached) " >&6
1771 else
1772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1773 /* end confdefs.h.  */
1774 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1775    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1776 #define $2 innocuous_$2
1777
1778 /* System header to define __stub macros and hopefully few prototypes,
1779     which can conflict with char $2 (); below.
1780     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1781     <limits.h> exists even on freestanding compilers.  */
1782
1783 #ifdef __STDC__
1784 # include <limits.h>
1785 #else
1786 # include <assert.h>
1787 #endif
1788
1789 #undef $2
1790
1791 /* Override any GCC internal prototype to avoid an error.
1792    Use char because int might match the return type of a GCC
1793    builtin and then its argument prototype would still apply.  */
1794 #ifdef __cplusplus
1795 extern "C"
1796 #endif
1797 char $2 ();
1798 /* The GNU C library defines this for functions which it implements
1799     to always fail with ENOSYS.  Some functions are actually named
1800     something starting with __ and the normal name is an alias.  */
1801 #if defined __stub_$2 || defined __stub___$2
1802 choke me
1803 #endif
1804
1805 int
1806 main ()
1807 {
1808 return $2 ();
1809   ;
1810   return 0;
1811 }
1812 _ACEOF
1813 if ac_fn_c_try_link "$LINENO"; then :
1814   eval "$3=yes"
1815 else
1816   eval "$3=no"
1817 fi
1818 rm -f core conftest.err conftest.$ac_objext \
1819     conftest$ac_exeext conftest.$ac_ext
1820 fi
1821 eval ac_res=\$$3
1822                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1823 $as_echo "$ac_res" >&6; }
1824   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1825
1826 } # ac_fn_c_check_func
1827
1828 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1829 # -------------------------------------------------------
1830 # Tests whether HEADER exists and can be compiled using the include files in
1831 # INCLUDES, setting the cache variable VAR accordingly.
1832 ac_fn_c_check_header_compile ()
1833 {
1834   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1835   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1836 $as_echo_n "checking for $2... " >&6; }
1837 if eval \${$3+:} false; then :
1838   $as_echo_n "(cached) " >&6
1839 else
1840   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1841 /* end confdefs.h.  */
1842 $4
1843 #include <$2>
1844 _ACEOF
1845 if ac_fn_c_try_compile "$LINENO"; then :
1846   eval "$3=yes"
1847 else
1848   eval "$3=no"
1849 fi
1850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1851 fi
1852 eval ac_res=\$$3
1853                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1854 $as_echo "$ac_res" >&6; }
1855   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1856
1857 } # ac_fn_c_check_header_compile
1858
1859 # ac_fn_c_try_cpp LINENO
1860 # ----------------------
1861 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1862 ac_fn_c_try_cpp ()
1863 {
1864   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1865   if { { ac_try="$ac_cpp conftest.$ac_ext"
1866 case "(($ac_try" in
1867   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1868   *) ac_try_echo=$ac_try;;
1869 esac
1870 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1871 $as_echo "$ac_try_echo"; } >&5
1872   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1873   ac_status=$?
1874   if test -s conftest.err; then
1875     grep -v '^ *+' conftest.err >conftest.er1
1876     cat conftest.er1 >&5
1877     mv -f conftest.er1 conftest.err
1878   fi
1879   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1880   test $ac_status = 0; } > conftest.i && {
1881          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1882          test ! -s conftest.err
1883        }; then :
1884   ac_retval=0
1885 else
1886   $as_echo "$as_me: failed program was:" >&5
1887 sed 's/^/| /' conftest.$ac_ext >&5
1888
1889     ac_retval=1
1890 fi
1891   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1892   as_fn_set_status $ac_retval
1893
1894 } # ac_fn_c_try_cpp
1895
1896 # ac_fn_c_try_run LINENO
1897 # ----------------------
1898 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1899 # that executables *can* be run.
1900 ac_fn_c_try_run ()
1901 {
1902   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1903   if { { ac_try="$ac_link"
1904 case "(($ac_try" in
1905   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1906   *) ac_try_echo=$ac_try;;
1907 esac
1908 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1909 $as_echo "$ac_try_echo"; } >&5
1910   (eval "$ac_link") 2>&5
1911   ac_status=$?
1912   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1913   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1914   { { case "(($ac_try" in
1915   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1916   *) ac_try_echo=$ac_try;;
1917 esac
1918 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1919 $as_echo "$ac_try_echo"; } >&5
1920   (eval "$ac_try") 2>&5
1921   ac_status=$?
1922   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1923   test $ac_status = 0; }; }; then :
1924   ac_retval=0
1925 else
1926   $as_echo "$as_me: program exited with status $ac_status" >&5
1927        $as_echo "$as_me: failed program was:" >&5
1928 sed 's/^/| /' conftest.$ac_ext >&5
1929
1930        ac_retval=$ac_status
1931 fi
1932   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1933   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1934   as_fn_set_status $ac_retval
1935
1936 } # ac_fn_c_try_run
1937
1938 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1939 # -------------------------------------------------------
1940 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1941 # the include files in INCLUDES and setting the cache variable VAR
1942 # accordingly.
1943 ac_fn_c_check_header_mongrel ()
1944 {
1945   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1946   if eval \${$3+:} false; then :
1947   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1948 $as_echo_n "checking for $2... " >&6; }
1949 if eval \${$3+:} false; then :
1950   $as_echo_n "(cached) " >&6
1951 fi
1952 eval ac_res=\$$3
1953                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1954 $as_echo "$ac_res" >&6; }
1955 else
1956   # Is the header compilable?
1957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1958 $as_echo_n "checking $2 usability... " >&6; }
1959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1960 /* end confdefs.h.  */
1961 $4
1962 #include <$2>
1963 _ACEOF
1964 if ac_fn_c_try_compile "$LINENO"; then :
1965   ac_header_compiler=yes
1966 else
1967   ac_header_compiler=no
1968 fi
1969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1971 $as_echo "$ac_header_compiler" >&6; }
1972
1973 # Is the header present?
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1975 $as_echo_n "checking $2 presence... " >&6; }
1976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1977 /* end confdefs.h.  */
1978 #include <$2>
1979 _ACEOF
1980 if ac_fn_c_try_cpp "$LINENO"; then :
1981   ac_header_preproc=yes
1982 else
1983   ac_header_preproc=no
1984 fi
1985 rm -f conftest.err conftest.i conftest.$ac_ext
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1987 $as_echo "$ac_header_preproc" >&6; }
1988
1989 # So?  What about this header?
1990 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1991   yes:no: )
1992     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1993 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1994     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1995 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1996     ;;
1997   no:yes:* )
1998     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1999 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2000     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2001 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2002     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2003 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2004     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2005 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2006     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2007 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2008 ( $as_echo "## ---------------------------------------------------------------------- ##
2009 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=glabels ##
2010 ## ---------------------------------------------------------------------- ##"
2011      ) | sed "s/^/$as_me: WARNING:     /" >&2
2012     ;;
2013 esac
2014   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2015 $as_echo_n "checking for $2... " >&6; }
2016 if eval \${$3+:} false; then :
2017   $as_echo_n "(cached) " >&6
2018 else
2019   eval "$3=\$ac_header_compiler"
2020 fi
2021 eval ac_res=\$$3
2022                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2023 $as_echo "$ac_res" >&6; }
2024 fi
2025   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2026
2027 } # ac_fn_c_check_header_mongrel
2028 cat >config.log <<_ACEOF
2029 This file contains any messages produced by compilers while
2030 running configure, to aid debugging if configure makes a mistake.
2031
2032 It was created by glabels $as_me 3.0.0, which was
2033 generated by GNU Autoconf 2.68.  Invocation command line was
2034
2035   $ $0 $@
2036
2037 _ACEOF
2038 exec 5>>config.log
2039 {
2040 cat <<_ASUNAME
2041 ## --------- ##
2042 ## Platform. ##
2043 ## --------- ##
2044
2045 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2046 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2047 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2048 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2049 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2050
2051 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2052 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2053
2054 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2055 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2056 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2057 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2058 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2059 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2060 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2061
2062 _ASUNAME
2063
2064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2065 for as_dir in $PATH
2066 do
2067   IFS=$as_save_IFS
2068   test -z "$as_dir" && as_dir=.
2069     $as_echo "PATH: $as_dir"
2070   done
2071 IFS=$as_save_IFS
2072
2073 } >&5
2074
2075 cat >&5 <<_ACEOF
2076
2077
2078 ## ----------- ##
2079 ## Core tests. ##
2080 ## ----------- ##
2081
2082 _ACEOF
2083
2084
2085 # Keep a trace of the command line.
2086 # Strip out --no-create and --no-recursion so they do not pile up.
2087 # Strip out --silent because we don't want to record it for future runs.
2088 # Also quote any args containing shell meta-characters.
2089 # Make two passes to allow for proper duplicate-argument suppression.
2090 ac_configure_args=
2091 ac_configure_args0=
2092 ac_configure_args1=
2093 ac_must_keep_next=false
2094 for ac_pass in 1 2
2095 do
2096   for ac_arg
2097   do
2098     case $ac_arg in
2099     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2100     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2101     | -silent | --silent | --silen | --sile | --sil)
2102       continue ;;
2103     *\'*)
2104       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2105     esac
2106     case $ac_pass in
2107     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2108     2)
2109       as_fn_append ac_configure_args1 " '$ac_arg'"
2110       if test $ac_must_keep_next = true; then
2111         ac_must_keep_next=false # Got value, back to normal.
2112       else
2113         case $ac_arg in
2114           *=* | --config-cache | -C | -disable-* | --disable-* \
2115           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2116           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2117           | -with-* | --with-* | -without-* | --without-* | --x)
2118             case "$ac_configure_args0 " in
2119               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2120             esac
2121             ;;
2122           -* ) ac_must_keep_next=true ;;
2123         esac
2124       fi
2125       as_fn_append ac_configure_args " '$ac_arg'"
2126       ;;
2127     esac
2128   done
2129 done
2130 { ac_configure_args0=; unset ac_configure_args0;}
2131 { ac_configure_args1=; unset ac_configure_args1;}
2132
2133 # When interrupted or exit'd, cleanup temporary files, and complete
2134 # config.log.  We remove comments because anyway the quotes in there
2135 # would cause problems or look ugly.
2136 # WARNING: Use '\'' to represent an apostrophe within the trap.
2137 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2138 trap 'exit_status=$?
2139   # Save into config.log some information that might help in debugging.
2140   {
2141     echo
2142
2143     $as_echo "## ---------------- ##
2144 ## Cache variables. ##
2145 ## ---------------- ##"
2146     echo
2147     # The following way of writing the cache mishandles newlines in values,
2148 (
2149   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2150     eval ac_val=\$$ac_var
2151     case $ac_val in #(
2152     *${as_nl}*)
2153       case $ac_var in #(
2154       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2155 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2156       esac
2157       case $ac_var in #(
2158       _ | IFS | as_nl) ;; #(
2159       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2160       *) { eval $ac_var=; unset $ac_var;} ;;
2161       esac ;;
2162     esac
2163   done
2164   (set) 2>&1 |
2165     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2166     *${as_nl}ac_space=\ *)
2167       sed -n \
2168         "s/'\''/'\''\\\\'\'''\''/g;
2169           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2170       ;; #(
2171     *)
2172       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2173       ;;
2174     esac |
2175     sort
2176 )
2177     echo
2178
2179     $as_echo "## ----------------- ##
2180 ## Output variables. ##
2181 ## ----------------- ##"
2182     echo
2183     for ac_var in $ac_subst_vars
2184     do
2185       eval ac_val=\$$ac_var
2186       case $ac_val in
2187       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2188       esac
2189       $as_echo "$ac_var='\''$ac_val'\''"
2190     done | sort
2191     echo
2192
2193     if test -n "$ac_subst_files"; then
2194       $as_echo "## ------------------- ##
2195 ## File substitutions. ##
2196 ## ------------------- ##"
2197       echo
2198       for ac_var in $ac_subst_files
2199       do
2200         eval ac_val=\$$ac_var
2201         case $ac_val in
2202         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2203         esac
2204         $as_echo "$ac_var='\''$ac_val'\''"
2205       done | sort
2206       echo
2207     fi
2208
2209     if test -s confdefs.h; then
2210       $as_echo "## ----------- ##
2211 ## confdefs.h. ##
2212 ## ----------- ##"
2213       echo
2214       cat confdefs.h
2215       echo
2216     fi
2217     test "$ac_signal" != 0 &&
2218       $as_echo "$as_me: caught signal $ac_signal"
2219     $as_echo "$as_me: exit $exit_status"
2220   } >&5
2221   rm -f core *.core core.conftest.* &&
2222     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2223     exit $exit_status
2224 ' 0
2225 for ac_signal in 1 2 13 15; do
2226   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2227 done
2228 ac_signal=0
2229
2230 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2231 rm -f -r conftest* confdefs.h
2232
2233 $as_echo "/* confdefs.h */" > confdefs.h
2234
2235 # Predefined preprocessor variables.
2236
2237 cat >>confdefs.h <<_ACEOF
2238 #define PACKAGE_NAME "$PACKAGE_NAME"
2239 _ACEOF
2240
2241 cat >>confdefs.h <<_ACEOF
2242 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2243 _ACEOF
2244
2245 cat >>confdefs.h <<_ACEOF
2246 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2247 _ACEOF
2248
2249 cat >>confdefs.h <<_ACEOF
2250 #define PACKAGE_STRING "$PACKAGE_STRING"
2251 _ACEOF
2252
2253 cat >>confdefs.h <<_ACEOF
2254 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2255 _ACEOF
2256
2257 cat >>confdefs.h <<_ACEOF
2258 #define PACKAGE_URL "$PACKAGE_URL"
2259 _ACEOF
2260
2261
2262 # Let the site file select an alternate cache file if it wants to.
2263 # Prefer an explicitly selected file to automatically selected ones.
2264 ac_site_file1=NONE
2265 ac_site_file2=NONE
2266 if test -n "$CONFIG_SITE"; then
2267   # We do not want a PATH search for config.site.
2268   case $CONFIG_SITE in #((
2269     -*)  ac_site_file1=./$CONFIG_SITE;;
2270     */*) ac_site_file1=$CONFIG_SITE;;
2271     *)   ac_site_file1=./$CONFIG_SITE;;
2272   esac
2273 elif test "x$prefix" != xNONE; then
2274   ac_site_file1=$prefix/share/config.site
2275   ac_site_file2=$prefix/etc/config.site
2276 else
2277   ac_site_file1=$ac_default_prefix/share/config.site
2278   ac_site_file2=$ac_default_prefix/etc/config.site
2279 fi
2280 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2281 do
2282   test "x$ac_site_file" = xNONE && continue
2283   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2284     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2285 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2286     sed 's/^/| /' "$ac_site_file" >&5
2287     . "$ac_site_file" \
2288       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2289 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2290 as_fn_error $? "failed to load site script $ac_site_file
2291 See \`config.log' for more details" "$LINENO" 5; }
2292   fi
2293 done
2294
2295 if test -r "$cache_file"; then
2296   # Some versions of bash will fail to source /dev/null (special files
2297   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2298   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2299     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2300 $as_echo "$as_me: loading cache $cache_file" >&6;}
2301     case $cache_file in
2302       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2303       *)                      . "./$cache_file";;
2304     esac
2305   fi
2306 else
2307   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2308 $as_echo "$as_me: creating cache $cache_file" >&6;}
2309   >$cache_file
2310 fi
2311
2312 # Check that the precious variables saved in the cache have kept the same
2313 # value.
2314 ac_cache_corrupted=false
2315 for ac_var in $ac_precious_vars; do
2316   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2317   eval ac_new_set=\$ac_env_${ac_var}_set
2318   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2319   eval ac_new_val=\$ac_env_${ac_var}_value
2320   case $ac_old_set,$ac_new_set in
2321     set,)
2322       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2323 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2324       ac_cache_corrupted=: ;;
2325     ,set)
2326       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2327 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2328       ac_cache_corrupted=: ;;
2329     ,);;
2330     *)
2331       if test "x$ac_old_val" != "x$ac_new_val"; then
2332         # differences in whitespace do not lead to failure.
2333         ac_old_val_w=`echo x $ac_old_val`
2334         ac_new_val_w=`echo x $ac_new_val`
2335         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2336           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2337 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2338           ac_cache_corrupted=:
2339         else
2340           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2341 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2342           eval $ac_var=\$ac_old_val
2343         fi
2344         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2345 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2346         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2347 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2348       fi;;
2349   esac
2350   # Pass precious variables to config.status.
2351   if test "$ac_new_set" = set; then
2352     case $ac_new_val in
2353     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2354     *) ac_arg=$ac_var=$ac_new_val ;;
2355     esac
2356     case " $ac_configure_args " in
2357       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2358       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2359     esac
2360   fi
2361 done
2362 if $ac_cache_corrupted; then
2363   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2364 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2365   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2366 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2367   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2368 fi
2369 ## -------------------- ##
2370 ## Main body of script. ##
2371 ## -------------------- ##
2372
2373 ac_ext=c
2374 ac_cpp='$CPP $CPPFLAGS'
2375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2378
2379
2380
2381
2382
2383 am__api_version='1.11'
2384
2385 ac_aux_dir=
2386 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2387   if test -f "$ac_dir/install-sh"; then
2388     ac_aux_dir=$ac_dir
2389     ac_install_sh="$ac_aux_dir/install-sh -c"
2390     break
2391   elif test -f "$ac_dir/install.sh"; then
2392     ac_aux_dir=$ac_dir
2393     ac_install_sh="$ac_aux_dir/install.sh -c"
2394     break
2395   elif test -f "$ac_dir/shtool"; then
2396     ac_aux_dir=$ac_dir
2397     ac_install_sh="$ac_aux_dir/shtool install -c"
2398     break
2399   fi
2400 done
2401 if test -z "$ac_aux_dir"; then
2402   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2403 fi
2404
2405 # These three variables are undocumented and unsupported,
2406 # and are intended to be withdrawn in a future Autoconf release.
2407 # They can cause serious problems if a builder's source tree is in a directory
2408 # whose full name contains unusual characters.
2409 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2410 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2411 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2412
2413
2414 # Find a good install program.  We prefer a C program (faster),
2415 # so one script is as good as another.  But avoid the broken or
2416 # incompatible versions:
2417 # SysV /etc/install, /usr/sbin/install
2418 # SunOS /usr/etc/install
2419 # IRIX /sbin/install
2420 # AIX /bin/install
2421 # AmigaOS /C/install, which installs bootblocks on floppy discs
2422 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2423 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2424 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2425 # OS/2's system install, which has a completely different semantic
2426 # ./install, which can be erroneously created by make from ./install.sh.
2427 # Reject install programs that cannot install multiple files.
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2429 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2430 if test -z "$INSTALL"; then
2431 if ${ac_cv_path_install+:} false; then :
2432   $as_echo_n "(cached) " >&6
2433 else
2434   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2435 for as_dir in $PATH
2436 do
2437   IFS=$as_save_IFS
2438   test -z "$as_dir" && as_dir=.
2439     # Account for people who put trailing slashes in PATH elements.
2440 case $as_dir/ in #((
2441   ./ | .// | /[cC]/* | \
2442   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2443   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2444   /usr/ucb/* ) ;;
2445   *)
2446     # OSF1 and SCO ODT 3.0 have their own names for install.
2447     # Don't use installbsd from OSF since it installs stuff as root
2448     # by default.
2449     for ac_prog in ginstall scoinst install; do
2450       for ac_exec_ext in '' $ac_executable_extensions; do
2451         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2452           if test $ac_prog = install &&
2453             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2454             # AIX install.  It has an incompatible calling convention.
2455             :
2456           elif test $ac_prog = install &&
2457             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2458             # program-specific install script used by HP pwplus--don't use.
2459             :
2460           else
2461             rm -rf conftest.one conftest.two conftest.dir
2462             echo one > conftest.one
2463             echo two > conftest.two
2464             mkdir conftest.dir
2465             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2466               test -s conftest.one && test -s conftest.two &&
2467               test -s conftest.dir/conftest.one &&
2468               test -s conftest.dir/conftest.two
2469             then
2470               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2471               break 3
2472             fi
2473           fi
2474         fi
2475       done
2476     done
2477     ;;
2478 esac
2479
2480   done
2481 IFS=$as_save_IFS
2482
2483 rm -rf conftest.one conftest.two conftest.dir
2484
2485 fi
2486   if test "${ac_cv_path_install+set}" = set; then
2487     INSTALL=$ac_cv_path_install
2488   else
2489     # As a last resort, use the slow shell script.  Don't cache a
2490     # value for INSTALL within a source directory, because that will
2491     # break other packages using the cache if that directory is
2492     # removed, or if the value is a relative name.
2493     INSTALL=$ac_install_sh
2494   fi
2495 fi
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2497 $as_echo "$INSTALL" >&6; }
2498
2499 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2500 # It thinks the first close brace ends the variable substitution.
2501 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2502
2503 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2504
2505 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2506
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2508 $as_echo_n "checking whether build environment is sane... " >&6; }
2509 # Just in case
2510 sleep 1
2511 echo timestamp > conftest.file
2512 # Reject unsafe characters in $srcdir or the absolute working directory
2513 # name.  Accept space and tab only in the latter.
2514 am_lf='
2515 '
2516 case `pwd` in
2517   *[\\\"\#\$\&\'\`$am_lf]*)
2518     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2519 esac
2520 case $srcdir in
2521   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2522     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2523 esac
2524
2525 # Do `set' in a subshell so we don't clobber the current shell's
2526 # arguments.  Must try -L first in case configure is actually a
2527 # symlink; some systems play weird games with the mod time of symlinks
2528 # (eg FreeBSD returns the mod time of the symlink's containing
2529 # directory).
2530 if (
2531    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2532    if test "$*" = "X"; then
2533       # -L didn't work.
2534       set X `ls -t "$srcdir/configure" conftest.file`
2535    fi
2536    rm -f conftest.file
2537    if test "$*" != "X $srcdir/configure conftest.file" \
2538       && test "$*" != "X conftest.file $srcdir/configure"; then
2539
2540       # If neither matched, then we have a broken ls.  This can happen
2541       # if, for instance, CONFIG_SHELL is bash and it inherits a
2542       # broken ls alias from the environment.  This has actually
2543       # happened.  Such a system could not be considered "sane".
2544       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2545 alias in your environment" "$LINENO" 5
2546    fi
2547
2548    test "$2" = conftest.file
2549    )
2550 then
2551    # Ok.
2552    :
2553 else
2554    as_fn_error $? "newly created file is older than distributed files!
2555 Check your system clock" "$LINENO" 5
2556 fi
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2558 $as_echo "yes" >&6; }
2559 test "$program_prefix" != NONE &&
2560   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2561 # Use a double $ so make ignores it.
2562 test "$program_suffix" != NONE &&
2563   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2564 # Double any \ or $.
2565 # By default was `s,x,x', remove it if useless.
2566 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2567 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2568
2569 # expand $ac_aux_dir to an absolute path
2570 am_aux_dir=`cd $ac_aux_dir && pwd`
2571
2572 if test x"${MISSING+set}" != xset; then
2573   case $am_aux_dir in
2574   *\ * | *\     *)
2575     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2576   *)
2577     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2578   esac
2579 fi
2580 # Use eval to expand $SHELL
2581 if eval "$MISSING --run true"; then
2582   am_missing_run="$MISSING --run "
2583 else
2584   am_missing_run=
2585   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2586 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2587 fi
2588
2589 if test x"${install_sh}" != xset; then
2590   case $am_aux_dir in
2591   *\ * | *\     *)
2592     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2593   *)
2594     install_sh="\${SHELL} $am_aux_dir/install-sh"
2595   esac
2596 fi
2597
2598 # Installed binaries are usually stripped using `strip' when the user
2599 # run `make install-strip'.  However `strip' might not be the right
2600 # tool to use in cross-compilation environments, therefore Automake
2601 # will honor the `STRIP' environment variable to overrule this program.
2602 if test "$cross_compiling" != no; then
2603   if test -n "$ac_tool_prefix"; then
2604   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2605 set dummy ${ac_tool_prefix}strip; ac_word=$2
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2607 $as_echo_n "checking for $ac_word... " >&6; }
2608 if ${ac_cv_prog_STRIP+:} false; then :
2609   $as_echo_n "(cached) " >&6
2610 else
2611   if test -n "$STRIP"; then
2612   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2613 else
2614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2615 for as_dir in $PATH
2616 do
2617   IFS=$as_save_IFS
2618   test -z "$as_dir" && as_dir=.
2619     for ac_exec_ext in '' $ac_executable_extensions; do
2620   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2621     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2622     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2623     break 2
2624   fi
2625 done
2626   done
2627 IFS=$as_save_IFS
2628
2629 fi
2630 fi
2631 STRIP=$ac_cv_prog_STRIP
2632 if test -n "$STRIP"; then
2633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2634 $as_echo "$STRIP" >&6; }
2635 else
2636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2637 $as_echo "no" >&6; }
2638 fi
2639
2640
2641 fi
2642 if test -z "$ac_cv_prog_STRIP"; then
2643   ac_ct_STRIP=$STRIP
2644   # Extract the first word of "strip", so it can be a program name with args.
2645 set dummy strip; ac_word=$2
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2647 $as_echo_n "checking for $ac_word... " >&6; }
2648 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2649   $as_echo_n "(cached) " >&6
2650 else
2651   if test -n "$ac_ct_STRIP"; then
2652   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2653 else
2654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2655 for as_dir in $PATH
2656 do
2657   IFS=$as_save_IFS
2658   test -z "$as_dir" && as_dir=.
2659     for ac_exec_ext in '' $ac_executable_extensions; do
2660   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2661     ac_cv_prog_ac_ct_STRIP="strip"
2662     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2663     break 2
2664   fi
2665 done
2666   done
2667 IFS=$as_save_IFS
2668
2669 fi
2670 fi
2671 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2672 if test -n "$ac_ct_STRIP"; then
2673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2674 $as_echo "$ac_ct_STRIP" >&6; }
2675 else
2676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2677 $as_echo "no" >&6; }
2678 fi
2679
2680   if test "x$ac_ct_STRIP" = x; then
2681     STRIP=":"
2682   else
2683     case $cross_compiling:$ac_tool_warned in
2684 yes:)
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2686 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2687 ac_tool_warned=yes ;;
2688 esac
2689     STRIP=$ac_ct_STRIP
2690   fi
2691 else
2692   STRIP="$ac_cv_prog_STRIP"
2693 fi
2694
2695 fi
2696 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2697
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2699 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2700 if test -z "$MKDIR_P"; then
2701   if ${ac_cv_path_mkdir+:} false; then :
2702   $as_echo_n "(cached) " >&6
2703 else
2704   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2705 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2706 do
2707   IFS=$as_save_IFS
2708   test -z "$as_dir" && as_dir=.
2709     for ac_prog in mkdir gmkdir; do
2710          for ac_exec_ext in '' $ac_executable_extensions; do
2711            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2712            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2713              'mkdir (GNU coreutils) '* | \
2714              'mkdir (coreutils) '* | \
2715              'mkdir (fileutils) '4.1*)
2716                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2717                break 3;;
2718            esac
2719          done
2720        done
2721   done
2722 IFS=$as_save_IFS
2723
2724 fi
2725
2726   test -d ./--version && rmdir ./--version
2727   if test "${ac_cv_path_mkdir+set}" = set; then
2728     MKDIR_P="$ac_cv_path_mkdir -p"
2729   else
2730     # As a last resort, use the slow shell script.  Don't cache a
2731     # value for MKDIR_P within a source directory, because that will
2732     # break other packages using the cache if that directory is
2733     # removed, or if the value is a relative name.
2734     MKDIR_P="$ac_install_sh -d"
2735   fi
2736 fi
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2738 $as_echo "$MKDIR_P" >&6; }
2739
2740 mkdir_p="$MKDIR_P"
2741 case $mkdir_p in
2742   [\\/$]* | ?:[\\/]*) ;;
2743   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2744 esac
2745
2746 for ac_prog in gawk mawk nawk awk
2747 do
2748   # Extract the first word of "$ac_prog", so it can be a program name with args.
2749 set dummy $ac_prog; ac_word=$2
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2751 $as_echo_n "checking for $ac_word... " >&6; }
2752 if ${ac_cv_prog_AWK+:} false; then :
2753   $as_echo_n "(cached) " >&6
2754 else
2755   if test -n "$AWK"; then
2756   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2757 else
2758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2759 for as_dir in $PATH
2760 do
2761   IFS=$as_save_IFS
2762   test -z "$as_dir" && as_dir=.
2763     for ac_exec_ext in '' $ac_executable_extensions; do
2764   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2765     ac_cv_prog_AWK="$ac_prog"
2766     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2767     break 2
2768   fi
2769 done
2770   done
2771 IFS=$as_save_IFS
2772
2773 fi
2774 fi
2775 AWK=$ac_cv_prog_AWK
2776 if test -n "$AWK"; then
2777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2778 $as_echo "$AWK" >&6; }
2779 else
2780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2781 $as_echo "no" >&6; }
2782 fi
2783
2784
2785   test -n "$AWK" && break
2786 done
2787
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2789 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2790 set x ${MAKE-make}
2791 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2792 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2793   $as_echo_n "(cached) " >&6
2794 else
2795   cat >conftest.make <<\_ACEOF
2796 SHELL = /bin/sh
2797 all:
2798         @echo '@@@%%%=$(MAKE)=@@@%%%'
2799 _ACEOF
2800 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2801 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2802   *@@@%%%=?*=@@@%%%*)
2803     eval ac_cv_prog_make_${ac_make}_set=yes;;
2804   *)
2805     eval ac_cv_prog_make_${ac_make}_set=no;;
2806 esac
2807 rm -f conftest.make
2808 fi
2809 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2811 $as_echo "yes" >&6; }
2812   SET_MAKE=
2813 else
2814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2815 $as_echo "no" >&6; }
2816   SET_MAKE="MAKE=${MAKE-make}"
2817 fi
2818
2819 rm -rf .tst 2>/dev/null
2820 mkdir .tst 2>/dev/null
2821 if test -d .tst; then
2822   am__leading_dot=.
2823 else
2824   am__leading_dot=_
2825 fi
2826 rmdir .tst 2>/dev/null
2827
2828 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2829   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2830   # is not polluted with repeated "-I."
2831   am__isrc=' -I$(srcdir)'
2832   # test to see if srcdir already configured
2833   if test -f $srcdir/config.status; then
2834     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2835   fi
2836 fi
2837
2838 # test whether we have cygpath
2839 if test -z "$CYGPATH_W"; then
2840   if (cygpath --version) >/dev/null 2>/dev/null; then
2841     CYGPATH_W='cygpath -w'
2842   else
2843     CYGPATH_W=echo
2844   fi
2845 fi
2846
2847
2848 # Define the identity of the package.
2849  PACKAGE=glabels
2850  VERSION=3.0.0
2851
2852
2853 cat >>confdefs.h <<_ACEOF
2854 #define PACKAGE "$PACKAGE"
2855 _ACEOF
2856
2857
2858 cat >>confdefs.h <<_ACEOF
2859 #define VERSION "$VERSION"
2860 _ACEOF
2861
2862 # Some tools Automake needs.
2863
2864 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2865
2866
2867 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2868
2869
2870 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2871
2872
2873 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2874
2875
2876 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2877
2878 # We need awk for the "check" target.  The system "awk" is bad on
2879 # some platforms.
2880 # Always define AMTAR for backward compatibility.
2881
2882 AMTAR=${AMTAR-"${am_missing_run}tar"}
2883
2884 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2885
2886
2887
2888
2889
2890
2891
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2893 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2894     # Check whether --enable-maintainer-mode was given.
2895 if test "${enable_maintainer_mode+set}" = set; then :
2896   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2897 else
2898   USE_MAINTAINER_MODE=no
2899 fi
2900
2901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2902 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2903    if test $USE_MAINTAINER_MODE = yes; then
2904   MAINTAINER_MODE_TRUE=
2905   MAINTAINER_MODE_FALSE='#'
2906 else
2907   MAINTAINER_MODE_TRUE='#'
2908   MAINTAINER_MODE_FALSE=
2909 fi
2910
2911   MAINT=$MAINTAINER_MODE_TRUE
2912
2913
2914 # Check whether --enable-silent-rules was given.
2915 if test "${enable_silent_rules+set}" = set; then :
2916   enableval=$enable_silent_rules;
2917 fi
2918
2919 case $enable_silent_rules in
2920 yes) AM_DEFAULT_VERBOSITY=0;;
2921 no)  AM_DEFAULT_VERBOSITY=1;;
2922 *)   AM_DEFAULT_VERBOSITY=0;;
2923 esac
2924 AM_BACKSLASH='\'
2925
2926
2927 ac_config_headers="$ac_config_headers config.h"
2928
2929
2930
2931   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
2932 $as_echo_n "checking whether NLS is requested... " >&6; }
2933     # Check whether --enable-nls was given.
2934 if test "${enable_nls+set}" = set; then :
2935   enableval=$enable_nls; USE_NLS=$enableval
2936 else
2937   USE_NLS=yes
2938 fi
2939
2940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
2941 $as_echo "$USE_NLS" >&6; }
2942
2943
2944 DEPDIR="${am__leading_dot}deps"
2945
2946 ac_config_commands="$ac_config_commands depfiles"
2947
2948
2949 am_make=${MAKE-make}
2950 cat > confinc << 'END'
2951 am__doit:
2952         @echo this is the am__doit target
2953 .PHONY: am__doit
2954 END
2955 # If we don't find an include directive, just comment out the code.
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2957 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2958 am__include="#"
2959 am__quote=
2960 _am_result=none
2961 # First try GNU make style include.
2962 echo "include confinc" > confmf
2963 # Ignore all kinds of additional output from `make'.
2964 case `$am_make -s -f confmf 2> /dev/null` in #(
2965 *the\ am__doit\ target*)
2966   am__include=include
2967   am__quote=
2968   _am_result=GNU
2969   ;;
2970 esac
2971 # Now try BSD make style include.
2972 if test "$am__include" = "#"; then
2973    echo '.include "confinc"' > confmf
2974    case `$am_make -s -f confmf 2> /dev/null` in #(
2975    *the\ am__doit\ target*)
2976      am__include=.include
2977      am__quote="\""
2978      _am_result=BSD
2979      ;;
2980    esac
2981 fi
2982
2983
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2985 $as_echo "$_am_result" >&6; }
2986 rm -f confinc confmf
2987
2988 # Check whether --enable-dependency-tracking was given.
2989 if test "${enable_dependency_tracking+set}" = set; then :
2990   enableval=$enable_dependency_tracking;
2991 fi
2992
2993 if test "x$enable_dependency_tracking" != xno; then
2994   am_depcomp="$ac_aux_dir/depcomp"
2995   AMDEPBACKSLASH='\'
2996 fi
2997  if test "x$enable_dependency_tracking" != xno; then
2998   AMDEP_TRUE=
2999   AMDEP_FALSE='#'
3000 else
3001   AMDEP_TRUE='#'
3002   AMDEP_FALSE=
3003 fi
3004
3005
3006 ac_ext=c
3007 ac_cpp='$CPP $CPPFLAGS'
3008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3011 if test -n "$ac_tool_prefix"; then
3012   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3013 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3015 $as_echo_n "checking for $ac_word... " >&6; }
3016 if ${ac_cv_prog_CC+:} false; then :
3017   $as_echo_n "(cached) " >&6
3018 else
3019   if test -n "$CC"; then
3020   ac_cv_prog_CC="$CC" # Let the user override the test.
3021 else
3022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3023 for as_dir in $PATH
3024 do
3025   IFS=$as_save_IFS
3026   test -z "$as_dir" && as_dir=.
3027     for ac_exec_ext in '' $ac_executable_extensions; do
3028   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3029     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3030     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3031     break 2
3032   fi
3033 done
3034   done
3035 IFS=$as_save_IFS
3036
3037 fi
3038 fi
3039 CC=$ac_cv_prog_CC
3040 if test -n "$CC"; then
3041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3042 $as_echo "$CC" >&6; }
3043 else
3044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3045 $as_echo "no" >&6; }
3046 fi
3047
3048
3049 fi
3050 if test -z "$ac_cv_prog_CC"; then
3051   ac_ct_CC=$CC
3052   # Extract the first word of "gcc", so it can be a program name with args.
3053 set dummy gcc; ac_word=$2
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3055 $as_echo_n "checking for $ac_word... " >&6; }
3056 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3057   $as_echo_n "(cached) " >&6
3058 else
3059   if test -n "$ac_ct_CC"; then
3060   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3061 else
3062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3063 for as_dir in $PATH
3064 do
3065   IFS=$as_save_IFS
3066   test -z "$as_dir" && as_dir=.
3067     for ac_exec_ext in '' $ac_executable_extensions; do
3068   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3069     ac_cv_prog_ac_ct_CC="gcc"
3070     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3071     break 2
3072   fi
3073 done
3074   done
3075 IFS=$as_save_IFS
3076
3077 fi
3078 fi
3079 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3080 if test -n "$ac_ct_CC"; then
3081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3082 $as_echo "$ac_ct_CC" >&6; }
3083 else
3084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3085 $as_echo "no" >&6; }
3086 fi
3087
3088   if test "x$ac_ct_CC" = x; then
3089     CC=""
3090   else
3091     case $cross_compiling:$ac_tool_warned in
3092 yes:)
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3094 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3095 ac_tool_warned=yes ;;
3096 esac
3097     CC=$ac_ct_CC
3098   fi
3099 else
3100   CC="$ac_cv_prog_CC"
3101 fi
3102
3103 if test -z "$CC"; then
3104           if test -n "$ac_tool_prefix"; then
3105     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3106 set dummy ${ac_tool_prefix}cc; ac_word=$2
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3108 $as_echo_n "checking for $ac_word... " >&6; }
3109 if ${ac_cv_prog_CC+:} false; then :
3110   $as_echo_n "(cached) " >&6
3111 else
3112   if test -n "$CC"; then
3113   ac_cv_prog_CC="$CC" # Let the user override the test.
3114 else
3115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3116 for as_dir in $PATH
3117 do
3118   IFS=$as_save_IFS
3119   test -z "$as_dir" && as_dir=.
3120     for ac_exec_ext in '' $ac_executable_extensions; do
3121   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3122     ac_cv_prog_CC="${ac_tool_prefix}cc"
3123     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3124     break 2
3125   fi
3126 done
3127   done
3128 IFS=$as_save_IFS
3129
3130 fi
3131 fi
3132 CC=$ac_cv_prog_CC
3133 if test -n "$CC"; then
3134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3135 $as_echo "$CC" >&6; }
3136 else
3137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3138 $as_echo "no" >&6; }
3139 fi
3140
3141
3142   fi
3143 fi
3144 if test -z "$CC"; then
3145   # Extract the first word of "cc", so it can be a program name with args.
3146 set dummy cc; ac_word=$2
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3148 $as_echo_n "checking for $ac_word... " >&6; }
3149 if ${ac_cv_prog_CC+:} false; then :
3150   $as_echo_n "(cached) " >&6
3151 else
3152   if test -n "$CC"; then
3153   ac_cv_prog_CC="$CC" # Let the user override the test.
3154 else
3155   ac_prog_rejected=no
3156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3157 for as_dir in $PATH
3158 do
3159   IFS=$as_save_IFS
3160   test -z "$as_dir" && as_dir=.
3161     for ac_exec_ext in '' $ac_executable_extensions; do
3162   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3163     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3164        ac_prog_rejected=yes
3165        continue
3166      fi
3167     ac_cv_prog_CC="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 if test $ac_prog_rejected = yes; then
3176   # We found a bogon in the path, so make sure we never use it.
3177   set dummy $ac_cv_prog_CC
3178   shift
3179   if test $# != 0; then
3180     # We chose a different compiler from the bogus one.
3181     # However, it has the same basename, so the bogon will be chosen
3182     # first if we set CC to just the basename; use the full file name.
3183     shift
3184     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3185   fi
3186 fi
3187 fi
3188 fi
3189 CC=$ac_cv_prog_CC
3190 if test -n "$CC"; then
3191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3192 $as_echo "$CC" >&6; }
3193 else
3194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3195 $as_echo "no" >&6; }
3196 fi
3197
3198
3199 fi
3200 if test -z "$CC"; then
3201   if test -n "$ac_tool_prefix"; then
3202   for ac_prog in cl.exe
3203   do
3204     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3205 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3207 $as_echo_n "checking for $ac_word... " >&6; }
3208 if ${ac_cv_prog_CC+:} false; then :
3209   $as_echo_n "(cached) " >&6
3210 else
3211   if test -n "$CC"; then
3212   ac_cv_prog_CC="$CC" # Let the user override the test.
3213 else
3214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3215 for as_dir in $PATH
3216 do
3217   IFS=$as_save_IFS
3218   test -z "$as_dir" && as_dir=.
3219     for ac_exec_ext in '' $ac_executable_extensions; do
3220   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3221     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3222     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3223     break 2
3224   fi
3225 done
3226   done
3227 IFS=$as_save_IFS
3228
3229 fi
3230 fi
3231 CC=$ac_cv_prog_CC
3232 if test -n "$CC"; then
3233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3234 $as_echo "$CC" >&6; }
3235 else
3236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3237 $as_echo "no" >&6; }
3238 fi
3239
3240
3241     test -n "$CC" && break
3242   done
3243 fi
3244 if test -z "$CC"; then
3245   ac_ct_CC=$CC
3246   for ac_prog in cl.exe
3247 do
3248   # Extract the first word of "$ac_prog", so it can be a program name with args.
3249 set dummy $ac_prog; ac_word=$2
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3251 $as_echo_n "checking for $ac_word... " >&6; }
3252 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3253   $as_echo_n "(cached) " >&6
3254 else
3255   if test -n "$ac_ct_CC"; then
3256   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3257 else
3258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3259 for as_dir in $PATH
3260 do
3261   IFS=$as_save_IFS
3262   test -z "$as_dir" && as_dir=.
3263     for ac_exec_ext in '' $ac_executable_extensions; do
3264   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3265     ac_cv_prog_ac_ct_CC="$ac_prog"
3266     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3267     break 2
3268   fi
3269 done
3270   done
3271 IFS=$as_save_IFS
3272
3273 fi
3274 fi
3275 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3276 if test -n "$ac_ct_CC"; then
3277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3278 $as_echo "$ac_ct_CC" >&6; }
3279 else
3280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3281 $as_echo "no" >&6; }
3282 fi
3283
3284
3285   test -n "$ac_ct_CC" && break
3286 done
3287
3288   if test "x$ac_ct_CC" = x; then
3289     CC=""
3290   else
3291     case $cross_compiling:$ac_tool_warned in
3292 yes:)
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3294 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3295 ac_tool_warned=yes ;;
3296 esac
3297     CC=$ac_ct_CC
3298   fi
3299 fi
3300
3301 fi
3302
3303
3304 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3305 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3306 as_fn_error $? "no acceptable C compiler found in \$PATH
3307 See \`config.log' for more details" "$LINENO" 5; }
3308
3309 # Provide some information about the compiler.
3310 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3311 set X $ac_compile
3312 ac_compiler=$2
3313 for ac_option in --version -v -V -qversion; do
3314   { { ac_try="$ac_compiler $ac_option >&5"
3315 case "(($ac_try" in
3316   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3317   *) ac_try_echo=$ac_try;;
3318 esac
3319 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3320 $as_echo "$ac_try_echo"; } >&5
3321   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3322   ac_status=$?
3323   if test -s conftest.err; then
3324     sed '10a\
3325 ... rest of stderr output deleted ...
3326          10q' conftest.err >conftest.er1
3327     cat conftest.er1 >&5
3328   fi
3329   rm -f conftest.er1 conftest.err
3330   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3331   test $ac_status = 0; }
3332 done
3333
3334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3335 /* end confdefs.h.  */
3336
3337 int
3338 main ()
3339 {
3340
3341   ;
3342   return 0;
3343 }
3344 _ACEOF
3345 ac_clean_files_save=$ac_clean_files
3346 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3347 # Try to create an executable without -o first, disregard a.out.
3348 # It will help us diagnose broken compilers, and finding out an intuition
3349 # of exeext.
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3351 $as_echo_n "checking whether the C compiler works... " >&6; }
3352 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3353
3354 # The possible output files:
3355 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3356
3357 ac_rmfiles=
3358 for ac_file in $ac_files
3359 do
3360   case $ac_file in
3361     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3362     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3363   esac
3364 done
3365 rm -f $ac_rmfiles
3366
3367 if { { ac_try="$ac_link_default"
3368 case "(($ac_try" in
3369   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3370   *) ac_try_echo=$ac_try;;
3371 esac
3372 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3373 $as_echo "$ac_try_echo"; } >&5
3374   (eval "$ac_link_default") 2>&5
3375   ac_status=$?
3376   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3377   test $ac_status = 0; }; then :
3378   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3379 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3380 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3381 # so that the user can short-circuit this test for compilers unknown to
3382 # Autoconf.
3383 for ac_file in $ac_files ''
3384 do
3385   test -f "$ac_file" || continue
3386   case $ac_file in
3387     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3388         ;;
3389     [ab].out )
3390         # We found the default executable, but exeext='' is most
3391         # certainly right.
3392         break;;
3393     *.* )
3394         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3395         then :; else
3396            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3397         fi
3398         # We set ac_cv_exeext here because the later test for it is not
3399         # safe: cross compilers may not add the suffix if given an `-o'
3400         # argument, so we may need to know it at that point already.
3401         # Even if this section looks crufty: it has the advantage of
3402         # actually working.
3403         break;;
3404     * )
3405         break;;
3406   esac
3407 done
3408 test "$ac_cv_exeext" = no && ac_cv_exeext=
3409
3410 else
3411   ac_file=''
3412 fi
3413 if test -z "$ac_file"; then :
3414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3415 $as_echo "no" >&6; }
3416 $as_echo "$as_me: failed program was:" >&5
3417 sed 's/^/| /' conftest.$ac_ext >&5
3418
3419 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3420 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3421 as_fn_error 77 "C compiler cannot create executables
3422 See \`config.log' for more details" "$LINENO" 5; }
3423 else
3424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3425 $as_echo "yes" >&6; }
3426 fi
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3428 $as_echo_n "checking for C compiler default output file name... " >&6; }
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3430 $as_echo "$ac_file" >&6; }
3431 ac_exeext=$ac_cv_exeext
3432
3433 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3434 ac_clean_files=$ac_clean_files_save
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3436 $as_echo_n "checking for suffix of executables... " >&6; }
3437 if { { ac_try="$ac_link"
3438 case "(($ac_try" in
3439   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3440   *) ac_try_echo=$ac_try;;
3441 esac
3442 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3443 $as_echo "$ac_try_echo"; } >&5
3444   (eval "$ac_link") 2>&5
3445   ac_status=$?
3446   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3447   test $ac_status = 0; }; then :
3448   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3449 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3450 # work properly (i.e., refer to `conftest.exe'), while it won't with
3451 # `rm'.
3452 for ac_file in conftest.exe conftest conftest.*; do
3453   test -f "$ac_file" || continue
3454   case $ac_file in
3455     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3456     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3457           break;;
3458     * ) break;;
3459   esac
3460 done
3461 else
3462   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3463 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3464 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3465 See \`config.log' for more details" "$LINENO" 5; }
3466 fi
3467 rm -f conftest conftest$ac_cv_exeext
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3469 $as_echo "$ac_cv_exeext" >&6; }
3470
3471 rm -f conftest.$ac_ext
3472 EXEEXT=$ac_cv_exeext
3473 ac_exeext=$EXEEXT
3474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3475 /* end confdefs.h.  */
3476 #include <stdio.h>
3477 int
3478 main ()
3479 {
3480 FILE *f = fopen ("conftest.out", "w");
3481  return ferror (f) || fclose (f) != 0;
3482
3483   ;
3484   return 0;
3485 }
3486 _ACEOF
3487 ac_clean_files="$ac_clean_files conftest.out"
3488 # Check that the compiler produces executables we can run.  If not, either
3489 # the compiler is broken, or we cross compile.
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3491 $as_echo_n "checking whether we are cross compiling... " >&6; }
3492 if test "$cross_compiling" != yes; then
3493   { { ac_try="$ac_link"
3494 case "(($ac_try" in
3495   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3496   *) ac_try_echo=$ac_try;;
3497 esac
3498 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3499 $as_echo "$ac_try_echo"; } >&5
3500   (eval "$ac_link") 2>&5
3501   ac_status=$?
3502   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3503   test $ac_status = 0; }
3504   if { ac_try='./conftest$ac_cv_exeext'
3505   { { case "(($ac_try" in
3506   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3507   *) ac_try_echo=$ac_try;;
3508 esac
3509 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3510 $as_echo "$ac_try_echo"; } >&5
3511   (eval "$ac_try") 2>&5
3512   ac_status=$?
3513   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3514   test $ac_status = 0; }; }; then
3515     cross_compiling=no
3516   else
3517     if test "$cross_compiling" = maybe; then
3518         cross_compiling=yes
3519     else
3520         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3521 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3522 as_fn_error $? "cannot run C compiled programs.
3523 If you meant to cross compile, use \`--host'.
3524 See \`config.log' for more details" "$LINENO" 5; }
3525     fi
3526   fi
3527 fi
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3529 $as_echo "$cross_compiling" >&6; }
3530
3531 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3532 ac_clean_files=$ac_clean_files_save
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3534 $as_echo_n "checking for suffix of object files... " >&6; }
3535 if ${ac_cv_objext+:} false; then :
3536   $as_echo_n "(cached) " >&6
3537 else
3538   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3539 /* end confdefs.h.  */
3540
3541 int
3542 main ()
3543 {
3544
3545   ;
3546   return 0;
3547 }
3548 _ACEOF
3549 rm -f conftest.o conftest.obj
3550 if { { ac_try="$ac_compile"
3551 case "(($ac_try" in
3552   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3553   *) ac_try_echo=$ac_try;;
3554 esac
3555 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3556 $as_echo "$ac_try_echo"; } >&5
3557   (eval "$ac_compile") 2>&5
3558   ac_status=$?
3559   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3560   test $ac_status = 0; }; then :
3561   for ac_file in conftest.o conftest.obj conftest.*; do
3562   test -f "$ac_file" || continue;
3563   case $ac_file in
3564     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3565     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3566        break;;
3567   esac
3568 done
3569 else
3570   $as_echo "$as_me: failed program was:" >&5
3571 sed 's/^/| /' conftest.$ac_ext >&5
3572
3573 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3574 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3575 as_fn_error $? "cannot compute suffix of object files: cannot compile
3576 See \`config.log' for more details" "$LINENO" 5; }
3577 fi
3578 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3579 fi
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3581 $as_echo "$ac_cv_objext" >&6; }
3582 OBJEXT=$ac_cv_objext
3583 ac_objext=$OBJEXT
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3585 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3586 if ${ac_cv_c_compiler_gnu+:} false; then :
3587   $as_echo_n "(cached) " >&6
3588 else
3589   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3590 /* end confdefs.h.  */
3591
3592 int
3593 main ()
3594 {
3595 #ifndef __GNUC__
3596        choke me
3597 #endif
3598
3599   ;
3600   return 0;
3601 }
3602 _ACEOF
3603 if ac_fn_c_try_compile "$LINENO"; then :
3604   ac_compiler_gnu=yes
3605 else
3606   ac_compiler_gnu=no
3607 fi
3608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3609 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3610
3611 fi
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3613 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3614 if test $ac_compiler_gnu = yes; then
3615   GCC=yes
3616 else
3617   GCC=
3618 fi
3619 ac_test_CFLAGS=${CFLAGS+set}
3620 ac_save_CFLAGS=$CFLAGS
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3622 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3623 if ${ac_cv_prog_cc_g+:} false; then :
3624   $as_echo_n "(cached) " >&6
3625 else
3626   ac_save_c_werror_flag=$ac_c_werror_flag
3627    ac_c_werror_flag=yes
3628    ac_cv_prog_cc_g=no
3629    CFLAGS="-g"
3630    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3631 /* end confdefs.h.  */
3632
3633 int
3634 main ()
3635 {
3636
3637   ;
3638   return 0;
3639 }
3640 _ACEOF
3641 if ac_fn_c_try_compile "$LINENO"; then :
3642   ac_cv_prog_cc_g=yes
3643 else
3644   CFLAGS=""
3645       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3646 /* end confdefs.h.  */
3647
3648 int
3649 main ()
3650 {
3651
3652   ;
3653   return 0;
3654 }
3655 _ACEOF
3656 if ac_fn_c_try_compile "$LINENO"; then :
3657
3658 else
3659   ac_c_werror_flag=$ac_save_c_werror_flag
3660          CFLAGS="-g"
3661          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3662 /* end confdefs.h.  */
3663
3664 int
3665 main ()
3666 {
3667
3668   ;
3669   return 0;
3670 }
3671 _ACEOF
3672 if ac_fn_c_try_compile "$LINENO"; then :
3673   ac_cv_prog_cc_g=yes
3674 fi
3675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3676 fi
3677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3678 fi
3679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3680    ac_c_werror_flag=$ac_save_c_werror_flag
3681 fi
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3683 $as_echo "$ac_cv_prog_cc_g" >&6; }
3684 if test "$ac_test_CFLAGS" = set; then
3685   CFLAGS=$ac_save_CFLAGS
3686 elif test $ac_cv_prog_cc_g = yes; then
3687   if test "$GCC" = yes; then
3688     CFLAGS="-g -O2"
3689   else
3690     CFLAGS="-g"
3691   fi
3692 else
3693   if test "$GCC" = yes; then
3694     CFLAGS="-O2"
3695   else
3696     CFLAGS=
3697   fi
3698 fi
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3700 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3701 if ${ac_cv_prog_cc_c89+:} false; then :
3702   $as_echo_n "(cached) " >&6
3703 else
3704   ac_cv_prog_cc_c89=no
3705 ac_save_CC=$CC
3706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3707 /* end confdefs.h.  */
3708 #include <stdarg.h>
3709 #include <stdio.h>
3710 #include <sys/types.h>
3711 #include <sys/stat.h>
3712 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3713 struct buf { int x; };
3714 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3715 static char *e (p, i)
3716      char **p;
3717      int i;
3718 {
3719   return p[i];
3720 }
3721 static char *f (char * (*g) (char **, int), char **p, ...)
3722 {
3723   char *s;
3724   va_list v;
3725   va_start (v,p);
3726   s = g (p, va_arg (v,int));
3727   va_end (v);
3728   return s;
3729 }
3730
3731 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3732    function prototypes and stuff, but not '\xHH' hex character constants.
3733    These don't provoke an error unfortunately, instead are silently treated
3734    as 'x'.  The following induces an error, until -std is added to get
3735    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3736    array size at least.  It's necessary to write '\x00'==0 to get something
3737    that's true only with -std.  */
3738 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3739
3740 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3741    inside strings and character constants.  */
3742 #define FOO(x) 'x'
3743 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3744
3745 int test (int i, double x);
3746 struct s1 {int (*f) (int a);};
3747 struct s2 {int (*f) (double a);};
3748 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3749 int argc;
3750 char **argv;
3751 int
3752 main ()
3753 {
3754 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3755   ;
3756   return 0;
3757 }
3758 _ACEOF
3759 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3760         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3761 do
3762   CC="$ac_save_CC $ac_arg"
3763   if ac_fn_c_try_compile "$LINENO"; then :
3764   ac_cv_prog_cc_c89=$ac_arg
3765 fi
3766 rm -f core conftest.err conftest.$ac_objext
3767   test "x$ac_cv_prog_cc_c89" != "xno" && break
3768 done
3769 rm -f conftest.$ac_ext
3770 CC=$ac_save_CC
3771
3772 fi
3773 # AC_CACHE_VAL
3774 case "x$ac_cv_prog_cc_c89" in
3775   x)
3776     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3777 $as_echo "none needed" >&6; } ;;
3778   xno)
3779     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3780 $as_echo "unsupported" >&6; } ;;
3781   *)
3782     CC="$CC $ac_cv_prog_cc_c89"
3783     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3784 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3785 esac
3786 if test "x$ac_cv_prog_cc_c89" != xno; then :
3787
3788 fi
3789
3790 ac_ext=c
3791 ac_cpp='$CPP $CPPFLAGS'
3792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3795
3796 depcc="$CC"   am_compiler_list=
3797
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3799 $as_echo_n "checking dependency style of $depcc... " >&6; }
3800 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3801   $as_echo_n "(cached) " >&6
3802 else
3803   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3804   # We make a subdir and do the tests there.  Otherwise we can end up
3805   # making bogus files that we don't know about and never remove.  For
3806   # instance it was reported that on HP-UX the gcc test will end up
3807   # making a dummy file named `D' -- because `-MD' means `put the output
3808   # in D'.
3809   mkdir conftest.dir
3810   # Copy depcomp to subdir because otherwise we won't find it if we're
3811   # using a relative directory.
3812   cp "$am_depcomp" conftest.dir
3813   cd conftest.dir
3814   # We will build objects and dependencies in a subdirectory because
3815   # it helps to detect inapplicable dependency modes.  For instance
3816   # both Tru64's cc and ICC support -MD to output dependencies as a
3817   # side effect of compilation, but ICC will put the dependencies in
3818   # the current directory while Tru64 will put them in the object
3819   # directory.
3820   mkdir sub
3821
3822   am_cv_CC_dependencies_compiler_type=none
3823   if test "$am_compiler_list" = ""; then
3824      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3825   fi
3826   am__universal=false
3827   case " $depcc " in #(
3828      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3829      esac
3830
3831   for depmode in $am_compiler_list; do
3832     # Setup a source with many dependencies, because some compilers
3833     # like to wrap large dependency lists on column 80 (with \), and
3834     # we should not choose a depcomp mode which is confused by this.
3835     #
3836     # We need to recreate these files for each test, as the compiler may
3837     # overwrite some of them when testing with obscure command lines.
3838     # This happens at least with the AIX C compiler.
3839     : > sub/conftest.c
3840     for i in 1 2 3 4 5 6; do
3841       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3842       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3843       # Solaris 8's {/usr,}/bin/sh.
3844       touch sub/conftst$i.h
3845     done
3846     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3847
3848     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3849     # mode.  It turns out that the SunPro C++ compiler does not properly
3850     # handle `-M -o', and we need to detect this.  Also, some Intel
3851     # versions had trouble with output in subdirs
3852     am__obj=sub/conftest.${OBJEXT-o}
3853     am__minus_obj="-o $am__obj"
3854     case $depmode in
3855     gcc)
3856       # This depmode causes a compiler race in universal mode.
3857       test "$am__universal" = false || continue
3858       ;;
3859     nosideeffect)
3860       # after this tag, mechanisms are not by side-effect, so they'll
3861       # only be used when explicitly requested
3862       if test "x$enable_dependency_tracking" = xyes; then
3863         continue
3864       else
3865         break
3866       fi
3867       ;;
3868     msvisualcpp | msvcmsys)
3869       # This compiler won't grok `-c -o', but also, the minuso test has
3870       # not run yet.  These depmodes are late enough in the game, and
3871       # so weak that their functioning should not be impacted.
3872       am__obj=conftest.${OBJEXT-o}
3873       am__minus_obj=
3874       ;;
3875     none) break ;;
3876     esac
3877     if depmode=$depmode \
3878        source=sub/conftest.c object=$am__obj \
3879        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3880        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3881          >/dev/null 2>conftest.err &&
3882        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3883        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3884        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3885        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3886       # icc doesn't choke on unknown options, it will just issue warnings
3887       # or remarks (even with -Werror).  So we grep stderr for any message
3888       # that says an option was ignored or not supported.
3889       # When given -MP, icc 7.0 and 7.1 complain thusly:
3890       #   icc: Command line warning: ignoring option '-M'; no argument required
3891       # The diagnosis changed in icc 8.0:
3892       #   icc: Command line remark: option '-MP' not supported
3893       if (grep 'ignoring option' conftest.err ||
3894           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3895         am_cv_CC_dependencies_compiler_type=$depmode
3896         break
3897       fi
3898     fi
3899   done
3900
3901   cd ..
3902   rm -rf conftest.dir
3903 else
3904   am_cv_CC_dependencies_compiler_type=none
3905 fi
3906
3907 fi
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3909 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3910 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3911
3912  if
3913   test "x$enable_dependency_tracking" != xno \
3914   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3915   am__fastdepCC_TRUE=
3916   am__fastdepCC_FALSE='#'
3917 else
3918   am__fastdepCC_TRUE='#'
3919   am__fastdepCC_FALSE=
3920 fi
3921
3922
3923
3924
3925
3926 case "$am__api_version" in
3927     1.01234)
3928         as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
3929     ;;
3930     *)
3931     ;;
3932 esac
3933
3934 if test -n "0.21"; then
3935     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.21" >&5
3936 $as_echo_n "checking for intltool >= 0.21... " >&6; }
3937
3938     INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.21 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3939     INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
3940     INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3941
3942     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
3943 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
3944     test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
3945         as_fn_error $? "Your intltool is too old.  You need intltool 0.21 or later." "$LINENO" 5
3946 fi
3947
3948 # Extract the first word of "intltool-update", so it can be a program name with args.
3949 set dummy intltool-update; ac_word=$2
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3951 $as_echo_n "checking for $ac_word... " >&6; }
3952 if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
3953   $as_echo_n "(cached) " >&6
3954 else
3955   case $INTLTOOL_UPDATE in
3956   [\\/]* | ?:[\\/]*)
3957   ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
3958   ;;
3959   *)
3960   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3961 for as_dir in $PATH
3962 do
3963   IFS=$as_save_IFS
3964   test -z "$as_dir" && as_dir=.
3965     for ac_exec_ext in '' $ac_executable_extensions; do
3966   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3967     ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
3968     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3969     break 2
3970   fi
3971 done
3972   done
3973 IFS=$as_save_IFS
3974
3975   ;;
3976 esac
3977 fi
3978 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
3979 if test -n "$INTLTOOL_UPDATE"; then
3980   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
3981 $as_echo "$INTLTOOL_UPDATE" >&6; }
3982 else
3983   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3984 $as_echo "no" >&6; }
3985 fi
3986
3987
3988 # Extract the first word of "intltool-merge", so it can be a program name with args.
3989 set dummy intltool-merge; ac_word=$2
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3991 $as_echo_n "checking for $ac_word... " >&6; }
3992 if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
3993   $as_echo_n "(cached) " >&6
3994 else
3995   case $INTLTOOL_MERGE in
3996   [\\/]* | ?:[\\/]*)
3997   ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
3998   ;;
3999   *)
4000   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4001 for as_dir in $PATH
4002 do
4003   IFS=$as_save_IFS
4004   test -z "$as_dir" && as_dir=.
4005     for ac_exec_ext in '' $ac_executable_extensions; do
4006   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4007     ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
4008     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4009     break 2
4010   fi
4011 done
4012   done
4013 IFS=$as_save_IFS
4014
4015   ;;
4016 esac
4017 fi
4018 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
4019 if test -n "$INTLTOOL_MERGE"; then
4020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
4021 $as_echo "$INTLTOOL_MERGE" >&6; }
4022 else
4023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4024 $as_echo "no" >&6; }
4025 fi
4026
4027
4028 # Extract the first word of "intltool-extract", so it can be a program name with args.
4029 set dummy intltool-extract; ac_word=$2
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4031 $as_echo_n "checking for $ac_word... " >&6; }
4032 if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
4033   $as_echo_n "(cached) " >&6
4034 else
4035   case $INTLTOOL_EXTRACT in
4036   [\\/]* | ?:[\\/]*)
4037   ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
4038   ;;
4039   *)
4040   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4041 for as_dir in $PATH
4042 do
4043   IFS=$as_save_IFS
4044   test -z "$as_dir" && as_dir=.
4045     for ac_exec_ext in '' $ac_executable_extensions; do
4046   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4047     ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
4048     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4049     break 2
4050   fi
4051 done
4052   done
4053 IFS=$as_save_IFS
4054
4055   ;;
4056 esac
4057 fi
4058 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
4059 if test -n "$INTLTOOL_EXTRACT"; then
4060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
4061 $as_echo "$INTLTOOL_EXTRACT" >&6; }
4062 else
4063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4064 $as_echo "no" >&6; }
4065 fi
4066
4067
4068 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
4069     as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
4070 fi
4071
4072   INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4073 INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4074      INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4075      INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4076       INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
4077      INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4078    INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4079     INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4080 INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4081        INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4082       INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4083       INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
4084       INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4085       INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4086     INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4087   INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4088     INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4089     INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4090    INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
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 # Check the gettext tools to make sure they are GNU
4189 # Extract the first word of "xgettext", so it can be a program name with args.
4190 set dummy xgettext; ac_word=$2
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4192 $as_echo_n "checking for $ac_word... " >&6; }
4193 if ${ac_cv_path_XGETTEXT+:} false; then :
4194   $as_echo_n "(cached) " >&6
4195 else
4196   case $XGETTEXT in
4197   [\\/]* | ?:[\\/]*)
4198   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4199   ;;
4200   *)
4201   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4202 for as_dir in $PATH
4203 do
4204   IFS=$as_save_IFS
4205   test -z "$as_dir" && as_dir=.
4206     for ac_exec_ext in '' $ac_executable_extensions; do
4207   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4208     ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
4209     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4210     break 2
4211   fi
4212 done
4213   done
4214 IFS=$as_save_IFS
4215
4216   ;;
4217 esac
4218 fi
4219 XGETTEXT=$ac_cv_path_XGETTEXT
4220 if test -n "$XGETTEXT"; then
4221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4222 $as_echo "$XGETTEXT" >&6; }
4223 else
4224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4225 $as_echo "no" >&6; }
4226 fi
4227
4228
4229 # Extract the first word of "msgmerge", so it can be a program name with args.
4230 set dummy msgmerge; ac_word=$2
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4232 $as_echo_n "checking for $ac_word... " >&6; }
4233 if ${ac_cv_path_MSGMERGE+:} false; then :
4234   $as_echo_n "(cached) " >&6
4235 else
4236   case $MSGMERGE in
4237   [\\/]* | ?:[\\/]*)
4238   ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4239   ;;
4240   *)
4241   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4242 for as_dir in $PATH
4243 do
4244   IFS=$as_save_IFS
4245   test -z "$as_dir" && as_dir=.
4246     for ac_exec_ext in '' $ac_executable_extensions; do
4247   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4248     ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
4249     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4250     break 2
4251   fi
4252 done
4253   done
4254 IFS=$as_save_IFS
4255
4256   ;;
4257 esac
4258 fi
4259 MSGMERGE=$ac_cv_path_MSGMERGE
4260 if test -n "$MSGMERGE"; then
4261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4262 $as_echo "$MSGMERGE" >&6; }
4263 else
4264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4265 $as_echo "no" >&6; }
4266 fi
4267
4268
4269 # Extract the first word of "msgfmt", so it can be a program name with args.
4270 set dummy msgfmt; ac_word=$2
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4272 $as_echo_n "checking for $ac_word... " >&6; }
4273 if ${ac_cv_path_MSGFMT+:} false; then :
4274   $as_echo_n "(cached) " >&6
4275 else
4276   case $MSGFMT in
4277   [\\/]* | ?:[\\/]*)
4278   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4279   ;;
4280   *)
4281   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4282 for as_dir in $PATH
4283 do
4284   IFS=$as_save_IFS
4285   test -z "$as_dir" && as_dir=.
4286     for ac_exec_ext in '' $ac_executable_extensions; do
4287   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4288     ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
4289     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4290     break 2
4291   fi
4292 done
4293   done
4294 IFS=$as_save_IFS
4295
4296   ;;
4297 esac
4298 fi
4299 MSGFMT=$ac_cv_path_MSGFMT
4300 if test -n "$MSGFMT"; then
4301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4302 $as_echo "$MSGFMT" >&6; }
4303 else
4304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4305 $as_echo "no" >&6; }
4306 fi
4307
4308
4309 # Extract the first word of "gmsgfmt", so it can be a program name with args.
4310 set dummy gmsgfmt; ac_word=$2
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4312 $as_echo_n "checking for $ac_word... " >&6; }
4313 if ${ac_cv_path_GMSGFMT+:} false; then :
4314   $as_echo_n "(cached) " >&6
4315 else
4316   case $GMSGFMT in
4317   [\\/]* | ?:[\\/]*)
4318   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4319   ;;
4320   *)
4321   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4322 for as_dir in $PATH
4323 do
4324   IFS=$as_save_IFS
4325   test -z "$as_dir" && as_dir=.
4326     for ac_exec_ext in '' $ac_executable_extensions; do
4327   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4328     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4329     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4330     break 2
4331   fi
4332 done
4333   done
4334 IFS=$as_save_IFS
4335
4336   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4337   ;;
4338 esac
4339 fi
4340 GMSGFMT=$ac_cv_path_GMSGFMT
4341 if test -n "$GMSGFMT"; then
4342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4343 $as_echo "$GMSGFMT" >&6; }
4344 else
4345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4346 $as_echo "no" >&6; }
4347 fi
4348
4349
4350 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
4351     as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
4352 fi
4353 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
4354 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
4355 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
4356 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
4357     as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
4358 fi
4359
4360 # Extract the first word of "perl", so it can be a program name with args.
4361 set dummy perl; ac_word=$2
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4363 $as_echo_n "checking for $ac_word... " >&6; }
4364 if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
4365   $as_echo_n "(cached) " >&6
4366 else
4367   case $INTLTOOL_PERL in
4368   [\\/]* | ?:[\\/]*)
4369   ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
4370   ;;
4371   *)
4372   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4373 for as_dir in $PATH
4374 do
4375   IFS=$as_save_IFS
4376   test -z "$as_dir" && as_dir=.
4377     for ac_exec_ext in '' $ac_executable_extensions; do
4378   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4379     ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
4380     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4381     break 2
4382   fi
4383 done
4384   done
4385 IFS=$as_save_IFS
4386
4387   ;;
4388 esac
4389 fi
4390 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
4391 if test -n "$INTLTOOL_PERL"; then
4392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
4393 $as_echo "$INTLTOOL_PERL" >&6; }
4394 else
4395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4396 $as_echo "no" >&6; }
4397 fi
4398
4399
4400 if test -z "$INTLTOOL_PERL"; then
4401    as_fn_error $? "perl not found" "$LINENO" 5
4402 fi
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
4404 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
4405 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
4406 if test $? -ne 0; then
4407    as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
4408 else
4409    IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
4410    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
4411 $as_echo "$IT_PERL_VERSION" >&6; }
4412 fi
4413 if test "x" != "xno-xml"; then
4414    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
4415 $as_echo_n "checking for XML::Parser... " >&6; }
4416    if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
4417        { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
4418 $as_echo "ok" >&6; }
4419    else
4420        as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
4421    fi
4422 fi
4423
4424 # Substitute ALL_LINGUAS so we can use it in po/Makefile
4425
4426
4427 # Set DATADIRNAME correctly if it is not set yet
4428 # (copied from glib-gettext.m4)
4429 if test -z "$DATADIRNAME"; then
4430   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4431 /* end confdefs.h.  */
4432
4433 int
4434 main ()
4435 {
4436 extern int _nl_msg_cat_cntr;
4437                        return _nl_msg_cat_cntr
4438   ;
4439   return 0;
4440 }
4441 _ACEOF
4442 if ac_fn_c_try_link "$LINENO"; then :
4443   DATADIRNAME=share
4444 else
4445   case $host in
4446     *-*-solaris*)
4447                         ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
4448 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
4449   DATADIRNAME=share
4450 else
4451   DATADIRNAME=lib
4452 fi
4453
4454     ;;
4455     *)
4456     DATADIRNAME=lib
4457     ;;
4458     esac
4459 fi
4460 rm -f core conftest.err conftest.$ac_objext \
4461     conftest$ac_exeext conftest.$ac_ext
4462 fi
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4476         if test -n "$ac_tool_prefix"; then
4477   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4478 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4480 $as_echo_n "checking for $ac_word... " >&6; }
4481 if ${ac_cv_path_PKG_CONFIG+:} false; then :
4482   $as_echo_n "(cached) " >&6
4483 else
4484   case $PKG_CONFIG in
4485   [\\/]* | ?:[\\/]*)
4486   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4487   ;;
4488   *)
4489   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4490 for as_dir in $PATH
4491 do
4492   IFS=$as_save_IFS
4493   test -z "$as_dir" && as_dir=.
4494     for ac_exec_ext in '' $ac_executable_extensions; do
4495   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4496     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4497     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4498     break 2
4499   fi
4500 done
4501   done
4502 IFS=$as_save_IFS
4503
4504   ;;
4505 esac
4506 fi
4507 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4508 if test -n "$PKG_CONFIG"; then
4509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4510 $as_echo "$PKG_CONFIG" >&6; }
4511 else
4512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4513 $as_echo "no" >&6; }
4514 fi
4515
4516
4517 fi
4518 if test -z "$ac_cv_path_PKG_CONFIG"; then
4519   ac_pt_PKG_CONFIG=$PKG_CONFIG
4520   # Extract the first word of "pkg-config", so it can be a program name with args.
4521 set dummy pkg-config; ac_word=$2
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4523 $as_echo_n "checking for $ac_word... " >&6; }
4524 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4525   $as_echo_n "(cached) " >&6
4526 else
4527   case $ac_pt_PKG_CONFIG in
4528   [\\/]* | ?:[\\/]*)
4529   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4530   ;;
4531   *)
4532   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4533 for as_dir in $PATH
4534 do
4535   IFS=$as_save_IFS
4536   test -z "$as_dir" && as_dir=.
4537     for ac_exec_ext in '' $ac_executable_extensions; do
4538   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4539     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4540     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4541     break 2
4542   fi
4543 done
4544   done
4545 IFS=$as_save_IFS
4546
4547   ;;
4548 esac
4549 fi
4550 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4551 if test -n "$ac_pt_PKG_CONFIG"; then
4552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4553 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4554 else
4555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4556 $as_echo "no" >&6; }
4557 fi
4558
4559   if test "x$ac_pt_PKG_CONFIG" = x; then
4560     PKG_CONFIG=""
4561   else
4562     case $cross_compiling:$ac_tool_warned in
4563 yes:)
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4565 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4566 ac_tool_warned=yes ;;
4567 esac
4568     PKG_CONFIG=$ac_pt_PKG_CONFIG
4569   fi
4570 else
4571   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4572 fi
4573
4574 fi
4575 if test -n "$PKG_CONFIG"; then
4576         _pkg_min_version=0.9.0
4577         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4578 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4579         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4580                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4581 $as_echo "yes" >&6; }
4582         else
4583                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4584 $as_echo "no" >&6; }
4585                 PKG_CONFIG=""
4586         fi
4587 fi
4588
4589 case `pwd` in
4590   *\ * | *\     *)
4591     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4592 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4593 esac
4594
4595
4596
4597 macro_version='2.4'
4598 macro_revision='1.3293'
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612 ltmain="$ac_aux_dir/ltmain.sh"
4613
4614 # Make sure we can run config.sub.
4615 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4616   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4617
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4619 $as_echo_n "checking build system type... " >&6; }
4620 if ${ac_cv_build+:} false; then :
4621   $as_echo_n "(cached) " >&6
4622 else
4623   ac_build_alias=$build_alias
4624 test "x$ac_build_alias" = x &&
4625   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4626 test "x$ac_build_alias" = x &&
4627   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4628 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4629   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4630
4631 fi
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4633 $as_echo "$ac_cv_build" >&6; }
4634 case $ac_cv_build in
4635 *-*-*) ;;
4636 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4637 esac
4638 build=$ac_cv_build
4639 ac_save_IFS=$IFS; IFS='-'
4640 set x $ac_cv_build
4641 shift
4642 build_cpu=$1
4643 build_vendor=$2
4644 shift; shift
4645 # Remember, the first character of IFS is used to create $*,
4646 # except with old shells:
4647 build_os=$*
4648 IFS=$ac_save_IFS
4649 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4650
4651
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4653 $as_echo_n "checking host system type... " >&6; }
4654 if ${ac_cv_host+:} false; then :
4655   $as_echo_n "(cached) " >&6
4656 else
4657   if test "x$host_alias" = x; then
4658   ac_cv_host=$ac_cv_build
4659 else
4660   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4661     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4662 fi
4663
4664 fi
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4666 $as_echo "$ac_cv_host" >&6; }
4667 case $ac_cv_host in
4668 *-*-*) ;;
4669 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4670 esac
4671 host=$ac_cv_host
4672 ac_save_IFS=$IFS; IFS='-'
4673 set x $ac_cv_host
4674 shift
4675 host_cpu=$1
4676 host_vendor=$2
4677 shift; shift
4678 # Remember, the first character of IFS is used to create $*,
4679 # except with old shells:
4680 host_os=$*
4681 IFS=$ac_save_IFS
4682 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4683
4684
4685 # Backslashify metacharacters that are still active within
4686 # double-quoted strings.
4687 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4688
4689 # Same as above, but do not quote variable references.
4690 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4691
4692 # Sed substitution to delay expansion of an escaped shell variable in a
4693 # double_quote_subst'ed string.
4694 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4695
4696 # Sed substitution to delay expansion of an escaped single quote.
4697 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4698
4699 # Sed substitution to avoid accidental globbing in evaled expressions
4700 no_glob_subst='s/\*/\\\*/g'
4701
4702 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4703 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4704 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4705
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4707 $as_echo_n "checking how to print strings... " >&6; }
4708 # Test print first, because it will be a builtin if present.
4709 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4710    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4711   ECHO='print -r --'
4712 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4713   ECHO='printf %s\n'
4714 else
4715   # Use this function as a fallback that always works.
4716   func_fallback_echo ()
4717   {
4718     eval 'cat <<_LTECHO_EOF
4719 $1
4720 _LTECHO_EOF'
4721   }
4722   ECHO='func_fallback_echo'
4723 fi
4724
4725 # func_echo_all arg...
4726 # Invoke $ECHO with all args, space-separated.
4727 func_echo_all ()
4728 {
4729     $ECHO ""
4730 }
4731
4732 case "$ECHO" in
4733   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4734 $as_echo "printf" >&6; } ;;
4735   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4736 $as_echo "print -r" >&6; } ;;
4737   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4738 $as_echo "cat" >&6; } ;;
4739 esac
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4755 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4756 if ${ac_cv_path_SED+:} false; then :
4757   $as_echo_n "(cached) " >&6
4758 else
4759             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4760      for ac_i in 1 2 3 4 5 6 7; do
4761        ac_script="$ac_script$as_nl$ac_script"
4762      done
4763      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4764      { ac_script=; unset ac_script;}
4765      if test -z "$SED"; then
4766   ac_path_SED_found=false
4767   # Loop through the user's path and test for each of PROGNAME-LIST
4768   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4769 for as_dir in $PATH
4770 do
4771   IFS=$as_save_IFS
4772   test -z "$as_dir" && as_dir=.
4773     for ac_prog in sed gsed; do
4774     for ac_exec_ext in '' $ac_executable_extensions; do
4775       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4776       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4777 # Check for GNU ac_path_SED and select it if it is found.
4778   # Check for GNU $ac_path_SED
4779 case `"$ac_path_SED" --version 2>&1` in
4780 *GNU*)
4781   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4782 *)
4783   ac_count=0
4784   $as_echo_n 0123456789 >"conftest.in"
4785   while :
4786   do
4787     cat "conftest.in" "conftest.in" >"conftest.tmp"
4788     mv "conftest.tmp" "conftest.in"
4789     cp "conftest.in" "conftest.nl"
4790     $as_echo '' >> "conftest.nl"
4791     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4792     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4793     as_fn_arith $ac_count + 1 && ac_count=$as_val
4794     if test $ac_count -gt ${ac_path_SED_max-0}; then
4795       # Best one so far, save it but keep looking for a better one
4796       ac_cv_path_SED="$ac_path_SED"
4797       ac_path_SED_max=$ac_count
4798     fi
4799     # 10*(2^10) chars as input seems more than enough
4800     test $ac_count -gt 10 && break
4801   done
4802   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4803 esac
4804
4805       $ac_path_SED_found && break 3
4806     done
4807   done
4808   done
4809 IFS=$as_save_IFS
4810   if test -z "$ac_cv_path_SED"; then
4811     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4812   fi
4813 else
4814   ac_cv_path_SED=$SED
4815 fi
4816
4817 fi
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4819 $as_echo "$ac_cv_path_SED" >&6; }
4820  SED="$ac_cv_path_SED"
4821   rm -f conftest.sed
4822
4823 test -z "$SED" && SED=sed
4824 Xsed="$SED -e 1s/^X//"
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4837 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4838 if ${ac_cv_path_GREP+:} false; then :
4839   $as_echo_n "(cached) " >&6
4840 else
4841   if test -z "$GREP"; then
4842   ac_path_GREP_found=false
4843   # Loop through the user's path and test for each of PROGNAME-LIST
4844   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4845 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4846 do
4847   IFS=$as_save_IFS
4848   test -z "$as_dir" && as_dir=.
4849     for ac_prog in grep ggrep; do
4850     for ac_exec_ext in '' $ac_executable_extensions; do
4851       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4852       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4853 # Check for GNU ac_path_GREP and select it if it is found.
4854   # Check for GNU $ac_path_GREP
4855 case `"$ac_path_GREP" --version 2>&1` in
4856 *GNU*)
4857   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4858 *)
4859   ac_count=0
4860   $as_echo_n 0123456789 >"conftest.in"
4861   while :
4862   do
4863     cat "conftest.in" "conftest.in" >"conftest.tmp"
4864     mv "conftest.tmp" "conftest.in"
4865     cp "conftest.in" "conftest.nl"
4866     $as_echo 'GREP' >> "conftest.nl"
4867     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4868     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4869     as_fn_arith $ac_count + 1 && ac_count=$as_val
4870     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4871       # Best one so far, save it but keep looking for a better one
4872       ac_cv_path_GREP="$ac_path_GREP"
4873       ac_path_GREP_max=$ac_count
4874     fi
4875     # 10*(2^10) chars as input seems more than enough
4876     test $ac_count -gt 10 && break
4877   done
4878   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4879 esac
4880
4881       $ac_path_GREP_found && break 3
4882     done
4883   done
4884   done
4885 IFS=$as_save_IFS
4886   if test -z "$ac_cv_path_GREP"; then
4887     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4888   fi
4889 else
4890   ac_cv_path_GREP=$GREP
4891 fi
4892
4893 fi
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4895 $as_echo "$ac_cv_path_GREP" >&6; }
4896  GREP="$ac_cv_path_GREP"
4897
4898
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4900 $as_echo_n "checking for egrep... " >&6; }
4901 if ${ac_cv_path_EGREP+:} false; then :
4902   $as_echo_n "(cached) " >&6
4903 else
4904   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4905    then ac_cv_path_EGREP="$GREP -E"
4906    else
4907      if test -z "$EGREP"; then
4908   ac_path_EGREP_found=false
4909   # Loop through the user's path and test for each of PROGNAME-LIST
4910   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4911 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4912 do
4913   IFS=$as_save_IFS
4914   test -z "$as_dir" && as_dir=.
4915     for ac_prog in egrep; do
4916     for ac_exec_ext in '' $ac_executable_extensions; do
4917       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4918       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4919 # Check for GNU ac_path_EGREP and select it if it is found.
4920   # Check for GNU $ac_path_EGREP
4921 case `"$ac_path_EGREP" --version 2>&1` in
4922 *GNU*)
4923   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4924 *)
4925   ac_count=0
4926   $as_echo_n 0123456789 >"conftest.in"
4927   while :
4928   do
4929     cat "conftest.in" "conftest.in" >"conftest.tmp"
4930     mv "conftest.tmp" "conftest.in"
4931     cp "conftest.in" "conftest.nl"
4932     $as_echo 'EGREP' >> "conftest.nl"
4933     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4934     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4935     as_fn_arith $ac_count + 1 && ac_count=$as_val
4936     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4937       # Best one so far, save it but keep looking for a better one
4938       ac_cv_path_EGREP="$ac_path_EGREP"
4939       ac_path_EGREP_max=$ac_count
4940     fi
4941     # 10*(2^10) chars as input seems more than enough
4942     test $ac_count -gt 10 && break
4943   done
4944   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4945 esac
4946
4947       $ac_path_EGREP_found && break 3
4948     done
4949   done
4950   done
4951 IFS=$as_save_IFS
4952   if test -z "$ac_cv_path_EGREP"; then
4953     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4954   fi
4955 else
4956   ac_cv_path_EGREP=$EGREP
4957 fi
4958
4959    fi
4960 fi
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4962 $as_echo "$ac_cv_path_EGREP" >&6; }
4963  EGREP="$ac_cv_path_EGREP"
4964
4965
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4967 $as_echo_n "checking for fgrep... " >&6; }
4968 if ${ac_cv_path_FGREP+:} false; then :
4969   $as_echo_n "(cached) " >&6
4970 else
4971   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4972    then ac_cv_path_FGREP="$GREP -F"
4973    else
4974      if test -z "$FGREP"; then
4975   ac_path_FGREP_found=false
4976   # Loop through the user's path and test for each of PROGNAME-LIST
4977   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4978 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4979 do
4980   IFS=$as_save_IFS
4981   test -z "$as_dir" && as_dir=.
4982     for ac_prog in fgrep; do
4983     for ac_exec_ext in '' $ac_executable_extensions; do
4984       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4985       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4986 # Check for GNU ac_path_FGREP and select it if it is found.
4987   # Check for GNU $ac_path_FGREP
4988 case `"$ac_path_FGREP" --version 2>&1` in
4989 *GNU*)
4990   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4991 *)
4992   ac_count=0
4993   $as_echo_n 0123456789 >"conftest.in"
4994   while :
4995   do
4996     cat "conftest.in" "conftest.in" >"conftest.tmp"
4997     mv "conftest.tmp" "conftest.in"
4998     cp "conftest.in" "conftest.nl"
4999     $as_echo 'FGREP' >> "conftest.nl"
5000     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5001     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5002     as_fn_arith $ac_count + 1 && ac_count=$as_val
5003     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5004       # Best one so far, save it but keep looking for a better one
5005       ac_cv_path_FGREP="$ac_path_FGREP"
5006       ac_path_FGREP_max=$ac_count
5007     fi
5008     # 10*(2^10) chars as input seems more than enough
5009     test $ac_count -gt 10 && break
5010   done
5011   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5012 esac
5013
5014       $ac_path_FGREP_found && break 3
5015     done
5016   done
5017   done
5018 IFS=$as_save_IFS
5019   if test -z "$ac_cv_path_FGREP"; then
5020     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5021   fi
5022 else
5023   ac_cv_path_FGREP=$FGREP
5024 fi
5025
5026    fi
5027 fi
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5029 $as_echo "$ac_cv_path_FGREP" >&6; }
5030  FGREP="$ac_cv_path_FGREP"
5031
5032
5033 test -z "$GREP" && GREP=grep
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053 # Check whether --with-gnu-ld was given.
5054 if test "${with_gnu_ld+set}" = set; then :
5055   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5056 else
5057   with_gnu_ld=no
5058 fi
5059
5060 ac_prog=ld
5061 if test "$GCC" = yes; then
5062   # Check if gcc -print-prog-name=ld gives a path.
5063   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5064 $as_echo_n "checking for ld used by $CC... " >&6; }
5065   case $host in
5066   *-*-mingw*)
5067     # gcc leaves a trailing carriage return which upsets mingw
5068     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5069   *)
5070     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5071   esac
5072   case $ac_prog in
5073     # Accept absolute paths.
5074     [\\/]* | ?:[\\/]*)
5075       re_direlt='/[^/][^/]*/\.\./'
5076       # Canonicalize the pathname of ld
5077       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5078       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5079         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5080       done
5081       test -z "$LD" && LD="$ac_prog"
5082       ;;
5083   "")
5084     # If it fails, then pretend we aren't using GCC.
5085     ac_prog=ld
5086     ;;
5087   *)
5088     # If it is relative, then search for the first ld in PATH.
5089     with_gnu_ld=unknown
5090     ;;
5091   esac
5092 elif test "$with_gnu_ld" = yes; then
5093   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5094 $as_echo_n "checking for GNU ld... " >&6; }
5095 else
5096   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5097 $as_echo_n "checking for non-GNU ld... " >&6; }
5098 fi
5099 if ${lt_cv_path_LD+:} false; then :
5100   $as_echo_n "(cached) " >&6
5101 else
5102   if test -z "$LD"; then
5103   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5104   for ac_dir in $PATH; do
5105     IFS="$lt_save_ifs"
5106     test -z "$ac_dir" && ac_dir=.
5107     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5108       lt_cv_path_LD="$ac_dir/$ac_prog"
5109       # Check to see if the program is GNU ld.  I'd rather use --version,
5110       # but apparently some variants of GNU ld only accept -v.
5111       # Break only if it was the GNU/non-GNU ld that we prefer.
5112       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5113       *GNU* | *'with BFD'*)
5114         test "$with_gnu_ld" != no && break
5115         ;;
5116       *)
5117         test "$with_gnu_ld" != yes && break
5118         ;;
5119       esac
5120     fi
5121   done
5122   IFS="$lt_save_ifs"
5123 else
5124   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5125 fi
5126 fi
5127
5128 LD="$lt_cv_path_LD"
5129 if test -n "$LD"; then
5130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5131 $as_echo "$LD" >&6; }
5132 else
5133   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5134 $as_echo "no" >&6; }
5135 fi
5136 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5138 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5139 if ${lt_cv_prog_gnu_ld+:} false; then :
5140   $as_echo_n "(cached) " >&6
5141 else
5142   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5143 case `$LD -v 2>&1 </dev/null` in
5144 *GNU* | *'with BFD'*)
5145   lt_cv_prog_gnu_ld=yes
5146   ;;
5147 *)
5148   lt_cv_prog_gnu_ld=no
5149   ;;
5150 esac
5151 fi
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5153 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5154 with_gnu_ld=$lt_cv_prog_gnu_ld
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5165 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5166 if ${lt_cv_path_NM+:} false; then :
5167   $as_echo_n "(cached) " >&6
5168 else
5169   if test -n "$NM"; then
5170   # Let the user override the test.
5171   lt_cv_path_NM="$NM"
5172 else
5173   lt_nm_to_check="${ac_tool_prefix}nm"
5174   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5175     lt_nm_to_check="$lt_nm_to_check nm"
5176   fi
5177   for lt_tmp_nm in $lt_nm_to_check; do
5178     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5179     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5180       IFS="$lt_save_ifs"
5181       test -z "$ac_dir" && ac_dir=.
5182       tmp_nm="$ac_dir/$lt_tmp_nm"
5183       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5184         # Check to see if the nm accepts a BSD-compat flag.
5185         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5186         #   nm: unknown option "B" ignored
5187         # Tru64's nm complains that /dev/null is an invalid object file
5188         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5189         */dev/null* | *'Invalid file or object type'*)
5190           lt_cv_path_NM="$tmp_nm -B"
5191           break
5192           ;;
5193         *)
5194           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5195           */dev/null*)
5196             lt_cv_path_NM="$tmp_nm -p"
5197             break
5198             ;;
5199           *)
5200             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5201             continue # so that we can try to find one that supports BSD flags
5202             ;;
5203           esac
5204           ;;
5205         esac
5206       fi
5207     done
5208     IFS="$lt_save_ifs"
5209   done
5210   : ${lt_cv_path_NM=no}
5211 fi
5212 fi
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5214 $as_echo "$lt_cv_path_NM" >&6; }
5215 if test "$lt_cv_path_NM" != "no"; then
5216   NM="$lt_cv_path_NM"
5217 else
5218   # Didn't find any BSD compatible name lister, look for dumpbin.
5219   if test -n "$DUMPBIN"; then :
5220     # Let the user override the test.
5221   else
5222     if test -n "$ac_tool_prefix"; then
5223   for ac_prog in dumpbin "link -dump"
5224   do
5225     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5226 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5228 $as_echo_n "checking for $ac_word... " >&6; }
5229 if ${ac_cv_prog_DUMPBIN+:} false; then :
5230   $as_echo_n "(cached) " >&6
5231 else
5232   if test -n "$DUMPBIN"; then
5233   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5234 else
5235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5236 for as_dir in $PATH
5237 do
5238   IFS=$as_save_IFS
5239   test -z "$as_dir" && as_dir=.
5240     for ac_exec_ext in '' $ac_executable_extensions; do
5241   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5242     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5243     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5244     break 2
5245   fi
5246 done
5247   done
5248 IFS=$as_save_IFS
5249
5250 fi
5251 fi
5252 DUMPBIN=$ac_cv_prog_DUMPBIN
5253 if test -n "$DUMPBIN"; then
5254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5255 $as_echo "$DUMPBIN" >&6; }
5256 else
5257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5258 $as_echo "no" >&6; }
5259 fi
5260
5261
5262     test -n "$DUMPBIN" && break
5263   done
5264 fi
5265 if test -z "$DUMPBIN"; then
5266   ac_ct_DUMPBIN=$DUMPBIN
5267   for ac_prog in dumpbin "link -dump"
5268 do
5269   # Extract the first word of "$ac_prog", so it can be a program name with args.
5270 set dummy $ac_prog; ac_word=$2
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5272 $as_echo_n "checking for $ac_word... " >&6; }
5273 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5274   $as_echo_n "(cached) " >&6
5275 else
5276   if test -n "$ac_ct_DUMPBIN"; then
5277   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5278 else
5279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5280 for as_dir in $PATH
5281 do
5282   IFS=$as_save_IFS
5283   test -z "$as_dir" && as_dir=.
5284     for ac_exec_ext in '' $ac_executable_extensions; do
5285   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5286     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5287     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5288     break 2
5289   fi
5290 done
5291   done
5292 IFS=$as_save_IFS
5293
5294 fi
5295 fi
5296 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5297 if test -n "$ac_ct_DUMPBIN"; then
5298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5299 $as_echo "$ac_ct_DUMPBIN" >&6; }
5300 else
5301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5302 $as_echo "no" >&6; }
5303 fi
5304
5305
5306   test -n "$ac_ct_DUMPBIN" && break
5307 done
5308
5309   if test "x$ac_ct_DUMPBIN" = x; then
5310     DUMPBIN=":"
5311   else
5312     case $cross_compiling:$ac_tool_warned in
5313 yes:)
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5315 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5316 ac_tool_warned=yes ;;
5317 esac
5318     DUMPBIN=$ac_ct_DUMPBIN
5319   fi
5320 fi
5321
5322     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5323     *COFF*)
5324       DUMPBIN="$DUMPBIN -symbols"
5325       ;;
5326     *)
5327       DUMPBIN=:
5328       ;;
5329     esac
5330   fi
5331
5332   if test "$DUMPBIN" != ":"; then
5333     NM="$DUMPBIN"
5334   fi
5335 fi
5336 test -z "$NM" && NM=nm
5337
5338
5339
5340
5341
5342
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5344 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5345 if ${lt_cv_nm_interface+:} false; then :
5346   $as_echo_n "(cached) " >&6
5347 else
5348   lt_cv_nm_interface="BSD nm"
5349   echo "int some_variable = 0;" > conftest.$ac_ext
5350   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5351   (eval "$ac_compile" 2>conftest.err)
5352   cat conftest.err >&5
5353   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5354   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5355   cat conftest.err >&5
5356   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5357   cat conftest.out >&5
5358   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5359     lt_cv_nm_interface="MS dumpbin"
5360   fi
5361   rm -f conftest*
5362 fi
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5364 $as_echo "$lt_cv_nm_interface" >&6; }
5365
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5367 $as_echo_n "checking whether ln -s works... " >&6; }
5368 LN_S=$as_ln_s
5369 if test "$LN_S" = "ln -s"; then
5370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5371 $as_echo "yes" >&6; }
5372 else
5373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5374 $as_echo "no, using $LN_S" >&6; }
5375 fi
5376
5377 # find the maximum length of command line arguments
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5379 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5380 if ${lt_cv_sys_max_cmd_len+:} false; then :
5381   $as_echo_n "(cached) " >&6
5382 else
5383     i=0
5384   teststring="ABCD"
5385
5386   case $build_os in
5387   msdosdjgpp*)
5388     # On DJGPP, this test can blow up pretty badly due to problems in libc
5389     # (any single argument exceeding 2000 bytes causes a buffer overrun
5390     # during glob expansion).  Even if it were fixed, the result of this
5391     # check would be larger than it should be.
5392     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5393     ;;
5394
5395   gnu*)
5396     # Under GNU Hurd, this test is not required because there is
5397     # no limit to the length of command line arguments.
5398     # Libtool will interpret -1 as no limit whatsoever
5399     lt_cv_sys_max_cmd_len=-1;
5400     ;;
5401
5402   cygwin* | mingw* | cegcc*)
5403     # On Win9x/ME, this test blows up -- it succeeds, but takes
5404     # about 5 minutes as the teststring grows exponentially.
5405     # Worse, since 9x/ME are not pre-emptively multitasking,
5406     # you end up with a "frozen" computer, even though with patience
5407     # the test eventually succeeds (with a max line length of 256k).
5408     # Instead, let's just punt: use the minimum linelength reported by
5409     # all of the supported platforms: 8192 (on NT/2K/XP).
5410     lt_cv_sys_max_cmd_len=8192;
5411     ;;
5412
5413   mint*)
5414     # On MiNT this can take a long time and run out of memory.
5415     lt_cv_sys_max_cmd_len=8192;
5416     ;;
5417
5418   amigaos*)
5419     # On AmigaOS with pdksh, this test takes hours, literally.
5420     # So we just punt and use a minimum line length of 8192.
5421     lt_cv_sys_max_cmd_len=8192;
5422     ;;
5423
5424   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5425     # This has been around since 386BSD, at least.  Likely further.
5426     if test -x /sbin/sysctl; then
5427       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5428     elif test -x /usr/sbin/sysctl; then
5429       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5430     else
5431       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5432     fi
5433     # And add a safety zone
5434     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5435     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5436     ;;
5437
5438   interix*)
5439     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5440     lt_cv_sys_max_cmd_len=196608
5441     ;;
5442
5443   osf*)
5444     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5445     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5446     # nice to cause kernel panics so lets avoid the loop below.
5447     # First set a reasonable default.
5448     lt_cv_sys_max_cmd_len=16384
5449     #
5450     if test -x /sbin/sysconfig; then
5451       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5452         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5453       esac
5454     fi
5455     ;;
5456   sco3.2v5*)
5457     lt_cv_sys_max_cmd_len=102400
5458     ;;
5459   sysv5* | sco5v6* | sysv4.2uw2*)
5460     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5461     if test -n "$kargmax"; then
5462       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5463     else
5464       lt_cv_sys_max_cmd_len=32768
5465     fi
5466     ;;
5467   *)
5468     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5469     if test -n "$lt_cv_sys_max_cmd_len"; then
5470       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5471       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5472     else
5473       # Make teststring a little bigger before we do anything with it.
5474       # a 1K string should be a reasonable start.
5475       for i in 1 2 3 4 5 6 7 8 ; do
5476         teststring=$teststring$teststring
5477       done
5478       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5479       # If test is not a shell built-in, we'll probably end up computing a
5480       # maximum length that is only half of the actual maximum length, but
5481       # we can't tell.
5482       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5483                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5484               test $i != 17 # 1/2 MB should be enough
5485       do
5486         i=`expr $i + 1`
5487         teststring=$teststring$teststring
5488       done
5489       # Only check the string length outside the loop.
5490       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5491       teststring=
5492       # Add a significant safety factor because C++ compilers can tack on
5493       # massive amounts of additional arguments before passing them to the
5494       # linker.  It appears as though 1/2 is a usable value.
5495       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5496     fi
5497     ;;
5498   esac
5499
5500 fi
5501
5502 if test -n $lt_cv_sys_max_cmd_len ; then
5503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5504 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5505 else
5506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5507 $as_echo "none" >&6; }
5508 fi
5509 max_cmd_len=$lt_cv_sys_max_cmd_len
5510
5511
5512
5513
5514
5515
5516 : ${CP="cp -f"}
5517 : ${MV="mv -f"}
5518 : ${RM="rm -f"}
5519
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5521 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5522 # Try some XSI features
5523 xsi_shell=no
5524 ( _lt_dummy="a/b/c"
5525   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5526       = c,a/b,b/c, \
5527     && eval 'test $(( 1 + 1 )) -eq 2 \
5528     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5529   && xsi_shell=yes
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5531 $as_echo "$xsi_shell" >&6; }
5532
5533
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5535 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5536 lt_shell_append=no
5537 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5538     >/dev/null 2>&1 \
5539   && lt_shell_append=yes
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5541 $as_echo "$lt_shell_append" >&6; }
5542
5543
5544 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5545   lt_unset=unset
5546 else
5547   lt_unset=false
5548 fi
5549
5550
5551
5552
5553
5554 # test EBCDIC or ASCII
5555 case `echo X|tr X '\101'` in
5556  A) # ASCII based system
5557     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5558   lt_SP2NL='tr \040 \012'
5559   lt_NL2SP='tr \015\012 \040\040'
5560   ;;
5561  *) # EBCDIC based system
5562   lt_SP2NL='tr \100 \n'
5563   lt_NL2SP='tr \r\n \100\100'
5564   ;;
5565 esac
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5576 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5577 if ${lt_cv_to_host_file_cmd+:} false; then :
5578   $as_echo_n "(cached) " >&6
5579 else
5580   case $host in
5581   *-*-mingw* )
5582     case $build in
5583       *-*-mingw* ) # actually msys
5584         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5585         ;;
5586       *-*-cygwin* )
5587         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5588         ;;
5589       * ) # otherwise, assume *nix
5590         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5591         ;;
5592     esac
5593     ;;
5594   *-*-cygwin* )
5595     case $build in
5596       *-*-mingw* ) # actually msys
5597         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5598         ;;
5599       *-*-cygwin* )
5600         lt_cv_to_host_file_cmd=func_convert_file_noop
5601         ;;
5602       * ) # otherwise, assume *nix
5603         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5604         ;;
5605     esac
5606     ;;
5607   * ) # unhandled hosts (and "normal" native builds)
5608     lt_cv_to_host_file_cmd=func_convert_file_noop
5609     ;;
5610 esac
5611
5612 fi
5613
5614 to_host_file_cmd=$lt_cv_to_host_file_cmd
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5616 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5617
5618
5619
5620
5621
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5623 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5624 if ${lt_cv_to_tool_file_cmd+:} false; then :
5625   $as_echo_n "(cached) " >&6
5626 else
5627   #assume ordinary cross tools, or native build.
5628 lt_cv_to_tool_file_cmd=func_convert_file_noop
5629 case $host in
5630   *-*-mingw* )
5631     case $build in
5632       *-*-mingw* ) # actually msys
5633         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5634         ;;
5635     esac
5636     ;;
5637 esac
5638
5639 fi
5640
5641 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5643 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5644
5645
5646
5647
5648
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5650 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5651 if ${lt_cv_ld_reload_flag+:} false; then :
5652   $as_echo_n "(cached) " >&6
5653 else
5654   lt_cv_ld_reload_flag='-r'
5655 fi
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5657 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5658 reload_flag=$lt_cv_ld_reload_flag
5659 case $reload_flag in
5660 "" | " "*) ;;
5661 *) reload_flag=" $reload_flag" ;;
5662 esac
5663 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5664 case $host_os in
5665   cygwin* | mingw* | pw32* | cegcc*)
5666     if test "$GCC" != yes; then
5667       reload_cmds=false
5668     fi
5669     ;;
5670   darwin*)
5671     if test "$GCC" = yes; then
5672       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5673     else
5674       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5675     fi
5676     ;;
5677 esac
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687 if test -n "$ac_tool_prefix"; then
5688   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5689 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5691 $as_echo_n "checking for $ac_word... " >&6; }
5692 if ${ac_cv_prog_OBJDUMP+:} false; then :
5693   $as_echo_n "(cached) " >&6
5694 else
5695   if test -n "$OBJDUMP"; then
5696   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5697 else
5698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5699 for as_dir in $PATH
5700 do
5701   IFS=$as_save_IFS
5702   test -z "$as_dir" && as_dir=.
5703     for ac_exec_ext in '' $ac_executable_extensions; do
5704   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5705     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5706     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5707     break 2
5708   fi
5709 done
5710   done
5711 IFS=$as_save_IFS
5712
5713 fi
5714 fi
5715 OBJDUMP=$ac_cv_prog_OBJDUMP
5716 if test -n "$OBJDUMP"; then
5717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5718 $as_echo "$OBJDUMP" >&6; }
5719 else
5720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5721 $as_echo "no" >&6; }
5722 fi
5723
5724
5725 fi
5726 if test -z "$ac_cv_prog_OBJDUMP"; then
5727   ac_ct_OBJDUMP=$OBJDUMP
5728   # Extract the first word of "objdump", so it can be a program name with args.
5729 set dummy objdump; ac_word=$2
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5731 $as_echo_n "checking for $ac_word... " >&6; }
5732 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5733   $as_echo_n "(cached) " >&6
5734 else
5735   if test -n "$ac_ct_OBJDUMP"; then
5736   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5737 else
5738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5739 for as_dir in $PATH
5740 do
5741   IFS=$as_save_IFS
5742   test -z "$as_dir" && as_dir=.
5743     for ac_exec_ext in '' $ac_executable_extensions; do
5744   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5745     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5746     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5747     break 2
5748   fi
5749 done
5750   done
5751 IFS=$as_save_IFS
5752
5753 fi
5754 fi
5755 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5756 if test -n "$ac_ct_OBJDUMP"; then
5757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5758 $as_echo "$ac_ct_OBJDUMP" >&6; }
5759 else
5760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5761 $as_echo "no" >&6; }
5762 fi
5763
5764   if test "x$ac_ct_OBJDUMP" = x; then
5765     OBJDUMP="false"
5766   else
5767     case $cross_compiling:$ac_tool_warned in
5768 yes:)
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5770 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5771 ac_tool_warned=yes ;;
5772 esac
5773     OBJDUMP=$ac_ct_OBJDUMP
5774   fi
5775 else
5776   OBJDUMP="$ac_cv_prog_OBJDUMP"
5777 fi
5778
5779 test -z "$OBJDUMP" && OBJDUMP=objdump
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5790 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5791 if ${lt_cv_deplibs_check_method+:} false; then :
5792   $as_echo_n "(cached) " >&6
5793 else
5794   lt_cv_file_magic_cmd='$MAGIC_CMD'
5795 lt_cv_file_magic_test_file=
5796 lt_cv_deplibs_check_method='unknown'
5797 # Need to set the preceding variable on all platforms that support
5798 # interlibrary dependencies.
5799 # 'none' -- dependencies not supported.
5800 # `unknown' -- same as none, but documents that we really don't know.
5801 # 'pass_all' -- all dependencies passed with no checks.
5802 # 'test_compile' -- check by making test program.
5803 # 'file_magic [[regex]]' -- check by looking for files in library path
5804 # which responds to the $file_magic_cmd with a given extended regex.
5805 # If you have `file' or equivalent on your system and you're not sure
5806 # whether `pass_all' will *always* work, you probably want this one.
5807
5808 case $host_os in
5809 aix[4-9]*)
5810   lt_cv_deplibs_check_method=pass_all
5811   ;;
5812
5813 beos*)
5814   lt_cv_deplibs_check_method=pass_all
5815   ;;
5816
5817 bsdi[45]*)
5818   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5819   lt_cv_file_magic_cmd='/usr/bin/file -L'
5820   lt_cv_file_magic_test_file=/shlib/libc.so
5821   ;;
5822
5823 cygwin*)
5824   # func_win32_libid is a shell function defined in ltmain.sh
5825   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5826   lt_cv_file_magic_cmd='func_win32_libid'
5827   ;;
5828
5829 mingw* | pw32*)
5830   # Base MSYS/MinGW do not provide the 'file' command needed by
5831   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5832   # unless we find 'file', for example because we are cross-compiling.
5833   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5834   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5835     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5836     lt_cv_file_magic_cmd='func_win32_libid'
5837   else
5838     # Keep this pattern in sync with the one in func_win32_libid.
5839     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5840     lt_cv_file_magic_cmd='$OBJDUMP -f'
5841   fi
5842   ;;
5843
5844 cegcc*)
5845   # use the weaker test based on 'objdump'. See mingw*.
5846   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5847   lt_cv_file_magic_cmd='$OBJDUMP -f'
5848   ;;
5849
5850 darwin* | rhapsody*)
5851   lt_cv_deplibs_check_method=pass_all
5852   ;;
5853
5854 freebsd* | dragonfly*)
5855   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5856     case $host_cpu in
5857     i*86 )
5858       # Not sure whether the presence of OpenBSD here was a mistake.
5859       # Let's accept both of them until this is cleared up.
5860       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5861       lt_cv_file_magic_cmd=/usr/bin/file
5862       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5863       ;;
5864     esac
5865   else
5866     lt_cv_deplibs_check_method=pass_all
5867   fi
5868   ;;
5869
5870 gnu*)
5871   lt_cv_deplibs_check_method=pass_all
5872   ;;
5873
5874 haiku*)
5875   lt_cv_deplibs_check_method=pass_all
5876   ;;
5877
5878 hpux10.20* | hpux11*)
5879   lt_cv_file_magic_cmd=/usr/bin/file
5880   case $host_cpu in
5881   ia64*)
5882     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5883     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5884     ;;
5885   hppa*64*)
5886     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]'
5887     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5888     ;;
5889   *)
5890     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5891     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5892     ;;
5893   esac
5894   ;;
5895
5896 interix[3-9]*)
5897   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5898   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5899   ;;
5900
5901 irix5* | irix6* | nonstopux*)
5902   case $LD in
5903   *-32|*"-32 ") libmagic=32-bit;;
5904   *-n32|*"-n32 ") libmagic=N32;;
5905   *-64|*"-64 ") libmagic=64-bit;;
5906   *) libmagic=never-match;;
5907   esac
5908   lt_cv_deplibs_check_method=pass_all
5909   ;;
5910
5911 # This must be Linux ELF.
5912 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5913   lt_cv_deplibs_check_method=pass_all
5914   ;;
5915
5916 netbsd*)
5917   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5918     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5919   else
5920     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5921   fi
5922   ;;
5923
5924 newos6*)
5925   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5926   lt_cv_file_magic_cmd=/usr/bin/file
5927   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5928   ;;
5929
5930 *nto* | *qnx*)
5931   lt_cv_deplibs_check_method=pass_all
5932   ;;
5933
5934 openbsd*)
5935   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5936     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5937   else
5938     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5939   fi
5940   ;;
5941
5942 osf3* | osf4* | osf5*)
5943   lt_cv_deplibs_check_method=pass_all
5944   ;;
5945
5946 rdos*)
5947   lt_cv_deplibs_check_method=pass_all
5948   ;;
5949
5950 solaris*)
5951   lt_cv_deplibs_check_method=pass_all
5952   ;;
5953
5954 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5955   lt_cv_deplibs_check_method=pass_all
5956   ;;
5957
5958 sysv4 | sysv4.3*)
5959   case $host_vendor in
5960   motorola)
5961     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]'
5962     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5963     ;;
5964   ncr)
5965     lt_cv_deplibs_check_method=pass_all
5966     ;;
5967   sequent)
5968     lt_cv_file_magic_cmd='/bin/file'
5969     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5970     ;;
5971   sni)
5972     lt_cv_file_magic_cmd='/bin/file'
5973     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5974     lt_cv_file_magic_test_file=/lib/libc.so
5975     ;;
5976   siemens)
5977     lt_cv_deplibs_check_method=pass_all
5978     ;;
5979   pc)
5980     lt_cv_deplibs_check_method=pass_all
5981     ;;
5982   esac
5983   ;;
5984
5985 tpf*)
5986   lt_cv_deplibs_check_method=pass_all
5987   ;;
5988 esac
5989
5990 fi
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5992 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5993
5994 file_magic_glob=
5995 want_nocaseglob=no
5996 if test "$build" = "$host"; then
5997   case $host_os in
5998   mingw* | pw32*)
5999     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6000       want_nocaseglob=yes
6001     else
6002       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6003     fi
6004     ;;
6005   esac
6006 fi
6007
6008 file_magic_cmd=$lt_cv_file_magic_cmd
6009 deplibs_check_method=$lt_cv_deplibs_check_method
6010 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033 if test -n "$ac_tool_prefix"; then
6034   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6035 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6037 $as_echo_n "checking for $ac_word... " >&6; }
6038 if ${ac_cv_prog_DLLTOOL+:} false; then :
6039   $as_echo_n "(cached) " >&6
6040 else
6041   if test -n "$DLLTOOL"; then
6042   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6043 else
6044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6045 for as_dir in $PATH
6046 do
6047   IFS=$as_save_IFS
6048   test -z "$as_dir" && as_dir=.
6049     for ac_exec_ext in '' $ac_executable_extensions; do
6050   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6051     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6052     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6053     break 2
6054   fi
6055 done
6056   done
6057 IFS=$as_save_IFS
6058
6059 fi
6060 fi
6061 DLLTOOL=$ac_cv_prog_DLLTOOL
6062 if test -n "$DLLTOOL"; then
6063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6064 $as_echo "$DLLTOOL" >&6; }
6065 else
6066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6067 $as_echo "no" >&6; }
6068 fi
6069
6070
6071 fi
6072 if test -z "$ac_cv_prog_DLLTOOL"; then
6073   ac_ct_DLLTOOL=$DLLTOOL
6074   # Extract the first word of "dlltool", so it can be a program name with args.
6075 set dummy dlltool; ac_word=$2
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6077 $as_echo_n "checking for $ac_word... " >&6; }
6078 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6079   $as_echo_n "(cached) " >&6
6080 else
6081   if test -n "$ac_ct_DLLTOOL"; then
6082   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6083 else
6084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6085 for as_dir in $PATH
6086 do
6087   IFS=$as_save_IFS
6088   test -z "$as_dir" && as_dir=.
6089     for ac_exec_ext in '' $ac_executable_extensions; do
6090   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6091     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6092     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6093     break 2
6094   fi
6095 done
6096   done
6097 IFS=$as_save_IFS
6098
6099 fi
6100 fi
6101 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6102 if test -n "$ac_ct_DLLTOOL"; then
6103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6104 $as_echo "$ac_ct_DLLTOOL" >&6; }
6105 else
6106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6107 $as_echo "no" >&6; }
6108 fi
6109
6110   if test "x$ac_ct_DLLTOOL" = x; then
6111     DLLTOOL="false"
6112   else
6113     case $cross_compiling:$ac_tool_warned in
6114 yes:)
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6116 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6117 ac_tool_warned=yes ;;
6118 esac
6119     DLLTOOL=$ac_ct_DLLTOOL
6120   fi
6121 else
6122   DLLTOOL="$ac_cv_prog_DLLTOOL"
6123 fi
6124
6125 test -z "$DLLTOOL" && DLLTOOL=dlltool
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6137 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6138 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6139   $as_echo_n "(cached) " >&6
6140 else
6141   lt_cv_sharedlib_from_linklib_cmd='unknown'
6142
6143 case $host_os in
6144 cygwin* | mingw* | pw32* | cegcc*)
6145   # two different shell functions defined in ltmain.sh
6146   # decide which to use based on capabilities of $DLLTOOL
6147   case `$DLLTOOL --help 2>&1` in
6148   *--identify-strict*)
6149     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6150     ;;
6151   *)
6152     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6153     ;;
6154   esac
6155   ;;
6156 *)
6157   # fallback: assume linklib IS sharedlib
6158   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6159   ;;
6160 esac
6161
6162 fi
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6164 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6165 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6166 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6167
6168
6169
6170
6171
6172
6173
6174 if test -n "$ac_tool_prefix"; then
6175   for ac_prog in ar
6176   do
6177     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6178 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6180 $as_echo_n "checking for $ac_word... " >&6; }
6181 if ${ac_cv_prog_AR+:} false; then :
6182   $as_echo_n "(cached) " >&6
6183 else
6184   if test -n "$AR"; then
6185   ac_cv_prog_AR="$AR" # Let the user override the test.
6186 else
6187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6188 for as_dir in $PATH
6189 do
6190   IFS=$as_save_IFS
6191   test -z "$as_dir" && as_dir=.
6192     for ac_exec_ext in '' $ac_executable_extensions; do
6193   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6194     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6195     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6196     break 2
6197   fi
6198 done
6199   done
6200 IFS=$as_save_IFS
6201
6202 fi
6203 fi
6204 AR=$ac_cv_prog_AR
6205 if test -n "$AR"; then
6206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6207 $as_echo "$AR" >&6; }
6208 else
6209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6210 $as_echo "no" >&6; }
6211 fi
6212
6213
6214     test -n "$AR" && break
6215   done
6216 fi
6217 if test -z "$AR"; then
6218   ac_ct_AR=$AR
6219   for ac_prog in ar
6220 do
6221   # Extract the first word of "$ac_prog", so it can be a program name with args.
6222 set dummy $ac_prog; ac_word=$2
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6224 $as_echo_n "checking for $ac_word... " >&6; }
6225 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6226   $as_echo_n "(cached) " >&6
6227 else
6228   if test -n "$ac_ct_AR"; then
6229   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6230 else
6231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6232 for as_dir in $PATH
6233 do
6234   IFS=$as_save_IFS
6235   test -z "$as_dir" && as_dir=.
6236     for ac_exec_ext in '' $ac_executable_extensions; do
6237   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6238     ac_cv_prog_ac_ct_AR="$ac_prog"
6239     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6240     break 2
6241   fi
6242 done
6243   done
6244 IFS=$as_save_IFS
6245
6246 fi
6247 fi
6248 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6249 if test -n "$ac_ct_AR"; then
6250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6251 $as_echo "$ac_ct_AR" >&6; }
6252 else
6253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6254 $as_echo "no" >&6; }
6255 fi
6256
6257
6258   test -n "$ac_ct_AR" && break
6259 done
6260
6261   if test "x$ac_ct_AR" = x; then
6262     AR="false"
6263   else
6264     case $cross_compiling:$ac_tool_warned in
6265 yes:)
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6267 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6268 ac_tool_warned=yes ;;
6269 esac
6270     AR=$ac_ct_AR
6271   fi
6272 fi
6273
6274 : ${AR=ar}
6275 : ${AR_FLAGS=cru}
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6288 $as_echo_n "checking for archiver @FILE support... " >&6; }
6289 if ${lt_cv_ar_at_file+:} false; then :
6290   $as_echo_n "(cached) " >&6
6291 else
6292   lt_cv_ar_at_file=no
6293    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6294 /* end confdefs.h.  */
6295
6296 int
6297 main ()
6298 {
6299
6300   ;
6301   return 0;
6302 }
6303 _ACEOF
6304 if ac_fn_c_try_compile "$LINENO"; then :
6305   echo conftest.$ac_objext > conftest.lst
6306       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6307       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6308   (eval $lt_ar_try) 2>&5
6309   ac_status=$?
6310   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6311   test $ac_status = 0; }
6312       if test "$ac_status" -eq 0; then
6313         # Ensure the archiver fails upon bogus file names.
6314         rm -f conftest.$ac_objext libconftest.a
6315         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6316   (eval $lt_ar_try) 2>&5
6317   ac_status=$?
6318   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6319   test $ac_status = 0; }
6320         if test "$ac_status" -ne 0; then
6321           lt_cv_ar_at_file=@
6322         fi
6323       fi
6324       rm -f conftest.* libconftest.a
6325
6326 fi
6327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6328
6329 fi
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6331 $as_echo "$lt_cv_ar_at_file" >&6; }
6332
6333 if test "x$lt_cv_ar_at_file" = xno; then
6334   archiver_list_spec=
6335 else
6336   archiver_list_spec=$lt_cv_ar_at_file
6337 fi
6338
6339
6340
6341
6342
6343
6344
6345 if test -n "$ac_tool_prefix"; then
6346   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6347 set dummy ${ac_tool_prefix}strip; ac_word=$2
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6349 $as_echo_n "checking for $ac_word... " >&6; }
6350 if ${ac_cv_prog_STRIP+:} false; then :
6351   $as_echo_n "(cached) " >&6
6352 else
6353   if test -n "$STRIP"; then
6354   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6355 else
6356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6357 for as_dir in $PATH
6358 do
6359   IFS=$as_save_IFS
6360   test -z "$as_dir" && as_dir=.
6361     for ac_exec_ext in '' $ac_executable_extensions; do
6362   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6363     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6364     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6365     break 2
6366   fi
6367 done
6368   done
6369 IFS=$as_save_IFS
6370
6371 fi
6372 fi
6373 STRIP=$ac_cv_prog_STRIP
6374 if test -n "$STRIP"; then
6375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6376 $as_echo "$STRIP" >&6; }
6377 else
6378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6379 $as_echo "no" >&6; }
6380 fi
6381
6382
6383 fi
6384 if test -z "$ac_cv_prog_STRIP"; then
6385   ac_ct_STRIP=$STRIP
6386   # Extract the first word of "strip", so it can be a program name with args.
6387 set dummy strip; ac_word=$2
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6389 $as_echo_n "checking for $ac_word... " >&6; }
6390 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6391   $as_echo_n "(cached) " >&6
6392 else
6393   if test -n "$ac_ct_STRIP"; then
6394   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6395 else
6396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6397 for as_dir in $PATH
6398 do
6399   IFS=$as_save_IFS
6400   test -z "$as_dir" && as_dir=.
6401     for ac_exec_ext in '' $ac_executable_extensions; do
6402   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6403     ac_cv_prog_ac_ct_STRIP="strip"
6404     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6405     break 2
6406   fi
6407 done
6408   done
6409 IFS=$as_save_IFS
6410
6411 fi
6412 fi
6413 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6414 if test -n "$ac_ct_STRIP"; then
6415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6416 $as_echo "$ac_ct_STRIP" >&6; }
6417 else
6418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6419 $as_echo "no" >&6; }
6420 fi
6421
6422   if test "x$ac_ct_STRIP" = x; then
6423     STRIP=":"
6424   else
6425     case $cross_compiling:$ac_tool_warned in
6426 yes:)
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6428 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6429 ac_tool_warned=yes ;;
6430 esac
6431     STRIP=$ac_ct_STRIP
6432   fi
6433 else
6434   STRIP="$ac_cv_prog_STRIP"
6435 fi
6436
6437 test -z "$STRIP" && STRIP=:
6438
6439
6440
6441
6442
6443
6444 if test -n "$ac_tool_prefix"; then
6445   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6446 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6448 $as_echo_n "checking for $ac_word... " >&6; }
6449 if ${ac_cv_prog_RANLIB+:} false; then :
6450   $as_echo_n "(cached) " >&6
6451 else
6452   if test -n "$RANLIB"; then
6453   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6454 else
6455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6456 for as_dir in $PATH
6457 do
6458   IFS=$as_save_IFS
6459   test -z "$as_dir" && as_dir=.
6460     for ac_exec_ext in '' $ac_executable_extensions; do
6461   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6462     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6463     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6464     break 2
6465   fi
6466 done
6467   done
6468 IFS=$as_save_IFS
6469
6470 fi
6471 fi
6472 RANLIB=$ac_cv_prog_RANLIB
6473 if test -n "$RANLIB"; then
6474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6475 $as_echo "$RANLIB" >&6; }
6476 else
6477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6478 $as_echo "no" >&6; }
6479 fi
6480
6481
6482 fi
6483 if test -z "$ac_cv_prog_RANLIB"; then
6484   ac_ct_RANLIB=$RANLIB
6485   # Extract the first word of "ranlib", so it can be a program name with args.
6486 set dummy ranlib; ac_word=$2
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6488 $as_echo_n "checking for $ac_word... " >&6; }
6489 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6490   $as_echo_n "(cached) " >&6
6491 else
6492   if test -n "$ac_ct_RANLIB"; then
6493   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6494 else
6495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6496 for as_dir in $PATH
6497 do
6498   IFS=$as_save_IFS
6499   test -z "$as_dir" && as_dir=.
6500     for ac_exec_ext in '' $ac_executable_extensions; do
6501   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6502     ac_cv_prog_ac_ct_RANLIB="ranlib"
6503     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6504     break 2
6505   fi
6506 done
6507   done
6508 IFS=$as_save_IFS
6509
6510 fi
6511 fi
6512 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6513 if test -n "$ac_ct_RANLIB"; then
6514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6515 $as_echo "$ac_ct_RANLIB" >&6; }
6516 else
6517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6518 $as_echo "no" >&6; }
6519 fi
6520
6521   if test "x$ac_ct_RANLIB" = x; then
6522     RANLIB=":"
6523   else
6524     case $cross_compiling:$ac_tool_warned in
6525 yes:)
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6527 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6528 ac_tool_warned=yes ;;
6529 esac
6530     RANLIB=$ac_ct_RANLIB
6531   fi
6532 else
6533   RANLIB="$ac_cv_prog_RANLIB"
6534 fi
6535
6536 test -z "$RANLIB" && RANLIB=:
6537
6538
6539
6540
6541
6542
6543 # Determine commands to create old-style static archives.
6544 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6545 old_postinstall_cmds='chmod 644 $oldlib'
6546 old_postuninstall_cmds=
6547
6548 if test -n "$RANLIB"; then
6549   case $host_os in
6550   openbsd*)
6551     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6552     ;;
6553   *)
6554     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6555     ;;
6556   esac
6557   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6558 fi
6559
6560 case $host_os in
6561   darwin*)
6562     lock_old_archive_extraction=yes ;;
6563   *)
6564     lock_old_archive_extraction=no ;;
6565 esac
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605 # If no C compiler was specified, use CC.
6606 LTCC=${LTCC-"$CC"}
6607
6608 # If no C compiler flags were specified, use CFLAGS.
6609 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6610
6611 # Allow CC to be a program name with arguments.
6612 compiler=$CC
6613
6614
6615 # Check for command to grab the raw symbol name followed by C symbol from nm.
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6617 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6618 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6619   $as_echo_n "(cached) " >&6
6620 else
6621
6622 # These are sane defaults that work on at least a few old systems.
6623 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6624
6625 # Character class describing NM global symbol codes.
6626 symcode='[BCDEGRST]'
6627
6628 # Regexp to match symbols that can be accessed directly from C.
6629 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6630
6631 # Define system-specific variables.
6632 case $host_os in
6633 aix*)
6634   symcode='[BCDT]'
6635   ;;
6636 cygwin* | mingw* | pw32* | cegcc*)
6637   symcode='[ABCDGISTW]'
6638   ;;
6639 hpux*)
6640   if test "$host_cpu" = ia64; then
6641     symcode='[ABCDEGRST]'
6642   fi
6643   ;;
6644 irix* | nonstopux*)
6645   symcode='[BCDEGRST]'
6646   ;;
6647 osf*)
6648   symcode='[BCDEGQRST]'
6649   ;;
6650 solaris*)
6651   symcode='[BDRT]'
6652   ;;
6653 sco3.2v5*)
6654   symcode='[DT]'
6655   ;;
6656 sysv4.2uw2*)
6657   symcode='[DT]'
6658   ;;
6659 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6660   symcode='[ABDT]'
6661   ;;
6662 sysv4)
6663   symcode='[DFNSTU]'
6664   ;;
6665 esac
6666
6667 # If we're using GNU nm, then use its standard symbol codes.
6668 case `$NM -V 2>&1` in
6669 *GNU* | *'with BFD'*)
6670   symcode='[ABCDGIRSTW]' ;;
6671 esac
6672
6673 # Transform an extracted symbol line into a proper C declaration.
6674 # Some systems (esp. on ia64) link data and code symbols differently,
6675 # so use this general approach.
6676 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6677
6678 # Transform an extracted symbol line into symbol name and symbol address
6679 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6680 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'"
6681
6682 # Handle CRLF in mingw tool chain
6683 opt_cr=
6684 case $build_os in
6685 mingw*)
6686   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6687   ;;
6688 esac
6689
6690 # Try without a prefix underscore, then with it.
6691 for ac_symprfx in "" "_"; do
6692
6693   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6694   symxfrm="\\1 $ac_symprfx\\2 \\2"
6695
6696   # Write the raw and C identifiers.
6697   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6698     # Fake it for dumpbin and say T for any non-static function
6699     # and D for any global variable.
6700     # Also find C++ and __fastcall symbols from MSVC++,
6701     # which start with @ or ?.
6702     lt_cv_sys_global_symbol_pipe="$AWK '"\
6703 "     {last_section=section; section=\$ 3};"\
6704 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6705 "     \$ 0!~/External *\|/{next};"\
6706 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6707 "     {if(hide[section]) next};"\
6708 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6709 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6710 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6711 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6712 "     ' prfx=^$ac_symprfx"
6713   else
6714     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6715   fi
6716   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6717
6718   # Check to see that the pipe works correctly.
6719   pipe_works=no
6720
6721   rm -f conftest*
6722   cat > conftest.$ac_ext <<_LT_EOF
6723 #ifdef __cplusplus
6724 extern "C" {
6725 #endif
6726 char nm_test_var;
6727 void nm_test_func(void);
6728 void nm_test_func(void){}
6729 #ifdef __cplusplus
6730 }
6731 #endif
6732 int main(){nm_test_var='a';nm_test_func();return(0);}
6733 _LT_EOF
6734
6735   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6736   (eval $ac_compile) 2>&5
6737   ac_status=$?
6738   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6739   test $ac_status = 0; }; then
6740     # Now try to grab the symbols.
6741     nlist=conftest.nm
6742     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6743   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6744   ac_status=$?
6745   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6746   test $ac_status = 0; } && test -s "$nlist"; then
6747       # Try sorting and uniquifying the output.
6748       if sort "$nlist" | uniq > "$nlist"T; then
6749         mv -f "$nlist"T "$nlist"
6750       else
6751         rm -f "$nlist"T
6752       fi
6753
6754       # Make sure that we snagged all the symbols we need.
6755       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6756         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6757           cat <<_LT_EOF > conftest.$ac_ext
6758 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6759 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6760 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6761    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6762 # define LT_DLSYM_CONST
6763 #elif defined(__osf__)
6764 /* This system does not cope well with relocations in const data.  */
6765 # define LT_DLSYM_CONST
6766 #else
6767 # define LT_DLSYM_CONST const
6768 #endif
6769
6770 #ifdef __cplusplus
6771 extern "C" {
6772 #endif
6773
6774 _LT_EOF
6775           # Now generate the symbol file.
6776           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6777
6778           cat <<_LT_EOF >> conftest.$ac_ext
6779
6780 /* The mapping between symbol names and symbols.  */
6781 LT_DLSYM_CONST struct {
6782   const char *name;
6783   void       *address;
6784 }
6785 lt__PROGRAM__LTX_preloaded_symbols[] =
6786 {
6787   { "@PROGRAM@", (void *) 0 },
6788 _LT_EOF
6789           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6790           cat <<\_LT_EOF >> conftest.$ac_ext
6791   {0, (void *) 0}
6792 };
6793
6794 /* This works around a problem in FreeBSD linker */
6795 #ifdef FREEBSD_WORKAROUND
6796 static const void *lt_preloaded_setup() {
6797   return lt__PROGRAM__LTX_preloaded_symbols;
6798 }
6799 #endif
6800
6801 #ifdef __cplusplus
6802 }
6803 #endif
6804 _LT_EOF
6805           # Now try linking the two files.
6806           mv conftest.$ac_objext conftstm.$ac_objext
6807           lt_globsym_save_LIBS=$LIBS
6808           lt_globsym_save_CFLAGS=$CFLAGS
6809           LIBS="conftstm.$ac_objext"
6810           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6811           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6812   (eval $ac_link) 2>&5
6813   ac_status=$?
6814   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6815   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6816             pipe_works=yes
6817           fi
6818           LIBS=$lt_globsym_save_LIBS
6819           CFLAGS=$lt_globsym_save_CFLAGS
6820         else
6821           echo "cannot find nm_test_func in $nlist" >&5
6822         fi
6823       else
6824         echo "cannot find nm_test_var in $nlist" >&5
6825       fi
6826     else
6827       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6828     fi
6829   else
6830     echo "$progname: failed program was:" >&5
6831     cat conftest.$ac_ext >&5
6832   fi
6833   rm -rf conftest* conftst*
6834
6835   # Do not use the global_symbol_pipe unless it works.
6836   if test "$pipe_works" = yes; then
6837     break
6838   else
6839     lt_cv_sys_global_symbol_pipe=
6840   fi
6841 done
6842
6843 fi
6844
6845 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6846   lt_cv_sys_global_symbol_to_cdecl=
6847 fi
6848 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6850 $as_echo "failed" >&6; }
6851 else
6852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6853 $as_echo "ok" >&6; }
6854 fi
6855
6856 # Response file support.
6857 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6858   nm_file_list_spec='@'
6859 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6860   nm_file_list_spec='@'
6861 fi
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6890 $as_echo_n "checking for sysroot... " >&6; }
6891
6892 # Check whether --with-sysroot was given.
6893 if test "${with_sysroot+set}" = set; then :
6894   withval=$with_sysroot;
6895 else
6896   with_sysroot=no
6897 fi
6898
6899
6900 lt_sysroot=
6901 case ${with_sysroot} in #(
6902  yes)
6903    if test "$GCC" = yes; then
6904      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6905    fi
6906    ;; #(
6907  /*)
6908    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6909    ;; #(
6910  no|'')
6911    ;; #(
6912  *)
6913    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6914 $as_echo "${with_sysroot}" >&6; }
6915    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6916    ;;
6917 esac
6918
6919  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6920 $as_echo "${lt_sysroot:-no}" >&6; }
6921
6922
6923
6924
6925
6926 # Check whether --enable-libtool-lock was given.
6927 if test "${enable_libtool_lock+set}" = set; then :
6928   enableval=$enable_libtool_lock;
6929 fi
6930
6931 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6932
6933 # Some flags need to be propagated to the compiler or linker for good
6934 # libtool support.
6935 case $host in
6936 ia64-*-hpux*)
6937   # Find out which ABI we are using.
6938   echo 'int i;' > conftest.$ac_ext
6939   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6940   (eval $ac_compile) 2>&5
6941   ac_status=$?
6942   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6943   test $ac_status = 0; }; then
6944     case `/usr/bin/file conftest.$ac_objext` in
6945       *ELF-32*)
6946         HPUX_IA64_MODE="32"
6947         ;;
6948       *ELF-64*)
6949         HPUX_IA64_MODE="64"
6950         ;;
6951     esac
6952   fi
6953   rm -rf conftest*
6954   ;;
6955 *-*-irix6*)
6956   # Find out which ABI we are using.
6957   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6958   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6959   (eval $ac_compile) 2>&5
6960   ac_status=$?
6961   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6962   test $ac_status = 0; }; then
6963     if test "$lt_cv_prog_gnu_ld" = yes; then
6964       case `/usr/bin/file conftest.$ac_objext` in
6965         *32-bit*)
6966           LD="${LD-ld} -melf32bsmip"
6967           ;;
6968         *N32*)
6969           LD="${LD-ld} -melf32bmipn32"
6970           ;;
6971         *64-bit*)
6972           LD="${LD-ld} -melf64bmip"
6973         ;;
6974       esac
6975     else
6976       case `/usr/bin/file conftest.$ac_objext` in
6977         *32-bit*)
6978           LD="${LD-ld} -32"
6979           ;;
6980         *N32*)
6981           LD="${LD-ld} -n32"
6982           ;;
6983         *64-bit*)
6984           LD="${LD-ld} -64"
6985           ;;
6986       esac
6987     fi
6988   fi
6989   rm -rf conftest*
6990   ;;
6991
6992 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6993 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6994   # Find out which ABI we are using.
6995   echo 'int i;' > conftest.$ac_ext
6996   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6997   (eval $ac_compile) 2>&5
6998   ac_status=$?
6999   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7000   test $ac_status = 0; }; then
7001     case `/usr/bin/file conftest.o` in
7002       *32-bit*)
7003         case $host in
7004           x86_64-*kfreebsd*-gnu)
7005             LD="${LD-ld} -m elf_i386_fbsd"
7006             ;;
7007           x86_64-*linux*)
7008             LD="${LD-ld} -m elf_i386"
7009             ;;
7010           ppc64-*linux*|powerpc64-*linux*)
7011             LD="${LD-ld} -m elf32ppclinux"
7012             ;;
7013           s390x-*linux*)
7014             LD="${LD-ld} -m elf_s390"
7015             ;;
7016           sparc64-*linux*)
7017             LD="${LD-ld} -m elf32_sparc"
7018             ;;
7019         esac
7020         ;;
7021       *64-bit*)
7022         case $host in
7023           x86_64-*kfreebsd*-gnu)
7024             LD="${LD-ld} -m elf_x86_64_fbsd"
7025             ;;
7026           x86_64-*linux*)
7027             LD="${LD-ld} -m elf_x86_64"
7028             ;;
7029           ppc*-*linux*|powerpc*-*linux*)
7030             LD="${LD-ld} -m elf64ppc"
7031             ;;
7032           s390*-*linux*|s390*-*tpf*)
7033             LD="${LD-ld} -m elf64_s390"
7034             ;;
7035           sparc*-*linux*)
7036             LD="${LD-ld} -m elf64_sparc"
7037             ;;
7038         esac
7039         ;;
7040     esac
7041   fi
7042   rm -rf conftest*
7043   ;;
7044
7045 *-*-sco3.2v5*)
7046   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7047   SAVE_CFLAGS="$CFLAGS"
7048   CFLAGS="$CFLAGS -belf"
7049   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7050 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7051 if ${lt_cv_cc_needs_belf+:} false; then :
7052   $as_echo_n "(cached) " >&6
7053 else
7054   ac_ext=c
7055 ac_cpp='$CPP $CPPFLAGS'
7056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7059
7060      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7061 /* end confdefs.h.  */
7062
7063 int
7064 main ()
7065 {
7066
7067   ;
7068   return 0;
7069 }
7070 _ACEOF
7071 if ac_fn_c_try_link "$LINENO"; then :
7072   lt_cv_cc_needs_belf=yes
7073 else
7074   lt_cv_cc_needs_belf=no
7075 fi
7076 rm -f core conftest.err conftest.$ac_objext \
7077     conftest$ac_exeext conftest.$ac_ext
7078      ac_ext=c
7079 ac_cpp='$CPP $CPPFLAGS'
7080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7083
7084 fi
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7086 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7087   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7088     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7089     CFLAGS="$SAVE_CFLAGS"
7090   fi
7091   ;;
7092 sparc*-*solaris*)
7093   # Find out which ABI we are using.
7094   echo 'int i;' > conftest.$ac_ext
7095   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7096   (eval $ac_compile) 2>&5
7097   ac_status=$?
7098   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7099   test $ac_status = 0; }; then
7100     case `/usr/bin/file conftest.o` in
7101     *64-bit*)
7102       case $lt_cv_prog_gnu_ld in
7103       yes*) LD="${LD-ld} -m elf64_sparc" ;;
7104       *)
7105         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7106           LD="${LD-ld} -64"
7107         fi
7108         ;;
7109       esac
7110       ;;
7111     esac
7112   fi
7113   rm -rf conftest*
7114   ;;
7115 esac
7116
7117 need_locks="$enable_libtool_lock"
7118
7119 if test -n "$ac_tool_prefix"; then
7120   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7121 set dummy ${ac_tool_prefix}mt; ac_word=$2
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7123 $as_echo_n "checking for $ac_word... " >&6; }
7124 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7125   $as_echo_n "(cached) " >&6
7126 else
7127   if test -n "$MANIFEST_TOOL"; then
7128   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7129 else
7130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7131 for as_dir in $PATH
7132 do
7133   IFS=$as_save_IFS
7134   test -z "$as_dir" && as_dir=.
7135     for ac_exec_ext in '' $ac_executable_extensions; do
7136   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7137     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7138     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7139     break 2
7140   fi
7141 done
7142   done
7143 IFS=$as_save_IFS
7144
7145 fi
7146 fi
7147 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7148 if test -n "$MANIFEST_TOOL"; then
7149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7150 $as_echo "$MANIFEST_TOOL" >&6; }
7151 else
7152   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7153 $as_echo "no" >&6; }
7154 fi
7155
7156
7157 fi
7158 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7159   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7160   # Extract the first word of "mt", so it can be a program name with args.
7161 set dummy mt; ac_word=$2
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7163 $as_echo_n "checking for $ac_word... " >&6; }
7164 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7165   $as_echo_n "(cached) " >&6
7166 else
7167   if test -n "$ac_ct_MANIFEST_TOOL"; then
7168   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7169 else
7170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7171 for as_dir in $PATH
7172 do
7173   IFS=$as_save_IFS
7174   test -z "$as_dir" && as_dir=.
7175     for ac_exec_ext in '' $ac_executable_extensions; do
7176   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7177     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7178     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7179     break 2
7180   fi
7181 done
7182   done
7183 IFS=$as_save_IFS
7184
7185 fi
7186 fi
7187 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7188 if test -n "$ac_ct_MANIFEST_TOOL"; then
7189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7190 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7191 else
7192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7193 $as_echo "no" >&6; }
7194 fi
7195
7196   if test "x$ac_ct_MANIFEST_TOOL" = x; then
7197     MANIFEST_TOOL=":"
7198   else
7199     case $cross_compiling:$ac_tool_warned in
7200 yes:)
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7202 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7203 ac_tool_warned=yes ;;
7204 esac
7205     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7206   fi
7207 else
7208   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7209 fi
7210
7211 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7213 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7214 if ${lt_cv_path_mainfest_tool+:} false; then :
7215   $as_echo_n "(cached) " >&6
7216 else
7217   lt_cv_path_mainfest_tool=no
7218   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7219   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7220   cat conftest.err >&5
7221   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7222     lt_cv_path_mainfest_tool=yes
7223   fi
7224   rm -f conftest*
7225 fi
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7227 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7228 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7229   MANIFEST_TOOL=:
7230 fi
7231
7232
7233
7234
7235
7236
7237   case $host_os in
7238     rhapsody* | darwin*)
7239     if test -n "$ac_tool_prefix"; then
7240   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7241 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7243 $as_echo_n "checking for $ac_word... " >&6; }
7244 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7245   $as_echo_n "(cached) " >&6
7246 else
7247   if test -n "$DSYMUTIL"; then
7248   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7249 else
7250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7251 for as_dir in $PATH
7252 do
7253   IFS=$as_save_IFS
7254   test -z "$as_dir" && as_dir=.
7255     for ac_exec_ext in '' $ac_executable_extensions; do
7256   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7257     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7258     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7259     break 2
7260   fi
7261 done
7262   done
7263 IFS=$as_save_IFS
7264
7265 fi
7266 fi
7267 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7268 if test -n "$DSYMUTIL"; then
7269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7270 $as_echo "$DSYMUTIL" >&6; }
7271 else
7272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7273 $as_echo "no" >&6; }
7274 fi
7275
7276
7277 fi
7278 if test -z "$ac_cv_prog_DSYMUTIL"; then
7279   ac_ct_DSYMUTIL=$DSYMUTIL
7280   # Extract the first word of "dsymutil", so it can be a program name with args.
7281 set dummy dsymutil; ac_word=$2
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7283 $as_echo_n "checking for $ac_word... " >&6; }
7284 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7285   $as_echo_n "(cached) " >&6
7286 else
7287   if test -n "$ac_ct_DSYMUTIL"; then
7288   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7289 else
7290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7291 for as_dir in $PATH
7292 do
7293   IFS=$as_save_IFS
7294   test -z "$as_dir" && as_dir=.
7295     for ac_exec_ext in '' $ac_executable_extensions; do
7296   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7297     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7298     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7299     break 2
7300   fi
7301 done
7302   done
7303 IFS=$as_save_IFS
7304
7305 fi
7306 fi
7307 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7308 if test -n "$ac_ct_DSYMUTIL"; then
7309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7310 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7311 else
7312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7313 $as_echo "no" >&6; }
7314 fi
7315
7316   if test "x$ac_ct_DSYMUTIL" = x; then
7317     DSYMUTIL=":"
7318   else
7319     case $cross_compiling:$ac_tool_warned in
7320 yes:)
7321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7322 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7323 ac_tool_warned=yes ;;
7324 esac
7325     DSYMUTIL=$ac_ct_DSYMUTIL
7326   fi
7327 else
7328   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7329 fi
7330
7331     if test -n "$ac_tool_prefix"; then
7332   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7333 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7335 $as_echo_n "checking for $ac_word... " >&6; }
7336 if ${ac_cv_prog_NMEDIT+:} false; then :
7337   $as_echo_n "(cached) " >&6
7338 else
7339   if test -n "$NMEDIT"; then
7340   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7341 else
7342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7343 for as_dir in $PATH
7344 do
7345   IFS=$as_save_IFS
7346   test -z "$as_dir" && as_dir=.
7347     for ac_exec_ext in '' $ac_executable_extensions; do
7348   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7349     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7350     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7351     break 2
7352   fi
7353 done
7354   done
7355 IFS=$as_save_IFS
7356
7357 fi
7358 fi
7359 NMEDIT=$ac_cv_prog_NMEDIT
7360 if test -n "$NMEDIT"; then
7361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7362 $as_echo "$NMEDIT" >&6; }
7363 else
7364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7365 $as_echo "no" >&6; }
7366 fi
7367
7368
7369 fi
7370 if test -z "$ac_cv_prog_NMEDIT"; then
7371   ac_ct_NMEDIT=$NMEDIT
7372   # Extract the first word of "nmedit", so it can be a program name with args.
7373 set dummy nmedit; ac_word=$2
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7375 $as_echo_n "checking for $ac_word... " >&6; }
7376 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7377   $as_echo_n "(cached) " >&6
7378 else
7379   if test -n "$ac_ct_NMEDIT"; then
7380   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7381 else
7382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7383 for as_dir in $PATH
7384 do
7385   IFS=$as_save_IFS
7386   test -z "$as_dir" && as_dir=.
7387     for ac_exec_ext in '' $ac_executable_extensions; do
7388   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7389     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7390     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7391     break 2
7392   fi
7393 done
7394   done
7395 IFS=$as_save_IFS
7396
7397 fi
7398 fi
7399 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7400 if test -n "$ac_ct_NMEDIT"; then
7401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7402 $as_echo "$ac_ct_NMEDIT" >&6; }
7403 else
7404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7405 $as_echo "no" >&6; }
7406 fi
7407
7408   if test "x$ac_ct_NMEDIT" = x; then
7409     NMEDIT=":"
7410   else
7411     case $cross_compiling:$ac_tool_warned in
7412 yes:)
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7414 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7415 ac_tool_warned=yes ;;
7416 esac
7417     NMEDIT=$ac_ct_NMEDIT
7418   fi
7419 else
7420   NMEDIT="$ac_cv_prog_NMEDIT"
7421 fi
7422
7423     if test -n "$ac_tool_prefix"; then
7424   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7425 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7427 $as_echo_n "checking for $ac_word... " >&6; }
7428 if ${ac_cv_prog_LIPO+:} false; then :
7429   $as_echo_n "(cached) " >&6
7430 else
7431   if test -n "$LIPO"; then
7432   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7433 else
7434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7435 for as_dir in $PATH
7436 do
7437   IFS=$as_save_IFS
7438   test -z "$as_dir" && as_dir=.
7439     for ac_exec_ext in '' $ac_executable_extensions; do
7440   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7441     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7442     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7443     break 2
7444   fi
7445 done
7446   done
7447 IFS=$as_save_IFS
7448
7449 fi
7450 fi
7451 LIPO=$ac_cv_prog_LIPO
7452 if test -n "$LIPO"; then
7453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7454 $as_echo "$LIPO" >&6; }
7455 else
7456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7457 $as_echo "no" >&6; }
7458 fi
7459
7460
7461 fi
7462 if test -z "$ac_cv_prog_LIPO"; then
7463   ac_ct_LIPO=$LIPO
7464   # Extract the first word of "lipo", so it can be a program name with args.
7465 set dummy lipo; ac_word=$2
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7467 $as_echo_n "checking for $ac_word... " >&6; }
7468 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7469   $as_echo_n "(cached) " >&6
7470 else
7471   if test -n "$ac_ct_LIPO"; then
7472   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7473 else
7474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7475 for as_dir in $PATH
7476 do
7477   IFS=$as_save_IFS
7478   test -z "$as_dir" && as_dir=.
7479     for ac_exec_ext in '' $ac_executable_extensions; do
7480   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7481     ac_cv_prog_ac_ct_LIPO="lipo"
7482     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7483     break 2
7484   fi
7485 done
7486   done
7487 IFS=$as_save_IFS
7488
7489 fi
7490 fi
7491 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7492 if test -n "$ac_ct_LIPO"; then
7493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7494 $as_echo "$ac_ct_LIPO" >&6; }
7495 else
7496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7497 $as_echo "no" >&6; }
7498 fi
7499
7500   if test "x$ac_ct_LIPO" = x; then
7501     LIPO=":"
7502   else
7503     case $cross_compiling:$ac_tool_warned in
7504 yes:)
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7506 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7507 ac_tool_warned=yes ;;
7508 esac
7509     LIPO=$ac_ct_LIPO
7510   fi
7511 else
7512   LIPO="$ac_cv_prog_LIPO"
7513 fi
7514
7515     if test -n "$ac_tool_prefix"; then
7516   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7517 set dummy ${ac_tool_prefix}otool; ac_word=$2
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7519 $as_echo_n "checking for $ac_word... " >&6; }
7520 if ${ac_cv_prog_OTOOL+:} false; then :
7521   $as_echo_n "(cached) " >&6
7522 else
7523   if test -n "$OTOOL"; then
7524   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7525 else
7526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7527 for as_dir in $PATH
7528 do
7529   IFS=$as_save_IFS
7530   test -z "$as_dir" && as_dir=.
7531     for ac_exec_ext in '' $ac_executable_extensions; do
7532   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7533     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7534     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7535     break 2
7536   fi
7537 done
7538   done
7539 IFS=$as_save_IFS
7540
7541 fi
7542 fi
7543 OTOOL=$ac_cv_prog_OTOOL
7544 if test -n "$OTOOL"; then
7545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7546 $as_echo "$OTOOL" >&6; }
7547 else
7548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7549 $as_echo "no" >&6; }
7550 fi
7551
7552
7553 fi
7554 if test -z "$ac_cv_prog_OTOOL"; then
7555   ac_ct_OTOOL=$OTOOL
7556   # Extract the first word of "otool", so it can be a program name with args.
7557 set dummy otool; ac_word=$2
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7559 $as_echo_n "checking for $ac_word... " >&6; }
7560 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7561   $as_echo_n "(cached) " >&6
7562 else
7563   if test -n "$ac_ct_OTOOL"; then
7564   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7565 else
7566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7567 for as_dir in $PATH
7568 do
7569   IFS=$as_save_IFS
7570   test -z "$as_dir" && as_dir=.
7571     for ac_exec_ext in '' $ac_executable_extensions; do
7572   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7573     ac_cv_prog_ac_ct_OTOOL="otool"
7574     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7575     break 2
7576   fi
7577 done
7578   done
7579 IFS=$as_save_IFS
7580
7581 fi
7582 fi
7583 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7584 if test -n "$ac_ct_OTOOL"; then
7585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7586 $as_echo "$ac_ct_OTOOL" >&6; }
7587 else
7588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7589 $as_echo "no" >&6; }
7590 fi
7591
7592   if test "x$ac_ct_OTOOL" = x; then
7593     OTOOL=":"
7594   else
7595     case $cross_compiling:$ac_tool_warned in
7596 yes:)
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7598 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7599 ac_tool_warned=yes ;;
7600 esac
7601     OTOOL=$ac_ct_OTOOL
7602   fi
7603 else
7604   OTOOL="$ac_cv_prog_OTOOL"
7605 fi
7606
7607     if test -n "$ac_tool_prefix"; then
7608   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7609 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7611 $as_echo_n "checking for $ac_word... " >&6; }
7612 if ${ac_cv_prog_OTOOL64+:} false; then :
7613   $as_echo_n "(cached) " >&6
7614 else
7615   if test -n "$OTOOL64"; then
7616   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7617 else
7618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7619 for as_dir in $PATH
7620 do
7621   IFS=$as_save_IFS
7622   test -z "$as_dir" && as_dir=.
7623     for ac_exec_ext in '' $ac_executable_extensions; do
7624   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7625     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7626     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7627     break 2
7628   fi
7629 done
7630   done
7631 IFS=$as_save_IFS
7632
7633 fi
7634 fi
7635 OTOOL64=$ac_cv_prog_OTOOL64
7636 if test -n "$OTOOL64"; then
7637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7638 $as_echo "$OTOOL64" >&6; }
7639 else
7640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7641 $as_echo "no" >&6; }
7642 fi
7643
7644
7645 fi
7646 if test -z "$ac_cv_prog_OTOOL64"; then
7647   ac_ct_OTOOL64=$OTOOL64
7648   # Extract the first word of "otool64", so it can be a program name with args.
7649 set dummy otool64; ac_word=$2
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7651 $as_echo_n "checking for $ac_word... " >&6; }
7652 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7653   $as_echo_n "(cached) " >&6
7654 else
7655   if test -n "$ac_ct_OTOOL64"; then
7656   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7657 else
7658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7659 for as_dir in $PATH
7660 do
7661   IFS=$as_save_IFS
7662   test -z "$as_dir" && as_dir=.
7663     for ac_exec_ext in '' $ac_executable_extensions; do
7664   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7665     ac_cv_prog_ac_ct_OTOOL64="otool64"
7666     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7667     break 2
7668   fi
7669 done
7670   done
7671 IFS=$as_save_IFS
7672
7673 fi
7674 fi
7675 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7676 if test -n "$ac_ct_OTOOL64"; then
7677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7678 $as_echo "$ac_ct_OTOOL64" >&6; }
7679 else
7680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7681 $as_echo "no" >&6; }
7682 fi
7683
7684   if test "x$ac_ct_OTOOL64" = x; then
7685     OTOOL64=":"
7686   else
7687     case $cross_compiling:$ac_tool_warned in
7688 yes:)
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7690 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7691 ac_tool_warned=yes ;;
7692 esac
7693     OTOOL64=$ac_ct_OTOOL64
7694   fi
7695 else
7696   OTOOL64="$ac_cv_prog_OTOOL64"
7697 fi
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7726 $as_echo_n "checking for -single_module linker flag... " >&6; }
7727 if ${lt_cv_apple_cc_single_mod+:} false; then :
7728   $as_echo_n "(cached) " >&6
7729 else
7730   lt_cv_apple_cc_single_mod=no
7731       if test -z "${LT_MULTI_MODULE}"; then
7732         # By default we will add the -single_module flag. You can override
7733         # by either setting the environment variable LT_MULTI_MODULE
7734         # non-empty at configure time, or by adding -multi_module to the
7735         # link flags.
7736         rm -rf libconftest.dylib*
7737         echo "int foo(void){return 1;}" > conftest.c
7738         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7739 -dynamiclib -Wl,-single_module conftest.c" >&5
7740         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7741           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7742         _lt_result=$?
7743         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7744           lt_cv_apple_cc_single_mod=yes
7745         else
7746           cat conftest.err >&5
7747         fi
7748         rm -rf libconftest.dylib*
7749         rm -f conftest.*
7750       fi
7751 fi
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7753 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7754     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7755 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7756 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7757   $as_echo_n "(cached) " >&6
7758 else
7759   lt_cv_ld_exported_symbols_list=no
7760       save_LDFLAGS=$LDFLAGS
7761       echo "_main" > conftest.sym
7762       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7763       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7764 /* end confdefs.h.  */
7765
7766 int
7767 main ()
7768 {
7769
7770   ;
7771   return 0;
7772 }
7773 _ACEOF
7774 if ac_fn_c_try_link "$LINENO"; then :
7775   lt_cv_ld_exported_symbols_list=yes
7776 else
7777   lt_cv_ld_exported_symbols_list=no
7778 fi
7779 rm -f core conftest.err conftest.$ac_objext \
7780     conftest$ac_exeext conftest.$ac_ext
7781         LDFLAGS="$save_LDFLAGS"
7782
7783 fi
7784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7785 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7786     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7787 $as_echo_n "checking for -force_load linker flag... " >&6; }
7788 if ${lt_cv_ld_force_load+:} false; then :
7789   $as_echo_n "(cached) " >&6
7790 else
7791   lt_cv_ld_force_load=no
7792       cat > conftest.c << _LT_EOF
7793 int forced_loaded() { return 2;}
7794 _LT_EOF
7795       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7796       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7797       echo "$AR cru libconftest.a conftest.o" >&5
7798       $AR cru libconftest.a conftest.o 2>&5
7799       echo "$RANLIB libconftest.a" >&5
7800       $RANLIB libconftest.a 2>&5
7801       cat > conftest.c << _LT_EOF
7802 int main() { return 0;}
7803 _LT_EOF
7804       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7805       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7806       _lt_result=$?
7807       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7808         lt_cv_ld_force_load=yes
7809       else
7810         cat conftest.err >&5
7811       fi
7812         rm -f conftest.err libconftest.a conftest conftest.c
7813         rm -rf conftest.dSYM
7814
7815 fi
7816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7817 $as_echo "$lt_cv_ld_force_load" >&6; }
7818     case $host_os in
7819     rhapsody* | darwin1.[012])
7820       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7821     darwin1.*)
7822       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7823     darwin*) # darwin 5.x on
7824       # if running on 10.5 or later, the deployment target defaults
7825       # to the OS version, if on x86, and 10.4, the deployment
7826       # target defaults to 10.4. Don't you love it?
7827       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7828         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7829           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7830         10.[012]*)
7831           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7832         10.*)
7833           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7834       esac
7835     ;;
7836   esac
7837     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7838       _lt_dar_single_mod='$single_module'
7839     fi
7840     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7841       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7842     else
7843       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7844     fi
7845     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7846       _lt_dsymutil='~$DSYMUTIL $lib || :'
7847     else
7848       _lt_dsymutil=
7849     fi
7850     ;;
7851   esac
7852
7853 ac_ext=c
7854 ac_cpp='$CPP $CPPFLAGS'
7855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7859 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7860 # On Suns, sometimes $CPP names a directory.
7861 if test -n "$CPP" && test -d "$CPP"; then
7862   CPP=
7863 fi
7864 if test -z "$CPP"; then
7865   if ${ac_cv_prog_CPP+:} false; then :
7866   $as_echo_n "(cached) " >&6
7867 else
7868       # Double quotes because CPP needs to be expanded
7869     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7870     do
7871       ac_preproc_ok=false
7872 for ac_c_preproc_warn_flag in '' yes
7873 do
7874   # Use a header file that comes with gcc, so configuring glibc
7875   # with a fresh cross-compiler works.
7876   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7877   # <limits.h> exists even on freestanding compilers.
7878   # On the NeXT, cc -E runs the code through the compiler's parser,
7879   # not just through cpp. "Syntax error" is here to catch this case.
7880   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7881 /* end confdefs.h.  */
7882 #ifdef __STDC__
7883 # include <limits.h>
7884 #else
7885 # include <assert.h>
7886 #endif
7887                      Syntax error
7888 _ACEOF
7889 if ac_fn_c_try_cpp "$LINENO"; then :
7890
7891 else
7892   # Broken: fails on valid input.
7893 continue
7894 fi
7895 rm -f conftest.err conftest.i conftest.$ac_ext
7896
7897   # OK, works on sane cases.  Now check whether nonexistent headers
7898   # can be detected and how.
7899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7900 /* end confdefs.h.  */
7901 #include <ac_nonexistent.h>
7902 _ACEOF
7903 if ac_fn_c_try_cpp "$LINENO"; then :
7904   # Broken: success on invalid input.
7905 continue
7906 else
7907   # Passes both tests.
7908 ac_preproc_ok=:
7909 break
7910 fi
7911 rm -f conftest.err conftest.i conftest.$ac_ext
7912
7913 done
7914 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7915 rm -f conftest.i conftest.err conftest.$ac_ext
7916 if $ac_preproc_ok; then :
7917   break
7918 fi
7919
7920     done
7921     ac_cv_prog_CPP=$CPP
7922
7923 fi
7924   CPP=$ac_cv_prog_CPP
7925 else
7926   ac_cv_prog_CPP=$CPP
7927 fi
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7929 $as_echo "$CPP" >&6; }
7930 ac_preproc_ok=false
7931 for ac_c_preproc_warn_flag in '' yes
7932 do
7933   # Use a header file that comes with gcc, so configuring glibc
7934   # with a fresh cross-compiler works.
7935   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7936   # <limits.h> exists even on freestanding compilers.
7937   # On the NeXT, cc -E runs the code through the compiler's parser,
7938   # not just through cpp. "Syntax error" is here to catch this case.
7939   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7940 /* end confdefs.h.  */
7941 #ifdef __STDC__
7942 # include <limits.h>
7943 #else
7944 # include <assert.h>
7945 #endif
7946                      Syntax error
7947 _ACEOF
7948 if ac_fn_c_try_cpp "$LINENO"; then :
7949
7950 else
7951   # Broken: fails on valid input.
7952 continue
7953 fi
7954 rm -f conftest.err conftest.i conftest.$ac_ext
7955
7956   # OK, works on sane cases.  Now check whether nonexistent headers
7957   # can be detected and how.
7958   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7959 /* end confdefs.h.  */
7960 #include <ac_nonexistent.h>
7961 _ACEOF
7962 if ac_fn_c_try_cpp "$LINENO"; then :
7963   # Broken: success on invalid input.
7964 continue
7965 else
7966   # Passes both tests.
7967 ac_preproc_ok=:
7968 break
7969 fi
7970 rm -f conftest.err conftest.i conftest.$ac_ext
7971
7972 done
7973 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7974 rm -f conftest.i conftest.err conftest.$ac_ext
7975 if $ac_preproc_ok; then :
7976
7977 else
7978   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7979 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7980 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7981 See \`config.log' for more details" "$LINENO" 5; }
7982 fi
7983
7984 ac_ext=c
7985 ac_cpp='$CPP $CPPFLAGS'
7986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7989
7990
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7992 $as_echo_n "checking for ANSI C header files... " >&6; }
7993 if ${ac_cv_header_stdc+:} false; then :
7994   $as_echo_n "(cached) " >&6
7995 else
7996   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7997 /* end confdefs.h.  */
7998 #include <stdlib.h>
7999 #include <stdarg.h>
8000 #include <string.h>
8001 #include <float.h>
8002
8003 int
8004 main ()
8005 {
8006
8007   ;
8008   return 0;
8009 }
8010 _ACEOF
8011 if ac_fn_c_try_compile "$LINENO"; then :
8012   ac_cv_header_stdc=yes
8013 else
8014   ac_cv_header_stdc=no
8015 fi
8016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8017
8018 if test $ac_cv_header_stdc = yes; then
8019   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8020   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8021 /* end confdefs.h.  */
8022 #include <string.h>
8023
8024 _ACEOF
8025 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8026   $EGREP "memchr" >/dev/null 2>&1; then :
8027
8028 else
8029   ac_cv_header_stdc=no
8030 fi
8031 rm -f conftest*
8032
8033 fi
8034
8035 if test $ac_cv_header_stdc = yes; then
8036   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8037   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8038 /* end confdefs.h.  */
8039 #include <stdlib.h>
8040
8041 _ACEOF
8042 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8043   $EGREP "free" >/dev/null 2>&1; then :
8044
8045 else
8046   ac_cv_header_stdc=no
8047 fi
8048 rm -f conftest*
8049
8050 fi
8051
8052 if test $ac_cv_header_stdc = yes; then
8053   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8054   if test "$cross_compiling" = yes; then :
8055   :
8056 else
8057   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8058 /* end confdefs.h.  */
8059 #include <ctype.h>
8060 #include <stdlib.h>
8061 #if ((' ' & 0x0FF) == 0x020)
8062 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8063 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8064 #else
8065 # define ISLOWER(c) \
8066                    (('a' <= (c) && (c) <= 'i') \
8067                      || ('j' <= (c) && (c) <= 'r') \
8068                      || ('s' <= (c) && (c) <= 'z'))
8069 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8070 #endif
8071
8072 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8073 int
8074 main ()
8075 {
8076   int i;
8077   for (i = 0; i < 256; i++)
8078     if (XOR (islower (i), ISLOWER (i))
8079         || toupper (i) != TOUPPER (i))
8080       return 2;
8081   return 0;
8082 }
8083 _ACEOF
8084 if ac_fn_c_try_run "$LINENO"; then :
8085
8086 else
8087   ac_cv_header_stdc=no
8088 fi
8089 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8090   conftest.$ac_objext conftest.beam conftest.$ac_ext
8091 fi
8092
8093 fi
8094 fi
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8096 $as_echo "$ac_cv_header_stdc" >&6; }
8097 if test $ac_cv_header_stdc = yes; then
8098
8099 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8100
8101 fi
8102
8103 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8104 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8105                   inttypes.h stdint.h unistd.h
8106 do :
8107   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8108 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8109 "
8110 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8111   cat >>confdefs.h <<_ACEOF
8112 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8113 _ACEOF
8114
8115 fi
8116
8117 done
8118
8119
8120 for ac_header in dlfcn.h
8121 do :
8122   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8123 "
8124 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8125   cat >>confdefs.h <<_ACEOF
8126 #define HAVE_DLFCN_H 1
8127 _ACEOF
8128
8129 fi
8130
8131 done
8132
8133
8134
8135
8136
8137 # Set options
8138
8139
8140
8141         enable_dlopen=no
8142
8143
8144   enable_win32_dll=no
8145
8146
8147             # Check whether --enable-shared was given.
8148 if test "${enable_shared+set}" = set; then :
8149   enableval=$enable_shared; p=${PACKAGE-default}
8150     case $enableval in
8151     yes) enable_shared=yes ;;
8152     no) enable_shared=no ;;
8153     *)
8154       enable_shared=no
8155       # Look at the argument we got.  We use all the common list separators.
8156       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8157       for pkg in $enableval; do
8158         IFS="$lt_save_ifs"
8159         if test "X$pkg" = "X$p"; then
8160           enable_shared=yes
8161         fi
8162       done
8163       IFS="$lt_save_ifs"
8164       ;;
8165     esac
8166 else
8167   enable_shared=yes
8168 fi
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178   # Check whether --enable-static was given.
8179 if test "${enable_static+set}" = set; then :
8180   enableval=$enable_static; p=${PACKAGE-default}
8181     case $enableval in
8182     yes) enable_static=yes ;;
8183     no) enable_static=no ;;
8184     *)
8185      enable_static=no
8186       # Look at the argument we got.  We use all the common list separators.
8187       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8188       for pkg in $enableval; do
8189         IFS="$lt_save_ifs"
8190         if test "X$pkg" = "X$p"; then
8191           enable_static=yes
8192         fi
8193       done
8194       IFS="$lt_save_ifs"
8195       ;;
8196     esac
8197 else
8198   enable_static=yes
8199 fi
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210 # Check whether --with-pic was given.
8211 if test "${with_pic+set}" = set; then :
8212   withval=$with_pic; pic_mode="$withval"
8213 else
8214   pic_mode=default
8215 fi
8216
8217
8218 test -z "$pic_mode" && pic_mode=default
8219
8220
8221
8222
8223
8224
8225
8226   # Check whether --enable-fast-install was given.
8227 if test "${enable_fast_install+set}" = set; then :
8228   enableval=$enable_fast_install; p=${PACKAGE-default}
8229     case $enableval in
8230     yes) enable_fast_install=yes ;;
8231     no) enable_fast_install=no ;;
8232     *)
8233       enable_fast_install=no
8234       # Look at the argument we got.  We use all the common list separators.
8235       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8236       for pkg in $enableval; do
8237         IFS="$lt_save_ifs"
8238         if test "X$pkg" = "X$p"; then
8239           enable_fast_install=yes
8240         fi
8241       done
8242       IFS="$lt_save_ifs"
8243       ;;
8244     esac
8245 else
8246   enable_fast_install=yes
8247 fi
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259 # This can be used to rebuild libtool when needed
8260 LIBTOOL_DEPS="$ltmain"
8261
8262 # Always use our own libtool.
8263 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290 test -z "$LN_S" && LN_S="ln -s"
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305 if test -n "${ZSH_VERSION+set}" ; then
8306    setopt NO_GLOB_SUBST
8307 fi
8308
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8310 $as_echo_n "checking for objdir... " >&6; }
8311 if ${lt_cv_objdir+:} false; then :
8312   $as_echo_n "(cached) " >&6
8313 else
8314   rm -f .libs 2>/dev/null
8315 mkdir .libs 2>/dev/null
8316 if test -d .libs; then
8317   lt_cv_objdir=.libs
8318 else
8319   # MS-DOS does not allow filenames that begin with a dot.
8320   lt_cv_objdir=_libs
8321 fi
8322 rmdir .libs 2>/dev/null
8323 fi
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8325 $as_echo "$lt_cv_objdir" >&6; }
8326 objdir=$lt_cv_objdir
8327
8328
8329
8330
8331
8332 cat >>confdefs.h <<_ACEOF
8333 #define LT_OBJDIR "$lt_cv_objdir/"
8334 _ACEOF
8335
8336
8337
8338
8339 case $host_os in
8340 aix3*)
8341   # AIX sometimes has problems with the GCC collect2 program.  For some
8342   # reason, if we set the COLLECT_NAMES environment variable, the problems
8343   # vanish in a puff of smoke.
8344   if test "X${COLLECT_NAMES+set}" != Xset; then
8345     COLLECT_NAMES=
8346     export COLLECT_NAMES
8347   fi
8348   ;;
8349 esac
8350
8351 # Global variables:
8352 ofile=libtool
8353 can_build_shared=yes
8354
8355 # All known linkers require a `.a' archive for static linking (except MSVC,
8356 # which needs '.lib').
8357 libext=a
8358
8359 with_gnu_ld="$lt_cv_prog_gnu_ld"
8360
8361 old_CC="$CC"
8362 old_CFLAGS="$CFLAGS"
8363
8364 # Set sane defaults for various variables
8365 test -z "$CC" && CC=cc
8366 test -z "$LTCC" && LTCC=$CC
8367 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8368 test -z "$LD" && LD=ld
8369 test -z "$ac_objext" && ac_objext=o
8370
8371 for cc_temp in $compiler""; do
8372   case $cc_temp in
8373     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8374     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8375     \-*) ;;
8376     *) break;;
8377   esac
8378 done
8379 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8380
8381
8382 # Only perform the check for file, if the check method requires it
8383 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8384 case $deplibs_check_method in
8385 file_magic*)
8386   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8387     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8388 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8389 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8390   $as_echo_n "(cached) " >&6
8391 else
8392   case $MAGIC_CMD in
8393 [\\/*] |  ?:[\\/]*)
8394   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8395   ;;
8396 *)
8397   lt_save_MAGIC_CMD="$MAGIC_CMD"
8398   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8399   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8400   for ac_dir in $ac_dummy; do
8401     IFS="$lt_save_ifs"
8402     test -z "$ac_dir" && ac_dir=.
8403     if test -f $ac_dir/${ac_tool_prefix}file; then
8404       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8405       if test -n "$file_magic_test_file"; then
8406         case $deplibs_check_method in
8407         "file_magic "*)
8408           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8409           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8410           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8411             $EGREP "$file_magic_regex" > /dev/null; then
8412             :
8413           else
8414             cat <<_LT_EOF 1>&2
8415
8416 *** Warning: the command libtool uses to detect shared libraries,
8417 *** $file_magic_cmd, produces output that libtool cannot recognize.
8418 *** The result is that libtool may fail to recognize shared libraries
8419 *** as such.  This will affect the creation of libtool libraries that
8420 *** depend on shared libraries, but programs linked with such libtool
8421 *** libraries will work regardless of this problem.  Nevertheless, you
8422 *** may want to report the problem to your system manager and/or to
8423 *** bug-libtool@gnu.org
8424
8425 _LT_EOF
8426           fi ;;
8427         esac
8428       fi
8429       break
8430     fi
8431   done
8432   IFS="$lt_save_ifs"
8433   MAGIC_CMD="$lt_save_MAGIC_CMD"
8434   ;;
8435 esac
8436 fi
8437
8438 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8439 if test -n "$MAGIC_CMD"; then
8440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8441 $as_echo "$MAGIC_CMD" >&6; }
8442 else
8443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8444 $as_echo "no" >&6; }
8445 fi
8446
8447
8448
8449
8450
8451 if test -z "$lt_cv_path_MAGIC_CMD"; then
8452   if test -n "$ac_tool_prefix"; then
8453     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8454 $as_echo_n "checking for file... " >&6; }
8455 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8456   $as_echo_n "(cached) " >&6
8457 else
8458   case $MAGIC_CMD in
8459 [\\/*] |  ?:[\\/]*)
8460   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8461   ;;
8462 *)
8463   lt_save_MAGIC_CMD="$MAGIC_CMD"
8464   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8465   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8466   for ac_dir in $ac_dummy; do
8467     IFS="$lt_save_ifs"
8468     test -z "$ac_dir" && ac_dir=.
8469     if test -f $ac_dir/file; then
8470       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8471       if test -n "$file_magic_test_file"; then
8472         case $deplibs_check_method in
8473         "file_magic "*)
8474           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8475           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8476           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8477             $EGREP "$file_magic_regex" > /dev/null; then
8478             :
8479           else
8480             cat <<_LT_EOF 1>&2
8481
8482 *** Warning: the command libtool uses to detect shared libraries,
8483 *** $file_magic_cmd, produces output that libtool cannot recognize.
8484 *** The result is that libtool may fail to recognize shared libraries
8485 *** as such.  This will affect the creation of libtool libraries that
8486 *** depend on shared libraries, but programs linked with such libtool
8487 *** libraries will work regardless of this problem.  Nevertheless, you
8488 *** may want to report the problem to your system manager and/or to
8489 *** bug-libtool@gnu.org
8490
8491 _LT_EOF
8492           fi ;;
8493         esac
8494       fi
8495       break
8496     fi
8497   done
8498   IFS="$lt_save_ifs"
8499   MAGIC_CMD="$lt_save_MAGIC_CMD"
8500   ;;
8501 esac
8502 fi
8503
8504 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8505 if test -n "$MAGIC_CMD"; then
8506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8507 $as_echo "$MAGIC_CMD" >&6; }
8508 else
8509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8510 $as_echo "no" >&6; }
8511 fi
8512
8513
8514   else
8515     MAGIC_CMD=:
8516   fi
8517 fi
8518
8519   fi
8520   ;;
8521 esac
8522
8523 # Use C for the default configuration in the libtool script
8524
8525 lt_save_CC="$CC"
8526 ac_ext=c
8527 ac_cpp='$CPP $CPPFLAGS'
8528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8531
8532
8533 # Source file extension for C test sources.
8534 ac_ext=c
8535
8536 # Object file extension for compiled C test sources.
8537 objext=o
8538 objext=$objext
8539
8540 # Code to be used in simple compile tests
8541 lt_simple_compile_test_code="int some_variable = 0;"
8542
8543 # Code to be used in simple link tests
8544 lt_simple_link_test_code='int main(){return(0);}'
8545
8546
8547
8548
8549
8550
8551
8552 # If no C compiler was specified, use CC.
8553 LTCC=${LTCC-"$CC"}
8554
8555 # If no C compiler flags were specified, use CFLAGS.
8556 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8557
8558 # Allow CC to be a program name with arguments.
8559 compiler=$CC
8560
8561 # Save the default compiler, since it gets overwritten when the other
8562 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8563 compiler_DEFAULT=$CC
8564
8565 # save warnings/boilerplate of simple test code
8566 ac_outfile=conftest.$ac_objext
8567 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8568 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8569 _lt_compiler_boilerplate=`cat conftest.err`
8570 $RM conftest*
8571
8572 ac_outfile=conftest.$ac_objext
8573 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8574 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8575 _lt_linker_boilerplate=`cat conftest.err`
8576 $RM -r conftest*
8577
8578
8579 if test -n "$compiler"; then
8580
8581 lt_prog_compiler_no_builtin_flag=
8582
8583 if test "$GCC" = yes; then
8584   case $cc_basename in
8585   nvcc*)
8586     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8587   *)
8588     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8589   esac
8590
8591   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8592 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8593 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8594   $as_echo_n "(cached) " >&6
8595 else
8596   lt_cv_prog_compiler_rtti_exceptions=no
8597    ac_outfile=conftest.$ac_objext
8598    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8599    lt_compiler_flag="-fno-rtti -fno-exceptions"
8600    # Insert the option either (1) after the last *FLAGS variable, or
8601    # (2) before a word containing "conftest.", or (3) at the end.
8602    # Note that $ac_compile itself does not contain backslashes and begins
8603    # with a dollar sign (not a hyphen), so the echo should work correctly.
8604    # The option is referenced via a variable to avoid confusing sed.
8605    lt_compile=`echo "$ac_compile" | $SED \
8606    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8607    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8608    -e 's:$: $lt_compiler_flag:'`
8609    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8610    (eval "$lt_compile" 2>conftest.err)
8611    ac_status=$?
8612    cat conftest.err >&5
8613    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8614    if (exit $ac_status) && test -s "$ac_outfile"; then
8615      # The compiler can only warn and ignore the option if not recognized
8616      # So say no if there are warnings other than the usual output.
8617      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8618      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8619      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8620        lt_cv_prog_compiler_rtti_exceptions=yes
8621      fi
8622    fi
8623    $RM conftest*
8624
8625 fi
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8627 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8628
8629 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8630     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8631 else
8632     :
8633 fi
8634
8635 fi
8636
8637
8638
8639
8640
8641
8642   lt_prog_compiler_wl=
8643 lt_prog_compiler_pic=
8644 lt_prog_compiler_static=
8645
8646
8647   if test "$GCC" = yes; then
8648     lt_prog_compiler_wl='-Wl,'
8649     lt_prog_compiler_static='-static'
8650
8651     case $host_os in
8652       aix*)
8653       # All AIX code is PIC.
8654       if test "$host_cpu" = ia64; then
8655         # AIX 5 now supports IA64 processor
8656         lt_prog_compiler_static='-Bstatic'
8657       fi
8658       ;;
8659
8660     amigaos*)
8661       case $host_cpu in
8662       powerpc)
8663             # see comment about AmigaOS4 .so support
8664             lt_prog_compiler_pic='-fPIC'
8665         ;;
8666       m68k)
8667             # FIXME: we need at least 68020 code to build shared libraries, but
8668             # adding the `-m68020' flag to GCC prevents building anything better,
8669             # like `-m68040'.
8670             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8671         ;;
8672       esac
8673       ;;
8674
8675     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8676       # PIC is the default for these OSes.
8677       ;;
8678
8679     mingw* | cygwin* | pw32* | os2* | cegcc*)
8680       # This hack is so that the source file can tell whether it is being
8681       # built for inclusion in a dll (and should export symbols for example).
8682       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8683       # (--disable-auto-import) libraries
8684       lt_prog_compiler_pic='-DDLL_EXPORT'
8685       ;;
8686
8687     darwin* | rhapsody*)
8688       # PIC is the default on this platform
8689       # Common symbols not allowed in MH_DYLIB files
8690       lt_prog_compiler_pic='-fno-common'
8691       ;;
8692
8693     haiku*)
8694       # PIC is the default for Haiku.
8695       # The "-static" flag exists, but is broken.
8696       lt_prog_compiler_static=
8697       ;;
8698
8699     hpux*)
8700       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8701       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8702       # sets the default TLS model and affects inlining.
8703       case $host_cpu in
8704       hppa*64*)
8705         # +Z the default
8706         ;;
8707       *)
8708         lt_prog_compiler_pic='-fPIC'
8709         ;;
8710       esac
8711       ;;
8712
8713     interix[3-9]*)
8714       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8715       # Instead, we relocate shared libraries at runtime.
8716       ;;
8717
8718     msdosdjgpp*)
8719       # Just because we use GCC doesn't mean we suddenly get shared libraries
8720       # on systems that don't support them.
8721       lt_prog_compiler_can_build_shared=no
8722       enable_shared=no
8723       ;;
8724
8725     *nto* | *qnx*)
8726       # QNX uses GNU C++, but need to define -shared option too, otherwise
8727       # it will coredump.
8728       lt_prog_compiler_pic='-fPIC -shared'
8729       ;;
8730
8731     sysv4*MP*)
8732       if test -d /usr/nec; then
8733         lt_prog_compiler_pic=-Kconform_pic
8734       fi
8735       ;;
8736
8737     *)
8738       lt_prog_compiler_pic='-fPIC'
8739       ;;
8740     esac
8741
8742     case $cc_basename in
8743     nvcc*) # Cuda Compiler Driver 2.2
8744       lt_prog_compiler_wl='-Xlinker '
8745       lt_prog_compiler_pic='-Xcompiler -fPIC'
8746       ;;
8747     esac
8748   else
8749     # PORTME Check for flag to pass linker flags through the system compiler.
8750     case $host_os in
8751     aix*)
8752       lt_prog_compiler_wl='-Wl,'
8753       if test "$host_cpu" = ia64; then
8754         # AIX 5 now supports IA64 processor
8755         lt_prog_compiler_static='-Bstatic'
8756       else
8757         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8758       fi
8759       ;;
8760
8761     mingw* | cygwin* | pw32* | os2* | cegcc*)
8762       # This hack is so that the source file can tell whether it is being
8763       # built for inclusion in a dll (and should export symbols for example).
8764       lt_prog_compiler_pic='-DDLL_EXPORT'
8765       ;;
8766
8767     hpux9* | hpux10* | hpux11*)
8768       lt_prog_compiler_wl='-Wl,'
8769       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8770       # not for PA HP-UX.
8771       case $host_cpu in
8772       hppa*64*|ia64*)
8773         # +Z the default
8774         ;;
8775       *)
8776         lt_prog_compiler_pic='+Z'
8777         ;;
8778       esac
8779       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8780       lt_prog_compiler_static='${wl}-a ${wl}archive'
8781       ;;
8782
8783     irix5* | irix6* | nonstopux*)
8784       lt_prog_compiler_wl='-Wl,'
8785       # PIC (with -KPIC) is the default.
8786       lt_prog_compiler_static='-non_shared'
8787       ;;
8788
8789     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8790       case $cc_basename in
8791       # old Intel for x86_64 which still supported -KPIC.
8792       ecc*)
8793         lt_prog_compiler_wl='-Wl,'
8794         lt_prog_compiler_pic='-KPIC'
8795         lt_prog_compiler_static='-static'
8796         ;;
8797       # icc used to be incompatible with GCC.
8798       # ICC 10 doesn't accept -KPIC any more.
8799       icc* | ifort*)
8800         lt_prog_compiler_wl='-Wl,'
8801         lt_prog_compiler_pic='-fPIC'
8802         lt_prog_compiler_static='-static'
8803         ;;
8804       # Lahey Fortran 8.1.
8805       lf95*)
8806         lt_prog_compiler_wl='-Wl,'
8807         lt_prog_compiler_pic='--shared'
8808         lt_prog_compiler_static='--static'
8809         ;;
8810       nagfor*)
8811         # NAG Fortran compiler
8812         lt_prog_compiler_wl='-Wl,-Wl,,'
8813         lt_prog_compiler_pic='-PIC'
8814         lt_prog_compiler_static='-Bstatic'
8815         ;;
8816       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8817         # Portland Group compilers (*not* the Pentium gcc compiler,
8818         # which looks to be a dead project)
8819         lt_prog_compiler_wl='-Wl,'
8820         lt_prog_compiler_pic='-fpic'
8821         lt_prog_compiler_static='-Bstatic'
8822         ;;
8823       ccc*)
8824         lt_prog_compiler_wl='-Wl,'
8825         # All Alpha code is PIC.
8826         lt_prog_compiler_static='-non_shared'
8827         ;;
8828       xl* | bgxl* | bgf* | mpixl*)
8829         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8830         lt_prog_compiler_wl='-Wl,'
8831         lt_prog_compiler_pic='-qpic'
8832         lt_prog_compiler_static='-qstaticlink'
8833         ;;
8834       *)
8835         case `$CC -V 2>&1 | sed 5q` in
8836         *Sun\ F* | *Sun*Fortran*)
8837           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8838           lt_prog_compiler_pic='-KPIC'
8839           lt_prog_compiler_static='-Bstatic'
8840           lt_prog_compiler_wl=''
8841           ;;
8842         *Sun\ C*)
8843           # Sun C 5.9
8844           lt_prog_compiler_pic='-KPIC'
8845           lt_prog_compiler_static='-Bstatic'
8846           lt_prog_compiler_wl='-Wl,'
8847           ;;
8848         esac
8849         ;;
8850       esac
8851       ;;
8852
8853     newsos6)
8854       lt_prog_compiler_pic='-KPIC'
8855       lt_prog_compiler_static='-Bstatic'
8856       ;;
8857
8858     *nto* | *qnx*)
8859       # QNX uses GNU C++, but need to define -shared option too, otherwise
8860       # it will coredump.
8861       lt_prog_compiler_pic='-fPIC -shared'
8862       ;;
8863
8864     osf3* | osf4* | osf5*)
8865       lt_prog_compiler_wl='-Wl,'
8866       # All OSF/1 code is PIC.
8867       lt_prog_compiler_static='-non_shared'
8868       ;;
8869
8870     rdos*)
8871       lt_prog_compiler_static='-non_shared'
8872       ;;
8873
8874     solaris*)
8875       lt_prog_compiler_pic='-KPIC'
8876       lt_prog_compiler_static='-Bstatic'
8877       case $cc_basename in
8878       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8879         lt_prog_compiler_wl='-Qoption ld ';;
8880       *)
8881         lt_prog_compiler_wl='-Wl,';;
8882       esac
8883       ;;
8884
8885     sunos4*)
8886       lt_prog_compiler_wl='-Qoption ld '
8887       lt_prog_compiler_pic='-PIC'
8888       lt_prog_compiler_static='-Bstatic'
8889       ;;
8890
8891     sysv4 | sysv4.2uw2* | sysv4.3*)
8892       lt_prog_compiler_wl='-Wl,'
8893       lt_prog_compiler_pic='-KPIC'
8894       lt_prog_compiler_static='-Bstatic'
8895       ;;
8896
8897     sysv4*MP*)
8898       if test -d /usr/nec ;then
8899         lt_prog_compiler_pic='-Kconform_pic'
8900         lt_prog_compiler_static='-Bstatic'
8901       fi
8902       ;;
8903
8904     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8905       lt_prog_compiler_wl='-Wl,'
8906       lt_prog_compiler_pic='-KPIC'
8907       lt_prog_compiler_static='-Bstatic'
8908       ;;
8909
8910     unicos*)
8911       lt_prog_compiler_wl='-Wl,'
8912       lt_prog_compiler_can_build_shared=no
8913       ;;
8914
8915     uts4*)
8916       lt_prog_compiler_pic='-pic'
8917       lt_prog_compiler_static='-Bstatic'
8918       ;;
8919
8920     *)
8921       lt_prog_compiler_can_build_shared=no
8922       ;;
8923     esac
8924   fi
8925
8926 case $host_os in
8927   # For platforms which do not support PIC, -DPIC is meaningless:
8928   *djgpp*)
8929     lt_prog_compiler_pic=
8930     ;;
8931   *)
8932     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8933     ;;
8934 esac
8935
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8937 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8938 if ${lt_cv_prog_compiler_pic+:} false; then :
8939   $as_echo_n "(cached) " >&6
8940 else
8941   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8942 fi
8943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8944 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8945 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8946
8947 #
8948 # Check to make sure the PIC flag actually works.
8949 #
8950 if test -n "$lt_prog_compiler_pic"; then
8951   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8952 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8953 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8954   $as_echo_n "(cached) " >&6
8955 else
8956   lt_cv_prog_compiler_pic_works=no
8957    ac_outfile=conftest.$ac_objext
8958    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8959    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8960    # Insert the option either (1) after the last *FLAGS variable, or
8961    # (2) before a word containing "conftest.", or (3) at the end.
8962    # Note that $ac_compile itself does not contain backslashes and begins
8963    # with a dollar sign (not a hyphen), so the echo should work correctly.
8964    # The option is referenced via a variable to avoid confusing sed.
8965    lt_compile=`echo "$ac_compile" | $SED \
8966    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8967    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8968    -e 's:$: $lt_compiler_flag:'`
8969    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8970    (eval "$lt_compile" 2>conftest.err)
8971    ac_status=$?
8972    cat conftest.err >&5
8973    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8974    if (exit $ac_status) && test -s "$ac_outfile"; then
8975      # The compiler can only warn and ignore the option if not recognized
8976      # So say no if there are warnings other than the usual output.
8977      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8978      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8979      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8980        lt_cv_prog_compiler_pic_works=yes
8981      fi
8982    fi
8983    $RM conftest*
8984
8985 fi
8986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8987 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8988
8989 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8990     case $lt_prog_compiler_pic in
8991      "" | " "*) ;;
8992      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8993      esac
8994 else
8995     lt_prog_compiler_pic=
8996      lt_prog_compiler_can_build_shared=no
8997 fi
8998
8999 fi
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011 #
9012 # Check to make sure the static flag actually works.
9013 #
9014 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9016 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9017 if ${lt_cv_prog_compiler_static_works+:} false; then :
9018   $as_echo_n "(cached) " >&6
9019 else
9020   lt_cv_prog_compiler_static_works=no
9021    save_LDFLAGS="$LDFLAGS"
9022    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9023    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9024    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9025      # The linker can only warn and ignore the option if not recognized
9026      # So say no if there are warnings
9027      if test -s conftest.err; then
9028        # Append any errors to the config.log.
9029        cat conftest.err 1>&5
9030        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9031        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9032        if diff conftest.exp conftest.er2 >/dev/null; then
9033          lt_cv_prog_compiler_static_works=yes
9034        fi
9035      else
9036        lt_cv_prog_compiler_static_works=yes
9037      fi
9038    fi
9039    $RM -r conftest*
9040    LDFLAGS="$save_LDFLAGS"
9041
9042 fi
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9044 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9045
9046 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9047     :
9048 else
9049     lt_prog_compiler_static=
9050 fi
9051
9052
9053
9054
9055
9056
9057
9058   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9059 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9060 if ${lt_cv_prog_compiler_c_o+:} false; then :
9061   $as_echo_n "(cached) " >&6
9062 else
9063   lt_cv_prog_compiler_c_o=no
9064    $RM -r conftest 2>/dev/null
9065    mkdir conftest
9066    cd conftest
9067    mkdir out
9068    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9069
9070    lt_compiler_flag="-o out/conftest2.$ac_objext"
9071    # Insert the option either (1) after the last *FLAGS variable, or
9072    # (2) before a word containing "conftest.", or (3) at the end.
9073    # Note that $ac_compile itself does not contain backslashes and begins
9074    # with a dollar sign (not a hyphen), so the echo should work correctly.
9075    lt_compile=`echo "$ac_compile" | $SED \
9076    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9077    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9078    -e 's:$: $lt_compiler_flag:'`
9079    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9080    (eval "$lt_compile" 2>out/conftest.err)
9081    ac_status=$?
9082    cat out/conftest.err >&5
9083    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9084    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9085    then
9086      # The compiler can only warn and ignore the option if not recognized
9087      # So say no if there are warnings
9088      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9089      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9090      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9091        lt_cv_prog_compiler_c_o=yes
9092      fi
9093    fi
9094    chmod u+w . 2>&5
9095    $RM conftest*
9096    # SGI C++ compiler will create directory out/ii_files/ for
9097    # template instantiation
9098    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9099    $RM out/* && rmdir out
9100    cd ..
9101    $RM -r conftest
9102    $RM conftest*
9103
9104 fi
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9106 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9107
9108
9109
9110
9111
9112
9113   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9114 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9115 if ${lt_cv_prog_compiler_c_o+:} false; then :
9116   $as_echo_n "(cached) " >&6
9117 else
9118   lt_cv_prog_compiler_c_o=no
9119    $RM -r conftest 2>/dev/null
9120    mkdir conftest
9121    cd conftest
9122    mkdir out
9123    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9124
9125    lt_compiler_flag="-o out/conftest2.$ac_objext"
9126    # Insert the option either (1) after the last *FLAGS variable, or
9127    # (2) before a word containing "conftest.", or (3) at the end.
9128    # Note that $ac_compile itself does not contain backslashes and begins
9129    # with a dollar sign (not a hyphen), so the echo should work correctly.
9130    lt_compile=`echo "$ac_compile" | $SED \
9131    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9132    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9133    -e 's:$: $lt_compiler_flag:'`
9134    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9135    (eval "$lt_compile" 2>out/conftest.err)
9136    ac_status=$?
9137    cat out/conftest.err >&5
9138    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9139    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9140    then
9141      # The compiler can only warn and ignore the option if not recognized
9142      # So say no if there are warnings
9143      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9144      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9145      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9146        lt_cv_prog_compiler_c_o=yes
9147      fi
9148    fi
9149    chmod u+w . 2>&5
9150    $RM conftest*
9151    # SGI C++ compiler will create directory out/ii_files/ for
9152    # template instantiation
9153    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9154    $RM out/* && rmdir out
9155    cd ..
9156    $RM -r conftest
9157    $RM conftest*
9158
9159 fi
9160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9161 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9162
9163
9164
9165
9166 hard_links="nottested"
9167 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9168   # do not overwrite the value of need_locks provided by the user
9169   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9170 $as_echo_n "checking if we can lock with hard links... " >&6; }
9171   hard_links=yes
9172   $RM conftest*
9173   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9174   touch conftest.a
9175   ln conftest.a conftest.b 2>&5 || hard_links=no
9176   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9178 $as_echo "$hard_links" >&6; }
9179   if test "$hard_links" = no; then
9180     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9181 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9182     need_locks=warn
9183   fi
9184 else
9185   need_locks=no
9186 fi
9187
9188
9189
9190
9191
9192
9193   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9194 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9195
9196   runpath_var=
9197   allow_undefined_flag=
9198   always_export_symbols=no
9199   archive_cmds=
9200   archive_expsym_cmds=
9201   compiler_needs_object=no
9202   enable_shared_with_static_runtimes=no
9203   export_dynamic_flag_spec=
9204   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9205   hardcode_automatic=no
9206   hardcode_direct=no
9207   hardcode_direct_absolute=no
9208   hardcode_libdir_flag_spec=
9209   hardcode_libdir_flag_spec_ld=
9210   hardcode_libdir_separator=
9211   hardcode_minus_L=no
9212   hardcode_shlibpath_var=unsupported
9213   inherit_rpath=no
9214   link_all_deplibs=unknown
9215   module_cmds=
9216   module_expsym_cmds=
9217   old_archive_from_new_cmds=
9218   old_archive_from_expsyms_cmds=
9219   thread_safe_flag_spec=
9220   whole_archive_flag_spec=
9221   # include_expsyms should be a list of space-separated symbols to be *always*
9222   # included in the symbol list
9223   include_expsyms=
9224   # exclude_expsyms can be an extended regexp of symbols to exclude
9225   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9226   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9227   # as well as any symbol that contains `d'.
9228   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9229   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9230   # platforms (ab)use it in PIC code, but their linkers get confused if
9231   # the symbol is explicitly referenced.  Since portable code cannot
9232   # rely on this symbol name, it's probably fine to never include it in
9233   # preloaded symbol tables.
9234   # Exclude shared library initialization/finalization symbols.
9235   extract_expsyms_cmds=
9236
9237   case $host_os in
9238   cygwin* | mingw* | pw32* | cegcc*)
9239     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9240     # When not using gcc, we currently assume that we are using
9241     # Microsoft Visual C++.
9242     if test "$GCC" != yes; then
9243       with_gnu_ld=no
9244     fi
9245     ;;
9246   interix*)
9247     # we just hope/assume this is gcc and not c89 (= MSVC++)
9248     with_gnu_ld=yes
9249     ;;
9250   openbsd*)
9251     with_gnu_ld=no
9252     ;;
9253   esac
9254
9255   ld_shlibs=yes
9256
9257   # On some targets, GNU ld is compatible enough with the native linker
9258   # that we're better off using the native interface for both.
9259   lt_use_gnu_ld_interface=no
9260   if test "$with_gnu_ld" = yes; then
9261     case $host_os in
9262       aix*)
9263         # The AIX port of GNU ld has always aspired to compatibility
9264         # with the native linker.  However, as the warning in the GNU ld
9265         # block says, versions before 2.19.5* couldn't really create working
9266         # shared libraries, regardless of the interface used.
9267         case `$LD -v 2>&1` in
9268           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9269           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9270           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9271           *)
9272             lt_use_gnu_ld_interface=yes
9273             ;;
9274         esac
9275         ;;
9276       *)
9277         lt_use_gnu_ld_interface=yes
9278         ;;
9279     esac
9280   fi
9281
9282   if test "$lt_use_gnu_ld_interface" = yes; then
9283     # If archive_cmds runs LD, not CC, wlarc should be empty
9284     wlarc='${wl}'
9285
9286     # Set some defaults for GNU ld with shared library support. These
9287     # are reset later if shared libraries are not supported. Putting them
9288     # here allows them to be overridden if necessary.
9289     runpath_var=LD_RUN_PATH
9290     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9291     export_dynamic_flag_spec='${wl}--export-dynamic'
9292     # ancient GNU ld didn't support --whole-archive et. al.
9293     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9294       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9295     else
9296       whole_archive_flag_spec=
9297     fi
9298     supports_anon_versioning=no
9299     case `$LD -v 2>&1` in
9300       *GNU\ gold*) supports_anon_versioning=yes ;;
9301       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9302       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9303       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9304       *\ 2.11.*) ;; # other 2.11 versions
9305       *) supports_anon_versioning=yes ;;
9306     esac
9307
9308     # See if GNU ld supports shared libraries.
9309     case $host_os in
9310     aix[3-9]*)
9311       # On AIX/PPC, the GNU linker is very broken
9312       if test "$host_cpu" != ia64; then
9313         ld_shlibs=no
9314         cat <<_LT_EOF 1>&2
9315
9316 *** Warning: the GNU linker, at least up to release 2.19, is reported
9317 *** to be unable to reliably create shared libraries on AIX.
9318 *** Therefore, libtool is disabling shared libraries support.  If you
9319 *** really care for shared libraries, you may want to install binutils
9320 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9321 *** You will then need to restart the configuration process.
9322
9323 _LT_EOF
9324       fi
9325       ;;
9326
9327     amigaos*)
9328       case $host_cpu in
9329       powerpc)
9330             # see comment about AmigaOS4 .so support
9331             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9332             archive_expsym_cmds=''
9333         ;;
9334       m68k)
9335             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)'
9336             hardcode_libdir_flag_spec='-L$libdir'
9337             hardcode_minus_L=yes
9338         ;;
9339       esac
9340       ;;
9341
9342     beos*)
9343       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9344         allow_undefined_flag=unsupported
9345         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9346         # support --undefined.  This deserves some investigation.  FIXME
9347         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9348       else
9349         ld_shlibs=no
9350       fi
9351       ;;
9352
9353     cygwin* | mingw* | pw32* | cegcc*)
9354       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9355       # as there is no search path for DLLs.
9356       hardcode_libdir_flag_spec='-L$libdir'
9357       export_dynamic_flag_spec='${wl}--export-all-symbols'
9358       allow_undefined_flag=unsupported
9359       always_export_symbols=no
9360       enable_shared_with_static_runtimes=yes
9361       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'
9362       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9363
9364       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9365         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9366         # If the export-symbols file already is a .def file (1st line
9367         # is EXPORTS), use it as is; otherwise, prepend...
9368         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9369           cp $export_symbols $output_objdir/$soname.def;
9370         else
9371           echo EXPORTS > $output_objdir/$soname.def;
9372           cat $export_symbols >> $output_objdir/$soname.def;
9373         fi~
9374         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9375       else
9376         ld_shlibs=no
9377       fi
9378       ;;
9379
9380     haiku*)
9381       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9382       link_all_deplibs=yes
9383       ;;
9384
9385     interix[3-9]*)
9386       hardcode_direct=no
9387       hardcode_shlibpath_var=no
9388       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9389       export_dynamic_flag_spec='${wl}-E'
9390       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9391       # Instead, shared libraries are loaded at an image base (0x10000000 by
9392       # default) and relocated if they conflict, which is a slow very memory
9393       # consuming and fragmenting process.  To avoid this, we pick a random,
9394       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9395       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9396       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9397       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'
9398       ;;
9399
9400     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9401       tmp_diet=no
9402       if test "$host_os" = linux-dietlibc; then
9403         case $cc_basename in
9404           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9405         esac
9406       fi
9407       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9408          && test "$tmp_diet" = no
9409       then
9410         tmp_addflag=' $pic_flag'
9411         tmp_sharedflag='-shared'
9412         case $cc_basename,$host_cpu in
9413         pgcc*)                          # Portland Group C compiler
9414           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'
9415           tmp_addflag=' $pic_flag'
9416           ;;
9417         pgf77* | pgf90* | pgf95* | pgfortran*)
9418                                         # Portland Group f77 and f90 compilers
9419           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'
9420           tmp_addflag=' $pic_flag -Mnomain' ;;
9421         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9422           tmp_addflag=' -i_dynamic' ;;
9423         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9424           tmp_addflag=' -i_dynamic -nofor_main' ;;
9425         ifc* | ifort*)                  # Intel Fortran compiler
9426           tmp_addflag=' -nofor_main' ;;
9427         lf95*)                          # Lahey Fortran 8.1
9428           whole_archive_flag_spec=
9429           tmp_sharedflag='--shared' ;;
9430         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9431           tmp_sharedflag='-qmkshrobj'
9432           tmp_addflag= ;;
9433         nvcc*)  # Cuda Compiler Driver 2.2
9434           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'
9435           compiler_needs_object=yes
9436           ;;
9437         esac
9438         case `$CC -V 2>&1 | sed 5q` in
9439         *Sun\ C*)                       # Sun C 5.9
9440           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'
9441           compiler_needs_object=yes
9442           tmp_sharedflag='-G' ;;
9443         *Sun\ F*)                       # Sun Fortran 8.3
9444           tmp_sharedflag='-G' ;;
9445         esac
9446         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9447
9448         if test "x$supports_anon_versioning" = xyes; then
9449           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9450             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9451             echo "local: *; };" >> $output_objdir/$libname.ver~
9452             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9453         fi
9454
9455         case $cc_basename in
9456         xlf* | bgf* | bgxlf* | mpixlf*)
9457           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9458           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9459           hardcode_libdir_flag_spec=
9460           hardcode_libdir_flag_spec_ld='-rpath $libdir'
9461           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9462           if test "x$supports_anon_versioning" = xyes; then
9463             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9464               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9465               echo "local: *; };" >> $output_objdir/$libname.ver~
9466               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9467           fi
9468           ;;
9469         esac
9470       else
9471         ld_shlibs=no
9472       fi
9473       ;;
9474
9475     netbsd*)
9476       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9477         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9478         wlarc=
9479       else
9480         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9481         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9482       fi
9483       ;;
9484
9485     solaris*)
9486       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9487         ld_shlibs=no
9488         cat <<_LT_EOF 1>&2
9489
9490 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9491 *** create shared libraries on Solaris systems.  Therefore, libtool
9492 *** is disabling shared libraries support.  We urge you to upgrade GNU
9493 *** binutils to release 2.9.1 or newer.  Another option is to modify
9494 *** your PATH or compiler configuration so that the native linker is
9495 *** used, and then restart.
9496
9497 _LT_EOF
9498       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9499         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9500         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9501       else
9502         ld_shlibs=no
9503       fi
9504       ;;
9505
9506     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9507       case `$LD -v 2>&1` in
9508         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9509         ld_shlibs=no
9510         cat <<_LT_EOF 1>&2
9511
9512 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9513 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9514 *** is disabling shared libraries support.  We urge you to upgrade GNU
9515 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9516 *** your PATH or compiler configuration so that the native linker is
9517 *** used, and then restart.
9518
9519 _LT_EOF
9520         ;;
9521         *)
9522           # For security reasons, it is highly recommended that you always
9523           # use absolute paths for naming shared libraries, and exclude the
9524           # DT_RUNPATH tag from executables and libraries.  But doing so
9525           # requires that you compile everything twice, which is a pain.
9526           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9527             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9528             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9529             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9530           else
9531             ld_shlibs=no
9532           fi
9533         ;;
9534       esac
9535       ;;
9536
9537     sunos4*)
9538       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9539       wlarc=
9540       hardcode_direct=yes
9541       hardcode_shlibpath_var=no
9542       ;;
9543
9544     *)
9545       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9546         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9547         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9548       else
9549         ld_shlibs=no
9550       fi
9551       ;;
9552     esac
9553
9554     if test "$ld_shlibs" = no; then
9555       runpath_var=
9556       hardcode_libdir_flag_spec=
9557       export_dynamic_flag_spec=
9558       whole_archive_flag_spec=
9559     fi
9560   else
9561     # PORTME fill in a description of your system's linker (not GNU ld)
9562     case $host_os in
9563     aix3*)
9564       allow_undefined_flag=unsupported
9565       always_export_symbols=yes
9566       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'
9567       # Note: this linker hardcodes the directories in LIBPATH if there
9568       # are no directories specified by -L.
9569       hardcode_minus_L=yes
9570       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9571         # Neither direct hardcoding nor static linking is supported with a
9572         # broken collect2.
9573         hardcode_direct=unsupported
9574       fi
9575       ;;
9576
9577     aix[4-9]*)
9578       if test "$host_cpu" = ia64; then
9579         # On IA64, the linker does run time linking by default, so we don't
9580         # have to do anything special.
9581         aix_use_runtimelinking=no
9582         exp_sym_flag='-Bexport'
9583         no_entry_flag=""
9584       else
9585         # If we're using GNU nm, then we don't want the "-C" option.
9586         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9587         # Also, AIX nm treats weak defined symbols like other global
9588         # defined symbols, whereas GNU nm marks them as "W".
9589         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9590           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'
9591         else
9592           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'
9593         fi
9594         aix_use_runtimelinking=no
9595
9596         # Test if we are trying to use run time linking or normal
9597         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9598         # need to do runtime linking.
9599         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9600           for ld_flag in $LDFLAGS; do
9601           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9602             aix_use_runtimelinking=yes
9603             break
9604           fi
9605           done
9606           ;;
9607         esac
9608
9609         exp_sym_flag='-bexport'
9610         no_entry_flag='-bnoentry'
9611       fi
9612
9613       # When large executables or shared objects are built, AIX ld can
9614       # have problems creating the table of contents.  If linking a library
9615       # or program results in "error TOC overflow" add -mminimal-toc to
9616       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9617       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9618
9619       archive_cmds=''
9620       hardcode_direct=yes
9621       hardcode_direct_absolute=yes
9622       hardcode_libdir_separator=':'
9623       link_all_deplibs=yes
9624       file_list_spec='${wl}-f,'
9625
9626       if test "$GCC" = yes; then
9627         case $host_os in aix4.[012]|aix4.[012].*)
9628         # We only want to do this on AIX 4.2 and lower, the check
9629         # below for broken collect2 doesn't work under 4.3+
9630           collect2name=`${CC} -print-prog-name=collect2`
9631           if test -f "$collect2name" &&
9632            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9633           then
9634           # We have reworked collect2
9635           :
9636           else
9637           # We have old collect2
9638           hardcode_direct=unsupported
9639           # It fails to find uninstalled libraries when the uninstalled
9640           # path is not listed in the libpath.  Setting hardcode_minus_L
9641           # to unsupported forces relinking
9642           hardcode_minus_L=yes
9643           hardcode_libdir_flag_spec='-L$libdir'
9644           hardcode_libdir_separator=
9645           fi
9646           ;;
9647         esac
9648         shared_flag='-shared'
9649         if test "$aix_use_runtimelinking" = yes; then
9650           shared_flag="$shared_flag "'${wl}-G'
9651         fi
9652       else
9653         # not using gcc
9654         if test "$host_cpu" = ia64; then
9655         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9656         # chokes on -Wl,-G. The following line is correct:
9657           shared_flag='-G'
9658         else
9659           if test "$aix_use_runtimelinking" = yes; then
9660             shared_flag='${wl}-G'
9661           else
9662             shared_flag='${wl}-bM:SRE'
9663           fi
9664         fi
9665       fi
9666
9667       export_dynamic_flag_spec='${wl}-bexpall'
9668       # It seems that -bexpall does not export symbols beginning with
9669       # underscore (_), so it is better to generate a list of symbols to export.
9670       always_export_symbols=yes
9671       if test "$aix_use_runtimelinking" = yes; then
9672         # Warning - without using the other runtime loading flags (-brtl),
9673         # -berok will link without error, but may produce a broken library.
9674         allow_undefined_flag='-berok'
9675         # Determine the default libpath from the value encoded in an
9676         # empty executable.
9677         if test "${lt_cv_aix_libpath+set}" = set; then
9678   aix_libpath=$lt_cv_aix_libpath
9679 else
9680   if ${lt_cv_aix_libpath_+:} false; then :
9681   $as_echo_n "(cached) " >&6
9682 else
9683   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9684 /* end confdefs.h.  */
9685
9686 int
9687 main ()
9688 {
9689
9690   ;
9691   return 0;
9692 }
9693 _ACEOF
9694 if ac_fn_c_try_link "$LINENO"; then :
9695
9696   lt_aix_libpath_sed='
9697       /Import File Strings/,/^$/ {
9698           /^0/ {
9699               s/^0  *\([^ ]*\) *$/\1/
9700               p
9701           }
9702       }'
9703   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9704   # Check for a 64-bit object if we didn't find anything.
9705   if test -z "$lt_cv_aix_libpath_"; then
9706     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9707   fi
9708 fi
9709 rm -f core conftest.err conftest.$ac_objext \
9710     conftest$ac_exeext conftest.$ac_ext
9711   if test -z "$lt_cv_aix_libpath_"; then
9712     lt_cv_aix_libpath_="/usr/lib:/lib"
9713   fi
9714
9715 fi
9716
9717   aix_libpath=$lt_cv_aix_libpath_
9718 fi
9719
9720         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9721         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"
9722       else
9723         if test "$host_cpu" = ia64; then
9724           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9725           allow_undefined_flag="-z nodefs"
9726           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"
9727         else
9728          # Determine the default libpath from the value encoded in an
9729          # empty executable.
9730          if test "${lt_cv_aix_libpath+set}" = set; then
9731   aix_libpath=$lt_cv_aix_libpath
9732 else
9733   if ${lt_cv_aix_libpath_+:} false; then :
9734   $as_echo_n "(cached) " >&6
9735 else
9736   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9737 /* end confdefs.h.  */
9738
9739 int
9740 main ()
9741 {
9742
9743   ;
9744   return 0;
9745 }
9746 _ACEOF
9747 if ac_fn_c_try_link "$LINENO"; then :
9748
9749   lt_aix_libpath_sed='
9750       /Import File Strings/,/^$/ {
9751           /^0/ {
9752               s/^0  *\([^ ]*\) *$/\1/
9753               p
9754           }
9755       }'
9756   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9757   # Check for a 64-bit object if we didn't find anything.
9758   if test -z "$lt_cv_aix_libpath_"; then
9759     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9760   fi
9761 fi
9762 rm -f core conftest.err conftest.$ac_objext \
9763     conftest$ac_exeext conftest.$ac_ext
9764   if test -z "$lt_cv_aix_libpath_"; then
9765     lt_cv_aix_libpath_="/usr/lib:/lib"
9766   fi
9767
9768 fi
9769
9770   aix_libpath=$lt_cv_aix_libpath_
9771 fi
9772
9773          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9774           # Warning - without using the other run time loading flags,
9775           # -berok will link without error, but may produce a broken library.
9776           no_undefined_flag=' ${wl}-bernotok'
9777           allow_undefined_flag=' ${wl}-berok'
9778           if test "$with_gnu_ld" = yes; then
9779             # We only use this code for GNU lds that support --whole-archive.
9780             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9781           else
9782             # Exported symbols can be pulled into shared objects from archives
9783             whole_archive_flag_spec='$convenience'
9784           fi
9785           archive_cmds_need_lc=yes
9786           # This is similar to how AIX traditionally builds its shared libraries.
9787           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'
9788         fi
9789       fi
9790       ;;
9791
9792     amigaos*)
9793       case $host_cpu in
9794       powerpc)
9795             # see comment about AmigaOS4 .so support
9796             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9797             archive_expsym_cmds=''
9798         ;;
9799       m68k)
9800             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)'
9801             hardcode_libdir_flag_spec='-L$libdir'
9802             hardcode_minus_L=yes
9803         ;;
9804       esac
9805       ;;
9806
9807     bsdi[45]*)
9808       export_dynamic_flag_spec=-rdynamic
9809       ;;
9810
9811     cygwin* | mingw* | pw32* | cegcc*)
9812       # When not using gcc, we currently assume that we are using
9813       # Microsoft Visual C++.
9814       # hardcode_libdir_flag_spec is actually meaningless, as there is
9815       # no search path for DLLs.
9816       case $cc_basename in
9817       cl*)
9818         # Native MSVC
9819         hardcode_libdir_flag_spec=' '
9820         allow_undefined_flag=unsupported
9821         always_export_symbols=yes
9822         file_list_spec='@'
9823         # Tell ltmain to make .lib files, not .a files.
9824         libext=lib
9825         # Tell ltmain to make .dll files, not .so files.
9826         shrext_cmds=".dll"
9827         # FIXME: Setting linknames here is a bad hack.
9828         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9829         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9830             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9831           else
9832             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9833           fi~
9834           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9835           linknames='
9836         # The linker will not automatically build a static lib if we build a DLL.
9837         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9838         enable_shared_with_static_runtimes=yes
9839         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9840         # Don't use ranlib
9841         old_postinstall_cmds='chmod 644 $oldlib'
9842         postlink_cmds='lt_outputfile="@OUTPUT@"~
9843           lt_tool_outputfile="@TOOL_OUTPUT@"~
9844           case $lt_outputfile in
9845             *.exe|*.EXE) ;;
9846             *)
9847               lt_outputfile="$lt_outputfile.exe"
9848               lt_tool_outputfile="$lt_tool_outputfile.exe"
9849               ;;
9850           esac~
9851           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9852             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9853             $RM "$lt_outputfile.manifest";
9854           fi'
9855         ;;
9856       *)
9857         # Assume MSVC wrapper
9858         hardcode_libdir_flag_spec=' '
9859         allow_undefined_flag=unsupported
9860         # Tell ltmain to make .lib files, not .a files.
9861         libext=lib
9862         # Tell ltmain to make .dll files, not .so files.
9863         shrext_cmds=".dll"
9864         # FIXME: Setting linknames here is a bad hack.
9865         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9866         # The linker will automatically build a .lib file if we build a DLL.
9867         old_archive_from_new_cmds='true'
9868         # FIXME: Should let the user specify the lib program.
9869         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9870         enable_shared_with_static_runtimes=yes
9871         ;;
9872       esac
9873       ;;
9874
9875     darwin* | rhapsody*)
9876
9877
9878   archive_cmds_need_lc=no
9879   hardcode_direct=no
9880   hardcode_automatic=yes
9881   hardcode_shlibpath_var=unsupported
9882   if test "$lt_cv_ld_force_load" = "yes"; then
9883     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\"`'
9884   else
9885     whole_archive_flag_spec=''
9886   fi
9887   link_all_deplibs=yes
9888   allow_undefined_flag="$_lt_dar_allow_undefined"
9889   case $cc_basename in
9890      ifort*) _lt_dar_can_shared=yes ;;
9891      *) _lt_dar_can_shared=$GCC ;;
9892   esac
9893   if test "$_lt_dar_can_shared" = "yes"; then
9894     output_verbose_link_cmd=func_echo_all
9895     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9896     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9897     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}"
9898     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}"
9899
9900   else
9901   ld_shlibs=no
9902   fi
9903
9904       ;;
9905
9906     dgux*)
9907       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9908       hardcode_libdir_flag_spec='-L$libdir'
9909       hardcode_shlibpath_var=no
9910       ;;
9911
9912     freebsd1*)
9913       ld_shlibs=no
9914       ;;
9915
9916     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9917     # support.  Future versions do this automatically, but an explicit c++rt0.o
9918     # does not break anything, and helps significantly (at the cost of a little
9919     # extra space).
9920     freebsd2.2*)
9921       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9922       hardcode_libdir_flag_spec='-R$libdir'
9923       hardcode_direct=yes
9924       hardcode_shlibpath_var=no
9925       ;;
9926
9927     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9928     freebsd2*)
9929       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9930       hardcode_direct=yes
9931       hardcode_minus_L=yes
9932       hardcode_shlibpath_var=no
9933       ;;
9934
9935     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9936     freebsd* | dragonfly*)
9937       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9938       hardcode_libdir_flag_spec='-R$libdir'
9939       hardcode_direct=yes
9940       hardcode_shlibpath_var=no
9941       ;;
9942
9943     hpux9*)
9944       if test "$GCC" = yes; then
9945         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'
9946       else
9947         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'
9948       fi
9949       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9950       hardcode_libdir_separator=:
9951       hardcode_direct=yes
9952
9953       # hardcode_minus_L: Not really in the search PATH,
9954       # but as the default location of the library.
9955       hardcode_minus_L=yes
9956       export_dynamic_flag_spec='${wl}-E'
9957       ;;
9958
9959     hpux10*)
9960       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9961         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9962       else
9963         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9964       fi
9965       if test "$with_gnu_ld" = no; then
9966         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9967         hardcode_libdir_flag_spec_ld='+b $libdir'
9968         hardcode_libdir_separator=:
9969         hardcode_direct=yes
9970         hardcode_direct_absolute=yes
9971         export_dynamic_flag_spec='${wl}-E'
9972         # hardcode_minus_L: Not really in the search PATH,
9973         # but as the default location of the library.
9974         hardcode_minus_L=yes
9975       fi
9976       ;;
9977
9978     hpux11*)
9979       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9980         case $host_cpu in
9981         hppa*64*)
9982           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9983           ;;
9984         ia64*)
9985           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9986           ;;
9987         *)
9988           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9989           ;;
9990         esac
9991       else
9992         case $host_cpu in
9993         hppa*64*)
9994           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9995           ;;
9996         ia64*)
9997           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9998           ;;
9999         *)
10000
10001           # Older versions of the 11.00 compiler do not understand -b yet
10002           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10003           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10004 $as_echo_n "checking if $CC understands -b... " >&6; }
10005 if ${lt_cv_prog_compiler__b+:} false; then :
10006   $as_echo_n "(cached) " >&6
10007 else
10008   lt_cv_prog_compiler__b=no
10009    save_LDFLAGS="$LDFLAGS"
10010    LDFLAGS="$LDFLAGS -b"
10011    echo "$lt_simple_link_test_code" > conftest.$ac_ext
10012    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10013      # The linker can only warn and ignore the option if not recognized
10014      # So say no if there are warnings
10015      if test -s conftest.err; then
10016        # Append any errors to the config.log.
10017        cat conftest.err 1>&5
10018        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10019        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10020        if diff conftest.exp conftest.er2 >/dev/null; then
10021          lt_cv_prog_compiler__b=yes
10022        fi
10023      else
10024        lt_cv_prog_compiler__b=yes
10025      fi
10026    fi
10027    $RM -r conftest*
10028    LDFLAGS="$save_LDFLAGS"
10029
10030 fi
10031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10032 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10033
10034 if test x"$lt_cv_prog_compiler__b" = xyes; then
10035     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10036 else
10037     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10038 fi
10039
10040           ;;
10041         esac
10042       fi
10043       if test "$with_gnu_ld" = no; then
10044         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10045         hardcode_libdir_separator=:
10046
10047         case $host_cpu in
10048         hppa*64*|ia64*)
10049           hardcode_direct=no
10050           hardcode_shlibpath_var=no
10051           ;;
10052         *)
10053           hardcode_direct=yes
10054           hardcode_direct_absolute=yes
10055           export_dynamic_flag_spec='${wl}-E'
10056
10057           # hardcode_minus_L: Not really in the search PATH,
10058           # but as the default location of the library.
10059           hardcode_minus_L=yes
10060           ;;
10061         esac
10062       fi
10063       ;;
10064
10065     irix5* | irix6* | nonstopux*)
10066       if test "$GCC" = yes; then
10067         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'
10068         # Try to use the -exported_symbol ld option, if it does not
10069         # work, assume that -exports_file does not work either and
10070         # implicitly export all symbols.
10071         # This should be the same for all languages, so no per-tag cache variable.
10072         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10073 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10074 if ${lt_cv_irix_exported_symbol+:} false; then :
10075   $as_echo_n "(cached) " >&6
10076 else
10077   save_LDFLAGS="$LDFLAGS"
10078            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10079            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10080 /* end confdefs.h.  */
10081 int foo (void) { return 0; }
10082 _ACEOF
10083 if ac_fn_c_try_link "$LINENO"; then :
10084   lt_cv_irix_exported_symbol=yes
10085 else
10086   lt_cv_irix_exported_symbol=no
10087 fi
10088 rm -f core conftest.err conftest.$ac_objext \
10089     conftest$ac_exeext conftest.$ac_ext
10090            LDFLAGS="$save_LDFLAGS"
10091 fi
10092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10093 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10094         if test "$lt_cv_irix_exported_symbol" = yes; then
10095           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'
10096         fi
10097       else
10098         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'
10099         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'
10100       fi
10101       archive_cmds_need_lc='no'
10102       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10103       hardcode_libdir_separator=:
10104       inherit_rpath=yes
10105       link_all_deplibs=yes
10106       ;;
10107
10108     netbsd*)
10109       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10110         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10111       else
10112         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10113       fi
10114       hardcode_libdir_flag_spec='-R$libdir'
10115       hardcode_direct=yes
10116       hardcode_shlibpath_var=no
10117       ;;
10118
10119     newsos6)
10120       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10121       hardcode_direct=yes
10122       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10123       hardcode_libdir_separator=:
10124       hardcode_shlibpath_var=no
10125       ;;
10126
10127     *nto* | *qnx*)
10128       ;;
10129
10130     openbsd*)
10131       if test -f /usr/libexec/ld.so; then
10132         hardcode_direct=yes
10133         hardcode_shlibpath_var=no
10134         hardcode_direct_absolute=yes
10135         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10136           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10137           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10138           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10139           export_dynamic_flag_spec='${wl}-E'
10140         else
10141           case $host_os in
10142            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10143              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10144              hardcode_libdir_flag_spec='-R$libdir'
10145              ;;
10146            *)
10147              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10148              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10149              ;;
10150           esac
10151         fi
10152       else
10153         ld_shlibs=no
10154       fi
10155       ;;
10156
10157     os2*)
10158       hardcode_libdir_flag_spec='-L$libdir'
10159       hardcode_minus_L=yes
10160       allow_undefined_flag=unsupported
10161       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'
10162       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10163       ;;
10164
10165     osf3*)
10166       if test "$GCC" = yes; then
10167         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10168         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'
10169       else
10170         allow_undefined_flag=' -expect_unresolved \*'
10171         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'
10172       fi
10173       archive_cmds_need_lc='no'
10174       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10175       hardcode_libdir_separator=:
10176       ;;
10177
10178     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10179       if test "$GCC" = yes; then
10180         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10181         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'
10182         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10183       else
10184         allow_undefined_flag=' -expect_unresolved \*'
10185         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'
10186         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~
10187         $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'
10188
10189         # Both c and cxx compiler support -rpath directly
10190         hardcode_libdir_flag_spec='-rpath $libdir'
10191       fi
10192       archive_cmds_need_lc='no'
10193       hardcode_libdir_separator=:
10194       ;;
10195
10196     solaris*)
10197       no_undefined_flag=' -z defs'
10198       if test "$GCC" = yes; then
10199         wlarc='${wl}'
10200         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10201         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10202           $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'
10203       else
10204         case `$CC -V 2>&1` in
10205         *"Compilers 5.0"*)
10206           wlarc=''
10207           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10208           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10209           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10210           ;;
10211         *)
10212           wlarc='${wl}'
10213           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10214           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10215           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10216           ;;
10217         esac
10218       fi
10219       hardcode_libdir_flag_spec='-R$libdir'
10220       hardcode_shlibpath_var=no
10221       case $host_os in
10222       solaris2.[0-5] | solaris2.[0-5].*) ;;
10223       *)
10224         # The compiler driver will combine and reorder linker options,
10225         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10226         # but is careful enough not to reorder.
10227         # Supported since Solaris 2.6 (maybe 2.5.1?)
10228         if test "$GCC" = yes; then
10229           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10230         else
10231           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10232         fi
10233         ;;
10234       esac
10235       link_all_deplibs=yes
10236       ;;
10237
10238     sunos4*)
10239       if test "x$host_vendor" = xsequent; then
10240         # Use $CC to link under sequent, because it throws in some extra .o
10241         # files that make .init and .fini sections work.
10242         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10243       else
10244         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10245       fi
10246       hardcode_libdir_flag_spec='-L$libdir'
10247       hardcode_direct=yes
10248       hardcode_minus_L=yes
10249       hardcode_shlibpath_var=no
10250       ;;
10251
10252     sysv4)
10253       case $host_vendor in
10254         sni)
10255           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10256           hardcode_direct=yes # is this really true???
10257         ;;
10258         siemens)
10259           ## LD is ld it makes a PLAMLIB
10260           ## CC just makes a GrossModule.
10261           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10262           reload_cmds='$CC -r -o $output$reload_objs'
10263           hardcode_direct=no
10264         ;;
10265         motorola)
10266           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10267           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10268         ;;
10269       esac
10270       runpath_var='LD_RUN_PATH'
10271       hardcode_shlibpath_var=no
10272       ;;
10273
10274     sysv4.3*)
10275       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10276       hardcode_shlibpath_var=no
10277       export_dynamic_flag_spec='-Bexport'
10278       ;;
10279
10280     sysv4*MP*)
10281       if test -d /usr/nec; then
10282         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10283         hardcode_shlibpath_var=no
10284         runpath_var=LD_RUN_PATH
10285         hardcode_runpath_var=yes
10286         ld_shlibs=yes
10287       fi
10288       ;;
10289
10290     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10291       no_undefined_flag='${wl}-z,text'
10292       archive_cmds_need_lc=no
10293       hardcode_shlibpath_var=no
10294       runpath_var='LD_RUN_PATH'
10295
10296       if test "$GCC" = yes; then
10297         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10298         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10299       else
10300         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10301         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10302       fi
10303       ;;
10304
10305     sysv5* | sco3.2v5* | sco5v6*)
10306       # Note: We can NOT use -z defs as we might desire, because we do not
10307       # link with -lc, and that would cause any symbols used from libc to
10308       # always be unresolved, which means just about no library would
10309       # ever link correctly.  If we're not using GNU ld we use -z text
10310       # though, which does catch some bad symbols but isn't as heavy-handed
10311       # as -z defs.
10312       no_undefined_flag='${wl}-z,text'
10313       allow_undefined_flag='${wl}-z,nodefs'
10314       archive_cmds_need_lc=no
10315       hardcode_shlibpath_var=no
10316       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10317       hardcode_libdir_separator=':'
10318       link_all_deplibs=yes
10319       export_dynamic_flag_spec='${wl}-Bexport'
10320       runpath_var='LD_RUN_PATH'
10321
10322       if test "$GCC" = yes; then
10323         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10324         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10325       else
10326         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10327         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10328       fi
10329       ;;
10330
10331     uts4*)
10332       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10333       hardcode_libdir_flag_spec='-L$libdir'
10334       hardcode_shlibpath_var=no
10335       ;;
10336
10337     *)
10338       ld_shlibs=no
10339       ;;
10340     esac
10341
10342     if test x$host_vendor = xsni; then
10343       case $host in
10344       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10345         export_dynamic_flag_spec='${wl}-Blargedynsym'
10346         ;;
10347       esac
10348     fi
10349   fi
10350
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10352 $as_echo "$ld_shlibs" >&6; }
10353 test "$ld_shlibs" = no && can_build_shared=no
10354
10355 with_gnu_ld=$with_gnu_ld
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371 #
10372 # Do we need to explicitly link libc?
10373 #
10374 case "x$archive_cmds_need_lc" in
10375 x|xyes)
10376   # Assume -lc should be added
10377   archive_cmds_need_lc=yes
10378
10379   if test "$enable_shared" = yes && test "$GCC" = yes; then
10380     case $archive_cmds in
10381     *'~'*)
10382       # FIXME: we may have to deal with multi-command sequences.
10383       ;;
10384     '$CC '*)
10385       # Test whether the compiler implicitly links with -lc since on some
10386       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10387       # to ld, don't add -lc before -lgcc.
10388       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10389 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10390 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10391   $as_echo_n "(cached) " >&6
10392 else
10393   $RM conftest*
10394         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10395
10396         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10397   (eval $ac_compile) 2>&5
10398   ac_status=$?
10399   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10400   test $ac_status = 0; } 2>conftest.err; then
10401           soname=conftest
10402           lib=conftest
10403           libobjs=conftest.$ac_objext
10404           deplibs=
10405           wl=$lt_prog_compiler_wl
10406           pic_flag=$lt_prog_compiler_pic
10407           compiler_flags=-v
10408           linker_flags=-v
10409           verstring=
10410           output_objdir=.
10411           libname=conftest
10412           lt_save_allow_undefined_flag=$allow_undefined_flag
10413           allow_undefined_flag=
10414           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10415   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10416   ac_status=$?
10417   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10418   test $ac_status = 0; }
10419           then
10420             lt_cv_archive_cmds_need_lc=no
10421           else
10422             lt_cv_archive_cmds_need_lc=yes
10423           fi
10424           allow_undefined_flag=$lt_save_allow_undefined_flag
10425         else
10426           cat conftest.err 1>&5
10427         fi
10428         $RM conftest*
10429
10430 fi
10431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10432 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10433       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10434       ;;
10435     esac
10436   fi
10437   ;;
10438 esac
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10597 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10598
10599 if test "$GCC" = yes; then
10600   case $host_os in
10601     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10602     *) lt_awk_arg="/^libraries:/" ;;
10603   esac
10604   case $host_os in
10605     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10606     *) lt_sed_strip_eq="s,=/,/,g" ;;
10607   esac
10608   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10609   case $lt_search_path_spec in
10610   *\;*)
10611     # if the path contains ";" then we assume it to be the separator
10612     # otherwise default to the standard path separator (i.e. ":") - it is
10613     # assumed that no part of a normal pathname contains ";" but that should
10614     # okay in the real world where ";" in dirpaths is itself problematic.
10615     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10616     ;;
10617   *)
10618     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10619     ;;
10620   esac
10621   # Ok, now we have the path, separated by spaces, we can step through it
10622   # and add multilib dir if necessary.
10623   lt_tmp_lt_search_path_spec=
10624   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10625   for lt_sys_path in $lt_search_path_spec; do
10626     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10627       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10628     else
10629       test -d "$lt_sys_path" && \
10630         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10631     fi
10632   done
10633   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10634 BEGIN {RS=" "; FS="/|\n";} {
10635   lt_foo="";
10636   lt_count=0;
10637   for (lt_i = NF; lt_i > 0; lt_i--) {
10638     if ($lt_i != "" && $lt_i != ".") {
10639       if ($lt_i == "..") {
10640         lt_count++;
10641       } else {
10642         if (lt_count == 0) {
10643           lt_foo="/" $lt_i lt_foo;
10644         } else {
10645           lt_count--;
10646         }
10647       }
10648     }
10649   }
10650   if (lt_foo != "") { lt_freq[lt_foo]++; }
10651   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10652 }'`
10653   # AWK program above erroneously prepends '/' to C:/dos/paths
10654   # for these hosts.
10655   case $host_os in
10656     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10657       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10658   esac
10659   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10660 else
10661   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10662 fi
10663 library_names_spec=
10664 libname_spec='lib$name'
10665 soname_spec=
10666 shrext_cmds=".so"
10667 postinstall_cmds=
10668 postuninstall_cmds=
10669 finish_cmds=
10670 finish_eval=
10671 shlibpath_var=
10672 shlibpath_overrides_runpath=unknown
10673 version_type=none
10674 dynamic_linker="$host_os ld.so"
10675 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10676 need_lib_prefix=unknown
10677 hardcode_into_libs=no
10678
10679 # when you set need_version to no, make sure it does not cause -set_version
10680 # flags to be left without arguments
10681 need_version=unknown
10682
10683 case $host_os in
10684 aix3*)
10685   version_type=linux
10686   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10687   shlibpath_var=LIBPATH
10688
10689   # AIX 3 has no versioning support, so we append a major version to the name.
10690   soname_spec='${libname}${release}${shared_ext}$major'
10691   ;;
10692
10693 aix[4-9]*)
10694   version_type=linux
10695   need_lib_prefix=no
10696   need_version=no
10697   hardcode_into_libs=yes
10698   if test "$host_cpu" = ia64; then
10699     # AIX 5 supports IA64
10700     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10701     shlibpath_var=LD_LIBRARY_PATH
10702   else
10703     # With GCC up to 2.95.x, collect2 would create an import file
10704     # for dependence libraries.  The import file would start with
10705     # the line `#! .'.  This would cause the generated library to
10706     # depend on `.', always an invalid library.  This was fixed in
10707     # development snapshots of GCC prior to 3.0.
10708     case $host_os in
10709       aix4 | aix4.[01] | aix4.[01].*)
10710       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10711            echo ' yes '
10712            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10713         :
10714       else
10715         can_build_shared=no
10716       fi
10717       ;;
10718     esac
10719     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10720     # soname into executable. Probably we can add versioning support to
10721     # collect2, so additional links can be useful in future.
10722     if test "$aix_use_runtimelinking" = yes; then
10723       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10724       # instead of lib<name>.a to let people know that these are not
10725       # typical AIX shared libraries.
10726       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10727     else
10728       # We preserve .a as extension for shared libraries through AIX4.2
10729       # and later when we are not doing run time linking.
10730       library_names_spec='${libname}${release}.a $libname.a'
10731       soname_spec='${libname}${release}${shared_ext}$major'
10732     fi
10733     shlibpath_var=LIBPATH
10734   fi
10735   ;;
10736
10737 amigaos*)
10738   case $host_cpu in
10739   powerpc)
10740     # Since July 2007 AmigaOS4 officially supports .so libraries.
10741     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10742     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10743     ;;
10744   m68k)
10745     library_names_spec='$libname.ixlibrary $libname.a'
10746     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10747     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'
10748     ;;
10749   esac
10750   ;;
10751
10752 beos*)
10753   library_names_spec='${libname}${shared_ext}'
10754   dynamic_linker="$host_os ld.so"
10755   shlibpath_var=LIBRARY_PATH
10756   ;;
10757
10758 bsdi[45]*)
10759   version_type=linux
10760   need_version=no
10761   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10762   soname_spec='${libname}${release}${shared_ext}$major'
10763   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10764   shlibpath_var=LD_LIBRARY_PATH
10765   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10766   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10767   # the default ld.so.conf also contains /usr/contrib/lib and
10768   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10769   # libtool to hard-code these into programs
10770   ;;
10771
10772 cygwin* | mingw* | pw32* | cegcc*)
10773   version_type=windows
10774   shrext_cmds=".dll"
10775   need_version=no
10776   need_lib_prefix=no
10777
10778   case $GCC,$cc_basename in
10779   yes,*)
10780     # gcc
10781     library_names_spec='$libname.dll.a'
10782     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10783     postinstall_cmds='base_file=`basename \${file}`~
10784       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10785       dldir=$destdir/`dirname \$dlpath`~
10786       test -d \$dldir || mkdir -p \$dldir~
10787       $install_prog $dir/$dlname \$dldir/$dlname~
10788       chmod a+x \$dldir/$dlname~
10789       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10790         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10791       fi'
10792     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10793       dlpath=$dir/\$dldll~
10794        $RM \$dlpath'
10795     shlibpath_overrides_runpath=yes
10796
10797     case $host_os in
10798     cygwin*)
10799       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10800       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10801
10802       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10803       ;;
10804     mingw* | cegcc*)
10805       # MinGW DLLs use traditional 'lib' prefix
10806       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10807       ;;
10808     pw32*)
10809       # pw32 DLLs use 'pw' prefix rather than 'lib'
10810       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10811       ;;
10812     esac
10813     dynamic_linker='Win32 ld.exe'
10814     ;;
10815
10816   *,cl*)
10817     # Native MSVC
10818     libname_spec='$name'
10819     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10820     library_names_spec='${libname}.dll.lib'
10821
10822     case $build_os in
10823     mingw*)
10824       sys_lib_search_path_spec=
10825       lt_save_ifs=$IFS
10826       IFS=';'
10827       for lt_path in $LIB
10828       do
10829         IFS=$lt_save_ifs
10830         # Let DOS variable expansion print the short 8.3 style file name.
10831         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10832         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10833       done
10834       IFS=$lt_save_ifs
10835       # Convert to MSYS style.
10836       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10837       ;;
10838     cygwin*)
10839       # Convert to unix form, then to dos form, then back to unix form
10840       # but this time dos style (no spaces!) so that the unix form looks
10841       # like /cygdrive/c/PROGRA~1:/cygdr...
10842       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10843       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10844       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10845       ;;
10846     *)
10847       sys_lib_search_path_spec="$LIB"
10848       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10849         # It is most probably a Windows format PATH.
10850         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10851       else
10852         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10853       fi
10854       # FIXME: find the short name or the path components, as spaces are
10855       # common. (e.g. "Program Files" -> "PROGRA~1")
10856       ;;
10857     esac
10858
10859     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10860     postinstall_cmds='base_file=`basename \${file}`~
10861       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10862       dldir=$destdir/`dirname \$dlpath`~
10863       test -d \$dldir || mkdir -p \$dldir~
10864       $install_prog $dir/$dlname \$dldir/$dlname'
10865     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10866       dlpath=$dir/\$dldll~
10867        $RM \$dlpath'
10868     shlibpath_overrides_runpath=yes
10869     dynamic_linker='Win32 link.exe'
10870     ;;
10871
10872   *)
10873     # Assume MSVC wrapper
10874     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10875     dynamic_linker='Win32 ld.exe'
10876     ;;
10877   esac
10878   # FIXME: first we should search . and the directory the executable is in
10879   shlibpath_var=PATH
10880   ;;
10881
10882 darwin* | rhapsody*)
10883   dynamic_linker="$host_os dyld"
10884   version_type=darwin
10885   need_lib_prefix=no
10886   need_version=no
10887   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10888   soname_spec='${libname}${release}${major}$shared_ext'
10889   shlibpath_overrides_runpath=yes
10890   shlibpath_var=DYLD_LIBRARY_PATH
10891   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10892
10893   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10894   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10895   ;;
10896
10897 dgux*)
10898   version_type=linux
10899   need_lib_prefix=no
10900   need_version=no
10901   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10902   soname_spec='${libname}${release}${shared_ext}$major'
10903   shlibpath_var=LD_LIBRARY_PATH
10904   ;;
10905
10906 freebsd1*)
10907   dynamic_linker=no
10908   ;;
10909
10910 freebsd* | dragonfly*)
10911   # DragonFly does not have aout.  When/if they implement a new
10912   # versioning mechanism, adjust this.
10913   if test -x /usr/bin/objformat; then
10914     objformat=`/usr/bin/objformat`
10915   else
10916     case $host_os in
10917     freebsd[123]*) objformat=aout ;;
10918     *) objformat=elf ;;
10919     esac
10920   fi
10921   version_type=freebsd-$objformat
10922   case $version_type in
10923     freebsd-elf*)
10924       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10925       need_version=no
10926       need_lib_prefix=no
10927       ;;
10928     freebsd-*)
10929       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10930       need_version=yes
10931       ;;
10932   esac
10933   shlibpath_var=LD_LIBRARY_PATH
10934   case $host_os in
10935   freebsd2*)
10936     shlibpath_overrides_runpath=yes
10937     ;;
10938   freebsd3.[01]* | freebsdelf3.[01]*)
10939     shlibpath_overrides_runpath=yes
10940     hardcode_into_libs=yes
10941     ;;
10942   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10943   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10944     shlibpath_overrides_runpath=no
10945     hardcode_into_libs=yes
10946     ;;
10947   *) # from 4.6 on, and DragonFly
10948     shlibpath_overrides_runpath=yes
10949     hardcode_into_libs=yes
10950     ;;
10951   esac
10952   ;;
10953
10954 gnu*)
10955   version_type=linux
10956   need_lib_prefix=no
10957   need_version=no
10958   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10959   soname_spec='${libname}${release}${shared_ext}$major'
10960   shlibpath_var=LD_LIBRARY_PATH
10961   hardcode_into_libs=yes
10962   ;;
10963
10964 haiku*)
10965   version_type=linux
10966   need_lib_prefix=no
10967   need_version=no
10968   dynamic_linker="$host_os runtime_loader"
10969   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10970   soname_spec='${libname}${release}${shared_ext}$major'
10971   shlibpath_var=LIBRARY_PATH
10972   shlibpath_overrides_runpath=yes
10973   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10974   hardcode_into_libs=yes
10975   ;;
10976
10977 hpux9* | hpux10* | hpux11*)
10978   # Give a soname corresponding to the major version so that dld.sl refuses to
10979   # link against other versions.
10980   version_type=sunos
10981   need_lib_prefix=no
10982   need_version=no
10983   case $host_cpu in
10984   ia64*)
10985     shrext_cmds='.so'
10986     hardcode_into_libs=yes
10987     dynamic_linker="$host_os dld.so"
10988     shlibpath_var=LD_LIBRARY_PATH
10989     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10990     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10991     soname_spec='${libname}${release}${shared_ext}$major'
10992     if test "X$HPUX_IA64_MODE" = X32; then
10993       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10994     else
10995       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10996     fi
10997     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10998     ;;
10999   hppa*64*)
11000     shrext_cmds='.sl'
11001     hardcode_into_libs=yes
11002     dynamic_linker="$host_os dld.sl"
11003     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11004     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11005     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11006     soname_spec='${libname}${release}${shared_ext}$major'
11007     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11008     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11009     ;;
11010   *)
11011     shrext_cmds='.sl'
11012     dynamic_linker="$host_os dld.sl"
11013     shlibpath_var=SHLIB_PATH
11014     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11015     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11016     soname_spec='${libname}${release}${shared_ext}$major'
11017     ;;
11018   esac
11019   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11020   postinstall_cmds='chmod 555 $lib'
11021   # or fails outright, so override atomically:
11022   install_override_mode=555
11023   ;;
11024
11025 interix[3-9]*)
11026   version_type=linux
11027   need_lib_prefix=no
11028   need_version=no
11029   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11030   soname_spec='${libname}${release}${shared_ext}$major'
11031   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11032   shlibpath_var=LD_LIBRARY_PATH
11033   shlibpath_overrides_runpath=no
11034   hardcode_into_libs=yes
11035   ;;
11036
11037 irix5* | irix6* | nonstopux*)
11038   case $host_os in
11039     nonstopux*) version_type=nonstopux ;;
11040     *)
11041         if test "$lt_cv_prog_gnu_ld" = yes; then
11042                 version_type=linux
11043         else
11044                 version_type=irix
11045         fi ;;
11046   esac
11047   need_lib_prefix=no
11048   need_version=no
11049   soname_spec='${libname}${release}${shared_ext}$major'
11050   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11051   case $host_os in
11052   irix5* | nonstopux*)
11053     libsuff= shlibsuff=
11054     ;;
11055   *)
11056     case $LD in # libtool.m4 will add one of these switches to LD
11057     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11058       libsuff= shlibsuff= libmagic=32-bit;;
11059     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11060       libsuff=32 shlibsuff=N32 libmagic=N32;;
11061     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11062       libsuff=64 shlibsuff=64 libmagic=64-bit;;
11063     *) libsuff= shlibsuff= libmagic=never-match;;
11064     esac
11065     ;;
11066   esac
11067   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11068   shlibpath_overrides_runpath=no
11069   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11070   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11071   hardcode_into_libs=yes
11072   ;;
11073
11074 # No shared lib support for Linux oldld, aout, or coff.
11075 linux*oldld* | linux*aout* | linux*coff*)
11076   dynamic_linker=no
11077   ;;
11078
11079 # This must be Linux ELF.
11080 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11081   version_type=linux
11082   need_lib_prefix=no
11083   need_version=no
11084   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11085   soname_spec='${libname}${release}${shared_ext}$major'
11086   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11087   shlibpath_var=LD_LIBRARY_PATH
11088   shlibpath_overrides_runpath=no
11089
11090   # Some binutils ld are patched to set DT_RUNPATH
11091   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11092   $as_echo_n "(cached) " >&6
11093 else
11094   lt_cv_shlibpath_overrides_runpath=no
11095     save_LDFLAGS=$LDFLAGS
11096     save_libdir=$libdir
11097     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11098          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11099     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11100 /* end confdefs.h.  */
11101
11102 int
11103 main ()
11104 {
11105
11106   ;
11107   return 0;
11108 }
11109 _ACEOF
11110 if ac_fn_c_try_link "$LINENO"; then :
11111   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11112   lt_cv_shlibpath_overrides_runpath=yes
11113 fi
11114 fi
11115 rm -f core conftest.err conftest.$ac_objext \
11116     conftest$ac_exeext conftest.$ac_ext
11117     LDFLAGS=$save_LDFLAGS
11118     libdir=$save_libdir
11119
11120 fi
11121
11122   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11123
11124   # This implies no fast_install, which is unacceptable.
11125   # Some rework will be needed to allow for fast_install
11126   # before this can be enabled.
11127   hardcode_into_libs=yes
11128
11129   # Add ABI-specific directories to the system library path.
11130   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11131
11132   # Append ld.so.conf contents to the search path
11133   if test -f /etc/ld.so.conf; then
11134     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' ' '`
11135     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11136
11137   fi
11138
11139   # We used to test for /lib/ld.so.1 and disable shared libraries on
11140   # powerpc, because MkLinux only supported shared libraries with the
11141   # GNU dynamic linker.  Since this was broken with cross compilers,
11142   # most powerpc-linux boxes support dynamic linking these days and
11143   # people can always --disable-shared, the test was removed, and we
11144   # assume the GNU/Linux dynamic linker is in use.
11145   dynamic_linker='GNU/Linux ld.so'
11146   ;;
11147
11148 netbsd*)
11149   version_type=sunos
11150   need_lib_prefix=no
11151   need_version=no
11152   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11153     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11154     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11155     dynamic_linker='NetBSD (a.out) ld.so'
11156   else
11157     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11158     soname_spec='${libname}${release}${shared_ext}$major'
11159     dynamic_linker='NetBSD ld.elf_so'
11160   fi
11161   shlibpath_var=LD_LIBRARY_PATH
11162   shlibpath_overrides_runpath=yes
11163   hardcode_into_libs=yes
11164   ;;
11165
11166 newsos6)
11167   version_type=linux
11168   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11169   shlibpath_var=LD_LIBRARY_PATH
11170   shlibpath_overrides_runpath=yes
11171   ;;
11172
11173 *nto* | *qnx*)
11174   version_type=qnx
11175   need_lib_prefix=no
11176   need_version=no
11177   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11178   soname_spec='${libname}${release}${shared_ext}$major'
11179   shlibpath_var=LD_LIBRARY_PATH
11180   shlibpath_overrides_runpath=no
11181   hardcode_into_libs=yes
11182   dynamic_linker='ldqnx.so'
11183   ;;
11184
11185 openbsd*)
11186   version_type=sunos
11187   sys_lib_dlsearch_path_spec="/usr/lib"
11188   need_lib_prefix=no
11189   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11190   case $host_os in
11191     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11192     *)                          need_version=no  ;;
11193   esac
11194   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11195   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11196   shlibpath_var=LD_LIBRARY_PATH
11197   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11198     case $host_os in
11199       openbsd2.[89] | openbsd2.[89].*)
11200         shlibpath_overrides_runpath=no
11201         ;;
11202       *)
11203         shlibpath_overrides_runpath=yes
11204         ;;
11205       esac
11206   else
11207     shlibpath_overrides_runpath=yes
11208   fi
11209   ;;
11210
11211 os2*)
11212   libname_spec='$name'
11213   shrext_cmds=".dll"
11214   need_lib_prefix=no
11215   library_names_spec='$libname${shared_ext} $libname.a'
11216   dynamic_linker='OS/2 ld.exe'
11217   shlibpath_var=LIBPATH
11218   ;;
11219
11220 osf3* | osf4* | osf5*)
11221   version_type=osf
11222   need_lib_prefix=no
11223   need_version=no
11224   soname_spec='${libname}${release}${shared_ext}$major'
11225   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11226   shlibpath_var=LD_LIBRARY_PATH
11227   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11228   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11229   ;;
11230
11231 rdos*)
11232   dynamic_linker=no
11233   ;;
11234
11235 solaris*)
11236   version_type=linux
11237   need_lib_prefix=no
11238   need_version=no
11239   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11240   soname_spec='${libname}${release}${shared_ext}$major'
11241   shlibpath_var=LD_LIBRARY_PATH
11242   shlibpath_overrides_runpath=yes
11243   hardcode_into_libs=yes
11244   # ldd complains unless libraries are executable
11245   postinstall_cmds='chmod +x $lib'
11246   ;;
11247
11248 sunos4*)
11249   version_type=sunos
11250   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11251   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11252   shlibpath_var=LD_LIBRARY_PATH
11253   shlibpath_overrides_runpath=yes
11254   if test "$with_gnu_ld" = yes; then
11255     need_lib_prefix=no
11256   fi
11257   need_version=yes
11258   ;;
11259
11260 sysv4 | sysv4.3*)
11261   version_type=linux
11262   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11263   soname_spec='${libname}${release}${shared_ext}$major'
11264   shlibpath_var=LD_LIBRARY_PATH
11265   case $host_vendor in
11266     sni)
11267       shlibpath_overrides_runpath=no
11268       need_lib_prefix=no
11269       runpath_var=LD_RUN_PATH
11270       ;;
11271     siemens)
11272       need_lib_prefix=no
11273       ;;
11274     motorola)
11275       need_lib_prefix=no
11276       need_version=no
11277       shlibpath_overrides_runpath=no
11278       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11279       ;;
11280   esac
11281   ;;
11282
11283 sysv4*MP*)
11284   if test -d /usr/nec ;then
11285     version_type=linux
11286     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11287     soname_spec='$libname${shared_ext}.$major'
11288     shlibpath_var=LD_LIBRARY_PATH
11289   fi
11290   ;;
11291
11292 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11293   version_type=freebsd-elf
11294   need_lib_prefix=no
11295   need_version=no
11296   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11297   soname_spec='${libname}${release}${shared_ext}$major'
11298   shlibpath_var=LD_LIBRARY_PATH
11299   shlibpath_overrides_runpath=yes
11300   hardcode_into_libs=yes
11301   if test "$with_gnu_ld" = yes; then
11302     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11303   else
11304     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11305     case $host_os in
11306       sco3.2v5*)
11307         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11308         ;;
11309     esac
11310   fi
11311   sys_lib_dlsearch_path_spec='/usr/lib'
11312   ;;
11313
11314 tpf*)
11315   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11316   version_type=linux
11317   need_lib_prefix=no
11318   need_version=no
11319   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11320   shlibpath_var=LD_LIBRARY_PATH
11321   shlibpath_overrides_runpath=no
11322   hardcode_into_libs=yes
11323   ;;
11324
11325 uts4*)
11326   version_type=linux
11327   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11328   soname_spec='${libname}${release}${shared_ext}$major'
11329   shlibpath_var=LD_LIBRARY_PATH
11330   ;;
11331
11332 *)
11333   dynamic_linker=no
11334   ;;
11335 esac
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11337 $as_echo "$dynamic_linker" >&6; }
11338 test "$dynamic_linker" = no && can_build_shared=no
11339
11340 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11341 if test "$GCC" = yes; then
11342   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11343 fi
11344
11345 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11346   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11347 fi
11348 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11349   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11350 fi
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11444 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11445 hardcode_action=
11446 if test -n "$hardcode_libdir_flag_spec" ||
11447    test -n "$runpath_var" ||
11448    test "X$hardcode_automatic" = "Xyes" ; then
11449
11450   # We can hardcode non-existent directories.
11451   if test "$hardcode_direct" != no &&
11452      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11453      # have to relink, otherwise we might link with an installed library
11454      # when we should be linking with a yet-to-be-installed one
11455      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11456      test "$hardcode_minus_L" != no; then
11457     # Linking always hardcodes the temporary library directory.
11458     hardcode_action=relink
11459   else
11460     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11461     hardcode_action=immediate
11462   fi
11463 else
11464   # We cannot hardcode anything, or else we can only hardcode existing
11465   # directories.
11466   hardcode_action=unsupported
11467 fi
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11469 $as_echo "$hardcode_action" >&6; }
11470
11471 if test "$hardcode_action" = relink ||
11472    test "$inherit_rpath" = yes; then
11473   # Fast installation is not supported
11474   enable_fast_install=no
11475 elif test "$shlibpath_overrides_runpath" = yes ||
11476      test "$enable_shared" = no; then
11477   # Fast installation is not necessary
11478   enable_fast_install=needless
11479 fi
11480
11481
11482
11483
11484
11485
11486   if test "x$enable_dlopen" != xyes; then
11487   enable_dlopen=unknown
11488   enable_dlopen_self=unknown
11489   enable_dlopen_self_static=unknown
11490 else
11491   lt_cv_dlopen=no
11492   lt_cv_dlopen_libs=
11493
11494   case $host_os in
11495   beos*)
11496     lt_cv_dlopen="load_add_on"
11497     lt_cv_dlopen_libs=
11498     lt_cv_dlopen_self=yes
11499     ;;
11500
11501   mingw* | pw32* | cegcc*)
11502     lt_cv_dlopen="LoadLibrary"
11503     lt_cv_dlopen_libs=
11504     ;;
11505
11506   cygwin*)
11507     lt_cv_dlopen="dlopen"
11508     lt_cv_dlopen_libs=
11509     ;;
11510
11511   darwin*)
11512   # if libdl is installed we need to link against it
11513     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11514 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11515 if ${ac_cv_lib_dl_dlopen+:} false; then :
11516   $as_echo_n "(cached) " >&6
11517 else
11518   ac_check_lib_save_LIBS=$LIBS
11519 LIBS="-ldl  $LIBS"
11520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11521 /* end confdefs.h.  */
11522
11523 /* Override any GCC internal prototype to avoid an error.
11524    Use char because int might match the return type of a GCC
11525    builtin and then its argument prototype would still apply.  */
11526 #ifdef __cplusplus
11527 extern "C"
11528 #endif
11529 char dlopen ();
11530 int
11531 main ()
11532 {
11533 return dlopen ();
11534   ;
11535   return 0;
11536 }
11537 _ACEOF
11538 if ac_fn_c_try_link "$LINENO"; then :
11539   ac_cv_lib_dl_dlopen=yes
11540 else
11541   ac_cv_lib_dl_dlopen=no
11542 fi
11543 rm -f core conftest.err conftest.$ac_objext \
11544     conftest$ac_exeext conftest.$ac_ext
11545 LIBS=$ac_check_lib_save_LIBS
11546 fi
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11548 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11549 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11550   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11551 else
11552
11553     lt_cv_dlopen="dyld"
11554     lt_cv_dlopen_libs=
11555     lt_cv_dlopen_self=yes
11556
11557 fi
11558
11559     ;;
11560
11561   *)
11562     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11563 if test "x$ac_cv_func_shl_load" = xyes; then :
11564   lt_cv_dlopen="shl_load"
11565 else
11566   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11567 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11568 if ${ac_cv_lib_dld_shl_load+:} false; then :
11569   $as_echo_n "(cached) " >&6
11570 else
11571   ac_check_lib_save_LIBS=$LIBS
11572 LIBS="-ldld  $LIBS"
11573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11574 /* end confdefs.h.  */
11575
11576 /* Override any GCC internal prototype to avoid an error.
11577    Use char because int might match the return type of a GCC
11578    builtin and then its argument prototype would still apply.  */
11579 #ifdef __cplusplus
11580 extern "C"
11581 #endif
11582 char shl_load ();
11583 int
11584 main ()
11585 {
11586 return shl_load ();
11587   ;
11588   return 0;
11589 }
11590 _ACEOF
11591 if ac_fn_c_try_link "$LINENO"; then :
11592   ac_cv_lib_dld_shl_load=yes
11593 else
11594   ac_cv_lib_dld_shl_load=no
11595 fi
11596 rm -f core conftest.err conftest.$ac_objext \
11597     conftest$ac_exeext conftest.$ac_ext
11598 LIBS=$ac_check_lib_save_LIBS
11599 fi
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11601 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11602 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11603   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11604 else
11605   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11606 if test "x$ac_cv_func_dlopen" = xyes; then :
11607   lt_cv_dlopen="dlopen"
11608 else
11609   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11610 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11611 if ${ac_cv_lib_dl_dlopen+:} false; then :
11612   $as_echo_n "(cached) " >&6
11613 else
11614   ac_check_lib_save_LIBS=$LIBS
11615 LIBS="-ldl  $LIBS"
11616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11617 /* end confdefs.h.  */
11618
11619 /* Override any GCC internal prototype to avoid an error.
11620    Use char because int might match the return type of a GCC
11621    builtin and then its argument prototype would still apply.  */
11622 #ifdef __cplusplus
11623 extern "C"
11624 #endif
11625 char dlopen ();
11626 int
11627 main ()
11628 {
11629 return dlopen ();
11630   ;
11631   return 0;
11632 }
11633 _ACEOF
11634 if ac_fn_c_try_link "$LINENO"; then :
11635   ac_cv_lib_dl_dlopen=yes
11636 else
11637   ac_cv_lib_dl_dlopen=no
11638 fi
11639 rm -f core conftest.err conftest.$ac_objext \
11640     conftest$ac_exeext conftest.$ac_ext
11641 LIBS=$ac_check_lib_save_LIBS
11642 fi
11643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11644 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11645 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11646   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11647 else
11648   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11649 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11650 if ${ac_cv_lib_svld_dlopen+:} false; then :
11651   $as_echo_n "(cached) " >&6
11652 else
11653   ac_check_lib_save_LIBS=$LIBS
11654 LIBS="-lsvld  $LIBS"
11655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11656 /* end confdefs.h.  */
11657
11658 /* Override any GCC internal prototype to avoid an error.
11659    Use char because int might match the return type of a GCC
11660    builtin and then its argument prototype would still apply.  */
11661 #ifdef __cplusplus
11662 extern "C"
11663 #endif
11664 char dlopen ();
11665 int
11666 main ()
11667 {
11668 return dlopen ();
11669   ;
11670   return 0;
11671 }
11672 _ACEOF
11673 if ac_fn_c_try_link "$LINENO"; then :
11674   ac_cv_lib_svld_dlopen=yes
11675 else
11676   ac_cv_lib_svld_dlopen=no
11677 fi
11678 rm -f core conftest.err conftest.$ac_objext \
11679     conftest$ac_exeext conftest.$ac_ext
11680 LIBS=$ac_check_lib_save_LIBS
11681 fi
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11683 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11684 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11685   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11686 else
11687   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11688 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11689 if ${ac_cv_lib_dld_dld_link+:} false; then :
11690   $as_echo_n "(cached) " >&6
11691 else
11692   ac_check_lib_save_LIBS=$LIBS
11693 LIBS="-ldld  $LIBS"
11694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11695 /* end confdefs.h.  */
11696
11697 /* Override any GCC internal prototype to avoid an error.
11698    Use char because int might match the return type of a GCC
11699    builtin and then its argument prototype would still apply.  */
11700 #ifdef __cplusplus
11701 extern "C"
11702 #endif
11703 char dld_link ();
11704 int
11705 main ()
11706 {
11707 return dld_link ();
11708   ;
11709   return 0;
11710 }
11711 _ACEOF
11712 if ac_fn_c_try_link "$LINENO"; then :
11713   ac_cv_lib_dld_dld_link=yes
11714 else
11715   ac_cv_lib_dld_dld_link=no
11716 fi
11717 rm -f core conftest.err conftest.$ac_objext \
11718     conftest$ac_exeext conftest.$ac_ext
11719 LIBS=$ac_check_lib_save_LIBS
11720 fi
11721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11722 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11723 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11724   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11725 fi
11726
11727
11728 fi
11729
11730
11731 fi
11732
11733
11734 fi
11735
11736
11737 fi
11738
11739
11740 fi
11741
11742     ;;
11743   esac
11744
11745   if test "x$lt_cv_dlopen" != xno; then
11746     enable_dlopen=yes
11747   else
11748     enable_dlopen=no
11749   fi
11750
11751   case $lt_cv_dlopen in
11752   dlopen)
11753     save_CPPFLAGS="$CPPFLAGS"
11754     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11755
11756     save_LDFLAGS="$LDFLAGS"
11757     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11758
11759     save_LIBS="$LIBS"
11760     LIBS="$lt_cv_dlopen_libs $LIBS"
11761
11762     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11763 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11764 if ${lt_cv_dlopen_self+:} false; then :
11765   $as_echo_n "(cached) " >&6
11766 else
11767           if test "$cross_compiling" = yes; then :
11768   lt_cv_dlopen_self=cross
11769 else
11770   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11771   lt_status=$lt_dlunknown
11772   cat > conftest.$ac_ext <<_LT_EOF
11773 #line $LINENO "configure"
11774 #include "confdefs.h"
11775
11776 #if HAVE_DLFCN_H
11777 #include <dlfcn.h>
11778 #endif
11779
11780 #include <stdio.h>
11781
11782 #ifdef RTLD_GLOBAL
11783 #  define LT_DLGLOBAL           RTLD_GLOBAL
11784 #else
11785 #  ifdef DL_GLOBAL
11786 #    define LT_DLGLOBAL         DL_GLOBAL
11787 #  else
11788 #    define LT_DLGLOBAL         0
11789 #  endif
11790 #endif
11791
11792 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11793    find out it does not work in some platform. */
11794 #ifndef LT_DLLAZY_OR_NOW
11795 #  ifdef RTLD_LAZY
11796 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11797 #  else
11798 #    ifdef DL_LAZY
11799 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11800 #    else
11801 #      ifdef RTLD_NOW
11802 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11803 #      else
11804 #        ifdef DL_NOW
11805 #          define LT_DLLAZY_OR_NOW      DL_NOW
11806 #        else
11807 #          define LT_DLLAZY_OR_NOW      0
11808 #        endif
11809 #      endif
11810 #    endif
11811 #  endif
11812 #endif
11813
11814 /* When -fvisbility=hidden is used, assume the code has been annotated
11815    correspondingly for the symbols needed.  */
11816 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11817 int fnord () __attribute__((visibility("default")));
11818 #endif
11819
11820 int fnord () { return 42; }
11821 int main ()
11822 {
11823   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11824   int status = $lt_dlunknown;
11825
11826   if (self)
11827     {
11828       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11829       else
11830         {
11831           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11832           else puts (dlerror ());
11833         }
11834       /* dlclose (self); */
11835     }
11836   else
11837     puts (dlerror ());
11838
11839   return status;
11840 }
11841 _LT_EOF
11842   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11843   (eval $ac_link) 2>&5
11844   ac_status=$?
11845   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11846   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11847     (./conftest; exit; ) >&5 2>/dev/null
11848     lt_status=$?
11849     case x$lt_status in
11850       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11851       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11852       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11853     esac
11854   else :
11855     # compilation failed
11856     lt_cv_dlopen_self=no
11857   fi
11858 fi
11859 rm -fr conftest*
11860
11861
11862 fi
11863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11864 $as_echo "$lt_cv_dlopen_self" >&6; }
11865
11866     if test "x$lt_cv_dlopen_self" = xyes; then
11867       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11868       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11869 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11870 if ${lt_cv_dlopen_self_static+:} false; then :
11871   $as_echo_n "(cached) " >&6
11872 else
11873           if test "$cross_compiling" = yes; then :
11874   lt_cv_dlopen_self_static=cross
11875 else
11876   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11877   lt_status=$lt_dlunknown
11878   cat > conftest.$ac_ext <<_LT_EOF
11879 #line $LINENO "configure"
11880 #include "confdefs.h"
11881
11882 #if HAVE_DLFCN_H
11883 #include <dlfcn.h>
11884 #endif
11885
11886 #include <stdio.h>
11887
11888 #ifdef RTLD_GLOBAL
11889 #  define LT_DLGLOBAL           RTLD_GLOBAL
11890 #else
11891 #  ifdef DL_GLOBAL
11892 #    define LT_DLGLOBAL         DL_GLOBAL
11893 #  else
11894 #    define LT_DLGLOBAL         0
11895 #  endif
11896 #endif
11897
11898 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11899    find out it does not work in some platform. */
11900 #ifndef LT_DLLAZY_OR_NOW
11901 #  ifdef RTLD_LAZY
11902 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11903 #  else
11904 #    ifdef DL_LAZY
11905 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11906 #    else
11907 #      ifdef RTLD_NOW
11908 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11909 #      else
11910 #        ifdef DL_NOW
11911 #          define LT_DLLAZY_OR_NOW      DL_NOW
11912 #        else
11913 #          define LT_DLLAZY_OR_NOW      0
11914 #        endif
11915 #      endif
11916 #    endif
11917 #  endif
11918 #endif
11919
11920 /* When -fvisbility=hidden is used, assume the code has been annotated
11921    correspondingly for the symbols needed.  */
11922 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11923 int fnord () __attribute__((visibility("default")));
11924 #endif
11925
11926 int fnord () { return 42; }
11927 int main ()
11928 {
11929   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11930   int status = $lt_dlunknown;
11931
11932   if (self)
11933     {
11934       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11935       else
11936         {
11937           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11938           else puts (dlerror ());
11939         }
11940       /* dlclose (self); */
11941     }
11942   else
11943     puts (dlerror ());
11944
11945   return status;
11946 }
11947 _LT_EOF
11948   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11949   (eval $ac_link) 2>&5
11950   ac_status=$?
11951   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11952   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11953     (./conftest; exit; ) >&5 2>/dev/null
11954     lt_status=$?
11955     case x$lt_status in
11956       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11957       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11958       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11959     esac
11960   else :
11961     # compilation failed
11962     lt_cv_dlopen_self_static=no
11963   fi
11964 fi
11965 rm -fr conftest*
11966
11967
11968 fi
11969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11970 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11971     fi
11972
11973     CPPFLAGS="$save_CPPFLAGS"
11974     LDFLAGS="$save_LDFLAGS"
11975     LIBS="$save_LIBS"
11976     ;;
11977   esac
11978
11979   case $lt_cv_dlopen_self in
11980   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11981   *) enable_dlopen_self=unknown ;;
11982   esac
11983
11984   case $lt_cv_dlopen_self_static in
11985   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11986   *) enable_dlopen_self_static=unknown ;;
11987   esac
11988 fi
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006 striplib=
12007 old_striplib=
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12009 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12010 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12011   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12012   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12014 $as_echo "yes" >&6; }
12015 else
12016 # FIXME - insert some real tests, host_os isn't really good enough
12017   case $host_os in
12018   darwin*)
12019     if test -n "$STRIP" ; then
12020       striplib="$STRIP -x"
12021       old_striplib="$STRIP -S"
12022       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12023 $as_echo "yes" >&6; }
12024     else
12025       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12026 $as_echo "no" >&6; }
12027     fi
12028     ;;
12029   *)
12030     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12031 $as_echo "no" >&6; }
12032     ;;
12033   esac
12034 fi
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047   # Report which library types will actually be built
12048   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12049 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12051 $as_echo "$can_build_shared" >&6; }
12052
12053   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12054 $as_echo_n "checking whether to build shared libraries... " >&6; }
12055   test "$can_build_shared" = "no" && enable_shared=no
12056
12057   # On AIX, shared libraries and static libraries use the same namespace, and
12058   # are all built from PIC.
12059   case $host_os in
12060   aix3*)
12061     test "$enable_shared" = yes && enable_static=no
12062     if test -n "$RANLIB"; then
12063       archive_cmds="$archive_cmds~\$RANLIB \$lib"
12064       postinstall_cmds='$RANLIB $lib'
12065     fi
12066     ;;
12067
12068   aix[4-9]*)
12069     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12070       test "$enable_shared" = yes && enable_static=no
12071     fi
12072     ;;
12073   esac
12074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12075 $as_echo "$enable_shared" >&6; }
12076
12077   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12078 $as_echo_n "checking whether to build static libraries... " >&6; }
12079   # Make sure either enable_shared or enable_static is yes.
12080   test "$enable_shared" = yes || enable_static=yes
12081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12082 $as_echo "$enable_static" >&6; }
12083
12084
12085
12086
12087 fi
12088 ac_ext=c
12089 ac_cpp='$CPP $CPPFLAGS'
12090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12093
12094 CC="$lt_save_CC"
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108         ac_config_commands="$ac_config_commands libtool"
12109
12110
12111
12112
12113 # Only expand once:
12114
12115
12116
12117
12118 gdu_cv_version_required=0.3.2
12119
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gnome-doc-utils >= $gdu_cv_version_required" >&5
12121 $as_echo_n "checking gnome-doc-utils >= $gdu_cv_version_required... " >&6; }
12122 if test -n "$PKG_CONFIG" && \
12123     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$gdu_cv_version_required\""; } >&5
12124   ($PKG_CONFIG --exists --print-errors "gnome-doc-utils >= $gdu_cv_version_required") 2>&5
12125   ac_status=$?
12126   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12127   test $ac_status = 0; }; then
12128   gdu_cv_have_gdu=yes
12129 else
12130   gdu_cv_have_gdu=no
12131 fi
12132
12133 if test "$gdu_cv_have_gdu" = "yes"; then
12134         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12135 $as_echo "yes" >&6; }
12136         :
12137 else
12138         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12139 $as_echo "no" >&6; }
12140         as_fn_error $? "gnome-doc-utils >= $gdu_cv_version_required not found" "$LINENO" 5
12141 fi
12142
12143
12144
12145 # Check whether --with-help-dir was given.
12146 if test "${with_help_dir+set}" = set; then :
12147   withval=$with_help_dir;
12148 else
12149   with_help_dir='${datadir}/gnome/help'
12150 fi
12151
12152 HELP_DIR="$with_help_dir"
12153
12154
12155
12156 # Check whether --with-omf-dir was given.
12157 if test "${with_omf_dir+set}" = set; then :
12158   withval=$with_omf_dir;
12159 else
12160   with_omf_dir='${datadir}/omf'
12161 fi
12162
12163 OMF_DIR="$with_omf_dir"
12164
12165
12166
12167 # Check whether --with-help-formats was given.
12168 if test "${with_help_formats+set}" = set; then :
12169   withval=$with_help_formats;
12170 else
12171   with_help_formats=''
12172 fi
12173
12174 DOC_USER_FORMATS="$with_help_formats"
12175
12176
12177 # Check whether --enable-scrollkeeper was given.
12178 if test "${enable_scrollkeeper+set}" = set; then :
12179   enableval=$enable_scrollkeeper;
12180 else
12181   enable_scrollkeeper=yes
12182 fi
12183
12184  if test "$gdu_cv_have_gdu" = "yes" -a "$enable_scrollkeeper" = "yes"; then
12185   ENABLE_SK_TRUE=
12186   ENABLE_SK_FALSE='#'
12187 else
12188   ENABLE_SK_TRUE='#'
12189   ENABLE_SK_FALSE=
12190 fi
12191
12192
12193 DISTCHECK_CONFIGURE_FLAGS="--disable-scrollkeeper $DISTCHECK_CONFIGURE_FLAGS"
12194
12195
12196  if test "$gdu_cv_have_gdu" = "yes"; then
12197   HAVE_GNOME_DOC_UTILS_TRUE=
12198   HAVE_GNOME_DOC_UTILS_FALSE='#'
12199 else
12200   HAVE_GNOME_DOC_UTILS_TRUE='#'
12201   HAVE_GNOME_DOC_UTILS_FALSE=
12202 fi
12203
12204
12205
12206
12207
12208     # Extract the first word of "gtkdoc-check", so it can be a program name with args.
12209 set dummy gtkdoc-check; ac_word=$2
12210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12211 $as_echo_n "checking for $ac_word... " >&6; }
12212 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
12213   $as_echo_n "(cached) " >&6
12214 else
12215   case $GTKDOC_CHECK in
12216   [\\/]* | ?:[\\/]*)
12217   ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
12218   ;;
12219   *)
12220   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12221 for as_dir in $PATH
12222 do
12223   IFS=$as_save_IFS
12224   test -z "$as_dir" && as_dir=.
12225     for ac_exec_ext in '' $ac_executable_extensions; do
12226   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12227     ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
12228     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12229     break 2
12230   fi
12231 done
12232   done
12233 IFS=$as_save_IFS
12234
12235   ;;
12236 esac
12237 fi
12238 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
12239 if test -n "$GTKDOC_CHECK"; then
12240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
12241 $as_echo "$GTKDOC_CHECK" >&6; }
12242 else
12243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12244 $as_echo "no" >&6; }
12245 fi
12246
12247
12248   for ac_prog in gtkdoc-rebase
12249 do
12250   # Extract the first word of "$ac_prog", so it can be a program name with args.
12251 set dummy $ac_prog; ac_word=$2
12252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12253 $as_echo_n "checking for $ac_word... " >&6; }
12254 if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
12255   $as_echo_n "(cached) " >&6
12256 else
12257   case $GTKDOC_REBASE in
12258   [\\/]* | ?:[\\/]*)
12259   ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
12260   ;;
12261   *)
12262   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12263 for as_dir in $PATH
12264 do
12265   IFS=$as_save_IFS
12266   test -z "$as_dir" && as_dir=.
12267     for ac_exec_ext in '' $ac_executable_extensions; do
12268   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12269     ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
12270     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12271     break 2
12272   fi
12273 done
12274   done
12275 IFS=$as_save_IFS
12276
12277   ;;
12278 esac
12279 fi
12280 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
12281 if test -n "$GTKDOC_REBASE"; then
12282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
12283 $as_echo "$GTKDOC_REBASE" >&6; }
12284 else
12285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12286 $as_echo "no" >&6; }
12287 fi
12288
12289
12290   test -n "$GTKDOC_REBASE" && break
12291 done
12292 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
12293
12294   # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
12295 set dummy gtkdoc-mkpdf; ac_word=$2
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12297 $as_echo_n "checking for $ac_word... " >&6; }
12298 if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
12299   $as_echo_n "(cached) " >&6
12300 else
12301   case $GTKDOC_MKPDF in
12302   [\\/]* | ?:[\\/]*)
12303   ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
12304   ;;
12305   *)
12306   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12307 for as_dir in $PATH
12308 do
12309   IFS=$as_save_IFS
12310   test -z "$as_dir" && as_dir=.
12311     for ac_exec_ext in '' $ac_executable_extensions; do
12312   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12313     ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
12314     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12315     break 2
12316   fi
12317 done
12318   done
12319 IFS=$as_save_IFS
12320
12321   ;;
12322 esac
12323 fi
12324 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
12325 if test -n "$GTKDOC_MKPDF"; then
12326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
12327 $as_echo "$GTKDOC_MKPDF" >&6; }
12328 else
12329   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12330 $as_echo "no" >&6; }
12331 fi
12332
12333
12334
12335
12336 # Check whether --with-html-dir was given.
12337 if test "${with_html_dir+set}" = set; then :
12338   withval=$with_html_dir;
12339 else
12340   with_html_dir='${datadir}/gtk-doc/html'
12341 fi
12342
12343   HTML_DIR="$with_html_dir"
12344
12345
12346     # Check whether --enable-gtk-doc was given.
12347 if test "${enable_gtk_doc+set}" = set; then :
12348   enableval=$enable_gtk_doc;
12349 else
12350   enable_gtk_doc=no
12351 fi
12352
12353
12354   if test x$enable_gtk_doc = xyes; then
12355     if test -n "$PKG_CONFIG" && \
12356     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.0\""; } >&5
12357   ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.0") 2>&5
12358   ac_status=$?
12359   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12360   test $ac_status = 0; }; then
12361   :
12362 else
12363   as_fn_error $? "You need to have gtk-doc >= 1.0 installed to build $PACKAGE_NAME" "$LINENO" 5
12364 fi
12365   fi
12366
12367   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
12368 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
12369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
12370 $as_echo "$enable_gtk_doc" >&6; }
12371
12372     # Check whether --enable-gtk-doc-html was given.
12373 if test "${enable_gtk_doc_html+set}" = set; then :
12374   enableval=$enable_gtk_doc_html;
12375 else
12376   enable_gtk_doc_html=yes
12377 fi
12378
12379     # Check whether --enable-gtk-doc-pdf was given.
12380 if test "${enable_gtk_doc_pdf+set}" = set; then :
12381   enableval=$enable_gtk_doc_pdf;
12382 else
12383   enable_gtk_doc_pdf=no
12384 fi
12385
12386
12387   if test -z "$GTKDOC_MKPDF"; then
12388     enable_gtk_doc_pdf=no
12389   fi
12390
12391
12392    if test x$enable_gtk_doc = xyes; then
12393   ENABLE_GTK_DOC_TRUE=
12394   ENABLE_GTK_DOC_FALSE='#'
12395 else
12396   ENABLE_GTK_DOC_TRUE='#'
12397   ENABLE_GTK_DOC_FALSE=
12398 fi
12399
12400    if test x$enable_gtk_doc_html = xyes; then
12401   GTK_DOC_BUILD_HTML_TRUE=
12402   GTK_DOC_BUILD_HTML_FALSE='#'
12403 else
12404   GTK_DOC_BUILD_HTML_TRUE='#'
12405   GTK_DOC_BUILD_HTML_FALSE=
12406 fi
12407
12408    if test x$enable_gtk_doc_pdf = xyes; then
12409   GTK_DOC_BUILD_PDF_TRUE=
12410   GTK_DOC_BUILD_PDF_FALSE='#'
12411 else
12412   GTK_DOC_BUILD_PDF_TRUE='#'
12413   GTK_DOC_BUILD_PDF_FALSE=
12414 fi
12415
12416    if test -n "$LIBTOOL"; then
12417   GTK_DOC_USE_LIBTOOL_TRUE=
12418   GTK_DOC_USE_LIBTOOL_FALSE='#'
12419 else
12420   GTK_DOC_USE_LIBTOOL_TRUE='#'
12421   GTK_DOC_USE_LIBTOOL_FALSE=
12422 fi
12423
12424    if test -n "$GTKDOC_REBASE"; then
12425   GTK_DOC_USE_REBASE_TRUE=
12426   GTK_DOC_USE_REBASE_FALSE='#'
12427 else
12428   GTK_DOC_USE_REBASE_TRUE='#'
12429   GTK_DOC_USE_REBASE_FALSE=
12430 fi
12431
12432
12433
12434
12435
12436   # Check whether --enable-schemas-compile was given.
12437 if test "${enable_schemas_compile+set}" = set; then :
12438   enableval=$enable_schemas_compile; case ${enableval} in
12439                   yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE=""  ;;
12440                   no)  GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
12441                   *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
12442                  esac
12443 fi
12444
12445
12446
12447
12448
12449
12450
12451
12452 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12453         if test -n "$ac_tool_prefix"; then
12454   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12455 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12457 $as_echo_n "checking for $ac_word... " >&6; }
12458 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12459   $as_echo_n "(cached) " >&6
12460 else
12461   case $PKG_CONFIG in
12462   [\\/]* | ?:[\\/]*)
12463   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12464   ;;
12465   *)
12466   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12467 for as_dir in $PATH
12468 do
12469   IFS=$as_save_IFS
12470   test -z "$as_dir" && as_dir=.
12471     for ac_exec_ext in '' $ac_executable_extensions; do
12472   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12473     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12474     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12475     break 2
12476   fi
12477 done
12478   done
12479 IFS=$as_save_IFS
12480
12481   ;;
12482 esac
12483 fi
12484 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12485 if test -n "$PKG_CONFIG"; then
12486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12487 $as_echo "$PKG_CONFIG" >&6; }
12488 else
12489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12490 $as_echo "no" >&6; }
12491 fi
12492
12493
12494 fi
12495 if test -z "$ac_cv_path_PKG_CONFIG"; then
12496   ac_pt_PKG_CONFIG=$PKG_CONFIG
12497   # Extract the first word of "pkg-config", so it can be a program name with args.
12498 set dummy pkg-config; ac_word=$2
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12500 $as_echo_n "checking for $ac_word... " >&6; }
12501 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12502   $as_echo_n "(cached) " >&6
12503 else
12504   case $ac_pt_PKG_CONFIG in
12505   [\\/]* | ?:[\\/]*)
12506   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12507   ;;
12508   *)
12509   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12510 for as_dir in $PATH
12511 do
12512   IFS=$as_save_IFS
12513   test -z "$as_dir" && as_dir=.
12514     for ac_exec_ext in '' $ac_executable_extensions; do
12515   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12516     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12517     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12518     break 2
12519   fi
12520 done
12521   done
12522 IFS=$as_save_IFS
12523
12524   ;;
12525 esac
12526 fi
12527 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12528 if test -n "$ac_pt_PKG_CONFIG"; then
12529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12530 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12531 else
12532   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12533 $as_echo "no" >&6; }
12534 fi
12535
12536   if test "x$ac_pt_PKG_CONFIG" = x; then
12537     PKG_CONFIG=""
12538   else
12539     case $cross_compiling:$ac_tool_warned in
12540 yes:)
12541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12542 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12543 ac_tool_warned=yes ;;
12544 esac
12545     PKG_CONFIG=$ac_pt_PKG_CONFIG
12546   fi
12547 else
12548   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12549 fi
12550
12551 fi
12552 if test -n "$PKG_CONFIG"; then
12553         _pkg_min_version=0.16
12554         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12555 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12556         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12557                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12558 $as_echo "yes" >&6; }
12559         else
12560                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12561 $as_echo "no" >&6; }
12562                 PKG_CONFIG=""
12563         fi
12564 fi
12565   gsettingsschemadir=${datadir}/glib-2.0/schemas
12566
12567   if test x$cross_compiling != xyes; then
12568     GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
12569   else
12570     # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
12571 set dummy glib-compile-schemas; ac_word=$2
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12573 $as_echo_n "checking for $ac_word... " >&6; }
12574 if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
12575   $as_echo_n "(cached) " >&6
12576 else
12577   case $GLIB_COMPILE_SCHEMAS in
12578   [\\/]* | ?:[\\/]*)
12579   ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
12580   ;;
12581   *)
12582   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12583 for as_dir in $PATH
12584 do
12585   IFS=$as_save_IFS
12586   test -z "$as_dir" && as_dir=.
12587     for ac_exec_ext in '' $ac_executable_extensions; do
12588   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12589     ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
12590     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12591     break 2
12592   fi
12593 done
12594   done
12595 IFS=$as_save_IFS
12596
12597   ;;
12598 esac
12599 fi
12600 GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
12601 if test -n "$GLIB_COMPILE_SCHEMAS"; then
12602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
12603 $as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
12604 else
12605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12606 $as_echo "no" >&6; }
12607 fi
12608
12609
12610   fi
12611
12612   if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
12613     as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
12614   else
12615     :
12616   fi
12617
12618   GSETTINGS_RULES='
12619 .PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
12620
12621 mostlyclean-am: clean-gsettings-schemas
12622
12623 gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
12624
12625 %.gschema.valid: %.gschema.xml $(gsettings__enum_file)
12626         $(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 $@
12627
12628 all-am: $(gsettings_SCHEMAS:.xml=.valid)
12629 uninstall-am: uninstall-gsettings-schemas
12630 install-data-am: install-gsettings-schemas
12631
12632 .SECONDARY: $(gsettings_SCHEMAS)
12633
12634 install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
12635         @$(NORMAL_INSTALL)
12636         if test -n "$^"; then \
12637                 test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
12638                 $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
12639                 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
12640         fi
12641
12642 uninstall-gsettings-schemas:
12643         @$(NORMAL_UNINSTALL)
12644         @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
12645         files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
12646         test -n "$$files" || exit 0; \
12647         echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
12648         cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
12649         test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
12650
12651 clean-gsettings-schemas:
12652         rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
12653
12654 ifdef gsettings_ENUM_NAMESPACE
12655 $(gsettings__enum_file): $(gsettings_ENUM_FILES)
12656         $(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 $@
12657 endif
12658 '
12659
12660
12661
12662
12663
12664
12665
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
12667 $as_echo_n "checking for library containing strerror... " >&6; }
12668 if ${ac_cv_search_strerror+:} false; then :
12669   $as_echo_n "(cached) " >&6
12670 else
12671   ac_func_search_save_LIBS=$LIBS
12672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12673 /* end confdefs.h.  */
12674
12675 /* Override any GCC internal prototype to avoid an error.
12676    Use char because int might match the return type of a GCC
12677    builtin and then its argument prototype would still apply.  */
12678 #ifdef __cplusplus
12679 extern "C"
12680 #endif
12681 char strerror ();
12682 int
12683 main ()
12684 {
12685 return strerror ();
12686   ;
12687   return 0;
12688 }
12689 _ACEOF
12690 for ac_lib in '' cposix; do
12691   if test -z "$ac_lib"; then
12692     ac_res="none required"
12693   else
12694     ac_res=-l$ac_lib
12695     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12696   fi
12697   if ac_fn_c_try_link "$LINENO"; then :
12698   ac_cv_search_strerror=$ac_res
12699 fi
12700 rm -f core conftest.err conftest.$ac_objext \
12701     conftest$ac_exeext
12702   if ${ac_cv_search_strerror+:} false; then :
12703   break
12704 fi
12705 done
12706 if ${ac_cv_search_strerror+:} false; then :
12707
12708 else
12709   ac_cv_search_strerror=no
12710 fi
12711 rm conftest.$ac_ext
12712 LIBS=$ac_func_search_save_LIBS
12713 fi
12714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
12715 $as_echo "$ac_cv_search_strerror" >&6; }
12716 ac_res=$ac_cv_search_strerror
12717 if test "$ac_res" != no; then :
12718   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12719
12720 fi
12721
12722 ac_ext=c
12723 ac_cpp='$CPP $CPPFLAGS'
12724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12727 if test -n "$ac_tool_prefix"; then
12728   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12729 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12731 $as_echo_n "checking for $ac_word... " >&6; }
12732 if ${ac_cv_prog_CC+:} false; then :
12733   $as_echo_n "(cached) " >&6
12734 else
12735   if test -n "$CC"; then
12736   ac_cv_prog_CC="$CC" # Let the user override the test.
12737 else
12738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12739 for as_dir in $PATH
12740 do
12741   IFS=$as_save_IFS
12742   test -z "$as_dir" && as_dir=.
12743     for ac_exec_ext in '' $ac_executable_extensions; do
12744   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12745     ac_cv_prog_CC="${ac_tool_prefix}gcc"
12746     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12747     break 2
12748   fi
12749 done
12750   done
12751 IFS=$as_save_IFS
12752
12753 fi
12754 fi
12755 CC=$ac_cv_prog_CC
12756 if test -n "$CC"; then
12757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12758 $as_echo "$CC" >&6; }
12759 else
12760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12761 $as_echo "no" >&6; }
12762 fi
12763
12764
12765 fi
12766 if test -z "$ac_cv_prog_CC"; then
12767   ac_ct_CC=$CC
12768   # Extract the first word of "gcc", so it can be a program name with args.
12769 set dummy gcc; ac_word=$2
12770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12771 $as_echo_n "checking for $ac_word... " >&6; }
12772 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12773   $as_echo_n "(cached) " >&6
12774 else
12775   if test -n "$ac_ct_CC"; then
12776   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12777 else
12778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12779 for as_dir in $PATH
12780 do
12781   IFS=$as_save_IFS
12782   test -z "$as_dir" && as_dir=.
12783     for ac_exec_ext in '' $ac_executable_extensions; do
12784   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12785     ac_cv_prog_ac_ct_CC="gcc"
12786     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12787     break 2
12788   fi
12789 done
12790   done
12791 IFS=$as_save_IFS
12792
12793 fi
12794 fi
12795 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12796 if test -n "$ac_ct_CC"; then
12797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12798 $as_echo "$ac_ct_CC" >&6; }
12799 else
12800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12801 $as_echo "no" >&6; }
12802 fi
12803
12804   if test "x$ac_ct_CC" = x; then
12805     CC=""
12806   else
12807     case $cross_compiling:$ac_tool_warned in
12808 yes:)
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12810 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12811 ac_tool_warned=yes ;;
12812 esac
12813     CC=$ac_ct_CC
12814   fi
12815 else
12816   CC="$ac_cv_prog_CC"
12817 fi
12818
12819 if test -z "$CC"; then
12820           if test -n "$ac_tool_prefix"; then
12821     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12822 set dummy ${ac_tool_prefix}cc; ac_word=$2
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12824 $as_echo_n "checking for $ac_word... " >&6; }
12825 if ${ac_cv_prog_CC+:} false; then :
12826   $as_echo_n "(cached) " >&6
12827 else
12828   if test -n "$CC"; then
12829   ac_cv_prog_CC="$CC" # Let the user override the test.
12830 else
12831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12832 for as_dir in $PATH
12833 do
12834   IFS=$as_save_IFS
12835   test -z "$as_dir" && as_dir=.
12836     for ac_exec_ext in '' $ac_executable_extensions; do
12837   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12838     ac_cv_prog_CC="${ac_tool_prefix}cc"
12839     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12840     break 2
12841   fi
12842 done
12843   done
12844 IFS=$as_save_IFS
12845
12846 fi
12847 fi
12848 CC=$ac_cv_prog_CC
12849 if test -n "$CC"; then
12850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12851 $as_echo "$CC" >&6; }
12852 else
12853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12854 $as_echo "no" >&6; }
12855 fi
12856
12857
12858   fi
12859 fi
12860 if test -z "$CC"; then
12861   # Extract the first word of "cc", so it can be a program name with args.
12862 set dummy cc; ac_word=$2
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12864 $as_echo_n "checking for $ac_word... " >&6; }
12865 if ${ac_cv_prog_CC+:} false; then :
12866   $as_echo_n "(cached) " >&6
12867 else
12868   if test -n "$CC"; then
12869   ac_cv_prog_CC="$CC" # Let the user override the test.
12870 else
12871   ac_prog_rejected=no
12872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12873 for as_dir in $PATH
12874 do
12875   IFS=$as_save_IFS
12876   test -z "$as_dir" && as_dir=.
12877     for ac_exec_ext in '' $ac_executable_extensions; do
12878   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12879     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12880        ac_prog_rejected=yes
12881        continue
12882      fi
12883     ac_cv_prog_CC="cc"
12884     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12885     break 2
12886   fi
12887 done
12888   done
12889 IFS=$as_save_IFS
12890
12891 if test $ac_prog_rejected = yes; then
12892   # We found a bogon in the path, so make sure we never use it.
12893   set dummy $ac_cv_prog_CC
12894   shift
12895   if test $# != 0; then
12896     # We chose a different compiler from the bogus one.
12897     # However, it has the same basename, so the bogon will be chosen
12898     # first if we set CC to just the basename; use the full file name.
12899     shift
12900     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12901   fi
12902 fi
12903 fi
12904 fi
12905 CC=$ac_cv_prog_CC
12906 if test -n "$CC"; then
12907   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12908 $as_echo "$CC" >&6; }
12909 else
12910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12911 $as_echo "no" >&6; }
12912 fi
12913
12914
12915 fi
12916 if test -z "$CC"; then
12917   if test -n "$ac_tool_prefix"; then
12918   for ac_prog in cl.exe
12919   do
12920     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12921 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12923 $as_echo_n "checking for $ac_word... " >&6; }
12924 if ${ac_cv_prog_CC+:} false; then :
12925   $as_echo_n "(cached) " >&6
12926 else
12927   if test -n "$CC"; then
12928   ac_cv_prog_CC="$CC" # Let the user override the test.
12929 else
12930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12931 for as_dir in $PATH
12932 do
12933   IFS=$as_save_IFS
12934   test -z "$as_dir" && as_dir=.
12935     for ac_exec_ext in '' $ac_executable_extensions; do
12936   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12937     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12938     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12939     break 2
12940   fi
12941 done
12942   done
12943 IFS=$as_save_IFS
12944
12945 fi
12946 fi
12947 CC=$ac_cv_prog_CC
12948 if test -n "$CC"; then
12949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12950 $as_echo "$CC" >&6; }
12951 else
12952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12953 $as_echo "no" >&6; }
12954 fi
12955
12956
12957     test -n "$CC" && break
12958   done
12959 fi
12960 if test -z "$CC"; then
12961   ac_ct_CC=$CC
12962   for ac_prog in cl.exe
12963 do
12964   # Extract the first word of "$ac_prog", so it can be a program name with args.
12965 set dummy $ac_prog; ac_word=$2
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12967 $as_echo_n "checking for $ac_word... " >&6; }
12968 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12969   $as_echo_n "(cached) " >&6
12970 else
12971   if test -n "$ac_ct_CC"; then
12972   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12973 else
12974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12975 for as_dir in $PATH
12976 do
12977   IFS=$as_save_IFS
12978   test -z "$as_dir" && as_dir=.
12979     for ac_exec_ext in '' $ac_executable_extensions; do
12980   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12981     ac_cv_prog_ac_ct_CC="$ac_prog"
12982     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12983     break 2
12984   fi
12985 done
12986   done
12987 IFS=$as_save_IFS
12988
12989 fi
12990 fi
12991 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12992 if test -n "$ac_ct_CC"; then
12993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12994 $as_echo "$ac_ct_CC" >&6; }
12995 else
12996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12997 $as_echo "no" >&6; }
12998 fi
12999
13000
13001   test -n "$ac_ct_CC" && break
13002 done
13003
13004   if test "x$ac_ct_CC" = x; then
13005     CC=""
13006   else
13007     case $cross_compiling:$ac_tool_warned in
13008 yes:)
13009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13010 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13011 ac_tool_warned=yes ;;
13012 esac
13013     CC=$ac_ct_CC
13014   fi
13015 fi
13016
13017 fi
13018
13019
13020 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13021 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13022 as_fn_error $? "no acceptable C compiler found in \$PATH
13023 See \`config.log' for more details" "$LINENO" 5; }
13024
13025 # Provide some information about the compiler.
13026 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
13027 set X $ac_compile
13028 ac_compiler=$2
13029 for ac_option in --version -v -V -qversion; do
13030   { { ac_try="$ac_compiler $ac_option >&5"
13031 case "(($ac_try" in
13032   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13033   *) ac_try_echo=$ac_try;;
13034 esac
13035 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13036 $as_echo "$ac_try_echo"; } >&5
13037   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13038   ac_status=$?
13039   if test -s conftest.err; then
13040     sed '10a\
13041 ... rest of stderr output deleted ...
13042          10q' conftest.err >conftest.er1
13043     cat conftest.er1 >&5
13044   fi
13045   rm -f conftest.er1 conftest.err
13046   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13047   test $ac_status = 0; }
13048 done
13049
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
13051 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
13052 if ${ac_cv_c_compiler_gnu+:} false; then :
13053   $as_echo_n "(cached) " >&6
13054 else
13055   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13056 /* end confdefs.h.  */
13057
13058 int
13059 main ()
13060 {
13061 #ifndef __GNUC__
13062        choke me
13063 #endif
13064
13065   ;
13066   return 0;
13067 }
13068 _ACEOF
13069 if ac_fn_c_try_compile "$LINENO"; then :
13070   ac_compiler_gnu=yes
13071 else
13072   ac_compiler_gnu=no
13073 fi
13074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13075 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13076
13077 fi
13078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
13079 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
13080 if test $ac_compiler_gnu = yes; then
13081   GCC=yes
13082 else
13083   GCC=
13084 fi
13085 ac_test_CFLAGS=${CFLAGS+set}
13086 ac_save_CFLAGS=$CFLAGS
13087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
13088 $as_echo_n "checking whether $CC accepts -g... " >&6; }
13089 if ${ac_cv_prog_cc_g+:} false; then :
13090   $as_echo_n "(cached) " >&6
13091 else
13092   ac_save_c_werror_flag=$ac_c_werror_flag
13093    ac_c_werror_flag=yes
13094    ac_cv_prog_cc_g=no
13095    CFLAGS="-g"
13096    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13097 /* end confdefs.h.  */
13098
13099 int
13100 main ()
13101 {
13102
13103   ;
13104   return 0;
13105 }
13106 _ACEOF
13107 if ac_fn_c_try_compile "$LINENO"; then :
13108   ac_cv_prog_cc_g=yes
13109 else
13110   CFLAGS=""
13111       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13112 /* end confdefs.h.  */
13113
13114 int
13115 main ()
13116 {
13117
13118   ;
13119   return 0;
13120 }
13121 _ACEOF
13122 if ac_fn_c_try_compile "$LINENO"; then :
13123
13124 else
13125   ac_c_werror_flag=$ac_save_c_werror_flag
13126          CFLAGS="-g"
13127          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13128 /* end confdefs.h.  */
13129
13130 int
13131 main ()
13132 {
13133
13134   ;
13135   return 0;
13136 }
13137 _ACEOF
13138 if ac_fn_c_try_compile "$LINENO"; then :
13139   ac_cv_prog_cc_g=yes
13140 fi
13141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13142 fi
13143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13144 fi
13145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13146    ac_c_werror_flag=$ac_save_c_werror_flag
13147 fi
13148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
13149 $as_echo "$ac_cv_prog_cc_g" >&6; }
13150 if test "$ac_test_CFLAGS" = set; then
13151   CFLAGS=$ac_save_CFLAGS
13152 elif test $ac_cv_prog_cc_g = yes; then
13153   if test "$GCC" = yes; then
13154     CFLAGS="-g -O2"
13155   else
13156     CFLAGS="-g"
13157   fi
13158 else
13159   if test "$GCC" = yes; then
13160     CFLAGS="-O2"
13161   else
13162     CFLAGS=
13163   fi
13164 fi
13165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13166 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13167 if ${ac_cv_prog_cc_c89+:} false; then :
13168   $as_echo_n "(cached) " >&6
13169 else
13170   ac_cv_prog_cc_c89=no
13171 ac_save_CC=$CC
13172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13173 /* end confdefs.h.  */
13174 #include <stdarg.h>
13175 #include <stdio.h>
13176 #include <sys/types.h>
13177 #include <sys/stat.h>
13178 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
13179 struct buf { int x; };
13180 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13181 static char *e (p, i)
13182      char **p;
13183      int i;
13184 {
13185   return p[i];
13186 }
13187 static char *f (char * (*g) (char **, int), char **p, ...)
13188 {
13189   char *s;
13190   va_list v;
13191   va_start (v,p);
13192   s = g (p, va_arg (v,int));
13193   va_end (v);
13194   return s;
13195 }
13196
13197 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
13198    function prototypes and stuff, but not '\xHH' hex character constants.
13199    These don't provoke an error unfortunately, instead are silently treated
13200    as 'x'.  The following induces an error, until -std is added to get
13201    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
13202    array size at least.  It's necessary to write '\x00'==0 to get something
13203    that's true only with -std.  */
13204 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13205
13206 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13207    inside strings and character constants.  */
13208 #define FOO(x) 'x'
13209 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13210
13211 int test (int i, double x);
13212 struct s1 {int (*f) (int a);};
13213 struct s2 {int (*f) (double a);};
13214 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13215 int argc;
13216 char **argv;
13217 int
13218 main ()
13219 {
13220 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
13221   ;
13222   return 0;
13223 }
13224 _ACEOF
13225 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13226         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13227 do
13228   CC="$ac_save_CC $ac_arg"
13229   if ac_fn_c_try_compile "$LINENO"; then :
13230   ac_cv_prog_cc_c89=$ac_arg
13231 fi
13232 rm -f core conftest.err conftest.$ac_objext
13233   test "x$ac_cv_prog_cc_c89" != "xno" && break
13234 done
13235 rm -f conftest.$ac_ext
13236 CC=$ac_save_CC
13237
13238 fi
13239 # AC_CACHE_VAL
13240 case "x$ac_cv_prog_cc_c89" in
13241   x)
13242     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13243 $as_echo "none needed" >&6; } ;;
13244   xno)
13245     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13246 $as_echo "unsupported" >&6; } ;;
13247   *)
13248     CC="$CC $ac_cv_prog_cc_c89"
13249     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13250 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13251 esac
13252 if test "x$ac_cv_prog_cc_c89" != xno; then :
13253
13254 fi
13255
13256 ac_ext=c
13257 ac_cpp='$CPP $CPPFLAGS'
13258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13261
13262 depcc="$CC"   am_compiler_list=
13263
13264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13265 $as_echo_n "checking dependency style of $depcc... " >&6; }
13266 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
13267   $as_echo_n "(cached) " >&6
13268 else
13269   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13270   # We make a subdir and do the tests there.  Otherwise we can end up
13271   # making bogus files that we don't know about and never remove.  For
13272   # instance it was reported that on HP-UX the gcc test will end up
13273   # making a dummy file named `D' -- because `-MD' means `put the output
13274   # in D'.
13275   mkdir conftest.dir
13276   # Copy depcomp to subdir because otherwise we won't find it if we're
13277   # using a relative directory.
13278   cp "$am_depcomp" conftest.dir
13279   cd conftest.dir
13280   # We will build objects and dependencies in a subdirectory because
13281   # it helps to detect inapplicable dependency modes.  For instance
13282   # both Tru64's cc and ICC support -MD to output dependencies as a
13283   # side effect of compilation, but ICC will put the dependencies in
13284   # the current directory while Tru64 will put them in the object
13285   # directory.
13286   mkdir sub
13287
13288   am_cv_CC_dependencies_compiler_type=none
13289   if test "$am_compiler_list" = ""; then
13290      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13291   fi
13292   am__universal=false
13293   case " $depcc " in #(
13294      *\ -arch\ *\ -arch\ *) am__universal=true ;;
13295      esac
13296
13297   for depmode in $am_compiler_list; do
13298     # Setup a source with many dependencies, because some compilers
13299     # like to wrap large dependency lists on column 80 (with \), and
13300     # we should not choose a depcomp mode which is confused by this.
13301     #
13302     # We need to recreate these files for each test, as the compiler may
13303     # overwrite some of them when testing with obscure command lines.
13304     # This happens at least with the AIX C compiler.
13305     : > sub/conftest.c
13306     for i in 1 2 3 4 5 6; do
13307       echo '#include "conftst'$i'.h"' >> sub/conftest.c
13308       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13309       # Solaris 8's {/usr,}/bin/sh.
13310       touch sub/conftst$i.h
13311     done
13312     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13313
13314     # We check with `-c' and `-o' for the sake of the "dashmstdout"
13315     # mode.  It turns out that the SunPro C++ compiler does not properly
13316     # handle `-M -o', and we need to detect this.  Also, some Intel
13317     # versions had trouble with output in subdirs
13318     am__obj=sub/conftest.${OBJEXT-o}
13319     am__minus_obj="-o $am__obj"
13320     case $depmode in
13321     gcc)
13322       # This depmode causes a compiler race in universal mode.
13323       test "$am__universal" = false || continue
13324       ;;
13325     nosideeffect)
13326       # after this tag, mechanisms are not by side-effect, so they'll
13327       # only be used when explicitly requested
13328       if test "x$enable_dependency_tracking" = xyes; then
13329         continue
13330       else
13331         break
13332       fi
13333       ;;
13334     msvisualcpp | msvcmsys)
13335       # This compiler won't grok `-c -o', but also, the minuso test has
13336       # not run yet.  These depmodes are late enough in the game, and
13337       # so weak that their functioning should not be impacted.
13338       am__obj=conftest.${OBJEXT-o}
13339       am__minus_obj=
13340       ;;
13341     none) break ;;
13342     esac
13343     if depmode=$depmode \
13344        source=sub/conftest.c object=$am__obj \
13345        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13346        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13347          >/dev/null 2>conftest.err &&
13348        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13349        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13350        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13351        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13352       # icc doesn't choke on unknown options, it will just issue warnings
13353       # or remarks (even with -Werror).  So we grep stderr for any message
13354       # that says an option was ignored or not supported.
13355       # When given -MP, icc 7.0 and 7.1 complain thusly:
13356       #   icc: Command line warning: ignoring option '-M'; no argument required
13357       # The diagnosis changed in icc 8.0:
13358       #   icc: Command line remark: option '-MP' not supported
13359       if (grep 'ignoring option' conftest.err ||
13360           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13361         am_cv_CC_dependencies_compiler_type=$depmode
13362         break
13363       fi
13364     fi
13365   done
13366
13367   cd ..
13368   rm -rf conftest.dir
13369 else
13370   am_cv_CC_dependencies_compiler_type=none
13371 fi
13372
13373 fi
13374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
13375 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13376 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
13377
13378  if
13379   test "x$enable_dependency_tracking" != xno \
13380   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
13381   am__fastdepCC_TRUE=
13382   am__fastdepCC_FALSE='#'
13383 else
13384   am__fastdepCC_TRUE='#'
13385   am__fastdepCC_FALSE=
13386 fi
13387
13388
13389
13390
13391
13392
13393     # Check whether --enable-compile-warnings was given.
13394 if test "${enable_compile_warnings+set}" = set; then :
13395   enableval=$enable_compile_warnings;
13396 else
13397   enable_compile_warnings="yes"
13398 fi
13399
13400
13401     warnCFLAGS=
13402     if test "x$GCC" != xyes; then
13403         enable_compile_warnings=no
13404     fi
13405
13406     warning_flags=
13407     realsave_CFLAGS="$CFLAGS"
13408
13409     case "$enable_compile_warnings" in
13410     no)
13411         warning_flags=
13412         ;;
13413     minimum)
13414         warning_flags="-Wall"
13415         ;;
13416     yes)
13417         warning_flags="-Wall -Wmissing-prototypes"
13418         ;;
13419     maximum|error)
13420         warning_flags="-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
13421         CFLAGS="$warning_flags $CFLAGS"
13422         for option in -Wno-sign-compare; do
13423                 SAVE_CFLAGS="$CFLAGS"
13424                 CFLAGS="$CFLAGS $option"
13425                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands $option" >&5
13426 $as_echo_n "checking whether gcc understands $option... " >&6; }
13427                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13428 /* end confdefs.h.  */
13429
13430 int
13431 main ()
13432 {
13433
13434   ;
13435   return 0;
13436 }
13437 _ACEOF
13438 if ac_fn_c_try_compile "$LINENO"; then :
13439   has_option=yes
13440 else
13441   has_option=no
13442 fi
13443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13444                 CFLAGS="$SAVE_CFLAGS"
13445                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
13446 $as_echo "$has_option" >&6; }
13447                 if test $has_option = yes; then
13448                   warning_flags="$warning_flags $option"
13449                 fi
13450                 unset has_option
13451                 unset SAVE_CFLAGS
13452         done
13453         unset option
13454         if test "$enable_compile_warnings" = "error" ; then
13455             warning_flags="$warning_flags -Werror"
13456         fi
13457         ;;
13458     *)
13459         as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5
13460         ;;
13461     esac
13462     CFLAGS="$realsave_CFLAGS"
13463     { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
13464 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
13465     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $warning_flags" >&5
13466 $as_echo "$warning_flags" >&6; }
13467
13468     # Check whether --enable-iso-c was given.
13469 if test "${enable_iso_c+set}" = set; then :
13470   enableval=$enable_iso_c;
13471 else
13472   enable_iso_c=no
13473 fi
13474
13475
13476     { $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C compiler" >&5
13477 $as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; }
13478     complCFLAGS=
13479     if test "x$enable_iso_c" != "xno"; then
13480         if test "x$GCC" = "xyes"; then
13481         case " $CFLAGS " in
13482             *\ \        -ansi\ \        *) ;;
13483             *) complCFLAGS="$complCFLAGS -ansi" ;;
13484         esac
13485         case " $CFLAGS " in
13486             *\ \        -pedantic\ \    *) ;;
13487             *) complCFLAGS="$complCFLAGS -pedantic" ;;
13488         esac
13489         fi
13490     fi
13491     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCFLAGS" >&5
13492 $as_echo "$complCFLAGS" >&6; }
13493
13494     WARN_CFLAGS="$warning_flags $complCFLAGS"
13495
13496
13497
13498 # Extract the first word of "glib-genmarshal", so it can be a program name with args.
13499 set dummy glib-genmarshal; ac_word=$2
13500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13501 $as_echo_n "checking for $ac_word... " >&6; }
13502 if ${ac_cv_path_GLIB_GENMARSHAL+:} false; then :
13503   $as_echo_n "(cached) " >&6
13504 else
13505   case $GLIB_GENMARSHAL in
13506   [\\/]* | ?:[\\/]*)
13507   ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path.
13508   ;;
13509   *)
13510   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13511 for as_dir in $PATH
13512 do
13513   IFS=$as_save_IFS
13514   test -z "$as_dir" && as_dir=.
13515     for ac_exec_ext in '' $ac_executable_extensions; do
13516   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13517     ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
13518     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13519     break 2
13520   fi
13521 done
13522   done
13523 IFS=$as_save_IFS
13524
13525   ;;
13526 esac
13527 fi
13528 GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
13529 if test -n "$GLIB_GENMARSHAL"; then
13530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5
13531 $as_echo "$GLIB_GENMARSHAL" >&6; }
13532 else
13533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13534 $as_echo "no" >&6; }
13535 fi
13536
13537
13538 # Extract the first word of "gdk-pixbuf-csource", so it can be a program name with args.
13539 set dummy gdk-pixbuf-csource; ac_word=$2
13540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13541 $as_echo_n "checking for $ac_word... " >&6; }
13542 if ${ac_cv_path_GDK_PIXBUF_CSOURCE+:} false; then :
13543   $as_echo_n "(cached) " >&6
13544 else
13545   case $GDK_PIXBUF_CSOURCE in
13546   [\\/]* | ?:[\\/]*)
13547   ac_cv_path_GDK_PIXBUF_CSOURCE="$GDK_PIXBUF_CSOURCE" # Let the user override the test with a path.
13548   ;;
13549   *)
13550   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13551 for as_dir in $PATH
13552 do
13553   IFS=$as_save_IFS
13554   test -z "$as_dir" && as_dir=.
13555     for ac_exec_ext in '' $ac_executable_extensions; do
13556   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13557     ac_cv_path_GDK_PIXBUF_CSOURCE="$as_dir/$ac_word$ac_exec_ext"
13558     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13559     break 2
13560   fi
13561 done
13562   done
13563 IFS=$as_save_IFS
13564
13565   ;;
13566 esac
13567 fi
13568 GDK_PIXBUF_CSOURCE=$ac_cv_path_GDK_PIXBUF_CSOURCE
13569 if test -n "$GDK_PIXBUF_CSOURCE"; then
13570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_PIXBUF_CSOURCE" >&5
13571 $as_echo "$GDK_PIXBUF_CSOURCE" >&6; }
13572 else
13573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13574 $as_echo "no" >&6; }
13575 fi
13576
13577
13578 # Extract the first word of "gtk-update-icon-cache", so it can be a program name with args.
13579 set dummy gtk-update-icon-cache; ac_word=$2
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13581 $as_echo_n "checking for $ac_word... " >&6; }
13582 if ${ac_cv_path_GTK_UPDATE_ICON_CACHE+:} false; then :
13583   $as_echo_n "(cached) " >&6
13584 else
13585   case $GTK_UPDATE_ICON_CACHE in
13586   [\\/]* | ?:[\\/]*)
13587   ac_cv_path_GTK_UPDATE_ICON_CACHE="$GTK_UPDATE_ICON_CACHE" # Let the user override the test with a path.
13588   ;;
13589   *)
13590   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13591 for as_dir in $PATH
13592 do
13593   IFS=$as_save_IFS
13594   test -z "$as_dir" && as_dir=.
13595     for ac_exec_ext in '' $ac_executable_extensions; do
13596   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13597     ac_cv_path_GTK_UPDATE_ICON_CACHE="$as_dir/$ac_word$ac_exec_ext"
13598     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13599     break 2
13600   fi
13601 done
13602   done
13603 IFS=$as_save_IFS
13604
13605   ;;
13606 esac
13607 fi
13608 GTK_UPDATE_ICON_CACHE=$ac_cv_path_GTK_UPDATE_ICON_CACHE
13609 if test -n "$GTK_UPDATE_ICON_CACHE"; then
13610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_UPDATE_ICON_CACHE" >&5
13611 $as_echo "$GTK_UPDATE_ICON_CACHE" >&6; }
13612 else
13613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13614 $as_echo "no" >&6; }
13615 fi
13616
13617
13618
13619
13620 GLABELS_BRANCH=glabels-3.0
13621
13622
13623 LIBGLABELS_BRANCH=libglabels-3.0
13624
13625
13626 LIBGLBARCODE_BRANCH=libglbarcode-3.0
13627
13628
13629 LIBGLABELS_C=8
13630 LIBGLABELS_R=0
13631 LIBGLABELS_A=0
13632
13633 LIBGLABELS_API_VERSION=${LIBGLABELS_C}:${LIBGLABELS_R}:${LIBGLABELS_A}
13634
13635
13636 LIBGLBARCODE_C=0
13637 LIBGLBARCODE_R=0
13638 LIBGLBARCODE_A=0
13639
13640 LIBGLBARCODE_API_VERSION=${LIBGLBARCODE_C}:${LIBGLBARCODE_R}:${LIBGLBARCODE_A}
13641
13642
13643 GLIB_REQUIRED=2.28.2
13644 GTK_REQUIRED=3.0.9
13645 LIBXML_REQUIRED=2.7.8
13646 LIBRSVG_REQUIRED=2.32.0
13647 CAIRO_REQUIRED=1.10.0
13648 PANGO_REQUIRED=1.28.1
13649
13650 LIBEBOOK_REQUIRED=2.30.3
13651 LIBBARCODE_REQUIRED=0.98
13652 LIBQRENCODE_REQUIRED=3.1.0
13653 LIBIEC16022_REQUIRED=0.2.4
13654 LIBZINT_REQUIRED=2.4.0
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670 pkg_failed=no
13671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLABELS" >&5
13672 $as_echo_n "checking for GLABELS... " >&6; }
13673
13674 if test -n "$GLABELS_CFLAGS"; then
13675     pkg_cv_GLABELS_CFLAGS="$GLABELS_CFLAGS"
13676  elif test -n "$PKG_CONFIG"; then
13677     if test -n "$PKG_CONFIG" && \
13678     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13679         glib-2.0 >= \$GLIB_REQUIRED \\
13680         gtk+-3.0 >= \$GTK_REQUIRED \\
13681         libxml-2.0 >= \$LIBXML_REQUIRED \\
13682         librsvg-2.0 >= \$LIBRSVG_REQUIRED \\
13683 \""; } >&5
13684   ($PKG_CONFIG --exists --print-errors "\
13685         glib-2.0 >= $GLIB_REQUIRED \
13686         gtk+-3.0 >= $GTK_REQUIRED \
13687         libxml-2.0 >= $LIBXML_REQUIRED \
13688         librsvg-2.0 >= $LIBRSVG_REQUIRED \
13689 ") 2>&5
13690   ac_status=$?
13691   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13692   test $ac_status = 0; }; then
13693   pkg_cv_GLABELS_CFLAGS=`$PKG_CONFIG --cflags "\
13694         glib-2.0 >= $GLIB_REQUIRED \
13695         gtk+-3.0 >= $GTK_REQUIRED \
13696         libxml-2.0 >= $LIBXML_REQUIRED \
13697         librsvg-2.0 >= $LIBRSVG_REQUIRED \
13698 " 2>/dev/null`
13699 else
13700   pkg_failed=yes
13701 fi
13702  else
13703     pkg_failed=untried
13704 fi
13705 if test -n "$GLABELS_LIBS"; then
13706     pkg_cv_GLABELS_LIBS="$GLABELS_LIBS"
13707  elif test -n "$PKG_CONFIG"; then
13708     if test -n "$PKG_CONFIG" && \
13709     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13710         glib-2.0 >= \$GLIB_REQUIRED \\
13711         gtk+-3.0 >= \$GTK_REQUIRED \\
13712         libxml-2.0 >= \$LIBXML_REQUIRED \\
13713         librsvg-2.0 >= \$LIBRSVG_REQUIRED \\
13714 \""; } >&5
13715   ($PKG_CONFIG --exists --print-errors "\
13716         glib-2.0 >= $GLIB_REQUIRED \
13717         gtk+-3.0 >= $GTK_REQUIRED \
13718         libxml-2.0 >= $LIBXML_REQUIRED \
13719         librsvg-2.0 >= $LIBRSVG_REQUIRED \
13720 ") 2>&5
13721   ac_status=$?
13722   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13723   test $ac_status = 0; }; then
13724   pkg_cv_GLABELS_LIBS=`$PKG_CONFIG --libs "\
13725         glib-2.0 >= $GLIB_REQUIRED \
13726         gtk+-3.0 >= $GTK_REQUIRED \
13727         libxml-2.0 >= $LIBXML_REQUIRED \
13728         librsvg-2.0 >= $LIBRSVG_REQUIRED \
13729 " 2>/dev/null`
13730 else
13731   pkg_failed=yes
13732 fi
13733  else
13734     pkg_failed=untried
13735 fi
13736
13737
13738
13739 if test $pkg_failed = yes; then
13740         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13741 $as_echo "no" >&6; }
13742
13743 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13744         _pkg_short_errors_supported=yes
13745 else
13746         _pkg_short_errors_supported=no
13747 fi
13748         if test $_pkg_short_errors_supported = yes; then
13749                 GLABELS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "\
13750         glib-2.0 >= $GLIB_REQUIRED \
13751         gtk+-3.0 >= $GTK_REQUIRED \
13752         libxml-2.0 >= $LIBXML_REQUIRED \
13753         librsvg-2.0 >= $LIBRSVG_REQUIRED \
13754 " 2>&1`
13755         else
13756                 GLABELS_PKG_ERRORS=`$PKG_CONFIG --print-errors "\
13757         glib-2.0 >= $GLIB_REQUIRED \
13758         gtk+-3.0 >= $GTK_REQUIRED \
13759         libxml-2.0 >= $LIBXML_REQUIRED \
13760         librsvg-2.0 >= $LIBRSVG_REQUIRED \
13761 " 2>&1`
13762         fi
13763         # Put the nasty error message in config.log where it belongs
13764         echo "$GLABELS_PKG_ERRORS" >&5
13765
13766         as_fn_error $? "Package requirements (\
13767         glib-2.0 >= $GLIB_REQUIRED \
13768         gtk+-3.0 >= $GTK_REQUIRED \
13769         libxml-2.0 >= $LIBXML_REQUIRED \
13770         librsvg-2.0 >= $LIBRSVG_REQUIRED \
13771 ) were not met:
13772
13773 $GLABELS_PKG_ERRORS
13774
13775 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13776 installed software in a non-standard prefix.
13777
13778 Alternatively, you may set the environment variables GLABELS_CFLAGS
13779 and GLABELS_LIBS to avoid the need to call pkg-config.
13780 See the pkg-config man page for more details." "$LINENO" 5
13781
13782 elif test $pkg_failed = untried; then
13783         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13784 $as_echo "no" >&6; }
13785         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13786 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13787 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13788 is in your PATH or set the PKG_CONFIG environment variable to the full
13789 path to pkg-config.
13790
13791 Alternatively, you may set the environment variables GLABELS_CFLAGS
13792 and GLABELS_LIBS to avoid the need to call pkg-config.
13793 See the pkg-config man page for more details.
13794
13795 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13796 See \`config.log' for more details" "$LINENO" 5; }
13797
13798 else
13799         GLABELS_CFLAGS=$pkg_cv_GLABELS_CFLAGS
13800         GLABELS_LIBS=$pkg_cv_GLABELS_LIBS
13801         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13802 $as_echo "yes" >&6; }
13803
13804 fi
13805
13806
13807
13808
13809
13810
13811 pkg_failed=no
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGLABELS" >&5
13813 $as_echo_n "checking for LIBGLABELS... " >&6; }
13814
13815 if test -n "$LIBGLABELS_CFLAGS"; then
13816     pkg_cv_LIBGLABELS_CFLAGS="$LIBGLABELS_CFLAGS"
13817  elif test -n "$PKG_CONFIG"; then
13818     if test -n "$PKG_CONFIG" && \
13819     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13820         glib-2.0 >= \$GLIB_REQUIRED \\
13821         libxml-2.0 >= \$LIBXML_REQUIRED \\
13822 \""; } >&5
13823   ($PKG_CONFIG --exists --print-errors "\
13824         glib-2.0 >= $GLIB_REQUIRED \
13825         libxml-2.0 >= $LIBXML_REQUIRED \
13826 ") 2>&5
13827   ac_status=$?
13828   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13829   test $ac_status = 0; }; then
13830   pkg_cv_LIBGLABELS_CFLAGS=`$PKG_CONFIG --cflags "\
13831         glib-2.0 >= $GLIB_REQUIRED \
13832         libxml-2.0 >= $LIBXML_REQUIRED \
13833 " 2>/dev/null`
13834 else
13835   pkg_failed=yes
13836 fi
13837  else
13838     pkg_failed=untried
13839 fi
13840 if test -n "$LIBGLABELS_LIBS"; then
13841     pkg_cv_LIBGLABELS_LIBS="$LIBGLABELS_LIBS"
13842  elif test -n "$PKG_CONFIG"; then
13843     if test -n "$PKG_CONFIG" && \
13844     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13845         glib-2.0 >= \$GLIB_REQUIRED \\
13846         libxml-2.0 >= \$LIBXML_REQUIRED \\
13847 \""; } >&5
13848   ($PKG_CONFIG --exists --print-errors "\
13849         glib-2.0 >= $GLIB_REQUIRED \
13850         libxml-2.0 >= $LIBXML_REQUIRED \
13851 ") 2>&5
13852   ac_status=$?
13853   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13854   test $ac_status = 0; }; then
13855   pkg_cv_LIBGLABELS_LIBS=`$PKG_CONFIG --libs "\
13856         glib-2.0 >= $GLIB_REQUIRED \
13857         libxml-2.0 >= $LIBXML_REQUIRED \
13858 " 2>/dev/null`
13859 else
13860   pkg_failed=yes
13861 fi
13862  else
13863     pkg_failed=untried
13864 fi
13865
13866
13867
13868 if test $pkg_failed = yes; then
13869         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13870 $as_echo "no" >&6; }
13871
13872 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13873         _pkg_short_errors_supported=yes
13874 else
13875         _pkg_short_errors_supported=no
13876 fi
13877         if test $_pkg_short_errors_supported = yes; then
13878                 LIBGLABELS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "\
13879         glib-2.0 >= $GLIB_REQUIRED \
13880         libxml-2.0 >= $LIBXML_REQUIRED \
13881 " 2>&1`
13882         else
13883                 LIBGLABELS_PKG_ERRORS=`$PKG_CONFIG --print-errors "\
13884         glib-2.0 >= $GLIB_REQUIRED \
13885         libxml-2.0 >= $LIBXML_REQUIRED \
13886 " 2>&1`
13887         fi
13888         # Put the nasty error message in config.log where it belongs
13889         echo "$LIBGLABELS_PKG_ERRORS" >&5
13890
13891         as_fn_error $? "Package requirements (\
13892         glib-2.0 >= $GLIB_REQUIRED \
13893         libxml-2.0 >= $LIBXML_REQUIRED \
13894 ) were not met:
13895
13896 $LIBGLABELS_PKG_ERRORS
13897
13898 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13899 installed software in a non-standard prefix.
13900
13901 Alternatively, you may set the environment variables LIBGLABELS_CFLAGS
13902 and LIBGLABELS_LIBS to avoid the need to call pkg-config.
13903 See the pkg-config man page for more details." "$LINENO" 5
13904
13905 elif test $pkg_failed = untried; then
13906         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13907 $as_echo "no" >&6; }
13908         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13909 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13910 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13911 is in your PATH or set the PKG_CONFIG environment variable to the full
13912 path to pkg-config.
13913
13914 Alternatively, you may set the environment variables LIBGLABELS_CFLAGS
13915 and LIBGLABELS_LIBS to avoid the need to call pkg-config.
13916 See the pkg-config man page for more details.
13917
13918 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13919 See \`config.log' for more details" "$LINENO" 5; }
13920
13921 else
13922         LIBGLABELS_CFLAGS=$pkg_cv_LIBGLABELS_CFLAGS
13923         LIBGLABELS_LIBS=$pkg_cv_LIBGLABELS_LIBS
13924         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13925 $as_echo "yes" >&6; }
13926
13927 fi
13928
13929
13930
13931
13932
13933
13934 pkg_failed=no
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGLBARCODE" >&5
13936 $as_echo_n "checking for LIBGLBARCODE... " >&6; }
13937
13938 if test -n "$LIBGLBARCODE_CFLAGS"; then
13939     pkg_cv_LIBGLBARCODE_CFLAGS="$LIBGLBARCODE_CFLAGS"
13940  elif test -n "$PKG_CONFIG"; then
13941     if test -n "$PKG_CONFIG" && \
13942     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13943         glib-2.0 >= \$GLIB_REQUIRED \\
13944         cairo >= \$CAIRO_REQUIRED \\
13945         pango >= \$PANGO_REQUIRED \\
13946 \""; } >&5
13947   ($PKG_CONFIG --exists --print-errors "\
13948         glib-2.0 >= $GLIB_REQUIRED \
13949         cairo >= $CAIRO_REQUIRED \
13950         pango >= $PANGO_REQUIRED \
13951 ") 2>&5
13952   ac_status=$?
13953   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13954   test $ac_status = 0; }; then
13955   pkg_cv_LIBGLBARCODE_CFLAGS=`$PKG_CONFIG --cflags "\
13956         glib-2.0 >= $GLIB_REQUIRED \
13957         cairo >= $CAIRO_REQUIRED \
13958         pango >= $PANGO_REQUIRED \
13959 " 2>/dev/null`
13960 else
13961   pkg_failed=yes
13962 fi
13963  else
13964     pkg_failed=untried
13965 fi
13966 if test -n "$LIBGLBARCODE_LIBS"; then
13967     pkg_cv_LIBGLBARCODE_LIBS="$LIBGLBARCODE_LIBS"
13968  elif test -n "$PKG_CONFIG"; then
13969     if test -n "$PKG_CONFIG" && \
13970     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
13971         glib-2.0 >= \$GLIB_REQUIRED \\
13972         cairo >= \$CAIRO_REQUIRED \\
13973         pango >= \$PANGO_REQUIRED \\
13974 \""; } >&5
13975   ($PKG_CONFIG --exists --print-errors "\
13976         glib-2.0 >= $GLIB_REQUIRED \
13977         cairo >= $CAIRO_REQUIRED \
13978         pango >= $PANGO_REQUIRED \
13979 ") 2>&5
13980   ac_status=$?
13981   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13982   test $ac_status = 0; }; then
13983   pkg_cv_LIBGLBARCODE_LIBS=`$PKG_CONFIG --libs "\
13984         glib-2.0 >= $GLIB_REQUIRED \
13985         cairo >= $CAIRO_REQUIRED \
13986         pango >= $PANGO_REQUIRED \
13987 " 2>/dev/null`
13988 else
13989   pkg_failed=yes
13990 fi
13991  else
13992     pkg_failed=untried
13993 fi
13994
13995
13996
13997 if test $pkg_failed = yes; then
13998         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13999 $as_echo "no" >&6; }
14000
14001 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14002         _pkg_short_errors_supported=yes
14003 else
14004         _pkg_short_errors_supported=no
14005 fi
14006         if test $_pkg_short_errors_supported = yes; then
14007                 LIBGLBARCODE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "\
14008         glib-2.0 >= $GLIB_REQUIRED \
14009         cairo >= $CAIRO_REQUIRED \
14010         pango >= $PANGO_REQUIRED \
14011 " 2>&1`
14012         else
14013                 LIBGLBARCODE_PKG_ERRORS=`$PKG_CONFIG --print-errors "\
14014         glib-2.0 >= $GLIB_REQUIRED \
14015         cairo >= $CAIRO_REQUIRED \
14016         pango >= $PANGO_REQUIRED \
14017 " 2>&1`
14018         fi
14019         # Put the nasty error message in config.log where it belongs
14020         echo "$LIBGLBARCODE_PKG_ERRORS" >&5
14021
14022         as_fn_error $? "Package requirements (\
14023         glib-2.0 >= $GLIB_REQUIRED \
14024         cairo >= $CAIRO_REQUIRED \
14025         pango >= $PANGO_REQUIRED \
14026 ) were not met:
14027
14028 $LIBGLBARCODE_PKG_ERRORS
14029
14030 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14031 installed software in a non-standard prefix.
14032
14033 Alternatively, you may set the environment variables LIBGLBARCODE_CFLAGS
14034 and LIBGLBARCODE_LIBS to avoid the need to call pkg-config.
14035 See the pkg-config man page for more details." "$LINENO" 5
14036
14037 elif test $pkg_failed = untried; then
14038         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14039 $as_echo "no" >&6; }
14040         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14041 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14042 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14043 is in your PATH or set the PKG_CONFIG environment variable to the full
14044 path to pkg-config.
14045
14046 Alternatively, you may set the environment variables LIBGLBARCODE_CFLAGS
14047 and LIBGLBARCODE_LIBS to avoid the need to call pkg-config.
14048 See the pkg-config man page for more details.
14049
14050 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14051 See \`config.log' for more details" "$LINENO" 5; }
14052
14053 else
14054         LIBGLBARCODE_CFLAGS=$pkg_cv_LIBGLBARCODE_CFLAGS
14055         LIBGLBARCODE_LIBS=$pkg_cv_LIBGLBARCODE_LIBS
14056         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14057 $as_echo "yes" >&6; }
14058
14059 fi
14060
14061
14062
14063
14064
14065
14066 # Check whether --with-libebook was given.
14067 if test "${with_libebook+set}" = set; then :
14068   withval=$with_libebook;
14069 fi
14070
14071 have_libebook=no
14072 if test "x$with_libebook" != xno; then
14073
14074 pkg_failed=no
14075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBEBOOK" >&5
14076 $as_echo_n "checking for LIBEBOOK... " >&6; }
14077
14078 if test -n "$LIBEBOOK_CFLAGS"; then
14079     pkg_cv_LIBEBOOK_CFLAGS="$LIBEBOOK_CFLAGS"
14080  elif test -n "$PKG_CONFIG"; then
14081     if test -n "$PKG_CONFIG" && \
14082     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebook-1.2 >= \$LIBEBOOK_REQUIRED\""; } >&5
14083   ($PKG_CONFIG --exists --print-errors "libebook-1.2 >= $LIBEBOOK_REQUIRED") 2>&5
14084   ac_status=$?
14085   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14086   test $ac_status = 0; }; then
14087   pkg_cv_LIBEBOOK_CFLAGS=`$PKG_CONFIG --cflags "libebook-1.2 >= $LIBEBOOK_REQUIRED" 2>/dev/null`
14088 else
14089   pkg_failed=yes
14090 fi
14091  else
14092     pkg_failed=untried
14093 fi
14094 if test -n "$LIBEBOOK_LIBS"; then
14095     pkg_cv_LIBEBOOK_LIBS="$LIBEBOOK_LIBS"
14096  elif test -n "$PKG_CONFIG"; then
14097     if test -n "$PKG_CONFIG" && \
14098     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebook-1.2 >= \$LIBEBOOK_REQUIRED\""; } >&5
14099   ($PKG_CONFIG --exists --print-errors "libebook-1.2 >= $LIBEBOOK_REQUIRED") 2>&5
14100   ac_status=$?
14101   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14102   test $ac_status = 0; }; then
14103   pkg_cv_LIBEBOOK_LIBS=`$PKG_CONFIG --libs "libebook-1.2 >= $LIBEBOOK_REQUIRED" 2>/dev/null`
14104 else
14105   pkg_failed=yes
14106 fi
14107  else
14108     pkg_failed=untried
14109 fi
14110
14111
14112
14113 if test $pkg_failed = yes; then
14114         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14115 $as_echo "no" >&6; }
14116
14117 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14118         _pkg_short_errors_supported=yes
14119 else
14120         _pkg_short_errors_supported=no
14121 fi
14122         if test $_pkg_short_errors_supported = yes; then
14123                 LIBEBOOK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libebook-1.2 >= $LIBEBOOK_REQUIRED" 2>&1`
14124         else
14125                 LIBEBOOK_PKG_ERRORS=`$PKG_CONFIG --print-errors "libebook-1.2 >= $LIBEBOOK_REQUIRED" 2>&1`
14126         fi
14127         # Put the nasty error message in config.log where it belongs
14128         echo "$LIBEBOOK_PKG_ERRORS" >&5
14129
14130         have_libebook=no
14131 elif test $pkg_failed = untried; then
14132         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14133 $as_echo "no" >&6; }
14134         have_libebook=no
14135 else
14136         LIBEBOOK_CFLAGS=$pkg_cv_LIBEBOOK_CFLAGS
14137         LIBEBOOK_LIBS=$pkg_cv_LIBEBOOK_LIBS
14138         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14139 $as_echo "yes" >&6; }
14140         have_libebook=yes
14141 fi
14142 fi
14143
14144 if test "x$have_libebook" = "xyes"; then
14145
14146 $as_echo "#define HAVE_LIBEBOOK 1" >>confdefs.h
14147
14148
14149
14150 fi
14151
14152
14153
14154 # Check whether --with-libbarcode was given.
14155 if test "${with_libbarcode+set}" = set; then :
14156   withval=$with_libbarcode;
14157 fi
14158
14159 have_libbarcode=no
14160 if test "x$with_libbarcode" != xno; then
14161    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Barcode_Create in -lbarcode" >&5
14162 $as_echo_n "checking for Barcode_Create in -lbarcode... " >&6; }
14163 if ${ac_cv_lib_barcode_Barcode_Create+:} false; then :
14164   $as_echo_n "(cached) " >&6
14165 else
14166   ac_check_lib_save_LIBS=$LIBS
14167 LIBS="-lbarcode  $LIBS"
14168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14169 /* end confdefs.h.  */
14170
14171 /* Override any GCC internal prototype to avoid an error.
14172    Use char because int might match the return type of a GCC
14173    builtin and then its argument prototype would still apply.  */
14174 #ifdef __cplusplus
14175 extern "C"
14176 #endif
14177 char Barcode_Create ();
14178 int
14179 main ()
14180 {
14181 return Barcode_Create ();
14182   ;
14183   return 0;
14184 }
14185 _ACEOF
14186 if ac_fn_c_try_link "$LINENO"; then :
14187   ac_cv_lib_barcode_Barcode_Create=yes
14188 else
14189   ac_cv_lib_barcode_Barcode_Create=no
14190 fi
14191 rm -f core conftest.err conftest.$ac_objext \
14192     conftest$ac_exeext conftest.$ac_ext
14193 LIBS=$ac_check_lib_save_LIBS
14194 fi
14195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_barcode_Barcode_Create" >&5
14196 $as_echo "$ac_cv_lib_barcode_Barcode_Create" >&6; }
14197 if test "x$ac_cv_lib_barcode_Barcode_Create" = xyes; then :
14198   have_libbarcode=yes
14199 else
14200   have_libbarcode=no
14201 fi
14202
14203 fi
14204
14205 if test "x$have_libbarcode" = "xyes"; then
14206
14207 $as_echo "#define HAVE_LIBBARCODE 1" >>confdefs.h
14208
14209         LIBBARCODE_CFLAGS=""
14210         LIBBARCODE_LIBS="-lbarcode"
14211
14212
14213 else
14214         help_libbarcode="(See http://www.gnu.org/software/barcode/barcode.html)"
14215 fi
14216
14217
14218 # Check whether --with-libzint was given.
14219 if test "${with_libzint+set}" = set; then :
14220   withval=$with_libzint;
14221 fi
14222
14223 have_libzint=no
14224 if test "x$with_libzint" != xno; then
14225    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ZBarcode_Render in -lzint" >&5
14226 $as_echo_n "checking for ZBarcode_Render in -lzint... " >&6; }
14227 if ${ac_cv_lib_zint_ZBarcode_Render+:} false; then :
14228   $as_echo_n "(cached) " >&6
14229 else
14230   ac_check_lib_save_LIBS=$LIBS
14231 LIBS="-lzint  $LIBS"
14232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14233 /* end confdefs.h.  */
14234
14235 /* Override any GCC internal prototype to avoid an error.
14236    Use char because int might match the return type of a GCC
14237    builtin and then its argument prototype would still apply.  */
14238 #ifdef __cplusplus
14239 extern "C"
14240 #endif
14241 char ZBarcode_Render ();
14242 int
14243 main ()
14244 {
14245 return ZBarcode_Render ();
14246   ;
14247   return 0;
14248 }
14249 _ACEOF
14250 if ac_fn_c_try_link "$LINENO"; then :
14251   ac_cv_lib_zint_ZBarcode_Render=yes
14252 else
14253   ac_cv_lib_zint_ZBarcode_Render=no
14254 fi
14255 rm -f core conftest.err conftest.$ac_objext \
14256     conftest$ac_exeext conftest.$ac_ext
14257 LIBS=$ac_check_lib_save_LIBS
14258 fi
14259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_zint_ZBarcode_Render" >&5
14260 $as_echo "$ac_cv_lib_zint_ZBarcode_Render" >&6; }
14261 if test "x$ac_cv_lib_zint_ZBarcode_Render" = xyes; then :
14262   have_libzint=yes
14263 else
14264   have_libzint=no
14265 fi
14266
14267 fi
14268
14269 if test "x$have_libzint" = "xyes"; then
14270
14271 $as_echo "#define HAVE_LIBZINT 1" >>confdefs.h
14272
14273         LIBZINT_CFLAGS=""
14274         LIBZINT_LIBS="-lzint"
14275
14276
14277 else
14278         help_libzint="(See http://www.zint.org.uk)"
14279 fi
14280
14281
14282
14283 # Check whether --with-libqrencode was given.
14284 if test "${with_libqrencode+set}" = set; then :
14285   withval=$with_libqrencode;
14286 fi
14287
14288 have_libqrencode=no
14289 if test "x$with_libqrencode" != xno; then
14290
14291 pkg_failed=no
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBQRENCODE" >&5
14293 $as_echo_n "checking for LIBQRENCODE... " >&6; }
14294
14295 if test -n "$LIBQRENCODE_CFLAGS"; then
14296     pkg_cv_LIBQRENCODE_CFLAGS="$LIBQRENCODE_CFLAGS"
14297  elif test -n "$PKG_CONFIG"; then
14298     if test -n "$PKG_CONFIG" && \
14299     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libqrencode >= \$LIBQRENCODE_REQUIRED\""; } >&5
14300   ($PKG_CONFIG --exists --print-errors "libqrencode >= $LIBQRENCODE_REQUIRED") 2>&5
14301   ac_status=$?
14302   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14303   test $ac_status = 0; }; then
14304   pkg_cv_LIBQRENCODE_CFLAGS=`$PKG_CONFIG --cflags "libqrencode >= $LIBQRENCODE_REQUIRED" 2>/dev/null`
14305 else
14306   pkg_failed=yes
14307 fi
14308  else
14309     pkg_failed=untried
14310 fi
14311 if test -n "$LIBQRENCODE_LIBS"; then
14312     pkg_cv_LIBQRENCODE_LIBS="$LIBQRENCODE_LIBS"
14313  elif test -n "$PKG_CONFIG"; then
14314     if test -n "$PKG_CONFIG" && \
14315     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libqrencode >= \$LIBQRENCODE_REQUIRED\""; } >&5
14316   ($PKG_CONFIG --exists --print-errors "libqrencode >= $LIBQRENCODE_REQUIRED") 2>&5
14317   ac_status=$?
14318   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14319   test $ac_status = 0; }; then
14320   pkg_cv_LIBQRENCODE_LIBS=`$PKG_CONFIG --libs "libqrencode >= $LIBQRENCODE_REQUIRED" 2>/dev/null`
14321 else
14322   pkg_failed=yes
14323 fi
14324  else
14325     pkg_failed=untried
14326 fi
14327
14328
14329
14330 if test $pkg_failed = yes; then
14331         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14332 $as_echo "no" >&6; }
14333
14334 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14335         _pkg_short_errors_supported=yes
14336 else
14337         _pkg_short_errors_supported=no
14338 fi
14339         if test $_pkg_short_errors_supported = yes; then
14340                 LIBQRENCODE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libqrencode >= $LIBQRENCODE_REQUIRED" 2>&1`
14341         else
14342                 LIBQRENCODE_PKG_ERRORS=`$PKG_CONFIG --print-errors "libqrencode >= $LIBQRENCODE_REQUIRED" 2>&1`
14343         fi
14344         # Put the nasty error message in config.log where it belongs
14345         echo "$LIBQRENCODE_PKG_ERRORS" >&5
14346
14347         have_libqrencode=no
14348 elif test $pkg_failed = untried; then
14349         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14350 $as_echo "no" >&6; }
14351         have_libqrencode=no
14352 else
14353         LIBQRENCODE_CFLAGS=$pkg_cv_LIBQRENCODE_CFLAGS
14354         LIBQRENCODE_LIBS=$pkg_cv_LIBQRENCODE_LIBS
14355         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14356 $as_echo "yes" >&6; }
14357         have_libqrencode=yes
14358 fi
14359 fi
14360
14361 if test "x$have_libqrencode" = "xyes"; then
14362
14363 $as_echo "#define HAVE_LIBQRENCODE 1" >>confdefs.h
14364
14365
14366
14367 else
14368         help_libqrencode="(See http://megaui.net/fukuchi/works/qrencode/index.en.html)"
14369 fi
14370
14371
14372
14373 # Check whether --with-libiec16022 was given.
14374 if test "${with_libiec16022+set}" = set; then :
14375   withval=$with_libiec16022;
14376 fi
14377
14378 have_libiec16022=no
14379 if test "x$with_libiec16022" != xno; then
14380
14381 pkg_failed=no
14382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBIEC16022" >&5
14383 $as_echo_n "checking for LIBIEC16022... " >&6; }
14384
14385 if test -n "$LIBIEC16022_CFLAGS"; then
14386     pkg_cv_LIBIEC16022_CFLAGS="$LIBIEC16022_CFLAGS"
14387  elif test -n "$PKG_CONFIG"; then
14388     if test -n "$PKG_CONFIG" && \
14389     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libiec16022 >= \$LIBIEC16022_REQUIRED\""; } >&5
14390   ($PKG_CONFIG --exists --print-errors "libiec16022 >= $LIBIEC16022_REQUIRED") 2>&5
14391   ac_status=$?
14392   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14393   test $ac_status = 0; }; then
14394   pkg_cv_LIBIEC16022_CFLAGS=`$PKG_CONFIG --cflags "libiec16022 >= $LIBIEC16022_REQUIRED" 2>/dev/null`
14395 else
14396   pkg_failed=yes
14397 fi
14398  else
14399     pkg_failed=untried
14400 fi
14401 if test -n "$LIBIEC16022_LIBS"; then
14402     pkg_cv_LIBIEC16022_LIBS="$LIBIEC16022_LIBS"
14403  elif test -n "$PKG_CONFIG"; then
14404     if test -n "$PKG_CONFIG" && \
14405     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libiec16022 >= \$LIBIEC16022_REQUIRED\""; } >&5
14406   ($PKG_CONFIG --exists --print-errors "libiec16022 >= $LIBIEC16022_REQUIRED") 2>&5
14407   ac_status=$?
14408   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14409   test $ac_status = 0; }; then
14410   pkg_cv_LIBIEC16022_LIBS=`$PKG_CONFIG --libs "libiec16022 >= $LIBIEC16022_REQUIRED" 2>/dev/null`
14411 else
14412   pkg_failed=yes
14413 fi
14414  else
14415     pkg_failed=untried
14416 fi
14417
14418
14419
14420 if test $pkg_failed = yes; then
14421         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14422 $as_echo "no" >&6; }
14423
14424 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14425         _pkg_short_errors_supported=yes
14426 else
14427         _pkg_short_errors_supported=no
14428 fi
14429         if test $_pkg_short_errors_supported = yes; then
14430                 LIBIEC16022_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libiec16022 >= $LIBIEC16022_REQUIRED" 2>&1`
14431         else
14432                 LIBIEC16022_PKG_ERRORS=`$PKG_CONFIG --print-errors "libiec16022 >= $LIBIEC16022_REQUIRED" 2>&1`
14433         fi
14434         # Put the nasty error message in config.log where it belongs
14435         echo "$LIBIEC16022_PKG_ERRORS" >&5
14436
14437         have_libiec16022=no
14438 elif test $pkg_failed = untried; then
14439         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14440 $as_echo "no" >&6; }
14441         have_libiec16022=no
14442 else
14443         LIBIEC16022_CFLAGS=$pkg_cv_LIBIEC16022_CFLAGS
14444         LIBIEC16022_LIBS=$pkg_cv_LIBIEC16022_LIBS
14445         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14446 $as_echo "yes" >&6; }
14447         have_libiec16022=yes
14448 fi
14449 fi
14450
14451 if test "x$have_libiec16022" = "xyes"; then
14452
14453 $as_echo "#define HAVE_LIBIEC16022 1" >>confdefs.h
14454
14455
14456
14457 else
14458         help_libiec16022="(See http://datenfreihafen.org/projects/iec16022.html)"
14459 fi
14460
14461
14462 # Check whether --enable-deprecations was given.
14463 if test "${enable_deprecations+set}" = set; then :
14464   enableval=$enable_deprecations;
14465 else
14466   enable_deprecations=no
14467 fi
14468
14469
14470 if test "x$enable_deprecations" = "xyes"; then
14471    DISABLE_DEPRECATED_CFLAGS="\
14472 -DG_DISABLE_DEPRECATED \
14473 -DGDK_DISABLE_DEPRECATED \
14474 -DGTK_DISABLE_DEPRECATED \
14475 -DGDK_PIXBUF_DISABLE_DEPRECATED \
14476 "
14477
14478 fi
14479
14480
14481 GETTEXT_PACKAGE=${GLABELS_BRANCH}
14482
14483
14484 cat >>confdefs.h <<_ACEOF
14485 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
14486 _ACEOF
14487
14488
14489
14490    for ac_header in locale.h
14491 do :
14492   ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
14493 if test "x$ac_cv_header_locale_h" = xyes; then :
14494   cat >>confdefs.h <<_ACEOF
14495 #define HAVE_LOCALE_H 1
14496 _ACEOF
14497
14498 fi
14499
14500 done
14501
14502     if test $ac_cv_header_locale_h = yes; then
14503     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
14504 $as_echo_n "checking for LC_MESSAGES... " >&6; }
14505 if ${am_cv_val_LC_MESSAGES+:} false; then :
14506   $as_echo_n "(cached) " >&6
14507 else
14508   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14509 /* end confdefs.h.  */
14510 #include <locale.h>
14511 int
14512 main ()
14513 {
14514 return LC_MESSAGES
14515   ;
14516   return 0;
14517 }
14518 _ACEOF
14519 if ac_fn_c_try_link "$LINENO"; then :
14520   am_cv_val_LC_MESSAGES=yes
14521 else
14522   am_cv_val_LC_MESSAGES=no
14523 fi
14524 rm -f core conftest.err conftest.$ac_objext \
14525     conftest$ac_exeext conftest.$ac_ext
14526 fi
14527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
14528 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
14529     if test $am_cv_val_LC_MESSAGES = yes; then
14530
14531 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
14532
14533     fi
14534   fi
14535      USE_NLS=yes
14536
14537
14538     gt_cv_have_gettext=no
14539
14540     CATOBJEXT=NONE
14541     XGETTEXT=:
14542     INTLLIBS=
14543
14544     ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
14545 if test "x$ac_cv_header_libintl_h" = xyes; then :
14546   gt_cv_func_dgettext_libintl="no"
14547       libintl_extra_libs=""
14548
14549       #
14550       # First check in libc
14551       #
14552       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
14553 $as_echo_n "checking for ngettext in libc... " >&6; }
14554 if ${gt_cv_func_ngettext_libc+:} false; then :
14555   $as_echo_n "(cached) " >&6
14556 else
14557   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14558 /* end confdefs.h.  */
14559
14560 #include <libintl.h>
14561
14562 int
14563 main ()
14564 {
14565 return !ngettext ("","", 1)
14566   ;
14567   return 0;
14568 }
14569 _ACEOF
14570 if ac_fn_c_try_link "$LINENO"; then :
14571   gt_cv_func_ngettext_libc=yes
14572 else
14573   gt_cv_func_ngettext_libc=no
14574 fi
14575 rm -f core conftest.err conftest.$ac_objext \
14576     conftest$ac_exeext conftest.$ac_ext
14577
14578 fi
14579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
14580 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
14581
14582       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
14583               { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
14584 $as_echo_n "checking for dgettext in libc... " >&6; }
14585 if ${gt_cv_func_dgettext_libc+:} false; then :
14586   $as_echo_n "(cached) " >&6
14587 else
14588   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14589 /* end confdefs.h.  */
14590
14591 #include <libintl.h>
14592
14593 int
14594 main ()
14595 {
14596 return !dgettext ("","")
14597   ;
14598   return 0;
14599 }
14600 _ACEOF
14601 if ac_fn_c_try_link "$LINENO"; then :
14602   gt_cv_func_dgettext_libc=yes
14603 else
14604   gt_cv_func_dgettext_libc=no
14605 fi
14606 rm -f core conftest.err conftest.$ac_objext \
14607     conftest$ac_exeext conftest.$ac_ext
14608
14609 fi
14610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
14611 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
14612       fi
14613
14614       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
14615         for ac_func in bind_textdomain_codeset
14616 do :
14617   ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
14618 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
14619   cat >>confdefs.h <<_ACEOF
14620 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
14621 _ACEOF
14622
14623 fi
14624 done
14625
14626       fi
14627
14628       #
14629       # If we don't have everything we want, check in libintl
14630       #
14631       if test "$gt_cv_func_dgettext_libc" != "yes" \
14632          || test "$gt_cv_func_ngettext_libc" != "yes" \
14633          || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
14634
14635         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
14636 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
14637 if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
14638   $as_echo_n "(cached) " >&6
14639 else
14640   ac_check_lib_save_LIBS=$LIBS
14641 LIBS="-lintl  $LIBS"
14642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14643 /* end confdefs.h.  */
14644
14645 /* Override any GCC internal prototype to avoid an error.
14646    Use char because int might match the return type of a GCC
14647    builtin and then its argument prototype would still apply.  */
14648 #ifdef __cplusplus
14649 extern "C"
14650 #endif
14651 char bindtextdomain ();
14652 int
14653 main ()
14654 {
14655 return bindtextdomain ();
14656   ;
14657   return 0;
14658 }
14659 _ACEOF
14660 if ac_fn_c_try_link "$LINENO"; then :
14661   ac_cv_lib_intl_bindtextdomain=yes
14662 else
14663   ac_cv_lib_intl_bindtextdomain=no
14664 fi
14665 rm -f core conftest.err conftest.$ac_objext \
14666     conftest$ac_exeext conftest.$ac_ext
14667 LIBS=$ac_check_lib_save_LIBS
14668 fi
14669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
14670 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
14671 if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
14672   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
14673 $as_echo_n "checking for ngettext in -lintl... " >&6; }
14674 if ${ac_cv_lib_intl_ngettext+:} false; then :
14675   $as_echo_n "(cached) " >&6
14676 else
14677   ac_check_lib_save_LIBS=$LIBS
14678 LIBS="-lintl  $LIBS"
14679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14680 /* end confdefs.h.  */
14681
14682 /* Override any GCC internal prototype to avoid an error.
14683    Use char because int might match the return type of a GCC
14684    builtin and then its argument prototype would still apply.  */
14685 #ifdef __cplusplus
14686 extern "C"
14687 #endif
14688 char ngettext ();
14689 int
14690 main ()
14691 {
14692 return ngettext ();
14693   ;
14694   return 0;
14695 }
14696 _ACEOF
14697 if ac_fn_c_try_link "$LINENO"; then :
14698   ac_cv_lib_intl_ngettext=yes
14699 else
14700   ac_cv_lib_intl_ngettext=no
14701 fi
14702 rm -f core conftest.err conftest.$ac_objext \
14703     conftest$ac_exeext conftest.$ac_ext
14704 LIBS=$ac_check_lib_save_LIBS
14705 fi
14706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
14707 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
14708 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
14709   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
14710 $as_echo_n "checking for dgettext in -lintl... " >&6; }
14711 if ${ac_cv_lib_intl_dgettext+:} false; then :
14712   $as_echo_n "(cached) " >&6
14713 else
14714   ac_check_lib_save_LIBS=$LIBS
14715 LIBS="-lintl  $LIBS"
14716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14717 /* end confdefs.h.  */
14718
14719 /* Override any GCC internal prototype to avoid an error.
14720    Use char because int might match the return type of a GCC
14721    builtin and then its argument prototype would still apply.  */
14722 #ifdef __cplusplus
14723 extern "C"
14724 #endif
14725 char dgettext ();
14726 int
14727 main ()
14728 {
14729 return dgettext ();
14730   ;
14731   return 0;
14732 }
14733 _ACEOF
14734 if ac_fn_c_try_link "$LINENO"; then :
14735   ac_cv_lib_intl_dgettext=yes
14736 else
14737   ac_cv_lib_intl_dgettext=no
14738 fi
14739 rm -f core conftest.err conftest.$ac_objext \
14740     conftest$ac_exeext conftest.$ac_ext
14741 LIBS=$ac_check_lib_save_LIBS
14742 fi
14743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
14744 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
14745 if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
14746   gt_cv_func_dgettext_libintl=yes
14747 fi
14748
14749 fi
14750
14751 fi
14752
14753
14754         if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
14755           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
14756 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
14757           { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
14758 $as_echo "" >&6; }
14759           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
14760 $as_echo_n "checking for ngettext in -lintl... " >&6; }
14761 if ${ac_cv_lib_intl_ngettext+:} false; then :
14762   $as_echo_n "(cached) " >&6
14763 else
14764   ac_check_lib_save_LIBS=$LIBS
14765 LIBS="-lintl -liconv $LIBS"
14766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14767 /* end confdefs.h.  */
14768
14769 /* Override any GCC internal prototype to avoid an error.
14770    Use char because int might match the return type of a GCC
14771    builtin and then its argument prototype would still apply.  */
14772 #ifdef __cplusplus
14773 extern "C"
14774 #endif
14775 char ngettext ();
14776 int
14777 main ()
14778 {
14779 return ngettext ();
14780   ;
14781   return 0;
14782 }
14783 _ACEOF
14784 if ac_fn_c_try_link "$LINENO"; then :
14785   ac_cv_lib_intl_ngettext=yes
14786 else
14787   ac_cv_lib_intl_ngettext=no
14788 fi
14789 rm -f core conftest.err conftest.$ac_objext \
14790     conftest$ac_exeext conftest.$ac_ext
14791 LIBS=$ac_check_lib_save_LIBS
14792 fi
14793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
14794 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
14795 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
14796   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
14797 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
14798 if ${ac_cv_lib_intl_dcgettext+:} false; then :
14799   $as_echo_n "(cached) " >&6
14800 else
14801   ac_check_lib_save_LIBS=$LIBS
14802 LIBS="-lintl -liconv $LIBS"
14803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14804 /* end confdefs.h.  */
14805
14806 /* Override any GCC internal prototype to avoid an error.
14807    Use char because int might match the return type of a GCC
14808    builtin and then its argument prototype would still apply.  */
14809 #ifdef __cplusplus
14810 extern "C"
14811 #endif
14812 char dcgettext ();
14813 int
14814 main ()
14815 {
14816 return dcgettext ();
14817   ;
14818   return 0;
14819 }
14820 _ACEOF
14821 if ac_fn_c_try_link "$LINENO"; then :
14822   ac_cv_lib_intl_dcgettext=yes
14823 else
14824   ac_cv_lib_intl_dcgettext=no
14825 fi
14826 rm -f core conftest.err conftest.$ac_objext \
14827     conftest$ac_exeext conftest.$ac_ext
14828 LIBS=$ac_check_lib_save_LIBS
14829 fi
14830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
14831 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
14832 if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
14833   gt_cv_func_dgettext_libintl=yes
14834                         libintl_extra_libs=-liconv
14835 else
14836   :
14837 fi
14838
14839 else
14840   :
14841 fi
14842
14843         fi
14844
14845         #
14846         # If we found libintl, then check in it for bind_textdomain_codeset();
14847         # we'll prefer libc if neither have bind_textdomain_codeset(),
14848         # and both have dgettext and ngettext
14849         #
14850         if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
14851           glib_save_LIBS="$LIBS"
14852           LIBS="$LIBS -lintl $libintl_extra_libs"
14853           unset ac_cv_func_bind_textdomain_codeset
14854           for ac_func in bind_textdomain_codeset
14855 do :
14856   ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
14857 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
14858   cat >>confdefs.h <<_ACEOF
14859 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
14860 _ACEOF
14861
14862 fi
14863 done
14864
14865           LIBS="$glib_save_LIBS"
14866
14867           if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
14868             gt_cv_func_dgettext_libc=no
14869           else
14870             if test "$gt_cv_func_dgettext_libc" = "yes" \
14871                 && test "$gt_cv_func_ngettext_libc" = "yes"; then
14872               gt_cv_func_dgettext_libintl=no
14873             fi
14874           fi
14875         fi
14876       fi
14877
14878       if test "$gt_cv_func_dgettext_libc" = "yes" \
14879         || test "$gt_cv_func_dgettext_libintl" = "yes"; then
14880         gt_cv_have_gettext=yes
14881       fi
14882
14883       if test "$gt_cv_func_dgettext_libintl" = "yes"; then
14884         INTLLIBS="-lintl $libintl_extra_libs"
14885       fi
14886
14887       if test "$gt_cv_have_gettext" = "yes"; then
14888
14889 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
14890
14891         # Extract the first word of "msgfmt", so it can be a program name with args.
14892 set dummy msgfmt; ac_word=$2
14893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14894 $as_echo_n "checking for $ac_word... " >&6; }
14895 if ${ac_cv_path_MSGFMT+:} false; then :
14896   $as_echo_n "(cached) " >&6
14897 else
14898   case "$MSGFMT" in
14899   /*)
14900   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
14901   ;;
14902   *)
14903   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
14904   for ac_dir in $PATH; do
14905     test -z "$ac_dir" && ac_dir=.
14906     if test -f $ac_dir/$ac_word; then
14907       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
14908         ac_cv_path_MSGFMT="$ac_dir/$ac_word"
14909         break
14910       fi
14911     fi
14912   done
14913   IFS="$ac_save_ifs"
14914   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
14915   ;;
14916 esac
14917 fi
14918 MSGFMT="$ac_cv_path_MSGFMT"
14919 if test "$MSGFMT" != "no"; then
14920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
14921 $as_echo "$MSGFMT" >&6; }
14922 else
14923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14924 $as_echo "no" >&6; }
14925 fi
14926         if test "$MSGFMT" != "no"; then
14927           glib_save_LIBS="$LIBS"
14928           LIBS="$LIBS $INTLLIBS"
14929           for ac_func in dcgettext
14930 do :
14931   ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
14932 if test "x$ac_cv_func_dcgettext" = xyes; then :
14933   cat >>confdefs.h <<_ACEOF
14934 #define HAVE_DCGETTEXT 1
14935 _ACEOF
14936
14937 fi
14938 done
14939
14940           MSGFMT_OPTS=
14941           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
14942 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
14943           cat >conftest.foo <<_ACEOF
14944
14945 msgid ""
14946 msgstr ""
14947 "Content-Type: text/plain; charset=UTF-8\n"
14948 "Project-Id-Version: test 1.0\n"
14949 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
14950 "Last-Translator: test <foo@bar.xx>\n"
14951 "Language-Team: C <LL@li.org>\n"
14952 "MIME-Version: 1.0\n"
14953 "Content-Transfer-Encoding: 8bit\n"
14954
14955 _ACEOF
14956 if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
14957   ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
14958   ac_status=$?
14959   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14960   test $ac_status = 0; }; then
14961   MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14962 $as_echo "yes" >&6; }
14963 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14964 $as_echo "no" >&6; }
14965 echo "$as_me: failed input was:" >&5
14966 sed 's/^/| /' conftest.foo >&5
14967 fi
14968
14969           # Extract the first word of "gmsgfmt", so it can be a program name with args.
14970 set dummy gmsgfmt; ac_word=$2
14971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14972 $as_echo_n "checking for $ac_word... " >&6; }
14973 if ${ac_cv_path_GMSGFMT+:} false; then :
14974   $as_echo_n "(cached) " >&6
14975 else
14976   case $GMSGFMT in
14977   [\\/]* | ?:[\\/]*)
14978   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
14979   ;;
14980   *)
14981   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14982 for as_dir in $PATH
14983 do
14984   IFS=$as_save_IFS
14985   test -z "$as_dir" && as_dir=.
14986     for ac_exec_ext in '' $ac_executable_extensions; do
14987   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14988     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
14989     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14990     break 2
14991   fi
14992 done
14993   done
14994 IFS=$as_save_IFS
14995
14996   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
14997   ;;
14998 esac
14999 fi
15000 GMSGFMT=$ac_cv_path_GMSGFMT
15001 if test -n "$GMSGFMT"; then
15002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
15003 $as_echo "$GMSGFMT" >&6; }
15004 else
15005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15006 $as_echo "no" >&6; }
15007 fi
15008
15009
15010           # Extract the first word of "xgettext", so it can be a program name with args.
15011 set dummy xgettext; ac_word=$2
15012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15013 $as_echo_n "checking for $ac_word... " >&6; }
15014 if ${ac_cv_path_XGETTEXT+:} false; then :
15015   $as_echo_n "(cached) " >&6
15016 else
15017   case "$XGETTEXT" in
15018   /*)
15019   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
15020   ;;
15021   *)
15022   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
15023   for ac_dir in $PATH; do
15024     test -z "$ac_dir" && ac_dir=.
15025     if test -f $ac_dir/$ac_word; then
15026       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
15027         ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
15028         break
15029       fi
15030     fi
15031   done
15032   IFS="$ac_save_ifs"
15033   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
15034   ;;
15035 esac
15036 fi
15037 XGETTEXT="$ac_cv_path_XGETTEXT"
15038 if test "$XGETTEXT" != ":"; then
15039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
15040 $as_echo "$XGETTEXT" >&6; }
15041 else
15042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15043 $as_echo "no" >&6; }
15044 fi
15045
15046           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15047 /* end confdefs.h.  */
15048
15049 int
15050 main ()
15051 {
15052 extern int _nl_msg_cat_cntr;
15053                          return _nl_msg_cat_cntr
15054   ;
15055   return 0;
15056 }
15057 _ACEOF
15058 if ac_fn_c_try_link "$LINENO"; then :
15059   CATOBJEXT=.gmo
15060              DATADIRNAME=share
15061 else
15062   case $host in
15063             *-*-solaris*)
15064                                                                 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15065 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15066   CATOBJEXT=.gmo
15067                DATADIRNAME=share
15068 else
15069   CATOBJEXT=.mo
15070                DATADIRNAME=lib
15071 fi
15072
15073             ;;
15074             *)
15075             CATOBJEXT=.mo
15076             DATADIRNAME=lib
15077             ;;
15078             esac
15079 fi
15080 rm -f core conftest.err conftest.$ac_objext \
15081     conftest$ac_exeext conftest.$ac_ext
15082           LIBS="$glib_save_LIBS"
15083           INSTOBJEXT=.mo
15084         else
15085           gt_cv_have_gettext=no
15086         fi
15087       fi
15088
15089 fi
15090
15091
15092
15093     if test "$gt_cv_have_gettext" = "yes" ; then
15094
15095 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
15096
15097     fi
15098
15099         if test "$XGETTEXT" != ":"; then
15100                   if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
15101         : ;
15102       else
15103         { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
15104 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
15105         XGETTEXT=":"
15106       fi
15107     fi
15108
15109     # We need to process the po/ directory.
15110     POSUB=po
15111
15112     ac_config_commands="$ac_config_commands default-1"
15113
15114
15115                 for lang in $ALL_LINGUAS; do
15116       GMOFILES="$GMOFILES $lang.gmo"
15117       POFILES="$POFILES $lang.po"
15118     done
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132    if test "$gt_cv_have_gettext" = "yes"; then
15133      if test "x$ALL_LINGUAS" = "x"; then
15134        LINGUAS=
15135      else
15136        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
15137 $as_echo_n "checking for catalogs to be installed... " >&6; }
15138        NEW_LINGUAS=
15139        for presentlang in $ALL_LINGUAS; do
15140          useit=no
15141          if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
15142            desiredlanguages="$LINGUAS"
15143          else
15144            desiredlanguages="$ALL_LINGUAS"
15145          fi
15146          for desiredlang in $desiredlanguages; do
15147            # Use the presentlang catalog if desiredlang is
15148            #   a. equal to presentlang, or
15149            #   b. a variant of presentlang (because in this case,
15150            #      presentlang can be used as a fallback for messages
15151            #      which are not translated in the desiredlang catalog).
15152            case "$desiredlang" in
15153              "$presentlang"*) useit=yes;;
15154            esac
15155          done
15156          if test $useit = yes; then
15157            NEW_LINGUAS="$NEW_LINGUAS $presentlang"
15158          fi
15159        done
15160        LINGUAS=$NEW_LINGUAS
15161        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
15162 $as_echo "$LINGUAS" >&6; }
15163      fi
15164
15165           if test -n "$LINGUAS"; then
15166        for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
15167      fi
15168    fi
15169
15170             MKINSTALLDIRS=
15171    if test -n "$ac_aux_dir"; then
15172      MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
15173    fi
15174    if test -z "$MKINSTALLDIRS"; then
15175      MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
15176    fi
15177
15178
15179          test -d po || mkdir po
15180    if test "x$srcdir" != "x."; then
15181      if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
15182        posrcprefix="$srcdir/"
15183      else
15184        posrcprefix="../$srcdir/"
15185      fi
15186    else
15187      posrcprefix="../"
15188    fi
15189    rm -f po/POTFILES
15190    sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
15191         < $srcdir/po/POTFILES.in > po/POTFILES
15192
15193
15194
15195 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"
15196
15197 cat >confcache <<\_ACEOF
15198 # This file is a shell script that caches the results of configure
15199 # tests run on this system so they can be shared between configure
15200 # scripts and configure runs, see configure's option --config-cache.
15201 # It is not useful on other systems.  If it contains results you don't
15202 # want to keep, you may remove or edit it.
15203 #
15204 # config.status only pays attention to the cache file if you give it
15205 # the --recheck option to rerun configure.
15206 #
15207 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15208 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15209 # following values.
15210
15211 _ACEOF
15212
15213 # The following way of writing the cache mishandles newlines in values,
15214 # but we know of no workaround that is simple, portable, and efficient.
15215 # So, we kill variables containing newlines.
15216 # Ultrix sh set writes to stderr and can't be redirected directly,
15217 # and sets the high bit in the cache file unless we assign to the vars.
15218 (
15219   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15220     eval ac_val=\$$ac_var
15221     case $ac_val in #(
15222     *${as_nl}*)
15223       case $ac_var in #(
15224       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15225 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15226       esac
15227       case $ac_var in #(
15228       _ | IFS | as_nl) ;; #(
15229       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15230       *) { eval $ac_var=; unset $ac_var;} ;;
15231       esac ;;
15232     esac
15233   done
15234
15235   (set) 2>&1 |
15236     case $as_nl`(ac_space=' '; set) 2>&1` in #(
15237     *${as_nl}ac_space=\ *)
15238       # `set' does not quote correctly, so add quotes: double-quote
15239       # substitution turns \\\\ into \\, and sed turns \\ into \.
15240       sed -n \
15241         "s/'/'\\\\''/g;
15242           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15243       ;; #(
15244     *)
15245       # `set' quotes correctly as required by POSIX, so do not add quotes.
15246       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15247       ;;
15248     esac |
15249     sort
15250 ) |
15251   sed '
15252      /^ac_cv_env_/b end
15253      t clear
15254      :clear
15255      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15256      t end
15257      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15258      :end' >>confcache
15259 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15260   if test -w "$cache_file"; then
15261     if test "x$cache_file" != "x/dev/null"; then
15262       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15263 $as_echo "$as_me: updating cache $cache_file" >&6;}
15264       if test ! -f "$cache_file" || test -h "$cache_file"; then
15265         cat confcache >"$cache_file"
15266       else
15267         case $cache_file in #(
15268         */* | ?:*)
15269           mv -f confcache "$cache_file"$$ &&
15270           mv -f "$cache_file"$$ "$cache_file" ;; #(
15271         *)
15272           mv -f confcache "$cache_file" ;;
15273         esac
15274       fi
15275     fi
15276   else
15277     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15278 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15279   fi
15280 fi
15281 rm -f confcache
15282
15283 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15284 # Let make expand exec_prefix.
15285 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15286
15287 DEFS=-DHAVE_CONFIG_H
15288
15289 ac_libobjs=
15290 ac_ltlibobjs=
15291 U=
15292 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15293   # 1. Remove the extension, and $U if already installed.
15294   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15295   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15296   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
15297   #    will be set to the directory where LIBOBJS objects are built.
15298   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15299   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15300 done
15301 LIBOBJS=$ac_libobjs
15302
15303 LTLIBOBJS=$ac_ltlibobjs
15304
15305
15306  if test -n "$EXEEXT"; then
15307   am__EXEEXT_TRUE=
15308   am__EXEEXT_FALSE='#'
15309 else
15310   am__EXEEXT_TRUE='#'
15311   am__EXEEXT_FALSE=
15312 fi
15313
15314 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15315   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15316 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15317 fi
15318 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15319   as_fn_error $? "conditional \"AMDEP\" was never defined.
15320 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15321 fi
15322 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15323   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15324 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15325 fi
15326
15327   ac_config_commands="$ac_config_commands po/stamp-it"
15328
15329
15330 if test -z "${ENABLE_SK_TRUE}" && test -z "${ENABLE_SK_FALSE}"; then
15331   as_fn_error $? "conditional \"ENABLE_SK\" was never defined.
15332 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15333 fi
15334 if test -z "${HAVE_GNOME_DOC_UTILS_TRUE}" && test -z "${HAVE_GNOME_DOC_UTILS_FALSE}"; then
15335   as_fn_error $? "conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
15336 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15337 fi
15338 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
15339   as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
15340 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15341 fi
15342 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
15343   as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
15344 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15345 fi
15346 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
15347   as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
15348 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15349 fi
15350 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
15351   as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
15352 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15353 fi
15354 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
15355   as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
15356 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15357 fi
15358 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15359   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15360 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15361 fi
15362
15363 : "${CONFIG_STATUS=./config.status}"
15364 ac_write_fail=0
15365 ac_clean_files_save=$ac_clean_files
15366 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15367 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15368 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15369 as_write_fail=0
15370 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15371 #! $SHELL
15372 # Generated by $as_me.
15373 # Run this file to recreate the current configuration.
15374 # Compiler output produced by configure, useful for debugging
15375 # configure, is in config.log if it exists.
15376
15377 debug=false
15378 ac_cs_recheck=false
15379 ac_cs_silent=false
15380
15381 SHELL=\${CONFIG_SHELL-$SHELL}
15382 export SHELL
15383 _ASEOF
15384 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15385 ## -------------------- ##
15386 ## M4sh Initialization. ##
15387 ## -------------------- ##
15388
15389 # Be more Bourne compatible
15390 DUALCASE=1; export DUALCASE # for MKS sh
15391 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15392   emulate sh
15393   NULLCMD=:
15394   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15395   # is contrary to our usage.  Disable this feature.
15396   alias -g '${1+"$@"}'='"$@"'
15397   setopt NO_GLOB_SUBST
15398 else
15399   case `(set -o) 2>/dev/null` in #(
15400   *posix*) :
15401     set -o posix ;; #(
15402   *) :
15403      ;;
15404 esac
15405 fi
15406
15407
15408 as_nl='
15409 '
15410 export as_nl
15411 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15412 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15413 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15414 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15415 # Prefer a ksh shell builtin over an external printf program on Solaris,
15416 # but without wasting forks for bash or zsh.
15417 if test -z "$BASH_VERSION$ZSH_VERSION" \
15418     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15419   as_echo='print -r --'
15420   as_echo_n='print -rn --'
15421 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15422   as_echo='printf %s\n'
15423   as_echo_n='printf %s'
15424 else
15425   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15426     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15427     as_echo_n='/usr/ucb/echo -n'
15428   else
15429     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15430     as_echo_n_body='eval
15431       arg=$1;
15432       case $arg in #(
15433       *"$as_nl"*)
15434         expr "X$arg" : "X\\(.*\\)$as_nl";
15435         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15436       esac;
15437       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15438     '
15439     export as_echo_n_body
15440     as_echo_n='sh -c $as_echo_n_body as_echo'
15441   fi
15442   export as_echo_body
15443   as_echo='sh -c $as_echo_body as_echo'
15444 fi
15445
15446 # The user is always right.
15447 if test "${PATH_SEPARATOR+set}" != set; then
15448   PATH_SEPARATOR=:
15449   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15450     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15451       PATH_SEPARATOR=';'
15452   }
15453 fi
15454
15455
15456 # IFS
15457 # We need space, tab and new line, in precisely that order.  Quoting is
15458 # there to prevent editors from complaining about space-tab.
15459 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15460 # splitting by setting IFS to empty value.)
15461 IFS=" ""        $as_nl"
15462
15463 # Find who we are.  Look in the path if we contain no directory separator.
15464 as_myself=
15465 case $0 in #((
15466   *[\\/]* ) as_myself=$0 ;;
15467   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15468 for as_dir in $PATH
15469 do
15470   IFS=$as_save_IFS
15471   test -z "$as_dir" && as_dir=.
15472     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15473   done
15474 IFS=$as_save_IFS
15475
15476      ;;
15477 esac
15478 # We did not find ourselves, most probably we were run as `sh COMMAND'
15479 # in which case we are not to be found in the path.
15480 if test "x$as_myself" = x; then
15481   as_myself=$0
15482 fi
15483 if test ! -f "$as_myself"; then
15484   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15485   exit 1
15486 fi
15487
15488 # Unset variables that we do not need and which cause bugs (e.g. in
15489 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
15490 # suppresses any "Segmentation fault" message there.  '((' could
15491 # trigger a bug in pdksh 5.2.14.
15492 for as_var in BASH_ENV ENV MAIL MAILPATH
15493 do eval test x\${$as_var+set} = xset \
15494   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15495 done
15496 PS1='$ '
15497 PS2='> '
15498 PS4='+ '
15499
15500 # NLS nuisances.
15501 LC_ALL=C
15502 export LC_ALL
15503 LANGUAGE=C
15504 export LANGUAGE
15505
15506 # CDPATH.
15507 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15508
15509
15510 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15511 # ----------------------------------------
15512 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15513 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15514 # script with STATUS, using 1 if that was 0.
15515 as_fn_error ()
15516 {
15517   as_status=$1; test $as_status -eq 0 && as_status=1
15518   if test "$4"; then
15519     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15520     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15521   fi
15522   $as_echo "$as_me: error: $2" >&2
15523   as_fn_exit $as_status
15524 } # as_fn_error
15525
15526
15527 # as_fn_set_status STATUS
15528 # -----------------------
15529 # Set $? to STATUS, without forking.
15530 as_fn_set_status ()
15531 {
15532   return $1
15533 } # as_fn_set_status
15534
15535 # as_fn_exit STATUS
15536 # -----------------
15537 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15538 as_fn_exit ()
15539 {
15540   set +e
15541   as_fn_set_status $1
15542   exit $1
15543 } # as_fn_exit
15544
15545 # as_fn_unset VAR
15546 # ---------------
15547 # Portably unset VAR.
15548 as_fn_unset ()
15549 {
15550   { eval $1=; unset $1;}
15551 }
15552 as_unset=as_fn_unset
15553 # as_fn_append VAR VALUE
15554 # ----------------------
15555 # Append the text in VALUE to the end of the definition contained in VAR. Take
15556 # advantage of any shell optimizations that allow amortized linear growth over
15557 # repeated appends, instead of the typical quadratic growth present in naive
15558 # implementations.
15559 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15560   eval 'as_fn_append ()
15561   {
15562     eval $1+=\$2
15563   }'
15564 else
15565   as_fn_append ()
15566   {
15567     eval $1=\$$1\$2
15568   }
15569 fi # as_fn_append
15570
15571 # as_fn_arith ARG...
15572 # ------------------
15573 # Perform arithmetic evaluation on the ARGs, and store the result in the
15574 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15575 # must be portable across $(()) and expr.
15576 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15577   eval 'as_fn_arith ()
15578   {
15579     as_val=$(( $* ))
15580   }'
15581 else
15582   as_fn_arith ()
15583   {
15584     as_val=`expr "$@" || test $? -eq 1`
15585   }
15586 fi # as_fn_arith
15587
15588
15589 if expr a : '\(a\)' >/dev/null 2>&1 &&
15590    test "X`expr 00001 : '.*\(...\)'`" = X001; then
15591   as_expr=expr
15592 else
15593   as_expr=false
15594 fi
15595
15596 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15597   as_basename=basename
15598 else
15599   as_basename=false
15600 fi
15601
15602 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15603   as_dirname=dirname
15604 else
15605   as_dirname=false
15606 fi
15607
15608 as_me=`$as_basename -- "$0" ||
15609 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15610          X"$0" : 'X\(//\)$' \| \
15611          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15612 $as_echo X/"$0" |
15613     sed '/^.*\/\([^/][^/]*\)\/*$/{
15614             s//\1/
15615             q
15616           }
15617           /^X\/\(\/\/\)$/{
15618             s//\1/
15619             q
15620           }
15621           /^X\/\(\/\).*/{
15622             s//\1/
15623             q
15624           }
15625           s/.*/./; q'`
15626
15627 # Avoid depending upon Character Ranges.
15628 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15629 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15630 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15631 as_cr_digits='0123456789'
15632 as_cr_alnum=$as_cr_Letters$as_cr_digits
15633
15634 ECHO_C= ECHO_N= ECHO_T=
15635 case `echo -n x` in #(((((
15636 -n*)
15637   case `echo 'xy\c'` in
15638   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
15639   xy)  ECHO_C='\c';;
15640   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
15641        ECHO_T=' ';;
15642   esac;;
15643 *)
15644   ECHO_N='-n';;
15645 esac
15646
15647 rm -f conf$$ conf$$.exe conf$$.file
15648 if test -d conf$$.dir; then
15649   rm -f conf$$.dir/conf$$.file
15650 else
15651   rm -f conf$$.dir
15652   mkdir conf$$.dir 2>/dev/null
15653 fi
15654 if (echo >conf$$.file) 2>/dev/null; then
15655   if ln -s conf$$.file conf$$ 2>/dev/null; then
15656     as_ln_s='ln -s'
15657     # ... but there are two gotchas:
15658     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15659     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15660     # In both cases, we have to default to `cp -p'.
15661     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15662       as_ln_s='cp -p'
15663   elif ln conf$$.file conf$$ 2>/dev/null; then
15664     as_ln_s=ln
15665   else
15666     as_ln_s='cp -p'
15667   fi
15668 else
15669   as_ln_s='cp -p'
15670 fi
15671 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15672 rmdir conf$$.dir 2>/dev/null
15673
15674
15675 # as_fn_mkdir_p
15676 # -------------
15677 # Create "$as_dir" as a directory, including parents if necessary.
15678 as_fn_mkdir_p ()
15679 {
15680
15681   case $as_dir in #(
15682   -*) as_dir=./$as_dir;;
15683   esac
15684   test -d "$as_dir" || eval $as_mkdir_p || {
15685     as_dirs=
15686     while :; do
15687       case $as_dir in #(
15688       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15689       *) as_qdir=$as_dir;;
15690       esac
15691       as_dirs="'$as_qdir' $as_dirs"
15692       as_dir=`$as_dirname -- "$as_dir" ||
15693 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15694          X"$as_dir" : 'X\(//\)[^/]' \| \
15695          X"$as_dir" : 'X\(//\)$' \| \
15696          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15697 $as_echo X"$as_dir" |
15698     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15699             s//\1/
15700             q
15701           }
15702           /^X\(\/\/\)[^/].*/{
15703             s//\1/
15704             q
15705           }
15706           /^X\(\/\/\)$/{
15707             s//\1/
15708             q
15709           }
15710           /^X\(\/\).*/{
15711             s//\1/
15712             q
15713           }
15714           s/.*/./; q'`
15715       test -d "$as_dir" && break
15716     done
15717     test -z "$as_dirs" || eval "mkdir $as_dirs"
15718   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15719
15720
15721 } # as_fn_mkdir_p
15722 if mkdir -p . 2>/dev/null; then
15723   as_mkdir_p='mkdir -p "$as_dir"'
15724 else
15725   test -d ./-p && rmdir ./-p
15726   as_mkdir_p=false
15727 fi
15728
15729 if test -x / >/dev/null 2>&1; then
15730   as_test_x='test -x'
15731 else
15732   if ls -dL / >/dev/null 2>&1; then
15733     as_ls_L_option=L
15734   else
15735     as_ls_L_option=
15736   fi
15737   as_test_x='
15738     eval sh -c '\''
15739       if test -d "$1"; then
15740         test -d "$1/.";
15741       else
15742         case $1 in #(
15743         -*)set "./$1";;
15744         esac;
15745         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15746         ???[sx]*):;;*)false;;esac;fi
15747     '\'' sh
15748   '
15749 fi
15750 as_executable_p=$as_test_x
15751
15752 # Sed expression to map a string onto a valid CPP name.
15753 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15754
15755 # Sed expression to map a string onto a valid variable name.
15756 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15757
15758
15759 exec 6>&1
15760 ## ----------------------------------- ##
15761 ## Main body of $CONFIG_STATUS script. ##
15762 ## ----------------------------------- ##
15763 _ASEOF
15764 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15765
15766 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15767 # Save the log message, to keep $0 and so on meaningful, and to
15768 # report actual input values of CONFIG_FILES etc. instead of their
15769 # values after options handling.
15770 ac_log="
15771 This file was extended by glabels $as_me 3.0.0, which was
15772 generated by GNU Autoconf 2.68.  Invocation command line was
15773
15774   CONFIG_FILES    = $CONFIG_FILES
15775   CONFIG_HEADERS  = $CONFIG_HEADERS
15776   CONFIG_LINKS    = $CONFIG_LINKS
15777   CONFIG_COMMANDS = $CONFIG_COMMANDS
15778   $ $0 $@
15779
15780 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15781 "
15782
15783 _ACEOF
15784
15785 case $ac_config_files in *"
15786 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15787 esac
15788
15789 case $ac_config_headers in *"
15790 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15791 esac
15792
15793
15794 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15795 # Files that config.status was made for.
15796 config_files="$ac_config_files"
15797 config_headers="$ac_config_headers"
15798 config_commands="$ac_config_commands"
15799
15800 _ACEOF
15801
15802 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15803 ac_cs_usage="\
15804 \`$as_me' instantiates files and other configuration actions
15805 from templates according to the current configuration.  Unless the files
15806 and actions are specified as TAGs, all are instantiated by default.
15807
15808 Usage: $0 [OPTION]... [TAG]...
15809
15810   -h, --help       print this help, then exit
15811   -V, --version    print version number and configuration settings, then exit
15812       --config     print configuration, then exit
15813   -q, --quiet, --silent
15814                    do not print progress messages
15815   -d, --debug      don't remove temporary files
15816       --recheck    update $as_me by reconfiguring in the same conditions
15817       --file=FILE[:TEMPLATE]
15818                    instantiate the configuration file FILE
15819       --header=FILE[:TEMPLATE]
15820                    instantiate the configuration header FILE
15821
15822 Configuration files:
15823 $config_files
15824
15825 Configuration headers:
15826 $config_headers
15827
15828 Configuration commands:
15829 $config_commands
15830
15831 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=glabels>."
15832
15833 _ACEOF
15834 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15835 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15836 ac_cs_version="\\
15837 glabels config.status 3.0.0
15838 configured by $0, generated by GNU Autoconf 2.68,
15839   with options \\"\$ac_cs_config\\"
15840
15841 Copyright (C) 2010 Free Software Foundation, Inc.
15842 This config.status script is free software; the Free Software Foundation
15843 gives unlimited permission to copy, distribute and modify it."
15844
15845 ac_pwd='$ac_pwd'
15846 srcdir='$srcdir'
15847 INSTALL='$INSTALL'
15848 MKDIR_P='$MKDIR_P'
15849 AWK='$AWK'
15850 test -n "\$AWK" || AWK=awk
15851 _ACEOF
15852
15853 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15854 # The default lists apply if the user does not specify any file.
15855 ac_need_defaults=:
15856 while test $# != 0
15857 do
15858   case $1 in
15859   --*=?*)
15860     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15861     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15862     ac_shift=:
15863     ;;
15864   --*=)
15865     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15866     ac_optarg=
15867     ac_shift=:
15868     ;;
15869   *)
15870     ac_option=$1
15871     ac_optarg=$2
15872     ac_shift=shift
15873     ;;
15874   esac
15875
15876   case $ac_option in
15877   # Handling of the options.
15878   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15879     ac_cs_recheck=: ;;
15880   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15881     $as_echo "$ac_cs_version"; exit ;;
15882   --config | --confi | --conf | --con | --co | --c )
15883     $as_echo "$ac_cs_config"; exit ;;
15884   --debug | --debu | --deb | --de | --d | -d )
15885     debug=: ;;
15886   --file | --fil | --fi | --f )
15887     $ac_shift
15888     case $ac_optarg in
15889     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15890     '') as_fn_error $? "missing file argument" ;;
15891     esac
15892     as_fn_append CONFIG_FILES " '$ac_optarg'"
15893     ac_need_defaults=false;;
15894   --header | --heade | --head | --hea )
15895     $ac_shift
15896     case $ac_optarg in
15897     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15898     esac
15899     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15900     ac_need_defaults=false;;
15901   --he | --h)
15902     # Conflict between --help and --header
15903     as_fn_error $? "ambiguous option: \`$1'
15904 Try \`$0 --help' for more information.";;
15905   --help | --hel | -h )
15906     $as_echo "$ac_cs_usage"; exit ;;
15907   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15908   | -silent | --silent | --silen | --sile | --sil | --si | --s)
15909     ac_cs_silent=: ;;
15910
15911   # This is an error.
15912   -*) as_fn_error $? "unrecognized option: \`$1'
15913 Try \`$0 --help' for more information." ;;
15914
15915   *) as_fn_append ac_config_targets " $1"
15916      ac_need_defaults=false ;;
15917
15918   esac
15919   shift
15920 done
15921
15922 ac_configure_extra_args=
15923
15924 if $ac_cs_silent; then
15925   exec 6>/dev/null
15926   ac_configure_extra_args="$ac_configure_extra_args --silent"
15927 fi
15928
15929 _ACEOF
15930 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15931 if \$ac_cs_recheck; then
15932   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15933   shift
15934   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15935   CONFIG_SHELL='$SHELL'
15936   export CONFIG_SHELL
15937   exec "\$@"
15938 fi
15939
15940 _ACEOF
15941 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15942 exec 5>>config.log
15943 {
15944   echo
15945   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15946 ## Running $as_me. ##
15947 _ASBOX
15948   $as_echo "$ac_log"
15949 } >&5
15950
15951 _ACEOF
15952 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15953 #
15954 # INIT-COMMANDS
15955 #
15956 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15957
15958
15959 # The HP-UX ksh and POSIX shell print the target directory to stdout
15960 # if CDPATH is set.
15961 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15962
15963 sed_quote_subst='$sed_quote_subst'
15964 double_quote_subst='$double_quote_subst'
15965 delay_variable_subst='$delay_variable_subst'
15966 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15967 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15968 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15969 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15970 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15971 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15972 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15973 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15974 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15975 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15976 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15977 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15978 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15979 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15980 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15981 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15982 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15983 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15984 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15985 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15986 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15987 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15988 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15989 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15990 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15991 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15992 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15993 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15994 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15995 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15996 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15997 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15998 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15999 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16000 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16001 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16002 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16003 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16004 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16005 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16006 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16007 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16008 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16009 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16010 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16011 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16012 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16013 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16014 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16015 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16016 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16017 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16018 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16019 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16020 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16021 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"`'
16022 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16023 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16024 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16025 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16026 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16027 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16028 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16029 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16030 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16031 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16032 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16033 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16034 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16035 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16036 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16037 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16038 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16039 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16040 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16041 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16042 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16043 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16044 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16045 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16046 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16047 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16048 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16049 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16050 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16051 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16052 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16053 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16054 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16055 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16056 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16057 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16058 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16059 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16060 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16061 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16062 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16063 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16064 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16065 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16066 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16067 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16068 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16069 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16070 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16071 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16072 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16073 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16074 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16075 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16076 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16077 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16078 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16079 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16080 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16081 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16082 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16083 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16084 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16085 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16086 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16087 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16088 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16089 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16090 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16091 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16092 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16093 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16094 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16095 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16096
16097 LTCC='$LTCC'
16098 LTCFLAGS='$LTCFLAGS'
16099 compiler='$compiler_DEFAULT'
16100
16101 # A function that is used when there is no print builtin or printf.
16102 func_fallback_echo ()
16103 {
16104   eval 'cat <<_LTECHO_EOF
16105 \$1
16106 _LTECHO_EOF'
16107 }
16108
16109 # Quote evaled strings.
16110 for var in SHELL \
16111 ECHO \
16112 SED \
16113 GREP \
16114 EGREP \
16115 FGREP \
16116 LD \
16117 NM \
16118 LN_S \
16119 lt_SP2NL \
16120 lt_NL2SP \
16121 reload_flag \
16122 OBJDUMP \
16123 deplibs_check_method \
16124 file_magic_cmd \
16125 file_magic_glob \
16126 want_nocaseglob \
16127 DLLTOOL \
16128 sharedlib_from_linklib_cmd \
16129 AR \
16130 AR_FLAGS \
16131 archiver_list_spec \
16132 STRIP \
16133 RANLIB \
16134 CC \
16135 CFLAGS \
16136 compiler \
16137 lt_cv_sys_global_symbol_pipe \
16138 lt_cv_sys_global_symbol_to_cdecl \
16139 lt_cv_sys_global_symbol_to_c_name_address \
16140 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16141 nm_file_list_spec \
16142 lt_prog_compiler_no_builtin_flag \
16143 lt_prog_compiler_pic \
16144 lt_prog_compiler_wl \
16145 lt_prog_compiler_static \
16146 lt_cv_prog_compiler_c_o \
16147 need_locks \
16148 MANIFEST_TOOL \
16149 DSYMUTIL \
16150 NMEDIT \
16151 LIPO \
16152 OTOOL \
16153 OTOOL64 \
16154 shrext_cmds \
16155 export_dynamic_flag_spec \
16156 whole_archive_flag_spec \
16157 compiler_needs_object \
16158 with_gnu_ld \
16159 allow_undefined_flag \
16160 no_undefined_flag \
16161 hardcode_libdir_flag_spec \
16162 hardcode_libdir_flag_spec_ld \
16163 hardcode_libdir_separator \
16164 exclude_expsyms \
16165 include_expsyms \
16166 file_list_spec \
16167 variables_saved_for_relink \
16168 libname_spec \
16169 library_names_spec \
16170 soname_spec \
16171 install_override_mode \
16172 finish_eval \
16173 old_striplib \
16174 striplib; do
16175     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16176     *[\\\\\\\`\\"\\\$]*)
16177       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16178       ;;
16179     *)
16180       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16181       ;;
16182     esac
16183 done
16184
16185 # Double-quote double-evaled strings.
16186 for var in reload_cmds \
16187 old_postinstall_cmds \
16188 old_postuninstall_cmds \
16189 old_archive_cmds \
16190 extract_expsyms_cmds \
16191 old_archive_from_new_cmds \
16192 old_archive_from_expsyms_cmds \
16193 archive_cmds \
16194 archive_expsym_cmds \
16195 module_cmds \
16196 module_expsym_cmds \
16197 export_symbols_cmds \
16198 prelink_cmds \
16199 postlink_cmds \
16200 postinstall_cmds \
16201 postuninstall_cmds \
16202 finish_cmds \
16203 sys_lib_search_path_spec \
16204 sys_lib_dlsearch_path_spec; do
16205     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16206     *[\\\\\\\`\\"\\\$]*)
16207       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16208       ;;
16209     *)
16210       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16211       ;;
16212     esac
16213 done
16214
16215 ac_aux_dir='$ac_aux_dir'
16216 xsi_shell='$xsi_shell'
16217 lt_shell_append='$lt_shell_append'
16218
16219 # See if we are running on zsh, and set the options which allow our
16220 # commands through without removal of \ escapes INIT.
16221 if test -n "\${ZSH_VERSION+set}" ; then
16222    setopt NO_GLOB_SUBST
16223 fi
16224
16225
16226     PACKAGE='$PACKAGE'
16227     VERSION='$VERSION'
16228     TIMESTAMP='$TIMESTAMP'
16229     RM='$RM'
16230     ofile='$ofile'
16231
16232
16233
16234
16235
16236 _ACEOF
16237
16238 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16239
16240 # Handling of arguments.
16241 for ac_config_target in $ac_config_targets
16242 do
16243   case $ac_config_target in
16244     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16245     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16246     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16247     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
16248     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16249     "libglabels/Makefile") CONFIG_FILES="$CONFIG_FILES libglabels/Makefile" ;;
16250     "libglabels/${LIBGLABELS_BRANCH}.pc") CONFIG_FILES="$CONFIG_FILES libglabels/${LIBGLABELS_BRANCH}.pc" ;;
16251     "libglbarcode/Makefile") CONFIG_FILES="$CONFIG_FILES libglbarcode/Makefile" ;;
16252     "libglbarcode/${LIBGLBARCODE_BRANCH}.pc") CONFIG_FILES="$CONFIG_FILES libglbarcode/${LIBGLBARCODE_BRANCH}.pc" ;;
16253     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16254     "src/cursors/Makefile") CONFIG_FILES="$CONFIG_FILES src/cursors/Makefile" ;;
16255     "src/pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES src/pixmaps/Makefile" ;;
16256     "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
16257     "data/desktop/Makefile") CONFIG_FILES="$CONFIG_FILES data/desktop/Makefile" ;;
16258     "data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;;
16259     "data/icons/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/16x16/Makefile" ;;
16260     "data/icons/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/22x22/Makefile" ;;
16261     "data/icons/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/24x24/Makefile" ;;
16262     "data/icons/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/32x32/Makefile" ;;
16263     "data/icons/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/48x48/Makefile" ;;
16264     "data/man/Makefile") CONFIG_FILES="$CONFIG_FILES data/man/Makefile" ;;
16265     "data/mime/Makefile") CONFIG_FILES="$CONFIG_FILES data/mime/Makefile" ;;
16266     "data/pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES data/pixmaps/Makefile" ;;
16267     "data/schemas/Makefile") CONFIG_FILES="$CONFIG_FILES data/schemas/Makefile" ;;
16268     "data/schemas/org.gnome.glabels-3.gschema.xml.in") CONFIG_FILES="$CONFIG_FILES data/schemas/org.gnome.glabels-3.gschema.xml.in" ;;
16269     "data/ui/Makefile") CONFIG_FILES="$CONFIG_FILES data/ui/Makefile" ;;
16270     "templates/Makefile") CONFIG_FILES="$CONFIG_FILES templates/Makefile" ;;
16271     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
16272     "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
16273     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
16274     "docs/libglabels/Makefile") CONFIG_FILES="$CONFIG_FILES docs/libglabels/Makefile" ;;
16275     "docs/libglbarcode/Makefile") CONFIG_FILES="$CONFIG_FILES docs/libglbarcode/Makefile" ;;
16276     "glabels.spec") CONFIG_FILES="$CONFIG_FILES glabels.spec" ;;
16277     "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
16278
16279   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16280   esac
16281 done
16282
16283
16284 # If the user did not use the arguments to specify the items to instantiate,
16285 # then the envvar interface is used.  Set only those that are not.
16286 # We use the long form for the default assignment because of an extremely
16287 # bizarre bug on SunOS 4.1.3.
16288 if $ac_need_defaults; then
16289   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16290   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16291   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16292 fi
16293
16294 # Have a temporary directory for convenience.  Make it in the build tree
16295 # simply because there is no reason against having it here, and in addition,
16296 # creating and moving files from /tmp can sometimes cause problems.
16297 # Hook for its removal unless debugging.
16298 # Note that there is a small window in which the directory will not be cleaned:
16299 # after its creation but before its name has been assigned to `$tmp'.
16300 $debug ||
16301 {
16302   tmp= ac_tmp=
16303   trap 'exit_status=$?
16304   : "${ac_tmp:=$tmp}"
16305   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16306 ' 0
16307   trap 'as_fn_exit 1' 1 2 13 15
16308 }
16309 # Create a (secure) tmp directory for tmp files.
16310
16311 {
16312   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16313   test -d "$tmp"
16314 }  ||
16315 {
16316   tmp=./conf$$-$RANDOM
16317   (umask 077 && mkdir "$tmp")
16318 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16319 ac_tmp=$tmp
16320
16321 # Set up the scripts for CONFIG_FILES section.
16322 # No need to generate them if there are no CONFIG_FILES.
16323 # This happens for instance with `./config.status config.h'.
16324 if test -n "$CONFIG_FILES"; then
16325
16326
16327 ac_cr=`echo X | tr X '\015'`
16328 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16329 # But we know of no other shell where ac_cr would be empty at this
16330 # point, so we can use a bashism as a fallback.
16331 if test "x$ac_cr" = x; then
16332   eval ac_cr=\$\'\\r\'
16333 fi
16334 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16335 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16336   ac_cs_awk_cr='\\r'
16337 else
16338   ac_cs_awk_cr=$ac_cr
16339 fi
16340
16341 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16342 _ACEOF
16343
16344
16345 {
16346   echo "cat >conf$$subs.awk <<_ACEOF" &&
16347   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16348   echo "_ACEOF"
16349 } >conf$$subs.sh ||
16350   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16351 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16352 ac_delim='%!_!# '
16353 for ac_last_try in false false false false false :; do
16354   . ./conf$$subs.sh ||
16355     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16356
16357   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16358   if test $ac_delim_n = $ac_delim_num; then
16359     break
16360   elif $ac_last_try; then
16361     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16362   else
16363     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16364   fi
16365 done
16366 rm -f conf$$subs.sh
16367
16368 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16369 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16370 _ACEOF
16371 sed -n '
16372 h
16373 s/^/S["/; s/!.*/"]=/
16374 p
16375 g
16376 s/^[^!]*!//
16377 :repl
16378 t repl
16379 s/'"$ac_delim"'$//
16380 t delim
16381 :nl
16382 h
16383 s/\(.\{148\}\)..*/\1/
16384 t more1
16385 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16386 p
16387 n
16388 b repl
16389 :more1
16390 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16391 p
16392 g
16393 s/.\{148\}//
16394 t nl
16395 :delim
16396 h
16397 s/\(.\{148\}\)..*/\1/
16398 t more2
16399 s/["\\]/\\&/g; s/^/"/; s/$/"/
16400 p
16401 b
16402 :more2
16403 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16404 p
16405 g
16406 s/.\{148\}//
16407 t delim
16408 ' <conf$$subs.awk | sed '
16409 /^[^""]/{
16410   N
16411   s/\n//
16412 }
16413 ' >>$CONFIG_STATUS || ac_write_fail=1
16414 rm -f conf$$subs.awk
16415 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16416 _ACAWK
16417 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16418   for (key in S) S_is_set[key] = 1
16419   FS = "\a"
16420
16421 }
16422 {
16423   line = $ 0
16424   nfields = split(line, field, "@")
16425   substed = 0
16426   len = length(field[1])
16427   for (i = 2; i < nfields; i++) {
16428     key = field[i]
16429     keylen = length(key)
16430     if (S_is_set[key]) {
16431       value = S[key]
16432       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16433       len += length(value) + length(field[++i])
16434       substed = 1
16435     } else
16436       len += 1 + keylen
16437   }
16438
16439   print line
16440 }
16441
16442 _ACAWK
16443 _ACEOF
16444 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16445 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16446   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16447 else
16448   cat
16449 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16450   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16451 _ACEOF
16452
16453 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16454 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16455 # trailing colons and then remove the whole line if VPATH becomes empty
16456 # (actually we leave an empty line to preserve line numbers).
16457 if test "x$srcdir" = x.; then
16458   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
16459 h
16460 s///
16461 s/^/:/
16462 s/[      ]*$/:/
16463 s/:\$(srcdir):/:/g
16464 s/:\${srcdir}:/:/g
16465 s/:@srcdir@:/:/g
16466 s/^:*//
16467 s/:*$//
16468 x
16469 s/\(=[   ]*\).*/\1/
16470 G
16471 s/\n//
16472 s/^[^=]*=[       ]*$//
16473 }'
16474 fi
16475
16476 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16477 fi # test -n "$CONFIG_FILES"
16478
16479 # Set up the scripts for CONFIG_HEADERS section.
16480 # No need to generate them if there are no CONFIG_HEADERS.
16481 # This happens for instance with `./config.status Makefile'.
16482 if test -n "$CONFIG_HEADERS"; then
16483 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16484 BEGIN {
16485 _ACEOF
16486
16487 # Transform confdefs.h into an awk script `defines.awk', embedded as
16488 # here-document in config.status, that substitutes the proper values into
16489 # config.h.in to produce config.h.
16490
16491 # Create a delimiter string that does not exist in confdefs.h, to ease
16492 # handling of long lines.
16493 ac_delim='%!_!# '
16494 for ac_last_try in false false :; do
16495   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16496   if test -z "$ac_tt"; then
16497     break
16498   elif $ac_last_try; then
16499     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16500   else
16501     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16502   fi
16503 done
16504
16505 # For the awk script, D is an array of macro values keyed by name,
16506 # likewise P contains macro parameters if any.  Preserve backslash
16507 # newline sequences.
16508
16509 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16510 sed -n '
16511 s/.\{148\}/&'"$ac_delim"'/g
16512 t rset
16513 :rset
16514 s/^[     ]*#[    ]*define[       ][      ]*/ /
16515 t def
16516 d
16517 :def
16518 s/\\$//
16519 t bsnl
16520 s/["\\]/\\&/g
16521 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16522 D["\1"]=" \3"/p
16523 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
16524 d
16525 :bsnl
16526 s/["\\]/\\&/g
16527 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16528 D["\1"]=" \3\\\\\\n"\\/p
16529 t cont
16530 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16531 t cont
16532 d
16533 :cont
16534 n
16535 s/.\{148\}/&'"$ac_delim"'/g
16536 t clear
16537 :clear
16538 s/\\$//
16539 t bsnlc
16540 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16541 d
16542 :bsnlc
16543 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16544 b cont
16545 ' <confdefs.h | sed '
16546 s/'"$ac_delim"'/"\\\
16547 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16548
16549 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16550   for (key in D) D_is_set[key] = 1
16551   FS = "\a"
16552 }
16553 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16554   line = \$ 0
16555   split(line, arg, " ")
16556   if (arg[1] == "#") {
16557     defundef = arg[2]
16558     mac1 = arg[3]
16559   } else {
16560     defundef = substr(arg[1], 2)
16561     mac1 = arg[2]
16562   }
16563   split(mac1, mac2, "(") #)
16564   macro = mac2[1]
16565   prefix = substr(line, 1, index(line, defundef) - 1)
16566   if (D_is_set[macro]) {
16567     # Preserve the white space surrounding the "#".
16568     print prefix "define", macro P[macro] D[macro]
16569     next
16570   } else {
16571     # Replace #undef with comments.  This is necessary, for example,
16572     # in the case of _POSIX_SOURCE, which is predefined and required
16573     # on some systems where configure will not decide to define it.
16574     if (defundef == "undef") {
16575       print "/*", prefix defundef, macro, "*/"
16576       next
16577     }
16578   }
16579 }
16580 { print }
16581 _ACAWK
16582 _ACEOF
16583 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16584   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16585 fi # test -n "$CONFIG_HEADERS"
16586
16587
16588 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
16589 shift
16590 for ac_tag
16591 do
16592   case $ac_tag in
16593   :[FHLC]) ac_mode=$ac_tag; continue;;
16594   esac
16595   case $ac_mode$ac_tag in
16596   :[FHL]*:*);;
16597   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16598   :[FH]-) ac_tag=-:-;;
16599   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16600   esac
16601   ac_save_IFS=$IFS
16602   IFS=:
16603   set x $ac_tag
16604   IFS=$ac_save_IFS
16605   shift
16606   ac_file=$1
16607   shift
16608
16609   case $ac_mode in
16610   :L) ac_source=$1;;
16611   :[FH])
16612     ac_file_inputs=
16613     for ac_f
16614     do
16615       case $ac_f in
16616       -) ac_f="$ac_tmp/stdin";;
16617       *) # Look for the file first in the build tree, then in the source tree
16618          # (if the path is not absolute).  The absolute path cannot be DOS-style,
16619          # because $ac_f cannot contain `:'.
16620          test -f "$ac_f" ||
16621            case $ac_f in
16622            [\\/$]*) false;;
16623            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16624            esac ||
16625            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16626       esac
16627       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16628       as_fn_append ac_file_inputs " '$ac_f'"
16629     done
16630
16631     # Let's still pretend it is `configure' which instantiates (i.e., don't
16632     # use $as_me), people would be surprised to read:
16633     #    /* config.h.  Generated by config.status.  */
16634     configure_input='Generated from '`
16635           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16636         `' by configure.'
16637     if test x"$ac_file" != x-; then
16638       configure_input="$ac_file.  $configure_input"
16639       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16640 $as_echo "$as_me: creating $ac_file" >&6;}
16641     fi
16642     # Neutralize special characters interpreted by sed in replacement strings.
16643     case $configure_input in #(
16644     *\&* | *\|* | *\\* )
16645        ac_sed_conf_input=`$as_echo "$configure_input" |
16646        sed 's/[\\\\&|]/\\\\&/g'`;; #(
16647     *) ac_sed_conf_input=$configure_input;;
16648     esac
16649
16650     case $ac_tag in
16651     *:-:* | *:-) cat >"$ac_tmp/stdin" \
16652       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16653     esac
16654     ;;
16655   esac
16656
16657   ac_dir=`$as_dirname -- "$ac_file" ||
16658 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16659          X"$ac_file" : 'X\(//\)[^/]' \| \
16660          X"$ac_file" : 'X\(//\)$' \| \
16661          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16662 $as_echo X"$ac_file" |
16663     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16664             s//\1/
16665             q
16666           }
16667           /^X\(\/\/\)[^/].*/{
16668             s//\1/
16669             q
16670           }
16671           /^X\(\/\/\)$/{
16672             s//\1/
16673             q
16674           }
16675           /^X\(\/\).*/{
16676             s//\1/
16677             q
16678           }
16679           s/.*/./; q'`
16680   as_dir="$ac_dir"; as_fn_mkdir_p
16681   ac_builddir=.
16682
16683 case "$ac_dir" in
16684 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16685 *)
16686   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16687   # A ".." for each directory in $ac_dir_suffix.
16688   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16689   case $ac_top_builddir_sub in
16690   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16691   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16692   esac ;;
16693 esac
16694 ac_abs_top_builddir=$ac_pwd
16695 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16696 # for backward compatibility:
16697 ac_top_builddir=$ac_top_build_prefix
16698
16699 case $srcdir in
16700   .)  # We are building in place.
16701     ac_srcdir=.
16702     ac_top_srcdir=$ac_top_builddir_sub
16703     ac_abs_top_srcdir=$ac_pwd ;;
16704   [\\/]* | ?:[\\/]* )  # Absolute name.
16705     ac_srcdir=$srcdir$ac_dir_suffix;
16706     ac_top_srcdir=$srcdir
16707     ac_abs_top_srcdir=$srcdir ;;
16708   *) # Relative name.
16709     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16710     ac_top_srcdir=$ac_top_build_prefix$srcdir
16711     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16712 esac
16713 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16714
16715
16716   case $ac_mode in
16717   :F)
16718   #
16719   # CONFIG_FILE
16720   #
16721
16722   case $INSTALL in
16723   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16724   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16725   esac
16726   ac_MKDIR_P=$MKDIR_P
16727   case $MKDIR_P in
16728   [\\/$]* | ?:[\\/]* ) ;;
16729   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16730   esac
16731 _ACEOF
16732
16733 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16734 # If the template does not know about datarootdir, expand it.
16735 # FIXME: This hack should be removed a few years after 2.60.
16736 ac_datarootdir_hack=; ac_datarootdir_seen=
16737 ac_sed_dataroot='
16738 /datarootdir/ {
16739   p
16740   q
16741 }
16742 /@datadir@/p
16743 /@docdir@/p
16744 /@infodir@/p
16745 /@localedir@/p
16746 /@mandir@/p'
16747 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16748 *datarootdir*) ac_datarootdir_seen=yes;;
16749 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16750   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16751 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16752 _ACEOF
16753 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16754   ac_datarootdir_hack='
16755   s&@datadir@&$datadir&g
16756   s&@docdir@&$docdir&g
16757   s&@infodir@&$infodir&g
16758   s&@localedir@&$localedir&g
16759   s&@mandir@&$mandir&g
16760   s&\\\${datarootdir}&$datarootdir&g' ;;
16761 esac
16762 _ACEOF
16763
16764 # Neutralize VPATH when `$srcdir' = `.'.
16765 # Shell code in configure.ac might set extrasub.
16766 # FIXME: do we really want to maintain this feature?
16767 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16768 ac_sed_extra="$ac_vpsub
16769 $extrasub
16770 _ACEOF
16771 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16772 :t
16773 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16774 s|@configure_input@|$ac_sed_conf_input|;t t
16775 s&@top_builddir@&$ac_top_builddir_sub&;t t
16776 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16777 s&@srcdir@&$ac_srcdir&;t t
16778 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16779 s&@top_srcdir@&$ac_top_srcdir&;t t
16780 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16781 s&@builddir@&$ac_builddir&;t t
16782 s&@abs_builddir@&$ac_abs_builddir&;t t
16783 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16784 s&@INSTALL@&$ac_INSTALL&;t t
16785 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16786 $ac_datarootdir_hack
16787 "
16788 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16789   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16790
16791 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16792   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16793   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16794       "$ac_tmp/out"`; test -z "$ac_out"; } &&
16795   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16796 which seems to be undefined.  Please make sure it is defined" >&5
16797 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16798 which seems to be undefined.  Please make sure it is defined" >&2;}
16799
16800   rm -f "$ac_tmp/stdin"
16801   case $ac_file in
16802   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16803   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16804   esac \
16805   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16806  ;;
16807   :H)
16808   #
16809   # CONFIG_HEADER
16810   #
16811   if test x"$ac_file" != x-; then
16812     {
16813       $as_echo "/* $configure_input  */" \
16814       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16815     } >"$ac_tmp/config.h" \
16816       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16817     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16818       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16819 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16820     else
16821       rm -f "$ac_file"
16822       mv "$ac_tmp/config.h" "$ac_file" \
16823         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16824     fi
16825   else
16826     $as_echo "/* $configure_input  */" \
16827       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16828       || as_fn_error $? "could not create -" "$LINENO" 5
16829   fi
16830 # Compute "$ac_file"'s index in $config_headers.
16831 _am_arg="$ac_file"
16832 _am_stamp_count=1
16833 for _am_header in $config_headers :; do
16834   case $_am_header in
16835     $_am_arg | $_am_arg:* )
16836       break ;;
16837     * )
16838       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16839   esac
16840 done
16841 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16842 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16843          X"$_am_arg" : 'X\(//\)[^/]' \| \
16844          X"$_am_arg" : 'X\(//\)$' \| \
16845          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16846 $as_echo X"$_am_arg" |
16847     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16848             s//\1/
16849             q
16850           }
16851           /^X\(\/\/\)[^/].*/{
16852             s//\1/
16853             q
16854           }
16855           /^X\(\/\/\)$/{
16856             s//\1/
16857             q
16858           }
16859           /^X\(\/\).*/{
16860             s//\1/
16861             q
16862           }
16863           s/.*/./; q'`/stamp-h$_am_stamp_count
16864  ;;
16865
16866   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16867 $as_echo "$as_me: executing $ac_file commands" >&6;}
16868  ;;
16869   esac
16870
16871
16872   case $ac_file$ac_mode in
16873     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16874   # Autoconf 2.62 quotes --file arguments for eval, but not when files
16875   # are listed without --file.  Let's play safe and only enable the eval
16876   # if we detect the quoting.
16877   case $CONFIG_FILES in
16878   *\'*) eval set x "$CONFIG_FILES" ;;
16879   *)   set x $CONFIG_FILES ;;
16880   esac
16881   shift
16882   for mf
16883   do
16884     # Strip MF so we end up with the name of the file.
16885     mf=`echo "$mf" | sed -e 's/:.*$//'`
16886     # Check whether this is an Automake generated Makefile or not.
16887     # We used to match only the files named `Makefile.in', but
16888     # some people rename them; so instead we look at the file content.
16889     # Grep'ing the first line is not enough: some people post-process
16890     # each Makefile.in and add a new line on top of each file to say so.
16891     # Grep'ing the whole file is not good either: AIX grep has a line
16892     # limit of 2048, but all sed's we know have understand at least 4000.
16893     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16894       dirpart=`$as_dirname -- "$mf" ||
16895 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16896          X"$mf" : 'X\(//\)[^/]' \| \
16897          X"$mf" : 'X\(//\)$' \| \
16898          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16899 $as_echo X"$mf" |
16900     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16901             s//\1/
16902             q
16903           }
16904           /^X\(\/\/\)[^/].*/{
16905             s//\1/
16906             q
16907           }
16908           /^X\(\/\/\)$/{
16909             s//\1/
16910             q
16911           }
16912           /^X\(\/\).*/{
16913             s//\1/
16914             q
16915           }
16916           s/.*/./; q'`
16917     else
16918       continue
16919     fi
16920     # Extract the definition of DEPDIR, am__include, and am__quote
16921     # from the Makefile without running `make'.
16922     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16923     test -z "$DEPDIR" && continue
16924     am__include=`sed -n 's/^am__include = //p' < "$mf"`
16925     test -z "am__include" && continue
16926     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16927     # When using ansi2knr, U may be empty or an underscore; expand it
16928     U=`sed -n 's/^U = //p' < "$mf"`
16929     # Find all dependency output files, they are included files with
16930     # $(DEPDIR) in their names.  We invoke sed twice because it is the
16931     # simplest approach to changing $(DEPDIR) to its actual value in the
16932     # expansion.
16933     for file in `sed -n "
16934       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16935          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16936       # Make sure the directory exists.
16937       test -f "$dirpart/$file" && continue
16938       fdir=`$as_dirname -- "$file" ||
16939 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16940          X"$file" : 'X\(//\)[^/]' \| \
16941          X"$file" : 'X\(//\)$' \| \
16942          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16943 $as_echo X"$file" |
16944     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16945             s//\1/
16946             q
16947           }
16948           /^X\(\/\/\)[^/].*/{
16949             s//\1/
16950             q
16951           }
16952           /^X\(\/\/\)$/{
16953             s//\1/
16954             q
16955           }
16956           /^X\(\/\).*/{
16957             s//\1/
16958             q
16959           }
16960           s/.*/./; q'`
16961       as_dir=$dirpart/$fdir; as_fn_mkdir_p
16962       # echo "creating $dirpart/$file"
16963       echo '# dummy' > "$dirpart/$file"
16964     done
16965   done
16966 }
16967  ;;
16968     "libtool":C)
16969
16970     # See if we are running on zsh, and set the options which allow our
16971     # commands through without removal of \ escapes.
16972     if test -n "${ZSH_VERSION+set}" ; then
16973       setopt NO_GLOB_SUBST
16974     fi
16975
16976     cfgfile="${ofile}T"
16977     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16978     $RM "$cfgfile"
16979
16980     cat <<_LT_EOF >> "$cfgfile"
16981 #! $SHELL
16982
16983 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16984 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16985 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16986 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16987 #
16988 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16989 #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
16990 #                 Inc.
16991 #   Written by Gordon Matzigkeit, 1996
16992 #
16993 #   This file is part of GNU Libtool.
16994 #
16995 # GNU Libtool is free software; you can redistribute it and/or
16996 # modify it under the terms of the GNU General Public License as
16997 # published by the Free Software Foundation; either version 2 of
16998 # the License, or (at your option) any later version.
16999 #
17000 # As a special exception to the GNU General Public License,
17001 # if you distribute this file as part of a program or library that
17002 # is built using GNU Libtool, you may include this file under the
17003 # same distribution terms that you use for the rest of that program.
17004 #
17005 # GNU Libtool is distributed in the hope that it will be useful,
17006 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17007 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17008 # GNU General Public License for more details.
17009 #
17010 # You should have received a copy of the GNU General Public License
17011 # along with GNU Libtool; see the file COPYING.  If not, a copy
17012 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17013 # obtained by writing to the Free Software Foundation, Inc.,
17014 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17015
17016
17017 # The names of the tagged configurations supported by this script.
17018 available_tags=""
17019
17020 # ### BEGIN LIBTOOL CONFIG
17021
17022 # Which release of libtool.m4 was used?
17023 macro_version=$macro_version
17024 macro_revision=$macro_revision
17025
17026 # Whether or not to build shared libraries.
17027 build_libtool_libs=$enable_shared
17028
17029 # Whether or not to build static libraries.
17030 build_old_libs=$enable_static
17031
17032 # What type of objects to build.
17033 pic_mode=$pic_mode
17034
17035 # Whether or not to optimize for fast installation.
17036 fast_install=$enable_fast_install
17037
17038 # Shell to use when invoking shell scripts.
17039 SHELL=$lt_SHELL
17040
17041 # An echo program that protects backslashes.
17042 ECHO=$lt_ECHO
17043
17044 # The host system.
17045 host_alias=$host_alias
17046 host=$host
17047 host_os=$host_os
17048
17049 # The build system.
17050 build_alias=$build_alias
17051 build=$build
17052 build_os=$build_os
17053
17054 # A sed program that does not truncate output.
17055 SED=$lt_SED
17056
17057 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17058 Xsed="\$SED -e 1s/^X//"
17059
17060 # A grep program that handles long lines.
17061 GREP=$lt_GREP
17062
17063 # An ERE matcher.
17064 EGREP=$lt_EGREP
17065
17066 # A literal string matcher.
17067 FGREP=$lt_FGREP
17068
17069 # A BSD- or MS-compatible name lister.
17070 NM=$lt_NM
17071
17072 # Whether we need soft or hard links.
17073 LN_S=$lt_LN_S
17074
17075 # What is the maximum length of a command?
17076 max_cmd_len=$max_cmd_len
17077
17078 # Object file suffix (normally "o").
17079 objext=$ac_objext
17080
17081 # Executable file suffix (normally "").
17082 exeext=$exeext
17083
17084 # whether the shell understands "unset".
17085 lt_unset=$lt_unset
17086
17087 # turn spaces into newlines.
17088 SP2NL=$lt_lt_SP2NL
17089
17090 # turn newlines into spaces.
17091 NL2SP=$lt_lt_NL2SP
17092
17093 # convert \$build file names to \$host format.
17094 to_host_file_cmd=$lt_cv_to_host_file_cmd
17095
17096 # convert \$build files to toolchain format.
17097 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17098
17099 # An object symbol dumper.
17100 OBJDUMP=$lt_OBJDUMP
17101
17102 # Method to check whether dependent libraries are shared objects.
17103 deplibs_check_method=$lt_deplibs_check_method
17104
17105 # Command to use when deplibs_check_method = "file_magic".
17106 file_magic_cmd=$lt_file_magic_cmd
17107
17108 # How to find potential files when deplibs_check_method = "file_magic".
17109 file_magic_glob=$lt_file_magic_glob
17110
17111 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17112 want_nocaseglob=$lt_want_nocaseglob
17113
17114 # DLL creation program.
17115 DLLTOOL=$lt_DLLTOOL
17116
17117 # Command to associate shared and link libraries.
17118 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17119
17120 # The archiver.
17121 AR=$lt_AR
17122
17123 # Flags to create an archive.
17124 AR_FLAGS=$lt_AR_FLAGS
17125
17126 # How to feed a file listing to the archiver.
17127 archiver_list_spec=$lt_archiver_list_spec
17128
17129 # A symbol stripping program.
17130 STRIP=$lt_STRIP
17131
17132 # Commands used to install an old-style archive.
17133 RANLIB=$lt_RANLIB
17134 old_postinstall_cmds=$lt_old_postinstall_cmds
17135 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17136
17137 # Whether to use a lock for old archive extraction.
17138 lock_old_archive_extraction=$lock_old_archive_extraction
17139
17140 # A C compiler.
17141 LTCC=$lt_CC
17142
17143 # LTCC compiler flags.
17144 LTCFLAGS=$lt_CFLAGS
17145
17146 # Take the output of nm and produce a listing of raw symbols and C names.
17147 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17148
17149 # Transform the output of nm in a proper C declaration.
17150 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17151
17152 # Transform the output of nm in a C name address pair.
17153 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17154
17155 # Transform the output of nm in a C name address pair when lib prefix is needed.
17156 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17157
17158 # Specify filename containing input files for \$NM.
17159 nm_file_list_spec=$lt_nm_file_list_spec
17160
17161 # The root where to search for dependent libraries,and in which our libraries should be installed.
17162 lt_sysroot=$lt_sysroot
17163
17164 # The name of the directory that contains temporary libtool files.
17165 objdir=$objdir
17166
17167 # Used to examine libraries when file_magic_cmd begins with "file".
17168 MAGIC_CMD=$MAGIC_CMD
17169
17170 # Must we lock files when doing compilation?
17171 need_locks=$lt_need_locks
17172
17173 # Manifest tool.
17174 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17175
17176 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17177 DSYMUTIL=$lt_DSYMUTIL
17178
17179 # Tool to change global to local symbols on Mac OS X.
17180 NMEDIT=$lt_NMEDIT
17181
17182 # Tool to manipulate fat objects and archives on Mac OS X.
17183 LIPO=$lt_LIPO
17184
17185 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17186 OTOOL=$lt_OTOOL
17187
17188 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17189 OTOOL64=$lt_OTOOL64
17190
17191 # Old archive suffix (normally "a").
17192 libext=$libext
17193
17194 # Shared library suffix (normally ".so").
17195 shrext_cmds=$lt_shrext_cmds
17196
17197 # The commands to extract the exported symbol list from a shared archive.
17198 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17199
17200 # Variables whose values should be saved in libtool wrapper scripts and
17201 # restored at link time.
17202 variables_saved_for_relink=$lt_variables_saved_for_relink
17203
17204 # Do we need the "lib" prefix for modules?
17205 need_lib_prefix=$need_lib_prefix
17206
17207 # Do we need a version for libraries?
17208 need_version=$need_version
17209
17210 # Library versioning type.
17211 version_type=$version_type
17212
17213 # Shared library runtime path variable.
17214 runpath_var=$runpath_var
17215
17216 # Shared library path variable.
17217 shlibpath_var=$shlibpath_var
17218
17219 # Is shlibpath searched before the hard-coded library search path?
17220 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17221
17222 # Format of library name prefix.
17223 libname_spec=$lt_libname_spec
17224
17225 # List of archive names.  First name is the real one, the rest are links.
17226 # The last name is the one that the linker finds with -lNAME
17227 library_names_spec=$lt_library_names_spec
17228
17229 # The coded name of the library, if different from the real name.
17230 soname_spec=$lt_soname_spec
17231
17232 # Permission mode override for installation of shared libraries.
17233 install_override_mode=$lt_install_override_mode
17234
17235 # Command to use after installation of a shared archive.
17236 postinstall_cmds=$lt_postinstall_cmds
17237
17238 # Command to use after uninstallation of a shared archive.
17239 postuninstall_cmds=$lt_postuninstall_cmds
17240
17241 # Commands used to finish a libtool library installation in a directory.
17242 finish_cmds=$lt_finish_cmds
17243
17244 # As "finish_cmds", except a single script fragment to be evaled but
17245 # not shown.
17246 finish_eval=$lt_finish_eval
17247
17248 # Whether we should hardcode library paths into libraries.
17249 hardcode_into_libs=$hardcode_into_libs
17250
17251 # Compile-time system search path for libraries.
17252 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17253
17254 # Run-time system search path for libraries.
17255 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17256
17257 # Whether dlopen is supported.
17258 dlopen_support=$enable_dlopen
17259
17260 # Whether dlopen of programs is supported.
17261 dlopen_self=$enable_dlopen_self
17262
17263 # Whether dlopen of statically linked programs is supported.
17264 dlopen_self_static=$enable_dlopen_self_static
17265
17266 # Commands to strip libraries.
17267 old_striplib=$lt_old_striplib
17268 striplib=$lt_striplib
17269
17270
17271 # The linker used to build libraries.
17272 LD=$lt_LD
17273
17274 # How to create reloadable object files.
17275 reload_flag=$lt_reload_flag
17276 reload_cmds=$lt_reload_cmds
17277
17278 # Commands used to build an old-style archive.
17279 old_archive_cmds=$lt_old_archive_cmds
17280
17281 # A language specific compiler.
17282 CC=$lt_compiler
17283
17284 # Is the compiler the GNU compiler?
17285 with_gcc=$GCC
17286
17287 # Compiler flag to turn off builtin functions.
17288 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17289
17290 # Additional compiler flags for building library objects.
17291 pic_flag=$lt_lt_prog_compiler_pic
17292
17293 # How to pass a linker flag through the compiler.
17294 wl=$lt_lt_prog_compiler_wl
17295
17296 # Compiler flag to prevent dynamic linking.
17297 link_static_flag=$lt_lt_prog_compiler_static
17298
17299 # Does compiler simultaneously support -c and -o options?
17300 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17301
17302 # Whether or not to add -lc for building shared libraries.
17303 build_libtool_need_lc=$archive_cmds_need_lc
17304
17305 # Whether or not to disallow shared libs when runtime libs are static.
17306 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17307
17308 # Compiler flag to allow reflexive dlopens.
17309 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17310
17311 # Compiler flag to generate shared objects directly from archives.
17312 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17313
17314 # Whether the compiler copes with passing no objects directly.
17315 compiler_needs_object=$lt_compiler_needs_object
17316
17317 # Create an old-style archive from a shared archive.
17318 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17319
17320 # Create a temporary old-style archive to link instead of a shared archive.
17321 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17322
17323 # Commands used to build a shared archive.
17324 archive_cmds=$lt_archive_cmds
17325 archive_expsym_cmds=$lt_archive_expsym_cmds
17326
17327 # Commands used to build a loadable module if different from building
17328 # a shared archive.
17329 module_cmds=$lt_module_cmds
17330 module_expsym_cmds=$lt_module_expsym_cmds
17331
17332 # Whether we are building with GNU ld or not.
17333 with_gnu_ld=$lt_with_gnu_ld
17334
17335 # Flag that allows shared libraries with undefined symbols to be built.
17336 allow_undefined_flag=$lt_allow_undefined_flag
17337
17338 # Flag that enforces no undefined symbols.
17339 no_undefined_flag=$lt_no_undefined_flag
17340
17341 # Flag to hardcode \$libdir into a binary during linking.
17342 # This must work even if \$libdir does not exist
17343 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17344
17345 # If ld is used when linking, flag to hardcode \$libdir into a binary
17346 # during linking.  This must work even if \$libdir does not exist.
17347 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17348
17349 # Whether we need a single "-rpath" flag with a separated argument.
17350 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17351
17352 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17353 # DIR into the resulting binary.
17354 hardcode_direct=$hardcode_direct
17355
17356 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17357 # DIR into the resulting binary and the resulting library dependency is
17358 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17359 # library is relocated.
17360 hardcode_direct_absolute=$hardcode_direct_absolute
17361
17362 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17363 # into the resulting binary.
17364 hardcode_minus_L=$hardcode_minus_L
17365
17366 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17367 # into the resulting binary.
17368 hardcode_shlibpath_var=$hardcode_shlibpath_var
17369
17370 # Set to "yes" if building a shared library automatically hardcodes DIR
17371 # into the library and all subsequent libraries and executables linked
17372 # against it.
17373 hardcode_automatic=$hardcode_automatic
17374
17375 # Set to yes if linker adds runtime paths of dependent libraries
17376 # to runtime path list.
17377 inherit_rpath=$inherit_rpath
17378
17379 # Whether libtool must link a program against all its dependency libraries.
17380 link_all_deplibs=$link_all_deplibs
17381
17382 # Set to "yes" if exported symbols are required.
17383 always_export_symbols=$always_export_symbols
17384
17385 # The commands to list exported symbols.
17386 export_symbols_cmds=$lt_export_symbols_cmds
17387
17388 # Symbols that should not be listed in the preloaded symbols.
17389 exclude_expsyms=$lt_exclude_expsyms
17390
17391 # Symbols that must always be exported.
17392 include_expsyms=$lt_include_expsyms
17393
17394 # Commands necessary for linking programs (against libraries) with templates.
17395 prelink_cmds=$lt_prelink_cmds
17396
17397 # Commands necessary for finishing linking programs.
17398 postlink_cmds=$lt_postlink_cmds
17399
17400 # Specify filename containing input files.
17401 file_list_spec=$lt_file_list_spec
17402
17403 # How to hardcode a shared library path into an executable.
17404 hardcode_action=$hardcode_action
17405
17406 # ### END LIBTOOL CONFIG
17407
17408 _LT_EOF
17409
17410   case $host_os in
17411   aix3*)
17412     cat <<\_LT_EOF >> "$cfgfile"
17413 # AIX sometimes has problems with the GCC collect2 program.  For some
17414 # reason, if we set the COLLECT_NAMES environment variable, the problems
17415 # vanish in a puff of smoke.
17416 if test "X${COLLECT_NAMES+set}" != Xset; then
17417   COLLECT_NAMES=
17418   export COLLECT_NAMES
17419 fi
17420 _LT_EOF
17421     ;;
17422   esac
17423
17424
17425 ltmain="$ac_aux_dir/ltmain.sh"
17426
17427
17428   # We use sed instead of cat because bash on DJGPP gets confused if
17429   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17430   # text mode, it properly converts lines to CR/LF.  This bash problem
17431   # is reportedly fixed, but why not run on old versions too?
17432   sed '$q' "$ltmain" >> "$cfgfile" \
17433      || (rm -f "$cfgfile"; exit 1)
17434
17435   if test x"$xsi_shell" = xyes; then
17436   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17437 func_dirname ()\
17438 {\
17439 \    case ${1} in\
17440 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17441 \      *  ) func_dirname_result="${3}" ;;\
17442 \    esac\
17443 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17444   && mv -f "$cfgfile.tmp" "$cfgfile" \
17445     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17446 test 0 -eq $? || _lt_function_replace_fail=:
17447
17448
17449   sed -e '/^func_basename ()$/,/^} # func_basename /c\
17450 func_basename ()\
17451 {\
17452 \    func_basename_result="${1##*/}"\
17453 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17454   && mv -f "$cfgfile.tmp" "$cfgfile" \
17455     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17456 test 0 -eq $? || _lt_function_replace_fail=:
17457
17458
17459   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17460 func_dirname_and_basename ()\
17461 {\
17462 \    case ${1} in\
17463 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17464 \      *  ) func_dirname_result="${3}" ;;\
17465 \    esac\
17466 \    func_basename_result="${1##*/}"\
17467 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17468   && mv -f "$cfgfile.tmp" "$cfgfile" \
17469     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17470 test 0 -eq $? || _lt_function_replace_fail=:
17471
17472
17473   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17474 func_stripname ()\
17475 {\
17476 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17477 \    # positional parameters, so assign one to ordinary parameter first.\
17478 \    func_stripname_result=${3}\
17479 \    func_stripname_result=${func_stripname_result#"${1}"}\
17480 \    func_stripname_result=${func_stripname_result%"${2}"}\
17481 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17482   && mv -f "$cfgfile.tmp" "$cfgfile" \
17483     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17484 test 0 -eq $? || _lt_function_replace_fail=:
17485
17486
17487   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17488 func_split_long_opt ()\
17489 {\
17490 \    func_split_long_opt_name=${1%%=*}\
17491 \    func_split_long_opt_arg=${1#*=}\
17492 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17493   && mv -f "$cfgfile.tmp" "$cfgfile" \
17494     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17495 test 0 -eq $? || _lt_function_replace_fail=:
17496
17497
17498   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17499 func_split_short_opt ()\
17500 {\
17501 \    func_split_short_opt_arg=${1#??}\
17502 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17503 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17504   && mv -f "$cfgfile.tmp" "$cfgfile" \
17505     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17506 test 0 -eq $? || _lt_function_replace_fail=:
17507
17508
17509   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17510 func_lo2o ()\
17511 {\
17512 \    case ${1} in\
17513 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17514 \      *)    func_lo2o_result=${1} ;;\
17515 \    esac\
17516 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17517   && mv -f "$cfgfile.tmp" "$cfgfile" \
17518     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17519 test 0 -eq $? || _lt_function_replace_fail=:
17520
17521
17522   sed -e '/^func_xform ()$/,/^} # func_xform /c\
17523 func_xform ()\
17524 {\
17525     func_xform_result=${1%.*}.lo\
17526 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17527   && mv -f "$cfgfile.tmp" "$cfgfile" \
17528     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17529 test 0 -eq $? || _lt_function_replace_fail=:
17530
17531
17532   sed -e '/^func_arith ()$/,/^} # func_arith /c\
17533 func_arith ()\
17534 {\
17535     func_arith_result=$(( $* ))\
17536 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17537   && mv -f "$cfgfile.tmp" "$cfgfile" \
17538     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17539 test 0 -eq $? || _lt_function_replace_fail=:
17540
17541
17542   sed -e '/^func_len ()$/,/^} # func_len /c\
17543 func_len ()\
17544 {\
17545     func_len_result=${#1}\
17546 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17547   && mv -f "$cfgfile.tmp" "$cfgfile" \
17548     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17549 test 0 -eq $? || _lt_function_replace_fail=:
17550
17551 fi
17552
17553 if test x"$lt_shell_append" = xyes; then
17554   sed -e '/^func_append ()$/,/^} # func_append /c\
17555 func_append ()\
17556 {\
17557     eval "${1}+=\\${2}"\
17558 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17559   && mv -f "$cfgfile.tmp" "$cfgfile" \
17560     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17561 test 0 -eq $? || _lt_function_replace_fail=:
17562
17563
17564   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17565 func_append_quoted ()\
17566 {\
17567 \    func_quote_for_eval "${2}"\
17568 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17569 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17570   && mv -f "$cfgfile.tmp" "$cfgfile" \
17571     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17572 test 0 -eq $? || _lt_function_replace_fail=:
17573
17574
17575   # Save a `func_append' function call where possible by direct use of '+='
17576   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17577     && mv -f "$cfgfile.tmp" "$cfgfile" \
17578       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17579   test 0 -eq $? || _lt_function_replace_fail=:
17580 else
17581   # Save a `func_append' function call even when '+=' is not available
17582   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17583     && mv -f "$cfgfile.tmp" "$cfgfile" \
17584       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17585   test 0 -eq $? || _lt_function_replace_fail=:
17586 fi
17587
17588 if test x"$_lt_function_replace_fail" = x":"; then
17589   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17590 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17591 fi
17592
17593
17594    mv -f "$cfgfile" "$ofile" ||
17595     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17596   chmod +x "$ofile"
17597
17598  ;;
17599     "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
17600         sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
17601       esac ;;
17602     "po/stamp-it":C)
17603     if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
17604        as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
17605     fi
17606     rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
17607     >"po/stamp-it.tmp"
17608     sed '/^#/d
17609          s/^[[].*] *//
17610          /^[    ]*$/d
17611         '"s|^|  $ac_top_srcdir/|" \
17612       "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
17613
17614     sed '/^POTFILES =/,/[^\\]$/ {
17615                 /^POTFILES =/!d
17616                 r po/POTFILES
17617           }
17618          ' "po/Makefile.in" >"po/Makefile"
17619     rm -f "po/Makefile.tmp"
17620     mv "po/stamp-it.tmp" "po/stamp-it"
17621    ;;
17622
17623   esac
17624 done # for ac_tag
17625
17626
17627 as_fn_exit 0
17628 _ACEOF
17629 ac_clean_files=$ac_clean_files_save
17630
17631 test $ac_write_fail = 0 ||
17632   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17633
17634
17635 # configure is writing to config.log, and then calls config.status.
17636 # config.status does its own redirection, appending to config.log.
17637 # Unfortunately, on DOS this fails, as config.log is still kept open
17638 # by configure, so config.status won't be able to write to it; its
17639 # output is simply discarded.  So we exec the FD to /dev/null,
17640 # effectively closing config.log, so it can be properly (re)opened and
17641 # appended to by config.status.  When coming back to configure, we
17642 # need to make the FD available again.
17643 if test "$no_create" != yes; then
17644   ac_cs_success=:
17645   ac_config_status_args=
17646   test "$silent" = yes &&
17647     ac_config_status_args="$ac_config_status_args --quiet"
17648   exec 5>/dev/null
17649   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17650   exec 5>>config.log
17651   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17652   # would make configure fail if this is the last instruction.
17653   $ac_cs_success || as_fn_exit 1
17654 fi
17655 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17656   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17657 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17658 fi
17659
17660
17661
17662 echo "
17663
17664 Configuration:
17665
17666         Package ................. ${PACKAGE}-${VERSION}
17667         Installation prefix ..... ${prefix}
17668         Source code location .... ${srcdir}
17669         Compiler ................ ${CC}
17670
17671
17672 Optional data merge backends:
17673
17674         Evolution Data Server ... ${have_libebook}
17675
17676
17677 Optional barcode backends:
17678
17679         GNU Barcode ............. ${have_libbarcode} ${help_libbarcode}
17680         QR Code ................. ${have_libqrencode} ${help_libqrencode}
17681         IEC 16022 ............... ${have_libiec16022} ${help_libiec16022}
17682         Zint .................... ${have_libzint} ${help_libzint}
17683
17684
17685 "